PageSourceSearch

https://support.hp.com/wcc-assets/src_routes_search_results_routes_ts.9846edd73b027467.js

js hp.com collected 2026-09-24 08:28:36 UTC 706,624 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkhp_wcc=self.webpackChunkhp_wcc||[]).push([["src_routes_search_results_routes_ts"],{1581(fe,re,i){i.d(re,{H:()=>R});var x=i(37580),d=i(85240),h=i(86763),H=i(49074),W=i(93683),y=i(87380),m=i(12481),c=i(19885),L=i(20572),r=i(8130),_=i(72433),o=i(60480),G=i(1466);const e=["bcPlayerTag"],J=w=>({rtl:w});function de(w,F){1&w&&m.eu8(0)}function ce(w,F){if(1&w){const A=m.RV6();m.j41(0,"div",2)(1,"button",6),m.bIt("click",function(){d.eBV(A);const E=m.XpG();return d.Njj(E.activeModal.dismiss("Cross click"))}),m.j41(2,"span",7),m.EFF(3,"\xd7"),m.k0s()(),m.j41(4,"div",8)(5,"div",9),m.DNE(6,de,1,0,"ng-container",10),m.k0s()()()}if(2&w){const A=m.XpG(),P=m.sdS(5);m.Y8G("ngClass",m.eq3(2,J,"rtl"===A.pageConfig().languageDirection)),m.R7$(6),m.Y8G("ngTemplateOutlet",P)}}function ae(w,F){1&w&&m.eu8(0)}function oe(w,F){if(1&w){const A=m.RV6();m.j41(0,"div",3)(1,"a",11),m.bIt("click",function(){d.eBV(A);const E=m.XpG();return d.Njj(E.activeModal.dismiss("Cross click"))}),m.nrm(2,"img",12),m.k0s(),m.j41(3,"div",13)(4,"div",14),m.DNE(5,ae,1,0,"ng-container",10),m.k0s()()()}if(2&w){const A=m.XpG(),P=m.sdS(5);m.Y8G("ngClass",m.eq3(2,J,"rtl"===A.pageConfig().languageDirection)),m.R7$(5),m.Y8G("ngTemplateOutlet",P)}}function z(w,F){if(1&w){const A=m.RV6();m.j41(0,"button",18),m.bIt("click",function(){d.eBV(A);const E=m.XpG(2);return d.Njj(E.activeModal.close("Close click"))}),m.j41(1,"span",19),m.EFF(2,"\xd7"),m.k0s()()}}function B(w,F){1&w&&m.eu8(0)}function q(w,F){if(1&w){const A=m.RV6();m.j41(0,"div")(1,"div",20)(2,"div",21)(3,"p",22),m.EFF(4),m.k0s(),m.j41(5,"div",23)(6,"button",24),m.bIt("click",function(){d.eBV(A);const E=m.XpG(2);return d.Njj(E.activeModal.close("Close click"))}),m.EFF(7),m.k0s()()(),m.j41(8,"div",25)(9,"p",26),m.EFF(10),m.k0s()()()()}if(2&w){let A,P;const E=m.XpG(2);m.R7$(4),m.JRh(null==(A=E.videoData())?null:A.title),m.R7$(3),m.SpI(" ",E.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"]," "),m.R7$(3),m.JRh(null==(P=E.videoData())?null:P.description)}}function S(w,F){if(1&w&&(m.j41(0,"div",4),m.nVh(1,z,3,0,"button",15),m.j41(2,"div",16)(3,"div",8)(4,"div",17),m.DNE(5,B,1,0,"ng-container",10),m.k0s()(),m.nVh(6,q,11,3,"div"),m.k0s()()),2&w){let A,P,E;const k=m.XpG(),ne=m.sdS(5);m.R7$(),m.vxM("contact-solution"===(null==(A=k.videoData())?null:A.pageSource)?1:-1),m.R7$(),m.Y8G("ngClass",m.eq3(5,J,"rtl"===k.pageConfig().languageDirection))("id","contact-solution"===(null==(P=k.videoData())?null:P.pageSource)?"modal-video-contact-container":"modal-video-container"),m.R7$(3),m.Y8G("ngTemplateOutlet",ne),m.R7$(),m.vxM("contact-solution"!==(null==(E=k.videoData())?null:E.pageSource)?6:-1)}}function I(w,F){if(1&w){const A=m.RV6();m.j41(0,"div",28)(1,"div",33),m.nrm(2,"img",34),m.j41(3,"h3"),m.EFF(4),m.k0s()(),m.j41(5,"button",35),m.bIt("click",function(){d.eBV(A);const E=m.XpG(2);return d.Njj(E.activeModal.close())}),m.j41(6,"span",36),m.EFF(7),m.k0s(),m.j41(8,"span",37),m.EFF(9,"\xd7"),m.k0s()()()}if(2&w){const A=m.XpG(2);m.R7$(4),m.JRh(A.allTranslations()["#pps_WCC_FS_HomeHP_Need_Help_link_text2"]),m.R7$(3),m.JRh(A.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"])}}function C(w,F){1&w&&m.eu8(0)}function T(w,F){if(1&w&&m.nrm(0,"p",30),2&w){let A;const P=m.XpG(2);m.Y8G("innerHTML",null==(A=P.videoData())?null:A.description,m.npT)}}function g(w,F){if(1&w){const A=m.RV6();m.j41(0,"div",31)(1,"div",38),m.nrm(2,"p",39),m.j41(3,"div")(4,"button",40),m.bIt("click",function(){d.eBV(A);const E=m.XpG(2);return d.Njj(E.activeModal.close("Close click"))}),m.EFF(5),m.k0s()()(),m.j41(6,"div",25),m.nrm(7,"p",41),m.k0s()()}if(2&w){let A,P;const E=m.XpG(2);m.R7$(2),m.Y8G("innerHTML",null==(A=E.videoData())?null:A.title,m.npT),m.R7$(2),m.Y8G("title",E.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"]),m.R7$(),m.SpI(" ",E.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"]," "),m.R7$(2),m.Y8G("innerHTML",null==(P=E.videoData())?null:P.description,m.npT)}}function u(w,F){if(1&w&&(m.j41(0,"div",32)(1,"span")(2,"a",42),m.EFF(3),m.k0s()(),m.j41(4,"span"),m.EFF(5),m.k0s()()),2&w){const A=m.XpG(2);m.R7$(2),m.Y8G("href",A.gdprLink(),m.B4B),m.R7$(),m.JRh(A.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_PrivacyPolicy"]),m.R7$(2),m.JRh(A.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_CopyRight"])}}
1function p(w,F){if(1&w&&(m.j41(0,"div",27),m.nVh(1,I,10,2,"div",28),m.j41(2,"div",13)(3,"div",29),m.DNE(4,C,1,0,"ng-container",10),m.k0s(),m.nVh(5,T,1,1,"p",30),m.k0s(),m.nVh(6,g,8,4,"div",31),m.nVh(7,u,6,3,"div",32),m.k0s()),2&w){let A;const P=m.XpG(),E=m.sdS(5);m.HbH(m.VkB("modal-video-container ",P.hub.pageConfig().theme)),m.Y8G("ngClass",m.eq3(9,J,"rtl"===P.pageConfig().languageDirection)),m.R7$(),m.vxM(P.hub.isDefaultTheme()||P.hub.isVisidTheme()?1:-1),m.R7$(3),m.Y8G("ngTemplateOutlet",E),m.R7$(),m.vxM(null!=(A=P.videoData())&&A.hideDescription?-1:5),m.R7$(),m.vxM(P.hub.isDefaultTheme()||P.hub.isVeneerTheme()?6:-1),m.R7$(),m.vxM(P.hub.isDefaultTheme()?7:-1)}}function l(w,F){if(1&w&&(m.nrm(0,"iframe",43),m.nI1(1,"safe")),2&w){let A,P,E;const k=m.XpG(2);m.Y8G("width",null==(A=k.videoData())?null:A.width)("height",null==(P=k.videoData())?null:P.height)("src",m.bMT(1,4,k.youTubeEmbedUrl()+"?autoplay="+(k.videoAutoPlay()?1:0)+"&rel=0"),m.f$h),m.BMQ("data-anr-id","wccvideo-"+(null==(E=k.videoData())?null:E.video_id))}}function b(w,F){if(1&w&&m.nrm(0,"video",44,1),2&w){let A,P,E;const k=m.XpG(2);m.Y8G("id",null==(A=k.videoData())?null:A.video_id)("autoplay",k.videoAutoPlay()),m.BMQ("data-video-id",null==(P=k.videoData())?null:P.video_id)("data-anr-id","wccvideo-"+(null==(E=k.videoData())?null:E.video_id))("data-account",k.brightcoveAccountId())("data-player",k.brightcovePlayerID())}}function f(w,F){if(1&w&&(m.nVh(0,l,2,6,"iframe",43),m.nVh(1,b,2,6,"video",44)),2&w){let A,P;const E=m.XpG();m.vxM(null!=(A=E.videoData())&&A.showBrightcoveVideo?-1:0),m.R7$(),m.vxM(null!=(P=E.videoData())&&P.showBrightcoveVideo?1:-1)}}let R=(()=>{class w{constructor(A,P,E,k,ne,Z,Y,se){this.pageService=A,this.activeModal=P,this.appSelectorStore=E,this.videoService=k,this.commonService=ne,this.hub=Z,this.document=Y,this.destroyRef=se,this.pageConfig=(0,h.EW)(()=>this.pageService.configSignal()),this.videoAutoPlay=(0,d.vPA)(!1),this.allTranslations=(0,d.vPA)({}),this.youTubeEmbedUrl=(0,d.vPA)(""),this.brightcovePlayerID=(0,d.vPA)(""),this.brightcoveAccountId=(0,d.vPA)(""),this.videoData=(0,d.vPA)(null),this.brightcoveLangConfig=(0,d.vPA)(null),this.fallbackLangCode=(0,d.vPA)(""),this.bcPlayerTag=(0,x.ebz)("bcPlayerTag"),this.gdprLink=(0,d.vPA)(""),this.window=this.document.defaultView,this.playerInstance=(0,d.vPA)(null),this.destroyRef.onDestroy(()=>{this.pageConfig().isBrowser&&this.playerInstance()&&(this.playerInstance().dispose(),this.playerInstance.set(null))})}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,H.pQ)(this.destroyRef)).subscribe(A=>this.allTranslations.set(A)),this.appSelectorStore.isVideoAutoPlayEnabled().pipe((0,H.pQ)(this.destroyRef)).subscribe(A=>this.videoAutoPlay.set(A)),this.brightcovePlayerID.set(this.videoService.brightcovePlayerID),this.brightcoveAccountId.set(this.videoService.brightcoveAccountId),this.youTubeEmbedUrl.set("https://www.youtube-nocookie.com/embed/"+this.videoData()?.video_id),this.commonService.hpDotComCcLcMappingSub.pipe((0,H.pQ)(this.destroyRef)).subscribe(A=>{let P=A[`${this.pageConfig().cc}-${this.pageConfig().lc}`];null==A[`${this.pageConfig().cc}-${this.pageConfig().lc}`]&&(P=`${this.pageConfig().cc}-${this.pageConfig().lc}`),this.gdprLink.set(`https://www.hp.com/${P}/privacy/privacy.html`)})}ngAfterContentInit(){const A=this.videoData();this.commonService.trackVideosViewed(A?.video_id),this.videoService.updateGDLForVideo(A?.video_id),A?.showBrightcoveVideo&&this.videoService.loadScripForBrightCove()}enableAutoLangForBrightcove(){const A=this.document.documentElement.getAttribute("lang"),P=this.brightcoveLangConfig(),E=Z=>A in P&&P[A]===Z.language,k=(Z,Y,se)=>{"text"===Y?Z.mode=se?"showing":"disabled":Z.enabled=se},ne=(Z,Y)=>{let se=!1,U=-1;for(let pe=0;pe<Z.length;pe++){const te=Z[pe];"text"===Y&&"subtitles"!==te.kind||(te.language===this.fallbackLangCode()&&(U=pe),E(te)?(se=!0,k(te,Y,!0)):k(te,Y,!1))}!se&&-1!==U&&k(Z[U],Y,!0)};this.playerInstance()?.ready(()=>{this.playerInstance().on("loadeddata",function(){const Y=this.textTracks(),se=this.audioTracks();ne(Y,"text"),ne(se,"audio")})})}ngAfterViewInit(){const A=this.bcPlayerTag();this.pageConfig().isBrowser&&A&&this.window.bc&&(this.playerInstance.set(this.window.bc(A.nativeElement)),this.appSelectorStore.getSscKey$(["BRIGHTCOVE_AUDIO_CAPTION_LANG_CONFIG","ENABLE_BRIGHTCOVE_AUTOLANG_FEATURE","BRIGHTCOVE_AUDIO_CAPTION_DEFAULT_LANG_CONFIG"]).pipe((0,H.pQ)(this.destroyRef)).subscribe(P=>{const E="yes"===P?.ENABLE_BRIGHTCOVE_AUTOLANG_FEATURE?.toLowerCase();this.brightcoveLangConfig.set(P?.BRIGHTCOVE_AUDIO_CAPTION_LANG_CONFIG?this.commonService.safeParseJSON(P.BRIGHTCOVE_AUDIO_CAPTION_LANG_CONFIG):{}),this.fallbackLangCode.set(P?.BRIGHTCOVE_AUDIO_CAPTION_DEFAULT_LANG_CONFIG??"en"),E&&this.enableAutoLangForBrightcove()}))}static{this.\u0275fac=function(P){return new(P||w)(m.rXU(c.b),m.rXU(L.Lw),m.rXU(r.q),m.rXU(_.r),m.rXU(o.h),m.rXU(G.M),m.rXU(d.qQL),m.rXU(d.abz))}}static{this.\u0275cmp=m.VBU({type:w,selectors:[["app-common-video-modal"]],viewQuery:function(P,E){1&P&&m.wEZ(E.bcPlayerTag,e,5),2&P&&m.NyB()},decls:6,vars:1,consts:[["videoContent",""],["bcPlayerTag",""],[1,"modal-video-container-1","videoWidth",3,"ngClass"],[1,"modal-video-container-2","videoWidth",3,"ngClass"],[1,"solution-player"],[3,"class","ngClass"],["type","button","aria-label","Close",1,"instant-ink-close",3,"click"],["aria-hidden","true"],["tabindex","0",1,"modal-header","p-0"],["id","instant_player","tabindex","0",1,"video-player"],[4,"ngTemplateOutlet"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/swd/x_icon.png","alt","close icon"],[1,"modal-header","p-0"],["id","instant_player",1,"video-player"],["type","button","aria-label","Close","id","Modal_video_solution_X_btn",1,"close"],[1,"modal-video-container",3,"ngClass","id"],["id","solution_player","tabindex","0",1,"video-player"],["type","button","aria-label","Close","id","Modal_video_solution_X_btn",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],[1,"modal-body","d-flex","justify-content-center","align-items-center","row","pl-37","m-0"],[1,"video-title","d-flex","justify-content-center","align-items-start","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0","ml-40"],["id","video-body-title",1,"modal-title","col-sm-8","col-md-8","col-lg-8","col-xl-8"],[1,"d-flex","pr-0","pl-0","align-items-center","m-top-8","justify-content-center","col-sm-4","col-md-4","col-lg-4","col-xl-4"],["type","button",1,"primary-button",3,"click"],[1,"video-desp","d-flex","justify-content-start","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0","pt-2"],["id","video-body-description",1,""],[3,"ngClass"],[1,"modal-main-header"],["id","player",1,"video-player"],["id","video-body-description",1,"video-description","for-visid",3,"innerHTML"],[1,"modal-body"],[1,"help-modal-footer"],[1,"modal-title"],["src","/wcc-assets/images/hp-logo-modal.gif","alt","HP Logo",1,"hp-logo"],["type","button","aria-label","Close",1,"close","for-visid",3,"click"],[1,"text"],["aria-hidden","true",1,"icon"],[1,"video-title"],["id","video-body-title",1,"modal-title",3,"innerHTML"],["type","button",1,"primary-button",3,"click","title"],["id","video-body-description",1,"",3,"innerHTML"],["alt","Privacy policy","target","_blank",3,"href"],["tabindex","0","allow","autoplay","frameborder","0","allowfullscreen","",3,"width","height","src"],["data-embed","default","data-application-id","","controls","",1,"video-js",2,"position","absolute","width","100%","height","100%",3,"id","auto
1play"]],template:function(P,E){if(1&P&&(m.nVh(0,ce,7,4,"div",2)(1,oe,6,4,"div",3)(2,S,7,7,"div",4)(3,p,8,11,"div",5),m.DNE(4,f,2,2,"ng-template",null,0,m.C5r)),2&P){let k;m.vxM(null!=(k=E.videoData())&&k.SdpPopupVideoComponent?0:null!=(k=E.videoData())&&k.SwdDriverVideoComponent?1:null!=(k=E.videoData())&&k.SolutionVideoPlayerComponent?2:3)}},dependencies:[W.MD,W.YU,W.T3,y.m],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}@media screen and (min-width:320px)and (max-width:768px){.videoWidth[_ngcontent-%COMP%]{width:90vw}}.modal-video-container-1[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{position:absolute;color:#707070;top:-12%;right:-22%;opacity:1;z-index:0;font-size:20px}.modal-video-container-1[_ngcontent-%COMP%]   button.instant-ink-close[_ngcontent-%COMP%]{position:fixed;top:-48px;right:5px;font-size:45px;color:#212121;background:none;border:none;cursor:pointer;z-index:1060;opacity:1;padding:0 4px;display:flex;align-items:center;justify-content:center}.modal-video-container-1[_ngcontent-%COMP%]   button.instant-ink-close[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:0}.modal-video-container-1[_ngcontent-%COMP%]   button.instant-ink-close[_ngcontent-%COMP%]:focus{border:2px solid #0096D6!important;box-shadow:none!important;outline:none!important}@media only screen and (min-width:768px)and (max-width:991px){.modal-video-container-1[_ngcontent-%COMP%]   button.instant-ink-close[_ngcontent-%COMP%]{right:5px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container-1[_ngcontent-%COMP%]   button.instant-ink-close[_ngcontent-%COMP%]{right:0;font-size:35px}}.modal-video-container-1[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{width:100%;padding:0!important;margin:0}.modal-video-container-1[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]{width:100%;height:100%;padding:0 0 56.25%;margin:0 0 -4px}.modal-video-container-1[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{border:0px;width:100%;min-height:400px}@media screen and (max-width:768px){.modal-video-container-1[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{min-height:unset}}.modal-video-container-1[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{width:100%;border-top:none}.modal-video-container-1[_ngcontent-%COMP%]   #instant_player[_ngcontent-%COMP%]   .video-js[_ngcontent-%COMP%]   .vjs-big-play-button[_ngcontent-%COMP%]   .vjs-icon-placeholder[_ngcontent-%COMP%]:before{top:0!important}.modal-video-container-2[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]{padding-bottom:56.25%}.modal-video-container-2[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:-46px;right:-83px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.modal-video-container-2[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{right:10px}.modal-video-container-2[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{width:333px;height:187.31}}#solution_player[_ngcontent-%COMP%]   .video-js[_ngcontent-%COMP%]{width:100%!important;padding-bottom:56%}.solution-player[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:35px;color:#707070;position:absolute;right:-151px;top:-62px}.solution-player[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:hover{background-color:transparent}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .giveFbBtn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{width:100%;padding:0!important;margin:0}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal
1-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]{width:100%;height:100%;margin:0}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{border:0px;width:100%;min-height:360px}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{width:100%;border-top:none}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   #video-body-title[_ngcontent-%COMP%], .solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   #video-body-description[_ngcontent-%COMP%]{font-family:HPSimplified;font-style:normal;letter-spacing:normal;text-align:left;color:#2c3038}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;padding:0;font-family:HPSimplified}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   .video-footer[_ngcontent-%COMP%]   #video-footer-content[_ngcontent-%COMP%]{color:#2c3038;font-family:HPSimplified;margin:0}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   .video-feedback[_ngcontent-%COMP%]{margin-left:-.25rem}.solution-player[_ngcontent-%COMP%]   .modal-video-container.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .video-title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .solution-player[_ngcontent-%COMP%]   .modal-video-container.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .video-desp[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:right!important}.solution-player[_ngcontent-%COMP%]   .modal-video-container[_ngcontent-%COMP%]   #solution_player[_ngcontent-%COMP%]   .video-js[_ngcontent-%COMP%]   .vjs-big-play-button[_ngcontent-%COMP%]   .vjs-icon-placeholder[_ngcontent-%COMP%]:before{top:0!important}.solution-player[_ngcontent-%COMP%]   #modal-video-contact-container[_ngcontent-%COMP%]{width:100%;height:100%;background-color:#f7f7f7}@media screen and (max-width:990px){#hp-support-com[_ngcontent-%COMP%]   .app-modal-window[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{width:98%!important;margin-left:auto!important;margin-right:auto!important}}@media screen and (max-width:768px){#hp-support-com[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{width:96%!important;margin:10px auto!important}}.m-top-8[_ngcontent-%COMP%]{margin-top:8px}.modal-video-container[_ngcontent-%COMP%]   .giveFbBtn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px solid #efefef;align-items:center}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{display:flex;padding:20px 32px;align-items:center;gap:10px}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   .hp-logo[_ngcontent-%COMP%]{width:40px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{padding:32px}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   .hp-logo[_ngcontent-%COMP%]{display:none}}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px;margin-bottom:0}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{font-size:16px;display:inline-block;position:relative;margin:0 22px;background-color:transparent;border:1px solid transparent;outline:1px solid transparent;opacity:unset;font-weight:500;min-height:100%}
1.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:none}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{font-family:HPControlIcons;font-size:30px;color:#767676}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:hover   .icon[_ngcontent-%COMP%], .modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:focus-visible   .icon[_ngcontent-%COMP%]{color:#000}.modal-video-container[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:focus-visible{box-shadow:0 0 2px 1px #0096d6}.modal-video-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{width:100%;padding:20px;margin:0;height:-moz-fit-content!important;height:fit-content!important;border-bottom:none}.modal-video-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]{position:relative;width:100%;padding-bottom:51.2%;margin:36px 40px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]{margin:16px}}.modal-video-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{border:0px;position:absolute;width:100%;height:100%}.modal-video-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-description.for-visid[_ngcontent-%COMP%]{display:none}.modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{display:none;width:100%;border-top:none}.modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .video-title[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between}.modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   #video-body-title[_ngcontent-%COMP%], .modal
1-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   #video-body-description[_ngcontent-%COMP%]{font-family:HPSimplified;font-style:normal;letter-spacing:normal;text-align:left;margin-right:15px;color:#2c3038}.modal-video-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;padding:0;font-family:HPSimplified}.modal-video-container[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start}.modal-video-container[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   .video-footer[_ngcontent-%COMP%]   #video-footer-content[_ngcontent-%COMP%]{color:#2c3038;font-family:HPSimplified;margin:0}.modal-video-container[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   .video-feedback[_ngcontent-%COMP%]{margin-left:-.25rem}.modal-video-container[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;margin-top:0;padding:15px;border-top:1px solid #efefef;font-size:12px;color:#767676;font-family:HPSimplified}.modal-video-container[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}.modal-video-container[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;padding:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]{flex-direction:column}.modal-video-container[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-bottom:8px}}.modal-video-container.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .video-title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .modal
1-video-container.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .video-desp[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:right!important}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]{border-bottom:1px solid #000000;align-items:center}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]{align-items:center;flex-direction:row;padding:12px 16px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{padding:0;flex:1}}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   .hp-logo[_ngcontent-%COMP%]{display:none}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:32px;margin-bottom:0;line-height:40px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:22px;padding-bottom:0}}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{display:flex;gap:5px;margin:8px 20px;padding:4px 12px;outline:none;min-height:100%;flex-shrink:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{min-height:auto;margin:0;padding:4px 8px}}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:hover{background-color:#ebf9ff;border:1px solid black}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:active{background-color:#caf3ff;border:1px solid black}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:focus-visible{border:1px solid #0278AB;outline:1px solid #0278AB;box-shadow:none}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:block;color:#000;
1font-family:Forma DJR UI!important}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{font-size:26px;transform:translateY(-9%);color:#000}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:32px!important;display:block!important;border-bottom:none}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:30px 15px!important}}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:12px!important;margin-bottom:0!important;color:#000;font-size:16px;line-height:24px}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{background-color:#ebf9ff!important}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]{margin:0;padding-bottom:56.25%}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-description.for-visid[_ngcontent-%COMP%]{display:block}.modal-video-container.visid[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%], .modal
1-video-container.visid[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%], .modal-video-container.veneer[_ngcontent-%COMP%]   .modal-main-header[_ngcontent-%COMP%]{display:none}.modal-video-container.veneer[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{display:block}.modal-video-container.veneer[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{display:block!important;overflow:auto}.modal-video-container.veneer[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .video-player[_ngcontent-%COMP%]{margin:0;padding-bottom:56.25%}.modal-video-container.veneer[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]{display:none}']})}}return w})()},89751(fe,re,i){i.d(re,{S:()=>z});var x=i(37580),d=i(85240),h=i(18537),H=i(63617),W=i(52575),y=i(70271),m=i(93551),c=i(93683),L=i(20572),r=i(12481);const _=(B,q)=>({"full-width":B,"accordian-dropdown":q}),o=(B,q,S)=>({"full-width":B,"has-error":q,disabled:S});function G(B,q){if(1&B){const S=r.RV6();r.j41(0,"button",10),r.bIt("blur",function(){d.eBV(S);const C=r.XpG(2).$implicit,T=r.XpG();return d.Njj(T.onBlurDropdown(C))})("keydown.Tab",function(){d.eBV(S),r.XpG(3);const C=r.sdS(3);return d.Njj(C.close())})("keydown.enter",function(){d.eBV(S);const C=r.XpG(2).$implicit,T=r.XpG();return d.Njj(T.onOptionClick(C))})("click",function(){d.eBV(S);const C=r.XpG(2).$implicit,T=r.XpG();return d.Njj(T.onOptionClick(C))}),r.EFF(1),r.k0s()}if(2&B){const S=r.XpG(2),I=S.$implicit,C=S.$index,T=r.XpG();r.HbH(r.ai1("menu-item dropdown-item ",T.dropdownName(),"-item-",C)),r.Y8G("id",T.getAnrId(I)),r.R7$(),r.JRh(I[T.keyName()])}}function e(B,q){if(1&B&&r.nVh(0,G,2,6,"button",9),2&B){const S=r.XpG().$implicit,I=r.XpG();r.vxM(I.showTab(S)?0:-1)}}function J(B,q){if(1&B){const S=r.RV6();r.j41(0,"button",13),r.bIt("blur",function(){d.eBV(S);const C=r.XpG().$implicit,T=r.XpG(4);return d.Njj(T.onBlurDropdown(C))})("keydown.enter",function(){d.eBV(S);const C=r.XpG().$implicit,T=r.XpG(4);return d.Njj(T.onOptionClick(C))})("click",function(){d.eBV(S);const C=r.XpG().$implicit,T=r.XpG(4);return d.Njj(T.onOptionClick(C))}),r.EFF(1),r.k0s()}if(2&B){const S=r.XpG(),I=S.$implicit,C=S.$index,T=r.XpG(4);r.HbH(r.ai1("collapsible-item menu-item dropdown-item ",T.dropdownName(),"-item-",C)),r.Y8G("id",T.getAnrId(I)),r.R7$(),r.JRh(I[T.keyName()])}}function de(B,q){if(1&B&&r.nVh(0,J,2,6,"button",9),2&B){const S=q.$implicit,I=r.XpG(4);r.vxM(I.showTab(S)?0:-1)}}function ce(B,q){if(1&B&&r.Z7z(0,de,1,1,null,null,r.fX1),2&B){const S=r.XpG(2).$implicit;r.Dyx(null==S?null:S.children)}}function ae(B,q){if(1&B){const S=r.RV6();r.j41(0,"a",11),r.bIt("keydown.enter",function(C){d.eBV(S);const T=r.XpG().$implicit,g=r.XpG();return d.Njj(g.onAccordianClick(C,T))})("click",function(C){d.eBV(S);const T=r.XpG().$implicit,g=r.XpG();return d.Njj(g.onAccordianClick(C,T))}),r.j41(1,"div",12),r.EFF(2),r.k0s(),r.nrm(3,"div",6),r.k0s(),r.nVh(4,ce,2,0)}if(2&B){const S=r.XpG(),I=S.$implicit,C=S.$index,T=r.XpG();r.HbH(r.ai1("collapsible-menu-header ",T.dropdownName(),"-item1-",C)),r.Y8G("id",T.getAnrId(I)),r.R7$(2),r.JRh(I[T.keyName()]),r.R7$(),r.Y8G("ngClass",null!=I&&I.show?"icon-up":"icon-dwn"),r.R7$(),r.vxM(null!=I&&I.show?4:-1)}}function oe(B,q){if(1&B&&(r.qex(0,8),r.nVh(1,e,1,1)(2,ae,5,8),r.bVm()),2&B){const S=q.$implicit;r.R7$(),r.vxM(null!=S&&S.isNested?2:1)}}let z=(()=>{class B{constructor(S){this.elRef=S,this.options=(0,x.geq)(),this.keyName=(0,x.hFB)("name"),this.buffer=(0,d.vPA)([]),this.hElement=this.elRef.nativeElement,this.dropdownName=(0,x.hFB)(""),this.hasError=(0,x.hFB)(!1),this.selectedOption=(0,x.hFB)(null),this.fullWidth=(0,x.hFB)(!1),this.placeholder=(0,x.hFB)(""),this.disabled=(0,x.hFB)(!1),this.isNested=(0,x.geq)(!1),this.sort=(0,x.hFB)({}),this.optionSelected=(0,x.CGW)(),this.onBlurSelection=(0,x.CGW)()}getSequentialValue(S){return this.buffer.set([...this.buffer(),S.key]),this.buffer().join("")}showTab(S){return typeof S?.showTab>"u"||S?.showTab}getAnrId(S){let I=S[this.keyName()]?.replace(/ /g,"_");return I?.replace(/[^\w \s]/g,"-")??I}ngOnChanges(S){S?.options?.currentValue?.length&&this.formatNestedOptions(S.options.currentValue)}formatNestedOptions(S){const I=S.map(T=>{const g={...T};if(T?.children?.length&&Array.isArray(T.children)){this.isNested.set(!0),g.isNested=!0,g.show=1===T?.children?.length;const u=this.sort();if(!(0,m.A)(u)&&u?.dir){const p=this.sortWithDirection(T.children,"name",u.dir);T.children=p}return g}return g}),C=this.sort();if(!(0,m.A)(C)&&C?.dir){const T=this.sortWithDirection(I,"name",C.dir);return void this.options.set(T)}this.options.set(I)}ngAfterViewInit(){const S=this.hElement.getElementsByClassName(this.dropdownName())[0],I=this.hElement.getElementsByClassName(this.dropdownName()+"-menu")[0],C=(0,h.R)(S,"keydown").pipe((0,y.T)(u=>this.getSequentialValue(u)),(0,W.B)(500)),T=(0,h.R)(I,"keydown").pipe((0,y.T)(u=>this.getSequentialValue(u)),(0,W.B)(500));(0,H.h)(C,T).subscribe(u=>{this.searchForKey(u),this.buffer.set([])})}ngOnInit(){}onOptionClick(S){this.optionSelected.emit({option:S})}onBlurDropdown(S){this.onBlurSelection.emit({option:S})}searchForKey(S){let I,C=!1;for(let g of this.options()){let u=g[this.keyName()];for(;u.length;){if(u.toLowerCase()===S.toLowerCase()){I=g[this.keyName()],C=!0;break}u=u.substring(0,u.length-1)}if(C)break}let T=this.hElement.getElementsByClassName("menu-item");Array.prototype.forEach.call(T,function(g){I===g.innerText.trim()&&g.focus()})}onAccordianClick(S,I){S.preventDefault(),I.show=!I.show}sortWithDirection(S,I,C){return S.sort(C&&"asc"!==C?(T,g)=>g[I].localeCompare(T[I]):(T,g)=>T[I].localeCompare(g[I]))}static{this.\u0275fac=function(I){return new(I||B)(r.rXU(r.aKT))}}static{this.\u0275cmp=r.VBU({type:B,selectors:[["app-ngbd-dropdown"]],inputs:{options:[1,"options"],keyName:[1,"keyName"],dropdownName:[1,"dropdownName"],hasError:[1,"hasError"],selectedOption:[1,"selectedOption"],fullWidth:[1,"fullWidth"],placeholder:[1,"placeholder"],disabled:[1,"disabled"],isNested:[1,"isNested"],sort:[1,"sort"]},outputs:{options:"optionsChange",isNested:"isNestedChange",optionSelected:"optionSelected",onBlurSelection:"onBlurSelection"},features:[r.OA$],decls:11,vars:30,consts:[["dropDownInst","ngbDropdown"],[1,"row"],[1,"col"],["ngbDropdown","",1,"d-inline-block","hp-dropdown",3,"ngClass","id"],["tabindex","0","type","button","ngbDropdownToggle","",3,"ngClass","id","title","disabled"],[1,"selected-item"],[3,"ngClass"],["ngbDropdownMenu","",3,"id","ngClass"],["tabindex","0"],["type","button","ngbDropdownItem","",3,"class","id"],["type","button","ngbDropdownItem","",3,"blur","keydown.Tab","keydown.enter","click","id"],["type","button","tabindex","0",3,"keydown.enter","click","id"],[1,"menu-parent-item"],["type","button","ngbDropdownItem","",3,"blur","keydown.enter","click","id"]],template:function(I,C){if(1&I&&(r.j41(0,"div",1)(1,"div",2)(2,"div",3,0)(4,"button",4)(5,"div",5),r.EFF(6),r.k0s(),r.nrm(7,"div",6),r.k0s(),r.j41(8,"div",7),r.Z7z(9,oe,3,1,"ng-container",8,r.fX1),r.k0s()()()()),2&I){const T=r.sdS(3);r.R7$(2),r.Y8G("id",r.VkB("",C.dropdownName(),"-container"))("ngClass",r.l_i(23,_,C.fullWidth(),C.isNested())),r.R7$(2),r.HbH(r.VkB("menu ",C.dropdownName())),r.Y8G("id",r.mNQ(C.dropdownName()))("title",r.mNQ(C.selectedOption()))("ngClass",r.sMw(26,o,C.fullWidth(),C.hasError(),C.disabled()))("disabled",C.disabled()),r.R7$(),r.AVh("placeholder",!C.selectedOption()&&C.placeholder()),r.R7$(),r.JRh(!C.selectedOption()&&C.placeholder()?C.placeholder():C.selectedOption()),r.R7$(),r.Y8G("ngClass",T.isOpen()?"icon-up":"icon-dwn"),r.R7$(),r.HbH(r.VkB("menu-container ",C.dropdownName(),"-menu")),r.Y8G("id",r.VkB("",C.dropdownName(),"-menu"))("ngClass",C.fullWidth()?"full-width":""),r.BMQ("aria-labelledby",C.dropdownName()),r.R7$(),r.Dyx(C.options())}},dependencies:[c.YU,L.zH,L.tg,L.do,L.U0,L._H,L.Eu],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.vis-id[_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border-radius:0;height:48px;border-color:#000;
1font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#000}.vis-id[_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .selected-item[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .selected-item[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#adadad}.vis-id[_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, .vis-id   [_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background:#f3fbfe}.vis-id[_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active, .vis-id   [_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active, .vis-id[_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus, .vis-id   [_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{font-family:Forma DJR UI;background:#f3fbfe;color:#000;background-image:url(/wcc-assets/images/dropdown-check-icon.svg);background-repeat:no-repeat;background-position:calc(100% - 13px) 20px;box-shadow:none}.vis-id[_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:has(.selected-item), .vis-id   [_nghost-%COMP%]   .hp-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:has(.selected-item){background-image:none}}"]})}}return B})()},39739(fe,re,i){i.d(re,{K:()=>se});var x=i(86763),d=i(85240),h=i(84205),H=i(33900),W=i(2435),y=i(93551),m=i(78767),c=i(54041),L=i(37580),r=i(76119),_=i(12481),o=i(8130);const G=(U,pe)=>pe.imagePath;function e(U,pe){if(1&U&&(_.j41(0,"div",3)(1,"div",4),_.nrm(2,"img",5),_.j41(3,"div",6)(4,"p"),_.EFF(5),_.k0s()()()()),2&U){const te=pe.$implicit;_.R7$(2),_.Y8G("src",te.imagePath,_.B4B)("alt",te.imageDesc),_.R7$(3),_.JRh(te.imageDesc)}}function J(U,pe){if(1&U&&(_.j41(0,"div",0)(1,"div",1)(2,"app-slider",2),_.Z7z(3,e,6,3,"div",3,G),_.k0s()()()),2&U){const te=_.XpG();_.R7$(2),_.Y8G("config",te.config())("horizontalNav",!0)("pagination",!1),_.R7$(),_.Dyx(te.carouselImages())}}let de=(()=>{class U{constructor(te){this.appSelectorStore=te,this.carouselImage=(0,L.hFB)(null),this.allTranslations=(0,d.vPA)({}),this.carouselImages=(0,d.vPA)(null),this.productName=(0,d.vPA)(""),this.config=(0,d.vPA)({loop:!0,autoplay:{delay:5e3},spaceBetween:7,observeParents:!0}),this.destroySubject$=new h.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,H.Q)(this.destroySubject$)).subscribe(te=>this.allTranslations.set(te)),setTimeout(()=>{this.carouselImages.set(this.carouselImage())},0)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(ge){return new(ge||U)(_.rXU(o.q))}}static{this.\u0275cmp=_.VBU({type:U,selectors:[["app-modal-carousel-basic"]],inputs:{carouselImage:[1,"carouselImage"]},decls:1,vars:1,consts:[[1,"pfinder-carousel-basic"],[1,"image-slider","carouselSlider"],["name","carousel-slider","wrapperCss","pfinder-carousel","horizontalNavArrowsPosition","outside","horizontalArrowSize","12","horizontalArrowType","lightGray",3,"config","horizontalNav","pagination"],[1,"swiper-slide"],[1,"carousel-content","align-center"],[3,"src","alt"],[1,"carousel-caption-text"]],template:function(ge,me){1&ge&&_.nVh(0,J,5,3,"div",0),2&ge&&_.vxM(me.carouselImages()&&me.carouselImages().length>0?0:-1)},dependencies:[r.d],styles:[".carousel-section[_ngcontent-%COMP%]   .carousel-content[_ngcontent-%COMP%]   .carousel-caption-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:10px;margin-top:10px}.carousel-section[_ngcontent-%COMP%]   .carousel-content[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:75%}"]})}}return U})();var ce=i(93683),ae=i(78808),oe=i(19885),z=i(60480),B=i(20572),q=i(50565),S=i(11439);const I=(U,pe,te,ge)=>({"vis-id-pfinder-modal vis-id":U,rtl:pe,ltr:te,videoModel:ge});function C(U,pe){1&U&&_.nrm(0,"img",4)}function T(U,pe){if(1&U&&(_.j41(0,"div",5)(1,"h3",11),_.EFF(2),_.k0s()()),2&U){const te=_.XpG();_.R7$(2),_.JRh(te.modalInfo().modalHeader)}}function g(U,pe){if(1&U&&(_.j41(0,"p",14),_.EFF(1),_.k0s()),2&U){const te=_.XpG(2);_.R7$(),_.SpI(" ",te.modalInfo().modalText," ")}}function u(U,pe){if(1&U&&(_.j41(0,"p",15),_.EFF(1),_.k0s()),2&U){const te=_.XpG(2);
1_.R7$(),_.JRh(te.modalInfo().modalDesc1)}}function p(U,pe){if(1&U&&(_.j41(0,"p",15),_.EFF(1),_.k0s()),2&U){const te=_.XpG(2);_.R7$(),_.JRh(te.modalInfo().modalDesc2)}}function l(U,pe){if(1&U&&(_.j41(0,"a",16),_.EFF(1),_.k0s()),2&U){let te,ge,me;const Pe=_.XpG(2);_.Y8G("globalLink",Pe.onRedirection(null==(te=Pe.modalInfo())?null:te.modalLink1_Path))("linkTarget","_blank"===(null==(ge=Pe.modalInfo())?null:ge.modalLink1_Target)?"newtab":"self"),_.BMQ("id",null==(me=Pe.modalInfo())?null:me.modalLink1_Anrid)("title",Pe.modalInfo().modalLink1_Text),_.R7$(),_.SpI(" ",Pe.modalInfo().modalLink1_Text," ")}}function b(U,pe){if(1&U&&(_.j41(0,"li"),_.EFF(1),_.k0s()),2&U){const te=pe.$implicit;_.R7$(),_.JRh(te.text)}}function f(U,pe){if(1&U&&(_.j41(0,"div",17)(1,"div",23)(2,"div",24)(3,"div",25)(4,"div",18)(5,"div",25)(6,"ul"),_.Z7z(7,b,2,1,"li",null,_.fX1),_.k0s()()()()()()()),2&U){let te;const ge=_.XpG(2);_.R7$(7),_.Dyx(null==(te=ge.modalInfo())?null:te.modalListItems)}}function R(U,pe){if(1&U&&(_.j41(0,"p",26),_.EFF(1),_.k0s()),2&U){let te;const ge=_.XpG(3);_.R7$(),_.JRh(null==(te=ge.modalInfo())?null:te.carouselHeader)}}function w(U,pe){if(1&U&&(_.j41(0,"div",19),_.nVh(1,R,2,1,"p",26),_.nrm(2,"app-modal-carousel-basic",27),_.k0s()),2&U){let te,ge;const me=_.XpG(2);_.R7$(),_.vxM(null!=(te=me.modalInfo())&&te.carouselHeader?1:-1),_.R7$(),_.Y8G("carouselImage",null==(ge=me.modalInfo())?null:ge.carouselImages)}}function F(U,pe){if(1&U&&(_.j41(0,"li",30),_.EFF(1),_.k0s()),2&U){const te=pe.$implicit;_.R7$(),_.JRh(te.text)}}function A(U,pe){if(1&U&&(_.j41(0,"div",20)(1,"div",28)(2,"ul",29),_.Z7z(3,F,2,1,"li",30,_.fX1),_.k0s(),_.j41(5,"p",31),_.EFF(6),_.k0s()()()),2&U){let te,ge;const me=_.XpG(2);_.R7$(3),_.Dyx(null==(te=me.modalInfo())?null:te.modalListItems2),_.R7$(3),_.JRh(null==(ge=me.modalInfo())?null:ge.modalListItems2Footer)}}function P(U,pe){if(1&U&&(_.j41(0,"div",21)(1,"p",32),_.EFF(2),_.k0s(),_.j41(3,"div",33),_.nrm(4,"img",34),_.k0s()()),2&U){let te,ge,me,Pe;const be=_.XpG(2);_.R7$(),_.Y8G("ngClass",null!=(te=be.modalInfo())&&te.carouselImages||null!=(te=be.modalInfo())&&te.modalListItems2?"":"mL28"),_.R7$(),_.JRh(null==(ge=be.modalInfo())?null:ge.imageHeader),_.R7$(),_.Y8G("ngClass",null!=(me=be.modalInfo())&&me.carouselImages||null!=(me=be.modalInfo())&&me.modalListItems2?"":"mL28"),_.R7$(),_.Y8G("alt",_.mNQ(be.allTranslations()["#pps_WCC_FS_Product_Finder_Sample_Product_Image_Alt"]))("src",null==(Pe=be.modalInfo())?null:Pe.modalImage1,_.B4B)}}function E(U,pe){if(1&U&&(_.j41(0,"div",22)(1,"div",18)(2,"div",35),_.nrm(3,"img",36),_.k0s(),_.j41(4,"div",37),_.nrm(5,"img",38),_.k0s(),_.j41(6,"div",39),_.nrm(7,"img",40),_.k0s()()()),2&U){let te,ge;const me=_.XpG(2);_.R7$(3),_.Y8G("alt",_.mNQ(me.allTranslations()["#pps_WCC_FS_Product_Finder_Keyboard_Image_Alt"]))("src",null==(te=me.modalInfo())?null:te.modalImage1,_.B4B),_.R7$(2),_.Y8G("alt",_.mNQ(me.allTranslations()["#pps_WCC_FS_Product_Finder_Arrow_Image_Alt"])),_.R7$(2),_.Y8G("alt",_.mNQ(me.allTranslations()["#pps_WCC_FS_Product_Finder_System_Info_Image_Alt"]))("src",null==(ge=me.modalInfo())?null:ge.modalImage2,_.B4B)}}function k(U,pe){if(1&U&&(_.j41(0,"div",10)(1,"div",12)(2,"div",13),_.nVh(3,g,2,1,"p",14),_.nVh(4,u,2,1,"p",15),_.nVh(5,p,2,1,"p",15),_.nVh(6,l,2,5,"a",16),_.k0s(),_.nVh(7,f,9,0,"div",17),_.j41(8,"div",18),_.nVh(9,w,3,2,"div",19),_.nVh(10,A,7,1,"div",20),_.nVh(11,P,5,6,"div",21),_.k0s()(),_.nVh(12,E,8,8,"div",22),_.k0s()),2&U){let te,ge,me,Pe,be,we,ye,Fe,Ee;const De=_.XpG();_.R7$(3),_.vxM(De.modalInfo()&&null!=(te=De.modalInfo())&&te.modalText?3:-1),_.R7$(),_.vxM(De.modalInfo()&&null!=(ge=De.modalInfo())&&ge.modalDesc1?4:-1),_.R7$(),_.vxM(De.modalInfo()&&null!=(me=De.modalInfo())&&me.modalDesc2?5:-1),_.R7$(),_.vxM(De.modalInfo()&&null!=(Pe=De.modalInfo())&&Pe.modalLink1_Text?6:-1),_.R7$(),_.vxM(De.modalInfo()&&null!=(be=De.modalInfo())&&be.modalListItems&&(null==(be=De.modalInfo())?null:be.modalListItems.length)>0?7:-1),_.R7$(2),_.vxM(null!=(we=De.modalInfo())&&we.carouselImages&&(null==(we=De.modalInfo())?null:we.carouselImages.length)>0?9:-1),_.R7$(),_.vxM(null!=(ye=De.modalInfo())&&ye.modalListItems2?10:-1),_.R7$(),_.vxM(null!=(Fe=De.modalInfo())&&Fe.imageHeader?11:-1),_.R7$(),_.vxM(De.modalInfo()&&null!=(Ee=De.modalInfo())&&Ee.modalImage1&&null!=(Ee=De.modalInfo())&&Ee.modalImage2&&(null==(Ee=De.modalInfo())||!Ee.modalListItems)?12:-1)}}function ne(U,pe){1&U&&_.eu8(0)}function Z(U,pe){if(1&U&&_.DNE(0,ne,1,0,"ng-container",41),2&U){_.XpG();const te=_.sdS(14);_.Y8G("ngTemplateOutlet",te)}}function Y(U,pe){if(1&U&&(_.qex(0),_.j41(1,"div",42)(2,"span")(3,"a",43),_.EFF(4),_.k0s()(),_.j41(5,"span"),_.EFF(6),_.k0s()(),_.bVm()),2&U){const te=_.XpG();_.R7$(3),_.Y8G("href",te.gdprLink(),_.B4B),_.R7$(),_.JRh(te.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_PrivacyPolicy"]),_.R7$(2),_.JRh(te.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_CopyRight"])}}let se=(()=>{class U{constructor(te,ge,me,Pe,be,we,ye){this.pageService=te,this.commonService=ge,this.activeModal=me,this.deviceService=Pe,this.store=be,this.appSelectorStore=we,this.cdr=ye,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.modalData=(0,d.vPA)(null),this.allTranslations=(0,d.vPA)(null),this.productType=(0,d.vPA)(null),this.modalInfo=(0,d.vPA)(null),this.gdprLink=(0,d.vPA)(""),this.isMobile=(0,d.vPA)(this.deviceService.isMobile()),this.destroySubject$=new h.B,this.hideCopyRightFooter=(0,d.vPA)(!1),this.pfinerModalHomePage=!1,this.videoAutoPlay=this.appSelectorStore.isVideoAutoPlayEnabled(),this.isLightTheme=(0,d.vPA)(!1)}ngOnInit(){this.getVideoRelatedSSCKey(),this.videoId=this.modalData().supportLink,this.commonService.hpDotComCcLcMappingSub.pipe((0,H.Q)(this.destroySubject$)).subscribe(te=>{let ge=te[`${this.pageConfig().cc}-${this.pageConfig().lc}`];null==te[`${this.pageConfig().cc}-${this.pageConfig().lc}`]&&(ge=`${this.pageConfig().cc}-${this.pageConfig().lc}`),this.gdprLink.set(`https://www.hp.com/${ge}/privacy/privacy.html`)}),this.appSelectorStore.getSscKey$(["ENABLE_VENEER_LAYOUT"],!1).subscribe(te=>{const{ENABLE_VENEER_LAYOUT:ge}=te;ge&&ge.includes(this.pageConfig().pageName)&&this.isLightTheme.set(!0)})}ngAfterViewInit(){this.cdr.detectChanges()}getVideoRelatedSSCKey(){this.store.select(c.FM).pipe((0,W.$)(te=>!(0,y.A)(te))).subscribe(te=>{te?.ENABLE_VIS_ID_LAYOUT&&(this.isVsidThemeEnabled=!!te.ENABLE_VIS_ID_LAYOUT&&(0,m.A)(te.ENABLE_VIS_ID_LAYOUT,this.pageConfig().pageName),this.hideCopyRightFooter.set(this.isVsidThemeEnabled))})}onRedirection(te){const ge={"{cc}":this.pageConfig().cc,"{lc}":this.pageConfig().lc};return te.replace(/{cc}|{lc}/gi,function(Pe){return ge[Pe]})}
1onKeyDownHandler(te){"Escape"===te.key&&this.activeModal.dismiss("Cross click")}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(ge){return new(ge||U)(_.rXU(oe.b),_.rXU(z.h),_.rXU(B.Lw),_.rXU(q.Kg),_.rXU(S.il),_.rXU(o.q),_.rXU(L.gRc))}}static{this.\u0275cmp=_.VBU({type:U,selectors:[["app-pfinder-tooltip-modal"]],hostBindings:function(ge,me){1&ge&&_.bIt("keydown",function(be){return me.onKeyDownHandler(be)},_.EBC)},decls:15,vars:16,consts:[["footerTemplate",""],[3,"ngClass"],["id","keyBoardModal"],[1,"help-modal-header","modal-header"],["alt","HP Logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],[1,"modal-title","with-logo"],["type","button",1,"close",3,"click","ngClass"],[1,"text"],["aria-hidden","true",1,"icon"],[1,"modal-body","help-modal-body"],[1,"modal-body-content","help-modal-body"],[1,"pf-modal-header"],[1,"modal-keyboard-text"],[1,"modal-desc"],[1,"modal-info"],[1,"para-list"],[1,"modal-body-link",3,"globalLink","linkTarget"],[1,"modal-text"],[1,"row"],[1,"col-lg-6","col-sm-6","col-md-6","col-12","modal-image-part"],[1,"col-lg-6","col-sm-6","col-md-6","col-12","modal-list-part"],[1,"col-lg-6","col-sm-6","col-md-6","col-12","modal-sample-section"],[1,"keyboard-img-container"],[1,"modal-product-list"],[1,"row","border-bottom-modal"],[1,"col-lg-12","col-md-12","col-sm-12","col-12"],[1,"align-center"],[3,"carouselImage"],[1,"modal-list-part-wrapper"],[1,"list"],[1,"list-item"],[1,"list-footer"],[1,"align-left","img-desc",3,"ngClass"],[1,"sample-image",3,"ngClass"],[3,"src","alt"],[1,"col-lg-5","col-md-5","col-sm-5","col-12"],[1,"keyboard-img",3,"alt","src"],[1,"col-lg-1","col-md-1","col-sm-1","col-12","align-center"],["src","/wcc-assets/images/next-arrow.svg",1,"img-arrow",3,"alt"],[1,"col-lg-6","col-md-6","col-sm-6","col-12"],[3,"alt","src"],[4,"ngTemplateOutlet"],[1,"help-modal-footer"],["alt","Privacy policy","target","_blank",3,"href"]],template:function(ge,me){if(1&ge){const Pe=_.RV6();_.j41(0,"div",1)(1,"div",2)(2,"div",3),_.nVh(3,C,1,0,"img",4),_.nVh(4,T,3,1,"div",5),_.j41(5,"button",6),_.bIt("click",function(){return d.eBV(Pe),d.Njj(me.activeModal.dismiss("Cross click"))}),_.j41(6,"span",7),_.EFF(7),_.k0s(),_.j41(8,"span",8),_.EFF(9,"\xd7"),_.k0s()()(),_.j41(10,"div",9),_.nVh(11,k,13,9,"div",10),_.k0s(),_.nVh(12,Z,1,1,"ng-container"),_.k0s()(),_.DNE(13,Y,7,3,"ng-template",null,0,_.C5r)}if(2&ge){let Pe,be,we,ye;_.HbH(_.VkB("need-help-modal product-",me.productType())),_.Y8G("ngClass",_.ziG(11,I,me.pageConfig().isVisIdEnabled,"rtl"===me.pageConfig().languageDirection,"ltr"===me.pageConfig().languageDirection,"video"===(null==(Pe=me.modalData())?null:Pe.supportLink_Type))),_.R7$(3),_.vxM(!me.isMobile()||me.isLightTheme()?3:-1),_.R7$(),_.vxM(me.modalInfo()&&null!=(be=me.modalInfo())&&be.modalHeader?4:-1),_.R7$(),_.Y8G("ngClass",null!=(we=me.modalInfo())&&we.modalHeader?"":"no-modal-heading"),_.BMQ("aria-label",me.allTranslations()["#pps_WCC_FS_Error_Service_Unavailable_Modal_Button_Text"]),_.R7$(2),_.JRh(me.allTranslations()["#pps_WCC_FS_Error_Service_Unavailable_Modal_Button_Text"]),_.R7$(4),_.vxM("video"!==(null==(ye=me.modalData())?null:ye.supportLink_Type)||me.pageConfig().isVisIdEnabled?11:-1),_.R7$(),_.vxM(me.hideCopyRightFooter()?-1:12)}},dependencies:[ce.YU,de,ce.T3,ae.z],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.need-help-modal[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:20px;padding-bottom:10px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;margin-top:0;padding:15px;border-top:1px solid #efefef;font-size:12px;color:#767676;font-family:HPSimplified}.need-help-modal[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}.need-help-modal[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;padding:0}.need-help-modal[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{outline:#0096D6 auto 0px;box-shadow:0 0 2px 1px #0096d6}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal
1-body-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#000}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:disc;font-size:16px;padding-left:40px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   img.img-arrow[_ngcontent-%COMP%]{width:20px;height:20px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   img.samsung-printer-image[_ngcontent-%COMP%]{padding-left:27px;margin-bottom:20px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:10px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .keyboard-img-container[_ngcontent-%COMP%]{padding:30px;position:relative}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .keyboard-img-container[_ngcontent-%COMP%]   img.keyboard-img[_ngcontent-%COMP%]{position:absolute;top:15%}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .keyboard-img-container[_ngcontent-%COMP%]   img.img-arrow[_ngcontent-%COMP%]{position:absolute;top:40%;padding-left:10px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-product-list[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;padding:0 0 20px;margin:0 30px 22px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-product-list[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{line-height:25px;font-size:14px;color:#000;padding-left:16px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]{padding:20px 24px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]   .modalLayout[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]   .videoMain[_ngcontent-%COMP%]{position:relative;display:block;max-width:100%}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]   .videoMainContainer[_ngcontent-%COMP%]{padding-top:56.25%}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{display:none}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-link[_ngcontent-%COMP%]{padding-left:28px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{list-style:disc!important;padding-left:60px;color:#000}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .list-footer[_ngcontent-%COMP%]{padding-top:20px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .img-desc[_ngcontent-%COMP%]{padding-left:0}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-desc[_ngcontent-%COMP%]{margin-bottom:20px}.need-help-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:none!important}.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:20px!important;border-bottom:1px solid #efefef}
1.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{line-height:50px;padding-left:10px;padding-right:20px;float:none;width:100%}.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:12px;font-size:20px}.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:30px;color:#767676;padding:0;align-self:center;margin:0 0 0 auto}.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{background:none;outline:none}.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{height:40px}.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{float:left;display:inline-block;width:40px;height:auto}.need-help-modal[_ngcontent-%COMP%]   #videoModal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]{padding:10px}.need-help-modal[_ngcontent-%COMP%]   #videoModal[_ngcontent-%COMP%]   .help-modal-header[_ngcontent-%COMP%]{height:40px}@media only screen and (min-width:768px){.need-help-modal.rtl[_ngcontent-%COMP%]:not(.vis-id)   .modal-body-link[_ngcontent-%COMP%]{padding-right:28px;padding-left:0}}.clearfix[_ngcontent-%COMP%]:before{content:" ";display:table}.clearfix[_ngcontent-%COMP%]:after{content:" ";display:table;clear:both}.privacyPolicy[_ngcontent-%COMP%]{float:left}.copyright[_ngcontent-%COMP%]{float:right}.need-help-modal[_ngcontent-%COMP%]   #videoModal[_ngcontent-%COMP%]   .help-modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{top:10px!important}.modal-text[_ngcontent-%COMP%]   .modal-product-list[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{-moz-column-count:2;column-count:2}.modal-text[_ngcontent-%COMP%]   .modal-product-list[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style-type:disc}@media only screen and (min-width:768px){.need-help-modal[_ngcontent-%COMP%]   .help-modal-header[_ngcontent-%COMP%]{height:90px;padding-top:25px}.need-help-modal[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:0 28px;font-family:HPSimplifiedLight;font-size:16px;line-height:1.35em}.need-help-modal[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:18px}.need-help-modal[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-image-part[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:5px}.need-help-modal[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-sample-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:10px;padding-left:10px}}@media only screen and (max-width:767px){.need-help-modal[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:22px;padding-bottom:10px;font-size:16px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   img.img-arrow[_ngcontent-%COMP%]{transform:rotate(90deg)}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;line-height:22px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-image-part[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:left;font-weight:700;color:#000;font-size:15px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .keyboard-img-container[_ngcontent-%COMP%]{padding:30px 0}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .keyboard-img-container[_ngcontent-%COMP%]   img.keyboard-img[_ngcontent-%COMP%]{position:static}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal
1-body-content[_ngcontent-%COMP%]   .keyboard-img-container[_ngcontent-%COMP%]   img.img-arrow[_ngcontent-%COMP%]{position:static;padding-left:10px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-product-list[_ngcontent-%COMP%]{margin:0 0 20px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:20px;-moz-column-count:1;column-count:1}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-body-link[_ngcontent-%COMP%]{padding-left:0}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{font-size:16px;line-height:22px;padding-left:25px}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .img-desc[_ngcontent-%COMP%], .need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .sample-image[_ngcontent-%COMP%]{margin-left:0!important}.need-help-modal[_ngcontent-%COMP%]   .help-modal-body[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]{padding:0}.need-help-modal[_ngcontent-%COMP%]   .help-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{padding-left:0}.need-help-modal[_ngcontent-%COMP%]   .help-modal-header[_ngcontent-%COMP%]   img.company-logo[_ngcontent-%COMP%]{display:none!important}.need-help-modal[_ngcontent-%COMP%]   .help-modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:auto;margin-left:unset}.need-help-modal[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]{flex-direction:column}.need-help-modal[_ngcontent-%COMP%]   .help-modal-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-bottom:8px}}@media only screen and (max-width:800px){.modal-text[_ngcontent-%COMP%]   .modal-product-list[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:20px;-moz-column-count:1;column-count:1}}.need-help-modal.vis-id[_ngcontent-%COMP%]{border:1px solid #000000}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-info[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body-link[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-list-part[_ngcontent-%COMP%]   .list-item[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-list-part[_ngcontent-%COMP%]   .list-footer[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%]   .img-desc[_ngcontent-%COMP%]{font:400 16px/24px Forma DJR UI!important;color:#000}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body-link[_ngcontent-%COMP%]{color:#0278ab;text-decoration:underline}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body-link[_ngcontent-%COMP%]{padding-left:28px}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-desc[_ngcontent-%COMP%]{margin-bottom:20px}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:12px 32px 12px 22px!important;border-bottom:1px solid #000000;height:auto}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .company-logo[_ngcontent-%COMP%]{display:none}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title.with-logo[_ngcontent-%COMP%]   .pf-modal-header[_ngcontent-%COMP%]{font:400 32px/40px Forma DJR UI;margin-top:8px}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{opacity:unset}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:inline-block!important;padding-right:5px}
1.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:inline-block;line-height:40px;color:#000}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{vertical-align:middle}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:2em}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body.help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{list-style:disc!important;padding-left:60px}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body.help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .list-footer[_ngcontent-%COMP%]{padding-top:20px}@media only screen and (max-width:768px){.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{margin:0}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title.with-logo[_ngcontent-%COMP%]   .pf-modal-header[_ngcontent-%COMP%]{font-size:28px;line-height:36px}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{padding:0}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   .pf-modal-header[_ngcontent-%COMP%]{text-align:center}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body-link[_ngcontent-%COMP%]{padding-left:0}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:2em}.need-help-modal.vis-id[_ngcontent-%COMP%]   .modal-body.help-modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{padding-left:30px}}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:24px 30px!important;align-items:center}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{padding:0;line-height:1.2}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]   .pf-modal-header[_ngcontent-%COMP%]{font:400 20px/1.2 Forma DJR UI;margin:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{font-size:16px;display:inline-block;position:relative;padding:4px 26px 4px 12px;margin-right:-12px;border:1px solid transparent;outline:1px solid transparent;border-radius:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{height:auto;line-height:1.2!important}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:auto;line-height:1.2;font-size:24px;position:absolute;top:50%;transform:translateY(-57%)}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:hover{border:1px solid #000000;background:#ebf9ff;outline:1px solid #fff}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:active{border:1px solid #000000;background:#caf3ff;outline:1px solid #fff}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-header.help-modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:focus-visible{border:1px solid #0278AB!important;outline:1px solid #0278AB!important}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal
1-body[_ngcontent-%COMP%]{padding:32px}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]{padding:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .modal-desc[_ngcontent-%COMP%]{margin-bottom:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .modal-desc[_ngcontent-%COMP%]   .modal-info[_ngcontent-%COMP%]{padding:12px 0 0;margin-bottom:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin:0 -15px}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .modal-image-part[_ngcontent-%COMP%]   .align-center[_ngcontent-%COMP%]{text-align:left!important;font-size:16px;
1font-family:Forma DJR UI;line-height:24px;margin-bottom:20px;padding:0;font-weight:400}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .modal-sample-section[_ngcontent-%COMP%]   .img-desc[_ngcontent-%COMP%]{margin-bottom:20px}@media only screen and (max-width:600px){.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset)   .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:20px 15px!important}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset)   .modal-body[_ngcontent-%COMP%]{padding:30px 15px}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset)   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{flex-direction:column-reverse}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset)   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .modal-sample-section[_ngcontent-%COMP%]{margin-bottom:30px}}.vis-id-pfinder-modal.need-help-modal.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .modal-image-part[_ngcontent-%COMP%]   .align-center[_ngcontent-%COMP%]{text-align:right!important}.vis-id-pfinder-modal.need-help-modal.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .modal-sample-section[_ngcontent-%COMP%]   .img-desc[_ngcontent-%COMP%]{text-align:right!important;padding-right:0}.vis-id-pfinder-modal.need-help-modal.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .modal-body-content[_ngcontent-%COMP%]   .modal-keyboard-text[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .modal-sample-section[_ngcontent-%COMP%]   .sample-image[_ngcontent-%COMP%]{text-align:right!important}']})}}return U})()},78808(fe,re,i){i.d(re,{z:()=>m});var x=i(37580),d=i(12481),h=i(60480),H=i(9303),W=i(24180),y=i(19885);let m=(()=>{class c{constructor(r,_,o,G,e,J){this.commonService=r,this.el=_,this.windowRef=o,this.domPurifier=G,this.pageService=e,this.renderer=J,this.pageConfig=this.pageService.config,this.globalLink=(0,x.hFB)(""),this.isVoidLink=(0,x.hFB)(!1),this.isNonRouterLink=(0,x.hFB)(!1),this.linkTarget=(0,x.hFB)("self"),this.inNewTab=!1,this.isModal=!1,this.window=this.windowRef.nativeWindow}ngAfterViewInit(){const r=this.linkTarget();this.inNewTab="newtab"===r?.toLowerCase(),this.isModal="modal"===r?.toLowerCase(),this.pageConfig.isRenderModeDebug&&(console.log(`globalLink before change: ${this.globalLink()}`),this.renderer.addClass(this.el.nativeElement,"global-link-directive")),this.navigationUrl=this.commonService.getNavigationUrl(this.globalLink()),this.pageConfig.isRenderModeDebug&&console.log(`globalLink after change: ${this.navigationUrl}`),this.el?.nativeElement&&this.navigationUrl&&(this.el.nativeElement.href=this.isVoidLink()||this.isModal?"javascript:void(0)":this.domPurifier.sanitize(this.navigationUrl,{}),this.el.nativeElement.target=this.inNewTab?"_blank":"_self")}onClick(r){const _=this.navigationUrl||this.globalLink();_&&!this.isNonRouterLink()&&!1===r.ctrlKey&&(this.inNewTab||this.isModal?this.inNewTab&&this.isVoidLink()&&(r.preventDefault(),this.window.open(this.domPurifier.sanitize(_,{}),"_blank")):(r.preventDefault(),this.commonService.globalRouterNavigate(this.domPurifier.sanitize(_,{}))))}static{this.\u0275fac=function(_){return new(_||c)(d.rXU(h.h),d.rXU(d.aKT),d.rXU(H.$),d.rXU(W.S),d.rXU(y.b),d.rXU(d.sFG))}}static{this.\u0275dir=d.FsC({type:c,selectors:[["","globalLink",""]],hostBindings:function(_,o){1&_&&d.bIt("click",function(e){return o.onClick(e)})},inputs:{globalLink:[1,"globalLink"],isVoidLink:[1,"isVoidLink"],isNonRouterLink:[1,"isNonRouterLink"],linkTarget:[1,"linkTarget"]}})}}return c})()},38056(fe,re,i){i.d(re,{u:()=>W});var x=i(37580),d=i(86763),h=i(12481),H=i(19885);let W=(()=>{class y{onResize(){(!this.pageConfig().isMobile||this.resizeOnMobile())&&this.matchHeight().split(",").forEach(L=>{this.matchSectionHeight(this.el.nativeElement,L)})}constructor(c,L,r){this.pageService=c,this.el=L,this.renderer=r,this.pageConfig=(0,d.EW)(()=>this.pageService.configSignal()),this.matchHeight=(0,x.hFB)(""),this.resizeOnMobile=(0,x.hFB)(!1)}ngAfterViewInit(){const c=this.pageConfig().isBrowser&&setInterval(()=>{this.allImagesLoaded(this.el.nativeElement)&&(clearInterval(c),(!this.pageConfig().isMobile||this.resizeOnMobile())&&this.matchHeight().split(",").forEach(_=>{(this.pageConfig().isBrowser||this.resizeOnMobile())&&this.matchSectionHeight(this.el.nativeElement,_)}))},300)}allImagesLoaded(c){let L=c?.getElementsByTagName("img");for(let r of Array.from(L))if(!r.complete)return!1;return!0}matchSectionHeight(c,L){if(!c)return;const r=c.getElementsByClassName(L);if(!r)return;Array.from(r).forEach(G=>{this.renderer.setStyle(G,"height","initial")});const o=Array.from(r).map(G=>G.getBoundingClientRect().height).reduce((G,e)=>e>G?e:G,0);Array.from(r).forEach(G=>this.renderer.setStyle(G,"height",`${o}px`))}static{this.\u0275fac=function(L){return new(L||y)(h.rXU(H.b),h.rXU(h.aKT),h.rXU(h.sFG))}}static{this.\u0275dir=h.FsC({type:y,selectors:[["","matchHeight",""]],hostBindings:function(L,r){1&L&&h.bIt("resize",function(){return r.onResize()},h.tSv)},inputs:{matchHeight:[1,"matchHeight"],resizeOnMobile:[1,"resizeOnMobile"]}})}}return y})()},91462(fe,re,i){i.d(re,{R:()=>d});var x=i(12481);let d=(()=>{class h{constructor(W){this.el=W,this.textSelected=!1}ngOnInit(){}clickEvent(){if(this.el.nativeElement.value)if(this.textSelected){let W=window?.getSelection();W&&W.anchorNode==this.el.nativeElement&&W.collapse(this.el.nativeElement)}else this.el.nativeElement.select(),this.textSelected=!0}blurEvent(){this.el.nativeElement.value&&(this.textSelected=!1)}static{this.\u0275fac=function(y){return new(y||h)(x.rXU(x.aKT))}}static{this.\u0275dir=x.FsC({type:h,selectors:[["","selectInputText",""]],hostBindings:function(y,m){1&y&&x.bIt("click",function(){return m.clickEvent()})("blur",function(){return m.blurEvent()})}})}}return h})()},75257(fe,re,i){i.d(re,{z:()=>h});var x=i(37580),d=i(12481);let h=(()=>{class H{constructor(y){this.cdr=y}transform(y,...m){return y.apply(this.cdr.context,m)}static{this.\u0275fac=function(m){return new(m||H)(d.rXU(x.gRc,16))}}static{this.\u0275pipe=d.EJ8({name:"memoize",type:H,pure:!0})}}return H})()}
1,96114(fe,re,i){i.d(re,{Q:()=>h});var x=i(26895),d=i(12481);let h=(()=>{class H{constructor(){this.transform=x.A}static{this.\u0275fac=function(m){return new(m||H)}}static{this.\u0275pipe=d.EJ8({name:"orderBy",type:H,pure:!0})}}return H})()},87380(fe,re,i){i.d(re,{m:()=>H});var x=i(12481),d=i(80436),h=i(60480);let H=(()=>{class W{constructor(m,c){this.sanitizer=m,this.commonService=c}transform(m){return this.sanitizer.bypassSecurityTrustResourceUrl(this.commonService.getSanitizedUrl(m))}static{this.\u0275fac=function(c){return new(c||W)(x.rXU(d.up,16),x.rXU(h.h,16))}}static{this.\u0275pipe=x.EJ8({name:"safe",type:W,pure:!0})}}return W})()},40434(fe,re,i){i.d(re,{u:()=>d});var x=i(12481);let d=(()=>{class h{transform(W){return W?W.replace(/<.*?>/g,""):""}static{this.\u0275fac=function(y){return new(y||h)}}static{this.\u0275pipe=x.EJ8({name:"striphtml",type:h,pure:!0})}}return h})()},1681(fe,re,i){i.d(re,{y:()=>ce});var x=i(37580),d=i(85240),h=i(86763),H=i(84205),W=i(33900),y=i(93683),m=i(89751),c=i(12481),L=i(19885),r=i(71839),_=i(60480);const o=(ae,oe)=>[ae,oe];function G(ae,oe){if(1&ae){const z=c.RV6();c.j41(0,"app-ngbd-dropdown",6),c.bIt("optionSelected",function(q){d.eBV(z);const S=c.XpG();return d.Njj(S.onServiceSelect(q))}),c.k0s()}if(2&ae){const z=c.XpG();c.Y8G("options",z.services())("fullWidth",!0)("selectedOption",z.selectedService().name||z.serviceDropdownHeading())}}function e(ae,oe){if(1&ae&&(c.j41(0,"label"),c.EFF(1),c.k0s()),2&ae){const z=c.XpG(2);c.R7$(),c.JRh(z.versionDropdownLabel())}}function J(ae,oe){if(1&ae){const z=c.RV6();c.j41(0,"div",4),c.nVh(1,e,2,1,"label"),c.j41(2,"div",7)(3,"app-ngbd-dropdown",8),c.bIt("optionSelected",function(q){d.eBV(z);const S=c.XpG();return d.Njj(S.onServiceVersionSelect(q))}),c.k0s()()()}if(2&ae){const z=c.XpG();c.R7$(),c.vxM(z.seriesId()?1:-1),c.R7$(2),c.Y8G("options",z.versions())("fullWidth",!0)("selectedOption",z.selectedServiceVersion().name||z.versionDropdownHeading())}}function de(ae,oe){if(1&ae){const z=c.RV6();c.j41(0,"button",9),c.bIt("click",function(){d.eBV(z);const q=c.XpG();return d.Njj(q.submit())}),c.j41(1,"span",10),c.EFF(2),c.k0s()()}if(2&ae){const z=c.XpG();c.Y8G("disabled",!z.hasData||z.isSubmitButtonDisabled),c.R7$(2),c.JRh(z.submitButtonText())}}let ce=(()=>{class ae{set _disableSubmit(z){z&&this.selectedServiceVersion.set({name:this.versionDropdownHeading(),id:null,redirectUrl:null})}constructor(z,B,q){this.pageService=z,this.contactService=B,this.commonService=q,this.pageConfig=(0,h.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,x.hFB)({}),this.wrapperClass=(0,x.hFB)(""),this.services=(0,d.vPA)([]),this.versions=(0,d.vPA)([]),this.hideSubmit=(0,x.hFB)(!1),this.serviceDropdownHeading=(0,x.hFB)(""),this.versionDropdownLabel=(0,x.hFB)(""),this.versionDropdownHeading=(0,x.hFB)(""),this.submitButtonText=(0,x.hFB)(""),this.seriesId=(0,x.hFB)(null),this.selectedService=(0,x.geq)({name:this.serviceDropdownHeading(),id:null}),this.selectedServiceVersion=(0,x.geq)({name:this.versionDropdownHeading(),id:null,redirectUrl:null}),this.serviceSelected=(0,x.CGW)(),this.versionSelected=(0,x.CGW)(),this.onVersionsReady=(0,x.CGW)(),this.destroySubject$=new H.B}get isSubmitButtonDisabled(){const z=this.selectedServiceVersion();return!(this.seriesId()&&z.id||this.versions().length>1&&z.id||1===this.versions().length&&this.selectedService().id)}get hasData(){return this.seriesId()&&this.versions().length||this.services().length||this.versions().length>1}onServiceSelect(z){this.selectedService.set(z.option),this.serviceSelected.emit(this.selectedService()),this.updateVersions()}onServiceVersionSelect(z){this.selectedServiceVersion.set(z.option),this.versionSelected.emit(this.selectedServiceVersion())}resetSelection(){this.resetServices(),this.resetVersions()}resetServices(){this.selectedService.set({name:this.serviceDropdownHeading(),id:null}),this.versionSelected.emit(this.selectedServiceVersion())}resetVersions(){this.versions.set([]),this.selectedServiceVersion.set({name:this.versionDropdownHeading(),id:null,redirectUrl:null}),this.versionSelected.emit(this.selectedServiceVersion())}updateVersions(){this.fetchVersions(this.selectedService().id)}fetchVersions(z){this.resetVersions(),this.contactService.getAppServiceVersion(z).pipe((0,W.Q)(this.destroySubject$)).subscribe(B=>{B&&(this.versions.set(B.modelList),B.modelList&&1===B.modelList.length&&this.versionSelected.emit(this.versions()[0]),this.onVersionsReady.emit(B))})}submit(){const z={service:{},version:{}},B=this.selectedService();B.id&&(z.service=B);const q=this.selectedServiceVersion();if(q.id&&(z.version=q),B.id&&1===this.versions().length){const S=this.addCallMeParam(this.versions()[0].redirectUrl);this.contactService.gotoContactOptionsWithUrl(S)}else if(q.redirectUrl){const S=this.addCallMeParam(q.redirectUrl);this.contactService.gotoContactOptionsWithUrl(S)}}
1addCallMeParam(z){return"callme"===this.pageConfig().originId&&(/\?/.test(z)?z+="&originid=callme":z+="?originid=callme"),z}ngOnInit(){this.commonService.productSubmit.pipe((0,W.Q)(this.destroySubject$)).subscribe(B=>{B&&this.submit()}),this.commonService.resetServiceSelection.pipe((0,W.Q)(this.destroySubject$)).subscribe(B=>{this.resetSelection()});const z=this.seriesId();z?this.fetchVersions(z):this.contactService.getOtherServices().pipe((0,W.Q)(this.destroySubject$)).subscribe(B=>{B&&this.services.set(B)})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(B){return new(B||ae)(c.rXU(L.b),c.rXU(r.u),c.rXU(_.h))}}static{this.\u0275cmp=c.VBU({type:ae,selectors:[["app-choose-service"]],inputs:{allTranslations:[1,"allTranslations"],wrapperClass:[1,"wrapperClass"],hideSubmit:[1,"hideSubmit"],serviceDropdownHeading:[1,"serviceDropdownHeading"],versionDropdownLabel:[1,"versionDropdownLabel"],versionDropdownHeading:[1,"versionDropdownHeading"],_disableSubmit:"_disableSubmit",submitButtonText:[1,"submitButtonText"],seriesId:[1,"seriesId"],selectedService:[1,"selectedService"],selectedServiceVersion:[1,"selectedServiceVersion"]},outputs:{selectedService:"selectedServiceChange",selectedServiceVersion:"selectedServiceVersionChange",serviceSelected:"serviceSelected",versionSelected:"versionSelected",onVersionsReady:"onVersionsReady"},decls:6,vars:7,consts:[[1,"services-selection-wrapper",3,"ngClass"],[1,"dropdown-wrapper"],["id","Servicedropdown",1,"service-dd-wrapper"],["dropdownName","apps_services",3,"options","fullWidth","selectedOption"],[1,"versions-dd-wrapper"],["type","button","id","service-submit",1,"service-submit","primary-button",3,"disabled"],["dropdownName","apps_services",3,"optionSelected","options","fullWidth","selectedOption"],["id","Versiondropdown"],["dropdownName","versions",3,"optionSelected","options","fullWidth","selectedOption"],["type","button","id","service-submit",1,"service-submit","primary-button",3,"click","disabled"],["title","Submit",1,"hidden-mobile-only"]],template:function(B,q){if(1&B&&(c.j41(0,"div",0)(1,"div",1)(2,"div",2),c.nVh(3,G,1,3,"app-ngbd-dropdown",3),c.k0s(),c.nVh(4,J,4,4,"div",4),c.k0s(),c.nVh(5,de,3,2,"button",5),c.k0s()),2&B){let S;c.Y8G("ngClass",c.l_i(4,o,q.pageConfig().languageDirection,q.wrapperClass())),c.R7$(3),c.vxM(q.seriesId()?-1:3),c.R7$(),c.vxM(q.seriesId()||(null==(S=q.versions())?null:S.length)>1?4:-1),c.R7$(),c.vxM(q.hideSubmit()?-1:5)}},dependencies:[y.YU,m.S],styles:[".services-selection-wrapper[_ngcontent-%COMP%]{display:flex;margin:7px 0 5px;justify-content:center;align-items:flex-end}.services-selection-wrapper.blockView[_ngcontent-%COMP%]{display:block}.services-selection-wrapper.blockView[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{max-width:385px}.services-selection-wrapper.blockView[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]{margin-top:15px}.dropdown-wrapper[_ngcontent-%COMP%]{width:100%;max-width:340px}.service-submit[_ngcontent-%COMP%]{margin-left:25px;margin-top:6px}label[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:16px;font-style:normal;display:block;text-align:left;margin-bottom:5px}.rtl[_ngcontent-%COMP%]   .service-submit[_ngcontent-%COMP%]{margin-right:25px;margin-left:0}.rtl.models-dropdown[_ngcontent-%COMP%]   .service-submit[_ngcontent-%COMP%]{margin-left:0;margin-right:30px}.rtl.models-dropdown[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .rtl.model-version[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{text-align:right}@media screen and (min-width:320px)and (max-width:800px){.services-selection-wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.services-selection-wrapper[_ngcontent-%COMP%]   button.service-submit[_ngcontent-%COMP%]{min-width:80px}.services-selection-wrapper[_ngcontent-%COMP%]   button.service-submit[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block!important}.models-dropdown[_ngcontent-%COMP%]{flex-wrap:unset!important;flex-direction:row!important;align-items:flex-end!important}.models-dropdown[_ngcontent-%COMP%]   .selected-item[_ngcontent-%COMP%]{font-size:16px!important}.models-dropdown[_ngcontent-%COMP%]   .service-submit[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:24px;background-color:#165dba;min-width:unset!important;padding:0 16px;position:relative;
1left:-4px;height:33px;margin:0!important;min-height:33px}.models-dropdown[_ngcontent-%COMP%]   .service-submit[_ngcontent-%COMP%]   .hidden-mobile-only[_ngcontent-%COMP%]{display:none!important}.models-dropdown[_ngcontent-%COMP%]   .service-submit[_ngcontent-%COMP%]:disabled{background-color:#ccc}.models-dropdown[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{text-align:start}.models-dropdown[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{max-width:calc(100% - 32px)!important}.rtl.models-dropdown[_ngcontent-%COMP%]   .service-submit[_ngcontent-%COMP%]{margin:0;left:0;right:-4px}}@media screen and (max-width:640px){.services-selection-wrapper[_ngcontent-%COMP%]{flex-direction:column;align-items:center}.services-selection-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{text-align:center}.service-submit[_ngcontent-%COMP%]{margin:15px auto 0}}.dcc-choose-service[_ngcontent-%COMP%]   .service-dd-wrapper[_ngcontent-%COMP%], .dcc-choose-service[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]{margin-top:25px}.service-version[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:20px}.model-version[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;color:#2c3038;text-align:left}.model-version[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{max-width:372px}.models-dropdown[_ngcontent-%COMP%]{justify-content:flex-start}.models-dropdown[_ngcontent-%COMP%]   .versions-dd-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;color:#000}.models-dropdown[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{max-width:385px}.models-dropdown[_ngcontent-%COMP%]   .service-submit[_ngcontent-%COMP%]{margin-left:30px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.service-submit[_ngcontent-%COMP%]{margin-bottom:4px}}"]})}}return ae})()},16801(fe,re,i){i.d(re,{x:()=>h});var x=i(37580),d=i(12481);let h=(()=>{class H{onResize(){this.setHeight()}constructor(y,m){this.el=y,this.renderer=m,this.rows=(0,x.hFB)(),this.containerClass=(0,x.hFB)(""),this.cardClass=(0,x.hFB)("")}ngAfterViewInit(){setTimeout(()=>{this.setHeight()},10)}setHeight(){let y=this.el?.nativeElement?.querySelector(this.containerClass());if(!y)return;let m=y?.querySelectorAll(this.cardClass());if(!m||0===m.length)return;let c=getComputedStyle(m[0]),L=0;m.forEach(_=>{let o=_.offsetHeight;o>L&&(L=o)});const r=L*Number(this.rows())+(parseInt(c?.marginTop||"0")||0)*(2*Number(this.rows()));this.renderer.setAttribute(y,"style",`height: ${r}px !important`)}static{this.\u0275fac=function(m){return new(m||H)(d.rXU(d.aKT),d.rXU(d.sFG))}}static{this.\u0275dir=d.FsC({type:H,selectors:[["","appCarouselHeight",""]],hostBindings:function(m,c){1&m&&d.bIt("resize",function(){return c.onResize()},d.tSv)},inputs:{rows:[1,"rows"],containerClass:[1,"containerClass"],cardClass:[1,"cardClass"]}})}}return H})()},87542(fe,re,i){i.d(re,{o:()=>q});var x=i(37580),d=i(85240),h=i(86763),H=i(70739),W=i(93683),y=i(12481),m=i(19885),c=i(84527),L=i(99016);const r=S=>({entity:S}),_=(S,I)=>({expired:S,unknown:I});function o(S,I){if(1&S&&y.nrm(0,"img",4),2&S){let C;const T=y.XpG();y.Y8G("src",(null==(C=T.card())||null==C.icons?null:C.icons.hpplus)||T.fallbackHpplus(),y.B4B)}}function G(S,I){1&S&&y.eu8(0)}function e(S,I){if(1&S&&y.DNE(0,G,1,0,"ng-container",18),2&S){const C=I.$implicit;y.XpG(2);const T=y.sdS(4);y.Y8G("ngTemplateOutlet",T)("ngTemplateOutletContext",y.eq3(2,r,C))}}function J(S,I){if(1&S&&y.Z7z(0,e,1,4,"ng-container",null,y.fX1),2&S){const C=I.$implicit;y.Dyx(null==C?null:C.entities)}}function de(S,I){if(1&S&&y.nrm(0,"img",19),2&S){const C=y.XpG(2).entity;y.Y8G("src",null==C||null==C.icons?null:C.icons.icon120px,y.B4B)("alt",null==C?null:C.name)}}function ce(S,I){if(1&S&&y.nVh(0,de,1,2,"img",19),2&S){const C=y.XpG().entity;y.vxM(C.isOneHp&&null!=C.icons&&C.icons.icon120px?0:-1)}}function ae(S,I){1&S&&y.nVh(0,ce,1,1),2&S&&y.vxM(I.entity?0:-1)}function oe(S,I){if(1&S&&(y.j41(0,"span",5),y.Z7z(1,J,2,0,null,null,y.fX1),y.DNE(3,ae,1,1,"ng-template",null,0,y.C5r),y.k0s()),2&S){let C,T;const g=y.XpG();y.Y8G("ngClass",null!=(C=g.card())&&C.hpPlusEnrolled&&g.contactFormService.showSubscriptionIcon("hpPlus","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?"hpone-logo-with-hplus":"hpone-logo-without-hplus"),y.R7$(),y.Dyx(null==(T=g.card())?null:T.subscriptions)}}function z(S,I){if(1&S&&(y.j41(0,"p",16),y.EFF(1),y.k0s()),2&S){let C;const T=y.XpG();y.Y8G("ngClass",y.l_i(2,_,"OW"===T.card().warrantyState,"UN"===T.card().warrantyState)),y.R7$(),y.SpI(" ",null==(C=T.card())?null:C.warrantyStatus," ")}}function B(S,I){if(1&S&&y.nrm(0,"img",17),2&S){let C;const T=y.XpG();y.Y8G("src",(null==(C=T.card())||null==C.icons?null:C.icons.instantInk)||T.fallbackInstantInk(),y.B4B)}}let q=(()=>{class S{constructor(C,T,g){this.pageService=C,this.productFinderService=T,this.contactFormService=g,this.pageConfig=(0,h.EW)(()=>this.pageService.configSignal()),this.card=(0,x.hFB)(null),this.allTranslations=(0,x.hFB)({}),this.showWarrantyStatus=(0,x.hFB)(!0),this.isInstantInkFlow=(0,x.hFB)(!1),this.itemIndex=(0,x.hFB)(null),this.isHPPlus=(0,d.vPA)(!1),this.fallbackProductImageLink=(0,d.vPA)(H.D5.fallbackProductImageLink),this.fallbackHpplus=(0,d.vPA)(H.D5.fallbackHpplus),this.fallbackInstantInk=(0,d.vPA)(H.D5.fallbackInstantInk)}ngOnInit(){}ngOnChanges(){this.contactFormService.getSSCConfig(),this.isHPPlus.set(-1!==this.card().subscriptionServices.toLowerCase().indexOf("hp+")||-1!==this.card().subscriptionServices.toLowerCase().indexOf("instant ink"))}deviceSelected(){this.productFinderService.carouselDeviceSelected.next(this.card())}static{this.\u0275fac=function(T){return new(T||S)(y.rXU(m.b),y.rXU(c.h),y.rXU(L.i))}}static{this.\u0275cmp=y.VBU({type:S,selectors:[["app-device-card"]],inputs:{card:[1,"card"],allTranslations:[1,"allTranslations"],showWarrantyStatus:[1,"showWarrantyStatus"],isInstantInkFlow:[1,"isInstantInkFlow"],itemIndex:[1,"itemIndex"]},features:[y.OA$],decls:23,vars:14,consts:[["imageTemplate",""],[1,"card-wrapper"],["href","javascript:void(0)",3,"click","title"],[1,"card-container",3,"ngClass"],[1,"hp-plus",3,"src"],[1,"",3,"ngClass"],[1,"image"],["alt","device icon",3,"src"],[1,"card-info"],[1,"device-name","d-none","d-md-block"],[1,"product-name"],[1,"grid-container"],[1,"product-num","font-regular"],[1,"product-val"],[1,"serial-num","font-regular"],[1,"serial-val"],[1,"warranty-status",3,"ngClass"],[1,"instant-ink",3,"src"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mb-1","hpone",3,"src","alt"]],template:function(T,g){if(1&T&&(y.j41(0,"div",1)(1,"a",2),y.bIt("click",function(){return g.deviceSelected()}),y.j41(2,"div",3),y.nVh(3,o,1,1,"img",4),y.nVh(4,oe,5,1,"span",5),y.j41(5,"div",6),y.nrm(6,"img",7),y.k0s(),y.j41(7,"div",8)(8,"span",9),y.EFF(9),y.k0s(),y.j41(10,"p",10),y.EFF(11),y.k0s(),y.j41(12,"div",11)(13,"div",12),y.EFF(14),y.k0s(),y.j41(15,"div",13),y.EFF(16),y.k0s(),y.j41(17,"div",14),y.EFF(18),y.k0s(),y.j41(19,"div",15),y.EFF(20),y.k0s()(),y.nVh(21,z,2,5,"p",16),y.nVh(22,B,1,1,"img",17),y.k0s()()()()),2&T){let u,p,l,b,f,R,w,F,A;y.R7$(),y.Y8G("title",null==(u=g.card())?null:u.nickName),y.BMQ("id",g.isInstantInkFlow()&&null!==g.itemIndex()?"IIprod-"+(g.itemIndex()+1):null),y.R7$(),y.Y8G("ngClass","rtl"===g.pageConfig().languageDirection?"rtl":"ltr"),y.R7$(),y.vxM(null!=(p=g.card())&&p.hpPlusEnrolled&&g.contactFormService.showSubscriptionIcon("hpPlus","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?3:-1),y.R7$(),y.vxM(null!=(l=g.card())&&l.subscriptions&&(null==(l=g.card())?null:l.subscriptions.length)>0?4:-1),y.R7$(2),y.Y8G("src",(null==(b=g.card())?null:b.imageLink)||g.fallbackProductImageLink(),y.B4B),y.R7$(3),y.SpI(" ",null==(f=g.card())?null:f.nickName," "),y.R7$(2),y.SpI(" ",null==(R=g.card())?null:R.productName," "),y.R7$(3),y.JRh(g.allTranslations()["#pps_WCC_FS_Dashboard_ProductText"]),y.R7$(2),y.JRh(null==(w=g.card())||null==w.productNumber||null==(w=w.productNumber.split("#"))?null:w[0]),y.R7$(2),y.JRh(g.allTranslations()["#pps_WCC_FS_Dashboard_SerialText"]),y.R7$(2),y.JRh(null==(F=g.card())?null:F.serialNumber),y.R7$(),y.vxM(g.showWarrantyStatus()?21:-1),y.R7$(),y.vxM(null!=(A=g.card())&&A.instInkSubscribed&&g.contactFormService.showSubscriptionIcon("instantInk","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?22:-1)}},dependencies:[W.YU,W.T3],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.card-wrapper[_ngcontent-%COMP%]{margin:15px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]{display:flex;position:relative;flex-wrap:wrap;justify-content:space-evenly;font-weight:400;text-align:start;padding:18px 19.9px 18px 18px;box-shadow:0 0 20px #00000029;background-color:#fff;border-radius:10px;color:#000}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;line-height:20px;font-size:14px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;align-self:center;max-width:40%;width:127px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;margin:0 15px 0 0}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .hp-plus[_ngcontent-%COMP%]{position:absolute;top:8px;left:18px;width:39px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .hpone-logo-with-hplus[_ngcontent-%COMP%]{display:inline-block;position:absolute;
1left:64px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .hpone-logo-with-hplus[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:60px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .hpone-logo-without-hplus[_ngcontent-%COMP%]{left:18px;display:inline-block;position:absolute;top:15px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .hpone-logo-without-hplus[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:60px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .instant-ink[_ngcontent-%COMP%]{position:absolute;bottom:12px;right:3px;width:66px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]{text-align:left;flex:1 1 160px;display:flex;flex-direction:column}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .grid-container[_ngcontent-%COMP%]{font-size:14px;display:grid;display:-ms-grid;grid-row-gap:2px;grid-auto-columns:max-content}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .grid-container[_ngcontent-%COMP%]   .product-num[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-row-span:1;-ms-grid-column:1;-ms-grid-column-span:1;grid-area:1/1/2/2;margin-right:5px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .grid-container[_ngcontent-%COMP%]   .product-val[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-row-span:1;-ms-grid-column:2;grid-area:1/2/2/2}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .grid-container[_ngcontent-%COMP%]   .serial-num[_ngcontent-%COMP%]{-ms-grid-row:2;-ms-grid-column:1;-ms-grid-column-span:1;grid-area:2/1/2/2;margin-right:5px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .grid-container[_ngcontent-%COMP%]   .serial-val[_ngcontent-%COMP%]{-ms-grid-row:2;-ms-grid-column:2;grid-area:2/2/2/2}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .font-regular[_ngcontent-%COMP%]{font-family:HPSimplified}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]:hover{box-shadow:0 0 20px #0000004d}.card-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus   .card-container[_ngcontent-%COMP%]{box-shadow:0 0 6px #0096d6}.card-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .card-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.rtl[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]{text-align:right!important}.rtl[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .grid-container[_ngcontent-%COMP%]   .product-num[_ngcontent-%COMP%], .rtl[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]   .grid-container[_ngcontent-%COMP%]   .serial-num[_ngcontent-%COMP%]{margin-left:5px;margin-right:0!important}.rtl[_ngcontent-%COMP%]   .hp-plus[_ngcontent-%COMP%]{right:8px}.rtl[_ngcontent-%COMP%]   .instant-ink[_ngcontent-%COMP%]{right:unset!important;left:3px}.rtl[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 0 0 15px!important}.device-name[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;height:19px;color:#000}.product-name[_ngcontent-%COMP%]{color:#000;margin:3px 0 6px!important;font-family:HPSimplifiedLight;font-size:16px!important;font-weight:300;height:inherit;overflow:hidden}.warranty-status[_ngcontent-%COMP%]{margin-top:3px;font-family:HPSimplified;font-size:14px;color:#0171ad}.warranty-status.expired[_ngcontent-%COMP%]{color:#bf2026}.warranty-status.unknown[_ngcontent-%COMP%]{color:#767676}@media only screen and (min-width:768px)and (max-width:991px){.card-wrapper[_ngcontent-%COMP%]{margin:10px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card-info[_ngcontent-%COMP%]{min-width:150px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .product-name[_ngcontent-%COMP%]{font-size:14px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 0 15px}.hpone-logo-with-hplus[_ngcontent-%COMP%]{top:15px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.card-wrapper[_ngcontent-%COMP%]{margin:8px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]{width:95%;min-width:270px;padding:19px 7.9px 20px 9px;flex-wrap:nowrap}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .warranty-status[_ngcontent-%COMP%]{font-size:16px;line-height:20px;max-width:100%}
1.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]{margin-bottom:3px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .product-name[_ngcontent-%COMP%]{width:100%;line-height:18px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{min-width:auto;max-width:auto}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:80px;max-width:95px;margin:auto 10px auto 0}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .instant-ink[_ngcontent-%COMP%]{bottom:8px;left:18px}.card-wrapper[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .hp-plus[_ngcontent-%COMP%]{width:27px}.hpone-logo-with-hplus[_ngcontent-%COMP%]{top:15px;left:50px!important}}"]})}}return S})()},24482(fe,re,i){i.d(re,{H:()=>I});var x=i(86763),d=i(63855),h=i(75797),H=i(59452),W=i(2435),y=i(70271),m=i(33900),c=i(84205),L=i(97965),r=i(85139),_=i(78767),o=i(93551),G=i(75507),e=i(54041),J=i(85240),de=i(12481),ce=i(19885),ae=i(60480),oe=i(91018),z=i(60809),B=i(72608),q=i(11439);let I=(()=>{class C{constructor(g,u,p,l,b,f,R){this.pageService=g,this.commonService=u,this.elem=p,this.http=l,this.loadingScreenService=b,this.searchResultsService=f,this.store=R,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new c.B,this.serialPatternNoRedirectSub=new h.t(!1),this.getCommonLocalFromSSC(),this.commonService.hpDotComCcLcMappingSub.pipe((0,m.Q)(this.destroySubject$)).subscribe(w=>{if(w){const F=w[`${this.pageConfig().cc}/${this.pageConfig().lc}`];F?(this.dotComCC=F.split("/")[0],this.dotComLC=F.split("/")[1]):(this.dotComCC=this.customCC,this.dotComLC=this.customLC)}}
1),this.getrelevanceDifferenceSSC(),this.getSearchBoxLimits()}getrelevanceDifferenceSSC(){return this.store.select(e.FM).pipe((0,W.$)(g=>!(0,o.A)(g))).subscribe(g=>{this.sscKeys=g,this.relevanceDifference=this.sscKeys&&this.sscKeys.KAAS_PRODUCT_RELEVANCE_DIFFERENCE?this.sscKeys.KAAS_PRODUCT_RELEVANCE_DIFFERENCE:10}),this.relevanceDifference}getSearchBoxLimits(){this.store.select(e.FM).pipe((0,W.$)(g=>!(0,o.A)(g))).subscribe(g=>{g?(this.searchBoxLimit=g.SEARCH_BOX_CHARACTER_LIMIT??1e3,this.typeaheadLimit=g.SEARCH_TYPE_AHEAD_LIMIT??50):(this.searchBoxLimit=1e3,this.typeaheadLimit=50)})}getKassUrl(g){this.store.select(e.FM).pipe((0,W.$)(u=>!(0,o.A)(u))).subscribe(u=>{this.kaashrefUrl="/typeahead";const p=u.KAAS_BIASVAL_VAL,l=u.FALCON_SEARCH_PRINTERSETUP_FILTER||"";if("en"===this.pageConfig().lc){if(u.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL){const b=this.customLC;let f=u.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL;f=f.replace("<text>",encodeURIComponent(g)),f=f.replace("<LANG>",b),f=f.replace("<BIASVAL>",p),f=f.replace("<PAGE_FILTER_1>",l),this.kaashrefUrl=this.kaashrefUrl+f}}else if("zh"!==this.pageConfig().lc||"hk"!==this.pageConfig().cc&&"tw"!==this.pageConfig().cc&&"cn"!==this.pageConfig().cc){if("zh"!==this.pageConfig().lc&&"en"!==this.pageConfig().lc&&u.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL){const b=this.customLC;let f=u.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL;f=f.replace("<text>",encodeURIComponent(g)),f=f.replace("<LANG>",b),f=f.replace("<BIASVAL>",p),f=f.replace("<PAGE_FILTER_1>",l),this.kaashrefUrl=this.kaashrefUrl+f}}else if(u.FALCON_KAAS_TYPEAHEAD_CHINESE_URL){const b=this.customLC+this.customCC;let f=u.FALCON_KAAS_TYPEAHEAD_CHINESE_URL;f=f.replace("<text>",encodeURIComponent(g)),f=f.replace("<LANG>",b),f=f.replace("<BIASVAL>",p),f=f.replace("<PAGE_FILTER_1>",l),this.kaashrefUrl=this.kaashrefUrl+f}})}cleanSearchQuery(g){const u=new RegExp(/(<([^>]+)>)[\w]+(<([^>]+)>)/g),p=new RegExp(/(<([^>]+)>)/g),l=new RegExp(/(&|"|#|'|\{|\(|\[|\||`|\\|^|@|\)|\]|\xb0|=|%|!|:|\/|;|,|\?|~|<|>|\xa7|\*)+/g);return(g=(g=g.replace(u,"").trim()).replace(p,"").trim()).replace(l," ").trim()}search(g){let u=new d.Lr;g=this.cleanSearchQuery(g),this.getKassUrl(g);const p=this.kaashrefUrl;return u=u.append("skipLoadingScreen","true"),""===g||g.length<2?(0,H.of)([]):this.http.get(p,{headers:u}).pipe((0,y.T)(l=>{if(l){const b=l.matches[0].matchScore,R=this.commonService.filterTypeaheadData(l.matches,b-b*this.relevanceDifference/100),w=[];return(0,r.A)(R,function(F){(0,r.A)(R,function(A){const P=A.shortestNavigationPath.split("|").join();A.productId!==F.productId&&(0,_.A)(P,F.productId)&&w.push(A.productId)})}),this.matchedResponse=(0,L.A)(R,F=>!(0,_.A)(w,F.productId)),(0,G.A)(this.matchedResponse,6)}}))}clearPlaceHolder(g){g.target.placeholder=""}restorePlaceHolder(g,u){g.target.placeholder=g.target.value?"":u}clearSearchInput(g){const u=g.target,p=u.parentElement;u.classList.add("hide"),p.querySelector("input").focus()}optionSelector(g,u){let p,l;g.item?(p=g?.item?.btoFlag?g?.item?.productname:g?.item?.name,l=g.item.productId):g&&(p=g?.btoFlag?g?.productname:g?.name,l=g.productId);const f=(()=>{let R;return R=u?"pm_number_value"===g.pmClass||"pm_name_value"===g.pmClass?g?.btoFlag&&g?.pmNumberOid?`/${this.customCC}-${this.customLC}/product/troubleshooting/${g.seoFriendlyName}/model/${g.pmNameOid}?sku=${g.productname}`:!g?.btoFlag&&g?.pmNumberOid?`/${this.customCC}-${this.customLC}/product/troubleshooting/${g.seoFriendlyName}/model/${g.pmNameOid}?sku=${g.name}`:`/${this.customCC}-${this.customLC}/product/troubleshooting/${g.seoFriendlyName}/model/${g.pmNameOid}`:`/${this.customCC}-${this.customLC}/product/troubleshooting/${g.seoFriendlyName}/${g.pmSeriesOid}`:"pm_number_value"===g.pmClass?`/hp-pps-services/hub/navigation?h_client=s-a-r11839-1&h_product=${l}&h_lang=${this.dotComLC}&h_cc=${this.dotComCC}&h_pagetype=s-001&sku=${p}`:`/${this.customCC}-${this.customLC}/search?q=${p}&product=${l}&predict=true`,R})();setTimeout(()=>{this.loadingScreenService.startLoading(),location.href=this.commonService.getSanitizedUrl(f)},500)}searchSubmit(g){let u;const p={};g=this.cleanSearchQuery(g),p.searchQuery=g,this.hasSerialNumberPattern(g)?this.findProductUrl(g):(typeof sessionStorage<"u"&&delete sessionStorage.historicalProductData,u=this.redirectToSearchResult(p),window?.location?.assign(u))}hasSerialNumberPattern(g){let u=g.split(/\s+/);return u=u.filter(p=>this.commonService.isSerialNumberPattern(p,this.sscKeys)),!!u?.[0]}getSerialNumberFromQuery(g){if(this.commonService.isSerialNumberPattern(g,this.sscKeys))return g;{let u=g.split(/\s+/);return u=u.filter(p=>this.commonService.isSerialNumberPattern(p,this.sscKeys)),u[0]||""}}isProductNumberPattern(g){return new RegExp("^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9#/-]{2,20}$").test(g)}hasProductNumberPattern(g){return new RegExp(/(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9#/-]{2,20}/g).test(g)}findProductUrl(g,u,p){this.serialPatternNoRedirectSub.next(!1),this.searchResultsService.getSearchResult(this.getSerialNumberFromQuery(g),"pdp",u).pipe((0,W.$)(l=>!(0,o.A)(l))).subscribe(l=>{if(l){const b=l?.data?.verifyResponse;if(200===b?.code&&b?.data?.targetUrl){let R;if(b?.data?.historicalWebSupportFlag){const w=b?.data;typeof sessionStorage<"u"&&sessionStorage?.setItem("historicalProductData",JSON.stringify(w)),R="/"+this.customCC+"-"+this.customLC+"/search/no-results?q="+g}else typeof sessionStorage<"u"&&delete sessionStorage.historicalProductData,R=`/${this.customCC}-${this.customLC}${b?.data?.targetUrl}`;this.loadingScreenService.startLoading(!0),window?.location?.assign(R)}else 406===b?.code?(this.loadingScreenService.startLoading(!0),window?.location?.assign("/"+this.customCC+"-"+this.customLC+"/search/productnumber?q="+g)):this.gotoSearch(g,p)}},l=>{this.loadingScreenService.startLoading(!0),window?.location?.assign("/"+this.customCC+"-"+this.customLC+"/search/no-results?q="+g)})}redirectToSearchResult(g,u=null,p=null,l=null,b=null,f=null,R=null){let w=g.searchQuery;l=g.productVal?g.productVal:l;let F=g.pName?g.pName:"",A="/"+this.customCC+"-"+this.customLC+"/search";return F=encodeURIComponent(F),null!==u&&typeof u<"u"&&""!==u&&(w=w+"+"+u.trim()),w=this.cleanSearchQuery(w),w=encodeURIComponent(w),""!==w&&(A=A+"?q="+w),null!==l&&typeof l<"u"&&""!==l&&(A=A+"&product="+encodeURIComponent(l),A+="&predict=true"),null!==F&&typeof F<"u"&&""!==F&&(A=A+"&pname="+encodeURIComponent(F)),null!==b&&typeof b<"u"&&""!==b&&(A=A+"&selectedProduct="+encodeURIComponent(b)),null!==p&&typeof p<"u"&&""!==p&&(A=A+"&os="+encodeURIComponent(p)),null!==f&&typeof f<"u"&&""!==f&&(A=A+"&class="+encodeURIComponent(f)),null!==R&&typeof R<"u"&&""!==R&&R&&(A+="&overlay=true"),A}gotoSearch(g,u){u&&"search"===u?(this.serialPatternNoRedirectSub.next(!0),this.loadingScreenService.stopLoading()):(this.loadingScreenService.startLoading(!0),window?.location?.assign("/"+this.customCC+"-"+this.customLC+"/search?q="+g))}getParameterByName(g){return decodeURIComponent((new RegExp("[?|&]"+g+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null}inputKeyDown(g,u,p){const l=this.elem.nativeElement.querySelectorAll(".dropdown-item");if(g.target.value.length>=1)if("Enter"===g.key&&p)this.searchSubmit(u);
1else if(!(40!==g.which&&38!==g.which||40!==g.which&&38!==g.which&&40!==g.which&&38!==g.which)){g.stopPropagation(),g.preventDefault();for(let b=0;b<l.length;b++)l[b].classList&&l[b].classList.contains("active")&&(g.target.value=l[b].innerText,this.selectedTypeAheadValue=l[b].innerText,this.selectedTypeAheadObj={name:l[b].innerText,productId:l[b].nextSibling.firstElementChild.id})}}getCommonLocalFromSSC(){this.store.select(e.FM).pipe((0,W.$)(g=>!(0,o.A)(g))).subscribe(g=>{const u=this.pageConfig();if(g&&g.COMMON_FALLBACK_COUNTRY_CODE&&g.COMMON_FALLBACK_COUNTRY_CODE){const p=this.commonService.getCustomLocale(this.commonService.safeParseJSON(g.COMMON_FALLBACK_COUNTRY_CODE),u);this.customCC=p.cc,this.customLC=p.lc}else this.customCC=u.cc,this.customLC=u.lc})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(u){return new(u||C)(J.KVO(ce.b),J.KVO(ae.h),J.KVO(de.aKT),J.KVO(oe.k),J.KVO(z.s),J.KVO(B.Q),J.KVO(q.il))}}static{this.\u0275prov=J.jDH({token:C,factory:C.\u0275fac})}}return C})()},91126(fe,re,i){i.d(re,{v:()=>ta});var x=i(86763),d=i(37580),h=i(85240),H=i(59452),W=i(93551),y=i(78767),m=i(2435),c=i(27223),L=i(54041),r=i(75257),_=i(84205),o=i(33900),G=i(93683),e=i(12481),J=i(19885),de=i(20572),ce=i(50565),ae=i(8130);function oe(a,N){1&a&&e.nrm(0,"img",2)}function z(a,N){if(1&a&&(e.j41(0,"p",9),e.EFF(1),e.j41(2,"span",13),e.EFF(3),e.k0s(),e.EFF(4,"? "),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_2"]," "),e.R7$(2),e.JRh(t.deviceName())}}function B(a,N){if(1&a&&(e.j41(0,"p",9),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_3"]," ")}}function q(a,N){if(1&a&&(e.j41(0,"p",9),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_4"]," ")}}
1function S(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.viewDevice())}),e.EFF(1),e.k0s()}if(2&a){const t=e.XpG();e.R7$(),e.SpI("",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_View_Btn"]," ")}}function I(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.viewDevice())}),e.EFF(1),e.k0s()}if(2&a){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_No_Continue_Text"])}}let C=(()=>{class a{constructor(t,s,n,O){this.pageService=t,this.activeModal=s,this.deviceDetectService=n,this.appSelectorStore=O,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.isMobile=(0,h.vPA)(!1),this.destroySubject$=new _.B,this.deviceName=(0,h.vPA)(null),this.allTranslations=(0,h.vPA)({})}ngOnInit(){this.isMobile.set(this.deviceDetectService.isMobile()),this.appSelectorStore.getAllTranslations$().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>this.allTranslations.set(t))}viewDevice(){this.activeModal.close("view device")}closeModal(){this.activeModal.close()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(de.Lw),e.rXU(ce.Kg),e.rXU(ae.q))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-device-exists-modal"]],decls:20,vars:10,consts:[["aria-labelledby","modal-heading","aria-modal","true","role","dialog",1,"device-exists-modal",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-transparent-bg.svg",1,"hp-logo-modal"],[1,"header-content"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close","id","Modal_device_exists_btn",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],[1,"modal-body"],[1,"msg"],[1,"sub-msg"],[1,"btns"],[1,"primary-button","view-btn"],[1,"secondary-btn","add-device-btn",3,"click"],[1,"device-name"],[1,"primary-button","view-btn",3,"click"]],template:function(s,n){1&s&&(e.j41(0,"div",0)(1,"div",1),e.nVh(2,oe,1,0,"img",2),e.j41(3,"div",3)(4,"h3",4),e.EFF(5),e.k0s()(),e.j41(6,"button",5),e.bIt("click",function(){return n.closeModal()}),e.j41(7,"span",6),e.EFF(8,"\xd7"),e.k0s()()(),e.j41(9,"div",7)(10,"p",8),e.EFF(11),e.k0s(),e.nVh(12,z,5,2,"p",9),e.nVh(13,B,2,1,"p",9),e.nVh(14,q,2,1,"p",9),e.j41(15,"div",10),e.nVh(16,S,2,1,"button",11),e.nVh(17,I,2,1,"button",11),e.j41(18,"button",12),e.bIt("click",function(){return n.closeModal()}),e.EFF(19),e.k0s()()()()),2&s&&(e.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(2),e.vxM(n.isMobile()?-1:2),e.R7$(3),e.JRh(n.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Heading"]),e.R7$(6),e.SpI(" ",n.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_1"]," "),e.R7$(),e.vxM("addDevice"===n.pageConfig().pageName?12:-1),e.R7$(),e.vxM("addDevice"===n.pageConfig().pageName?13:-1),e.R7$(),e.vxM("addDevice"!==n.pageConfig().pageName?14:-1),e.R7$(2),e.vxM("addDevice"===n.pageConfig().pageName?16:-1),e.R7$(),e.vxM("addDevice"!==n.pageConfig().pageName?17:-1),e.R7$(2),e.JRh(n.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Add_Diff_Device_Btn"]))},dependencies:[G.YU],styles:[".btns[_ngcontent-%COMP%]{padding-top:60px;display:flex;align-items:flex-end;justify-content:flex-end}.btns[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-height:40px}.device-exists-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .header-content[_ngcontent-%COMP%]{margin-top:10px;font-weight:700}.device-exists-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .header-content[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-family:HPSimplified}.device-exists-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:20px!important}.device-exists-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{font-size:40px;font-family:HPControlIcons;position:relative;left:0}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{margin:40px}
1.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .msg[_ngcontent-%COMP%]{font-size:18px;color:#000}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .sub-msg[_ngcontent-%COMP%]{font-size:16px;color:#000}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .sub-msg[_ngcontent-%COMP%]   .device-name[_ngcontent-%COMP%]{font-family:HPSimplified}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .view-btn[_ngcontent-%COMP%]{margin-right:20px}@media only screen and (max-width:800px){.device-exists-modal[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-left:0!important}.device-exists-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:30px;top:5px}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{margin:auto}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .msg[_ngcontent-%COMP%]{font-size:16px}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .add-device-btn[_ngcontent-%COMP%]{margin-top:22px}.device-exists-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .view-btn[_ngcontent-%COMP%]{margin-right:0}}.rtl[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-right:80px}.rtl[_ngcontent-%COMP%]   .add-device-btn[_ngcontent-%COMP%]{margin-right:20px}@media only screen and (max-width:800px){.rtl[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%], .rtl[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .add-device-btn[_ngcontent-%COMP%], .rtl[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .view-btn[_ngcontent-%COMP%]{margin-right:0}}"]})}}return a})();var T=i(51903),g=i(70739),u=i(18329),p=i(91462),l=i(34456),b=i(4804),f=i(91018),R=i(60480),w=i(24938),F=i(72926),A=i(8679),P=i(84527),E=i(71839),k=i(38180),ne=i(72990),Z=i(72608),Y=i(11439);const se=["content"],U=["serialFieldInputRef"],pe=["productFieldInputRef"],te=a=>({"border-color":a}),ge=a=>({showInline:a}),me=a=>({border:a});function Pe(a,N){if(1&a&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.Y8G("ngClass",t.serialNumberModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_PlaceHolder_Text1"])}}function be(a,N){if(1&a){const t=e.RV6();e.j41(0,"a",23),e.bIt("click",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.clearSearchField("SN"))}),e.k0s()}}function we(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.addDevice())})("keydown.enter",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.addDevice())}),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.nrm(3,"img",26),e.k0s()}if(2&a){let t;const s=e.XpG();e.Y8G("disabled",!s.serialNumberModel()||(null==(t=s.serialNumberModel())?null:t.length)<s.SNMinLength()),e.R7$(2),e.JRh(s.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function ye(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",27),e.bIt("click",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.addDevice())})("keydown.enter",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.addDevice())}),e.j41(1,"span",28),e.EFF(2),e.k0s()()}if(2&a){const t=e.XpG();e.Y8G("title",e.mNQ(t.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]))("ngClass",t.isMobile()?"btn-arrow":" ")("disabled",t.buttonDisabled()),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function Fe(a,N){1&a&&e.nrm(0,"img",29)}function Ee(a,N){if(1&a&&(e.j41(0,"div",17),e.nVh(1,Fe,1,0,"img",29),e.j41(2,"div")(3,"p",30),e.EFF(4),e.k0s(),e.j41(5,"p",30),e.EFF(6),e.k0s()()()),2&a){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.Y8G("ngClass",e.eq3(5,ge,t.isLightTheme())),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]),e.R7$(),e.Y8G("ngClass",e.eq3(7,ge,t.isLightTheme())),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function De(a,N){1&a&&e.nrm(0,"img",29)}
1function He(a,N){if(1&a&&(e.j41(0,"div",18),e.nVh(1,De,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s()()),2&a){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Xe(a,N){1&a&&e.nrm(0,"img",29)}function ze(a,N){if(1&a&&(e.j41(0,"div",19),e.nVh(1,Xe,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s()()),2&a){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Ke(a,N){1&a&&e.nrm(0,"img",29)}function Ye(a,N){if(1&a&&(e.j41(0,"div",20),e.nVh(1,Ke,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s(),e.j41(4,"a",31)(5,"span",7),e.EFF(6),e.k0s()()()),2&a){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Device_Already_Claimed_Link_Text"]),e.R7$(),e.Y8G("title",e.mNQ(t.allTranslations()["#pps_WCC_FS_Device_Already_Claimed_Link"])),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Device_Already_Claimed_Link"])}}function Qe(a,N){if(1&a&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.Y8G("ngClass",t.productNumberModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"])}}function Je(a,N){if(1&a){const t=e.RV6();e.j41(0,"a",23),e.bIt("click",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.clearSearchField("PN"))}),e.k0s()}}function Ze(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.addDevice())})("keydown.enter",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.addDevice())}),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.nrm(3,"img",26),e.k0s()}if(2&a){let t;const s=e.XpG(2);e.Y8G("disabled",!s.productNumberModel()||(null==(t=s.productNumberModel())?null:t.length)<s.PNMinLength()),e.R7$(2),e.JRh(s.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function We(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.addDevice())})("keydown.enter",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.addDevice())}),e.j41(1,"span",28),e.EFF(2),e.k0s()()}if(2&a){const t=e.XpG(2);e.Y8G("ngClass",t.isMobile()||t.isTablet()?"btn-arrow":" ")("disabled",t.buttonDisabled()),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function qe(a,N){if(1&a){const t=e.RV6();e.j41(0,"div",21)(1,"div",32)(2,"p",6)(3,"span",7),e.EFF(4),e.k0s()(),e.j41(5,"div",8)(6,"label",33),e.EFF(7),e.k0s(),e.j41(8,"input",34,2),e.mxI("ngModelChange",function(n){h.eBV(t);const O=e.XpG();return e.DH7(O.productNumberModel,n)||(O.productNumberModel=n),h.Njj(n)}),e.bIt("ngModelChange",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.onChangeInput(n,"PN"))})("keyup.enter",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.addDevice())}),e.k0s(),e.nVh(10,Qe,2,2,"span",11),e.nVh(11,Je,1,0,"a",12),e.nVh(12,Ze,4,2,"button",13),e.k0s()(),e.j41(13,"div",14),e.nVh(14,We,3,3,"button",35),e.k0s()()}if(2&a){const t=e.XpG();e.Y8G("ngClass","rtl"===t.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(4),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text"]),e.R7$(3),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_label2"]),e.R7$(),e.Y8G("ngStyle",e.eq3(10,me,"invalidPN"===t.errorMsg()?"1px solid #bf2026":"")),e.R50("ngModel",t.productNumberModel),e.Y8G("placeholder",t.isLightTheme()?"":t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"]),e.R7$(2),e.vxM(t.isLightTheme()?10:-1),e.R7$(),e.vxM(t.productNumberModel()?11:-1),e.R7$(),e.vxM(t.isLightTheme()?12:-1),e.R7$(2),e.vxM("mulitpleRecords"===t.errorMsg()||"invalidPN"===t.errorMsg()?14:-1)}}function et(a,N){1&a&&e.nrm(0,"img",29)}function $e(a,N){if(1&a&&(e.j41(0,"div",22),e.nVh(1,et,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s()()),2&a){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Name_Error_Text"])}}function le(a,N){if(1&a){const t=e.RV6();e.j41(0,"app-error-modal",37),e.bIt("closeModal",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.closeErrorModal())}),e.k0s()}if(2&a){const t=e.XpG();e.Y8G("specificMessage",t.allTranslations()["#pps_WCC_FS_Add_Device_Error_Modal_Text"]||"Something went wrong and the selected device cannot be added to the dashboard. Please try again later.")}}var ee=function(a){return a.SERIAL="SN",a.PRODUCT="PN",a}(ee||{}),D=function(a){return a.INVALID_SN_INPUT="invalidSN",a.MULTIPLE_RECORDS="mulitpleRecords",a.INVALID_PN_INPUT="invalidPN",a.INVALID_SN_PN_INPUT="invalidSNPN",a.DEVICE_ALREADY_CLAIMED="deviceClaimed",a}(D||{});let M=(()=>
1{class a{constructor(t,s,n,O,Q,ie,_e,Ne,Ie,ve,Ge,st,yt,wt,Et,na,oa){this.pageService=t,this.deviceService=s,this.globalDataService=n,this.modalService=O,this.http=Q,this.commonService=ie,this.router=_e,this.authService=Ne,this.commonDevicesService=Ie,this.pfinderService=ve,this.route=Ge,this.contactService=st,this.swdLandingService=yt,this.appSelectorStore=wt,this.browserWrapperService=Et,this.searchResultsService=na,this.store=oa,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.SNMinLength=(0,h.vPA)(5),this.PNMinLength=(0,h.vPA)(2),this.SNMaxLength=10,this.PNMaxLength=2,this.allTranslations=(0,d.geq)({}),this.screenReader=(0,d.hFB)(null),this.clcModalRef=(0,d.ebz)("content"),this.serialFieldInputRef=(0,d.ebz)("serialFieldInputRef"),this.productFieldInputRef=(0,d.ebz)("productFieldInputRef"),this.isMobile=(0,h.vPA)(this.deviceService.isMobile()),this.isTablet=(0,h.vPA)(this.deviceService.isTablet()),this.buttonDisabled=(0,h.vPA)(!0),this.serialNumberModel=(0,h.vPA)(""),this.productNumberModel=(0,h.vPA)(""),this.errorMsg=(0,h.vPA)(""),this.resetOnTooltipClick=(0,h.vPA)(!1),this.destroySubject$=new _.B,this.destroyTBSubject$=new _.B,this.subscriptionServices=(0,h.vPA)(null),this.allProducts=(0,h.vPA)([]),this.Dashboard=(0,h.vPA)({}),this.contactRedirect=(0,d.hFB)(!1),this.swdRedirect=(0,d.hFB)(!1),this.isLightTheme=(0,d.hFB)(!1),this.productFinderConfig=(0,d.hFB)({}),this.sscKeys=(0,h.vPA)(null)}ngOnInit(){this.clearQueryOnTooltipSel();const t=this.browserWrapperService.getLocalStorageItem("printerSetupDeviceData");this.pageConfig()?.queryParams?.redirectPDP&&this.pageConfig()?.queryParams?.serialnumber?(this.serialNumberModel.set(this.pageConfig()?.queryParams?.serialnumber),this.onChangeInput(this.serialNumberModel(),"SN")):t?.serialNumber&&(this.serialNumberModel.set(t?.serialNumber),this.onChangeInput(this.serialNumberModel(),"SN")),this.get
1SSCKeys()}getSSCKeys(){this.store.select(L.FM).pipe((0,m.$)(t=>!(0,W.A)(t))).subscribe(t=>{this.sscKeys.set(t)})}onChangeInput(t,s){const n=t.length;switch(s){case ee.SERIAL:let Q;"YES"==this.sscKeys()?.ENABLE_POLY_SEARCH_EXP.toUpperCase()&&(Q=this.sscKeys()?.PFINDER_SN_MIN_CHAR_LENGTH??this.SNMinLength()),this.buttonDisabled.set(n<Q);break;case ee.PRODUCT:let ie=this.sscKeys()?.PFINDER_PN_MIN_CHAR_LENGTH??this.PNMinLength();this.buttonDisabled.set(n<ie);break;default:this.buttonDisabled.set(!0)}}addDevice(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.resetOnTooltipClick.set(!1),this.isValid()&&this.searchResultsService.checkSnPnConflict(this.serialNumberModel().trim(),"pdp",this.productNumberModel()?this.productNumberModel().trim():null,!0).then(t=>{(0,W.A)(t)||(200===t?.data?.verifyResponse?.code&&t?.data?.verifyResponse?.data?this.registerDevice(t?.data?.verifyResponse?.data):this.registerDevice())},()=>{})}isValid(){let t=/^[\s]*[a-zA-Z0-9#/-]{2,20}[\s]*$/;if(this.serialNumberModel()&&this.commonService.isSerialNumberPattern(this.serialNumberModel(),this.sscKeys())){if(this.productNumberModel()&&t.test(this.productNumberModel()))return!0;if(!this.productNumberModel())return!0;this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("PN")}else this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("SN");return!1}displayInvalidInputError(t){this.errorMsg.set("SN"===t?D.INVALID_SN_INPUT:"PN"===t?D.INVALID_PN_INPUT:"SNPN"===t?D.INVALID_SN_PN_INPUT:D.DEVICE_ALREADY_CLAIMED),this.buttonDisabled.set(!0)}doNothing(){}showErrorModal(){this.modalService.open(this.clcModalRef(),{windowClass:"error-modal-container",size:"lg"})}closeErrorModal(){this.modalService.dismissAll()}clearSearchField(t){this.buttonDisabled.set(!0),setTimeout(()=>{"SN"===t?(this.serialFieldInputRef()?.nativeElement.focus(),this.serialNumberModel.set("")):"PN"===t&&(this.productFieldInputRef()?.nativeElement.focus(),this.productNumberModel.set(""))},0)}registerDevice(t){const s=t?.altProductNumber||t?.productNumber||(this.productNumberModel()?this.productNumberModel().trim():""),n=t?.productNumber||t?.altProductNumber||(this.productNumberModel()?this.productNumberModel().trim():"");let O={cc:this.pageConfig().cc,lc:this.pageConfig().lc,serialNumber:t?.serialNumber||this.serialNumberModel().trim(),productNumber:s,displayProductNumber:n,nickName:""};this.http.post(g.tl.REGISTER,O).pipe((0,o.Q)(this.destroySubject$)).subscribe(Q=>{let ie=!1;switch(this.errorMsg.set(""),this.productNumberModel.set(""),Q.code){case g.t7.OK:this.pageConfig()?.queryParams?.redirectPDP?this.redirectToPDP(Q.data):this.swdRedirect()?this.redirectToSwd(Q?.data):this.contactRedirect()?this.redirectContact(Q.data):this.redirectToDashboard(),sessionStorage.removeItem("pdpRedirect");break;case g.t7.NOT_ACCEPTABLE:Q.message===g.Vj.MULTIPLE_DEVICES?(this.errorMsg.set(D.MULTIPLE_RECORDS),this.buttonDisabled.set(!0)):Q.message===g.Vj.INVALID_INPUT?(ie=!0,this.displayInvalidInputError("SN")):Q.message===g.Vj.DEVICE_ALREADY_REGISTERED?"contact"===this.pageConfig().pageName?this.redirectContact(Q.data):this.showDeviceExistsModal(Q.data):Q.message===g.Vj.DEVICE_ALREADY_CLAIMED?"contact"===this.pageConfig().pageName?this.redirectContact(Q.data):(this.displayInvalidInputError("deviceClaimed"),ie=!0):Q.message===g.Vj.PN_NOT_VALID&&this.displayInvalidInputError("PN");break;case g.t7.NO_CONTENT:Q.message===g.Vj.NO_DEVICE_FOUND?this.displayInvalidInputError("SN"):Q.message===g.Vj.PN_NOT_MATCHING?this.displayInvalidInputError("PN"):Q.message===g.Vj.NO_SN_PN_FOUND&&this.displayInvalidInputError("SNPN"),ie=!0;break;case g.t7.INTERNAL_SERVER_ERROR:case g.t7.INVALID_SESSION:this.showErrorModal()}this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:ie})},Q=>{this.showErrorModal()})}showDeviceExistsModal(t){const s=this.modalService.open(C,{windowClass:"customModalClass",size:"lg"});s.componentInstance.deviceName.set(t.deviceDetails.productName),s.result.then(n=>{"view device"===n&&(this.pageConfig()?.queryParams?.redirectPDP?this.redirectToPDP(t):this.swdRedirect()?this.redirectToSwd(t):this.contactRedirect()?this.redirectContact(t):this.redirectToDeviceView(t))})}redirectToSwd(t){t?.deviceDetails&&(t.deviceDetails.seoFriendlyName=t.deviceDetails.SEOFriendlyName,this.swdLandingService.gotoSwdDriversPage(t.deviceDetails,t.deviceId))}redirectToDashboard(){let t=`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard`;this.router.navigate([t])}redirectContact(t){t?.deviceDetails&&(t.deviceDetails.seoFriendlyName=t.deviceDetails.SEOFriendlyName,this.contactService.gotoContactOptions(t.deviceDetails,t.deviceId))}redirectToPDP(t){let s=this.pageConfig()?.queryParams?.pdpSource||"details",n=`${this.pageConfig().cc}-${this.pageConfig().lc}/product/${s}/${t.deviceDetails.SEOFriendlyName}/model/${t.deviceDetails.productNameOID}`;this.router.navigate([n],{queryParams:{sku:t?.deviceDetails?.altProductNumber||t?.deviceDetails?.productNumber,serialnumber:t.deviceDetails.serialNumber}})}getSubscriptionData(t,s){let n=t.filter(O=>O.serialNumber===s.deviceDetails.serialNumber);this.subscriptionServices.set(n.length?n[0].subscriptionServices:""),this.setContextualParameters(n[0])}redirectToDeviceView(t){let s=this.globalDataService.getWindowGlobalData();s.hasOwnProperty("Dashboard")&&s.Dashboard.Products.length?(this.allProducts.set(s.Dashboard.Products),this.get
1SubscriptionData(this.allProducts(),t)):this.commonDevicesService.getAllDevices().subscribe(n=>{n&&n.data?(this.allProducts.set(n.data.deviceList),this.updateGDL(this.allProducts()),this.getSubscriptionData(this.allProducts(),t)):this.showErrorModal()},n=>{this.showErrorModal()})}updateGDL(t){let s;this.authService.userDataSub.pipe((0,o.Q)(this.destroySubject$)).subscribe(n=>{n&&!(0,W.A)(n)&&(s=n,!0===s.smartFriend&&(this.Dashboard().SubscriptionServices="SmartFriend"),this.Dashboard.set(this.commonDevicesService.populateGDLForDashboard(t)),this.globalDataService.updateGDL({Dashboard:this.Dashboard(),customerState:this.pageConfig().customerState,SmartFriend:s.smartFriend}),this.globalDataService.updateGDL({Flag:{dashboardVisited:!0},customerState:this.pageConfig().customerState,SmartFriend:s.smartFriend},!0))})}navigateToDeviceView(){this.route.queryParams.pipe((0,T.H)(t=>(this.appSelectorStore.fetchTranslations("dashboard"),this.appSelectorStore.getAllTranslations$()))).pipe((0,o.Q)(this.destroyTBSubject$)).subscribe(t=>{this.allTranslations.set({...this.allTranslations(),...t}),this.router.navigate([`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard/device`])})}setContextualParameters(t){t.contexualURLParameters={userType:this.pageConfig().customerState,deviceSubscription:this.subscriptionServices(),oid:t.productNameOID,sku:t?.altProductNumber||t.productNumber},t.deviceCount=this.allProducts()?this.allProducts().length:0,t.productType=t?.productType||"",t.seriesOid=t?.productSeriesOID||"",t.modelOid=t?.productNameOID||"",this.commonService.componentDataToPass=t,this.navigateToDeviceView()}clearQueryOnTooltipSel(){this.pfinderService.clearQuerySearchField().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>{t&&(this.productNumberModel.set(""),this.serialNumberModel.set(""),this.errorMsg.set(""),this.buttonDisabled.set(!0),this.resetOnTooltipClick.set(!0))})}ngOnDestroy(){this.destroySubject$.next(),this.destroyTBSubject$.next(),this.errorMsg.set(""),this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!1}),this.modalService.dismissAll()}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(ce.Kg),e.rXU(b.a),e.rXU(de.Bq),e.rXU(f.k),e.rXU(R.h),e.rXU(w.Ix),e.rXU(F.u),e.rXU(A.N),e.rXU(P.h),e.rXU(w.nX),e.rXU(E.u),e.rXU(k.j),e.rXU(ae.q),e.rXU(ne.z),e.rXU(Z.Q),e.rXU(Y.il))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-device-add-box"]],viewQuery:function(s,n){1&s&&(e.wEZ(n.clcModalRef,se,5),e.wEZ(n.serialFieldInputRef,U,5),e.wEZ(n.productFieldInputRef,pe,5)),2&s&&e.NyB(3)},inputs:{allTranslations:[1,"allTranslations"],screenReader:[1,"screenReader"],contactRedirect:[1,"contactRedirect"],swdRedirect:[1,"swdRedirect"],isLightTheme:[1,"isLightTheme"],productFinderConfig:[1,"productFinderConfig"]},outputs:{allTranslations:"allTranslationsChange"},decls:26,vars:18,consts:[["serialFieldInputRef",""],["content",""],["productFieldInputRef",""],[1,"device-add-container"],[1,"master-pfinder","master-pfinder-add-device",3,"ngClass"],[1,"search-box"],[1,"search-label"],["aria-hidden","true"],[1,"search-input"],["id","field-help",1,"sr-only"],["type","text","selectInputText","","aria-labelledby","field-help","aria-describedby","serial-number-error ","aria-describedby","multiple-serial-number-error",1,"form-control","add-device-input",3,"ngModelChange","keyup.enter","ngModel","placeholder","ngStyle"],[1,"floating-label",3,"ngClass"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon"],["id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"disabled"],["id","submitBtn",1,"submitBtnMobile","button-box"],["id","FindMyProduct","type","button",1,"search-submit","primary-button","mob-overlapped",3,"title","ngClass","disabled"],[1,"error-msg"],["aria-live","assertive","role","alert","id","multiple-serial-number-error",1,"error-need-pn"],["aria-live","assertive","role","alert","id","serial-number-error",1,"error-invalid-sn"],["aria-live","assertive","role","alert","id","serial-product-number-error",1,"error-invalid-sn"],["aria-live","assertive","role","alert","id","device-already-claimed-error",1,"error-invalid-sn"],[1,"master-pfinder","product-finder",3,"ngClass"],["aria-live","assertive","role","alert","id","product-number-error",1,"error-invalid-pn"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click"],["id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"click","keydown.enter","disabled"],[1,"sr-only"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/search-icon.svg","alt","search image","aria-hidden","true"],["id","FindMyProduct","type","button",1,"search-submit","primary-button","mob-overlapped",3,"click","keydown.enter","title","ngClass","disabled"],[1,"hidden-mobile-only"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/input-error.png","alt","Error Icon","width","20px","height","20px",1,"input-error-icon"],[3,"ngClass"],["href","https://www.hp.com/us-en/all-in-plan/printers.html","target","_blank",3,"title"],[1,"search-box","product-number-search"],["id","product-field-help",1,"sr-only"],["type","text","selectInputText","","aria-describedby","product-number-error","aria-labelledby","product-field-help","maxlength","20",1,"form-control","add-device-input",3,"ngModelChange","keyup.enter","ngStyle","ngModel","placeholder"],["id","FindMyProduct","type","button",1,"search-submit","secondary-btn","mob-overlapped",3,"ngClass","disabled"],["id","FindMyProduct","type","button",1,"search-submit","secondary-btn","mob-overlapped",3,"click","keydown.enter","ngClass","disabled"],[3,"closeModal","specificMessage"]],template:function(s,n){if(1&s){const O=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"div",5)(3,"p",6)(4,"span",7),e.EFF(5),e.k0s()(),e.j41(6,"div",8)(7,"label",9),e.EFF(8),e.k0s(),e.j41(9,"input",10,0),e.mxI("ngModelChange",function(ie){return h.eBV(O),e.D
1H7(n.serialNumberModel,ie)||(n.serialNumberModel=ie),h.Njj(ie)}),e.bIt("ngModelChange",function(ie){return h.eBV(O),h.Njj(n.onChangeInput(ie,"SN"))})("keyup.enter",function(){return h.eBV(O),h.Njj(n.addDevice())}),e.k0s(),e.nVh(11,Pe,2,2,"span",11),e.nVh(12,be,1,0,"a",12),e.nVh(13,we,4,2,"button",13),e.k0s()(),e.j41(14,"div",14),e.nVh(15,ye,3,5,"button",15),e.k0s()(),e.j41(16,"div",16),e.nVh(17,Ee,7,9,"div",17),e.nVh(18,He,4,2,"div",18),e.nVh(19,ze,4,2,"div",19),e.nVh(20,Ye,7,5,"div",20),e.k0s(),e.nVh(21,qe,15,12,"div",21),e.j41(22,"div",16),e.nVh(23,$e,4,2,"div",22),e.k0s()(),e.DNE(24,le,1,1,"ng-template",null,1,e.C5r)}2&s&&(e.R7$(),e.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(4),e.JRh(n.screenReader()),e.R7$(3),e.JRh(n.screenReader()),e.R7$(),e.R50("ngModel",n.serialNumberModel),e.Y8G("placeholder",n.isLightTheme()?"":n.allTranslations()["#pps_WCC_FS_Product_finder_PlaceHolder_Text1"])("ngStyle",e.eq3(16,te,"invalidSN"!==n.errorMsg()&&"mulitpleRecords"!==n.errorMsg()&&"invalidSNPN"!==n.errorMsg()&&"deviceClaimed"!==n.errorMsg()||n.resetOnTooltipClick()?"":"#bf2026")),e.R7$(2),e.vxM(n.isLightTheme()?11:-1),e.R7$(),e.vxM(n.serialNumberModel()&&"mulitpleRecords"!==n.errorMsg()&&"invalidPN"!==n.errorMsg()?12:-1),e.R7$(),e.vxM(n.isLightTheme()?13:-1),e.R7$(2),e.vxM("mulitpleRecords"!==n.errorMsg()&&"invalidPN"!==n.errorMsg()?15:-1),e.R7$(2),e.vxM(n.resetOnTooltipClick()||"mulitpleRecords"!==n.errorMsg()?-1:17),e.R7$(),e.vxM(n.resetOnTooltipClick()||"invalidSN"!==n.errorMsg()?-1:18),e.R7$(),e.vxM(n.resetOnTooltipClick()||"invalidSNPN"!==n.errorMsg()?-1:19),e.R7$(),e.vxM(n.resetOnTooltipClick()||"deviceClaimed"!==n.errorMsg()?-1:20),e.R7$(),e.vxM("mulitpleRecords"!==n.errorMsg()&&"invalidPN"!==n.errorMsg()||n.resetOnTooltipClick()?-1:21),e.R7$(2),e.vxM(n.resetOnTooltipClick()||"invalidPN"!==n.errorMsg()?-1:23))},dependencies:[G.YU,l.YN,l.me,l.BC,l.tU,l.vS,p.R,G.B3,u.L],styles:[".pfinder-error-box[_ngcontent-%COMP%]{max-width:386px;width:68%}.pfinder-error-box[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{color:#bf2026;font-size:14px;font-family:HPSimplifiedRegular}h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;padding-bottom:5px}.master-pfinder[_ngcontent-%COMP%]{display:flex;flex:1}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]   p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   label.field-help[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;font-weight:400!important}.master-pfinder[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{margin-bottom:0;color:#bf2026}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{width:68%;max-width:403px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:386px;width:91%;position:relative}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-productnumber[_ngcontent-%COMP%]{width:100%;height:40px;font-size:16px;padding:0 36px 0 15px;display:inline}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#searchQueryField[_ngcontent-%COMP%]:invalid, .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#productNumberField[_ngcontent-%COMP%]:invalid{border:1px solid #767676}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#productNumberField[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:19px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{align-self:flex-end}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{background-color:#ccc}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:96%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{align-self:flex-end;margin-left:13px}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:406px;width:96%}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:13px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%]{padding:0 15px 0 30px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{left:15px;right:unset}@media only screen and (max-width:800px){h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.44;color:#000;margin-top:19px;margin-bottom:16px}p.pfinder-search-label[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.pfinder-error-box[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]{margin-bottom:17px}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   label.field-help[_ngcontent-%COMP%]{font-size:16px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%;max-width:100%}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.form-control[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{height:33px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-bottom:0;word-break:break-all;padding:5px 13px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;width:38px;background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:30px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span.lg-only[_ngcontent-%COMP%]{display:none}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{margin-left:0}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:0}}.product-finder[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{color:#fff}.add-device-box[_ngcontent-%COMP%]{display:flex}.add-device-box[_ngcontent-%COMP%]   .add-device-input[_ngcontent-%COMP%]{width:68%;max-width:403px}.add-device-box[_ngcontent-%COMP%]   .add-device-input[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:7px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]{right:5px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]:hover, .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]:focus{text-decoration:none}.master-pfinder.product-finder[_ngcontent-%COMP%]{margin-top:20px}.error-msg[_ngcontent-%COMP%]   .error-invalid-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-need-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-invalid-sn[_ngcontent-%COMP%]{padding-top:7px;width:65%}.error-msg[_ngcontent-%COMP%]   .error-invalid-pn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-need-pn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-invalid-sn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;color:#bf2026;line-height:20px;letter-spacing:.21px;margin-bottom:4px;font-size:14px;max-width:387px}@media only screen and (max-width:800px){.error-msg[_ngcontent-%COMP%]   .error-invalid-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-need-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-invalid-sn[_ngcontent-%COMP%]{width:auto}.device-add-container[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]{margin-top:10px!important;margin-bottom:0}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{max-width:403px!important}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:0}}.rtl.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%]{padding-right:10px;padding-left:35px}.rtl.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;right:auto}"]})}}return a})(),X=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.pfinderText=(0,d.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-headset-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(s,n){1&s&&e.nrm(0,"app-device-add-box",0),2&s&&e.Y8G("allTranslations",n.allTranslations())("screenReader",n.isDMDEnable()?n.allTranslations()[n.pfinderText().screenReader]:n.allTranslations()[n.pfinderText().noDMDscreenReader])},dependencies:[M],encapsulation:2})}}return a})(),K=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.pfinderText=(0,d.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-other-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(s,n){1&s&&e.nrm(0,"app-device-add-box",0),2&s&&e.Y8G("allTranslations",n.allTranslations())("screenReader",n.isDMDEnable()?n.allTranslations()[n.pfinderText().screenReader]:n.allTranslations()[n.pfinderText().noDMDscreenReader])},dependencies:[M],encapsulation:2})}}return a})(),he=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.pfinderText=(0,d.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-printer-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(s,n){1&s&&e.nrm(0,"app-device-add-box",0),2&s&&e.Y8G("allTranslations",n.allTranslations())("screenReader",n.isDMDEnable()?n.allTranslations()[n.pfinderText().screenReader]:n.allTranslations()[n.pfinderText().noDMDscreenReader])},dependencies:[M],encapsulation:2})}}return a})(),Oe=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.pfinderText=(0,d.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-laptop-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(s,n){1&s&&e.nrm(0,"app-device-add-box",0),2&s&&e.Y8G("allTranslations",n.allTranslations())("screenReader",n.isDMDEnable()?n.allTranslations()[n.pfinderText().screenReader]:n.allTranslations()[n.pfinderText().noDMDscreenReader])},dependencies:[M],encapsulation:2})}}return a})(),Se=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.pfinderText=(0,d.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-desktop-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(s,n){1&s&&e.nrm(0,"app-device-add-box",0),2&s&&e.Y8G("allTranslations",n.allTranslations())("screenReader",n.isDMDEnable()?n.allTranslations()[n.pfinderText().screenReader]:n.allTranslations()[n.pfinderText().noDMDscreenReader])},dependencies:[M],encapsulation:2})}}return a})(),Ae=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.pfinderText=(0,d.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-general-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(s,n){1&s&&e.nrm(0,"app-device-add-box",0),2&s&&e.Y8G("allTranslations",n.allTranslations())("screenReader",n.isDMDEnable()?n.allTranslations()[n.pfinderText().screenReader]:n.allTranslations()[n.pfinderText().noDMDscreenReader])},dependencies:[M],encapsulation:2})}}return a})();var Le=i(52575),it=i(91817),ke=i(98764),tt=i(36647),nt=i(61318),Be=i(89638),Ue=i(56012);let pt=(()=>{class a{constructor(t,s,n,O,Q,ie){this.pageService=t,this.elem=s,this.router=n,this.deviceSearchService=O,this.commonService=Q,this.store=ie,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new _.B}optionSelector(t){!t||t.passParam||t.apiOrigin?t&&t.passParam&&!t.apiOrigin?this.router.navigate([t.printerSetupUrl],{queryParams:{sku:t.name}}):t&&t.apiOrigin&&this.searchSubmit(t.name,"printerSetup",null):this.router.navigate([t.printerSetupUrl])}searchSubmit(t,s,n,O=""){this.redirectToResult(t,s,n,O)}inputKeyDown(t,s,n,O,Q=""){const ie=this.elem.nativeElement.querySelectorAll(".dropdown-item")||document.querySelectorAll("button.dropdown-item");if(t.target.value.length>=1)if("Enter"===t.key)this.searchSubmit(s,n,O,Q);else if(!(40!==t.which&&38!==t.which||40!==t.which&&38!==t.which&&40!==t.which&&38!==t.which)){t.stopPropagation(),t.preventDefault();for(let _e=0;_e<ie.length;_e++)if(ie[_e].classList&&ie[_e].classList.contains("active")){let Ne=document?.getElementById("seoFriendlyName").innerText,Ie=document?.getElementById("pmSeriesOid").innerText,ve=document?.getElementById("pmNameOid").innerText;t.target.value=ie[_e].innerText,this.selectedTypeAheadValue=ie[_e].innerText,this.selectedTypeAheadObj={name:ie[_e].innerText,productId:ie[_e].firstElementChild.id,apiOrigin:n,seoFriendlyName:Ne,pmSeriesOid:Ie,pmNameOid:ve}}}}getCommonLocalFromSSC(t){t&&this.store.select(L.FM).pipe((0,m.$)(s=>!(0,W.A)(s))).subscribe(s=>{
1if(s&&s.COMMON_FALLBACK_COUNTRY_CODE&&s.COMMON_FALLBACK_COUNTRY_CODE){const n=this.commonService.getCustomLocale(this.commonService.safeParseJSON(s.COMMON_FALLBACK_COUNTRY_CODE),t);this.customCC=n.cc,this.customLC=n.lc}else this.customCC=t.cc,this.customLC=t.lc})}redirectToResult(t,s,n,O=""){this.getCommonLocalFromSSC(this.pageConfig()),this.deviceSearchService.setRedirectionRule(t,this.customCC,this.customLC,s,n,O)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(s){return new(s||a)(h.KVO(J.b),h.KVO(e.aKT),h.KVO(w.Ix),h.KVO(Ue.k),h.KVO(R.h),h.KVO(Y.il))}}static{this.\u0275prov=h.jDH({token:a,factory:a.\u0275fac})}}return a})(),mt=(()=>{class a{constructor(){this.patternReqd=(0,d.hFB)(""),this.supportPolySN=(0,d.hFB)(!1),this.sscKeys=(0,d.hFB)(null)}onKeyPress(t){if("true"===this.patternReqd()){const s=t.which||t.keyCode;return!(!this.sscKeys()?.PFINDER_SN_ACCEPTABLE_KEYCODE.includes(s)||!this.supportPolySN())||!!(s>47&&s<58||s>64&&s<91||s>96&&s<123)}}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275dir=e.FsC({type:a,selectors:[["","appAlphaNumericPattern",""]],hostBindings:function(s,n){1&s&&e.bIt("keypress",function(Q){return n.onKeyPress(Q)})},inputs:{patternReqd:[1,"patternReqd"],supportPolySN:[1,"supportPolySN"],sscKeys:[1,"sscKeys"]}})}}return a})();var ht=i(92913);const _t=["searchInputText"],Ct=(a,N)=>({"is-vis-id":a,rtl:N}),ft=a=>({showInline:a}),Pt=a=>({data:a,classDetail:!1}),gt=a=>({"border-color":a}),ut=(a,N)=>({data:a,classDetail:N}),bt=(a,N,t)=>({"btn-arrow":a,"secondary-btn":N,"primary-button":t}),vt=()=>({standalone:!0}),Mt=()=>["bottom","top","left","right"];function Nt(a,N){1&a&&e.eu8(0)}function Ot(a,N){1&a&&e.nrm(0,"img",17)}function xt(a,N){if(1&a&&(e.j41(0,"div",11),e.nVh(1,Ot,1,0,"img",17),e.j41(2,"div")(3,"div",4)(4,"span",21),e.EFF(5),e.k0s(),e.EFF(6," \xa0"),e.k0s(),e.j41(7,"span",21),e.EFF(8),e.k0s()()()),2&a){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.Y8G("ngClass",e.eq3(4,ft,t.isLightTheme())),e.R7$(2),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.serialNumberErrorText1]),e.R7$(3),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.serialNumberErrorText2])}}function j(a,N){1&a&&e.nrm(0,"img",17)}function Ce(a,N){if(1&a&&(e.j41(0,"div",12),e.nVh(1,j,1,0,"img",17),e.j41(2,"p",21),e.EFF(3),e.k0s()()),2&a){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.errorText])}}function v(a,N){if(1&a&&(e.j41(0,"div",13),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.E5c(" ",t.allTranslations()["#pps_WCC_FS_PDP_Search_Country_Field_Count_Text_01"]," ",t.totalNumofResult()," ",t.allTranslations()["#pps_WCC_FS_PDP_Search_Country_Field_Count_Text_02"]," ")}}function V(a,N){if(1&a&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&a){const t=e.XpG().result;e.R7$(),e.JRh(t.seoFriendlyName)}}function $(a,N){if(1&a&&(e.j41(0,"span",24),e.EFF(1),e.k0s()),2&a){const t=e.XpG().result;e.R7$(),e.JRh(null==t?null:t.pmSeriesOid)}}function ue(a,N){if(1&a&&(e.j41(0,"span",25),e.EFF(1),e.k0s()),2&a){const t=e.XpG().result;e.R7$(),e.JRh(t.pmNameOid)}}function Me(a,N){if(1&a&&(e.nrm(0,"ngb-highlight",22),e.nVh(1,V,2,1,"span",23),e.nVh(2,$,2,1,"span",24),e.nVh(3,ue,2,1,"span",25)),2&a){const t=N.result,s=N.term;e.Y8G("id",e.mNQ(t.productId))("result",t.name)("term",s),e.R7$(),e.vxM(t?1:-1),e.R7$(),e.vxM(t?2:-1),e.R7$(),e.vxM(t?3:-1)}}function xe(a,N){1&a&&e.eu8(0)}function Re(a,N){if(1&a&&(e.j41(0,"div",14),e.DNE(1,xe,1,0,"ng-container",26),e.k0s()),2&a){const t=e.XpG(),s=e.sdS(24);e.R7$(),e.Y8G("ngTemplateOutlet",s)("ngTemplateOutletContext",e.eq3(2,Pt,!t.searchQueryEntered()||t.buttonDisabled()||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery))}}function Te(a,N){if(1&a&&(e.j41(0,"span",31),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.Y8G("ngClass",t.searchProductModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().placeHolderProduct])}}function Ve(a,N){if(1&a){const t=e.RV6();e.j41(0,"a",37),e.bIt("click",function(n){h.eBV(t);const O=e.XpG(2);return h.Njj(O.clearSearchField(n,"productNumber"))})("keydown.enter",function(n){h.eBV(t);const O=e.XpG(2);return h.Njj(O.onEnterCloseIcon(n,"productNumber"))}),e.k0s()}}function lt(a,N){if(1&a&&(e.j41(0,"span",33),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().placeHolderProduct])}}function ct(a,N){if(1&a&&(e.j41(0,"span",34),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.Y8G("ngClass",""!==t.searchProductModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_SearchResult_Page_Search_Box_Ghost_Text_1"])}}function ot(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",38),e.bIt("click",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.redirectToResult("comingFromPFinder",n.searchBoxConfigObj()))}),e.j41(1,"span",39),e.EFF(2),e.k0s(),e.nrm(3,"img",40),e.k0s()}if(2&a){const t=e.XpG(2);e.Y8G("disabled",t.productNumberButtonDisable()||t.searchModel().length<10||t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery),e.R7$(2),e.JRh(t.buttonText())}}function $t(a,N){1&a&&e.eu8(0)}function Ut(a,N){if(1&a&&(e.j41(0,"div",36),e.DNE(1,$t,1,0,"ng-container",26),e.k0s()),2&a){let t;const s=e.XpG(2),n=e.sdS(24);e.R7$(),e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,ut,s.productNumberButtonDisable()||s.searchModel().length<10||(null==(t=s.searchBoxConfigObj())||null==t.searchQueryConfigObj?null:t.searchQueryConfigObj.invalidProductNumber)||(null==(t=s.searchBoxConfigObj())||null==t.searchQueryConfigObj?null:t.searchQueryConfigObj.notValidSearchQuery),!(s.productNumberButtonDisable()||!(s.searchModel().length>9)||null!=(t=s.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.invalidProductNumber||null!=(t=s.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.notValidSearchQuery)))}}function Vt(a,N){1&a&&e.eu8(0)}function Gt(a,N){if(1&a&&(e.j41(0,"div",36),e.DNE(1,Vt,1,0,"ng-container",26),e.k0s()),2&a){const t=e.XpG(2),s=e.sdS(24);e.R7$(),e.Y8G("ngTemplateOutlet",s)("ngTemplateOutletContext",e.l_i(2,ut,t.productNumberButtonDisable()||t.searchModel().length<10||t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery,!t.productNumberButtonDisable()&&t.searchModel().length>9&&!t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&!t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery))}}function Wt(a,N){if(1&a){const t=e.RV6();e.j41(0,"div",15)(1,"div",27)(2,"p",28)(3,"span",6),e.EFF(4),e.k0s()(),e.j41(5,"div",8)(6,"label",29),e.EFF(7),e.k0s(),e.j41(8,"input",30),e.bIt("ngModelChange",function(n){h.eBV(t);const O=e.XpG();return O.searchProductModel.set(n),h.Njj(O.onChangeInput(n,"productNumber"))})("keydown.enter",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.searchProductModel()&&O.searchProductModel().length>=2||!O.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?O.redirectToResult("comingFromPFinder",O.searchBoxConfigObj()):n.preventDefault())})("focusout",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.onInputFeildFocusOut("productNumber",n))}),e.k0s(),e.nVh(9,Te,2,2,"span",31),e.nVh(10,Ve,1,0,"a",32),e.nV
1h(11,lt,2,1,"span",33),e.nVh(12,ct,2,2,"span",34),e.nVh(13,ot,4,2,"button",35),e.nVh(14,Ut,2,5,"div",36),e.k0s()(),e.nVh(15,Gt,2,5,"div",36),e.k0s()}if(2&a){const t=e.XpG();e.Y8G("ngClass",t.vsidThemeEnabled()&&""!==t.searchProductModel()?"search-btn-position":""),e.R7$(),e.Y8G("ngClass",t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?"mT10":""),e.R7$(3),e.JRh(t.allTranslations()[t.searchBoxConfigObj().screenReaderProduct]),e.R7$(3),e.JRh(t.allTranslations()[t.searchBoxConfigObj().screenReaderProduct]),e.R7$(),e.Y8G("ngModel",t.searchProductModel())("placeholder",t.isLightTheme()?"":t.allTranslations()[t.searchBoxConfigObj().placeHolderProduct])("ngStyle",e.eq3(15,gt,!t.vsidThemeEnabled()&&t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?"#bf2026":""))("ngClass",t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&(t.vsidThemeEnabled()||t.isLightTheme())?"input-border":""),e.R7$(),e.vxM(t.isLightTheme()?9:-1),e.R7$(),e.vxM(t.productNumberEntered()?10:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()&&""===t.searchProductModel()?11:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()?12:-1),e.R7$(),e.vxM(t.isLightTheme()?13:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()?14:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()?-1:15)}}function Ht(a,N){1&a&&e.nrm(0,"img",17)}function Xt(a,N){if(1&a&&(e.j41(0,"p",18),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.commonErrorText])}}function zt(a,N){if(1&a&&(e.j41(0,"p",19),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.errorText])}}function Kt(a,N){if(1&a&&(e.j41(0,"p",20),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.errorProductText])}}function Yt(a,N){if(1&a&&(e.j41(0,"p",21),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Printer_Landing_Select_support_Options_Error"])}}function Qt(a,N){if(1&a){const t=e.RV6();e.qex(0),e.j41(1,"button",41),e.bIt("click",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.redirectToResult("comingFromPFinder",n.searchBoxConfigObj()))}),e.j41(2,"span",42),e.EFF(3),e.k0s(),e.j41(4,"span",39),e.EFF(5),e.k0s()(),e.bVm()}if(2&a){const t=N.data,s=N.classDetail,n=e.XpG();e.R7$(),e.Y8G("ngClass",e.sMw(6,bt,n.pageConfig().isMobile,s,!n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||!n.invalidProductNumber()))("disabled",t),e.R7$(),e.Y8G("title",e.mNQ(n.buttonText())),e.R7$(),e.JRh(n.buttonText()),e.R7$(2),e.JRh(n.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function Jt(a,N){if(1&a&&(e.j41(0,"span",31),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.Y8G("ngClass",t.searchModel()?"txt-present":""),e.R7$(),e.JRh(t.placeHolder())}}function Zt(a,N){if(1&a){const t=e.RV6();e.j41(0,"a",47),e.bIt("click",function(n){h.eBV(t);const O=e.XpG(2);return h.Njj(O.clearSearchField(n,"default"))})("keydown.enter",function(n){h.eBV(t);const O=e.XpG(2);return h.Njj(O.onEnterCloseIcon(n,"default"))}),e.k0s()}if(2&a){let t;const s=e.XpG(2);e.Y8G("ngClass",s.vsidThemeEnabled()&&(null!=(t=s.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.productNumberReqd||null!=(t=s.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.invalidProductNumber)?"shift-close":"")}}function qt(a,N){if(1&a&&(e.j41(0,"span",45),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.JRh(t.placeHolder()||"Example: 8F214801F858FG, Voyager 8200 UC")}}function en(a,N){if(1&a&&(e.j41(0,"span",46),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.Y8G("ngClass",""!==t.searchModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_SearchResult_Page_Search_Box_Ghost_Text_1"])}}function tn(a,N){if(1&a){const t=e.RV6();e.j41(0,"button",38),e.bIt("click",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.redirectToResult("comingFromPFinder",n.searchBoxConfigObj()))}),e.j41(1,"span",39),e.EFF(2),e.k0s(),e.nrm(3,"img",40),e.k0s()}if(2&a){const t=e.XpG(2);e.Y8G("disabled",!t.searchQueryEntered()||t.buttonDisabled()||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery),e.R7$(2),e.JRh(t.buttonText())}}
1function nn(a,N){if(1&a){const t=e.RV6();e.qex(0),e.j41(1,"input",43,3),e.bIt("input",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.hidePNBoxOnchange(n))})("keyup",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.handleKeyUpEvent(n))})("selectItem",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.onOptionSelection(n,O.searchOrigin(),O.searchBoxConfigObj()))})("focus",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.clearField(n))})("ngModelChange",function(n){h.eBV(t);const O=e.XpG();return O.searchModel.set(n),h.Njj(O.onChangeInput(n,"default"))})("focusout",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.onInputFeildFocusOut("default",n))}),e.k0s(),e.nVh(3,Jt,2,2,"span",31),e.nVh(4,Zt,1,1,"a",44),e.nVh(5,qt,2,1,"span",45),e.nVh(6,en,2,2,"span",46),e.nVh(7,tn,4,2,"button",35),e.bVm()}if(2&a){let t,s,n;const O=e.XpG(),Q=e.sdS(14);e.R7$(),e.Y8G("focusFirst",!1)("ngModel",O.searchModel())("ngModelOptions",e.lJ4(22,vt))("inputFormatter",O.formatter)("resultTemplate",Q)("ngbTypeahead",O.searchBoxConfigObj().typeAheadDisplay&&!O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd?O.search:null)("placeholder",O.isLightTheme()?"":O.placeHolder())("placement",O.vsidThemeEnabled()?"bottom":e.lJ4(23,Mt))("appRestrictPatternFlag",O.patternRestrictPrinter())("appRestrictPatternValue",O.patternValue())("patternReqd",O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||O.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?"true":"false")("supportPolySN",O.supportPolySN())("sscKeys",O.sscKeys())("ngClass",(null!=(t=O.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.notValidSearchQuery||null!=(t=O.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.productNumberReqd||null!=(t=O.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.notValidSN)&&(O.vsidThemeEnabled()||O.isLightTheme())?"input-border":"")("id","printerSetupLanding"===O.pageConfig().pageName?"inputtextpfinder":"searchQueryField")("disabled","printerSetupLanding"===O.searchBoxConfigObj().pageName&&!(null!=(s=O.searchBoxConfigObj())&&s.printerSetupOption))("ngStyle",e.eq3(24,gt,!O.vsidThemeEnabled()&&(O.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery||O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||O.searchBoxConfigObj().searchQueryConfigObj.notValidSN)?"#bf2026":"")),e.R7$(2),e.vxM(O.isLightTheme()?3:-1),e.R7$(),e.vxM(O.searchQueryEntered()&&!O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!O.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||O.vsidThemeEnabled()&&(null!=(n=O.searchBoxConfigObj())&&null!=n.searchQueryConfigObj&&n.searchQueryConfigObj.productNumberReqd||null!=(n=O.searchBoxConfigObj())&&null!=n.searchQueryConfigObj&&n.searchQueryConfigObj.invalidProductNumber)&&!O.snDisabled?4:-1),e.R7$(),e.vxM(O.vsidThemeEnabled()&&""===O.searchModel()?5:-1),e.R7$(),e.vxM(O.vsidThemeEnabled()?6:-1),e.R7$(),e.vxM(O.isLightTheme()?7:-1)}}let rt=(()=>{class a{constructor(t,s,n,O,Q,ie,_e,Ne,Ie){this.pageService=t,this.kaasSearchService=s,this.productFinderService=n,this.printerPfinderService=O,this.deviceSearchService=Q,this.commonService=ie,this.renderer=_e,this.globalDataLayerService=Ne,this.store=Ie,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.SNLength=(0,h.vPA)(10),this.allTranslations=(0,d.hFB)({}),this.buttonText=(0,d.hFB)(""),this.screenReader=(0,d.hFB)(""),this.notValidDataEntered=(0,d.hFB)(null),this.invalidProductNumber=(0,d.hFB)(null),this.invalidSerialNumber=(0,d.hFB)(null),this.productNumberReqd=(0,d.hFB)(null),this.searchBoxConfigObj=(0,d.hFB)(null),this.searchModel=(0,h.vPA)(""),this.showSupportOptionError=(0,h.vPA)(!1),this.searching=(0,h.vPA)(!1),this.searchTermEntered=(0,h.vPA)(!1),this.searchQueryEntered=(0,h.vPA)(!1),this.selectedOption=(0,h.vPA)(""),this.buttonDisabled=(0,h.vPA)(!0),this.result=(0,h.vPA)(null),this.isLightTheme=(0,h.vPA)(!1),this.pfinderMinCharLen=(0,h.vPA)(""),this.sscKeys=(0,h.vPA)(null),this.patternValue=(0,h.vPA)("[^@%*+<>]"),this.supportPolySN=(0,h.vPA)(!1),this.placeHolder=(0,d.geq)(null),this.searchOrigin=(0,d.hFB)(""),this.patternRestrictPrinter=(0,h.vPA)(""),this.minSNLength=(0,h.vPA)(10),this.maxSNLength=(0,h.vPA)(16),this.polySearchExp=(0,h.vPA)(null),this.totalNumofResult=(0,h.vPA)(0),this.searchProductModel=(0,h.vPA)(""),this.productNumberEntered=(0,h.vPA)(!1),this.productNumberButtonDisable=(0,h.vPA)(!0),this.vsidThemeEnabled=(0,h.vPA)(!1),this.searchInputText=(0,d.ebz)("searchInputText"),this.ngbTypeahead=(0,d.ebz)(de.$n),this.destroySubject$=new _.B,this.screenReaderPfinder=(0,h.vPA)(""),this.search=ve=>ve.pipe((0,Le.B)(300),(0,it.F)(),(0,ke.M)(()=>this.searching.set(!0)),(0,tt.n)(Ge=>Ge.length>=parseInt(this.pfinderMinCharLen()||"1")?this.productFinderService.getSearchResult(Ge,this.searchBoxConfigObj()).pipe((0,ke.M)(st=>{this.totalNumofResult.set(st?st.length:0),this.searchTermEntered.set(!0)}),(0,nt.W)(()=>(0,H.of)([]))):(this.totalNumofResult.set(0),(0,H.of)([]))),(0,ke.M)(()=>this.searching.set(!1))),this.formatter=ve=>ve.name}get snDisabled(){const t=this.searchBoxConfigObj();return"siteHome"===t.pageName&&(t.searchQueryConfigObj.productNumberReqd||t.searchQueryConfigObj.invalidProductNumber)}clearField(t){this.productFinderService.clearPlaceHolder(t)}onEnterCloseIcon(t,s){t.preventDefault(),this.clearSearchField(t,s)}clearSearchField(t,s){return t&&this.productFinderService.clearSearchInput(t),{productNumber:()=>{this.productNumberButtonDisable.set(!0),setTimeout(()=>{t&&(t.target.parentNode.querySelector("input").value=""),this.searchProductModel.set(""),this.productNumberEntered.set(!1),this.clearErrorField(s)},0)},default:()=>{this.buttonDisabled.set(!0),setTimeout(()=>{t&&(t.target.parentNode.querySelector("input").value=""),this.searchModel.set(""),this.searchQueryEntered.set(!1),this.clearErrorField(s)},0)}}[s]()}redirectToResult(t,s){if(this.globalDataLayerService.updateGDL({Flag:{searchExecuted:!0}},!0),this.printerPfinderService.selectedTypeAheadValue)setTimeout(()=>{this.searchModel.set(this.printerPfinderService.selectedTypeAheadValue),this.placeHolder.set(this.printerPfinderService.selectedTypeAheadValue),"printerSetupLanding"===s.pageName?this.printerPfinderService.optionSelector(this.printerPfinderService.selectedTypeAheadObj):this.kaasSearchService.optionSelector(this.printerPfinderService.selectedTypeAheadObj,t,s)},0);else{let n=this.searchProductModel()?this.commonService.getSanitizedData(this.searchProductModel().trim()):null;this.printerPfinderService.searchSubmit(this.commonService.getSanitizedData(this.searchModel().trim()),this.searchBoxConfigObj().searchResultOrigin,n,this.searchBoxConfigObj().pageName)}}checkpFinderMinCharLen(){this.store.select(L.FM).pipe((0,m.$)(t=>!(0,W.A)(t))).subscribe(t=>{this.sscKeys.set(t);const s=!(!t.ENABLE_POLY_SEARCH_EXP||"YES"!=t.ENABLE_POLY_SEARCH_EXP.toUpperCase());this.polySearchExp.set(s),this.supportPolySN.set(s),this.pfinderMinCharLen.set(s?t.PFINDER_MIN_CHAR_LENGTH&&t.PFINDER_MIN_CHAR_LENGTH?t.PFINDER_MIN_CHAR_LENGTH:"3":"1"),this.vsidThemeEnabled.set(!!t.ENABLE_VIS_ID_LAYOUT&&(0,y.A)(t.ENABLE_VIS_ID_LAYOUT,this.pageConfig().pageName))})}onChangeInput(t,s){const n=t.length;return{productNumber:()=>{this.productNumberEntered.set(!!(n>0||this.searchProductModel())),this.productNumberButtonDisable.set(!(n>1)),this.clearErrorField(s)},default:()=>{this.printerPfinderService.selectedTypeAheadValue=void 0,this.printerPfinderService.selectedTypeAheadObj=void 0,this.searchQueryEntered.set(!!(n>0||this.searchModel())),this.buttonDisabled.set(!(n>=parseInt(this.pfinderMinCharLen()||"1"))),this.clearErrorField(s)}}[s]()}clearErrorField(t){return{productNumber:()=>{const n=this.searchBoxConfigObj();
1this.deviceSearchService.notValidProductNumber.next({id:n?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:n?.pageName??"",value:!0})},default:()=>{this.deviceSearchService.invalidSearchQuery.next({id:this.searchBoxConfigObj()?.pageName??"",value:!1})}}[t]()}handleKeyUpEvent(t){const s=this.searchBoxConfigObj(),n=this.searchBoxConfigObj();"Enter"===t.key&&(s?.searchQueryConfigObj?.productNumberReqd||n?.searchQueryConfigObj?.invalidProductNumber||n?.searchQueryConfigObj?.notValidSearchQuery)?t.preventDefault():this.onKeyUpEvent(t,t?.target?.value??this.searchModel())}onOptionSelection(t,s,n){t.preventDefault();const O=t.item;O&&(this.globalDataLayerService.updateGDL({PfinderQueryNew:O.name||"",PfinderQuery:O.name||"",Flag:{searchExecuted:!0}},!0),this.searchModel.set(O.name),this.placeHolder.set(O.name)),this.buttonDisabled.set(!0),"printerSetupLanding"===n.pageName?this.printerPfinderService.optionSelector(O):this.kaasSearchService.optionSelector(O,"swdLanding"===n.pageName?"swd":s,n)}onKeyUpEvent(t,s){const n=this.searchBoxConfigObj();if(n.searchQueryConfigObj.productNumberReqd||n.searchQueryConfigObj.invalidProductNumber)t.preventDefault();else{"Enter"===t.key&&t.target.value?(this.printerPfinderService.selectedTypeAheadValue&&setTimeout(()=>{this.placeHolder.set(this.printerPfinderService.selectedTypeAheadValue)},0),this.buttonDisabled.set(!0),this.globalDataLayerService.updateGDL({Flag:{searchExecuted:!0}},!0)):"ArrowUp"===t.key||"ArrowDown"===t.key||38===t.keyCode||40===t.keyCode?(this.buttonDisabled.set(!1),this.printerPfinderService.selectedTypeAheadValue&&setTimeout(()=>{this.placeHolder.set(this.printerPfinderService.selectedTypeAheadValue)},0),this.buttonDisabled.set(!0)):(this.searchQueryEntered.set(!!(t.target.value.length>0||this.searchModel())),this.buttonDisabled.set(!(t.target.value.length>=parseInt(this.pfinderMinCharLen()||"1"))),this.clearErrorField("default"));const O=t?.target?.value?.trim();O&&t.target?.value?.length>=parseInt(this.pfinderMinCharLen()||"1")&&this.printerPfinderService.inputKeyDown(t,O,n?.searchResultOrigin,null)}}onPrinterSetupOptionChange(){this.clearSearchField(null,"default");const t=this.searchBoxConfigObj();this.deviceSearchService.notValidProductNumber.next({id:t?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:t?.pageName??"",value:!1}),this.productNumberButtonDisable.set(!0),this.searchProductModel.set(""),this.productNumberEntered.set(!1),this.renderer.setAttribute(this.searchInputText().nativeElement,"placeholder",this.placeHolder())}ngOnInit(){this.clearQueryOnTooltipSel(),this.clearPNModelSubscriber(),this.patternRestrictPrinter.set("printerSetupLanding"===this.searchBoxConfigObj().pageName?"true":"false"),this.isLightTheme.set(this.searchBoxConfigObj()?.isLightTheme),this.checkpFinderMinCharLen(),this.setPfinderScreenReader()}setPfinderScreenReader(){this.vsidThemeEnabled()?this.screenReaderPfinder.set(this.allTranslations()["#pps_WCC_FS_One_Box_Search_Button_Screenreader"]):this.screenReaderPfinder.set(this.buttonText())}productNumberFocusOut(t){if(t.target.value){this.renderer.setAttribute(t.target,"placeholder","");const s=this.searchBoxConfigObj();this.commonService.isProductNumberPattern(t.target.value)&&s.searchQueryConfigObj.productNumberReqd&&t.target.value.length>=2?this.deviceSearchService.notValidProductNumber.next({id:s?.pageName??"",value:!1}):this.deviceSearchService.notValidProductNumber.next({id:s?.pageName??"",value:!0})}else{const s=this.isLightTheme()?"":this.allTranslations()[this.searchBoxConfigObj().placeHolderProduct];this.renderer.setAttribute(t.target,"placeholder",s),this.deviceSearchService.notValidProductNumber.next({id:this.searchBoxConfigObj()?.pageName??"",value:!0})}}onInputFeildFocusOut(t,s){return{productNumber:()=>{const O={IE:()=>{!(s.relatedTarget instanceof HTMLAnchorElement)&&!(s.relatedTarget instanceof HTMLButtonElement)&&this.productNumberFocusOut(s)},otherBrowser:()=>{s.relatedTarget||this.productNumberFocusOut(s)}};return(O[this.pageConfig().browser]||O.otherBrowser)()},default:()=>{if(s.target.value){this.renderer.setAttribute(s.target,"placeholder","");const O=this.searchBoxConfigObj();if(O.searchQueryConfigObj.productNumberReqd||O.searchQueryConfigObj.invalidProductNumber){let Q=this.polySearchExp()?this.sscKeys()?.PFINDER_SN_MIN_CHAR_LENGTH:10;s.target.value.length&&this.commonService.isSerialNumberPattern(s.target.value,this.sscKeys())&&s.target.value.length>=Q?this.deviceSearchService.invalidSerialQuery.next({id:O?.pageName??"",value:!1}):this.deviceSearchService.invalidSerialQuery.next({id:O?.pageName??"",value:!0})}}else{const O=this.isLightTheme()?"":this.placeHolder();this.renderer.setAttribute(s.target,"placeholder",O)}}}[t]()}clearQueryOnTooltipSel(){this.productFinderService.clearQuerySearchField().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>{t&&(this.searchModel.set(""),this.searchProductModel.set(""),this.buttonDisabled.set(!1),this.productNumberButtonDisable.set(!1),this.searchQueryEntered.set(!1))})}clearPNModelSubscriber(){this.deviceSearchService.resetProductModel().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>{t&&this.searchProductModel.set("")})}ngOnChanges(t){const s=this.searchBoxConfigObj();s.searchQueryConfigObj.invalidProductNumber&&this.commonService.setFocusOnInputField("productNumberField"),(s.searchQueryConfigObj.notValidSearchQuery||s.searchQueryConfigObj.notValidSN||s.searchQueryConfigObj.notValidDataEntered||s.searchQueryConfigObj.invalidSerialNumber)&&this.commonService.setFocusOnInputField("searchQueryField");const n=t?.searchBoxConfigObj?.previousValue,O=t?.searchBoxConfigObj?.currentValue,Q=O?.printerSetupOption!==n?.printerSetupOption;O?.printerSetupOption&&Q&&this.onPrinterSetupOptionChange()}getPopupStatus(){const t=this.ngbTypeahead();return!!t&&t.isPopupOpen()}hidePNBoxOnchange(t){typeof document<"u"&&document.getElementById("productNumberField")&&this.deviceSearchService.productNumberRequied.next({id:this.searchBoxConfigObj()?.pageName??"",value:!1})}ngOnDestroy(){this.destroySubject$.next()}ngAfterViewInit(){const t=this.searchInputText();void 0!==t&&this.renderer.removeAttribute(t.nativeElement,"aria-multiline")}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(Be.W),e.rXU(P.h),e.rXU(pt),e.rXU(Ue.k),e.rXU(R.h),e.rXU(e.sFG),e.rXU(b.a),e.rXU(Y.il))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-product-search-box"]],viewQuery:function(s,n){1&s&&(e.wEZ(n.searchInputText,_t,5),e.
1wEZ(n.ngbTypeahead,de.$n,5)),2&s&&e.NyB(2)},inputs:{allTranslations:[1,"allTranslations"],buttonText:[1,"buttonText"],screenReader:[1,"screenReader"],notValidDataEntered:[1,"notValidDataEntered"],invalidProductNumber:[1,"invalidProductNumber"],invalidSerialNumber:[1,"invalidSerialNumber"],productNumberReqd:[1,"productNumberReqd"],searchBoxConfigObj:[1,"searchBoxConfigObj"],placeHolder:[1,"placeHolder"],searchOrigin:[1,"searchOrigin"]},outputs:{placeHolder:"placeHolderChange"},features:[e.Jv_([Be.W,pt]),e.OA$],decls:27,vars:21,consts:[["result",""],["searchSubmit",""],["queryInputBox",""],["searchInputText",""],[3,"ngClass"],[1,"search-label","pfinder-search-label","pR10"],["aria-hidden","true"],[1,"search-box"],[1,"search-input"],["id","field-help-pfinder","for","searchQueryField",1,"sr-only","field-help"],[4,"ngTemplateOutlet"],["id","multiple-product-error","aria-live","assertive","role","alert",1,"pn-needed-error-text"],["id","not-valid-serial-number","aria-live","assertive","role","alert",1,"pn-needed-error-text"],[1,"total-results"],[1,"submitBtnMobile","button-box"],[1,"product-finder-box","master-pfinder",3,"ngClass"],[1,"pfinder-error-box"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/input-error.png","alt","Error Icon","width","20px","height","20px",1,"input-error-icon"],["id","not-valid-search-text-common","aria-live","assertive","role","alert",1,"error-text","pT5"],["id","not-valid-search-text","aria-live","assertive","role","alert",1,"error-text","pT5"],["id","product-number-error","aria-live","assertive","role","alert",1,"error-text","pT5"],[1,"error-text"],[3,"result","term","id"],["id","seoFriendlyName",1,"hidden"],["id","pmSeriesOid",1,"hidden"],["id","pmNameOid",1,"hidden"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"search-box",3,"ngClass"],[1,"search-label"],["id","product-field-help","for","productNumberField",1,"sr-only","field-help"],["type","text","appRestrictPattern","","appRestrictPatternFlag","true","appRestrictPatternValue","[^\\@\\%\\_\\&\\*\\+\\$\\(\\)\\!\\^\\<\\>]","minlength","2","maxlength","20","required","","selectInputText","","id","productNumberField",1,"pfinder-productnumber","form-control",3,"ngModelChange","keydown.enter","focusout","ngModel","placeholder","ngStyle","ngClass"],[1,"floating-label",3,"ngClass"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon"],[1,"floating-product-label"],[1,"floating-product-label-text",3,"ngClass"],["id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"disabled"],["id","product-submit-button",1,"submitBtnMobile","button-box"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter"],["id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"click","disabled"],[1,"sr-only"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/search-icon.svg","alt","search image","aria-hidden","true"],["id","FindMyProduct","type","submit",1,"search-submit","mob-overlapped",3,"click","ngClass","disabled"],[1,"hidden-mobile-only",3,"title"],["autocomplete","off","type","text","aria-labelledby","field-help-pfinder","aria-describedby","not-valid-search-text not-valid-search-text-common multiple-product-error not-valid-serial-number","aria-autocomplete","list","appRestrictPattern","","appAlphaNumericPattern","","required","","selectInputText","",1,"form-control","pfinder-input",3,"input","keyup","selectItem","focus","ngModelChange","focusout","focusFirst","ngModel","ngModelOptions","inputFormatter","resultTemplate","ngbTypeahead","placeholder","placement","appRestrictPatternFlag","appRestrictPatternValue","patternReqd","supportPolySN","sscKeys","ngClass","id","disabled","ngStyle"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"ngClass"],[1,"floating-label"],[1,"floating-label-text",3,"ngClass"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter","ngClass"]],template:function(s,n){if(1&s&&(e.j41(0,"div",4)(1,"h3",5)(2,"span",6),e.EFF(3),e.k0s()(),e.j41(4,"div",4)(5,"div",7)(6,"div",8)(7,"label",9),e.EFF(8),e.k0s(),e.DNE(9,Nt,1,0,"ng-container",10),e.k0s(),e.nVh(10,xt,9,6,"div",11),e.nVh(11,Ce,4,2,"div",12),e.nVh(12,v,2,3,"div",13),e.DNE(13,Me,4,7,"ng-template",null,0,e.C5r),e.k0s(),e.nVh(15,Re,2,4,"div",14),e.k0s(),e.nVh(16,Wt,16,17,"div",15),e.j41(17,"div",16),e.nVh(18,Ht,1,0,"img",17),e.nVh(19,Xt,2,1,"p",18),e.nV
1h(20,zt,2,1,"p",19),e.nVh(21,Kt,2,1,"p",20),e.nVh(22,Yt,2,1,"p",21),e.k0s()(),e.DNE(23,Qt,6,10,"ng-template",null,1,e.C5r)(25,nn,8,26,"ng-template",null,2,e.C5r)),2&s){let O,Q;const ie=e.sdS(26);e.Y8G("ngClass",e.l_i(18,Ct,n.pageConfig().isVisIdEnabled,"rtl"===n.pageConfig().languageDirection)),e.R7$(3),e.JRh(n.screenReader()),e.R7$(),e.HbH(e.VkB("master-pfinder ",n.searchBoxConfigObj().pageName,"-pfinder")),e.Y8G("ngClass",n.vsidThemeEnabled()&&""!==n.searchModel()?"search-btn-position":""),e.R7$(4),e.JRh(n.screenReader()),e.R7$(),e.Y8G("ngTemplateOutlet",ie),e.R7$(),e.vxM(null==(O=n.searchBoxConfigObj())||null==O.searchQueryConfigObj||!O.searchQueryConfigObj.productNumberReqd||null!=(O=n.searchBoxConfigObj())&&null!=O.searchQueryConfigObj&&O.searchQueryConfigObj.notValidSearchQuery||n.searchBoxConfigObj().searchQueryConfigObj.notValidSN?-1:10),e.R7$(),e.vxM(n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&n.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery||n.searchBoxConfigObj().searchQueryConfigObj.notValidSN?11:-1),e.R7$(),e.vxM(n.vsidThemeEnabled()&&null!=(Q=n.ngbTypeahead())&&Q.isPopupOpen()&&n.totalNumofResult()>0?12:-1),e.R7$(3),e.vxM(n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?-1:15),e.R7$(),e.vxM(n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?16:-1),e.R7$(2),e.vxM(n.isLightTheme()&&(!n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&n.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery&&n.searchBoxConfigObj().errorText.commonError||!n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&n.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery&&!n.searchBoxConfigObj().errorText.commonError||n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber)?18:-1),e.R7$(),e.vxM(!n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&n.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery&&n.searchBoxConfigObj().errorText.commonError?19:-1),e.R7$(),e.vxM(n.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||!n.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery||n.searchBoxConfigObj().errorText.commonError?-1:20),e.R7$(),e.vxM(n.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?21:-1),e.R7$(),e.vxM(n.searchBoxConfigObj().showSupportOptionError?22:-1)}},dependencies:[G.YU,G.T3,de.Qr,l.YN,l.me,l.BC,l.YS,l.xh,l.tU,l.vS,ht.Z,p.R,G.B3,de.$n,mt],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.pfinder-error-box[_ngcontent-%COMP%]{max-width:386px;width:68%}.pfinder-error-box[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{color:#bf2026;font-size:14px;font-family:HPSimplifiedRegular}h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;padding-bottom:5px}.master-pfinder[_ngcontent-%COMP%]{display:flex;flex:1}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]   p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   label.field-help[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;font-weight:400!important}.master-pfinder[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{margin-bottom:0;color:#bf2026}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{width:68%;max-width:403px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:386px;width:91%;position:relative}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-productnumber[_ngcontent-%COMP%]{width:100%;height:40px;font-size:16px;padding:0 36px 0 15px;display:inline}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#searchQueryField[_ngcontent-%COMP%]:invalid, .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#productNumberField[_ngcontent-%COMP%]:invalid{border:1px solid #767676}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#productNumberField[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:19px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{align-self:flex-end}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{background-color:#ccc}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:96%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{align-self:flex-end;margin-left:13px}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:406px;width:96%}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:13px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%]{padding:0 15px 0 30px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{left:15px;right:unset}@media only screen and (max-width:800px){h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.44;color:#000;margin-top:19px;margin-bottom:16px}p.pfinder-search-label[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.pfinder-error-box[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]{margin-bottom:17px}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   label.field-help[_ngcontent-%COMP%]{font-size:16px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%;max-width:100%}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.form-control[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{height:33px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-bottom:0;word-break:break-all;padding:5px 13px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;width:38px;background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:30px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span.lg-only[_ngcontent-%COMP%]{display:none}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{margin-left:0}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:0}}p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]   button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]{background-color:#fff;height:33px;border:1px solid #165DBA;border-radius:4px;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:0px;color:#165dba}.master-pfinder[_ngcontent-%COMP%]   button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:hover{color:#114284;border:1px solid #114284;background-color:#fff}.master-pfinder[_ngcontent-%COMP%]   button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:focus{color:#165dba;border:1px solid #165DBA;box-shadow:0 0 8px #0096d6;outline:none;background-color:#fff}.master-pfinder[_ngcontent-%COMP%]   button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:active{color:#0c2e5c;border:1px solid #0C2E5C;background-color:#fff}.master-pfinder[_ngcontent-%COMP%]   button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:disabled{border:1px solid #CCCCCC;background-color:#fff}.master-pfinder[_ngcontent-%COMP%]   #inputtextpfinder[_ngcontent-%COMP%]:disabled{background:#fff}@media only screen and (max-width:800px){button#FindMyProduct[_ngcontent-%COMP%]{word-break:break-all;padding:5px 10px;position:relative;
1left:-3px;height:33px;min-height:33px}button#FindMyProduct[_ngcontent-%COMP%]   span.hidden-mobile-only[_ngcontent-%COMP%]{display:none}}.is-vis-id[_ngcontent-%COMP%]   h3.pfinder-search-label[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:25px;color:#000;margin-bottom:10px;padding-bottom:0;padding-right:0!important}.is-vis-id[_ngcontent-%COMP%]   .pfinder-error-box[_ngcontent-%COMP%]{width:100%;max-width:490px}.is-vis-id[_ngcontent-%COMP%]   .pfinder-error-box[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:12px;font-weight:400;line-height:25px;color:#000;background-image:url(/wcc-assets/images/warning-icon.svg);background-repeat:no-repeat;background-size:20px 20px;padding-left:32px;display:flex;align-items:center;padding-top:0!important;line-height:24px!important;height:auto;background-position:1px 2px;margin-top:12px;margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]{position:relative;max-width:490px;padding-right:0}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{width:100%;max-width:490px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-label[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#000}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:490px;width:100%;position:relative;justify-content:flex-start}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]{position:relative;border-radius:0;max-width:100%;font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#404040;padding:12px 80px 12px 20px;height:48px!important;border:1px solid #000000;background-color:#fff}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input.sn-disabled[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber.sn-disabled[_ngcontent-%COMP%]{padding:21px 80px 5px 20px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:hover, .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:hover{border:1px solid #000000;background-color:#fff}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:focus, .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input.ng-valid[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:focus, .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber.ng-valid[_ngcontent-%COMP%]{box-shadow:none;height:49px!important;padding:21px 80px 5px 20px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]::-webkit-input-placeholder, .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]::-webkit-input-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:-moz-placeholder, .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:-moz-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]::-moz-placeholder, .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]::-moz-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:-ms-input-placeholder, .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:-ms-input-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .input-border[_ngcontent-%COMP%]{border-color:1px solid #FF3900!important}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{right:50px;color:#767676;top:50%;transform:translateY(-50%)}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon.shift-close[_ngcontent-%COMP%]{right:15px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%]{top:50%}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-product-label[_ngcontent-%COMP%]{position:absolute;pointer-events:none;left:20px;top:50%;transform:translateY(-50%);transition:.2s ease all;font-size:16px;font-weight:400;line-height:25px;
1color:#adadad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 90px);text-align:left}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-label-text[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-product-label-text[_ngcontent-%COMP%]{display:none}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label-text[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .floating-product-label-text[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-label-text.txt-present[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-product-label-text.txt-present[_ngcontent-%COMP%]{display:block;position:absolute;top:0;left:20px;transform:none;opacity:1;font-size:12px;font-weight:400;line-height:25px;color:#adadad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 90px);text-align:left}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:not(:focus):valid ~ .floating-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .floating-product-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:not(:focus):valid ~ .floating-product-label[_ngcontent-%COMP%]{display:none}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input.ng-valid[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber.ng-valid[_ngcontent-%COMP%]{height:49px!important;padding:21px 80px 5px 20px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .total-results[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:12px;font-weight:400;line-height:normal;color:#404040;position:absolute;bottom:-22px;z-index:1000;left:20px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/warning-icon.svg);background-repeat:no-repeat;background-size:20px 20px;background-position:0px 5px;padding-left:35px;margin-top:12px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]   .error-text[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:12px;font-weight:400;line-height:25px;color:#000}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .error-text[_ngcontent-%COMP%]{display:inline-block}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:48px;height:48px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button.search-submit[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/search-icon.svg)!important;background-position:center!important;background-repeat:no-repeat!important;background-color:transparent!important;background-size:17px 18px!important;border:none;height:48px!important;width:48px!important;left:0!important;padding:0 16px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button.search-submit[_ngcontent-%COMP%]:focus{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button.search-submit[_ngcontent-%COMP%]:disabled{background-color:transparent!important}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button.search-submit[_ngcontent-%COMP%]   .hidden-mobile-only[_ngcontent-%COMP%]{display:none}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]:focus-within   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder.search-btn-position[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]{height:52px!important}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]:focus-within   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%]   .master-pfinder.search-btn-position[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%]{top:26px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder.product-finder-box[_ngcontent-%COMP%]{margin-top:30px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder.product-finder-box[_ngcontent-%COMP%]   .mT10[_ngcontent-%COMP%]{margin-top:0!important}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder.product-finder-box[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{transform:translateY(-50%)}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder.product-finder-box[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]:focus{box-shadow:none}.is-vis-id[_ngcontent-%COMP%]   .product-finder-box.master-pfinder[_ngcontent-%COMP%]{margin:13px 0 0;padding:0}.is-vis-id.rtl[_ngcontent-%COMP%]   .pfinder-error-box[_ngcontent-%COMP%]{padding-right:0}.is-vis-id.rtl[_ngcontent-%COMP%]   .pfinder-error-box[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{background-position:right 2px;padding-right:32px;padding-left:unset}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]{padding-right:0;padding-left:0}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]{padding:21px 15px 6px 75px!important}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:focus, .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input.ng-valid[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:focus, .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber.ng-valid[_ngcontent-%COMP%]{box-shadow:none;height:49px!important}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{right:auto!important;margin:0!important;position:absolute;
1left:50px!important;top:50%!important;transform:translateY(-50%)}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon.shift-close[_ngcontent-%COMP%]{left:15px!important;right:unset!important}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-input.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%]{top:50%!important}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-product-label[_ngcontent-%COMP%]{left:75px;text-align:right}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label-text[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .floating-product-label-text[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-label-text.txt-present[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-product-label-text.txt-present[_ngcontent-%COMP%]{text-align:right;left:auto;right:15px}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]{background-position:right 3px;padding-right:32px;padding-left:unset}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{transform:translateY(-50%);right:auto;left:0}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button.search-submit[_ngcontent-%COMP%]{transform:scaleX(-1);-webkit-transform:scaleX(-1)}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button.search-submit[_ngcontent-%COMP%]:disabled{background-color:transparent}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]:focus-within   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder.search-btn-position[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .pfinder-productnumber[_ngcontent-%COMP%]{height:52px!important}.is-vis-id.rtl[_ngcontent-%COMP%]   .master-pfinder.product-finder-box[_ngcontent-%COMP%]{margin-top:30px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%]   h3.pfinder-search-label[_ngcontent-%COMP%]{margin-top:12px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]{padding:unset;margin-bottom:0;margin-top:1px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{width:100%}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{right:50px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%]{left:20px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label-text[_ngcontent-%COMP%]{left:20px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{position:absolute;right:0;display:flex}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   .search-submit[_ngcontent-%COMP%]{height:45px;min-height:45px;background-color:transparent;padding:0 20px;background-size:17.5px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box.search-btn-position[_ngcontent-%COMP%]{top:15px}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:enabled{background-color:inherit!important}.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-label[_ngcontent-%COMP%]{margin-top:0}.is-vis-id[_ngcontent-%COMP%]   .pfinder-error-box[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{line-height:15px}.rtl.is-vis-id[_ngcontent-%COMP%]   .search-label[_ngcontent-%COMP%]{padding-right:0!important}.rtl.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{left:50px!important;top:55%!important}.rtl.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%]{left:75px}.rtl.is-vis-id[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{right:auto}}"]})}}return a})(),on=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.pfinderText=(0,d.hFB)({}),this.searchBoxConfigObj=(0,d.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-headset-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(s,n){if(1&s&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&s){let O,Q,ie;e.R7$(),e.Y8G("placeHolder",n.allTranslations()[null==(O=n.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",n.allTranslations()[null==(Q=n.pfinderText())?null:Q.submitButton])("screenReader",n.allTranslations()[null==(ie=n.pfinderText())?null:ie.screenReader])("allTranslations",n.allTranslations())("searchBoxConfigObj",n.searchBoxConfigObj())}},dependencies:[rt],encapsulation:2})}}return a})(),an=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.pfinderText=(0,d.hFB)({}),this.searchBoxConfigObj=(0,d.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-other-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(s,n){if(1&s&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&s){let O,Q,ie;e.R7$(),e.Y8G("placeHolder",n.allTranslations()[null==(O=n.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",n.allTranslations()[null==(Q=n.pfinderText())?null:Q.submitButton])("screenReader",n.allTranslations()[null==(ie=n.pfinderText())?null:ie.screenReader])("allTranslations",n.allTranslations())("searchBoxConfigObj",n.searchBoxConfigObj())}},dependencies:[rt],encapsulation:2})}}return a})(),rn=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.pfinderText=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.searchBoxConfigObj=(0,d.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-desktop-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],isDMDEnable:[1,"isDMDEnable"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","allTranslations","buttonText","screenReader","searchBoxConfigObj"]],template:function(s,n){if(1&s&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&s){let O,Q,ie;e.R7$(),e.Y8G("placeHolder",n.allTranslations()[null==(O=n.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("allTranslations",n.allTranslations())("buttonText",n.allTranslations()[null==(Q=n.pfinderText())?null:Q.submitButton])("screenReader",n.isDMDEnable()?n.allTranslations()[null==(ie=n.pfinderText())?null:ie.screenReader]:n.allTranslations()[null==(ie=n.pfinderText())?null:ie.noDMDscreenReader])("searchBoxConfigObj",n.searchBoxConfigObj())}},dependencies:[rt],encapsulation:2})}}return a})(),sn=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.pfinderText=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.searchBoxConfigObj=(0,d.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-laptop-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],isDMDEnable:[1,"isDMDEnable"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(s,n){if(1&s&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&s){let O,Q,ie;e.R7$(),e.Y8G("placeHolder",n.allTranslations()[null==(O=n.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",n.allTranslations()[null==(Q=n.pfinderText())?null:Q.submitButton])("screenReader",n.isDMDEnable()?n.allTranslations()[null==(ie=n.pfinderText())?null:ie.screenReader]:n.allTranslations()[null==(ie=n.pfinderText())?null:ie.noDMDscreenReader])("allTranslations",n.allTranslations())("searchBoxConfigObj",n.searchBoxConfigObj())}},dependencies:[rt],encapsulation:2})}}return a})(),ln=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.pfinderText=(0,d.hFB)({}),this.searchBoxConfigObj=(0,d.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-printer-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(s,n){if(1&s&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&s){let O,Q,ie;e.R7$(),e.Y8G("placeHolder",n.allTranslations()[null==(O=n.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",n.allTranslations()[null==(Q=n.pfinderText())?null:Q.submitButton])("screenReader",n.allTranslations()[null==(ie=n.pfinderText())?null:ie.screenReader])("allTranslations",n.allTranslations())("searchBoxConfigObj",n.searchBoxConfigObj())}},dependencies:[rt],encapsulation:2})}}return a})(),cn=(()=>{class a{constructor(){this.allTranslations=(0,d.hFB)({}),this.pfinderText=(0,d.hFB)({}),this.isDMDEnable=(0,d.hFB)(!1),this.searchBoxConfigObj=(0,d.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-general-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],isDMDEnable:[1,"isDMDEnable"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","allTranslations","buttonText","screenReader","searchBoxConfigObj"]],template:function(s,n){if(1&s&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&s){let O,Q,ie;e.R7$(),e.Y8G("placeHolder",n.allTranslations()[null==(O=n.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("allTranslations",n.allTranslations())("buttonText",n.allTranslations()[null==(Q=n.pfinderText())?null:Q.submitButton])("screenReader",n.isDMDEnable()?n.allTranslations()[null==(ie=n.pfinderText())?null:ie.screenReader]:n.allTranslations()[null==(ie=n.pfinderText())?null:ie.noDMDscreenReader])("searchBoxConfigObj",n.searchBoxConfigObj())}},dependencies:[rt],encapsulation:2})}}return a})();var Rt=i(76119);
1function dn(a,N){if(1&a&&(e.j41(0,"div",4)(1,"div",5),e.nrm(2,"img",6),e.k0s()()),2&a){const t=N.$implicit;e.R7$(2),e.Y8G("src",null==t?null:t.imagePath,e.B4B)("alt",null==t?null:t.title)}}function pn(a,N){if(1&a&&(e.j41(0,"div",1)(1,"app-slider",3),e.Z7z(2,dn,3,2,"div",4,e.fX1),e.k0s()()),2&a){const t=e.XpG();e.R7$(),e.Y8G("slideData",t.carouselElement())("config",t.config())("horizontalNav",!0)("pagination",!1),e.R7$(),e.Dyx(t.carouselElement())}}function gn(a,N){if(1&a&&(e.j41(0,"div",4)(1,"div",5),e.nrm(2,"img",6),e.k0s()()),2&a){const t=N.$implicit;e.R7$(2),e.Y8G("src",null==t?null:t.imagePath,e.B4B)("alt",null==t?null:t.title)}}function un(a,N){if(1&a&&(e.j41(0,"div",2),e.Z7z(1,gn,3,2,"div",4,e.fX1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Dyx(t.carouselElement())}}let mn=(()=>{class a{constructor(t,s){this.pageService=t,this.deviceService=s,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.carouselElement=(0,d.hFB)(null),this.isMobile=(0,h.vPA)(this.deviceService.isMobile()),this.config=(0,h.vPA)({loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1},spaceBetween:7})}ngOnInit(){}ngAfterViewInit(){}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(ce.Kg))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-tooltip-carousel"]],inputs:{carouselElement:[1,"carouselElement"]},decls:3,vars:3,consts:[[3,"ngClass"],[1,"image-slider","bannerSlider","tooltip-carousel"],[1,"image-slider","bannerSlider"],["name","pfinder-tooltip-carousel","horizontalNavArrowsPosition","inside","horizontalArrowSize","15","horizontalArrowType","blue",3,"slideData","config","horizontalNav","pagination"],[1,"swiper-slide"],[1,"carousel-container","align-center"],[3,"src","alt"]],template:function(s,n){if(1&s&&(e.j41(0,"div",0),e.nVh(1,pn,4,4,"div",1),e.nVh(2,un,3,0,"div",2),e.k0s()),2&s){let O,Q;e.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl-tooltip-carousel":"ltr-tooltip-carousel"),e.R7$(),e.vxM((null==(O=n.carouselElement())?null:O.length)>1?1:-1),e.R7$(),e.vxM(1===(null==(Q=n.carouselElement())?null:Q.length)?2:-1)}},dependencies:[G.YU,Rt.d],styles:[".tooltip-carousel[_ngcontent-%COMP%]{max-width:100%}"]})}}return a})();const hn=a=>({"is-vis-id":a});function _n(a,N){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text1"])}}function Cn(a,N){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text7"])}}function fn(a,N){if(1&a&&(e.j41(0,"li"),e.EFF(1),e.j41(2,"p"),e.EFF(3),e.j41(4,"span",2),e.EFF(5),e.k0s()()()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text8"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text11"]," ")}}function Pn(a,N){if(1&a&&(e.j41(0,"li"),e.EFF(1),e.j41(2,"p"),e.EFF(3),e.j41(4,"span",2),e.EFF(5),e.k0s()()()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_PFinder_ErrorMessage_Text_13"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_PFinder_ErrorMessage_Text_14"]," ")}}function bn(a,N){if(1&a&&(e.j41(0,"li")(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"p"),e.EFF(4),e.j41(5,"span",2),e.EFF(6),e.k0s()()()),2&a){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text10"]),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text4"]," ")}}function vn(a,N){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text2"])}}function Mn(a,N){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text10"])}}
1function On(a,N){if(1&a&&(e.j41(0,"li"),e.nVh(1,vn,2,1,"span"),e.nVh(2,Mn,2,1,"span"),e.j41(3,"p"),e.EFF(4),e.j41(5,"span",2),e.EFF(6),e.k0s()()()),2&a){const t=e.XpG();e.R7$(),e.vxM("addDevice"===t.productSelectionCompConfig().pageName||"printerSetupLanding"===t.productSelectionCompConfig().pageName?1:-1),e.R7$(),e.vxM("addDevice"!==t.productSelectionCompConfig().pageName&&"printerSetupLanding"!==t.productSelectionCompConfig().pageName?2:-1),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text4"]," ")}}function xn(a,N){if(1&a&&(e.j41(0,"li"),e.EFF(1),e.j41(2,"p"),e.EFF(3),e.j41(4,"span",2),e.EFF(5),e.k0s()()()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text5"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text6"]," ")}}function Sn(a,N){if(1&a&&(e.j41(0,"li"),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Add_Device_Serial_Number_Error"]," ")}}let St=(()=>{class a{constructor(t,s){this.appSelectorStore=t,this.pageService=s,this.productSelectionCompConfig=(0,d.hFB)(null),this.allTranslations=(0,h.vPA)({}),this.destroySubject$=new _.B,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal())}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>this.allTranslations.set(t))}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(ae.q),e.rXU(J.b))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-pfinder-error"]],inputs:{productSelectionCompConfig:[1,"productSelectionCompConfig"]},decls:15,vars:13,consts:[[3,"ngClass"],[1,"pfinder-error-content",3,"ngClass"],[1,"example-text"]],template:function(s,n){1&s&&(e.j41(0,"div",0)(1,"div",1)(2,"div")(3,"p"),e.EFF(4),e.k0s(),e.j41(5,"ul")(6,"li"),e.nVh(7,_n,2,1,"span"),e.nVh(8,Cn,2,1,"span"),e.k0s(),e.nVh(9,fn,6,3,"li"),e.nVh(10,Pn,6,3,"li"),e.nVh(11,bn,7,3,"li"),e.nVh(12,On,7,4,"li"),e.nVh(13,xn,6,3,"li"),e.nVh(14,Sn,2,1,"li"),e.k0s()()()()),2&s&&(e.Y8G("ngClass",e.eq3(11,hn,n.pageConfig().isVisIdEnabled)),e.R7$(),e.Y8G("ngClass","rtl"===n.productSelectionCompConfig().languageDirection?"rtl-error-content":"ltr-error-content"),e.R7$(3),e.SpI(" ",n.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Heading"]," "),e.R7$(3),e.vxM(n.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:7),e.R7$(),e.vxM(!n.productSelectionCompConfig().productFinderConfig.solutionIntentType||"printer"!==n.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"computer"!==n.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:8),e.R7$(),e.vxM("addDevice"!==n.productSelectionCompConfig().pageName&&"printerSetupLanding"!==n.productSelectionCompConfig().pageName&&"topicPage"!==n.productSelectionCompConfig().pageName&&"contact"!==n.productSelectionCompConfig().pageName?9:-1),e.R7$(),e.vxM("topicPage"!==n.productSelectionCompConfig().pageName||!n.productSelectionCompConfig().productFinderConfig.solutionIntentType||"printer"!==n.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"computer"!==n.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:10),e.R7$(),e.vxM("topicPage"!==n.productSelectionCompConfig().pageName||!n.productSelectionCompConfig().productFinderConfig.solutionIntentType||"printer"!==n.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"computer"!==n.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:11),e.R7$(),e.vxM(n.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:12),e.R7$(),e.vxM("computer"!==n.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"addDevice"!==n.productSelectionCompConfig().pageName&&"printerSetupLanding"!==n.productSelectionCompConfig().pageName?13:-1),e.R7$(),e.vxM("addDevice"===n.productSelectionCompConfig().pageName?14:-1))},dependencies:[G.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.pfinder-error-content[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:400;line-height:1.25;color:#000;padding-bottom:63px;padding-bottom:15px!important}.pfinder-error-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:3px;color:#000}.pfinder-error-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:30px}.pfinder-error-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc;font-family:HPSimplifiedLight;font-size:16px;font-weight:400;line-height:1.25;color:#000}.pfinder-error-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span.example-text[_ngcontent-%COMP%]{font-weight:700}.pfinder-error-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;color:#0171ad}.pfinder-error-content.rtl-error-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:0;padding-right:30px}.is-vis-id[_ngcontent-%COMP%]   .pfinder-error-content[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/warning-icon.svg);background-repeat:no-repeat;background-size:20px 20px;padding-left:44px;background-position:1px 2px;padding-bottom:0!important;margin-bottom:40px;font-size:16px}.is-vis-id[_ngcontent-%COMP%]   .pfinder-error-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#000}.is-vis-id[_ngcontent-%COMP%]   .pfinder-error-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .example-text[_ngcontent-%COMP%]{font-weight:400}.is-vis-id[_ngcontent-%COMP%]   .rtl-error-content[_ngcontent-%COMP%]   .pfinder-error-content[_ngcontent-%COMP%]{padding-left:0;padding-right:44px;background-position:right 2px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%]   .pfinder-error-content[_ngcontent-%COMP%]{background:#fff;padding-left:0}}"]})}}return a})();var Dn=i(1581),Tn=i(39739),je=i(49074),yn=i(52735),wn=i(72433);const En=a=>({"is-vis-id":a}),It=a=>({"carousel-heading":a});function Nn(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-pfinder-error",1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Y8G("productSelectionCompConfig",t.productSelectionCompConfig())}}function Rn(a,N){if(1&a&&(e.j41(0,"h3",2),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2).$implicit;e.Y8G("ngClass",e.eq3(2,It,"Carousel"===t.toolTipType&&t.carouselElement)),e.R7$(),e.JRh(t.toolTipHeading)}}function In(a,N){if(1&a){const t=e.RV6();e.j41(0,"a",5),e.bIt("click",function(){h.eBV(t);const n=e.XpG().$implicit,O=e.XpG(3).$implicit,Q=e.XpG(2);return h.Njj(Q.linkClickEvent(n,O.deviceType))}),e.j41(1,"span"),e.EFF(2),e.k0s()()}if(2&a){const t=e.XpG().$implicit;e.Y8G("title",e.mNQ(t.supportLink_Text))("id",e.mNQ(t.supportLink_Anrid)),e.R7$(2),e.JRh(t.supportLink_Text)}}function Fn(a,N){if(1&a&&(e.j41(0,"li"),e.nVh(1,In,3,5,"a",4),e.k0s()),2&a){const t=N.$implicit;e.R7$(),e.vxM(t.supportLink_Text?1:-1)}}function An(a,N){if(1&a&&(e.j41(0,"ul"),e.Z7z(1,Fn,2,1,"li",null,e.fX1),e.k0s()),2&a){const t=e.XpG(2).$implicit;e.R7$(),e.Dyx(t.supportLinkElement)}}function Ln(a,N){if(1&a&&e.nrm(0,"app-tooltip-carousel",3),2&a){const t=e.XpG(2).$implicit;e.Y8G("carouselElement",t.carouselElement)}}function Bn(a,N){if(1&a&&(e.j41(0,"h3",2),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2).$implicit;e.Y8G("ngClass",e.eq3(2,It,"Carousel"===t.toolTipType&&t.carouselElement)),e.R7$(),e.JRh(t.toolTipHeading)}}function kn(a,N){if(1&a&&(e.j41(0,"div"),e.nVh(1,Rn,2,4,"h3",2),e.nVh(2,An,3,0,"ul"),e.nVh(3,Ln,1,1,"app-tooltip-carousel",3),e.nVh(4,Bn,2,4,"h3",2),e.k0s()),2&a){const t=e.XpG().$implicit,s=e.XpG(2);e.R7$(),e.vxM(!s.pageConfig().isVisIdEnabled||s.pageConfig().isMobile||"Carousel"!==t.toolTipType?1:-1),e.R7$(),e.vxM("Support links"===t.toolTipType&&t.supportLinkElement?2:-1),e.R7$(),e.vxM("Carousel"===t.toolTipType&&t.carouselElement&&"Carousel"===t.toolTipType?3:-1),e.R7$(),e.vxM(s.pageConfig().isVisIdEnabled&&!s.pageConfig().isMobile&&"Carousel"===t.toolTipType?4:-1)}}function jn(a,N){if(1&a&&(e.j41(0,"div"),e.nVh(1,kn,5,4,"div"),e.k0s()),2&a){const t=N.$implicit,s=e.XpG(2);e.R7$(),e.vxM(t.deviceType===s.selectedProduct()?1:-1)}}function $n(a,N){if(1&a&&(e.j41(0,"div"),e.Z7z(1,jn,2,1,"div",null,e.fX1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Dyx(t.productData())}}let Dt=(()=>{class a{constructor(t,s,n,O,Q,ie,_e){this.modalService=t,this.appSelectorStore=s,this.translationService=n,this.pageService=O,this.videoService=Q,this.destroyRef=ie,this.document=_e,this.selectedProduct=(0,d.hFB)(null),this.productData=(0,d.hFB)(null),this.productSelectionCompConfig=(0,d.hFB)(null),this.allTranslations=(0,h.vPA)({}),this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.window=this.document.defaultView}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>this.allTranslations.set(t))}showModal(t,s){if("video"===t?.supportLink_Type&&t?.supportLink)new RegExp("CID.*","i").test(t.supportLink)&&this.videoService.getVideoDetails([t.supportLink]).subscribe(O=>{const Q=O[t.supportLink];if(Q){const ie={title:Q?.title,description:Q?.description,video_id:Q?.isBrightcoveVideo?Q?.bcId:Q?.streamingId,showBrightcoveVideo:Q?.isBrightcoveVideo,height:"100%",width:"100%",SwdDriverVideoComponent:this.window.location.pathname.includes("/drivers/"),hideDescription:!0};this.modalService.open(Dn.H,{backdropClass:"customBackdrop",windowClass:"app-modal-window",size:"lg"}).componentInstance.videoData.set(ie)}});else{const n=this.modalService.open(Tn.K,{size:"lg",keyboard:!0});n.componentInstance.productType.set(s),n.componentInstance.modalInfo.set(t.supportLink_Modal?t.supportLink_Modal:null),n.componentInstance.modalData.set(t),n.componentInstance.allTranslations.set(this.allTranslations())}}linkClickEvent(t,s){"modal"===t?.supportLink_Type||"video"===t?.supportLink_Type?this.showModal(t,s):"link"===t.supportLink_Type&&this.translationService.redirectToDocPage(t)}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(de.Bq),e.rXU(ae.q),e.rXU(yn.L),e.rXU(J.b),e.rXU(wn.r),e.rXU(h.abz),e.rXU(h.qQL))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-find-product-info"]],inputs:{selectedProduct:[1,"selectedProduct"],productData:[1,"productData"],productSelectionCompConfig:[1,"productSelectionCompConfig"]},decls:3,vars:5,consts:[[1,"find-product-info",3,"ngClass"],[3,"productSelectionCompConfig"],[3,"ngClass"],[3,"carouselElement"],["href","javascript:void(0)",3,"title","id"],["href","javascript:void(0)",3,"click","title","id"]],template:function(s,n){1&s&&(e.nVh(0,Nn,2,1,"div"),e.j41(1,"div",0),e.nVh(2,$n,3,0,"div"),e.k0s()),2&s&&(e.vxM((n.productSelectionCompConfig().searchQueryConfigObj.notValidSearchQuery||n.productSelectionCompConfig().searchQueryConfigObj.notValidSN||n.productSelectionCompConfig().searchQueryConfigObj.invalidProductNumber||n.productSelectionCompConfig().searchQueryConfigObj.notValidQuery)&&n.productData()&&1===n.productData().length?0:-1),e.R7$(),e.Y8G("ngClass",e.eq3(3,En,n.pageConfig().isVisIdEnabled)),e.R7$(),e.vxM(n.productData()?2:-1))},dependencies:[St,G.YU,mn],styles:[".find-product-info[_ngcontent-%COMP%]{margin-left:0}.find-product-info[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.25;color:#000;padding-bottom:5px}.find-product-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;margin-bottom:12px}.is-vis-id.find-product-info[_ngcontent-%COMP%]{margin-left:0}.is-vis-id.find-product-info[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:300;line-height:25px;color:#000}.is-vis-id.find-product-info[_ngcontent-%COMP%]   h3.carousel-heading[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#737373;margin-bottom:11px;margin-top:15px;text-align:center}.is-vis-id.find-product-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:-12px}.is-vis-id.find-product-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;text-decoration:underline;margin-bottom:4px;padding:4px 12px;border:2px solid transparent}.is-vis-id.find-product-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}"]})}}return a})();var Ft=i(96114);const Un=a=>({"is-vis-id":a}),Vn=(a,N)=>({"rtl-product-info":a,hideProductList:N}),Gn=a=>({data:a});function Wn(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-pfinder-error",3),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Y8G("productSelectionCompConfig",t.productSelectionCompConfig())}}function Hn(a,N){1&a&&e.eu8(0)}function Xn(a,N){if(1&a&&(e.j41(0,"div",2)(1,"ul",4),e.DNE(2,Hn,1,0,"ng-container",5),e.k0s()()),2&a){let t;const s=e.XpG(),n=e.sdS(4);e.Y8G("ngClass",e.l_i(3,Vn,"rtl"===s.pageConfig().languageDirection,"swdLanding"===(null==(t=s.productSelectionCompConfig())?null:t.pageName))),e.R7$(2),e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.eq3(6,Gn,s.productData()))}}function zn(a,N){if(1&a){const t=e.RV6();e.j41(0,"li")(1,"a",6),e.bIt("mouseover",function(){const n=h.eBV(t).$index,O=e.XpG(2);return h.Njj(O.setIconHovered(n,!0))})("mouseout",function(){const n=h.eBV(t).$index,O=e.XpG(2);return h.Njj(O.setIconHovered(n,!1))})("click",function(){const n=h.eBV(t).$implicit,O=e.XpG(2);return h.Njj(O.productIconClickEvent(n))}),e.nrm(2,"img",7)(3,"img",8),e.k0s()()}if(2&a){const t=N.$implicit,s=N.$index,n=e.XpG(2);e.R7$(),e.Y8G("id",e.ai1("",n.productSelectionCompConfig().pageName,"_horz_tooltip",t.anrid))("title",e.mNQ(t.toolTipTitle)),e.R7$(),e.Y8G("src",n.iconHovered()[s]||n.selectedProduct()===t.deviceType?null==t?null:t.imageHover:null==t?null:t.image,e.B4B),e.R7$(),e.Y8G("src",null==t?null:t.image,e.B4B)}}function Kn(a,N){if(1&a&&(e.qex(0),e.Z7z(1,zn,4,7,"li",null,e.fX1),e.nI1(3,"orderBy"),e.bVm()),2&a){const t=N.data;e.R7$(),e.Dyx(e.i5U(3,0,t,"order"))}}function Yn(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",9),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Y8G("selectedProduct",t.productData().length>1?t.selectedProduct():t.productData()[0].deviceType)("productData",t.productData())("productSelectionCompConfig",t.productSelectionCompConfig())}}let Qn=(()=>{class a{constructor(t,s,n){this.pageService=t,this.productFinderService=s,this.deviceSearchService=n,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.productData=(0,d.hFB)(null),this.selectedProduct=(0,d.geq)(),this.productSelectionCompConfig=(0,d.hFB)(null),this.iconHovered=(0,h.vPA)([!1,!1]),this.customIconAray=(0,h.vPA)(null)}ngOnInit(){}productIconClickEvent(t){this.selectedProduct.set(t.deviceType);const s=this.selectedProduct();this.productFinderService.deviceTypeSelected.next(s),this.productFinderService.clearQuerySearch.next(!0);const n=this.productSelectionCompConfig();this.productFinderService.errorContent.next({id:n?.pageName??"",value:!1}),this.deviceSearchService.invalidSearchQuery.next({id:n?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:n?.pageName??"",value:!1}),this.deviceSearchService.notValidProductNumber.next({id:n?.pageName??"",value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:n?.pageName??"",value:!1}),this.productFinderService.onProductSelection(s,n.productFinderConfig),this.productFinderService.updateConfigObj(n.productFinderConfig)}setIconHovered(t,s){const O=[...this.iconHovered()];O[t]=s,this.iconHovered.set(O)}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(P.h),e.rXU(Ue.k))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-product-info"]],inputs:{productData:[1,"productData"],selectedProduct:[1,"selectedProduct"],productSelectionCompConfig:[1,"productSelectionCompConfig"]},outputs:{selectedProduct:"selectedProductChange"},decls:6,vars:6,consts:[["IconListTemplate",""],[3,"ngClass"],[1,"product-info",3,"ngClass"],[3,"productSelectionCompConfig"],[1,"product-list"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["href","javascript:void(0)",3,"mouseover","mouseout","click","id","title"],["alt","icon image","width","30","height","30",3,"src"],["alt","icon image","width","30","height","30",2,"display","none",3,"src"],[3,"selectedProduct","productData","productSelectionCompConfig"]],template:function(s,n){1&s&&(e.j41(0,"div",1),e.nVh(1,Wn,2,1,"div"),e.nVh(2,Xn,3,8,"div",2),e.k0s(),e.DNE(3,Kn,4,3,"ng-template",null,0,e.C5r),e.nVh(5,Yn,2,3,"div")),2&s&&(e.Y8G("ngClass",e.eq3(4,Un,n.pageConfig().isVisIdEnabled)),e.R7$(),e.vxM(n.productSelectionCompConfig().searchQueryConfigObj.notValidQuery||n.productSelectionCompConfig().searchQueryConfigObj.notValidSearchQuery||n.productSelectionCompConfig().searchQueryConfigObj.notValidSN||n.productSelectionCompConfig().searchQueryConfigObj.invalidProductNumber?1:-1),e.R7$(),e.vxM(n.productData()&&n.productData().length>1?2:-1),e.R7$(3),e.vxM(n.productData()?5:-1))},dependencies:[G.YU,St,G.T3,Dt,Ft.Q],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.product-info[_ngcontent-%COMP%]{height:30px;margin-bottom:21px}.product-info[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]{display:flex;flex:1}.product-info[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:30px;margin-right:9px}.product-info[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block}.product-info[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .no-display[_ngcontent-%COMP%]{display:none}.product-info[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-right:0}.product-info.rtl-product-info[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-right:0}.product-info.rtl-product-info[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-right:9px}.is-vis-id[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:16px}.is-vis-id[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border:2px solid transparent}.is-vis-id[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:28px}}"]})}}return a})();const Jn=a=>({"is-vis-id":a}),Zn=(a,N)=>({data:a,pageName:N});
1function qn(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-pfinder-error",3),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Y8G("productSelectionCompConfig",t.productSelectionCompConfig())}}function eo(a,N){1&a&&e.eu8(0)}function to(a,N){if(1&a&&(e.j41(0,"div",2)(1,"p",4),e.EFF(2),e.k0s(),e.j41(3,"ul",5),e.DNE(4,eo,1,0,"ng-container",6),e.k0s()()),2&a){const t=e.XpG(),s=e.sdS(5);e.Y8G("ngClass","rtl"===t.pageConfig().languageDirection?"rtl-product-selection-section":"ltr-product-selection-section"),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Selection_Heading"]),e.R7$(2),e.Y8G("ngTemplateOutlet",s)("ngTemplateOutletContext",e.l_i(4,Zn,t.productData(),t.productSelectionCompConfig().pageName))}}function no(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-product-info",7),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Y8G("productData",t.productData())("selectedProduct",t.selectedProduct())("productSelectionCompConfig",t.productSelectionCompConfig())}}function oo(a,N){if(1&a){const t=e.RV6();e.j41(0,"li")(1,"a",8),e.bIt("mouseover",function(){const n=h.eBV(t).$index,O=e.XpG(2);return h.Njj(O.setIconHovered(n,!0))})("mouseout",function(){const n=h.eBV(t).$index,O=e.XpG(2);return h.Njj(O.setIconHovered(n,!1))})("click",function(){const n=h.eBV(t).$implicit,O=e.XpG(2);return h.Njj(O.productSelection(n.deviceType))}),e.nrm(2,"img",9)(3,"img",10),e.j41(4,"span",11),e.EFF(5),e.k0s()()()}if(2&a){const t=N.$implicit,s=N.$index,n=e.XpG().pageName,O=e.XpG();e.R7$(),e.Y8G("id",e.ai1("",n,"_vert_tooltip",t.anrid))("title",e.mNQ(t.toolTipTitle)),e.R7$(),e.Y8G("src",O.iconHovered()[s]?null==t?null:t.imageHover:null==t?null:t.image,e.B4B),e.R7$(),e.Y8G("src",null==t?null:t.imageHover,e.B4B),e.R7$(2),e.JRh(t.toolTipTitle)}}function io(a,N){if(1&a&&(e.qex(0),e.Z7z(1,oo,6,8,"li",null,e.fX1),e.nI1(3,"orderBy"),e.bVm()),2&a){const t=N.data;e.R7$(),e.Dyx(e.i5U(3,0,t,"order"))}}let At=(()=>{class a{constructor(t,s,n,O){this.pageService=t,this.productSelectionService=s,this.productFinderService=n,this.deviceSearchService=O,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.iconClickEvent=(0,d.CGW)(),this.productData=(0,d.hFB)(null),this.allTranslations=(0,d.hFB)({}),this.productSelectionCompConfig=(0,d.hFB)(null),this.destroySubject$=new _.B,this.iconHovered=(0,h.vPA)([!1,!1]),this.initialProductSelection=(0,h.vPA)(!0),this.selectedProduct=(0,h.vPA)("")}ngOnInit(){this.observableSubsvriber();const t=this.productSelectionCompConfig();"swdLanding"===t?.pageName&&t?.deviceSelected&&this.productSelection(t?.deviceSelected)}productSelection(t){this.productSelectionService.selectedProduct(t);const s=this.productSelectionCompConfig();this.productFinderService.errorContent.next({id:s?.pageName??"",value:!1}),this.deviceSearchService.invalidSearchQuery.next({id:s?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:s?.pageName??"",value:!1}),this.deviceSearchService.notValidProductNumber.next({id:s?.pageName??"",value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:s?.pageName??"",value:!1}),this.iconClickEvent.emit(t),this.productSelectionService.getDisplayHorIconStatus().pipe((0,o.Q)(this.destroySubject$)).subscribe(n=>{"boolean"==typeof n&&this.initialProductSelection.set(n)}),this.deviceSearchService.invalidSearchQuery.next({id:s?.pageName??"",value:!1}),this.deviceSearchService.notValidProductNumber.next({id:s?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:s?.pageName??"",value:!1})}observableSubsvriber(){this.productSelectionService.getProductSelected().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>{this.selectedProduct.set(t)})}setIconHovered(t,s){const O=[...this.iconHovered()];O[t]=s,this.iconHovered.set(O)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(c.z),e.rXU(P.h),e.rXU(Ue.k))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-product-selection"]],inputs:{productData:[1,"productData"],allTranslations:[1,"allTranslations"],productSelectionCompConfig:[1,"productSelectionCompConfig"]},outputs:{iconClickEvent:"iconClickEvent"},decls:6,vars:6,consts:[["IconList",""],[3,"ngClass"],[1,"product-selection-section",3,"ngClass"],[3,"productSelectionCompConfig"],[1,"heading-text"],[1,"product-list"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"productData","selectedProduct","productSelectionCompConfig"],["href","javascript:void(0)",3,"mouseover","mouseout","click","id","title"],["alt","icon image","width","30","height","30",3,"src"],["alt","icon image","width","30","height","30",2,"display","none",3,"src"],["aria-hidden","true"]],template:function(s,n){1&s&&(e.j41(0,"div",1),e.nVh(1,qn,2,1,"div"),e.nVh(2,to,5,7,"div",2),e.nVh(3,no,2,3,"div"),e.k0s(),e.DNE(4,io,4,3,"ng-template",null,0,e.C5r)),2&s&&(e.Y8G("ngClass",e.eq3(4,Jn,n.pageConfig().isVisIdEnabled)),e.R7$(),e.vxM((n.productSelectionCompConfig().searchQueryConfigObj.notValidQuery||n.productSelectionCompConfig().searchQueryConfigObj.notValidSearchQuery||n.productSelectionCompConfig().searchQueryConfigObj.invalidProductNumber||n.productSelectionCompConfig().searchQueryConfigObj.notValidSN)&&n.initialProductSelection()?1:-1),e.R7$(),e.vxM(n.initialProductSelection()?2:-1),e.R7$(),e.vxM(!n.initialProductSelection()&&n.productData()?3:-1))},dependencies:[G.YU,St,G.T3,Qn,Ft.Q],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.product-selection-section[_ngcontent-%COMP%]   p.heading-text[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.25;color:#000;margin-bottom:13px}.product-selection-section[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]{margin-left:1px}.product-selection-section[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-bottom:5px}.product-selection-section[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:30px;width:auto;display:inline-block}.product-selection-section[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:10px;width:40px}.product-selection-section[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%]{margin-bottom:0}.rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%]   ul.product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}.is-vis-id[_ngcontent-%COMP%]   .product-selection-section[_ngcontent-%COMP%]   .heading-text[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:300;line-height:1.25;color:#000;margin-bottom:20px}.is-vis-id[_ngcontent-%COMP%]   .product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:0;margin-bottom:2px;margin-left:-12px}.is-vis-id[_ngcontent-%COMP%]   .product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.is-vis-id[_ngcontent-%COMP%]   .product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border:2px solid transparent;padding:4px 12px}.is-vis-id[_ngcontent-%COMP%]   .product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:0;width:30px;height:30px}.is-vis-id[_ngcontent-%COMP%]   .product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;padding-left:8px;line-height:1.2;text-decoration:underline}.is-vis-id[_ngcontent-%COMP%]   .product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%]   .rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:0;padding-left:8px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%]   .rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:0;margin-bottom:2px}.is-vis-id[_ngcontent-%COMP%]   .rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%]   .product-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}}"]})}}return a})();var ao=i(97561),ro=i(38225);const so=a=>({"is-vis-id":a}),lo=(a,N)=>[a,N];
1function co(a,N){if(1&a&&(e.j41(0,"span",3),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.Y8G("title",t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text2"]),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text2"])}}function po(a,N){if(1&a&&(e.j41(0,"span",3),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.Y8G("title",t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text1"]),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text1"])}}let Lt=(()=>{class a{constructor(t,s,n){this.productDetectService=t,this.globalDataService=s,this.pageService=n,this.allTranslations=(0,d.hFB)({}),this.DMDlayoutConfig=(0,d.hFB)(null),this.pageName=(0,d.hFB)(""),this.findOutMoreLink=(0,d.hFB)(""),this.withServiceDD=(0,d.hFB)(!1),this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.SSFWpdJs=(0,h.vPA)(""),this.SSFCommonJs=(0,h.vPA)("")}ngOnInit(){this.productDetectService.getDownloadSSFUrlFromSSC().subscribe(t=>{(0,W.A)(t)||(this.SSFWpdJs.set(t.SSFWpdJs),this.SSFCommonJs.set(t.SSFCommonJs))})}navigateToDetectDevice(){const t=this.globalDataService.getWindowGlobalData();this.productDetectService.setPrevTemplateName(t?.Template||""),this.productDetectService.onDetectBtnClick(this.SSFCommonJs(),this.SSFWpdJs())}getClass(t){return"top"===t?"blue-cta":"bottom"===t?"white-cta":void 0}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(ro.S),e.rXU(b.a),e.rXU(J.b))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-device-detector"]],inputs:{allTranslations:[1,"allTranslations"],DMDlayoutConfig:[1,"DMDlayoutConfig"],pageName:[1,"pageName"],findOutMoreLink:[1,"findOutMoreLink"],withServiceDD:[1,"withServiceDD"]},decls:10,vars:15,consts:[[3,"ngClass"],[1,"device-detector-box",3,"ngClass"],["type","button","id","detect-now",3,"click","ngClass"],[3,"title"],["id","FindOutMore","target","_blank",1,"mL28","mob-mL10","find-more-link","arrow-link",3,"href","title"],["aria-hidden","true"],["id","hpDetectButton","hidden","hidden",1,"hpwpdButton"]],template:function(s,n){1&s&&(e.j41(0,"div",0)(1,"div",1)(2,"button",2),e.bIt("click",function(){return n.navigateToDetectDevice()}),e.nVh(3,co,2,2,"span",3),e.nVh(4,po,2,2,"span",3),e.k0s(),e.j41(5,"div")(6,"a",4)(7,"span",5),e.EFF(8),e.k0s()()()()(),e.nrm(9,"div",6)),2&s&&(e.Y8G("ngClass",e.eq3(10,so,n.pageConfig().isVisIdEnabled)),e.R7$(),e.Y8G("ngClass",e.l_i(12,lo,n.DMDlayoutConfig().position,n.withServiceDD()?"withServiceDD":"")),e.R7$(),e.Y8G("ngClass",n.getClass(n.DMDlayoutConfig().position)),e.R7$(),e.vxM("top"===n.DMDlayoutConfig().position?3:-1),e.R7$(),e.vxM("bottom"===n.DMDlayoutConfig().position?4:-1),e.R7$(2),e.Y8G("href",n.findOutMoreLink(),e.B4B)("title",n.allTranslations()["#pps_WCC_FS_HomeHP_Find_More_Text"]),e.R7$(2),e.SpI(" ",n.allTranslations()["#pps_WCC_FS_HomeHP_Find_More_Text"]," "),e.R7$(),e.BMQ("hpwpdContext","Home")("hpwpdSource","Portal"))},dependencies:[G.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.device-detector-box[_ngcontent-%COMP%]{display:flex}.device-detector-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{overflow:hidden}.device-detector-box[_ngcontent-%COMP%]   button.blue-cta[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:33px;color:#fff;height:33px;background-color:#165dba;outline:none;max-width:250px;line-height:18px}.device-detector-box[_ngcontent-%COMP%]   button.blue-cta[_ngcontent-%COMP%]:active{background-color:#0c2e5c}.device-detector-box[_ngcontent-%COMP%]   button.blue-cta[_ngcontent-%COMP%]:focus{box-shadow:0 0 8px #0096d6;color:#fff}.device-detector-box[_ngcontent-%COMP%]   button.blue-cta[_ngcontent-%COMP%]:hover{background-color:#114284}.device-detector-box[_ngcontent-%COMP%]   button.blue-cta[_ngcontent-%COMP%]:disabled{background-color:#ccc}.device-detector-box[_ngcontent-%COMP%]   button.white-cta[_ngcontent-%COMP%]{background-color:#fff;height:33px;border:1px solid #165DBA;border-radius:4px;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:0px;color:#165dba;max-width:270px;line-height:18px}.device-detector-box[_ngcontent-%COMP%]   button.white-cta[_ngcontent-%COMP%]:hover{color:#114284;border:1px solid #114284;background-color:#fff}.device-detector-box[_ngcontent-%COMP%]   button.white-cta[_ngcontent-%COMP%]:focus{color:#165dba;border:1px solid #165DBA;box-shadow:0 0 8px #0096d6;outline:none;background-color:#fff}.device-detector-box[_ngcontent-%COMP%]   button.white-cta[_ngcontent-%COMP%]:active{color:#0c2e5c;border:1px solid #0C2E5C;background-color:#fff}.device-detector-box[_ngcontent-%COMP%]   button.white-cta[_ngcontent-%COMP%]:disabled{border:1px solid #CCCCCC;background-color:#fff}.device-detector-box[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;letter-spacing:.24px}.device-detector-box[_ngcontent-%COMP%]   a.find-more-link[_ngcontent-%COMP%]{line-height:20px;cursor:pointer;margin-top:6px;white-space:nowrap;margin-left:1px}.device-detector-box.top[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:29px}.device-detector-box.top[_ngcontent-%COMP%]   a.find-more-link[_ngcontent-%COMP%]{margin-left:50px!important}.device-detector-box.bottom[_ngcontent-%COMP%]{margin-top:28px;margin-bottom:34px}.device-detector-box.bottom.withServiceDD[_ngcontent-%COMP%]{margin-top:0;margin-bottom:20px}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]{margin-top:0;margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]   button#detect-now[_ngcontent-%COMP%]{border-radius:0;border:1px solid #000000;padding:12px 28px;height:100%;background:#fff;color:#000;max-width:100%;text-wrap:wrap;min-height:48px;outline:0;box-shadow:none}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]   button#detect-now[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#000;
1font-family:Forma DJR UI;font-style:normal;font-weight:400;font-size:16px}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]   button#detect-now[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]   button#detect-now[_ngcontent-%COMP%]:hover{background:#ebf9ff}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]   button#detect-now[_ngcontent-%COMP%]:active{background:#caf3ff}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]   #FindOutMore[_ngcontent-%COMP%]{padding:3px 18px 3px 13px!important;display:inline-block;color:#000;margin-top:9px;border:2px solid transparent}.is-vis-id[_ngcontent-%COMP%]   .device-detector-box[_ngcontent-%COMP%]   #FindOutMore[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.device-detector-box.top[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:0}}"]})}}return a})();var Bt=i(31226),go=i(34487),uo=i(1681);const mo=["content"],ho=["productNumberInputField"],_o=a=>({border:a});
1function Co(a,N){if(1&a){const t=e.RV6();e.j41(0,"a",21),e.bIt("click",function(){h.eBV(t);const n=e.XpG(2);return h.Njj(n.clearSearchField("PN"))}),e.k0s()}}function fo(a,N){if(1&a){const t=e.RV6();e.j41(0,"div",5)(1,"div",14)(2,"p",15)(3,"span",16),e.EFF(4),e.k0s()(),e.j41(5,"div",17)(6,"label",18),e.EFF(7),e.k0s(),e.j41(8,"input",19,1),e.bIt("ngModelChange",function(n){h.eBV(t);const O=e.XpG();return O.productNumberModel.set(n),h.Njj(O.onChangeInput(n,"PN"))})("keydown.enter",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.addDevice())}),e.k0s(),e.nVh(10,Co,1,0,"a",20),e.k0s()()()}if(2&a){const t=e.XpG();e.Y8G("ngClass","rtl"===t.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(4),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text"]),e.R7$(3),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_label2"]),e.R7$(),e.Y8G("placeholder",e.mNQ(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"]))("ngStyle",e.eq3(8,_o,"invalidPN"===t.errorMsg()?"1px solid #bf2026":""))("ngModel",t.productNumberModel()),e.R7$(2),e.vxM(t.productNumberModel()?10:-1)}}function Po(a,N){if(1&a&&(e.j41(0,"div",7)(1,"p"),e.EFF(2),e.k0s()()),2&a){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Name_Error_Text"])}}function bo(a,N){if(1&a&&(e.j41(0,"div",8)(1,"p"),e.EFF(2),e.k0s(),e.j41(3,"p"),e.EFF(4),e.k0s()()),2&a){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function vo(a,N){if(1&a&&(e.j41(0,"div",9)(1,"p"),e.EFF(2),e.k0s()()),2&a){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Mo(a,N){if(1&a&&(e.j41(0,"div",10)(1,"p"),e.EFF(2),e.k0s()()),2&a){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Oo(a,N){if(1&a){const t=e.RV6();e.j41(0,"app-error-modal",22),e.bIt("closeModal",function(){h.eBV(t);const n=e.XpG();return h.Njj(n.closeErrorModal())}),e.k0s()}}var Tt=function(a){return a.SERIAL="SN",a.PRODUCT="PN",a}(Tt||{}),dt=function(a){return a.INVALID_SN_INPUT="invalidSN",a.MULTIPLE_RECORDS="mulitpleRecords",a.INVALID_PN_INPUT="invalidPN",a.INVALID_SN_PN_INPUT="invalidSNPN",a}(dt||{});let xo=(()=>
1{class a{constructor(t,s,n,O,Q,ie,_e,Ne,Ie,ve,Ge,st,yt,wt,Et){this.pageService=t,this.deviceService=s,this.globalDataService=n,this.modalService=O,this.http=Q,this.commonService=ie,this.router=_e,this.authService=Ne,this.commonDevicesService=Ie,this.pfinderService=ve,this.route=Ge,this.contactService=st,this.appSelectorStore=yt,this.searchResultsService=wt,this.store=Et,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.SNMaxLength=10,this.PNMaxLength=2,this.allTranslations=(0,d.geq)({}),this.screenReader=(0,d.hFB)(null),this.pageTemplateData=(0,d.hFB)(null),this.productFinderConfig=(0,d.hFB)({}),this.clcModalRef=(0,d.ebz)("content"),this.productNumberInputField=(0,d.ebz)("productNumberInputField"),this.isMobile=this.deviceService.isMobile(),this.isTablet=this.deviceService.isTablet(),this.buttonDisabled=(0,h.vPA)(!0),this.serialNumberModel=(0,h.vPA)(""),this.productNumberModel=(0,h.vPA)(""),this.errorMsg=(0,h.vPA)(""),this.resetOnTooltipClick=(0,h.vPA)(!1),this.destroySubject$=new _.B,this.destroyTBSubject$=new _.B,this.subscriptionServices=(0,h.vPA)(null),this.allProducts=(0,h.vPA)(null),this.Dashboard=(0,h.vPA)(null),this.selectedVersion=(0,h.vPA)(null),this.enteredSerialNumber=(0,h.vPA)(""),this.enteredProductNumber=(0,h.vPA)(""),this.showProductNumber=(0,h.vPA)(!1),this.contactRedirect=(0,d.hFB)(!1),this.sscKeys=(0,h.vPA)(null),this.polySearchExp=(0,h.vPA)(!1)}ngOnInit(){this.clearQueryOnTooltipSel(),this.getSSCKeys(),this.polySearchExp.set("YES"==this.sscKeys()?.ENABLE_POLY_SEARCH_EXP.toUpperCase())}getSSCKeys(){this.store.select(L.FM).pipe((0,m.$)(t=>!(0,W.A)(t))).subscribe(t=>{this.sscKeys.set(t)})}onChangeInput(t,s){const n=t.length;switch(s){case Tt.SERIAL:let O;this.polySearchExp()&&(O=parseInt(this.sscKeys().PFINDER_SN_MIN_CHAR_LENGTH)??this.SNMaxLength),this.buttonDisabled.set(n<O);break;case Tt.PRODUCT:this.enteredProductNumber.set(this.productNumberModel()),this.buttonDisabled.set(n<this.PNMaxLength);break;default:this.buttonDisabled.set(!0)}}retrieveServiceDetailsByUrl(t){let s=t.split(/\?|\//),n=s[8].split("="),O={modelOid:s[7],productSeriesOID:s[5],productSeriesName:s[4]};return"sku"===n[0]&&(O.sku=n[1]),O}addDevice(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.resetOnTooltipClick.set(!1),this.enteredSerialNumber()?this.isValid()&&this.registerDevice():this.commonService.productSubmitToContactForm.next(this.retrieveServiceDetailsByUrl(this.selectedVersion().redirectUrl))}isValid(){let t=/^[\s]*[a-zA-Z0-9#/-]{2,20}[\s]*$/;if(this.enteredSerialNumber()&&this.commonService.isSerialNumberPattern(this.enteredSerialNumber(),this.sscKeys())){if(this.enteredProductNumber()&&t.test(this.enteredProductNumber()))return!0;if(!this.enteredProductNumber())return!0;this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("PN")}else this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("SN");return!1}displayInvalidInputError(t){"SN"===t?this.errorMsg.set(dt.INVALID_SN_INPUT):"PN"===t?this.errorMsg.set(dt.INVALID_PN_INPUT):"SNPN"===t&&this.errorMsg.set(dt.INVALID_SN_PN_INPUT),this.buttonDisabled.set(!0)}showErrorModal(){this.globalDataService.updateGDL({contact_error:`${this.pageConfig().templateName}_error`},!0),this.modalService.open(this.clcModalRef(),{windowClass:"error-modal-container",size:"lg"})}closeErrorModal(){this.modalService.dismissAll()}clearSearchField(t){this.buttonDisabled.set(!0),setTimeout(()=>{"SN"===t?this.serialNumberModel.set(""):"PN"===t&&this.productNumberModel.set("")},0),this.productNumberInputField()?.nativeElement.focus()}registerDevice(){this.searchResultsService.checkSnPnConflict(this.enteredSerialNumber().trim(),"pdp",this.productNumberModel()?this.productNumberModel().trim():"",!0).then(t=>{if((0,W.A)(t))return;let s={cc:this.pageConfig().cc,lc:this.pageConfig().lc,serialNumber:this.enteredSerialNumber().trim(),productNumber:this.productNumberModel()?this.productNumberModel().trim():"",displayProductNumber:this.productNumberModel()?this.productNumberModel().trim():"",nickName:""};200===t?.data?.verifyResponse?.code&&t?.data?.verifyResponse?.data&&(s.seri
1alNumber=t?.data?.verifyResponse?.data?.serialNumber,s.productNumber=t?.data?.verifyResponse?.data?.altProductNumber,s.displayProductNumber=t?.data?.verifyResponse?.data?.productNumber),this.http.post(g.tl.REGISTER,s).pipe((0,o.Q)(this.destroySubject$)).subscribe(n=>{let O=!1;switch(this.errorMsg.set(""),this.enteredProductNumber.set(""),n?.code){case g.t7.OK:this.commonService.productSubmitToContactForm.next({serialNumber:this.enteredSerialNumber(),...n?.data?.deviceDetails});case g.t7.NOT_ACCEPTABLE:n.message===g.Vj.MULTIPLE_DEVICES?(this.errorMsg.set(dt.MULTIPLE_RECORDS),this.buttonDisabled.set(!0),this.showProductNumber.set(!0)):n.message===g.Vj.INVALID_INPUT?(O=!0,this.displayInvalidInputError("SN")):n.message===g.Vj.DEVICE_ALREADY_REGISTERED?this.commonService.productSubmitToContactForm.next({serialNumber:this.enteredSerialNumber(),...n?.data?.deviceDetails}):n.message===g.Vj.PN_NOT_VALID&&this.displayInvalidInputError("PN");break;case g.t7.NO_CONTENT:n.message===g.Vj.NO_DEVICE_FOUND?this.displayInvalidInputError("SN"):n.message===g.Vj.PN_NOT_MATCHING?this.displayInvalidInputError("PN"):n.message===g.Vj.NO_SN_PN_FOUND&&this.displayInvalidInputError("SNPN"),O=!0;break;case g.t7.INTERNAL_SERVER_ERROR:case g.t7.INVALID_SESSION:this.showErrorModal()}this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:O})},n=>{this.showErrorModal()})},()=>{})}showDeviceExistsModal(t){const s=this.modalService.open(C,{windowClass:"customModalClass",size:"lg"});s.componentInstance.deviceName.set(t.deviceDetails.productName),s.result.then(n=>{"view device"===n&&(this.contactRedirect()?this.redirectContact(t):this.redirectToDeviceView(t))})}redirectToDashboard(){let t=`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard`;this.router.navigate([t])}redirectContact(t){t?.deviceDetails&&(t.deviceDetails.seoFriendlyName=t.deviceDetails.SEOFriendlyName,this.contactService.gotoContactOptions(t.deviceDetails,t.deviceId))}getSubscriptionData(t,s){let n=t.filter(O=>O.serialNumber===s.deviceDetails.serialNumber);this.subscriptionServices.set(n.length?n[0].subscriptionServices:""),this.setContextualParameters(n[0])}redirectToDeviceView(t){let s=this.globalDataService.getWindowGlobalData();s.hasOwnProperty("Dashboard")&&s.Dashboard.Products.length?(this.allProducts.set(s.Dashboard.Products),this.getSubscriptionData(this.allProducts(),t)):this.commonDevicesService.getAllDevices().subscribe(n=>{n?.data?(this.allProducts.set(n.data.deviceList),this.updateGDL(this.allProducts()),this.getSubscriptionData(this.allProducts(),t)):this.showErrorModal()},n=>{this.showErrorModal()})}updateGDL(t){let s;this.authService.userDataSub.pipe((0,o.Q)(this.destroySubject$)).subscribe(n=>{if(!(0,W.A)(n)){s=n;let O=this.commonDevicesService.populateGDLForDashboard(t);!0===s.smartFriend&&(O.SubscriptionServices="SmartFriend"),this.Dashboard.set(O),this.globalDataService.updateGDL({Dashboard:this.Dashboard(),customerState:this.pageConfig().customerState,SmartFriend:s.smartFriend}),this.globalDataService.updateGDL({Flag:{dashboardVisited:!0},customerState:this.pageConfig().customerState,SmartFriend:s.smartFriend},!0)}})}navigateToDeviceView(){this.route.queryParams.pipe((0,T.H)(t=>(this.appSelectorStore.fetchTranslations("dashboard"),this.appSelectorStore.getAllTranslations$()))).pipe((0,o.Q)(this.destroyTBSubject$)).subscribe(t=>{this.allTranslations.set({...this.allTranslations(),...t}),this.router.navigate([`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard/device`])})}setContextualParameters(t){t.contexualURLParameters={userType:this.pageConfig().customerState,deviceSubscription:this.subscriptionServices(),oid:t.productNameOID,sku:t?.altProductNumber||t.productNumber},t.deviceCount=this.allProducts()?this.allProducts().length:0,t.productType=t?.productType||"",t.seriesOid=t?.productSeriesOID||"",t.modelOid=t?.productNameOID||"",this.commonService.componentDataToPass=t,this.navigateToDeviceView()}clearQueryOnTooltipSel(){this.pfinderService.clearQuerySearchField().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>{t&&(this.productNumberModel.set(""),this.serialNumberModel.set(""),this.errorMsg.set(""),this.buttonDisabled.set(!0),this.resetOnTooltipClick.set(!0))})}onServiceSelect(t){this.commonService.resetSerialNumberEntryForm.next(),this.errorMsg.set("")}onVersionSelect(t){this.selectedVersion.set(t)}onSerialNumberChange(t){this.enteredSerialNumber.set(t),this.errorMsg.set(""),""!==t&&this.resetServiceSelection()}resetServiceSelection(){this.commonService.resetServiceSelection.next()}
1isValidSNLen(){if(this.polySearchExp()){let t=this.sscKeys().PFINDER_SN_MIN_CHAR_LENGTH;return this.enteredSerialNumber().length>=parseInt(t)}return this.enteredSerialNumber().length>=10}get submitDisabled(){return!(this.selectedVersion()&&this.selectedVersion().redirectUrl||this.showProductNumber()&&this.enteredProductNumber()||!this.showProductNumber()&&this.enteredSerialNumber()&&this.isValidSNLen())}ngOnDestroy(){this.destroySubject$.next(),this.destroyTBSubject$.next(),this.errorMsg.set(""),this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!1}),this.modalService.dismissAll()}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(ce.Kg),e.rXU(b.a),e.rXU(de.Bq),e.rXU(f.k),e.rXU(R.h),e.rXU(w.Ix),e.rXU(F.u),e.rXU(A.N),e.rXU(P.h),e.rXU(w.nX),e.rXU(E.u),e.rXU(ae.q),e.rXU(Z.Q),e.rXU(Y.il))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-device-service-add-box"]],viewQuery:function(s,n){1&s&&(e.wEZ(n.clcModalRef,mo,5),e.wEZ(n.productNumberInputField,ho,5)),2&s&&e.NyB(2)},inputs:{allTranslations:[1,"allTranslations"],screenReader:[1,"screenReader"],pageTemplateData:[1,"pageTemplateData"],productFinderConfig:[1,"productFinderConfig"],contactRedirect:[1,"contactRedirect"]},outputs:{allTranslations:"allTranslationsChange"},decls:17,vars:18,consts:[["content",""],["productNumberInputField",""],[1,"device-service-add-container"],[1,"master-pfinder","master-pfinder-add-device",3,"ngClass"],["serialNumberTitle","#pps_WCC_FS_Product_finder_label1","productNumberTitle","#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text",3,"serialNumberEmitter","enterPressedEmitter","hideAllSubmit","boldTitle","allTranslations","wrapperClass","pageName"],[1,"master-pfinder","product-finder","product-number-holder",3,"ngClass"],[1,"error-msg"],["aria-live","assertive","role","alert","id","product-number-error",1,"error-invalid-pn"],["aria-live","assertive","role","alert","id","multiple-serial-number-error",1,"error-need-pn"],["aria-live","assertive","role","alert","id","serial-number-error",1,"error-invalid-sn"],["aria-live","assertive","role","alert","id","serial-product-number-error",1,"error-invalid-sn"],[1,"choose-service-section"],[3,"serviceSelected","versionSelected","hideSubmit","wrapperClass","serviceDropdownHeading","versionDropdownHeading"],["type","submit","id","FindMyProduct",1,"btn","primary-button","inlineBtn",3,"click","disabled"],[1,"search-box","product-number-search"],[1,"search-label"],["aria-hidden","true"],[1,"search-input"],["id","product-field-help",1,"sr-only"],["type","text","selectInputText","","aria-describedby","product-number-error","aria-labelledby","product-field-help","maxlength","20",1,"form-control","add-device-input",3,"ngModelChange","keydown.enter","ngStyle","ngModel","placeholder"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click"],[3,"closeModal"]],template:function(s,n){if(1&s){const O=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"app-serial-number-entry",4),e.bIt("serialNumberEmitter",function(ie){return h.eBV(O),h.Njj(n.onSerialNumberChange(ie))})("enterPressedEmitter",function(){return h.eBV(O),h.Njj(n.addDevice())}),e.k0s(),e.nVh(3,fo,11,10,"div",5),e.j41(4,"div",6),e.nVh(5,Po,3,1,"div",7),e.k0s(),e.j41(6,"div",6),e.nVh(7,bo,5,2,"div",8),e.nVh(8,vo,3,1,"div",9),e.nVh(9,Mo,3,1,"div",10),e.k0s(),e.j41(10,"div",11),e.EFF(11),e.j41(12,"app-choose-service",12),e.bIt("serviceSelected",function(ie){return h.eBV(O),h.Njj(n.onServiceSelect(ie))})("versionSelected",function(ie){return h.eBV(O),h.Njj(n.onVersionSelect(ie))}),e.k0s()(),e.j41(13,"button",13),e.bIt("click",function(){return h.eBV(O),h.Njj(n.addDevice())}),e.EFF(14),e.k0s()()(),e.DNE(15,Oo,1,0,"ng-template",null,0,e.C5r)}if(2&s){let O,Q;e.R7$(),e.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.Y8G("hideAllSubmit",!0)("boldTitle",!0)("allTranslations",n.allTranslations())("wrapperClass","deviceServiceStyle")("pageName",n.pageConfig().pageName),e.R7$(),e.vxM("mulitpleRecords"!==n.errorMsg()&&"invalidPN"!==n.errorMsg()||n.resetOnTooltipClick()?-1:3),e.R7$(2),e.vxM(n.resetOnTooltipClick()||"invalidPN"!==n.errorMsg()?-1:5),e.R7$(2),e.vxM(n.resetOnTooltipClick()||"mulitpleRecords"!==n.errorMsg()?-1:7),e.R7$(),e.vxM(n.resetOnTooltipClick()||"invalidSN"!==n.errorMsg()?-1:8),e.R7$(),e.vxM(n.resetOnTooltipClick()||"invalidSNPN"!==n.errorMsg()?-1:9),e.R7$(2),e.SpI(" ",n.pageTemplateData()," "),e.R7$(),e.Y8G("hideSubmit",!0)("wrapperClass","blockView")("serviceDropdownHeading",null==(O=n.pageTemplateData())?null:O.sectionHeader1)("versionDropdownHeading",null==(Q=n.pageTemplateData())?null:Q.sectionHeader2),e.R7$(),e.Y8G("disabled",n.submitDisabled),e.R7$(),e.SpI(" ",n.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}},dependencies:[G.YU,Bt.F,l.YN,l.me,l.BC,l.tU,l.vS,p.R,G.B3,uo.y,u.L],styles:[".pfinder-error-box[_ngcontent-%COMP%]{max-width:386px;width:68%}.pfinder-error-box[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{color:#bf2026;font-size:14px;font-family:HPSimplifiedRegular}h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;padding-bottom:5px}.master-pfinder[_ngcontent-%COMP%]{display:flex;flex:1}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]   p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   label.field-help[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;font-weight:400!important}.master-pfinder[_ngcontent-%COMP%]   p.error-text[_ngcontent-%COMP%]{margin-bottom:0;color:#bf2026}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{width:68%;max-width:403px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:386px;width:91%;position:relative}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-productnumber[_ngcontent-%COMP%]{width:100%;height:40px;font-size:16px;padding:0 36px 0 15px;display:inline}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#searchQueryField[_ngcontent-%COMP%]:invalid, .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#productNumberField[_ngcontent-%COMP%]:invalid{border:1px solid #767676}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input#productNumberField[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .pn-needed-error-text[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:19px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{align-self:flex-end}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{background-color:#ccc}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:96%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{align-self:flex-end;margin-left:13px}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:406px;width:96%}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:13px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%]{padding:0 15px 0 30px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{left:15px;right:unset}@media only screen and (max-width:800px){h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.44;color:#000;margin-top:19px;margin-bottom:16px}p.pfinder-search-label[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.pfinder-error-box[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]{margin-bottom:17px}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   label.field-help[_ngcontent-%COMP%]{font-size:16px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%;max-width:100%}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.form-control[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{height:33px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-bottom:0;word-break:break-all;padding:5px 13px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;width:38px;background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:30px}.master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span.lg-only[_ngcontent-%COMP%]{display:none}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{margin-left:0}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%}.device-add-container[_ngcontent-%COMP%]   .master-pfinder[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:0}}.add-device-box[_ngcontent-%COMP%]{display:flex}.add-device-box[_ngcontent-%COMP%]   .add-device-input[_ngcontent-%COMP%]{width:68%;max-width:403px}.add-device-box[_ngcontent-%COMP%]   .add-device-input[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:7px}.choose-service-section[_ngcontent-%COMP%]{display:inline-block;width:-webkit-fill-available;max-width:400px}.master-pfinder[_ngcontent-%COMP%]{display:block}.master-pfinder[_ngcontent-%COMP%]   .inlineBtn[_ngcontent-%COMP%]{display:inline;margin:20px 0 20px 30px;position:relative;top:-2px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]{right:2px;top:6px}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]:hover, .master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]:focus{text-decoration:none}.master-pfinder.product-finder[_ngcontent-%COMP%]{margin-top:20px}.services-selection-wrapper[_ngcontent-%COMP%]{display:block!important}.services-selection-wrapper[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{width:385px!important}.error-msg[_ngcontent-%COMP%]   .error-invalid-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-need-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-invalid-sn[_ngcontent-%COMP%]{padding-top:7px}.error-msg[_ngcontent-%COMP%]   .error-invalid-pn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-need-pn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%]   .error-invalid-sn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;color:#bf2026;line-height:20px;letter-spacing:.21px;margin-bottom:0;font-size:14px}.product-number-holder[_ngcontent-%COMP%]{display:flex}.product-number-search[_ngcontent-%COMP%]{margin-right:30px}@media(min-width:801px)and (max-width:1199px){.master-pfinder[_ngcontent-%COMP%]   .inlineBtn[_ngcontent-%COMP%]{margin:20px 0}}@media only screen and (max-width:800px){.device-add-container[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]{margin-top:10px!important;margin-bottom:0}.master-pfinder[_ngcontent-%COMP%]   .inlineBtn[_ngcontent-%COMP%]{margin:20px 0;top:0}.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{max-width:403px!important}.master-pfinder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:0}}.rtl.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input.add-device-input[_ngcontent-%COMP%]{padding-right:10px;padding-left:35px}.rtl.master-pfinder[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   a.close-icon[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;right:auto}"]})}}return a})();const So=(a,N)=>({"align-self-center icon-dwn":a,"align-self-center icon-up":N});function Do(a,N){1&a&&e.nrm(0,"img",2)}function To(a,N){1&a&&e.nrm(0,"img",3)}let kt=(()=>{class a{constructor(t){this.pageService=t,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.expanded=(0,d.geq)(!1),this.label=(0,d.hFB)(""),this.wrapperClass=(0,d.hFB)(""),this.toggleId=(0,d.hFB)(""),this.toggle=(0,d.CGW)()}ngOnInit(){}updateToggle(){this.expanded.set(!this.expanded()),this.toggle.emit(this.expanded())}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-toggle"]],inputs:{expanded:[1,"expanded"],label:[1,"label"],wrapperClass:[1,"wrapperClass"],toggleId:[1,"toggleId"]},outputs:{expanded:"expandedChange",toggle:"toggle"},decls:10,vars:13,consts:[[3,"ngClass"],["href","javascript:void(0)",1,"view-all",3,"click","ngClass","id"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/plus.png","alt","Plus icon",1,"icon","align-self-center"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/x.png","alt","cross icon",1,"icon","align-self-center"],[1,"expand-text"],["href","javascript:void(0)",1,"view-all","light-theme-view-all",3,"click","ngClass","id"]],template:function(s,n){1&s&&(e.j41(0,"div",0)(1,"a",1),e.bIt("click",function(){return n.updateToggle()}),e.nVh(2,Do,1,0,"img",2),e.nVh(3,To,1,0,"img",3),e.j41(4,"span",4),e.EFF(5),e.k0s()(),e.j41(6,"a",5),e.bIt("click",function(){return n.updateToggle()}),e.j41(7,"span",4),e.EFF(8),e.k0s(),e.nrm(9,"span",0),e.k0s()()),2&s&&(e.Y8G("ngClass",n.wrapperClass()),e.R7$(),e.Y8G("ngClass",n.pageConfig().languageDirection)("id",n.toggleId()),e.R7$(),e.vxM(n.expanded()?-1:2),e.R7$(),e.vxM(n.expanded()?3:-1),e.R7$(2),e.JRh(n.label()),e.R7$(),e.Y8G("ngClass",n.pageConfig().languageDirection)("id","light-theme-"+n.toggleId()),e.R7$(2),e.JRh(n.label()),e.R7$(),e.Y8G("ngClass",e.l_i(10,So,!n.expanded(),n.expanded())))},dependencies:[G.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.view-all[_ngcontent-%COMP%]{display:flex;margin:0 15px;align-items:center;width:max-content}.view-all[_ngcontent-%COMP%]   .expand-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;margin:0 10px}.view-all[_n
1gcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:28px;width:28px}.light-theme-view-all[_ngcontent-%COMP%]{display:none}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.view-all[_ngcontent-%COMP%]{margin:20px 10px 12px}}"]})}}return a})();const jt=a=>({hideLink:a}),yo=a=>({linkHidden:a});function wo(a,N){if(1&a&&e.nrm(0,"div",2),2&a){let t;const s=e.XpG();e.Y8G("ngClass",e.eq3(1,jt,(null==(t=s.productFinderConfig())?null:t.isLightTheme)&&s.hideToggleLink()))}}function Eo(a,N){if(1&a&&(e.j41(0,"h3",4),e.EFF(1),e.k0s()),2&a){let t;const s=e.XpG(2);e.Y8G("ngClass",e.eq3(2,yo,(null==(t=s.productFinderConfig())?null:t.isLightTheme)&&s.hideToggleLink())),e.R7$(),e.SpI(" ",s.allTranslations()[s.productFinderConfig().addDevice.header]," ")}}function No(a,N){if(1&a&&e.nVh(0,Eo,2,4,"h3",4),2&a){let t;const s=e.XpG();e.vxM(null!=(t=s.productFinderConfig())&&t.isLightTheme&&null!=(t=s.productFinderConfig())&&null!=t.addDevice&&t.addDevice.header?0:-1)}}function Ro(a,N){if(1&a&&e.nrm(0,"app-device-add-box",6),2&a){let t,s;const n=e.XpG(2);e.Y8G("allTranslations",n.allTranslations())("contactRedirect",!0)("swdRedirect","swdMiniDashboard"===(null==(t=n.productFinderConfig())?null:t.pageName))("screenReader",n.isDMDEnable()?n.allTranslations()[n.pfinderText().screenReader]:n.allTranslations()[n.pfinderText().noDMDscreenReader])("isLightTheme",null==(s=n.productFinderConfig())?null:s.isLightTheme)("productFinderConfig",n.productFinderConfig())}}function Io(a,N){if(1&a&&e.nrm(0,"app-device-service-add-box",7),2&a){const t=e.XpG(2);e.Y8G("allTranslations",t.allTranslations())("contactRedirect",!0)("screenReader",t.isDMDEnable()?t.allTranslations()[t.pfinderText().screenReader]:t.allTranslations()[t.pfinderText().noDMDscreenReader])("pageTemplateData",t.pageTemplateData())("productFinderConfig",t.productFinderConfig())}}function Fo(a,N){if(1&a&&(e.j41(0,"div",10),e.nrm(1,"app-device-detector",11),e.k0s()),2&a){let t,s;const n=e.XpG(3);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=n.productFinderConfig())?null:t.deviceDetector)("allTranslations",n.allTranslations())("pageName",null==(s=n.productFinderConfig())?null:s.pageName)("findOutMoreLink",n.findOutMoreLink())("withServiceDD",n.productFinderConfig().serialNumWithServiceSelectionDD.display)}}function Ao(a,N){if(1&a&&(e.j41(0,"div"),e.nVh(1,Fo,2,5,"div",10),e.k0s()),2&a){let t;const s=e.XpG(2);e.R7$(),e.vxM(null!=(t=s.productFinderConfig())&&t.deviceDetector&&null!=(t=s.productFinderConfig())&&null!=t.deviceDetector&&t.deviceDetector.display?1:-1)}}function Lo(a,N){if(1&a&&(e.j41(0,"div",8)(1,"a",12)(2,"span",13),e.EFF(3),e.k0s()()()),2&a){let t,s;const n=e.XpG(2);e.R7$(),e.Y8G("routerLink",e.VkB("/",n.pageConfig().locale,"/contact/help/services"))("title",n.allTranslations()[null==(t=n.productFinderConfig())||null==t.servicesLink?null:t.servicesLink.screenReader]),e.R7$(2),e.JRh(n.allTranslations()[null==(s=n.productFinderConfig())||null==s.servicesLink?null:s.servicesLink.placeHolder])}}function Bo(a,N){if(1&a){const t=e.RV6();e.j41(0,"div")(1,"app-product-selection",14),e.bIt("iconClickEvent",function(n){h.eBV(t);const O=e.XpG(3);return h.Njj(O.productIconClick(n))}),e.k0s()()}if(2&a){const t=e.XpG(),s=e.XpG(2);e.R7$(),e.Y8G("productData",t)("allTranslations",s.allTranslations())("productSelectionCompConfig",s.productSelectionCompConfig())}}
1function ko(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",15),e.k0s()),2&a){const t=e.XpG(),s=e.XpG(2);e.R7$(),e.Y8G("selectedProduct",t[0].deviceType)("productData",t)("productSelectionCompConfig",s.productSelectionCompConfig())}}function jo(a,N){if(1&a&&(e.j41(0,"div",9),e.nVh(1,Bo,2,3,"div"),e.nVh(2,ko,2,3,"div"),e.k0s()),2&a){const t=N;e.R7$(),e.vxM(t&&t.length>1?1:-1),e.R7$(),e.vxM(t&&1===t.length?2:-1)}}function $o(a,N){if(1&a&&(e.j41(0,"div",3)(1,"div",5),e.nVh(2,Ro,1,6,"app-device-add-box",6),e.nVh(3,Io,1,5,"app-device-service-add-box",7),e.nVh(4,Ao,2,1,"div"),e.nVh(5,Lo,4,4,"div",8),e.k0s(),e.nVh(6,jo,3,2,"div",9),e.nI1(7,"async"),e.k0s()),2&a){let t,s;const n=e.XpG();e.R7$(2),e.vxM(n.productFinderConfig().serialNumWithServiceSelectionDD.display?-1:2),e.R7$(),e.vxM(n.productFinderConfig().serialNumWithServiceSelectionDD.display?3:-1),e.R7$(),e.vxM(n.showDMD()?4:-1),e.R7$(),e.vxM(null!=(t=n.productFinderConfig())&&null!=t.servicesLink&&t.servicesLink.display?5:-1),e.R7$(),e.vxM((s=e.bMT(7,5,n.productData$()))?6:-1,s)}}let Uo=(()=>{class a{constructor(t,s,n,O){this.pageService=t,this.productFinderService=s,this.appSelectorStore=n,this.destroyRef=O,this.pFinderExpanded=(0,h.vPA)(!1),this.hideToggleLink=(0,h.vPA)(!1),this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.toggleHeaderText=(0,h.vPA)(null),this.productFinderConfig=(0,d.hFB)(null),this.deviceSelected=(0,d.hFB)(null),this.isDMDEnable=(0,d.hFB)(!1),this.pfinderText=(0,d.hFB)({}),this.allTranslations=(0,d.geq)({}),this.productSelectionCompConfig=(0,d.hFB)(null),this.findOutMoreLink=(0,d.hFB)(""),this.showDMD=(0,d.hFB)(!1),this.productData$=(0,d.hFB)(null),this.pageTemplateData=(0,d.hFB)(null),this.productIconClickEvent=(0,d.CGW)(),this.togglePfinderEvent=(0,d.CGW)()}ngOnInit(){this.appSelectorStore.getAllTranslations$().subscribe(t=>{this.allTranslations.set(t);const s=this.productFinderConfig();this.toggleHeaderText.set(s.addDevice.toggleHeader?this.allTranslations()[s.addDevice.toggleHeader]:this.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Add_New_Product_Text"])}),this.productFinderService.getNoCarouselDevice().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{this.pFinderExpanded.set(t),this.hideToggleLink.set(t),this.togglePfinderEvent.emit(this.pFinderExpanded())})}togglePfinder(){this.pFinderExpanded.set(!this.pFinderExpanded()),this.togglePfinderEvent.emit(this.pFinderExpanded())}productIconClick(t){this.productIconClickEvent.emit(t)}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(P.h),e.rXU(ae.q),e.rXU(h.abz))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-device-add-toggle"]],inputs:{productFinderConfig:[1,"productFinderConfig"],deviceSelected:[1,"deviceSelected"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"],allTranslations:[1,"allTranslations"],productSelectionCompConfig:[1,"productSelectionCompConfig"],findOutMoreLink:[1,"findOutMoreLink"],showDMD:[1,"showDMD"],productData$:[1,"productData$"],pageTemplateData:[1,"pageTemplateData"]},outputs:{allTranslations:"allTranslationsChange",productIconClickEvent:"productIconClickEvent",togglePfinderEvent:"togglePfinderEvent"},decls:5,vars:10,consts:[[1,"device-toggle-wrapper",3,"ngClass"],["toggleId","addproduct",3,"toggle","ngClass","label","expanded","wrapperClass"],[1,"device-toggle-line-separator",3,"ngClass"],[1,"device-add"],[1,"light-theme-formText",3,"ngClass"],[1,"device-add-section"],[3,"allTranslations","contactRedirect","swdRedirect","screenReader","isLightTheme","productFinderConfig"],[3,"allTranslations","contactRedirect","screenReader","pageTemplateData","productFinderConfig"],[1,"services-link"],[1,"help-section-container"],[1,"detect-device-signedin-section"],[3,"DMDlayoutConfig","allTranslations","pageName","findOutMoreLink","withServiceDD"],[3,"routerLink","title"],["aria-hidden","true"],[3,"iconClickEvent","productData","allTranslations","productSelectionCompConfig"],[3,"selectedProduct","productData","productSelectionCompConfig"]],template:function(s,n){if(1&s&&(e.j41(0,"div",0)(1,"app-toggle",1),e.bIt("toggle",function(){return n.togglePfinder()}),e.k0s(),e.nVh(2,wo,1,3,"div",2),e.nVh(3,No,1,1),e.nVh(4,$o,8,7,"div",3),e.k0s()),2&s){let O;e.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.Y8G("ngClass",e.eq3(8,jt,(null==(O=n.productFinderConfig())?null:O.isLightTheme)&&n.hideToggleLink()))("label",n.toggleHeaderText())("expanded",n.pFinderExpanded())("wrapperClass","mt-2"),e.R7$(),e.vxM(n.pFinderExpanded()?2:-1),e.R7$(),e.vxM(n.pFinderExpanded()?3:-1),e.R7$(),e.vxM(n.pFinderExpanded()?4:-1)}},dependencies:[G.YU,kt,M,xo,Lt,go.Wk,At,Dt,G.Jj],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.device-toggle-wrapper[_ngcontent-%COMP%]   .view-all[_ngcontent-%COMP%]{display:flex;margin:0 15px;align-items:center;width:max-content}.device-toggle-wrapper[_ngcontent-%COMP%]   .view-all[_ngcontent-%COMP%]   .expand-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;color:#165dba;margin:0 10px}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]{margin:35px 15px 0;display:flex;flex-direction:row}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]   .device-add-section[_ngcontent-%COMP%]{max-width:595px;width:50%;padding-right:10px}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{width:50%;border-left:1px solid #ccc;padding-left:31px}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]   .services-link[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;margin-top:30px}.rtl.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-right:1px solid #ccc;border-left:none;padding-right:31px;padding-left:0;text-align:right}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.device-toggle-wrapper[_ngcontent-%COMP%]   .view-all[_ngcontent-%COMP%]{margin:0 10px}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]{margin:5px 10px;display:block}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]   .device-add-section[_ngcontent-%COMP%]{max-width:305px;width:100%}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{width:100%;max-width:100%;border-left:none;padding-left:0;border-right:none;padding-top:5px;margin-left:0}.device-toggle-wrapper[_ngcontent-%COMP%]   .device-add[_ngcontent-%COMP%]   .services-link[_ngcontent-%COMP%]{margin-top:20px}}"]})}}return a})();var Vo=i(85237),Go=i(16801),Wo=i(87542),Ho=i(38056),Xo=i(9303);
1function zo(a,N){if(1&a){const t=e.RV6();e.j41(0,"app-toggle",9),e.bIt("toggle",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.viewAllDevices(n))}),e.k0s()}if(2&a){const t=e.XpG();e.Y8G("wrapperClass","d-none d-md-flex mb-3")("label",t.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_View_All_Link_Text"])("expanded",t.carouselExpanded())}}function Ko(a,N){if(1&a&&(e.j41(0,"div",4)(1,"span"),e.EFF(2),e.k0s()()),2&a){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_UCE_Standard_Carousel_No_Product_Header_Text"])}}function Yo(a,N){if(1&a&&(e.j41(0,"div",10),e.nrm(1,"app-device-card",11),e.k0s()),2&a){const t=N.$implicit,s=N.$index,n=e.XpG(2);e.Y8G("id",e.VkB("Minidashboard-Prod",s+1)),e.R7$(),e.Y8G("card",t)("allTranslations",n.allTranslations())}}function Qo(a,N){if(1&a&&(e.j41(0,"div",5),e.Z7z(1,Yo,2,4,"div",10,e.fX1),e.k0s()),2&a){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(),e.Dyx(t.allDeviceData())}}function Jo(a,N){if(1&a&&(e.j41(0,"div",13),e.nrm(1,"app-device-card",11),e.k0s()),2&a){const t=N.$implicit,s=N.$index,n=e.XpG(2);e.Y8G("id",e.VkB("Minidashboard-Prod",s+1)),e.BMQ("data-carousel-slide-index",s),e.R7$(),e.Y8G("card",t)("allTranslations",n.allTranslations())}}function Zo(a,N){if(1&a){const t=e.RV6();e.j41(0,"div",6)(1,"app-slider",12),e.bIt("onSlideChange",function(n){h.eBV(t);const O=e.XpG();return h.Njj(O.onSlideChange(n))}),e.Z7z(2,Jo,2,5,"div",13,e.fX1),e.nI1(4,"slice"),e.k0s()()}if(2&a){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(),e.Y8G("config",t.config())("horizontalNav",!0)("pagination",!1),e.R7$(),e.Dyx(e.brH(4,5,t.allDeviceData(),0,21))}}function qo(a,N){if(1&a&&(e.j41(0,"div",15),e.nrm(1,"app-device-card",11),e.k0s()),2&a){const t=N.$implicit,s=e.XpG(2);e.R7$(),e.Y8G("card",t)("allTranslations",s.allTranslations())}}function ei(a,N){if(1&a&&(e.j41(0,"div",7)(1,"div",14),e.Z7z(2,qo,2,2,"div",15,e.fX1),e.k0s()()),2&a){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(2),e.Dyx(t.allDeviceData())}}function ti(a,N){if(1&a&&(e.j41(0,"div",17),e.nrm(1,"app-device-card",11),e.k0s()),2&a){const t=N.$implicit,s=e.XpG(2);e.R7$(),e.Y8G("card",t)("allTranslations",s.allTranslations())}}function ni(a,N){if(1&a){const t=e.RV6();e.j41(0,"app-toggle",19),e.bIt("toggle",function(n){h.eBV(t);const O=e.XpG(2);return h.Njj(O.viewAllDevices(n))}),e.k0s()}if(2&a){const t=e.XpG(2);e.Y8G("label",t.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_View_All_Link_Text"])("expanded",t.carouselExpanded())}}function oi(a,N){if(1&a&&(e.j41(0,"div",8)(1,"swiper-container",16,0),e.Z7z(3,ti,2,2,"div",17,e.fX1),e.nI1(5,"slice"),e.k0s(),e.nVh(6,ni,1,2,"app-toggle",18),e.k0s()),2&a){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(),e.Y8G("config",t.mobileConfig()),e.R7$(2),e.Dyx(e.brH(5,4,t.allDeviceData(),0,21)),e.R7$(3),e.vxM(t.deviceCount()>21?6:-1)}}let ii=(()=>{class a{constructor(t,s,n,O,Q,ie,_e){this.pageService=t,this.router=s,this.productFinderService=n,this.commonService=O,this.appSelectorStore=Q,this.renderer=ie,this.windowRef=_e,this.carouselExpanded=(0,h.vPA)(!1),this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,h.vPA)({}),this.isMobile=(0,d.hFB)(!1),this.productFinderConfig=(0,d.hFB)(null),this.allDeviceData=(0,h.vPA)([]),this.config=(0,h.vPA)({direction:"horizontal",slidesPerView:3,loop:!0,slidesPerGroup:3,loopAddBlankSlides:!0}),this.mobileConfig=(0,h.vPA)({direction:"vertical",slidesPerView:3,loop:!1,pagination:!1,slidesPerGroup:3,scrollbar:!0,mousewheel:!0,autoHeight:!0}),this.destroySubject$=new _.B,this.formattedUTCOffset=(0,h.vPA)(null),this.deviceCount=(0,h.vPA)(0),this.window=(0,h.vPA)(this.windowRef.nativeWindow),this.window.set(this.windowRef.nativeWindow)}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,o.Q)(this.destroySubject$)).subscribe(t=>this.allTranslations.set(t)),this.fetchDeviceData()}ngAfterViewInit(){this.setTabIndex(0)}fetchDeviceData(){const t={params:{}};("contact"===this.pageConfig().pageName||"swdLanding"===this.pageConfig().pageName)&&(t.params.limit=this.pageConfig().isMobile?"21":"48"),this.commonService.getDevicesData(t).pipe((0,o.Q)(this.destroySubject$)).subscribe(s=>{if(s?.data?.deviceList){const n=this.commonService.dataSorting((0,Vo.A)(s.data.deviceList),"dateAdded",!1,!0);n?.map(O=>(O.icons=s?.data?.icons,O)),this.allDeviceData.set(n),this.deviceCount.set(s.data.deviceCount),this.setTabIndex(0),this.deviceCount()?this.emitZeroDevicesEvent(!1):this.emitZeroDevicesEvent(!0)}else"Anonymous"===this.pageConfig().customerState&&this.clearDeviceData()})}clearDeviceData(){this.allDeviceData.set([]),this.deviceCount.set(0),this.emitZeroDevicesEvent(!0)}emitZeroDevicesEvent(t){this.productFinderService.carouselNoDevices.next(t)}viewAllDevices(t){this.isMobile()&&this.deviceCount()>21||this.deviceCount()>48?typeof this.window()<"u"&&"swdLanding"===this.pageConfig().pageName?this.window().open(`/${this.commonService.getDefaultCCLC()}/dashboard`,"_blank"):this.router.navigate([`/${this.commonService.getDefaultCCLC()}/dashboard`]):(this.carouselExpanded.set(t),this.carouselExpanded()?this.scrollTop():this.setTabIndex(0))}onSlideChange(t){this.setTabIndex(t)}scrollTop(){setTimeout(()=>{const t=document?.querySelector(".swiper-container-multirow-default");t&&(t.scrollTop=0)},100)}setTabIndex(t){setTimeout(()=>{const s=document?.querySelectorAll("[data-carousel-slide-index]");
1s?.length&&s.forEach(n=>{let O=+n?.dataset?.carouselSlideIndex;O!==t&&O!==t+1&&O!==t+2||n?.classList?.contains("swiper-slide-duplicate")?this.renderer.setAttribute(n?.querySelector("a"),"tabindex","-1"):this.renderer.setAttribute(n?.querySelector("a"),"tabindex","0")})},100)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(w.Ix),e.rXU(P.h),e.rXU(R.h),e.rXU(ae.q),e.rXU(e.sFG),e.rXU(Xo.$))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-device-carousel"]],inputs:{isMobile:[1,"isMobile"],productFinderConfig:[1,"productFinderConfig"]},decls:8,vars:7,consts:[["swiperWrapper",""],[1,"carousel-wrapper",3,"ngClass"],["toggleId","Allproducts",3,"wrapperClass","label","expanded"],[1,"carousel-container"],[1,"no-device-text"],[1,"default-device-container","no-swiper-list",3,"matchHeight","resizeOnMobile"],[1,"desktop-collapsed","d-none","d-md-block",3,"matchHeight","resizeOnMobile"],["appCarouselHeight","","rows","2","containerClass",".swiper-container-multirow-default","cardClass",".card-wrapper",1,"d-none","d-md-block","desktop-expanded",3,"matchHeight","resizeOnMobile"],["appCarouselHeight","","rows","3","containerClass",".swiper-container-class","cardClass",".card-wrapper",1,"mobile-view",".d-block","d-md-none",3,"matchHeight","resizeOnMobile"],["toggleId","Allproducts",3,"toggle","wrapperClass","label","expanded"],[1,"swiper-slide-3",3,"id"],[3,"card","allTranslations"],["name","solution-video-section","wrapperCss","pfinder-section-slider","horizontalNavArrowsPosition","outside","horizontalArrowSize","8","horizontalArrowType","carousel-arrow",3,"onSlideChange","config","horizontalNav","pagination"],[1,"swiper-slide",3,"id"],[1,"swiper-container-multirow-default"],[1,"swiper-slide-3"],["slides-per-view","3","navigation","false","direction","vertical","scrollbar","true","autoHeight","true","slides-per-group","3","loopAddBlankSlides","true",1,"swiper-container-class",3,"config"],[1,"swiper-slide"],["toggleId","Allproducts",3,"label","expanded"],["toggleId","Allproducts",3,"toggle","label","expanded"]],template:function(s,n){if(1&s&&(e.j41(0,"div",1),e.nVh(1,zo,1,3,"app-toggle",2),e.j41(2,"div",3),e.nVh(3,Ko,3,1,"div",4),e.nVh(4,Qo,3,2,"div",5),e.nVh(5,Zo,5,9,"div",6),e.nVh(6,ei,4,2,"div",7),e.nVh(7,oi,7,8,"div",8),e.k0s()()),2&s){let O,Q,ie,_e,Ne,Ie;e.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.vxM((null==(O=n.allDeviceData())?null:O.length)>3?1:-1),e.R7$(2),e.vxM(null!=(Q=n.allDeviceData())&&Q.length?-1:3),e.R7$(),e.vxM((null==(ie=n.allDeviceData())?null:ie.length)<=3?4:-1),e.R7$(),e.vxM(!n.carouselExpanded()&&(null==(_e=n.allDeviceData())?null:_e.length)>3?5:-1),e.R7$(),e.vxM(n.carouselExpanded()&&(null==(Ne=n.allDeviceData())?null:Ne.length)>3?6:-1),e.R7$(),e.vxM((null==(Ie=n.allDeviceData())?null:Ie.length)>3?7:-1)}},dependencies:[G.YU,kt,Ho.u,Wo.o,Rt.d,Go.x,G.P9],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.carousel-wrapper[_ngcontent-%COMP%]{text-align:center}.carousel-wrapper[_ngcontent-%COMP%]   .view-all[_ngcontent-%COMP%]{display:flex;margin:0 15px;align-items:center;width:max-content}.carousel-wrapper[_ngcontent-%COMP%]   .view-all[_ngcontent-%COMP%]   .expand-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;color:#165dba;margin:0 10px}.carousel-wrapper[_ngcontent-%COMP%]   .no-device-text[_ngcontent-%COMP%]{font-size:24px;font-weight:300;margin:0 0 30px 15px;line-height:normal;text-align:start}.rtl[_ngcontent-%COMP%]   .carousel-wrapper[_ngcontent-%COMP%]   .swiper-container-expanded[_ngcontent-%COMP%]   .swiper-container[_ngcontent-%COMP%]   .swiper-scrollbar[_ngcontent-%COMP%]{right:0!important;left:0!important}.swiper-container-multirow-default[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;overflow-y:auto;background:transparent;scroll-snap-type:y mandatory}.mobile-view[_ngcontent-%COMP%]{text-align:center}.swiper-slide-3[_ngcontent-%COMP%]{width:33.3333333333%!important;scroll-snap-align:end;scroll-snap-stop:always}.default-device-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.swiper-slide-3[_ngcontent-%COMP%]{width:100%!important}.default-device-container[_ngcontent-%COMP%]{flex-direction:column}.carousel-wrapper[_ngcontent-%COMP%]   .view-all[_ngcontent-%COMP%]{margin:20px 10px 12px}}@media only screen and (min-width:768px)and (max-width:991px){.carousel-wrapper[_ngcontent-%COMP%]{width:100%;position:unset;margin:unset}}"]})}}return a})();const ai=(a,N)=>({"is-vis-id":a,rtl:N}),ri=a=>({noPadding:a}),si=(a,N,t)=>({"rtl-setup-guide":a,"ltr-setup-guide":N,pt0:t});
1function li(a,N){if(1&a){const t=e.RV6();e.j41(0,"div",8),e.nrm(1,"app-device-carousel",9),e.j41(2,"app-device-add-toggle",10),e.bIt("productIconClickEvent",function(n){h.eBV(t);const O=e.XpG(2);return h.Njj(O.productIconEvent(n))})("togglePfinderEvent",function(n){h.eBV(t);const O=e.XpG(2);return h.Njj(O.onAddToggle(n))}),e.k0s()()}if(2&a){let t,s;const n=e.XpG(2);e.Y8G("ngClass",e.eq3(11,ri,null==(t=n.productFinderConfig())?null:t.isLightTheme)),e.R7$(),e.Y8G("isMobile",n.isMobile())("productFinderConfig",n.productFinderConfig()),e.R7$(),e.Y8G("productFinderConfig",n.productFinderConfig())("pfinderText",null==(s=n.productFinderConfig())||null==s.pfinderText?null:s.pfinderText.generalOption)("allTranslations",n.allTranslations())("findOutMoreLink",n.findOutMoreLink())("showDMD",!n.isMobile()&&n.isDMDEnabled()&&n.showDMD())("productData$",n.productData$())("productSelectionCompConfig",n.productSelectionCompConfig())("pageTemplateData",n.pageTemplateData())}}function ci(a,N){if(1&a&&(e.j41(0,"div",18),e.nrm(1,"app-serial-number-entry",19),e.k0s()),2&a){let t,s,n,O,Q,ie;const _e=e.XpG(4);e.R7$(),e.Y8G("allTranslations",_e.allTranslations())("serialNumberTitle",null==(t=_e.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.serialNumberTitle)("productNumberTitle",null==(s=_e.productFinderConfig())||null==s.showSerialNumberEntry?null:s.showSerialNumberEntry.productNumberTitle)("hideSNSubmitOnPN",null==(n=_e.productFinderConfig())||null==n.showSerialNumberEntry?null:n.showSerialNumberEntry.hideSNSubmitOnPN)("mobileAltSubmit",null==(O=_e.productFinderConfig())||null==O.showSerialNumberEntry?null:O.showSerialNumberEntry.mobileAltSubmit)("searchField",null==(Q=_e.productFinderConfig())||null==Q.showSerialNumberEntry?null:Q.showSerialNumberEntry.searchField)("pageName",null==(ie=_e.productFinderConfig())?null:ie.pageName)}}function di(a,N){if(1&a&&(e.j41(0,"div",20),e.nrm(1,"app-device-detector",21),e.k0s()),2&a){let t,s;const n=e.XpG(4);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=n.productFinderConfig())?null:t.deviceDetector)("allTranslations",n.allTranslations())("pageName",null==(s=n.productFinderConfig())?null:s.pageName)("findOutMoreLink",n.findOutMoreLink())}}function pi(a,N){if(1&a&&(e.j41(0,"div",22),e.nrm(1,"app-signin-pfinder-link",23),e.k0s()),2&a){let t,s,n,O;const Q=e.XpG(4);e.AVh("no-device-detector",!(null!=(t=Q.productFinderConfig())&&t.deviceDetector)||!(null!=(t=Q.productFinderConfig())&&null!=t.deviceDetector&&t.deviceDetector.display)||Q.isMobile()||!Q.isDMDEnabled()||!Q.showDMD()),e.R7$(),e.Y8G("allTranslations",Q.allTranslations())("isMobile",Q.isMobile())("isIpadIphone",Q.isIpadIphone())("signInId",null==(s=Q.productFinderConfig())||null==s.signInSection?null:s.signInSection.signInId)("loggedInLinkID",null==(n=Q.productFinderConfig())||null==n.signInSection?null:n.signInSection.loggedInLinkID)("fallBackCCLCValue",Q.fallBackCCLCValue())("showSignInRegisterTemplate",!0)("createAccountID",null==(O=Q.productFinderConfig())||null==O.signInSection?null:O.signInSection.createAccountID)}}function gi(a,N){if(1&a&&(e.j41(0,"div",14),e.DNE(1,ci,2,7,"div",15)(2,di,2,4,"div",16)(3,pi,2,10,"div",17),e.k0s()),2&a){let t,s,n;const O=e.XpG(3);e.R7$(),e.Y8G("ngIf",null==(t=O.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.showEntryForm),e.R7$(),e.Y8G("ngIf",(null==(s=O.productFinderConfig())?null:s.deviceDetector)&&(null==(s=O.productFinderConfig())||null==s.deviceDetector?null:s.deviceDetector.display)&&!O.isMobile()&&O.isDMDEnabled()&&O.showDMD()),e.R7$(),e.Y8G("ngIf",null==(n=O.productFinderConfig())||null==n.showSerialNumberEntry?null:n.showSerialNumberEntry.showSignInRegister)}}function ui(a,N){if(1&a&&(e.j41(0,"div",18),e.nrm(1,"app-serial-number-entry",26),e.k0s()),2&a){let t,s,n,O,Q,ie;const _e=e.XpG(4);e.R7$(),e.Y8G("allTranslations",_e.allTranslations())("serialNumberTitle",null==(t=_e.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.serialNumberTitle)("productNumberTitle",null==(s=_e.productFinderConfig())||null==s.showSerialNumberEntry?null:s.showSerialNumberEntry.productNumberTitle)("hideSNSubmitOnPN",null==(n=_e.productFinderConfig())||null==n.showSerialNumberEntry?null:n.showSerialNumberEntry.hideSNSubmitOnPN)("mobileAltSubmit",null==(O=_e.productFinderConfig())||null==O.showSerialNumberEntry?null:O.showSerialNumberEntry.mobileAltSubmit)("searchField",null==(Q=_e.productFinderConfig())||null==Q.showSerialNumberEntry?null:Q.showSerialNumberEntry.searchField)("pageName",null==(ie=_e.productFinderConfig())?null:ie.pageName)("SNBoxPosition","align-initial")("alternateTitle",!0)}}
1function mi(a,N){if(1&a){const t=e.RV6();e.j41(0,"div")(1,"app-product-selection",29),e.bIt("iconClickEvent",function(n){h.eBV(t);const O=e.XpG(5);return h.Njj(O.productIconEvent(n))}),e.k0s()()}if(2&a){const t=e.XpG().ngIf,s=e.XpG(4);e.R7$(),e.Y8G("productData",t)("allTranslations",s.allTranslations())("productSelectionCompConfig",s.productSelectionCompConfig())}}function hi(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",30),e.k0s()),2&a){const t=e.XpG().ngIf,s=e.XpG(4);e.R7$(),e.Y8G("selectedProduct",t[0].deviceType)("productData",t)("productSelectionCompConfig",s.productSelectionCompConfig())}}function _i(a,N){if(1&a&&(e.j41(0,"div",27),e.DNE(1,mi,2,3,"div",28)(2,hi,2,3,"div",28),e.k0s()),2&a){const t=N.ngIf;e.R7$(),e.Y8G("ngIf",t&&t.length>1),e.R7$(),e.Y8G("ngIf",t&&1===t.length)}}function Ci(a,N){if(1&a&&(e.j41(0,"div",24),e.DNE(1,ui,2,9,"div",15)(2,_i,3,2,"div",25),e.nI1(3,"async"),e.k0s()),2&a){let t,s;const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",null==(t=n.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.showEntryForm),e.R7$(),e.Y8G("ngIf",e.bMT(3,2,(null==(s=n.productFinderConfig())||null==s.showSerialNumberEntry?null:s.showSerialNumberEntry.showHelpertooltip)&&n.productData$()))}}function fi(a,N){if(1&a&&(e.j41(0,"div",11),e.DNE(1,gi,4,3,"div",12)(2,Ci,4,4,"div",13),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.defaultNonSignInExperience()),e.R7$(),e.Y8G("ngIf",!t.defaultNonSignInExperience())}}function Pi(a,N){if(1&a&&(e.j41(0,"div",5),e.DNE(1,li,3,13,"div",6)(2,fi,3,2,"div",7),e.k0s()),2&a){let t,s;const n=e.XpG();e.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.Y8G("ngIf",n.isSignedIn()&&(null==(t=n.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.showDeviceCarousel)),e.R7$(),e.Y8G("ngIf",!n.isSignedIn()||!(null!=(s=n.productFinderConfig())&&null!=s.showSerialNumberEntry&&s.showSerialNumberEntry.showDeviceCarousel))}}function bi(a,N){if(1&a&&(e.j41(0,"h2",41)(1,"span",42),e.EFF(2),e.nI1(3,"memoize"),e.k0s()()),2&a){const t=e.XpG(2);e.R7$(2),e.JRh(t.allTranslations()[e.i5U(3,1,t.getHeaderKey,t.deviceSelected())])}}function vi(a,N){if(1&a&&(e.j41(0,"h1",41)(1,"span",42),e.EFF(2),e.k0s()()),2&a){let t;const s=e.XpG(2);e.R7$(2),e.JRh(s.allTranslations()[null==(t=s.productFinderConfig())?null:t.title])}}function Mi(a,N){1&a&&e.eu8(0)}
1function Oi(a,N){if(1&a&&(e.j41(0,"div",20),e.DNE(1,Mi,1,0,"ng-container",43),e.k0s()),2&a){e.XpG(2);const t=e.sdS(6);e.R7$(),e.Y8G("ngTemplateOutlet",t)}}function xi(a,N){if(1&a&&(e.j41(0,"div",44),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_label2"])}}function Si(a,N){if(1&a&&e.nrm(0,"app-general-search",48),2&a){let t;const s=e.XpG(3);e.Y8G("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.generalOption)("allTranslations",s.allTranslations())("searchBoxConfigObj",s.searchBoxConfigObj())}}function Di(a,N){if(1&a&&e.nrm(0,"app-printer-search",49),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.printerOption)("searchBoxConfigObj",s.searchBoxConfigObj())}}function Ti(a,N){if(1&a&&e.nrm(0,"app-laptop-search",50),2&a){let t;const s=e.XpG(3);e.Y8G("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("allTranslations",s.allTranslations())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.laptopOption)("searchBoxConfigObj",s.searchBoxConfigObj())}}function yi(a,N){if(1&a&&e.nrm(0,"app-desktop-search",50),2&a){let t;const s=e.XpG(3);e.Y8G("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("allTranslations",s.allTranslations())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.desktopOption)("searchBoxConfigObj",s.searchBoxConfigObj())}}function wi(a,N){if(1&a&&e.nrm(0,"app-other-search",49),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.otherOption)("searchBoxConfigObj",s.searchBoxConfigObj())}}function Ei(a,N){if(1&a&&e.nrm(0,"app-headset-search",49),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.headsetOption)("searchBoxConfigObj",s.searchBoxConfigObj())}}
1function Ni(a,N){if(1&a&&(e.j41(0,"div"),e.DNE(1,Si,1,4,"app-general-search",45)(2,Di,1,3,"app-printer-search",46)(3,Ti,1,4,"app-laptop-search",47)(4,yi,1,4,"app-desktop-search",47)(5,wi,1,3,"app-other-search",46)(6,Ei,1,3,"app-headset-search",46),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"printer"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"laptop"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"desktop"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"other"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"headset"===t.deviceSelected())}}function Ri(a,N){if(1&a&&e.nrm(0,"app-general-add-device",52),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.generalOption)}}function Ii(a,N){if(1&a&&e.nrm(0,"app-desktop-add-device",52),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.desktopOption)}}function Fi(a,N){if(1&a&&e.nrm(0,"app-laptop-add-device",52),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.laptopOption)}}function Ai(a,N){if(1&a&&e.nrm(0,"app-printer-add-device",52),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.printerOption)}}function Li(a,N){if(1&a&&e.nrm(0,"app-other-add-device",52),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("isDMDEnable",!s.isMobile()&&s.isDMDEnabled()&&s.showDMD())("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.otherOption)}}function Bi(a,N){if(1&a&&e.nrm(0,"app-headset-add-device",52),2&a){let t;const s=e.XpG(3);e.Y8G("allTranslations",s.allTranslations())("isDMDEnable",!1)("pfinderText",null==(t=s.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.headsetOption)}}function ki(a,N){if(1&a&&(e.j41(0,"div",31),e.DNE(1,Ri,1,3,"app-general-add-device",51)(2,Ii,1,3,"app-desktop-add-device",51)(3,Fi,1,3,"app-laptop-add-device",51)(4,Ai,1,3,"app-printer-add-device",51)(5,Li,1,3,"app-other-add-device",51)(6,Bi,1,3,"app-headset-add-device",51),e.k0s()),2&a){let t;const s=e.XpG(2);e.Y8G("ngClass",null==(t=s.productFinderConfig())||null==t.addDevice?null:t.addDevice.className),e.R7$(),e.Y8G("ngIf",!s.deviceSelected()),e.R7$(),e.Y8G("ngIf",s.deviceSelected()&&"desktop"===s.deviceSelected()),e.R7$(),e.Y8G("ngIf",s.deviceSelected()&&"laptop"===s.deviceSelected()),e.R7$(),e.Y8G("ngIf",s.deviceSelected()&&"printer"===s.deviceSelected()),e.R7$(),e.Y8G("ngIf",s.deviceSelected()&&"other"===s.deviceSelected()),e.R7$(),e.Y8G("ngIf",s.deviceSelected()&&"headset"===s.deviceSelected())}}function ji(a,N){1&a&&e.eu8(0)}function $i(a,N){if(1&a&&(e.j41(0,"div",20),e.DNE(1,ji,1,0,"ng-container",43),e.k0s()),2&a){e.XpG(2);const t=e.sdS(6);e.R7$(),e.Y8G("ngTemplateOutlet",t)}}function Ui(a,N){1&a&&e.eu8(0)}function Vi(a,N){if(1&a&&(e.j41(0,"div",53),e.DNE(1,Ui,1,0,"ng-container",43),e.k0s()),2&a){let t;const s=e.XpG(2),n=e.sdS(4);e.Y8G("ngClass",null!=(t=s.productFinderConfig())&&t.deviceDetector&&"bottom"!==(null==(t=s.productFinderConfig())||null==t.deviceDetector?null:t.deviceDetector.position)?"pfinder-signIn-marginTop":"pfinder-signIn"),e.R7$(),e.Y8G("ngTemplateOutlet",n)}}function Gi(a,N){if(1&a){const t=e.RV6();e.j41(0,"div")(1,"app-product-selection",29),e.bIt("iconClickEvent",function(n){h.eBV(t);const O=e.XpG(3);return h.Njj(O.productIconEvent(n))}),e.k0s()()}if(2&a){const t=e.XpG().ngIf,s=e.XpG(2);e.R7$(),e.Y8G("productData",t)("allTranslations",s.allTranslations())("productSelectionCompConfig",s.productSelectionCompConfig())}}
1function Wi(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",30),e.k0s()),2&a){const t=e.XpG().ngIf,s=e.XpG(2);e.R7$(),e.Y8G("selectedProduct",t[0].deviceType)("productData",t)("productSelectionCompConfig",s.productSelectionCompConfig())}}function Hi(a,N){if(1&a&&(e.j41(0,"div",27),e.DNE(1,Gi,2,3,"div",28)(2,Wi,2,3,"div",28),e.k0s()),2&a){const t=N.ngIf;e.R7$(),e.Y8G("ngIf",t&&t.length>1),e.R7$(),e.Y8G("ngIf",t&&1===t.length)}}function Xi(a,N){1&a&&e.eu8(0)}function zi(a,N){if(1&a&&(e.j41(0,"div",54),e.DNE(1,Xi,1,0,"ng-container",43),e.k0s()),2&a){e.XpG(2);const t=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",t)}}function Ki(a,N){if(1&a&&(e.j41(0,"div",31)(1,"div",32)(2,"div")(3,"div",33)(4,"div",34),e.DNE(5,bi,4,4,"h2",35),e.nI1(6,"memoize"),e.DNE(7,vi,3,1,"h1",35)(8,Oi,2,1,"div",16)(9,xi,2,1,"div",36),e.j41(10,"div",37),e.DNE(11,Ni,7,6,"div",28)(12,ki,7,7,"div",38),e.k0s(),e.DNE(13,$i,2,1,"div",16)(14,Vi,2,2,"div",39),e.k0s(),e.DNE(15,Hi,3,2,"div",25),e.nI1(16,"async"),e.k0s(),e.DNE(17,zi,2,1,"div",40),e.k0s()()()),2&a){let t,s,n,O,Q,ie,_e,Ne,Ie;const ve=e.XpG();e.HbH(e.VkB("product-finder-section ",null==(t=ve.productFinderConfig())?null:t.className)),e.Y8G("ngClass",ve.isMobile()||ve.isIpadIphone()&&ve.pageConfig().isVisIdEnabled?"sm-screen":""),e.R7$(),e.Y8G("ngClass",e.sMw(20,si,"rtl"===ve.pageConfig().languageDirection,"rtl"!==ve.pageConfig().languageDirection,"printerSetupLanding"===ve.searchBoxConfigObj().pageName)),e.R7$(4),e.Y8G("ngIf",(null==(s=ve.productFinderConfig())?null:s.isLightTheme)&&e.i5U(6,15,ve.getHeaderKey,ve.deviceSelected())),e.R7$(2),e.Y8G("ngIf",ve.showVisIdTitleHeader()&&ve.pageConfig().isVisIdEnabled&&(null==(n=ve.productFinderConfig())?null:n.title)),e.R7$(),e.Y8G("ngIf",(null==(O=ve.productFinderConfig())?null:O.deviceDetector)&&"top"===(null==(O=ve.productFinderConfig())||null==O.deviceDetector?null:O.deviceDetector.position)&&(null==(O=ve.productFinderConfig())||null==O.deviceDetector?null:O.deviceDetector.display)),e.R7$(),e.Y8G("ngIf",ve.displaySearchBoxHeading()),e.R7$(2),e.Y8G("ngIf",null==(Q=ve.productFinderConfig())||null==Q.productFinder?null:Q.productFinder.display),e.R7$(),e.Y8G("ngIf",null==(ie=ve.productFinderConfig())||null==ie.addDevice?null:ie.addDevice.display),e.R7$(),e.Y8G("ngIf",(null==(_e=ve.productFinderConfig())?null:_e.deviceDetector)&&"bottom"===(null==(_e=ve.productFinderConfig())||null==_e.deviceDetector?null:_e.deviceDetector.position)&&(null==(_e=ve.productFinderConfig())||null==_e.deviceDetector?null:_e.deviceDetector.display)),e.R7$(),e.Y8G("ngIf",ve.isLargeDevice()&&(null==(Ne=ve.productFinderConfig())||null==Ne.signInSection?null:Ne.signInSection.display)),e.R7$(),e.Y8G("ngIf",e.bMT(16,18,ve.productData$())),e.R7$(2),e.Y8G("ngIf",!ve.isLargeDevice()&&(null==(Ie=ve.productFinderConfig())||null==Ie.signInSection?null:Ie.signInSection.display))}}function Yi(a,N){if(1&a&&(e.qex(0),e.nrm(1,"app-signin-pfinder-link",55),e.bVm()),2&a){let t,s,n;const O=e.XpG();e.R7$(),e.Y8G("allTranslations",O.allTranslations())("isMobile",O.isMobile())("isIpadIphone",O.isIpadIphone())("signInId",null==(t=O.productFinderConfig())||null==t.signInSection?null:t.signInSection.signInId)("loggedInLinkID",null==(s=O.productFinderConfig())||null==s.signInSection?null:s.signInSection.loggedInLinkID)("fallBackCCLCValue",O.fallBackCCLCValue())("createAccountID",null==(n=O.productFinderConfig())||null==n.signInSection?null:n.signInSection.createAccountID)}}function Qi(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-device-detector",21),e.k0s()),2&a){let t,s;const n=e.XpG(2);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=n.productFinderConfig())?null:t.deviceDetector)("allTranslations",n.allTranslations())("pageName",null==(s=n.productFinderConfig())?null:s.pageName)("findOutMoreLink",n.findOutMoreLink())}}function Ji(a,N){if(1&a&&(e.qex(0),e.nrm(1,"app-signin-pfinder-link",56),e.bVm()),2&a){let t,s;const n=e.XpG(2);e.R7$(),e.Y8G("allTranslations",n.allTranslations())("isMobile",n.isMobile())("isIpadIphone",n.isIpadIphone())("signInId",null==(t=n.productFinderConfig())||null==t.signInSection?null:t.signInSection.signInId)("loggedInLinkID",null==(s=n.productFinderConfig())||null==s.signInSection?null:s.signInSection.loggedInLinkID)("fallBackCCLCValue",n.fallBackCCLCValue())}}
1function Zi(a,N){if(1&a&&(e.j41(0,"div"),e.nrm(1,"app-device-detector",21),e.k0s()),2&a){let t,s;const n=e.XpG(3);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=n.productFinderConfig())?null:t.deviceDetector)("allTranslations",n.allTranslations())("pageName",null==(s=n.productFinderConfig())?null:s.pageName)("findOutMoreLink",n.findOutMoreLink())}}function qi(a,N){if(1&a&&(e.qex(0),e.DNE(1,Zi,2,4,"div",28),e.bVm()),2&a){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.isMobile()&&t.isDMDEnabled()&&t.showDMD())}}function ea(a,N){if(1&a&&(e.qex(0),e.DNE(1,Qi,2,4,"div",28)(2,Ji,2,6,"ng-template",null,0,e.C5r)(4,qi,2,1,"ng-template",null,1,e.C5r),e.bVm()),2&a){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.isMobile()&&t.isDMDEnabled()&&t.showDMD())}}let ta=(()=>{class a{constructor(t,s,n,O,Q,ie,_e,Ne,Ie,ve){this.pageService=t,this.deviceDetectService=s,this.productFinderService=n,this.productSelectionService=O,this.deviceSearchService=Q,this.authService=ie,this.contactService=_e,this.store=Ne,this.swdLandingService=Ie,this.destroyRef=ve,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,d.hFB)({}),this.productFinderConfig=(0,d.hFB)(null),this.fallBackCCLCValue=(0,d.hFB)({}),this.pageTemplateData=(0,d.hFB)({}),this.displaySearchBoxHeading=(0,d.hFB)(null),this.defaultNonSignInExperience=(0,d.hFB)(!0),this.showVisIdTitleHeader=(0,d.hFB)(!1),this.deviceSelectedEvent=(0,d.CGW)(),this.addPanelExpanded=(0,d.CGW)(),this.isHpAllInPlan=(0,d.hFB)(!1),this.isOnlyMobDevice=(0,h.vPA)(!1),this.isMobile=(0,h.vPA)(!1),this.isDesktop=(0,h.vPA)(!1),this.isIpadIphone=(0,h.vPA)(!1),this.language=(0,h.vPA)(null),this.deviceSelected=(0,h.vPA)(null),this.DMDButtonDisplayed=(0,h.vPA)(!1),this.isDMDEnabled=(0,h.vPA)(!1),this.findOutMoreLink=(0,h.vPA)(""),this.showDMD=(0,h.vPA)(!1),this.productData$=(0,h.vPA)((0,H.of)()),this.carouselDevice=(0,h.vPA)(null),this.productNumberReqd=(0,h.vPA)(!1),this.searchBoxConfigObj=(0,h.vPA)({}),this.searchQueryConfigObj=(0,h.vPA)({notValidSearchQuery:!1,invalidProductNumber:!1,notValidSN:!1,notValidQuery:!1,productNumberReqd:!1}),this.productSelectionCompConfig=(0,h.vPA)({}),this.isLargeDevice=(0,h.vPA)(!1),this.enableSignedinExp=(0,h.vPA)(!1),this.isSignedIn=(0,h.vPA)(!1),this.retiredProductSelected=(0,d.CGW)(),this.isOnlyMobDevice.set(this.deviceDetectService.isMobile()),(0,x.QZ)(()=>{const Ge=this.authService.isUserLoggedIn();(0,x.O8)(()=>{this.isSignedIn.set(Ge),Ge&&this.checkSignedInExpEnable()})},{allowSignalWrites:!0}),this.destroyRef.onDestroy(()=>{this.resetAllPfinderFlags()})}onResize(){this.isLargeDevice.set(this.productFinderService.isLargeDevice())}ngOnInit(){this.isLargeDevice.set(this.productFinderService.isLargeDevice());const t=this.pageConfig();this.isIpadIphone.set(t.isiPad||t.isiPhone),this.isDesktop.set(!(this.isIpadIphone()||t.isMobile)),this.isMobile.set(t.isMobile||this.isIpadIphone()),this.checkDMDActiveStatus(),this.getTooltipDetails(),this.observableSubscriber(),this.errorMessageObservableSub(),this.carouselSelectionSub();const s=this.productFinderConfig(),n=this.productFinderConfig();this.searchBoxConfigObj.set({typeAheadDisplay:this.productFinderConfig().productFinder.typeAheadDisplay,errorText:this.productFinderConfig().pfinderText.errorText,placeHolderProduct:this.productFinderConfig().pfinderText.placeHolderProduct,searchResultOrigin:this.productFinderConfig().searchResultOrigin,screenReaderProduct:this.productFinderConfig().pfinderText.screenReaderProduct,searchPromotionPfinderObj:s.serachPromotionPfinderObj?s.serachPromotionPfinderObj:null,pageName:this.productFinderConfig().pageName,searchQueryConfigObj:this.searchQueryConfigObj(),isLightTheme:n?.isLightTheme,printerSetupOption:n.printerSetupOption}),this.productSelectionCompConfig.set({searchQueryConfigObj:this.searchQueryConfigObj(),pageName:n.pageName,productFinderConfig:n,language:n.productFinder.language,allTranslations:this.allTranslations(),languageDirection:t.languageDirection,deviceSelected:this.deviceSelected()}),"swdLanding"===n?.pageName&&this.swdLandingService.productTypeSelected$.subscribe(O=>{if(O){this.deviceSelected.set(O);const Q={...this.productSelectionCompConfig()};Q.deviceSelected=this.deviceSelected(),this.productSelectionCompConfig.set(Q),this.productIconEvent(this.deviceSelected()),this.productSelectionService.selectedProduct(this.deviceSelected());const ie=this.productFinderConfig();this.deviceSearchService.invalidSearchQuery.next({id:ie?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:ie?.pageName??"",value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:ie?.pageName??"",value:!1}
1),this.deviceSearchService.notValidProductNumber.next({id:ie?.pageName??"",value:!1}),this.productFinderService.errorContent.next({id:ie?.pageName??"",value:!1})}})}getTooltipDetails(){const t=this.productFinderConfig().productSelection.url;if(!t)return;let s;this.productSelectionService.getProductSelectionData(t).subscribe(n=>{s=n,this.productFinderConfig()?.productSelection?.filteredProducts?.length&&(s=n.filter(O=>this.productFinderConfig().productSelection.filteredProducts.includes(O.deviceType))),this.productData$.set((0,H.of)(s))},n=>{this.productData$.set((0,H.of)())})}productIconEvent(t){this.deviceSelected.set(t);const s=this.productFinderConfig();this.productFinderService.onProductSelection(t,s),this.productFinderService.updateConfigObj(s)}observableSubscriber(){this.productFinderService.getDeviceType().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{!(0,W.A)(t)&&"swdLanding"!==this.productFinderConfig().pageName&&this.deviceSelected.set(t)})}checkDMDActiveStatus(){this.store.select(L.FM).pipe((0,m.$)(t=>!(0,W.A)(t))).subscribe(t=>{const s="true"===t?.SWD_SSF_EXP?.toLowerCase(),n=t.WPD_CC_WHITE_LIST||"",O=t.WPD_LC_WHITE_LIST||"",Q="yes"===t?.WPD_ENABLE_PFINDER_HPALLINPLAN?.toLowerCase(),ie=this.pageConfig(),_e=(0,y.A)(n,ie.cc)||(0,y.A)(n,"all"),Ne=(0,y.A)(O,ie.lc)||(0,y.A)(O,"all");this.isHpAllInPlan()?this.isDMDEnabled.set(_e&&Ne&&Q&&s):this.isDMDEnabled.set(_e&&Ne&&s);const Ie=t?.WPD_BROWSER_WHITE_LIST?t.WPD_BROWSER_WHITE_LIST?.toLowerCase().split(","):[];this.dmdShowerDetector(Ie),this.findOutMoreLink.set(t.WCC_FINDMORE_DOC_LINK||""),t.ENABLE_VIS_ID_LAYOUT&&(0,y.A)(t.ENABLE_VIS_ID_LAYOUT,ie.pageName)&&"polyLanding"===ie.pageName&&this.productIconEvent("headset")})}checkSignedInExpEnable(){this.store.select(L.FM).pipe((0,m.$)(t=>!(0,W.A)(t))).subscribe(t=>{const s=this.pageConfig();this.enableSignedinExp.set(!!t.PFINDER_SIGNIN_EXP_ENABLED_TEMPLATE&&(0,y.A)(t.PFINDER_SIGNIN_EXP_ENABLED_TEMPLATE,s.templateName))})}dmdShowerDetector(t){const s=this.pageConfig();let n=s.browser.toLowerCase();(0,y.A)(t,n)&&"Windows"===s.os&&this.showDMD.set(!0)}resetpfinderSearchConfig(){this.productFinderConfig().printerSetupOption&&this.updateSearchQueryConfig({notValidSearchQuery:!1,invalidProductNumber:!1,notValidSN:!1,notValidQuery:!1,productNumberReqd:!1})}updateSearchQueryConfig(t){const s={...this.searchQueryConfigObj(),...t};this.searchQueryConfigObj.set(s);const n=this.searchBoxConfigObj();(0,W.A)(n)||this.searchBoxConfigObj.set({...n,searchQueryConfigObj:s});const O=this.productSelectionCompConfig();(0,W.A)(O)||this.productSelectionCompConfig.set({...O,searchQueryConfigObj:s})}errorMessageObservableSub(){this.productFinderService.getErrorMessage().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({notValidQuery:t.value})}),this.deviceSearchService.isInvalidSearchQuery().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({notValidSearchQuery:t.value})}),this.deviceSearchService.getInvalidProductMessage().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({invalidProductNumber:t.value})}),this.deviceSearchService.isInvalidSeaialNumber().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({notValidSN:t.value})}),this.deviceSearchService.isProductNumberRequred().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({productNumberReqd:t.value})})}
1carouselSelectionSub(){this.productFinderService.getCarouselDevice().pipe((0,je.pQ)(this.destroyRef)).subscribe(t=>{(0,W.A)(t)||(this.carouselDevice.set(t),"contact"===this.pageConfig().pageName?this.contactService.isRetiredProduct({serialNumber:t.serialNumber,sku:t?.altProductNumber||t?.productNumber,seriesOid:t.productSeriesOID,modelOid:t.productNameOID,displayProductNumber:t.productNumber||t.altProductNumber}).pipe((0,je.pQ)(this.destroyRef)).subscribe(O=>{O&&O.isRetiredProduct?this.retiredProductSelected.emit():this.deviceSelectedEvent.emit(this.carouselDevice())}):this.deviceSelectedEvent.emit(this.carouselDevice()))})}getHeaderKey(t){return"printer"===t?this.productFinderConfig()?.pfinderText?.printerOption?.title:"laptop"===t?this.productFinderConfig()?.pfinderText?.laptopOption?.title:"desktop"===t?this.productFinderConfig()?.pfinderText?.desktopOption?.title:"headset"===t?this.productFinderConfig()?.pfinderText?.headsetOption?.title:"other"===t?this.productFinderConfig()?.pfinderText?.otherOption?.title:void 0}onAddToggle(t){this.addPanelExpanded.emit(t)}ngOnChanges(t){if(t?.productFinderConfig){const s=t.productFinderConfig.currentValue,n=t.productFinderConfig.previousValue;(s?.printerSetupOption&&s?.printerSetupOption!=n?.printerSetupOption||s?.showSupportOptionError!=n?.showSupportOptionError)&&(this.searchBoxConfigObj.set({...this.searchBoxConfigObj(),printerSetupOption:s?.printerSetupOption,searchResultOrigin:s?.searchResultOrigin,showSupportOptionError:s?.showSupportOptionError}),this.resetpfinderSearchConfig())}}resetAllPfinderFlags(){const t=this.productFinderConfig()?.pageName??"";this.deviceSearchService.invalidSearchQuery.next({id:t,value:!1}),this.deviceSearchService.productNumberRequied.next({id:t,value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:t,value:!1}),this.deviceSearchService.notValidProductNumber.next({id:t,value:!1}),this.productFinderService.errorContent.next({id:t,value:!1})}static{this.\u0275fac=function(s){return new(s||a)(e.rXU(J.b),e.rXU(ce.Kg),e.rXU(P.h),e.rXU(c.z),e.rXU(Ue.k),e.rXU(F.u),e.rXU(E.u),e.rXU(Y.il),e.rXU(k.j),e.rXU(h.abz))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-product-finder"]],hostBindings:function(s,n){1&s&&e.bIt("resize",function(){return n.onResize()},e.tSv)},inputs:{allTranslations:[1,"allTranslations"],productFinderConfig:[1,"productFinderConfig"],fallBackCCLCValue:[1,"fallBackCCLCValue"],pageTemplateData:[1,"pageTemplateData"],displaySearchBoxHeading:[1,"displaySearchBoxHeading"],defaultNonSignInExperience:[1,"defaultNonSignInExperience"],showVisIdTitleHeader:[1,"showVisIdTitleHeader"],isHpAllInPlan:[1,"isHpAllInPlan"]},outputs:{deviceSelectedEvent:"deviceSelectedEvent",addPanelExpanded:"addPanelExpanded",retiredProductSelected:"retiredProductSelected"},features:[e.Jv_([c.z]),e.OA$],decls:7,vars:6,consts:[["signInTemplate",""],["deviceDetector",""],[1,"pfinder-wrapper",3,"ngClass"],["class","contact-pfinder",3,"ngClass",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[1,"contact-pfinder",3,"ngClass"],["class","signed-in-section",3,"ngClass",4,"ngIf"],["class","anonymous-section",4,"ngIf"],[1,"signed-in-section",3,"ngClass"],[3,"isMobile","productFinderConfig"],[3,"productIconClickEvent","togglePfinderEvent","productFinderConfig","pfinderText","allTranslations","findOutMoreLink","showDMD","productData$","productSelectionCompConfig","pageTemplateData"],[1,"anonymous-section"],["class","serial-number-entry-container",4,"ngIf"],["class","sn-entry-and-tooltip-container",4,"ngIf"],[1,"serial-number-entry-container"],["class","serial-number-section",4,"ngIf"],["class","detect-device-section",4,"ngIf"],["class","sign-in-section",3,"no-device-detector",4,"ngIf"],[1,"serial-number-section"],[3,"allTranslations","serialNumberTitle","productNumberTitle","hideSNSubmitOnPN","mobileAltSubmit","searchField","pageName"],[1,"detect-device-section"],[3,"DMDlayoutConfig","allTranslations","pageName","findOutMoreLink"],[1,"sign-in-section"],[3,"allTranslations","isMobile","isIpadIphone","signInId","loggedInLinkID","fallBackCCLCValue","showSignInRegisterTemplate","createAccountID"],[1,"sn-entry-and-tooltip-container"],["class","help-section-container",4,"ngIf"],[3,"allTranslations","serialNumberTitle","productNumberTitle","hideSNSubmitOnPN","mobileAltSubmit","searchField","pageName","SNBoxPosition","alternateTitle"],[1,"help-section-container"],[4,"ngIf"],[3,"iconClickEvent","productData","allTranslations","productSelectionCompConfig"],[3,"selectedProduct","productData","productSelectionCompConfig"],[3,"ngClass"],[1,"product-finder-info-section",3,"ngClass"],[1,"section"],[1,"product-finder"],["class","pfinder-search-header",4,"ngIf"],["class","search-box-heading",4,"ngIf"],[1,"search-section"],[3,"ngClass",4,"ngIf"],["class","pfinder-signIn large-pfinder-signIn",3,"ngClass",4,"ngIf"],["class","pfinder-signIn",4,"ngIf"],[1,"pfinder-search-header"],["aria-hidden","false"],[4,"ngTemplateOutlet"],[1,"search-box-heading"],[3,"isDMDEnable","pfinderText","allTranslations","searchBoxConfigObj",4,"ngIf"],[3,"allTranslations","pfinderText","searchBoxConfigObj",4,"ngIf"],[3,"isDMDEnable","allTranslations","pfinderText","searchBoxConfigObj",4,"ngIf"],[3,"isDMDEnable","pfinderText","allTranslations","searchBoxConfigObj"],[3,"allTranslations","pfinderText","searchBoxConfigObj"],[3,"isDMDEnable","allTranslations","pfinderText","searchBoxConfigObj"],[3,"allTranslations","isDMDEnable","pfinderText",4,"ngIf"],[3,"allTranslations","isDMDEnable","pfinderText"],[1,"pfinder-signIn","large-pfinder-signIn",3,"ngClass"],[1,"pfinder-signIn"],[3,"allTranslations","isMobile","
1isIpadIphone","signInId","loggedInLinkID","fallBackCCLCValue","createAccountID"],[3,"allTranslations","isMobile","isIpadIphone","signInId","loggedInLinkID","fallBackCCLCValue"]],template:function(s,n){1&s&&(e.j41(0,"div",2),e.DNE(1,Pi,3,3,"div",3)(2,Ki,18,24,"div",4),e.k0s(),e.DNE(3,Yi,2,7,"ng-template",null,0,e.C5r)(5,ea,6,1,"ng-template",null,1,e.C5r)),2&s&&(e.Y8G("ngClass",e.l_i(3,ai,n.pageConfig().isVisIdEnabled,"rtl"===n.pageConfig().languageDirection)),e.R7$(),e.Y8G("ngIf",n.productFinderConfig().hidePfinderSearchExperience),e.R7$(),e.Y8G("ngIf",n.productFinderConfig()&&!n.productFinderConfig().hidePfinder&&!n.productFinderConfig().hidePfinderSearchExperience))},dependencies:[G.YU,G.bT,ii,Uo,Bt.F,Lt,ao.k,At,Dt,G.T3,cn,ln,sn,rn,an,on,Ae,Se,Oe,he,K,X,G.Jj,r.z],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.product-finder-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   p.info-text[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:60px;max-width:550px;width:45%;font-family:HPSimplifiedLight;font-size:16px;font-weight:400;line-height:1.31;color:#2c3038}.product-finder-section.add-device-pfinder[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{padding-top:0;margin-left:0}.product-finder-section[_ngcontent-%COMP%]   .pt0[_ngcontent-%COMP%]{padding-top:0}.device-carousel-section[_ngcontent-%COMP%]{margin-bottom:58px}.device-carousel-section[_ngcontent-%COMP%] + .product-finder-section[_ngcontent-%COMP%]{margin-left:15px;margin-top:-58px}.pfinder-signIn-marginTop[_ngcontent-%COMP%]{margin-top:33px}.pfinder-signIn[_ngcontent-%COMP%]{margin-top:20px}.signed-in-section[_ngcontent-%COMP%]{max-width:1293px;margin:auto;padding:0 25px}.product-finder-info-section[_ngcontent-%COMP%]{padding-top:35px;padding-bottom:35px}.product-finder-info-section[_ngcontent-%COMP%]   .full-width[_ngcontent-%COMP%]{max-width:1293px;margin:auto;padding:0 25px}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]{display:flex;flex:1}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]{max-width:595px;width:50%}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   .search-box-heading[_ngcontent-%COMP%]{font-size:28px;margin-bottom:20px}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;margin-bottom:13px}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:36px;padding-right:36px}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{width:50%;border-left:1px solid #ccc;padding-left:31px}.product-finder-info-section.rtl-setup-guide[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-right:1px solid #ccc;border-left:none;padding-right:31px;padding-left:0;text-align:right}.rtl[_ngcontent-%COMP%]   .anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{padding-right:20px}.rtl[_ngcontent-%COMP%]   .anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{padding-left:0;padding-right:15px;border-left:none;border-right:1px solid #ccc}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.rtl[_ngcontent-%COMP%]   .anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{padding-right:0}.rtl[_ngcontent-%COMP%]   .anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{padding:20px 0 0;border:none}}.anonymous-section[_ngcontent-%COMP%]   .sign-in-section.no-device-detector[_ngcontent-%COMP%]{margin-top:43px}.anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{display:flex;max-width:1280px;margin:85px auto auto}.anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]   .serial-number-section[_ngcontent-%COMP%]{width:50%;margin-left:25px}.anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-left:1px solid #ccc;padding-left:15px;width:50%}@media only screen and (min-width:1200px){.product-finder-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:1222px!important;min-width:1000px;padding-left:11px}}@media(min-width:801px)and (max-width:1199px){.product-finder-info-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:100%!important;min-width:100%}}.sm-screen[_ngcontent-%COMP%]   .large-pfinder-signIn[_ngcontent-%COMP%]{display:none}.sm-screen[_ngcontent-%COMP%]   .mobile-pfinder-signIn[_ngcontent-%COMP%]{display:block}.sm-screen[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]{padding-top:0;background-color:transparent;padding-bottom:22px}.sm-screen[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]{display:block}.sm-screen[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]{max-width:100%;width:100%}.sm-screen[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   .search-box-heading[_ngcontent-%COMP%]{font-size:20px;margin-top:20px}.sm-screen[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{width:100%;max-width:100%;border-left:none;padding-left:0;border-right:none;padding-top:5px;margin-left:0}.sm-screen[_ngcontent-%COMP%]   .product-finder-info-section.rtl-setup-guide[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-right:none;border-left:none;padding-right:0;padding-left:0;margin-left:0;margin-right:5px}.sm-screen[_ngcontent-%COMP%]   .printer-landing-signIn[_ngcontent-%COMP%]{border-top:1px solid #ccc}.sm-screen[_ngcontent-%COMP%]   .printer-landing-signIn[_ngcontent-%COMP%]   .signInLink[_ngcontent-%COMP%]{margin-top:30px}.sm-screen[_ngcontent-%COMP%]   .product-finder-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   p.info-text[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:0;max-width:width 100%;width:100%;font-size:14px}@media only screen and (max-width:800px){.large-pfinder-signIn[_ngcontent-%COMP%]{display:none}.mobile-pfinder-signIn[_ngcontent-%COMP%]{display:block}.product-finder-info-section[_ngcontent-%COMP%]{padding-top:0;background-color:transparent;padding-bottom:22px}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]{display:block}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]{max-width:100%;width:100%}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   .search-box-heading[_ngcontent-%COMP%]{font-size:20px;margin-top:20px}.product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{width:100%;max-width:100%;border-left:none;padding-left:0;border-right:none;padding-top:5px;margin-left:0}.product-finder-info-section.rtl-setup-guide[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-right:none;border-left:none;padding-right:0;padding-left:0;margin-left:0;margin-right:5px}.printer-landing-signIn[_ngcontent-%COMP%]{border-top:1px solid #ccc}.printer-landing-signIn[_ngcontent-%COMP%]   .signInLink[_ngcontent-%COMP%]{margin-top:30px}.product-finder-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   p.info-text[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:0;max-width:width 100%;width:100%;font-size:14px}.search-section[_ngcontent-%COMP%]{max-width:100%}}@media(max-width:768px){.device-carousel-section[_ngcontent-%COMP%]{margin-bottom:27px}.device-carousel-section[_ngcontent-%COMP%] + .product-finder-section[_ngcontent-%COMP%]{margin-left:15px;margin-top:-4px}.product-finder-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:100%!important}.anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{display:flex;margin-top:20px;flex-direction:column}.anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]   .serial-number-section[_ngcontent-%COMP%]{width:100%;margin-left:0}.anonymous-section[_ngcontent-%COMP%]   .sn-entry-and-tooltip-container[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-left:none;padding-left:0;padding-top:20px;width:100%}.anonymous-section[_ngcontent-%COMP%]   .sign-in-section.no-device-detector[_ngcontent-%COMP%]{margin-top:16.5px}.signed-in-section[_ngcontent-%COMP%]{max-width:auto;margin:0;padding:0}}@media(min-width:801px){.large-pfinder-signIn[_ngcontent-%COMP%]{display:block}.mobile-pfinder-signIn[_ngcontent-%COMP%]{display:none}}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]{padding:0}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]{max-width:680px;width:57%;padding-right:20px}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   .search-section[_ngcontent-%COMP%]{margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   .pfinder-signIn[_ngcontent-%COMP%]{margin-top:32px}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   .pfinder-search-header[_ngcontent-%COMP%]{margin-bottom:30px;width:80%}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{max-width:520px;width:44%;border-color:#000}.rtl.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]{padding-left:20px;padding-right:0}.rtl.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-color:#000}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]{padding:0}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]{display:block}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]{width:100%;padding-right:0;margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]   .pfinder-search-header[_ngcontent-%COMP%]{width:100%}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{width:100%;padding-left:0;margin-top:0}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .pfinder-signIn[_ngcontent-%COMP%]{margin-top:31px}}@media only screen and (min-width:768px)and (max-width:991px){.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]{display:flex}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{padding-left:20px;border-left:1px solid #000000}.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .pfinder-signIn[_ngcontent-%COMP%]{display:block}.rtl.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .product-finder[_ngcontent-%COMP%]{padding-right:0;padding-left:20px}.rtl.is-vis-id[_ngcontent-%COMP%]   .product-finder-info-section[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .help-section-container[_ngcontent-%COMP%]{border-left:0;border-right:1px solid #000000}}"]})}}return a})()},84527(fe,re,i){i.d(re,{h:()=>z});var x=i(86763),d=i(2435),h=i(33900),H=i(43942),W=i(84205),y=i(75797),m=i(97965),c=i(85139),L=i(78767),r=i(93551),_=i(75507),o=i(63855),G=i(54041
1),e=i(85240),J=i(19885),de=i(91018),ce=i(60480),ae=i(9303),oe=i(11439);let z=(()=>{class B{constructor(S,I,C,T,g){this.pageService=S,this.http=I,this.commonService=C,this.windowRef=T,this.store=g,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.searchList=[],this.pfinderConfig=new y.t({}),this.errorContent=new y.t({}),this.clearQuerySearch=new y.t(!1),this.deviceTypeSelected=new y.t({}),this.carouselDeviceSelected=new y.t({}),this.carouselNoDevices=new y.t(!1),this.destroySubject$=new W.B,this.window=this.windowRef.nativeWindow}ngOnDestroy(){this.destroySubject$.next()}isLargeDevice(){if(this.window)return!(this.window?.innerWidth<=800)}clearQuerySearchField(){return this.clearQuerySearch.asObservable()}getPfinderConfig(){return this.pfinderConfig.asObservable()}getErrorMessage(){return this.errorContent.asObservable()}getDeviceType(){return this.deviceTypeSelected.asObservable()}getCarouselDevice(){return this.carouselDeviceSelected.asObservable()}getNoCarouselDevice(){return this.carouselNoDevices.asObservable()}addPrinterSetupUrl(S,I=null){const C="Opt_Troubleshoot"===I?.printerSetupOption?"product/troubleshooting":"printer-setup";return S.forEach(T=>{let g=`${this.pageConfig().cc}-${this.pageConfig().lc}/${C}/${T.seoFriendlyName}/${T.pmSeriesOid}`,u=!1;("pm_number_value"===T.pmClass||"pm_name_value"===T.pmClass)&&("Opt_Troubleshoot"===I?.printerSetupOption?g=`${this.pageConfig().cc}-${this.pageConfig().lc}/${C}/${T.seoFriendlyName}/model/${T.pmNameOid}`:g+=`/model/${T.pmNameOid}`,u="pm_number_value"===T.pmClass),T.printerSetupUrl=g,T.passParam=u}),S}onProductSelection(S,I){let C={};(0,c.A)(I.tooltipSection,function(T){T.type===S&&(C=T.deviceDetector)}),this.pfinderConfig.next(C)}updateConfigObj(S){this.getPfinderConfig().pipe((0,h.Q)(this.destroySubject$)).subscribe(I=>{(0,r.A)(I)||(S.deviceDetector.display=I.display,S.deviceDetector.position=I.position)})}getSearchResult(S,I){return new H.c(C=>{const T=b=>{C.next(b),C.complete()},g=()=>(this.store.select(G.FM).pipe((0,d.$)(b=>!(0,r.A)(b))).subscribe(b=>{this.relevanceDifference=b?.KAAS_PRODUCT_RELEVANCE_DIFFERENCE??10}),this.relevanceDifference),u=b=>{let f;return"en"===this.pageConfig().lc?f=this.pageConfig().lc:"zh"!==this.pageConfig().lc||"hk"!==this.pageConfig().cc&&"tw"!==this.pageConfig().cc&&"cn"!==this.pageConfig().cc?"zh"!==this.pageConfig().lc&&"en"!==this.pageConfig().lc&&(f=b&&b?this.commonService.getCustomLocale(this.commonService.safeParseJSON(b),this.pageConfig()).lc:this.pageConfig().lc):f=this.pageConfig().lc+this.pageConfig().cc,f},p=b=>{this.store.select(G.FM).pipe((0,d.$)(f=>!(0,r.A)(f))).subscribe(f=>{this.kaashrefUrl="/typeahead";const R=f.KAAS_BIASVAL_VAL,w=f.FALCON_SEARCH_PRINTERSETUP_FILTER||"";let F="";return I.searchPromotionPfinderObj?(F=f[`SEARCH_TYPEAHEAD_${I.searchPromotionPfinderObj.typeaheadType.toUpperCase()}`]||null,F="en"===this.pageConfig().lc?F.replace("<LANG>,",""):F.replace("<LANG>",u(f.COMMON_FALLBACK_COUNTRY_CODE))):"en"===this.pageConfig().lc?f.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL&&(F=f.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL):"zh"!==this.pageConfig().lc||"hk"!==this.pageConfig().cc&&"tw"!==this.pageConfig().cc&&"cn"!==this.pageConfig().cc?"zh"!==this.pageConfig().lc&&"en"!==this.pageConfig().lc&&f.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL&&(F=f.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL):f.FALCON_KAAS_TYPEAHEAD_CHINESE_URL&&(F=f.FALCON_KAAS_TYPEAHEAD_CHINESE_URL),F=F.replace("<text>",encodeURIComponent(b)),F=F.replace("<LANG>",u(f.COMMON_FALLBACK_COUNTRY_CODE)),F=F.replace("<BIASVAL>",R),F=F.replace("<PAGE_FILTER_1>",w),this.kaashrefUrl=this.kaashrefUrl+F,this.kaashrefUrl})};(b=>{let f=new o.Lr;p(b);const R=this.kaashrefUrl,w=g();f=f.append("skipLoadingScreen","true"),(""===b||b.length<2)&&T([]),this.http.get(R,{headers:f}).pipe((0,h.Q)(this.destroySubject$)).subscribe(F=>{if(F&&F.matches&&F.matches.length){this.addPrinterSetupUrl(F.matches,I);const A=F.matches.length?F.matches[0].matchScore:null,E=this.commonService.filterTypeaheadData(F.matches,A-A*w/100),k=[];(0,c.A)(E,function(Z){(0,c.A)(E,function(Y){const se=Y.shortestNavigationPath.split("|").join();Y.productId!==Z.productId&&(0,L.A)(se,Z.productId)&&k.push(Y.productId)})}),this.matchedResponse=(0,m.A)(E,Z=>!(0,L.A)(k,Z.productId));const ne=(0,_.A)(this.matchedResponse,6);T(ne)}},F=>
1{T({status:"result not available"})},()=>{})})(S)})}clearPlaceHolder(S){S.target.placeholder=""}clearSearchInput(S){const I=S.target,C=I.parentElement;I.classList.add("hide"),C.querySelector("input").focus()}getErrorText(S){return{notValidQuery:S["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"],reqdProductNumberText1:S["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"],reqdProductNumberText2:S["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"]}}getFindMoreLink(S){return S?.WCC_FINDMORE_DOC_LINK??""}showDMD(){const I=this.pageConfig().browser.toLowerCase();if((0,L.A)(["firefox","ie","chrome","ms-edge-chromium","ms-edge"],I)&&"Windows"===this.pageConfig().os)return!0}static{this.\u0275fac=function(I){return new(I||B)(e.KVO(J.b),e.KVO(de.k),e.KVO(ce.h),e.KVO(ae.$),e.KVO(oe.il))}}static{this.\u0275prov=e.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})()},27223(fe,re,i){i.d(re,{z:()=>c});var x=i(75797),d=i(77919),h=i(63855),H=i(61318),W=i(70271),y=i(84205),m=i(85240);let c=(()=>{class L{constructor(_){this.httpClient=_,this.productSelected=new x.t({}),this.displayHorIcon=new x.t({}),this.destroySubject$=new y.B}getDisplayHorIconStatus(){return this.displayHorIcon.asObservable()}getProductSelected(){return this.productSelected.asObservable()}getProductSelectionData(_){let o=new h.Lr;return o=o.append("skipLoadingScreen","true"),this.httpClient.get(_,{headers:o}).pipe((0,W.T)(G=>G.data)).pipe((0,H.W)(this.handleError))}handleError(_){return(0,d.$)(_)}selectedProduct(_){this.displayHorIcon.next(!1),this.productSelected.next(_)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(o){return new(o||L)(m.KVO(h.Qq))}}static{this.\u0275prov=m.jDH({token:L,factory:L.\u0275fac})}}return L})()},31226(fe,re,i){i.d(re,{F:()=>$e});var x=i(85240),d=i(37580),h=i(86763),H=i(93551),W=i(2435),y=i(20572),m=i(84205),c=i(33900),L=i(93683),r=i(12481),_=i(19885);let o=(()=>{class le{constructor(D){this.pageService=D,this.privacyLink=(0,d.hFB)(""),this.allTranslations=(0,d.hFB)({}),this.pageConfig=(0,h.EW)(()=>this.pageService.configSignal())}ngOnInit(){}static{this.\u0275fac=function(M){return new(M||le)(r.rXU(_.b))}}static{this.\u0275cmp=r.VBU({type:le,selectors:[["app-model-footer"]],inputs:{privacyLink:[1,"privacyLink"],allTranslations:[1,"allTranslations"]},decls:5,vars:4,consts:[[1,"modal-footer",3,"ngClass"],["target","_blank",3,"href"]],template:function(M,X){1&M&&(r.j41(0,"div",0)(1,"a",1),r.EFF(2),r.k0s(),r.j41(3,"p"),r.EFF(4),r.k0s()()),2&M&&(r.Y8G("ngClass","rtl"===X.pageConfig().languageDirection?"rtl":"ltr"),r.R7$(),r.Y8G("href",X.privacyLink(),r.B4B),r.R7$(),r.JRh(X.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_PrivacyPolicy"]),r.R7$(2),r.JRh(X.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_CopyRight"]))},dependencies:[L.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.modal-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.modal-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;margin:0}.rtl[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.rtl[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.rtl[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;margin:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-footer[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;padding:10px 28px 20px}.modal-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-bottom:3px}}"]})}}return le})();var G=i(1681),e=i(60480),J=i(8130);let de=(()=>{class le{constructor(D,M,X,K){this.pageService=D,this.modalService=M,this.commonSrvc=X,this.appSelectorStore=K,this.seriesOid=(0,x.vPA)(null),this.pageConfig=(0,h.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,x.vPA)({}),this.destroySubject$=new m.B,this.privacyLink=(0,x.vPA)(""),this.imgUrl=(0,x.vPA)("")}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,c.Q)(this.destroySubject$)).subscribe(D=>this.allTranslations.set(D)),this.commonSrvc.hpDotComCcLcMappingSub.pipe((0,c.Q)(this.destroySubject$)).subscribe(D=>{let M=D[`${this.pageConfig().cc}-${this.pageConfig().lc}`];null==D[`${this.pageConfig().cc}-${this.pageConfig().lc}`]&&(M=`${this.pageConfig().cc}-${this.pageConfig().lc}`),this.privacyLink.set(`https://www.hp.com/${M}/privacy/privacy.html`)})}onVersionsReady(D){this.imgUrl.set(D.imageUrl)}closeModal(){this.modalService.dismissAll()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(M){return new(M||le)(r.rXU(_.b),r.rXU(y.Bq),r.rXU(e.h),r.rXU(J.q))}}static{this.\u0275cmp=r.VBU({type:le,selectors:[["app-select-model-modal"]],decls:17,vars:11,consts:[[1,"modal-wrapper",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"d-none","d-md-block"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close","id","Modal_Delete_device_X_btn",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],[1,"modal-contents"],[1,"title"],[1,"content"],[1,"image"],["alt","device icon",3,"src"],[1,"dropdown-wrapper"],["wrapperClass","model-version",3,"onVersionsReady","
1submitButtonText","versionDropdownLabel","versionDropdownHeading","seriesId"],[3,"privacyLink","allTranslations"]],template:function(M,X){1&M&&(r.j41(0,"div",0)(1,"div",1),r.nrm(2,"img",2),r.j41(3,"h3",3),r.EFF(4),r.k0s(),r.j41(5,"button",4),r.bIt("click",function(){return X.closeModal()}),r.j41(6,"span",5),r.EFF(7,"\xd7"),r.k0s()()(),r.j41(8,"div",6)(9,"p",7),r.EFF(10),r.k0s(),r.j41(11,"div",8)(12,"div",9),r.nrm(13,"img",10),r.k0s(),r.j41(14,"div",11)(15,"app-choose-service",12),r.bIt("onVersionsReady",function(he){return X.onVersionsReady(he)}),r.k0s()()()(),r.nrm(16,"app-model-footer",13),r.k0s()),2&M&&(r.Y8G("ngClass","rtl"===X.pageConfig().languageDirection?"rtl":"ltr"),r.R7$(4),r.SpI("",X.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Ghost_Text"]," "),r.R7$(6),r.JRh(X.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Entry_Specific_SN_Config_Modal_Sub_Heading_Text"]),r.R7$(3),r.Y8G("src",X.imgUrl(),r.B4B),r.R7$(2),r.Y8G("submitButtonText",X.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("versionDropdownLabel",X.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Entry_Specific_SN_Config_Modal_DD_Header_Text"])("versionDropdownHeading",X.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Ghost_Text"])("submitButtonText",X.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("seriesId",X.seriesOid()),r.R7$(),r.Y8G("privacyLink",X.privacyLink())("allTranslations",X.allTranslations()))},dependencies:[L.YU,G.y,o],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.modal-wrapper[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:14px 26px 11px 36px!important;border-bottom:1px solid #cccccc}.modal-wrapper[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:20px;margin-left:20px}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]{margin:19px 35px 30px 41px}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:flex}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{margin-left:36px;width:100%;align-self:center}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;color:#2c3038;margin:20px 0 0}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{min-width:180px;min-height:150px;max-width:208px;max-height:180px}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px;line-height:20px;margin:0 0 20px;text-align:center;color:#000}.modal-wrapper[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.modal-wrapper[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.modal-wrapper[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;margin:0}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:14px 36px 11px 26px!important}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin:0 20px 0 0;position:unset}.rtl[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]{margin:19px 41px 30px 35px}.rtl[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:flex}.rtl[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{margin-left:0;margin-right:36px;width:100%}.rtl[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;color:#2c3038;margin:20px 0 0}
1.rtl[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{max-width:208px;max-height:180px}.rtl[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px;line-height:20px;margin:0 0 33px 13px;color:#000}.rtl[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.rtl[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.rtl[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;margin:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-wrapper[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:39px 47px 17px 27px!important}.modal-wrapper[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-left:0;line-height:39px}.modal-wrapper[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{position:absolute;top:6px;right:16px}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]{margin:22px 12px 24px 27px}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{flex-direction:column}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .dropdown-wrapper[_ngcontent-%COMP%]{margin:0}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{margin:0 auto}.modal-wrapper[_ngcontent-%COMP%]   .modal-contents[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0 0 10px}.modal-wrapper[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;padding:10px 28px 20px}.modal-wrapper[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-bottom:3px}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:39px 27px 17px 47px!important}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-right:0}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{right:unset;left:16px}}"]})}}return le})();var ce=i(59452),ae=i(52575),oe=i(91817),z=i(98764),B=i(36647),q=i(61318);const S={5:{productType:"desktop"},1:{productType:"printer"},2:{productType:"laptop"},9:{productType:"adapter"}};var I=i(70739),C=i(54041),T=i(34456),g=i(49074),u=i(72990),p=i(60809),l=i(4804),b=i(71839),f=i(72608),R=i(24938),w=i(44192),F=i(11439);const A=["searchFieldInputRef"],P=["nonSearchFieldInputRef"],E=["productFieldInputRef"],k=(le,ee,D)=>[le,ee,D];function ne(le,ee){if(1&le){const D=r.RV6();r.j41(0,"div",5)(1,"app-choose-service",7),r.bIt("versionSelected",function(){x.eBV(D);const X=r.XpG();return x.Njj(X.versionSelected())}),r.k0s()()}if(2&le){const D=r.XpG();r.R7$(),r.Y8G("submitButtonText",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("versionDropdownLabel",D.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Header_Text"])("versionDropdownHeading",D.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Ghost_Text"])("_disableSubmit",!D.serialNumberButtonDisabled())("submitButtonText",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("seriesId",D.seriesOid())}}function Z(le,ee){if(1&le&&(r.j41(0,"p",21),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.AVh("bold-title",D.boldTitle()),r.R7$(),r.JRh(D.allTranslations()["#pps_WCC_FS_Product_Finder_Other_Selected_Label_Text1"])}}function Y(le,ee){if(1&le&&(r.j41(0,"p",22),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.AVh("bold-title",D.boldTitle()),r.R7$(),r.SpI("",D.allTranslations()["#pps_WCC_FS_Product_finder_label2"],":")}}function se(le,ee){if(1&le){const D=r.RV6();r.j41(0,"a",23),r.bIt("click",function(){x.eBV(D);const X=r.XpG(2);return x.Njj(X.clearSerialNumberField())})("keydown.enter",function(X){x.eBV(D);const K=r.XpG(2);return x.Njj(K.onEnterCloseSerialNumberIcon(X))}),r.k0s()}}function U(le,ee){if(1&le&&(r.j41(0,"p",18),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.R7$(),r.SpI(" ",D.allTranslations()["#pps_WCC_FS_Product_Finder_Common_Error_Text"])}}function pe(le,ee){if(1&le&&(r.j41(0,"p",18),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.R7$(),r.Lme(" ",D.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]," ",D.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function te(le,ee){if(1&le){const D=r.RV6();r.j41(0,"button",24),r.bIt("click",function(){x.eBV(D);
1const X=r.XpG(2);return x.Njj(X.submitSearchQuery())}),r.j41(1,"span",25),r.EFF(2),r.k0s()()}if(2&le){const D=r.XpG(2);r.AVh("sn-submit-hidden",D.showProductNumberField()&&D.hideSNSubmitOnPN())("hide-submit-mobile",D.mobileAltSubmit()),r.Y8G("disabled",!D.serialNumberEntered()||D.serialNumberButtonDisabled())("title",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),r.R7$(2),r.JRh(D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function ge(le,ee){if(1&le&&r.nrm(0,"ngb-highlight",26),2&le){const D=ee.result,M=ee.term;r.Y8G("id",r.mNQ(D.productId))("result",D.name)("term",M)}}function me(le,ee){if(1&le){const D=r.RV6();r.j41(0,"button",27),r.bIt("click",function(){x.eBV(D);const X=r.XpG(2);return x.Njj(X.submitSearchQuery())}),r.EFF(1),r.k0s()}if(2&le){const D=r.XpG(2);r.AVh("hidden",D.showProductNumberField()&&D.hideSNSubmitOnPN()),r.Y8G("disabled",!D.serialNumberEntered()||D.serialNumberButtonDisabled())("title",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),r.R7$(),r.SpI(" ",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}}function Pe(le,ee){if(1&le){const D=r.RV6();r.j41(0,"div",8),r.nVh(1,Z,2,3,"p",9),r.nVh(2,Y,2,3,"p",10),r.j41(3,"div",11)(4,"label",12),r.EFF(5),r.k0s(),r.j41(6,"div",13)(7,"div",14)(8,"div",15)(9,"input",16,0),r.bIt("selectItem",function(X){x.eBV(D);const K=r.XpG();return x.Njj(K.onOptionSelection(X))})("ngModelChange",function(X){x.eBV(D);const K=r.XpG();return K.serialNumberModel.set(X),x.Njj(K.onChangeSerialSearchInput(X))})("keyup",function(X){x.eBV(D);const K=r.XpG();return x.Njj(K.onSerialSearchNumberKeyUpEvent(X))}),r.k0s(),r.nVh(11,se,1,0,"a",17),r.k0s(),r.nVh(12,U,2,1,"p",18),r.nVh(13,pe,2,2,"p",18),r.k0s(),r.nVh(14,te,3,7,"button",19),r.DNE(15,ge,1,4,"ng-template",null,1,r.C5r),r.k0s(),r.nVh(17,me,2,5,"button",20),r.k0s()()}if(2&le){const D=r.sdS(16),M=r.XpG();r.AVh("full-width-input",M.hideAllSubmit())("has-alt-submit",M.mobileAltSubmit()),r.R7$(),r.vxM(M.alternateTitle()?-1:1),r.R7$(),r.vxM(M.alternateTitle()?2:-1),r.R7$(3),r.JRh(M.allTranslations()["#pps_WCC_FS_Product_Finder_Other_Selected_Label_Text1"]),r.R7$(3),r.AVh("has-error",M.invalidSN()||M.showProductNumberField()&&!M.productNumberSubmitted()),r.R7$(),r.Y8G("ngModel",M.serialNumberModel())("placeholder",M.allTranslations()["#pps_WCC_FS_UCE_Choose_Product_Not_Signed_In_Enter_Serial_No_Ghost_Text"])("ngbTypeahead",M.search)("focusFirst",!1)("inputFormatter",M.formatter)("resultTemplate",D),r.R7$(2),r.vxM(M.serialNumberEntered()?11:-1),r.R7$(),r.vxM(M.invalidSN()?12:-1),r.R7$(),r.vxM(M.showProductNumberField()&&!M.productNumberSubmitted()?13:-1),r.R7$(),r.vxM(M.hideAllSubmit()?-1:14),r.R7$(3),r.vxM(M.mobileAltSubmit()&&!M.hideAllSubmit()?17:-1)}}function be(le,ee){if(1&le&&(r.j41(0,"p",21),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.AVh("bold-title",D.boldTitle()),r.R7$(),r.JRh(D.allTranslations()[D.serialNumberTitle()])}}function we(le,ee){if(1&le&&(r.j41(0,"p",22),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.AVh("bold-title",D.boldTitle()),r.R7$(),r.SpI("",D.allTranslations()["#pps_WCC_FS_Product_finder_label2"],":")}}function ye(le,ee){if(1&le){const D=r.RV6();r.j41(0,"a",23),r.bIt("click",function(){x.eBV(D);const X=r.XpG(2);return x.Njj(X.clearSerialNumberField())})("keydown.enter",function(X){x.eBV(D);const K=r.XpG(2);return x.Njj(K.onEnterCloseSerialNumberIcon(X))}),r.k0s()}}function Fe(le,ee){if(1&le&&(r.j41(0,"p",18),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.R7$(),r.SpI(" ",D.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Ee(le,ee){if(1&le&&(r.j41(0,"p",18),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.R7$(),r.Lme(" ",D.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]," ",D.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function De(le,ee){if(1&le){const D=r.RV6();r.j41(0,"button",24),r.bIt("click",function(){x.eBV(D);const X=r.XpG(2);return x.Njj(X.submitSerialNumber())}),r.j41(1,"span",25),r.EFF(2),r.k0s()()}if(2&le){const D=r.XpG(2);r.AVh("sn-submit-hidden",D.showProductNumberField()&&D.hideSNSubmitOnPN())("hide-submit-mobile",D.mobileAltSubmit()),r.Y8G("disabled",!D.serialNumberEntered()||D.serialNumberButtonDisabled())("title",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),r.R7$(2),r.JRh(D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function He(le,ee){if(1&le){const D=r.RV6();r.j41(0,"button",27),r.bIt("click",function(){x.eBV(D);
1const X=r.XpG(2);return x.Njj(X.submitSerialNumber())}),r.EFF(1),r.k0s()}if(2&le){const D=r.XpG(2);r.AVh("hidden",D.showProductNumberField()&&D.hideSNSubmitOnPN()),r.Y8G("disabled",!D.serialNumberEntered()||D.serialNumberButtonDisabled())("title",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),r.R7$(),r.SpI(" ",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}}function Xe(le,ee){if(1&le){const D=r.RV6();r.j41(0,"div",8),r.nVh(1,be,2,3,"p",9),r.nVh(2,we,2,3,"p",10),r.j41(3,"div",11)(4,"label",12),r.EFF(5),r.k0s(),r.j41(6,"div",13)(7,"div",14)(8,"div",15)(9,"input",28,2),r.bIt("ngModelChange",function(X){x.eBV(D);const K=r.XpG();return K.serialNumberModel.set(X),x.Njj(K.onChangeSerialNumberInput(X))})("keyup",function(X){x.eBV(D);const K=r.XpG();return x.Njj(K.onSerialNumberKeyUpEvent(X))}),r.k0s(),r.nVh(11,ye,1,0,"a",17),r.k0s(),r.nVh(12,Fe,2,1,"p",18),r.nVh(13,Ee,2,2,"p",18),r.k0s(),r.nVh(14,De,3,7,"button",19),r.k0s(),r.nVh(15,He,2,5,"button",20),r.k0s()()}if(2&le){const D=r.XpG();r.AVh("full-width-input",D.hideAllSubmit())("has-alt-submit",D.mobileAltSubmit()),r.R7$(),r.vxM(D.alternateTitle()?-1:1),r.R7$(),r.vxM(D.alternateTitle()?2:-1),r.R7$(3),r.JRh(D.allTranslations()[D.serialNumberTitle()]),r.R7$(3),r.AVh("has-error",D.invalidSN()||D.showProductNumberField()&&!D.productNumberSubmitted()),r.R7$(),r.Y8G("ngModel",D.serialNumberModel())("placeholder",D.allTranslations()["#pps_WCC_FS_UCE_Choose_Product_Not_Signed_In_Enter_Serial_No_Ghost_Text"]),r.R7$(2),r.vxM(D.serialNumberEntered()?11:-1),r.R7$(),r.vxM(D.invalidSN()?12:-1),r.R7$(),r.vxM(D.showProductNumberField()&&!D.productNumberSubmitted()?13:-1),r.R7$(),r.vxM(D.hideAllSubmit()?-1:14),r.R7$(),r.vxM(D.mobileAltSubmit()&&!D.hideAllSubmit()?15:-1)}}function ze(le,ee){if(1&le){const D=r.RV6();r.j41(0,"a",34),r.bIt("click",function(){x.eBV(D);const X=r.XpG(2);return x.Njj(X.clearProductNumberField())})("keydown.enter",function(X){x.eBV(D);const K=r.XpG(2);return x.Njj(K.onEnterCloseProductNumberIcon(X))}),r.k0s()}}function Ke(le,ee){if(1&le&&(r.j41(0,"p",18),r.EFF(1),r.k0s()),2&le){const D=r.XpG(2);r.R7$(),r.SpI(" ",D.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Name_Error_Text"])}}function Ye(le,ee){if(1&le){const D=r.RV6();r.j41(0,"button",35),r.bIt("click",function(){x.eBV(D);const X=r.XpG(2);return x.Njj(X.submitProductNumber())}),r.j41(1,"span",25),r.EFF(2),r.k0s()()}if(2&le){const D=r.XpG(2);r.AVh("hide-submit-mobile",D.mobileAltSubmit()),r.Y8G("disabled",!D.productNumberEntered()||D.productNumberButtonDisabled())("title",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),r.R7$(2),r.JRh(D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function Qe(le,ee){if(1&le){const D=r.RV6();r.j41(0,"button",36),r.bIt("click",function(){x.eBV(D);const X=r.XpG(2);return x.Njj(X.submitProductNumber())}),r.EFF(1),r.k0s()}if(2&le){const D=r.XpG(2);r.AVh("hide-submit-mobile",D.mobileAltSubmit()),r.Y8G("disabled",!D.productNumberEntered()||D.productNumberButtonDisabled())("title",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),r.R7$(),r.SpI(" ",D.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}}function Je(le,ee){if(1&le){const D=r.RV6();r.j41(0,"div",8)(1,"p"),r.EFF(2),r.k0s(),r.j41(3,"div",11)(4,"label",29),r.EFF(5),r.k0s(),r.j41(6,"div",13)(7,"div",14)(8,"div",15)(9,"input",30,3),r.bIt("ngModelChange",function(X){x.eBV(D);const K=r.XpG();return K.productNumberModel.set(X),x.Njj(K.onChangeProductNumberInput(X))})("keyup",function(X){x.eBV(D);const K=r.XpG();return x.Njj(K.onProductNumberKeyUpEvent(X))}),r.k0s(),r.nVh(11,ze,1,0,"a",31),r.k0s(),r.nVh(12,Ke,2,1,"p",18),r.k0s(),r.nVh(13,Ye,3,5,"button",32),r.k0s(),r.nVh(14,Qe,2,5,"button",33),r.k0s()()}if(2&le){const D=r.XpG();r.AVh("full-width-input",D.hideAllSubmit())("has-alt-submit",D.mobileAltSubmit()),r.R7$(),r.AVh("bold-title",D.boldTitle()),r.R7$(),r.JRh(D.allTranslations()[D.productNumberTitle()]),r.R7$(3),r.JRh(D.allTranslations()[D.productNumberTitle()]),r.R7$(3),r.AVh("has-error",D.invalidPN()),r.R7$(),r.Y8G("ngModel",D.productNumberModel())("placeholder",D.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"]),r.R7$(2),r.vxM(D.productNumberEntered()?11:-1),r.R7$(),r.vxM(D.invalidPN()?12:-1),r.R7$(),r.vxM(D.hideAllSubmit()?-1:13),r.R7$(),r.vxM(D.mobileAltSubmit()&&!D.hideAllSubmit()?14:-1)}}let We,qe,et,Ze="",$e=(()=>{class le{constructor(D,M,X,K,he,Oe,Se,Ae,Le,it,ke,tt,nt){this.commonService=D,this.pageService=M,this.browserWrapperService=X,this.loadingScreenService=K,this.globalDataService=he,this.modalService=Oe,this.contactService=Se,this.searchResultsService=Ae,this.router=Le,this.warrantySpecsService=it,this.store=ke,this.destroyRef=tt,this.document=nt,this.serialNumberModel=(0,x.vPA)(""),this.serialNumberEntered=(0,x.vPA)(!1),this.serialNumberButtonDisabled=(0,x.vPA)(!0),this.showProductNumberField=(0,x.vPA)(!1),this.productNumberModel=(0,x.vPA)(""),this.productNumberEntered=(0,x.vPA)(!1),this.productNumberSubmitted=(0,x.vPA)(!1),this.productNumberButtonDisabled=(0,x.vPA)(!0),this.searching=(0,x.vPA)(!1),this.serialNumberTitle=(0,d.geq)(""),this.productNumberTitle=(0,d.hFB)(""),this.allTranslations=(0,d.hFB)({}),this.hideSNSubmitOnPN=(0,d.hFB)(!1),this.hideAllSubmit=(0,d.hFB)(!1),this.mobileAltSubmit=(0,d.hFB)(!1),this.boldTitle=(0,d.hFB)(!1),this.searchField=(0,d.hFB)(!1),this.wrapperClass=(0,d.hFB)(""),this.pageName=(0,d.hFB)(""),this.SNBoxPosition=(0,d.hFB)(null),this.alternateTitle=(0,d.hFB)(!1),this.serialNumberEmitter=(0,d.CGW)(),this.productNumberEmitter=(0,d.CGW)(),this.showProductNumberEmitter=(0,d.CGW)(),this.enterPressedEmitter=(0,d.CGW)(),this.pageConfig=(0,h.EW)(()=>this.pageService.configSignal()),this.invalidSN=(0,x.vPA)(!1),this.invalidPN=(0,x.vPA)(!1),this.enableModelEntry=(0,x.vPA)(!1),this.seriesOid=(0,x.vPA)(null),this.gdlObj=(0,x.vPA)({ContactEntitlementresults:{SNentry:"",SNEntryType:""}}),this.isSolutionPageVisited=(0,x.vPA)(!1),this.pfinderMinCharLen=(0,x.vPA)(""),this.ssckeys=(0,x.vPA)(null),this.searchFieldInputRef=(0,d.ebz)("searchFieldInputRef"),this.nonSearchFieldInputRef=(0,d.ebz)("nonSearchFieldInputRef"),this.productFieldInputRef=(0,d.ebz)("productFieldInputRef"),this.getToken=()=>{setTimeout(()=>{if(window.grecaptcha?.enterprise?.execute)try{window.grecaptcha?.enterprise?.ready(()=>{window.grecaptcha?.enterprise?.execute(We,{action:"submit"}).then(Be=>{Ze=Be},()=>{this.getToken()})})}catch{this.getToken()}else this.getToken()},5)}
1,this.showModelsDropdown=(0,h.EW)(()=>{const Be=this.window?.location?.pathname?.split("/")?.pop();return this.enableModelEntry()&&this.seriesOid()&&I.D5.modelDropdownEnabledRoutes.includes(Be)}),this.search=Be=>Be.pipe((0,ae.B)(300),(0,oe.F)(),(0,z.M)(()=>this.searching.set(!0)),(0,B.n)(Ue=>this.contactService.search(Ue).pipe((0,z.M)(()=>{this.serialNumberEntered.set(!0)}),(0,q.W)(()=>(0,ce.of)([])))),(0,z.M)(()=>this.searching.set(!1))),this.formatter=Be=>Be.name,this.window=this.document.defaultView}ngOnInit(){this.getSSCconfig(),this.globalDataService.updateGDL(this.gdlObj(),!0),this.commonService.resetSerialNumberEntryForm.pipe((0,g.pQ)(this.destroyRef)).subscribe(D=>{this.clearAllFields()}),this.commonService.productSubmit.pipe((0,g.pQ)(this.destroyRef)).subscribe(D=>{this.serialNumberEntered()&&(this.showProductNumberField()?this.submitProductNumber():this.submitSerialNumber())})}fetchDeviceData(D){let M=this.browserWrapperService.getSessionStorageItem("productData");if(M){const K=this.warrantySpecsService.getSingleDevice(M)?.productSpecs;("both"===D?.toLowerCase()||(D?.toLowerCase()).includes(K?.seriesLevelAudienceFlag?.toLowerCase())||K?.prodCategory===I.CH)&&K?.productSeriesOid&&(K?.seriesContext||K?.modelContext)&&(this.seriesOid.set(K?.productSeriesOid),this.showModelsDropdown()&&this.serialNumberTitle.set("#pps_WCC_FS_Product_finder_label2"))}}getSSCconfig(){this.store.select(C.FM).pipe((0,W.$)(D=>!(0,H.A)(D))).subscribe(D=>{this.ssckeys.set(D),this.ssckeys()?.SLNO_REQUIRED_CONTACT&&this.ssckeys()?.SLNO_NOTREQUIRED_AUDIENCE_CONTACT&&(this.enableModelEntry.set("yes"!==this.ssckeys().SLNO_REQUIRED_CONTACT.toLowerCase()),this.enableModelEntry()&&this.fetchDeviceData(this.ssckeys()?.SLNO_NOTREQUIRED_AUDIENCE_CONTACT)),We=this.ssckeys()?.RECAPTCHA_SITE_KEY||"",qe=this.ssckeys()?.RECAPTCHA_SITE_URL||"",et=this.ssckeys()?.RECAPTCHA_SITE_URL_CHINA||"";const M=this.ssckeys().ENABLE_POLY_SEARCH_EXP&&this.ssckeys().ENABLE_POLY_SEARCH_EXP?this.ssckeys().ENABLE_POLY_SEARCH_EXP:"";this.pfinderMinCharLen.set("YES"==M.toUpperCase()?this.ssckeys().PFINDER_SN_MIN_CHAR_LENGTH&&this.ssckeys().PFINDER_SN_MIN_CHAR_LENGTH?this.ssckeys().PFINDER_SN_MIN_CHAR_LENGTH:"6":"1")})}onChangeSerialNumberInput(D){this.invalidSN.set(!1),this.showProductNumberField.set(!1),D&&"string"==typeof D&&(D=D.trim()),this.serialNumberEntered()||this.serialNumberEntered.set(this.serialNumberModel().length>0),this.serialNumberEmitter.emit(D),this.showProductNumberEmitter.emit(this.showProductNumberField()),D.length>=parseInt(this.pfinderMinCharLen())?this.serialNumberButtonDisabled.set(!1):this.serialNumberButtonDisabled.set(!0)}onChangeSerialSearchInput(D){this.invalidSN.set(!1),this.showProductNumberField.set(!1),D&&"string"==typeof D&&(D=D.trim()),this.serialNumberEntered()||this.serialNumberEntered.set(this.serialNumberModel().length>0),this.serialNumberEmitter.emit(D),this.showProductNumberEmitter.emit(this.showProductNumberField()),this.serialNumberButtonDisabled.set(!(D.length>0))}onSerialNumberKeyUpEvent(D){this.serialNumberEntered.set(this.serialNumberModel().length>0),"Enter"===D.key&&this.serialNumberEntered()&&(this.serialNumberButtonDisabled.set(!0),this.hideAllSubmit()?this.enterPressedEmitter.emit():this.submitSerialNumber())}onSerialSearchNumberKeyUpEvent(D){this.serialNumberEntered.set(this.serialNumberModel().length>0),"Enter"===D.key&&this.serialNumberEntered()&&(this.serialNumberButtonDisabled.set(!0),this.hideAllSubmit()?this.enterPressedEmitter.emit():this.submitSearchQuery())}clearSerialNumberField(D){this.serialNumberButtonDisabled.set(!0),setTimeout(()=>{this.serialNumberModel.set(""),this.serialNumberEmitter.emit(this.serialNumberModel()),this.serialNumberEntered.set(!1),this.invalidSN.set(!1),this.gdlObj.set({ContactEntitlementresults:{SNentry:"",SNEntryType:""}}),this.globalDataService.updateGDL(this.gdlObj(),!0),this.showProductNumberField.set(!1),this.clearProductNumberField()}),!D&&(this.searchField()?this.searchFieldInputRef()?.nativeElement.focus():this.nonSearchFieldInputRef()?.nativeElement.focus())}onEnterCloseSerialNumberIcon(D){D.preventDefault(),this.clearSerialNumberField()}onChangeProductNumberInput(D){this.invalidPN.set(!1),D=D.trim(),this.productNumberSubmitted.set(!1),this.productNumberEmitter.emit(D),D.length>0?(this.productNumberEntered.set(!0),this.productNumberButtonDisabled.set(!1)):this.productNumberButtonDisabled.set(!0)}onProductNumberKeyUpEvent(D){this.productNumberEntered.set(this.productNumberModel().length>0),"Enter"===D.key&&this.productNumberEntered()&&(this.productNumberButtonDisabled.set(!0),this.productNumberSubmitted.set(!0),this.hideAllSubmit()?this.enterPressedEmitter.emit():this.submitProductNumber())}clearProductNumberField(){this.productNumberButtonDisabled.set(!0),setTimeout(()=>{this.productNumberModel.set(""),this.productNumberEntered.set(!1),this.productNumberSubmitted.set(!1),this.productNumberEmitter.emit(this.productNumberModel()),this.invalidPN.set(!1)}),this.productFieldInputRef()?.nativeElement.focus()}clearAllFields(){this.clearSerialNumberField(),this.showProductNumberField.set(!1),this.clearProductNumberField()}onEnterCloseProductNumberIcon(D){D.preventDefault(),this.clearProductNumberField()}submitSerialNumber(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.commonService.isSerialNumberPattern(this.serialNumberModel(),this.ssckeys())?(this.submitQuery(this.serialNumberModel()),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"True|SN"}}),this.globalDataService.updateGDL(this.gdlObj(),!0)):(this.invalidSN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"false"}}),this.globalDataService.updateGDL(this.gdlObj(),!0))}submitSearchQuery(D){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0);const M=this.serialNumberModel();this.searchResultsService.checkSnPnConflict(M,"PfinderContact",D).then(K=>{if(K&&K.code&&200===K.code){const he=K?.data?.verifyResponse,Oe=K?.data?.ka
1aSResponse;if(200===he?.code&&(K?.conflict&&K?.result?.verifySelected||!K?.conflict)){let Se="";he?.data?.targetUrl&&(Se=`/${this.pageConfig().locale}${he.data.targetUrl}`),Se.length>0?"contact"===Se.split("/")?.[2]?(this.browserWrapperService.setSessionStorageItem("serialNumberEntry",JSON.stringify(!0)),this.contactService.gotoContactOptionsWithUrl(Se)):(this.loadingScreenService.startLoading(!0),window.location.href=Se):this.invalidSN.set(!0)}else if(200===Oe?.code){let Se="";if(1===Oe?.data?.searchResults?.categories?.length){const Ae=Oe?.data?.searchResults?.categories[0];if(Ae.subCategoryList&&1===Ae.subCategoryList.length){const Le=Ae.subCategoryList[0].productList[0].targetUrl;Se=`/${this.pageConfig().locale}${Le}`}else Ae.subCategoryList&&Ae.subCategoryList.length>1&&(Se=`/${this.pageConfig().locale}/deviceSearch?q=${M}&origin=PfinderContact`)}else Oe?.data?.searchResults?.categories&&Oe?.data?.searchResults?.categories.length>1&&(Se=`/${this.pageConfig().locale}/deviceSearch?q=${M}&origin=PfinderContact`);Se.length>0?"contact"===Se.split("/")?.[2]?(this.browserWrapperService.setSessionStorageItem("serialNumberEntry",JSON.stringify(!0)),this.router.navigateByUrl(Se)):(this.loadingScreenService.startLoading(!0),window.location.href=Se):this.invalidSN.set(!0)}else 406===he?.code&&he?.message===I._P.MULTIPLE_DEVICES?this.showProductNumberField.set(!0):this.invalidSN.set(!0)}else this.serialNumberButtonDisabled.set(!1)},()=>{this.serialNumberButtonDisabled.set(!1)})}submitProductNumber(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.commonService.isProductNumberPattern(this.productNumberModel())?this.searchField()?this.submitSearchQuery(this.productNumberModel()):(this.productNumberSubmitted.set(!0),this.submitQuery(this.serialNumberModel(),this.productNumberModel())):this.invalidPN.set(!0)}validateSerialNumber(){this.commonService.isSerialNumberPattern(this.serialNumberModel(),this.ssckeys())||(this.invalidSN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"false"}}),this.globalDataService.updateGDL(this.gdlObj(),!0))}onOptionSelection(D){this.browserWrapperService.setSessionStorageItem("serialNumberEntry",JSON.stringify(!0));const M=D.item;M&&(this.serialNumberEntered.set(!0),this.serialNumberModel.set(M.name),this.serialNumberButtonDisabled.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"True|typeahead"}}),this.globalDataService.updateGDL(this.gdlObj(),!0)),this.contactService.optionSelector(M)}validateProductNumber(){this.commonService.isProductNumberPattern(this.serialNumberModel())||this.invalidPN.set(!0)}showProductNumber(){this.showProductNumberField.set(!0),this.showProductNumberEmitter.emit(this.showProductNumberField())}openRetiredProductModal(){this.commonService.openRetiredProductModal()}submitQuery(D,M){const X=(K,he)=>{const Oe=this.addCallMeParam(K.data.targetUrl);if(he&&"ContactHP-Productselection"===this.pageName()){const Se=this.warrantySpecsService.getSingleDevice(he);let Ae=Se?.warranty?.productLineCode||Se?.productSpecs?.productLineCode;this.contactService.checkTriageIsOn("guest",null,this.contactService.checkDeviceSubscription(he),K.data.productSeriesOID,!0,Ae).pipe((0,g.pQ)(this.destroyRef)).subscribe(Le=>{if(Le){const ke=-1===["5","2","1"].indexOf(K.data.productType.toString())?"product":S[K.data.productType.toString()].productType;this.globalDataService.updateGDL({Product:{serialNumber:K.data.serialNumber,historicalWebSupportFlag:K?.data?.historicalWebSupportFlag}},!0),this.commonService.updateContactProductContext({sku:K?.data?.altProductNumber||K?.data?.productNumber,serialNumber:K.data.serialNumber,seriesName:K.data.SEOFriendlyName,seriesOid:K.data.productSeriesOID,modelOid:K.data.productNameOID}),this.router.navigate([`/${this.pageConfig().locale}/contact/help/${ke}`],{state:{title:ke,type:ke,context:!0}})}else this.contactService.gotoContactOptionsWithUrl(`/${this.pageConfig().locale+Oe}`)})}else this.contactService.gotoContactOptionsWithUrl(`/${this.pageConfig().locale+Oe}`)};this.searchResultsService.checkSnPnConflict(D,"PfinderContact",M,!0).then(K=>{if((0,H.A)(K))this.serialNumberButtonDisabled.set(!1);else{const he=K?.data?.verifyResponse;200===he?.code&&he.data?"contact"===this.pageConfig().pageName?this.warrantySpecsService.getWarrantySpecsData({serialNumber:he.data.seri
1alNumber,sku:he?.data?.altProductNumber||he?.data?.productNumber,seriesName:he.data.SEOFriendlyName,seriesOid:he.data.productSeriesOID,modelOid:he.data.productNameOID}).subscribe(Se=>{const Le=this.warrantySpecsService.getSingleDevice(Se)?.productSpecs;Se&&(Le?.seriesLevelHistorical||Le?.modelLevelHistorical)?this.openRetiredProductModal():X(K?.data?.verifyResponse,Se)}):X(K?.data?.verifyResponse):406===he?.code&&he?.message===I._P.MULTIPLE_DEVICES?(this.showProductNumberField.set(!0),this.showProductNumberField.set(!0),this.showProductNumberEmitter.emit(this.showProductNumberField()),this.serialNumberButtonDisabled.set(!0)):M&&(204===he?.code||406===he?.code&&he?.message===I._P.PN_NOT_VALID)?(this.invalidPN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"True|SN|typed"}}),this.globalDataService.updateGDL(this.gdlObj(),!0)):this.showModelsDropdown()&&204===he?.code?this.selectModel():(this.invalidSN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"True",SNEntryType:"false"}}),this.globalDataService.updateGDL(this.gdlObj(),!0))}},()=>{this.serialNumberButtonDisabled.set(!1)})}addCallMeParam(D){return"callme"===this.pageConfig().originId&&(/\?/.test(D)?D+="&originid=callme":D+="?originid=callme"),D}versionSelected(){this.clearSerialNumberField(!0)}selectModel(){const D=this.modalService.open(de,{windowClass:"select-model-modal",size:"sm"});D.componentInstance.isModal=!0,D.componentInstance.seriesOid.set(this.seriesOid()),D.result.then(()=>{this.modalService.dismissAll()})}static{this.\u0275fac=function(M){return new(M||le)(r.rXU(e.h),r.rXU(_.b),r.rXU(u.z),r.rXU(p.s),r.rXU(l.a),r.rXU(y.Bq),r.rXU(b.u),r.rXU(f.Q),r.rXU(R.Ix),r.rXU(w.a),r.rXU(F.il),r.rXU(x.abz),r.rXU(x.qQL))}}static{this.\u0275cmp=r.VBU({type:le,selectors:[["app-serial-number-entry"]],viewQuery:function(M,X){1&M&&(r.wEZ(X.searchFieldInputRef,A,5),r.wEZ(X.nonSearchFieldInputRef,P,5),r.wEZ(X.productFieldInputRef,E,5)),2&M&&r.NyB(3)},inputs:{serialNumberTitle:[1,"serialNumberTitle"],productNumberTitle:[1,"productNumberTitle"],allTranslations:[1,"allTranslations"],hideSNSubmitOnPN:[1,"hideSNSubmitOnPN"],hideAllSubmit:[1,"hideAllSubmit"],mobileAltSubmit:[1,"mobileAltSubmit"],boldTitle:[1,"boldTitle"],searchField:[1,"searchField"],wrapperClass:[1,"wrapperClass"],pageName:[1,"pageName"],SNBoxPosition:[1,"SNBoxPosition"],alternateTitle:[1,"alternateTitle"]},outputs:{serialNumberTitle:"serialNumberTitleChange",serialNumberEmitter:"serialNumberEmitter",productNumberEmitter:"productNumberEmitter",showProductNumberEmitter:"showProductNumberEmitter",enterPressedEmitter:"enterPressedEmitter"},decls:5,vars:9,consts:[["searchFieldInputRef",""],["result",""],["nonSearchFieldInputRef",""],["productFieldInputRef",""],[1,"serial-number-entry-block",3,"ngClass"],[1,"select-model-block"],[1,"form-block",3,"full-width-input","has-alt-submit"],["wrapperClass","models-dropdown",3,"versionSelected","submitButtonText","versionDropdownLabel","versionDropdownHeading","_disableSubmit","seriesId"],[1,"form-block"],[1,"serial-number-title",3,"bold-title"],[1,"serial-number-title","alternateTitle",3,"bold-title"],[1,"search-input"],["id","pfinder-sn-entry-help","for","inputtextpfinder",1,"sr-only"],[1,"sn-input-wrapper"],[1,"sn-input"],[1,"sn-input-box"],["type","text","name","pfinder-sn-entry","id","inputtextpfinder","autocomplete","off",3,"selectItem","ngModelChange","keyup","ngModel","placeholder","ngbTypeahead","focusFirst","inputFormatter","resultTemplate"],["aria-label","Clear Serial Number","href","javascript:void(0)",1,"close-icon"],["aria-live","assertive","role","alert",1,"error-text"],["id","FindMyProduct","type","button",1,"btn","submit-icon",3,"disabled","sn-submit-hidden","title","hide-submit-mobile"],["id","FindMyProductMobile","type","button",1,"btn","submit-mobile",3,"disabled","hidden","title"],[1,"serial-number-title"],[1,"serial-number-title","alternateTitle"],["aria-label","Clear Serial Number","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter"],["id","FindMyProduct","type","button",1,"btn","submit-icon",3,"click","disabled","title"],[1,"mobile-hidden"],[3,"result","term","id"],["id","FindMyProductMobile","type","button",1,"btn","submit-mobile",3,"click","disabled","title"],["type","text","name","pfinder-sn-entry","id","inputtextpfinder","autocomplete","off",3,"ngModelChange","keyup","ngModel","placeholder"],["id","pfinder-pn-entry-help","for","inputtextPN",1,"sr-only"],["type","text","name","pfinder-pn-entry","id","inputtextPN","autocomplete","off",3,"ngModelChange","keyup","ngModel","placeholder"],["aria-label","Clear Product Number","href","javascript:void(0)",1,"close-icon"],["id","Findmyproductnumber","type","button",1,"btn","submit-icon",3,"disabled","hide-submit-mobile","title"],["id","PNsubmitMobile","type","button",1,"btn","submit-mobile",3,"disabled","hide-submit-mobile","title"],["aria-label","Clear Product Number","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter"],["id","Findmyproductnumber","type","button",1,"btn","submit-icon",3,"click","disabled","title"],["id","PNsubmitMobile","type","button",1,"btn","submit-mobile",3,"click","disabled","title"]],template:function(M,X){1&M&&(r.j41(0,"div",4),r.nVh(1,ne,2,6,"div",5),r.nVh(2,Pe,18,20,"div",6),r.nVh(3,Xe,16,16,"div",6),r.nVh(4,Je,15,16,"div",6),r.k0s()),2&M&&(r.Y8G("ngClass",r.sMw(5,k,X.pageConfig().languageDirection,X.SNBoxPosition()?X.SNBoxPosition():"",X.wrapperClass())),r.R7$(),r.vxM(X.showModels
1Dropdown()?1:-1),r.R7$(),r.vxM(X.searchField()?2:-1),r.R7$(),r.vxM(X.searchField()?-1:3),r.R7$(),r.vxM(X.showProductNumberField()?4:-1))},dependencies:[L.YU,G.y,T.YN,T.me,T.BC,T.vS,y.$n,y.Qr],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.position-fixed[_ngcontent-%COMP%]{position:fixed!important}.position-relative[_ngcontent-%COMP%]{position:relative!important}.position-absolute[_ngcontent-%COMP%]{position:absolute!important}.position-static[_ngcontent-%COMP%]{position:static!important}.inline[_ngcontent-%COMP%]{display:inline!important}.block[_ngcontent-%COMP%], .show[_ngcontent-%COMP%]{display:block!important}.hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none!important}.flex[_ngcontent-%COMP%]{display:flex!important}.inline-block[_ngcontent-%COMP%]{display:inline-block!important}.align-center[_ngcontent-%COMP%]{text-align:center!important;align-items:center!important}.align-left[_ngcontent-%COMP%]{text-align:left!important;align-items:left!important}.align-right[_ngcontent-%COMP%]{text-align:right!important;align-items:right!important}.align-justify[_ngcontent-%COMP%]{text-align:justify!important;align-items:justify}.align-initial[_ngcontent-%COMP%]{align-items:initial!important}.zindex-1[_ngcontent-%COMP%]{z-index:1!important}.zindex-2[_ngcontent-%COMP%]{z-index:2!important}.zindex-3[_ngcontent-%COMP%]{z-index:3!important}.left[_ngcontent-%COMP%]{float:left!important}.right[_ngcontent-%COMP%]{float:right!important}.bold[_ngcontent-%COMP%]{font-weight:700!important}.regular[_ngcontent-%COMP%]{font-weight:400!important}.italic[_ngcontent-%COMP%]{font-style:italic!important}.break-word[_ngcontent-%COMP%]{word-wrap:break-word!important}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap!important}.border-white-all[_ngcontent-%COMP%]{border:1px solid #fff!important}.border-white-top[_ngcontent-%COMP%]{border-top:1px solid #fff!important}.border-white-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #fff!important}.border-white-right[_ngcontent-%COMP%]{border-right:1px solid #fff!important}.border-white-left[_ngcontent-%COMP%]{border-left:1px solid #fff!important}.no-list-type[_ngcontent-%COMP%]{list-style:none!important}.disc-list-type[_ngcontent-%COMP%]{list-style:disc!important}.lowercase[_ngcontent-%COMP%]{text-transform:lowercase!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase!important}.font-hp-simplified[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular!important}.font-hp-simplified-regular[_ngcontent-%COMP%]{font-family:HPSimplified!important}.font-hp-simplified-light[_ngcontent-%COMP%]{font-family:HPSimplifiedLight!important}.font-hp-control-icons[_ngcontent-%COMP%]{font-family:HPControlIcons!important}.font-arial[_ngcontent-%COMP%]{font-family:Arial!important}.font-12[_ngcontent-%COMP%]{font-size:12px!important}.font-14[_ngcontent-%COMP%]{font-size:14px!important}.font-16[_ngcontent-%COMP%]{font-size:16px!important}.font-18[_ngcontent-%COMP%]{font-size:18px!important}.font-20[_ngcontent-%COMP%]{font-size:20px!important}.font-22[_ngcontent-%COMP%]{font-size:22px!important}.font-24[_ngcontent-%COMP%]{font-size:24px!important}.font-30[_ngcontent-%COMP%]{font-size:30px!important}.font-35[_ngcontent-%COMP%]{font-size:35px!important}.mT0[_ngcontent-%COMP%]{margin-top:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT0[_ngcontent-%COMP%]{margin-top:0!important}}.pT0[_ngcontent-%COMP%]{padding-top:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT0[_ngcontent-%COMP%]{padding-top:0!important}}.mB0[_ngcontent-%COMP%]{margin-bottom:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB0[_ngcontent-%COMP%]{margin-bottom:0!important}}.pB0[_ngcontent-%COMP%]{padding-bottom:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB0[_ngcontent-%COMP%]{padding-bottom:0!important}}.mL0[_ngcontent-%COMP%]{margin-left:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL0[_ngcontent-%COMP%]{margin-left:0!important}}.pL0[_ngcontent-%COMP%]{padding-left:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL0[_ngcontent-%COMP%]{padding-left:0!important}}.mR0[_ngcontent-%COMP%]{margin-right:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR0[_ngcontent-%COMP%]{margin-right:0!important}}.pR0[_ngcontent-%COMP%]{padding-right:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR0[_ngcontent-%COMP%]{padding-right:0!important}}.mT5[_ngcontent-%COMP%]{margin-top:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT5[_ngcontent-%COMP%]{margin-top:5px!important}}.pT5[_ngcontent-%COMP%]{padding-top:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT5[_ngcontent-%COMP%]{padding-top:5px!important}}.mB5[_ngcontent-%COMP%]{margin-bottom:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB5[_ngcontent-%COMP%]{margin-bottom:5px!important}}.pB5[_ngcontent-%COMP%]{padding-bottom:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB5[_ngcontent-%COMP%]{padding-bottom:5px!important}}.mL5[_ngcontent-%COMP%]{margin-left:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL5[_ngcontent-%COMP%]{margin-left:5px!important}}.pL5[_ngcontent-%COMP%]{padding-left:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL5[_ngcontent-%COMP%]{padding-left:5px!important}}.mR5[_ngcontent-%COMP%]{margin-right:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR5[_ngcontent-%COMP%]{margin-right:5px!important}}.pR5[_ngcontent-%COMP%]{padding-right:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR5[_ngcontent-%COMP%]{padding-right:5px!important}}.mT10[_ngcontent-%COMP%]{margin-top:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT10[_ngcontent-%COMP%]{margin-top:10px!important}}.pT10[_ngcontent-%COMP%]{padding-top:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT10[_ngcontent-%COMP%]{padding-top:10px!important}}.mB10[_ngcontent-%COMP%]{margin-bottom:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB10[_ngcontent-%COMP%]{margin-bottom:10px!important}}.pB10[_ngcontent-%COMP%]{padding-bottom:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB10[_ngcontent-%COMP%]{padding-bottom:10px!important}}.mL10[_ngcontent-%COMP%]{margin-left:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL10[_ngcontent-%COMP%]{margin-left:10px!important}}.pL10[_ngcontent-%COMP%]{padding-left:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL10[_ngcontent-%COMP%]{padding-left:10px!important}}.mR10[_ngcontent-%COMP%]{margin-right:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR10[_ngcontent-%COMP%]{margin-right:10px!important}}.pR10[_ngcontent-%COMP%]{padding-right:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR10[_ngcontent-%COMP%]{padding-right:10px!important}}.mT15[_ngcontent-%COMP%]{margin-top:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT15[_ngcontent-%COMP%]{margin-top:15px!important}}.pT15[_ngcontent-%COMP%]{padding-top:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT15[_ngcontent-%COMP%]{padding-top:15px!important}}.mB15[_ngcontent-%COMP%]{margin-bottom:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB15[_ngcontent-%COMP%]{margin-bottom:15px!important}}.pB15[_ngcontent-%COMP%]{padding-bottom:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB15[_ngcontent-%COMP%]{padding-bottom:15px!important}}.mL15[_ngcontent-%COMP%]{margin-left:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL15[_ngcontent-%COMP%]{margin-left:15px!important}}.pL15[_ngcontent-%COMP%]{padding-left:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL15[_ngcontent-%COMP%]{padding-left:15px!important}}.mR15[_ngcontent-%COMP%]{margin-right:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR15[_ngcontent-%COMP%]{margin-right:15px!important}}.pR15[_ngcontent-%COMP%]{padding-right:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR15[_ngcontent-%COMP%]{padding-right:15px!important}}.mT18[_ngcontent-%COMP%]{margin-top:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT18[_ngcontent-%COMP%]{margin-top:18px!important}}.pT18[_ngcontent-%COMP%]{padding-top:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT18[_ngcontent-%COMP%]{padding-top:18px!important}}.mB18[_ngcontent-%COMP%]{margin-bottom:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB18[_ngcontent-%COMP%]{margin-bottom:18px!important}}.pB18[_ngcontent-%COMP%]{padding-bottom:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB18[_ngcontent-%COMP%]{padding-bottom:18px!important}}.mL18[_ngcontent-%COMP%]{margin-left:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL18[_ngcontent-%COMP%]{margin-left:18px!important}}.pL18[_ngcontent-%COMP%]{padding-left:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL18[_ngcontent-%COMP%]{padding-left:18px!important}}.mR18[_ngcontent-%COMP%]{margin-right:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR18[_ngcontent-%COMP%]{margin-right:18px!important}}.pR18[_ngcontent-%COMP%]{padding-right:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR18[_ngcontent-%COMP%]{padding-right:18px!important}}.mT20[_ngcontent-%COMP%]{margin-top:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT20[_ngcontent-%COMP%]{margin-top:20px!important}}.pT20[_ngcontent-%COMP%]{padding-top:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT20[_ngcontent-%COMP%]{padding-top:20px!important}}.mB20[_ngcontent-%COMP%]{margin-bottom:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB20[_ngcontent-%COMP%]{margin-bottom:20px!important}}.pB20[_ngcontent-%COMP%]{padding-bottom:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB20[_ngcontent-%COMP%]{padding-bottom:20px!important}}.mL20[_ngcontent-%COMP%]{margin-left:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL20[_ngcontent-%COMP%]{margin-left:20px!important}}.pL20[_ngcontent-%COMP%]{padding-left:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL20[_ngcontent-%COMP%]{padding-left:20px!important}}.mR20[_ngcontent-%COMP%]{margin-right:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR20[_ngcontent-%COMP%]{margin-right:20px!important}}.pR20[_ngcontent-%COMP%]{padding-right:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR20[_ngcontent-%COMP%]{padding-right:20px!important}}.mT25[_ngcontent-%COMP%]{margin-top:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT25[_ngcontent-%COMP%]{margin-top:25px!important}}.pT25[_ngcontent-%COMP%]{padding-top:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT25[_ngcontent-%COMP%]{padding-top:25px!important}}.mB25[_ngcontent-%COMP%]{margin-bottom:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB25[_ngcontent-%COMP%]{margin-bottom:25px!important}}.pB25[_ngcontent-%COMP%]{padding-bottom:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB25[_ngcontent-%COMP%]{padding-bottom:25px!important}}.mL25[_ngcontent-%COMP%]{margin-left:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL25[_ngcontent-%COMP%]{margin-left:25px!important}}.pL25[_ngcontent-%COMP%]{padding-left:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL25[_ngcontent-%COMP%]{padding-left:25px!important}}.mR25[_ngcontent-%COMP%]{margin-right:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR25[_ngcontent-%COMP%]{margin-right:25px!important}}.pR25[_ngcontent-%COMP%]{padding-right:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR25[_ngcontent-%COMP%]{padding-right:25px!important}}.mT28[_ngcontent-%COMP%]{margin-top:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT28[_ngcontent-%COMP%]{margin-top:28px!important}}
1.pT28[_ngcontent-%COMP%]{padding-top:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT28[_ngcontent-%COMP%]{padding-top:28px!important}}.mB28[_ngcontent-%COMP%]{margin-bottom:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB28[_ngcontent-%COMP%]{margin-bottom:28px!important}}.pB28[_ngcontent-%COMP%]{padding-bottom:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB28[_ngcontent-%COMP%]{padding-bottom:28px!important}}.mL28[_ngcontent-%COMP%]{margin-left:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL28[_ngcontent-%COMP%]{margin-left:28px!important}}.pL28[_ngcontent-%COMP%]{padding-left:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL28[_ngcontent-%COMP%]{padding-left:28px!important}}.mR28[_ngcontent-%COMP%]{margin-right:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR28[_ngcontent-%COMP%]{margin-right:28px!important}}.pR28[_ngcontent-%COMP%]{padding-right:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR28[_ngcontent-%COMP%]{padding-right:28px!important}}.mT30[_ngcontent-%COMP%]{margin-top:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT30[_ngcontent-%COMP%]{margin-top:30px!important}}.pT30[_ngcontent-%COMP%]{padding-top:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT30[_ngcontent-%COMP%]{padding-top:30px!important}}.mB30[_ngcontent-%COMP%]{margin-bottom:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB30[_ngcontent-%COMP%]{margin-bottom:30px!important}}.pB30[_ngcontent-%COMP%]{padding-bottom:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB30[_ngcontent-%COMP%]{padding-bottom:30px!important}}.mL30[_ngcontent-%COMP%]{margin-left:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL30[_ngcontent-%COMP%]{margin-left:30px!important}}.pL30[_ngcontent-%COMP%]{padding-left:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL30[_ngcontent-%COMP%]{padding-left:30px!important}}.mR30[_ngcontent-%COMP%]{margin-right:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR30[_ngcontent-%COMP%]{margin-right:30px!important}}.pR30[_ngcontent-%COMP%]{padding-right:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR30[_ngcontent-%COMP%]{padding-right:30px!important}}.mT35[_ngcontent-%COMP%]{margin-top:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT35[_ngcontent-%COMP%]{margin-top:35px!important}}.pT35[_ngcontent-%COMP%]{padding-top:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT35[_ngcontent-%COMP%]{padding-top:35px!important}}.mB35[_ngcontent-%COMP%]{margin-bottom:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB35[_ngcontent-%COMP%]{margin-bottom:35px!important}}.pB35[_ngcontent-%COMP%]{padding-bottom:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB35[_ngcontent-%COMP%]{padding-bottom:35px!important}}.mL35[_ngcontent-%COMP%]{margin-left:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL35[_ngcontent-%COMP%]{margin-left:35px!important}}.pL35[_ngcontent-%COMP%]{padding-left:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL35[_ngcontent-%COMP%]{padding-left:35px!important}}.mR35[_ngcontent-%COMP%]{margin-right:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR35[_ngcontent-%COMP%]{margin-right:35px!important}}.pR35[_ngcontent-%COMP%]{padding-right:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR35[_ngcontent-%COMP%]{padding-right:35px!important}}.mT40[_ngcontent-%COMP%]{margin-top:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT40[_ngcontent-%COMP%]{margin-top:40px!important}}.pT40[_ngcontent-%COMP%]{padding-top:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT40[_ngcontent-%COMP%]{padding-top:40px!important}}.mB40[_ngcontent-%COMP%]{margin-bottom:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB40[_ngcontent-%COMP%]{margin-bottom:40px!important}}.pB40[_ngcontent-%COMP%]{padding-bottom:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB40[_ngcontent-%COMP%]{padding-bottom:40px!important}}.mL40[_ngcontent-%COMP%]{margin-left:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL40[_ngcontent-%COMP%]{margin-left:40px!important}}.pL40[_ngcontent-%COMP%]{padding-left:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL40[_ngcontent-%COMP%]{padding-left:40px!important}}.mR40[_ngcontent-%COMP%]{margin-right:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR40[_ngcontent-%COMP%]{margin-right:40px!important}}.pR40[_ngcontent-%COMP%]{padding-right:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR40[_ngcontent-%COMP%]{padding-right:40px!important}}.m0[_ngcontent-%COMP%]{margin:0!important}.p0[_ngcontent-%COMP%]{padding:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m0[_ngcontent-%COMP%]{margin:0!important}.mob-p0[_ngcontent-%COMP%]{padding:0!important}}.m5[_ngcontent-%COMP%]{margin:5px!important}.p5[_ngcontent-%COMP%]{padding:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m5[_ngcontent-%COMP%]{margin:5px!important}.mob-p5[_ngcontent-%COMP%]{padding:5px!important}}.m10[_ngcontent-%COMP%]{margin:10px!important}.p10[_ngcontent-%COMP%]{padding:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m10[_ngcontent-%COMP%]{margin:10px!important}.mob-p10[_ngcontent-%COMP%]{padding:10px!important}}.m15[_ngcontent-%COMP%]{margin:15px!important}.p15[_ngcontent-%COMP%]{padding:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m15[_ngcontent-%COMP%]{margin:15px!important}.mob-p15[_ngcontent-%COMP%]{padding:15px!important}}.m18[_ngcontent-%COMP%]{margin:18px!important}.p18[_ngcontent-%COMP%]{padding:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m18[_ngcontent-%COMP%]{margin:18px!important}.mob-p18[_ngcontent-%COMP%]{padding:18px!important}}.m20[_ngcontent-%COMP%]{margin:20px!important}.p20[_ngcontent-%COMP%]{padding:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m20[_ngcontent-%COMP%]{margin:20px!important}.mob-p20[_ngcontent-%COMP%]{padding:20px!important}}.m25[_ngcontent-%COMP%]{margin:25px!important}.p25[_ngcontent-%COMP%]{padding:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m25[_ngcontent-%COMP%]{margin:25px!important}.mob-p25[_ngcontent-%COMP%]{padding:25px!important}}.m28[_ngcontent-%COMP%]{margin:28px!important}.p28[_ngcontent-%COMP%]{padding:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m28[_ngcontent-%COMP%]{margin:28px!important}.mob-p28[_ngcontent-%COMP%]{padding:28px!important}}.m30[_ngcontent-%COMP%]{margin:30px!important}.p30[_ngcontent-%COMP%]{padding:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m30[_ngcontent-%COMP%]{margin:30px!important}.mob-p30[_ngcontent-%COMP%]{padding:30px!important}}.m35[_ngcontent-%COMP%]{margin:35px!important}.p35[_ngcontent-%COMP%]{padding:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m35[_ngcontent-%COMP%]{margin:35px!important}.mob-p35[_ngcontent-%COMP%]{padding:35px!important}}.m40[_ngcontent-%COMP%]{margin:40px!important}.p40[_ngcontent-%COMP%]{padding:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m40[_ngcontent-%COMP%]{margin:40px!important}.mob-p40[_ngcontent-%COMP%]{padding:40px!important}}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-position-fixed[_ngcontent-%COMP%]{position:fixed!important}.mob-position-relative[_ngcontent-%COMP%]{position:relative!important}.mob-position-absolute[_ngcontent-%COMP%]{position:absolute!important}.mob-position-static[_ngcontent-%COMP%]{position:static!important}.mob-inline[_ngcontent-%COMP%]{display:inline!important}.mob-block[_ngcontent-%COMP%], .mob-show[_ngcontent-%COMP%]{display:block!important}.mob-hide[_ngcontent-%COMP%]{display:none!important}.mob-flex[_ngcontent-%COMP%]{display:flex!important}.mob-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.mob-align-center[_ngcontent-%COMP%]{text-align:center!important}.mob-align-left[_ngcontent-%COMP%]{text-align:left!important}.mob-align-right[_ngcontent-%COMP%]{text-align:right!important}.mob-align-justify[_ngcontent-%COMP%]{text-align:justify!important}.mob-zindex-1[_ngcontent-%COMP%]{z-index:1!important}.mob-zindex-2[_ngcontent-%COMP%]{z-index:2!important}.mob-zindex-3[_ngcontent-%COMP%]{z-index:3!important}.mob-left[_ngcontent-%COMP%]{float:left!important}.mob-right[_ngcontent-%COMP%]{float:right!important}.mob-bold[_ngcontent-%COMP%]{font-weight:700!important}
1.mob-regular[_ngcontent-%COMP%]{font-weight:400!important}.mob-italic[_ngcontent-%COMP%]{font-style:italic!important}.mob-break-word[_ngcontent-%COMP%]{word-wrap:break-word!important}.mob-no-wrap[_ngcontent-%COMP%]{white-space:nowrap!important}.mob-border-white-all[_ngcontent-%COMP%]{border:1px solid #fff!important}.mob-border-white-top[_ngcontent-%COMP%]{border-top:1px solid #fff!important}.mob-border-white-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #fff!important}.mob-border-white-right[_ngcontent-%COMP%]{border-right:1px solid #fff!important}.mob-border-white-left[_ngcontent-%COMP%]{border-left:1px solid #fff!important}.mob-no-list-type[_ngcontent-%COMP%]{list-style:none!important}.mob-disc-list-type[_ngcontent-%COMP%]{list-style:disc!important}.mob-lowercase[_ngcontent-%COMP%]{text-transform:lowercase!important}.mob-uppercase[_ngcontent-%COMP%]{text-transform:uppercase!important}.mob-font-hp-simplified[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular!important}.mob-font-hp-simplified-regular[_ngcontent-%COMP%]{font-family:HPSimplified!important}.mob-font-hp-simplified-light[_ngcontent-%COMP%]{font-family:HPSimplifiedLight!important}.mob-font-hp-control-icons[_ngcontent-%COMP%]{font-family:HPControlIcons!important}.mob-font-arial[_ngcontent-%COMP%]{font-family:Arial!important}.mob-font-12[_ngcontent-%COMP%]{font-size:12px!important}.mob-font-14[_ngcontent-%COMP%]{font-size:14px!important}.mob-font-16[_ngcontent-%COMP%]{font-size:16px!important}.mob-font-18[_ngcontent-%COMP%]{font-size:18px!important}.mob-font-20[_ngcontent-%COMP%]{font-size:20px!important}.mob-font-22[_ngcontent-%COMP%]{font-size:22px!important}.mob-font-24[_ngcontent-%COMP%]{font-size:24px!important}.mob-font-30[_ngcontent-%COMP%]{font-size:30px!important}.mob-font-35[_ngcontent-%COMP%]{font-size:35px!important}}.mTB20[_ngcontent-%COMP%]{margin-top:20px!important;margin-bottom:20px!important}.margin-text[_ngcontent-%COMP%]{margin-top:10px!important;margin-bottom:15px!important}.pLR30[_ngcontent-%COMP%]{padding-left:30px!important;padding-right:30px!important}.pb-15[_ngcontent-%COMP%]{padding-bottom:15px!important}.w100p[_ngcontent-%COMP%]{width:100%!important}.mar0[_ngcontent-%COMP%]{margin:0!important}.maxWidth100[_ngcontent-%COMP%]{max-width:100%!important}.fs22[_ngcontent-%COMP%]{font-size:22px!important}.fs18[_ngcontent-%COMP%]{font-size:18px!important}.hideText[_ngcontent-%COMP%]{visibility:hidden!important;line-height:0!important}@media only screen and (max-width:767px){.mob-no-pad-RL[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.no-padding-mobile[_ngcontent-%COMP%]{padding:0!important}.mob-float-none[_ngcontent-%COMP%]{float:none!important}.mob-align-left[_ngcontent-%COMP%]{text-align:left!important}.mob-display-block[_ngcontent-%COMP%]{display:block!important}}@media only screen and (min-width:768px){.desk-pL30[_ngcontent-%COMP%]{padding-left:30px!important}.desk-margin-auto[_ngcontent-%COMP%]{margin:0 auto!important}.desk-pL20[_ngcontent-%COMP%]{padding-left:20px!important}.desk-border-left[_ngcontent-%COMP%]{border-left:1px solid #DEE2E6!important}.no-padding-lg[_ngcontent-%COMP%]{padding:0!important}.noBg[_ngcontent-%COMP%]{background:#fff!important}}@media only screen and (max-width:800px){.hidden-mobile-only[_ngcontent-%COMP%]{display:none!important}}@media only screen and (max-width:767px){.hidden-mobile[_ngcontent-%COMP%]{display:none!important}}.error-text[_ngcontent-%COMP%]{color:#bf2026;font-family:HPSimplifiedRegular;font-size:14px}.serial-number-entry-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]{display:flex;flex-direction:column}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{border:1px solid #efefef;margin:0;padding:0;border-radius:0;-webkit-border-radius:0px;-moz-border-radius:0px;-ms-border-radius:0px;width:100%;max-width:385px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .bold-title[_ngcontent-%COMP%]{font-weight:500;font-family:HPSimplified}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]{display:flex}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]   .sn-input[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;max-width:385px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]   .sn-input[_ngcontent-%COMP%]   .sn-input-box[_ngcontent-%COMP%]{display:flex;flex:1}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]   .sn-input[_ngcontent-%COMP%]   .sn-input-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;padding-left:1rem;padding-right:2rem}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]   .sn-input[_ngcontent-%COMP%]   .sn-input-box.has-error[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:1px solid #BF2026}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]   button.btn.submit-icon.sn-submit-hidden[_ngcontent-%COMP%]{opacity:0!important}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]{width:100%;align-items:center}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%;max-width:340px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .serial-number-entry-block[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   .error-text[_ngcontent-%COMP%]{width:100%}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:8px;color:#000}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   p.alternateTitle[_ngcontent-%COMP%]{font-size:28px;margin-bottom:18px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .submit-mobile[_ngcontent-%COMP%]{display:none}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:30px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .error-text[_ngcontent-%COMP%]{color:#bf2026;text-align:left;font-size:14px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{margin-left:-22px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:hover, .serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:focus{text-decoration:none}.serial-number-entry-block[_ngcontent-%COMP%]   .select-model-block[_ngcontent-%COMP%]{width:100%;margin-bottom:30px;max-width:504px}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%]{display:block}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]{align-items:normal}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]   p.bold-title[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{max-width:385px}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%]   .form-block.full-width-input[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:16px}
1.rtl.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:30px;margin-left:0}.rtl.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{direction:ltr;text-align:right}.rtl.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .error-text[_ngcontent-%COMP%]{text-align:right}.rtl.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:-22px;padding-left:4px}.rtl.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]   .sn-input[_ngcontent-%COMP%]   .sn-input-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding-right:1rem;padding-left:2rem}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.serial-number-entry-block[_ngcontent-%COMP%]   .mobile-hidden[_ngcontent-%COMP%], .serial-number-entry-block[_ngcontent-%COMP%]   .hide-submit-mobile[_ngcontent-%COMP%]{display:none}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .serial-number-title.alternateTitle[_ngcontent-%COMP%]{font-size:16px;margin-bottom:10px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{border:1px solid #efefef;margin:0;padding:0;border-radius:0;-webkit-border-radius:0px;-moz-border-radius:0px;-ms-border-radius:0px;width:calc(100% - 32px);max-width:385px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .sn-input-wrapper[_ngcontent-%COMP%]   .sn-input[_ngcontent-%COMP%]{max-width:100%}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:0 16px;position:relative;left:-4px;height:33px;margin:0;min-height:33px}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button.submit-mobile[_ngcontent-%COMP%]{display:block;margin-top:16px;margin-left:auto;margin-right:auto}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button.submit-icon[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:24px;background-color:#165dba}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button.submit-icon[_ngcontent-%COMP%]:disabled{background-color:#ccc}.serial-number-entry-block[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{margin-left:-26px}.serial-number-entry-block.rtl[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:0;left:0;right:-4px}.serial-number-entry-block.rtl[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   button.submit-mobile[_ngcontent-%COMP%]{margin-top:16px;margin-left:auto;margin-right:auto}.serial-number-entry-block.rtl[_ngcontent-%COMP%]   .form-block[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:-26px;padding-left:4px}}"]})}}return le})()},97561(fe,re,i){i.d(re,{k:()=>ae});var x=i(37580),d=i(85240),h=i(86763),H=i(84205),W=i(93683),y=i(78808),m=i(12481),c=i(19885),L=i(9303),r=i(60480),_=i(72926);const o=oe=>({"is-vis-id":oe});function G(oe,z){if(1&oe&&(m.j41(0,"p"),m.EFF(1),m.k0s()),2&oe){const B=m.XpG(2);m.R7$(),m.JRh(B.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Sing_In_Text"])}}function e(oe,z){if(1&oe&&(m.j41(0,"p",3),m.EFF(1),m.k0s()),2&oe){const B=m.XpG(2);m.R7$(),m.JRh(B.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Sing_In_Text"])}}function J(oe,z){if(1&oe){const B=m.RV6();m.j41(0,"div",1),m.nVh(1,G,2,1,"p"),m.nVh(2,e,2,1,"p",3),m.j41(3,"a",4),m.bIt("click",function(){d.eBV(B);const S=m.XpG();return d.Njj(S.clearProductContext())}),m.j41(4,"span",5),m.EFF(5),m.k0s()(),m.j41(6,"a",6),m.bIt("click",function(){d.eBV(B);const S=m.XpG();return d.Njj(S.clearProductContext())}),m.j41(7,"span",5),m.EFF(8),m.k0s()()()}if(2&oe){const B=m.XpG();m.Y8G("ngClass",B.isMobile()||B.isIpadIphone()?"sm-screen-style":""),m.R7$(),m.vxM("HPOne"!==B.originPage()?1:-1),m.R7$(),m.vxM("HPOne"===B.originPage()?2:-1),m.R7$(),m.Y8G("href",m.a5S("",B.domain(),"/wcc-services/s/signin?cc=",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).cc,"&lc=",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).lc,"&pageurl=",B.pageUrl()),m.B4B)("title",B.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Label"])("id",B.signInId()),m.R7$(2),m.JRh(B.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Label"]),m.R7$(),m.Y8G("href",m.a5S("",B.domain(),"/wcc-services/s/registration?cc=",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).cc,"&lc=",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).lc,"&pageurl=",B.pageUrl()),m.B4B)("title",B.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Create_Account_Text"])("id",B.createAccountID()),m.R7$(2),m.JRh(B.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Create_Account_Text"])}}function de(oe,z){if(1&oe&&(m.j41(0,"div",2)(1,"a",7)(2,"span",5),m.EFF(3),m.k0s()()()),2&oe){const B=m.XpG();m.Y8G("ngClass",B.isMobile()||B.isIpadIphone()?"sm-screen-style":""),m.R7$(),m.Y8G("href",m.a5S("",B.domain(),"/wcc-services/s/signin?cc=",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).cc,"&lc=",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).lc,"&pageurl=",B.dashboardUrlEncoded()),m.B4B)("title",B.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Link_Text"])("id",B.signInId()),m.R7$(2),m.JRh(B.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Link_Text"])}}function ce(oe,z){if(1&oe&&(m.j41(0,"div",2)(1,"a",8)(2,"span",5),m.EFF(3),m.k0s()()()),2&oe){const B=m.XpG();m.Y8G("ngClass",B.isMobile()||B.isIpadIphone()?"sm-screen-style":""),m.R7$(),m.Y8G("globalLink",m.ai1("/",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).cc,"-",B.getCustomCCLC(B.fallBackCCLCValue(),B.pageConfig()).lc,"/dashboard"))("id",B.loggedInLinkID())("title",B.allTranslations()["#pps_WCC_FS_HomeHP_Signed_In_Link_Text"]),m.R7$(2),m.JRh(B.allTranslations()["#pps_WCC_FS_HomeHP_Signed_In_Link_Text"])}}let ae=(()=>{class oe{constructor(B,q,S,I){this.pageService=B,this.windowRef=q,this.commonService=S,this.auth=I,this.allTranslations=(0,x.hFB)({}),this.isIpadIphone=(0,x.hFB)(!1),this.isMobile=(0,x.hFB)(!1),this.signInId=(0,x.hFB)(""),this.createAccountID=(0,x.hFB)(""),this.loggedInLinkID=(0,x.hFB)(""),this.fallBackCCLCValue=(0,x.hFB)({}),this.showSignInRegisterTemplate=(0,x.hFB)(!1),this.originPage=(0,x.hFB)(""),this.newRedirectionLink=(0,x.hFB)(""),this.domain=(0,d.vPA)(""),this.pageUrl=(0,d.vPA)(""),this.signInLink=(0,d.vPA)(""),this.myDashboardLink=(0,d.vPA)(""),this.isUserLoggedIn=(0,h.EW)(()=>this.auth.isUserLoggedIn()??!1),this.pageConfig=(0,h.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new H.B,this.dashboardUrlEncoded=(0,d.vPA)(""),this.window=this.windowRef.nativeWindow}ngOnInit(){this.setPageUrlAndDomain()}getCustomCCLC(B,q){return this.commonService.getCustomLocale(B,q)}clearProductContext(){sessionStorage?.removeItem("productData")}setPageUrlAndDomain(){if(typeof this.window<"u"){this.domain.set(this.window?.location?.origin);const B=this.newRedirectionLink();this.pageUrl.set(B?encodeURIComponent(`${this.window.location.origin}/${this.pageConfig().cc}-${this.pageConfig().lc}${B}`):encodeURIComponent(this.window?.location?.href))}this.dashboardUrlEncoded.set(encodeURIComponent(`${this.domain()}/${this.getCustomCCLC(this.fallBackCCLCValue(),this.pageConfig()).cc}-${this.getCustomCCLC(this.fallBackCCLCValue(),this.pageConfig()).lc}/dashboard`))}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(q){return new(q||oe)(m.rXU(c.b),m.rXU(L.$),m.rXU(r.h),m.rXU(_.u))}}static{this.\u0275cmp=m.VBU({type:oe,selectors:[["app-signin-pfinder-link"]],inputs:{allTranslations:[1,"allTranslations"],isIpadIphone:[1,"isIpadIphone"],isMobile:[1,"isMobile"],signInId:[1,"signInId"],createAccountID:[1,"createAccountID"],loggedInLinkID:[1,"loggedInLinkID"],fallBackCCLCValue:[1,"fallBackCCLCValue"],showSignInRegisterTemplate:[1,"showSignInRegisterTemplate"],originPage:[1,"originPage"],newRedirectionLink:[1,"newRedirectionLink"]},decls:5,vars:9,consts:[[3,"ngClass"],[1,"sign-in-register-exp",3,"ngClass"],[1,"sign-in-exp",3,"ngClass"],[1,"sign-in-headerText-large"],[1,"btn",3,"click","href","title","id"],["aria-hidden","true"],[1,"btn","white-btn",3,"click","href","title","id"],[3,"href","title","id"],[3,"globalLink","id","title"]],template:function(q,S){1&q&&(m.j41(0,"div",0)(1,"div",0),m.nVh(2,J,9,19,"div",1),m.nVh(3,de,4,9,"div",2),m.nVh(4,ce,4,7,"div",2),m.k0s()()),2&q&&(m.Y8G("ngClass",m.eq3(7,o,S.pageConfig().isVisIdEnabled)),m.R7$(),m.AVh("register-box",S.showSignInRegisterTemplate()&&!S.isUserLoggedIn()),m.Y8G("ngClass","rtl"===S.pageConfig().languageDirection?"rtl-sign-in-box sign-in-pfinder":"ltr-sign-in-box sign-in-pfinder"),m.R7$(),m.vxM(S.showSignInRegisterTemplate()&&!S.isUserLoggedIn()?2:-1),m.R7$(),m.vxM(S.showSignInRegisterTemplate()||S.isUserLoggedIn()?-1:3),m.R7$(),m.vxM(!S.showSignInRegisterTemplate()&&S.isUserLoggedIn()?4:-1))},dependencies:[W.YU,y.z],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/printer-signIn.svg);background-repeat:no-repeat;background-size:25px 25px;background-position:0px 8px;padding-left:34px;min-height:40px;
1display:flex;align-items:center;margin:1px 0 0;font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:"";color:#0171ad}.sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp.sm-screen-style[_ngcontent-%COMP%]{margin-top:15px}.sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:18px}.sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{background-position:right center;padding-right:28px}.sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:7px 12px}.sign-in-register-exp[_ngcontent-%COMP%]{text-align:center}.sign-in-register-exp[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#000;text-align:center}.sign-in-register-exp[_ngcontent-%COMP%]   .sign-in-headerText-large[_ngcontent-%COMP%]{font-size:20px}.sign-in-register-exp[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-left:9px;margin-right:9px}.sign-in-register-exp[_ngcontent-%COMP%]   a.btn.white-btn[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #165DBA;color:#165dba}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{padding-top:10px}}@media only screen and (max-width:800px){.sign-in-register-exp[_ngcontent-%COMP%]   .sign-in-headerText-large[_ngcontent-%COMP%]{font-size:16px;width:70%;margin:auto;position:relative;bottom:15px;font-weight:600}.sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{margin-top:15px}.sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{padding-right:34px;padding-left:0}}.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{background-image:url(/wcc-assets/content/dam/hp-wcc/fe-assets/images/poly-sign-in.svg);background-repeat:no-repeat;display:flex;align-items:center;background-size:30px 30px;background-position:12px 4px;line-height:1.2;margin-left:-12px;min-height:auto;padding-left:0}.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:25px;text-decoration:underline;padding:4px 8px 4px 50px;display:inline-block;border:2px solid transparent}.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{background-size:28px 30px;padding-left:0;padding-right:26px;background-position:right center}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder[_ngcontent-%COMP%]{border-color:#000;margin-right:0}.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/poly-sign-in.svg);background-repeat:no-repeat;background-size:30px 30px;background-position:0px 5px;min-height:40px;display:flex;align-items:center;margin-top:21px;margin-left:0}.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:25px}.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%]   .sign-in-exp[_ngcontent-%COMP%]{background-position:right center;padding-right:44px;background-size:28px 30px;padding-left:unset}}@media only screen and (min-width:768px)and (max-width:991px){.is-vis-id[_ngcontent-%COMP%]   .sign-in-pfinder[_ngcontent-%COMP%]{border:none;margin:0}}']})}}return oe})()},76119(fe,re,i){i.d(re,{d:()=>le});var x=i(86763),d=i(85240),h=i(37580),H=i(44709),W=i(84205),L=(i(82738),i(89386),i(71391),i(34263)),r=i(71021),u=(i(12349),i(63280),i(17040),i(3109),i(51941),i(46635),i(12684),i(84134),i(93646),i(63597),i(62970),i(41201),i(21396),i(806),i(82020),i(76040),i(90296),i(75257)),p=i(93683),l=i(12481),b=i(19885),f=i(9303),R=i(8130);const w=["swiperWrapper"],F=["*"],A=ee=>({rtl:ee}),P=(ee,D)=>({"push-inside":ee,"auto-height":D}),E=(ee,D)=>({"padding-left":ee,"padding-right":D}),k=ee=>({"has-shadow":ee}),ne=(ee,D)=>({margin:ee,padding:D}),Z=(ee,D,M,X,K,he,Oe)=>({"left-aligned":ee,"center-aligned":D,"right-aligned":M,"numbered-pagination":X,"arrows-hidden":K,"push-arrows":he,dark:Oe}),Y=ee=>({"margin-bottom":ee}),se=(ee,D,M,X,K,he,Oe,Se)=>({"left-aligned":ee,"center-aligned":D,"right-aligned":M,"numbered-pagination":X,"arrows-hidden":K,"push-arrows":he,dark:Oe,"mt-10":Se}),U=ee=>({"margin-top":ee}),pe=(ee,D)=>({width:ee,"margin-left":D}),te=ee=>({"arrows-outside":ee}),ge=(ee,D)=>({width:ee,"margin-right":D}),me=(ee,D)=>[ee,D],Pe=(ee,D,M)=>({width:ee,height:D,"margin-top":M});function be(ee,D){1&ee&&l.eu8(0)}function we(ee,D){if(1&ee&&(l.j41(0,"div",12)(1,"div",13),l.DNE(2,be,1,0,"ng-container",16),l.k0s()()),2&ee){const M=l.XpG(2),X=l.sdS(4),K=l.sdS(6);l.Y8G("hidden",M.isPaginationHidden)("ngClass",l.sGs(4,Z,"left"===M.paginationAlignment(),"center"===M.paginationAlignment(),"right"===M.paginationAlignment(),M.isNumberedPagination(),M.hidePaginationArrows(),"center"===M.paginationAlignment()&&M.pushPaginationArrows(),"slim"===M.paginationArrowStyle()))("ngStyle",l.eq3(12,Y,M.paginationMargin()+"px")),l.R7$(2),l.Y8G("ngTemplateOutlet","rtl"!==M.pageConfig().languageDirection?X:K)}}function ye(ee,D){1&ee&&l.eu8(0)}function Fe(ee,D){if(1&ee&&(l.j41(0,"div",5),l.nI1(1,"memoize"),l.DNE(2,ye,1,0,"ng-container",16),l.k0s()),2&ee){const M=l.XpG(2),X=l.sdS(2);l.Y8G("ngClass",l.i5U(1,2,M.getHorizontalNavWrapperClass,M.horizontalArrowType())),l.R7$(2),l.Y8G("ngTemplateOutlet",X)}}function Ee(ee,D){1&ee&&l.eu8(0)}function De(ee,D){if(1&ee&&(l.j41(0,"div",12)(1,"div",13),l.DNE(2,Ee,1,0,"ng-container",16),l.k0s()()),2&ee){const M=l.XpG(2),X=l.sdS(4),K=l.sdS(6);l.Y8G("hidden",M.isPaginationHidden)("ngClass",l.lV(4,se,"left"===M.paginationAlignment(),"center"===M.paginationAlignment(),"right"===M.paginationAlignment(),M.isNumberedPagination(),M.hidePaginationArrows(),"center"===M.paginationAlignment()&&M.pushPaginationArrows(),"slim"===M.paginationArrowStyle(),"cn-zh"!==M.pageConfig().locale))("ngStyle",l.eq3(13,U,M.paginationMargin()+"px")),l.R7$(2),l.Y8G("ngTemplateOutlet","rtl"!==M.pageConfig().languageDirection?X:K)}}function He(ee,D){if(1&ee){const M=l.RV6();l.j41(0,"div",11),l.nVh(1,we,3,14,"div",12),l.j41(2,"div",13)(3,"div",14)(4,"div",14)(5,"swiper-container",15,3),l.bIt("slidechangetransitionend",function(){d.eBV(M);const K=l.XpG();return d.Njj(K.onSlideTransitionEnd())}),l.SdG(7),l.k0s(),l.nVh(8,Fe,3,5,"div",5),l.k0s()()(),l.nVh(9,De,3,15,"div",12),l.k0s()}if(2&ee){const M=l.XpG();l.HbH(M.isVisIdEnabled()?"is-vis-id":""),l.Y8G("ngClass",M.wrapperCss())("id",M.name()&&"hp-slider-"+M.name()),l.R7$(),l.vxM(M.pagination()&&"top"===M.paginationPosition()?1:-1),l.R7$(2),l.Y8G("ngClass",l.l_i(11,P,"inside"===M.horizontalNavArrowsPosition(),M.swiperParams().autoHeight))("ngStyle",l.l_i(14,E,"inside"===M.horizontalNavArrowsPosition()&&M.horizontalArrowWidth()+"px","inside"===M.horizontalNavArrowsPosition()&&M.horizontalArrowWidth()+"px")),l.R7$(),l.Y8G("ngClass",l.eq3(17,k,M.slideShadowSize()>0))("ngStyle",l.l_i(19,ne,-M.slideShadowSize()+"px",M.slideShadowSize()+"px")),l.R7$(4),l.vxM(M.horizontalNav()?8:-1),l.R7$(),l.vxM(M.pagination()&&"bottom"===M.paginationPosition()?9:-1)}}function Xe(ee,D){if(1&ee){const M=l.RV6();l.j41(0,"a",19),l.bIt("keyup.enter",function(){d.eBV(M);const K=l.XpG(2);return d.Njj(K.slideTo("prev"))})("click",function(){d.eBV(M);const K=l.XpG(2);return d.Njj(K.slideTo("prev"))}),l.k0s()}if(2&ee){const M=l.XpG(2);l.AVh("pagi-disabled",M.isPrevDisabled()),l.Y8G("id",M.paginationPrevId())("ngStyle",l.l_i(7,pe,M.horizontalArrowWidth()+"px","outside"===M.horizontalNavArrowsPosition()?-M.horizontalArrowWidth()+"px":0))("ngClass",l.eq3(10,te,"outside"===M.horizontalNavArrowsPosition())),l.BMQ("tabindex",M.isPrevDisabled()?-1:0)("aria-label",M.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Previous"]||"go to previous slide")}}function ze(ee,D){if(1&ee){const M=l.RV6();l.j41(0,"a",20),l.bIt("keyup.enter",function(){d.eBV(M);const K=l.XpG(2);return d.Njj(K.slideTo("next"))})("click",function(){d.eBV(M);const K=l.XpG(2);return d.Njj(K.slideTo("next"))}),l.k0s()}if(2&ee){const M=l.XpG(2);l.AVh("pagi-disabled",M.isNextDisabled()),l.Y8G("id",M.paginationNextId())("ngStyle",l.l_i(7,ge,M.horizontalArrowWidth()+"px","outside"===M.horizontalNavArrowsPosition()?-M.horizontalArrowWidth()+"px":0))("ngClass",l.eq3(10,te,"outside"===M.horizontalNavArrowsPosition())),l.BMQ("tabindex",M.isNextDisabled()?-1:0)("aria-label",M.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Next"]||"go to 
1next slide")}}function Ke(ee,D){if(1&ee&&(l.nVh(0,Xe,1,12,"a",17),l.nVh(1,ze,1,12,"a",18)),2&ee){const M=l.XpG();l.vxM(M.horizontalNav()?0:-1),l.R7$(),l.vxM(M.horizontalNav()?1:-1)}}function Ye(ee,D){if(1&ee&&(l.nrm(0,"div",21),l.nI1(1,"memoize"),l.nI1(2,"memoize")),2&ee){const M=l.XpG(2);l.Y8G("id",M.paginationPrevId())("ngClass",l.l_i(10,me,l.brH(1,3,M.getNameForPagination,M.name(),"swiper-button-prev"),l.i5U(2,7,M.getArrowStyleClass,M.paginationArrowStyle())))("ngStyle",l.sMw(13,Pe,"slim"===M.paginationArrowStyle()?"8px":M.paginationArrowWidth()+"px","slim"===M.paginationArrowStyle()?"22px":M.paginationArrowHeight()+"px","center"===M.paginationAlignment()&&M.pushPaginationArrows()&&-M.paginationArrowHeight()/2+"px"))}}function Qe(ee,D){if(1&ee&&(l.nrm(0,"div",5),l.nI1(1,"memoize")),2&ee){const M=l.XpG(2);l.Y8G("ngClass",l.brH(1,1,M.getNameForPagination,M.name(),"swiper-pagination"))}}function Je(ee,D){if(1&ee&&(l.nrm(0,"div",22),l.nI1(1,"memoize"),l.nI1(2,"memoize")),2&ee){const M=l.XpG(2);l.Y8G("id",M.paginationNextId())("ngClass",l.l_i(10,me,l.brH(1,3,M.getNameForPagination,M.name(),"swiper-button-next"),l.i5U(2,7,M.getArrowStyleClass,M.paginationArrowStyle())))("ngStyle",l.sMw(13,Pe,"slim"===M.paginationArrowStyle()?"8px":M.paginationArrowWidth()+"px","slim"===M.paginationArrowStyle()?"22px":M.paginationArrowHeight()+"px","center"===M.paginationAlignment()&&M.pushPaginationArrows()&&-M.paginationArrowHeight()/2+"px"))}}function Ze(ee,D){if(1&ee&&(l.nVh(0,Ye,3,17,"div",21),l.nVh(1,Qe,2,5,"div",5),l.nVh(2,Je,3,17,"div",22)),2&ee){const M=l.XpG();l.vxM(M.hidePaginationArrows()?-1:0),l.R7$(),l.vxM(M.hidePaginationBullets()?-1:1),l.R7$(),l.vxM(M.hidePaginationArrows()?-1:2)}}function We(ee,D){if(1&ee&&(l.nrm(0,"div",22),l.nI1(1,"memoize"),l.nI1(2,"memoize")),2&ee){const M=l.XpG(2);l.Y8G("id",M.paginationPrevId())("ngClass",l.l_i(10,me,l.brH(1,3,M.getNameForPagination,M.name(),"swiper-button-next"),l.i5U(2,7,M.getArrowStyleClass,M.paginationArrowStyle())))("ngStyle",l.sMw(13,Pe,"slim"===M.paginationArrowStyle()?"8px":M.paginationArrowWidth()+"px","slim"===M.paginationArrowStyle()?"22px":M.paginationArrowHeight()+"px","center"===M.paginationAlignment()&&M.pushPaginationArrows()&&-M.paginationArrowHeight()/2+"px"))}}function qe(ee,D){if(1&ee&&(l.nrm(0,"div",5),l.nI1(1,"memoize")),2&ee){const M=l.XpG(2);l.Y8G("ngClass",l.brH(1,1,M.getNameForPagination,M.name(),"swiper-pagination"))}}function et(ee,D){if(1&ee&&(l.nrm(0,"div",21),l.nI1(1,"memoize"),l.nI1(2,"memoize")),2&ee){const M=l.XpG(2);l.Y8G("id",M.paginationNextId())("ngClass",l.l_i(10,me,l.brH(1,3,M.getNameForPagination,M.name(),"swiper-button-prev"),l.i5U(2,7,M.getArrowStyleClass,M.paginationArrowStyle())))("ngStyle",l.sMw(13,Pe,"slim"===M.paginationArrowStyle()?"8px":M.paginationArrowWidth()+"px","slim"===M.paginationArrowStyle()?"22px":M.paginationArrowHeight()+"px","center"===M.paginationAlignment()&&M.pushPaginationArrows()&&-M.paginationArrowHeight()/2+"px"))}}function $e(ee,D){if(1&ee&&(l.nVh(0,We,3,17,"div",22),l.nVh(1,qe,2,5,"div",5),l.nVh(2,et,3,17,"div",21)),2&ee){const M=l.XpG();l.vxM(M.hidePaginationArrows()?-1:0),l.R7$(),l.vxM(M.hidePaginationBullets()?-1:1),l.R7$(),l.vxM(M.hidePaginationArrows()?-1:2)}}let le=(()=>{class ee{constructor(M,X,K,he){this.pageService=M,this.windowRef=X,this.appSelectorStore=K,this.renderer=he,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.isConfigUpdated=(0,d.vPA)(!1),this.slideData=(0,h.hFB)(null),this.name=(0,h.geq)(null),this.wrapperCss=(0,h.hFB)(""),this.slideShadowSize=(0,h.hFB)(0),this.isSlideInFocus=(0,h.hFB)(null),this.config=(0,h.hFB)(null),this.autoplay=(0,h.hFB)(!1),this.loop=(0,h.hFB)(!1),this.horizontalNav=(0,h.hFB)(!1),this.horizontalNavColor=(0,h.hFB)(""),this.horizontalNavArrowsPosition=(0,h.hFB)("inside"),this.horizontalArrowType=(0,h.hFB)("lightGray"),this.horizontalArrowSize=(0,h.hFB)(),this.horizontalArrowWidth=(0,d.vPA)(15),this.horizontalArrowHeight=(0,d.vPA)(30),this.pagination=(0,h.hFB)(!0),this.hidePaginationBullets=(0,h.hFB)(!1),this.hidePaginationArrows=(0,h.hFB)(!1),this.isNumberedPagination=(0,h.hFB)(!1),this.paginationPosition=(0,h.hFB)("bottom"),this.paginationAlignment=(0,h.hFB)(""),this.pushPaginationArrows=(0,h.hFB)(!1),this.paginationMargin=(0,h.hFB)(25),this.paginationArrowSize=(0,h.hFB)(),this.paginationArrowStyle=(0,h.hFB)(""),this.paginationPrevId=(0,d.vPA)(""),this.paginationNextId=(0,d.vPA)(""),this.isPrevDisabled=(0,d.vPA)(!1),this.isNextDisabled=(0,d.vPA)(!1),this.paginationArrowWidth=(0,d.vPA)(15),this.paginationArrowHeight=(0,d.vPA)(30),this.leftIconHovered=(0,d.vPA)(!1),this.rightIconHovered=(0,d.vPA)(!1),this.allTranslations=(0,d.vPA)({}),this.isMastiffEnabled=(0,h.hFB)(!1),this.isVisIdEnabled=(0,h.hFB)(!1),this.onSlideChange=(0,h.CGW)(),this.onSliderReady=(0,h.CGW)(),this.swiperWrapper=(0,h.ebz)("swiperWrapper"),this.window=(0,d.vPA)(null),this.destroySubject$=(0,d.vPA)(new W.B),this.swiperParams=(0,d.vPA)({direction:"horizontal",slidesPerView:1,keyboard:!1,mousewheel:!1,scrollbar:!1,effect:"slide",speed:600,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:(Oe,Se)=>`<span class="${Se}" index="${Oe}"><span>${this.isNumberedPagination()?Oe+1:""}</span></span>`},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},a11y:{prevSlideMessage:this.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Previous"]||"go to previous slide",nextSlideMessage:this.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Next"]||"go to 
1next slide",paginationBulletMessage:this.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_To_Slide"]||"go to slide"},modules:[r.A,L.A],autoplay:!1,loop:!0,spaceBetween:0,observer:!0,watchOverflow:!1,autoHeight:this.isVisIdEnabled()}),this.window.set(this.windowRef.nativeWindow)}ngAfterViewInit(){this.initializeSwiper()}initializeSwiper(){const M=this.swiperWrapper().nativeElement;try{Object.assign(M,this.swiperParams()),this.pageConfig().isBrowser&&M.initialize()}catch{}}get isPaginationHidden(){const M=this.config(),X=this.isSlideInFocus();if(M&&M.nested&&null!==X)return X}isPaginationVisible(M){if(this.pagination()&&M===this.paginationPosition())return!0}slideTo(M){const X=this.swiperWrapper(),K=X&&X.nativeElement.swiper;if(K){if("prev"===M){if(this.isPrevDisabled())return;K.slidePrev()}else{if(this.isNextDisabled())return;K.slideNext()}setTimeout(()=>{this.updatePrevAndNextStates(K)},100)}}updateAnrIds(M){let X="",K="";const he=this.slideData();he&&"undefined"!==M&&(X=he[M].sliderAnrId&&he[M].sliderAnrId.paginationPrev||"",K=he[M].sliderAnrId&&he[M].sliderAnrId.paginationNext||""),this.paginationPrevId.set(X),this.paginationNextId.set(K)}updatePrevAndNextStates(M){if(M){const X=M.params?.loop,K=M.isBeginning??0===M.activeIndex,he=M.isEnd??M.activeIndex>=M.slides?.length-M.params?.slidesPerView;this.isPrevDisabled.set(!X&&K),this.isNextDisabled.set(!X&&he)}}onSlideTransitionEnd(){const M=this.swiperWrapper();if(M){const X=M.nativeElement.swiper.getIndex(!0),K=M.nativeElement.swiper;K&&K.params.loop&&(K.slideToLoop(X,0),K.params.autoplay&&K.params.autoplay.enabled&&K.autoplay.start(),this.removeDuplicateId(),this.updateTabIndexMastiffContent(X)),this.updatePrevAndNextStates(K),this.updateAnrIds(X),this.onSlideChange.emit(X)}}updateTabIndexMastiffContent(M){if(typeof document<"u"&&this.isMastiffEnabled()){const X=document.querySelector("#hp-slider-"+this.name()),K=X.querySelectorAll(".LargeBannerCTADiv");Array.from(K).forEach(Oe=>{this.renderer.setAttribute(Oe,"tabindex","-1")});const he=this.slideData();if(he&&"mastiffSpos"===he[M].desc){const Se=X.querySelector(".swiper-slide-active").querySelector(".LargeBannerCTADiv");Se&&this.renderer.setAttribute(Se,"tabindex","0")}}}updateArrowsSizeAndPosition(){const M=this.horizontalArrowSize();M&&M&&this.horizontalArrowWidth.set(Number(M));const X=this.paginationArrowSize();if(this.pagination()&&X){const[K,he]=X.split(",");this.paginationArrowWidth.set(Number(K)),this.paginationArrowHeight.set(Number(he))}}getHorizontalNavWrapperClass(M){return"lightBlue"===M?"lightblue-nav":"blue"===M?"blue-nav":"carousel-arrow"===M?"blue-nav-device-carousel":"lightgray-nav"}getNameForPagination(M,X=""){return""!==X?`${X}-${M.toLowerCase().replace(/\./g,"-")}`:`-${M.toLowerCase().replace(/\./g,"-")}`}getArrowStyleClass(M){return`style-${M||"default"}`}ngOnInit(){this.appSelectorStore.getAllTranslations$().subscribe(X=>this.allTranslations.set(X)),this.name()||this.name.set((new Date).getTime().toString());const M=this.swiperParams();this.pagination()?(M.pagination.el+=`${this.getNameForPagination(this.name())}`,M.navigation.prevEl+=`${this.getNameForPagination(this.name())}`,M.navigation.nextEl+=`${this.getNameForPagination(this.name())}`):(delete M.pagination,delete M.navigation),M.autoplay=this.autoplay(),M.loop=this.loop(),(0,H.A)(M,this.config()),this.updateArrowsSizeAndPosition(),this.initiateSlider()}removeDuplicateId(){this.window()&&setTimeout(()=>{const M=document.querySelectorAll(".swiper-slide-duplicate [id]");M.length&&M.forEach(X=>this.renderer.removeAttribute(X,"id"))},10)}initiateSlider(){this.isConfigUpdated.set(!0),setTimeout(()=>{const M=this.swiperWrapper();if(M){this.initializeSwiper(),this.updateAnrIds(0);const X=M.nativeElement.swiper;X&&X.params.loop&&this.removeDuplicateId(),this.updatePrevAndNextStates(X),this.onSliderReady.emit(X)}})}ngOnChanges(M){M.slideData&&!M.slideData.firstChange&&(this.isConfigUpdated.set(!1),setTimeout(()=>{this.initiateSlider()},10))}ngOnDestroy(){this.destroySubject$().next()}static{this.\u0275fac=function(X){return new(X||ee)(l.rXU(b.b),l.rXU(f.$),l.rXU(R.q),l.rXU(l.sFG))}}static{this.\u0275cmp=l.VBU({type:ee,selectors:[["app-slider"]],viewQuery:function(X,K){1&X&&l.wEZ(K.swiperWrapper,w,5),2&X&&l.NyB()},inputs:{slideData:[1,"slideData"],name:[1,"name"],wrapperCss:[1,"wrapperCss"],slideShadowSize:[1,"slideShadowSize"],isSlideInFocus:[1,"isSlideInFocus"],config:[1,"config"],autoplay:[1,"autoplay"],loop:[1,"loop"],horizontalNav:[1,"horizontalNav"],horizontalNavColor:[1,"horizontalNavColor"],horizontalNavArrowsPosition:[1,"horizontalNavArrowsPosition"],horizontalArrowType:[1,"horizontalArrowType"],horizontalArrowSize:[1,"horizontalArrowSize"],pagination:[1,"pagination"],hidePaginationBullets:[1,"hidePaginationBullets"],hidePaginationArrows:[1,"hidePaginationArrows"],isNumberedPagination:[1,"isNumberedPagination"],paginationPosition:[1,"paginationPosition"],paginationAlignment:[1,"paginationAlignment"],pushPaginationArrows:[1,"pushPaginationArrows"],paginationMargin:[1,"paginationMargin"],paginationArrowSize:[1,"paginationArrowSize"],paginationArrowStyle:[1,"paginationArrowStyle"],isMastiffEnabled:[1,"isMastiffEnabled"],isVisIdEnabled:[1,"isVisIdEnabled"]},outputs:{name:"nameChange",onSlideChange:"onSlideChange",onSliderReady:"onSliderReady"},features:[l.OA$],ngContentSelectors:F,decls:13,vars:6,consts:[["paginationHorizontal",""],["paginationLtr",""],["paginationRtl",""],["swiperWrapper",""],[3,"ngClass","id","class"],[3,"ngClass"],[1,"nextPrevBtns"],["href","javascript:void(0)",1,"prev-btn",3,"mouseover","mouseout","keydown.enter"],["alt","left arrow",3,"click","
1src"],["href","javascript:void(0)",1,"nxt-btn",3,"mouseover","mouseout","keydown.enter"],["alt","right arrow",3,"click","src"],[3,"ngClass","id"],[1,"slider-pagination",3,"hidden","ngClass","ngStyle"],[1,"position-relative"],[3,"ngClass","ngStyle"],["init","false",1,"swiper-container",3,"slidechangetransitionend"],[4,"ngTemplateOutlet"],["role","button",1,"swiper-button-prev-unique",3,"id","pagi-disabled","ngStyle","ngClass"],["role","button",1,"swiper-button-next-unique",3,"id","pagi-disabled","ngStyle","ngClass"],["role","button",1,"swiper-button-prev-unique",3,"keyup.enter","click","id","ngStyle","ngClass"],["role","button",1,"swiper-button-next-unique",3,"keyup.enter","click","id","ngStyle","ngClass"],[1,"swiper-button-prev",3,"id","ngClass","ngStyle"],[1,"swiper-button-next",3,"id","ngClass","ngStyle"]],template:function(X,K){if(1&X){const he=l.RV6();l.NAR(),l.nVh(0,He,10,22,"div",4),l.DNE(1,Ke,2,2,"ng-template",null,0,l.C5r)(3,Ze,3,3,"ng-template",null,1,l.C5r)(5,$e,3,3,"ng-template",null,2,l.C5r),l.j41(7,"div",5)(8,"div",6)(9,"a",7),l.bIt("mouseover",function(){return d.eBV(he),d.Njj(K.leftIconHovered.set(!0))})("mouseout",function(){return d.eBV(he),d.Njj(K.leftIconHovered.set(!1))})("keydown.enter",function(){return d.eBV(he),d.Njj(K.slideTo("prev"))}),l.j41(10,"img",8),l.bIt("click",function(){return d.eBV(he),d.Njj(K.slideTo("prev"))}),l.k0s()(),l.j41(11,"a",9),l.bIt("mouseover",function(){return d.eBV(he),d.Njj(K.rightIconHovered.set(!0))})("mouseout",function(){return d.eBV(he),d.Njj(K.rightIconHovered.set(!1))})("keydown.enter",function(){return d.eBV(he),d.Njj(K.slideTo("next"))}),l.j41(12,"img",10),l.bIt("click",function(){return d.eBV(he),d.Njj(K.slideTo("next"))}),l.k0s()()()()}2&X&&(l.vxM(K.isConfigUpdated()?0:-1),l.R7$(7),l.Y8G("ngClass",l.eq3(4,A,"rtl"===K.pageConfig().languageDirection)),l.R7$(3),l.Y8G("src",K.leftIconHovered()?"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_left_hover.png":"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_left.png",l.B4B),l.R7$(2),l.Y8G("src",K.rightIconHovered()?"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_right_hover.png":"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_right.png",l.B4B))},dependencies:[p.YU,p.B3,p.T3,u.z],styles:['.slider-pagination{position:relative;margin-left:-8px;margin-right:-8px}.slider-pagination .swiper-button-prev,.slider-pagination .swiper-button-next{vertical-align:middle;position:relative;width:10px;height:17px;top:unset;left:auto;right:auto;margin:-4px 8px 0;z-index:10;cursor:pointer;background-repeat:no-repeat;background-image:url(/wcc-assets/images/arrow-dark-right.svg)!important;background-size:100%;background-position:center;display:inline-block}.slider-pagination .swiper-button-prev.style-slim,.slider-pagination .swiper-button-next.style-slim{margin:-4px 27px 0;background-image:url(/wcc-assets/content/dam/hp-wcc/fe-assets/images/Chevron-1.svg)!important}.slider-pagination .swiper-button-prev:focus,.slider-pagination .swiper-button-next:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #0096d6}.slider-pagination .swiper-button-prev .swiper-navigation-icon,.slider-pagination .swiper-button-next .swiper-navigation-icon{display:none}.slider-pagination .swiper-button-prev{transform:scaleX(-1)}.slider-pagination .swiper-pagination-bullets{display:inline-block;vertical-align:middle;position:relative;z-index:10}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet{width:10px;height:10px;margin:0 5px;display:inline-block;background-color:#ccc;border-radius:10px}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:-webkit-focus-ring-color auto 1px;box-shadow:0 0 2px 1px #ccc}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet:hover{cursor:pointer}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet-active{background:#0096d6;border:0}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet-active:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #0096d6;border:1px solid #0096D6}.slider-pagination.dark .swiper-pagination-bullets .swiper-pagination-bullet-active{background:#165dba}.slider-pagination.center-aligned{text-align:center}.slider-pagination.center-aligned .swiper-button-prev,.slider-pagination.center-aligned .swiper-button-next{position:relative;top:auto;right:auto;left:auto;width:10px;height:17px;background-size:10px 17px}.slider-pagination.center-aligned .swiper-button-prev.style-slim,.slider-pagination.center-aligned .swiper-button-next.style-slim{background-size:8px 22px}.slider-pagination.center-aligned.push-arrows .swiper-button-prev,.slider-pagination.center-aligned.push-arrows .swiper-button-next{position:absolute;top:50%;left:unset;right:unset}.slider-pagination.center-aligned.push-arrows .swiper-button-prev{left:0}.slider-pagination.center-aligned.push-arrows .swiper-button-next{right:0}.slider-pagination.left-aligned{text-align:left}.slider-pagination.right-aligned{text-align:right}.slider-pagination.numbered-pagination .swiper-button-prev,.slider-pagination.numbered-pagination .swiper-button-next{width:11.5px;height:26.5px;margin:0 8px}.slider-pagination.numbered-pagination .swiper-pagination-bullet{width:43px;height:43px;margin:5px;font-size:19px;line-height:43px;text-align:center;opacity:1;background:#f3f3f3;color:#000}.slider-pagination.numbered-pagination .swiper-pagination-bullet:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #f3f3f3}.slider-pagination.numbered-pagination .swiper-pagination-bullet-active{color:#fff;background:#0096d6}.slider-pagination.numbered-pagination .swiper-pagination-bullet-active:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #0096d6}.slider-pagination.arrows-hidden .swiper-pagination-bullet:first-child{margin-left:0}.slider-pagination.arrows-hidden .swiper-pagination-bullet:last-child{margin-right:0}.banner-slider.is-vis-id>.position-relative .swiper-container .swiper-container-initialized{border:1px solid #000000}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{margin-right:0!important;margin-left:0!important;right:-60px;left:auto;width:40px!important;height:40px;border:1px solid #000000;padding:11px 0;background:none;text-align:center;color:#000;text-decoration:none;line-height:18px}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:before{content:"\\e601";font-size:20px;font-family:HPControlIcons}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{transform:rotate(90deg)}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{margin-top:60px;transform:rotate(-90deg)}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:hover{background-color:#ebf9ff}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:active{background-color:#caf3ff}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:focus-visible{border:2px solid #0278AB;padding:10px 0}.banner-slider.is-vis-id .slider-pagination{text-align:unset;margin-left:0;margin-right:0}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet{width:50px;height:unset;border:1px solid;border-color:#000000 #fff #fff #fff;padding-bottom:10px;margin:0 8px;border-radius:0;background-color:#fff;opacity:1}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active{background-color:#000;border-color:#000}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active:hover{border-color:#0278ab;
1background-color:#014667}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active:focus-visible{background-color:#fff}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:hover{outline:none;box-shadow:none;border-color:#000}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:active{outline:none;box-shadow:none;background-color:#caf3ff;border-color:#000}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:none;box-shadow:none}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:focus-visible{outline:none;box-shadow:none;border:2px solid;border-color:#0278ab;padding-bottom:8px}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{right:auto;left:-60px}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{transform:rotate(-90deg)}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{transform:rotate(90deg)}swiper-container>.swiper-slide{max-width:unset;overflow-x:hidden;overflow-y:auto}.auto-height swiper-container>.swiper-slide{height:auto!important}.has-shadow{overflow:hidden}.has-shadow swiper-container>.swiper.s-wrapper{overflow:visible}.rtl .nextPrevBtns{float:left;left:16px;right:auto}.nextPrevBtns{display:none;position:absolute;z-index:1;right:16px;bottom:2px;float:right;width:112px;height:56px;gap:10px;background-color:#fff;box-shadow:0 1px 4px 1px #08040433;border-radius:16px;cursor:pointer}.nextPrevBtns img{height:30px!important;width:30px!important}.right-arrow{transform:rotate(-90deg);display:inline-block;background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);background-repeat:no-repeat;background-position-y:center}.nxt-btn{position:absolute;margin-left:61px;margin-top:12px;width:30px;top:3px;left:3px}.prev-btn{position:absolute;margin-left:18px;margin-top:12px;width:30px;top:3px;left:3px}.swiper-button-prev-light-theme{background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);transform:scaleX(-1);background-repeat:no-repeat;background-position-y:center;position:absolute;z-index:10;cursor:pointer}.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-prev,.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-next{position:absolute;width:10px;height:17px;background-size:10px 17px}.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-prev.style-slim,.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-next.style-slim{background-size:8px 22px}.swiper-button-prev-unique{left:0;height:100%;top:0;width:15px;background-color:transparent;background-size:100%}.swiper-button-prev-unique.arrows-outside{left:-24px}.swiper-button-next-unique{right:0;height:100%;top:0;width:15px;background-color:transparent;background-size:100%}.swiper-button-next-unique.arrows-outside{right:-24px}.swiper-button-prev-unique,.swiper-button-next-unique{padding:0}.swiper-button-prev-unique.pagi-disabled,.swiper-button-next-unique.pagi-disabled{opacity:.3;cursor:auto}.swiper-button-prev-unique.pagi-disabled:focus,.swiper-button-next-unique.pagi-disabled:focus{outline:0}.swiper-button-prev-unique{background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);transform:scaleX(-1);background-repeat:no-repeat;background-position-y:center;position:absolute;z-index:10;cursor:pointer}.swiper-button-next-unique{background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);background-repeat:no-repeat;background-position-y:center;position:absolute;z-index:10;cursor:pointer}.blue-nav .swiper-button-prev-unique,.blue-nav .swiper-button-next-unique{background-image:url(/wcc-assets/images/arrow-dark-rignt-02.svg);background-position:center}.blue-nav-device-carousel .swiper-button-prev-unique,.blue-nav-device-carousel .swiper-button-next-unique{background-image:url(/wcc-assets/images/chevron-1right.png);background-position:center}.lightblue-nav .swiper-button-prev-unique,.lightblue-nav .swiper-button-next-unique{background-image:url(/wcc-assets/images/arrow_icon_nocircle-blue.svg);background-position:right}@media only screen and (max-width:768px){.slider-pagination.numbered-pagination .swiper-pagination-bullet{width:35px;height:35px;line-height:35px}}.banner-slider .swiper-button-next-unique:focus,.banner-slider .swiper-button-prev-unique:focus{outline:none}.banner-slider .swiper-button-prev-unique,.pfinder-carousel .swiper-button-prev-unique{left:-10px}.banner-slider .swiper-button-next-unique,.pfinder-carousel .swiper-button-next-unique{right:-10px}.tier-solution-slider .swiper-button-prev-unique{left:-74px}.tier-solution-slider .swiper-button-next-unique{right:-74px}@media only screen and (min-width:769px)and (max-width:1080px){.tier-solution-slider .swiper-button-prev-unique{left:-34px}.tier-solution-slider .swiper-button-next-unique{right:-34px}}
1@media only screen and (max-width:768px){.video-section-slider .push-inside{padding-right:0!important;padding-left:0!important}.video-section-slider .slider-pagination{margin-top:-50px!important}.video-section-slider .swiper-button-prev-unique,.video-section-slider .swiper-button-next-unique{display:none}}@media only screen and (max-width:767px){.banner-slider .swiper-button-prev-unique,.banner-slider .swiper-button-next-unique{display:none}.banner-slider .slider-pagination{margin-top:20px!important}.banner-slider .slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet{width:12px;height:12px}.banner-slider.is-vis-id>.position-relative .lightgray-nav{display:flex;gap:20px;margin:30px 20px}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{right:auto;top:223px;display:block;position:unset}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{left:20px}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{left:90px;margin-top:0}.banner-slider.is-vis-id .slider-pagination{display:none}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{left:auto}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{right:20px}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{right:90px}}@media only screen and (min-width:768px){.new-device-slider .slider-pagination{display:none}}@media only screen and (min-width:769px){.video-section-slider .push-inside{margin-right:25px;margin-left:25px}.video-section-slider .swiper-button-prev,.video-section-slider .swiper-button-next{display:none}.pfinder-section-slider .swiper-button-prev-unique.arrows-outside{left:-7px}.pfinder-section-slider .swiper-button-next-unique.arrows-outside{right:-7px}.pfinder-section-slider .push-inside{margin-right:15px;margin-left:15px}.pfinder-section-slider .swiper-button-prev,.pfinder-section-slider .swiper-button-next{display:none}.tier-solution-slider>.slider-pagination{text-align:left}.tier-solution-slider>.slider-pagination .swiper-button-prev,.tier-solution-slider>.slider-pagination .swiper-button-next{display:none}.video-section-slider .swiper-pagination-bullets .swiper-pagination-bullet{margin:0 10px}}.step-video-box .swiper-pagination-bullets .swiper-pagination-bullet{width:5px;height:5px;margin:5px}.step-video-box .push-inside{padding-right:0!important;padding-left:0!important}@media only screen and (max-width:900px){.slider-pagination .swiper-button-prev.style-slim,.slider-pagination .swiper-button-next.style-slim{margin:-4px 10px 0}.step-video-box .swiper-pagination-bullets .swiper-pagination-bullet{margin:5px 12px}.step-video-box .slider-pagination.mt-10{margin-top:10px!important}.step-video-box .slider-pagination.center-aligned .swiper-button-prev{position:absolute;left:0}.step-video-box .slider-pagination.center-aligned .swiper-button-next{position:absolute;right:0}}\n'],encapsulation:2})}}return ee})()},71183(fe,re,i){i.d(re,{F:()=>T});var x=i(85240),d=i(86763),h=i(84205),H=i(14876),W=i(93551),y=i(70739),m=i(93683),c=i(12481),L=i(20572),r=i(19885),_=i(8130),o=i(38225),G=i(9303),e=i(4804);const J=g=>({rtl:g});function de(g,u){if(1&g&&c.eu8(0,13),2&g){c.XpG();const p=c.sdS(18);c.Y8G("ngTemplateOutlet",p)}}function ce(g,u){if(1&g&&c.eu8(0,13),2&g){c.XpG();const p=c.sdS(20);c.Y8G("ngTemplateOutlet",p)}}function ae(g,u){if(1&g&&c.eu8(0,13),2&g){c.XpG();const p=c.sdS(22);c.Y8G("ngTemplateOutlet",p)}}function oe(g,u){if(1&g&&c.eu8(0,13),2&g){c.XpG();const p=c.sdS(26);c.Y8G("ngTemplateOutlet",p)}}function z(g,u){if(1&g&&c.eu8(0,13),2&g){c.XpG();const p=c.sdS(24);c.Y8G("ngTemplateOutlet",p)}}function B(g,u){if(1&g){const p=c.RV6();c.j41(0,"div",14)(1,"div",12)(2,"p",15),c.EFF(3),c.k0s(),c.j41(4,"div",16),c.nrm(5,"img",17),c.j41(6,"span",18),c.EFF(7),c.k0s()()(),c.j41(8,"div",19)(9,"div",20),c.nrm(10,"img",21),c.k0s()()(),c.j41(11,"div",14)(12,"div",22)(13,"a",23),c.bIt("click",function(){x.eBV(p);const b=c.XpG();return x.Njj(b.openDownload())}),c.EFF(14),c.k0s()()()}if(2&g){const p=c.XpG();c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text2"]),c.R7$(2),c.Y8G("src",p.loadingImage(),c.B4B),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_StartingModal_LoadingText"]),c.R7$(3),c.Y8G("src",p.waitingImage(),c.B4B),c.R7$(3),c.Y8G("title",p.allTranslations()["#pps_WCC_FS_WPD_Waiting_Actions_Completed_text"]),c.R7$(),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Waiting_Actions_Completed_text"])}}function q(g,u){if(1&g){const p=c.RV6();c.j41(0,"div",14)(1,"div",12)(2,"p",24),c.EFF(3),c.k0s(),c.j41(4,"div",25),c.EFF(5),c.
1k0s(),c.j41(6,"div",26)(7,"div",27),c.EFF(8),c.k0s()(),c.j41(9,"div",28)(10,"div",29)(11,"input",30),c.bIt("change",function(b){x.eBV(p);const f=c.XpG();return x.Njj(f.onSelectedRadio(b))})("keydown.enter",function(b){x.eBV(p);const f=c.XpG();return x.Njj(f.radiokeySelected(b))}),c.k0s()(),c.j41(12,"div",31),c.EFF(13),c.j41(14,"a",32),c.EFF(15),c.k0s()()()(),c.j41(16,"div",19)(17,"div",20),c.nrm(18,"img",21),c.k0s()()(),c.j41(19,"div",33)(20,"div",34)(21,"button",35),c.bIt("click",function(){x.eBV(p);const b=c.XpG();return x.Njj(b.startDownload())}),c.EFF(22),c.k0s()()()}if(2&g){const p=c.XpG();c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_DialogPromptsInstallSoftwareGetStarted_text"]),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_StartInstallingHPSupportSolutions_text"]),c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Guarantee_Faster_Support_Experience_text"]),c.R7$(3),c.BMQ("tabindex",p.isRadioSelected()?-1:0),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_HPTermsConditionsDataCollection_text"]),c.R7$(),c.Y8G("title",p.allTranslations()["#pps_WCC_FS_WPD_LearnMore_text"]||"Learn More")("href",p.learnMore(),c.B4B),c.R7$(),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_LearnMore_text"]||"Learn More"),c.R7$(3),c.Y8G("src",p.downloadImage(),c.B4B),c.R7$(3),c.Y8G("title",p.allTranslations()["#pps_WCC_FS_WPD_Start_Download_text"])("disabled",!p.isRadioSelected()),c.BMQ("tabindex",p.isRadioSelected()?0:-1),c.R7$(),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Start_Download_text"])}}function S(g,u){if(1&g){const p=c.RV6();c.j41(0,"div",14)(1,"div",22)(2,"p",36),c.EFF(3),c.k0s(),c.j41(4,"ul")(5,"li",37)(6,"div",38),c.EFF(7,"1"),c.k0s(),c.j41(8,"div",39),c.EFF(9),c.k0s()(),c.j41(10,"li",37)(11,"div",38),c.EFF(12,"2"),c.k0s(),c.j41(13,"div",39),c.EFF(14),c.k0s()(),c.j41(15,"li",37)(16,"div",38),c.EFF(17,"3"),c.k0s(),c.j41(18,"div",39),c.EFF(19),c.k0s()()(),c.j41(20,"div",26)(21,"div",40),c.EFF(22),c.k0s()()(),c.j41(23,"div",22)(24,"div",20),c.nrm(25,"img",21),c.k0s()()(),c.j41(26,"div",33)(27,"div",22)(28,"button",41),c.bIt("click",function(){x.eBV(p);const b=c.XpG();return x.Njj(b.continueBtn())}),c.EFF(29),c.k0s()()()}if(2&g){const p=c.XpG();c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_SupportSolutionDownloading_text"]),c.R7$(6),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_LocateBrowserWindowBeginInstalling_text"]),c.R7$(5),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Agree_Terms_Installer_Window_text"]),c.R7$(5),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Installer_Complete_Click_Continue_text"]),c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Installation_Finished_Click_Continue_text"]),c.R7$(3),c.Y8G("src",p.stepsImage(),c.B4B),c.R7$(3),c.Y8G("title",p.allTranslations()["#pps_WCC_FS_WPD_Continue_text"])("disabled",p.isButtonDisabled()),c.BMQ("tabindex",p.isButtonDisabled()?-1:0),c.R7$(),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Continue_text"])}}function I(g,u){if(1&g){const p=c.RV6();c.j41(0,"div",14)(1,"div",42)(2,"div",43),c.EFF(3),c.k0s(),c.j41(4,"div",44),c.EFF(5),c.
1k0s(),c.j41(6,"div",45),c.EFF(7),c.k0s(),c.j41(8,"button",46),c.bIt("click",function(){x.eBV(p);const b=c.XpG();return x.Njj(b.closeBtn())}),c.EFF(9),c.k0s()()()}if(2&g){const p=c.XpG();c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Error_text"]),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_SomethingWentWrongNoToolLaunch_text"]),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Sorry_Please_Try_Again_text"]),c.R7$(),c.Y8G("title",p.allTranslations()["#pps_WCC_FS_WPD_Close_text"]),c.R7$(),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Close_text"])}}function C(g,u){if(1&g){const p=c.RV6();c.j41(0,"div",14)(1,"div",42)(2,"div",47),c.EFF(3),c.k0s(),c.j41(4,"div",48),c.EFF(5),c.k0s(),c.j41(6,"ul",49)(7,"li",50),c.EFF(8),c.k0s(),c.j41(9,"li",50),c.EFF(10),c.k0s(),c.j41(11,"li",50),c.EFF(12),c.k0s(),c.j41(13,"li",50),c.EFF(14),c.k0s(),c.j41(15,"li",50),c.EFF(16,"{{allTranslations()[\"#pps_WCC_FS_WPD_Product_Detect_Automatically_text\"] || 'There are some product types that HP can't detect automatically. To search using your serial number, product number or name, go back to the manual product selection.'}}"),c.k0s()(),c.j41(17,"div",51),c.EFF(18),c.k0s(),c.j41(19,"button",52),c.bIt("click",function(){x.eBV(p);const b=c.XpG();return x.Njj(b.closeBtn())}),c.EFF(20),c.k0s()()()}if(2&g){const p=c.XpG();c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_HP_Identify_Products_text"]),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_HPFindProductCommonThingsCheck_text"]),c.R7$(3),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Devices_PoweredOn_Identified_text"]),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_DevicesConnectedWirelesslyUSB_text"]),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_HPChecksCachedProductsFindNewDevices_text"]),c.R7$(2),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_HP_Identify_Branded_Products_text"]),c.R7$(4),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_NoProductsExpectedTryDetectionTool_text"]),c.R7$(),c.Y8G("title",p.allTranslations()["#pps_WCC_FS_WPD_Close_text"]),c.R7$(),c.JRh(p.allTranslations()["#pps_WCC_FS_WPD_Close_text"])}}let T=(()=>{class g{constructor(p,l,b,f,R,w,F,A){this.activeModal=p,this.modalService=l,this.pageService=b,this.appSelectorStore=f,this.productDetectService=R,this.windowRef=w,this.renderer=F,this.globalDataService=A,this.allTranslations=(0,x.vPA)({}),this.pageConfig=(0,d.EW)(()=>this.pageService.configSignal()),this.downloadSSFUrl=(0,x.vPA)(""),this.destroySubject$=new h.B,this.onUserAcknowledgedFlag=(0,x.vPA)(!0),this.showWaitingTemplate=(0,x.vPA)(!0),this.showConfirmationTemplate=(0,x.vPA)(!1),this.showDownloadTemplate=(0,x.vPA)(!1),this.showErrorTemplate=(0,x.vPA)(!1),this.isRadioSelected=(0,x.vPA)(!1),this.showNoProductDetect=(0,x.vPA)(!1),this.isButtonDisabled=(0,x.vPA)(!0),this.ssfDownloaded=(0,x.vPA)(!1),this.waitingImage=(0,x.vPA)(y.D5.waitingImage),this.loadingImage=(0,x.vPA)(y.D5.loadingImage),this.downloadImage=(0,x.vPA)(y.D5.downloadImage),this.stepsImage=(0,x.vPA)(y.D5.stepsImage),this.eventTypes=["keydown","click"],this.timeout=null,this.learnMore=(0,x.vPA)(`https://www.hp.com/${this.pageConfig().locale}/privacy/privacy.html`),this.isDMDr=(0,x.vPA)(!1),this.window=this.windowRef.nativeWindow}ngOnInit(){this.isDMDr.set(this.productDetectService.checkIfDMDr()),this.startTimer(),this.getTranslations(),this.productDetectService.getDownloadSSFUrlFromSSC().subscribe(p=>{(0,W.A)(p)||this.downloadSSFUrl.set(p.downloadSSFUrl)}),this.onUserAcknowledgedFlag()&&this.openDownloadModalOnTimeout(),this.productDetectService.onProtocolUpdate().subscribe(p=>{clearTimeout(this.timeout),!p&&(this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!0),this.startTimer(),this.updateGDLForTemplateName(),this.isDMDr())&&this.globalDataService.updateGDL({DMDrSSFInstalled:!1}),this.onProtocalSuccessOrFailure(p)}),this.productDetectService.onUserCancelled().subscribe(p=>{if(p){clearTimeout(this.timeout),this.modalService.dismissAll();const l={Template:this.productDetectService.getPrevTemplateName()};this.globalDataService.updateGDL(l)}}),this.updateGDLForTemplateName()}onSelectedRadio(p){this.isRadioSelected.set(p.target.checked)}startTimer(){this.resetTimer(),this.addEventListeners(),this.timerSubscription&&this.timerSubscription.unsubscribe(),this.timerSubscription=(0,H.O)(0,1e3).subscribe(()=>{Date.now()-this.lastInteractionTime>=y.Sb&&this.stopTimer()})}stopTimer(){this.timerSubscription&&this.timerSubscription.unsubscribe(),this.showErrorTemplate.set(!0),this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!1),this.showConfirmationTemplate.set(!1),this.updateGDLForTemplateName()}resetTimer(){this.lastInteractionTime=Date.now()}addEventListeners(){typeof this.window<"u"&&this.eventTypes.forEac
1h(p=>{this.window.addEventListener(p,this.resetTimer.bind(this))})}removeEventListeners(){typeof this.window<"u"&&this.eventTypes.forEach(p=>{this.window.removeEventListener(p,this.resetTimer.bind(this))})}openDownloadModalOnTimeout(){clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!0),this.startTimer(),this.updateGDLForTemplateName()},y.oT)}closeBtn(){this.activeModal.dismiss("Cross click");const p=sessionStorage.getItem("productData");this.seriesContext=p?JSON.parse(p)?.data?.devices?.[0]?.productSpecs?.seriesContext:null,this.globalDataService.updateGDL({Template:this.seriesContext?"SWDSeriesDownload":"SWDDownload"}),this.showNoProductDetect()||this.productDetectService.onModalClose()}onKeyDownHandler(p){"Escape"===p.key&&this.activeModal.dismiss("Cross click")}openDownload(){clearTimeout(this.timeout),this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!0),this.showConfirmationTemplate.set(!1),this.startTimer(),this.updateGDLForTemplateName()}startDownload(){if(this.showDownloadTemplate.set(!1),this.showWaitingTemplate.set(!1),this.showConfirmationTemplate.set(!0),this.ssfDownloaded.set(!0),this.startTimer(),typeof document<"u"){let p=this.renderer.createElement("a");this.renderer.setAttribute(p,"href",this.downloadSSFUrl()),p.click()}this.getConfirmationTimeout(),this.updateGDLForTemplateName(),this.isDMDr()&&this.globalDataService.updateGDL({DMDrSSFDownloaded:!0})}continueBtn(){typeof document<"u"&&(this.onUserAcknowledgedFlag.set(!1),this.showConfirmationTemplate.set(!1),this.showWaitingTemplate.set(!0),this.startTimer(),this.isRadioSelected.set(!1),document.getElementById("hpDetectButton").click(),this.openDownloadModalOnTimeout())}getConfirmationTimeout(){clearTimeout(this.timeout),this.isButtonDisabled.set(!0),this.timeout=setTimeout(()=>{this.isButtonDisabled.set(!1)},y.oT)}getTranslations(){this.appSelectorStore.getAllTranslations$().subscribe(p=>{this.allTranslations.set(p)})}getIdForModalClose(){return this.showWaitingTemplate()?"dmd-close":this.showDownloadTemplate()?"download-close":this.showConfirmationTemplate()?"Install-close":this.showErrorTemplate()?"error-close":this.showNoProductDetect()?"noproduct-close":""}updateGDLForTemplateName(){this.isDMDr()||(this.showWaitingTemplate()?this.globalDataService.updateGDL({Template:"DMD"}):this.showDownloadTemplate()?this.globalDataService.updateGDL({Template:"DMDSSFNotInstalled"}):this.showConfirmationTemplate()?this.globalDataService.updateGDL({Template:"DMD-SSFInstall"}):this.showErrorTemplate()&&this.globalDataService.updateGDL({Template:"DMDTimeout"}))}onProtocalSuccessOrFailure(p){const l=this.globalDataService.getWindowGlobalData();this.isDMDr()||""!==l?.DMD?.WPDSSFavailable||this.globalDataService.updateGDL({DMD:{WPDSSFavailable:!!p}},!0);let b=!!p&&null;this.ssfDownloaded()&&p&&(b=!0),this.globalDataService.updateGDL({DMD:{WPDSSFDownload:b}},!0)}radiokeySelected(p){p.target.checked=!0,this.onSelectedRadio(p)}ngOnDestroy(){this.timerSubscription&&this.timerSubscription.unsubscribe(),this.removeEventListeners(),this.destroySubject$.next(!0)}static{this.\u0275fac=function(l){return new(l||g)(c.rXU(L.Lw),c.rXU(L.Bq),c.rXU(r.b),c.rXU(_.q),c.rXU(o.S),c.rXU(G.$),c.rXU(c.sFG),c.rXU(e.a))}}static{this.\u0275cmp=c.VBU({type:g,selectors:[["app-wpd-waiting-modal"]],hostBindings:function(l,b){1&l&&c.bIt("keydown",function(R){return b.onKeyDownHandler(R)},c.EBC)},decls:27,vars:15,consts:[["Hpwpd_WaitingDialog",""],["Hpwpd_DownloadDialog",""],["Hpwpd_InstallDialog",""],["Hpwpd_ErrorDialog",""],["Hpwpd_NoProductDetect",""],[1,"modal-header",3,"ngClass"],[1,"modal-title"],[1,"close-text"],[1,"close-btn",3,"click","title","id"],["data-dismiss","modal",1,"cancel"],[1,"modal-body",3,"ngClass"],[1,"container"],[1,"col"],[3,"ngTemplateOutlet"],[1,"row"],[1,"wpd-hp-text"],[1,"waiting-area"],["alt","HP Web Product Detection","width","100%",1,"img-loader",3,"src"],[1,"comp-action"],[1,"col","grey-area-col"],[1,"grey-area"],["alt","HP Web Product Detection","width","100%",3,"src"],[1,"col-6"],["href","javascript:void(0)","id","clickhere",1,"wpd-hp-link",3,"click","title"],[1,"wpd-dialog-box"],[1,"wpd-install-sol"],[1,"wpd-next-section"],[1,"wpd-hp-content"],[1,"row","checkbox-content"],[1,"col-1"],["type","radio","id","Hpwpd_DownloadDialog_ChkAgree","value","radioName","formControlName","radioSelected",1,"radio-section",3,"change","keydown.enter"],[1,"col-11","wpd-hp-terms"],["target","_blank","href","javascript:void(0)","id","Learn_more",1,"learn-more",3,"title","href"],[1,"row","waiting-next-area"],[1,"col-6","dmd-btn-section"],["id","Hpwpd_DownloadDialog_BtnDownload","type","button","id","startdownload",1,"button","primary","dmd-trigger","dmd-step1-ssf-btn",3,"click","title","disabled"],[1,"wpd-conf-text"],[1,"wp-list-item"],[1,"col-1","circle-number"],[1,"col-11"],[1,"wpd-conf-content"],["id","SSF-Continue","type","button",1,"button",3,"click","title","disabled"],[1,"col-8"],[1,"wpd-error"],[1,"wpd-launch-text"],[1,"wpd-try-again"],["type","button","id","error-btn-close",1,"button","closebtn",3,"click","title"],[1,"wpd-no-detect"],[1,"wpd-no-common"],[1,"wpd-ul-disc"],[1,"wpd-li"],[1,"wpd-no-grey"],["type","button","id","noproduct-btn-close",1,"button","closebtn",3,"click","title"]],template:function(l,b){if(1&l){const f=c.RV6();c.j41(0,"div",5)(1,"h4",6),c.EFF(2),c.k0s(),c.j41(3,"div",7)(4,"button",8),c.bIt("click",function(){return x.eBV(f),x.Njj(b.closeBtn())}),c.j41(5,"div"),c.EFF(6),c.k0s(),c.j41(7,"div",9),c.EFF(8,"\xd7"),c.k0s()()()(),c.j41(9,"div",10)(10,"div",11)(11,"div",12),c.nVh(12,de,1,1,"ng-container",13),c.nVh(13,ce,1,1,"ng-container",13),c.nVh(14,ae,1,1,"ng-container",13),c.nVh(15,oe,1,1,"ng-container",13),c.nVh(16,z,1,1,"ng-container",13),c.k0s()()(),c.DNE(17,B,15,6,"ng-template",null,0,c.C5r)(19,q,23,13,"ng-template",null,1,c.C5r)(21,S,30,10,"ng-template",null,2,c.C5r)(23,I,10,5,"ng-template",null,3,c.C5r)(25,C,21,9,"ng-template",null,4,c.C5r)}2&l&&(c.Y8G("ngClass",c.eq3(11,J,"rtl"===b.pageConfig().languageDirection)),c.R7$(2),c.JRh(b.allTranslations()["#pps_WCC_FS_WPD_StartingModal_Title"]),c.R7$(2),c.Y8G("title",b.allTranslations()["#pps_WCC_FS_WPD_Close_text"])("id",b.getIdForModalClose()),c.R7$(2),c.JRh(b.allTranslations()["#pps_WCC_FS_WPD_Close_text"]),c.R7$(3),c.Y8G("ngClass",c.eq3(13,J,"rtl"===b.pageConfig().languageDirection)),c.R7$(3),c.vxM(b.showWaitingTemplate()?12:-1),c.R7$(),c.vxM(b.showDownloadTemplate()?13:-1),c.R7$(),c.vxM(b.showConfirmationTemplate()?14:-1),c.R7$(),c.vxM(b.showNoProductDetect()?15:-1),c.R7$(),c.vxM(b.showErrorTemplate()?16:-1))},dependencies:[m.YU,m.T3],styles:['.wpd-waiting-modal .modal-dialog{max-width:1008px;margin:60px auto}.wpd-waiting-modal .modal-backdrop.show{background-color:#fff;opacity:.9}.wpd-waiting-modal .modal-header{padding:0 30px;border-bottom:1px solid #000000;display:flex;align-items:center;height:88px}.wpd-waiting-modal .modal-content{border:1px solid #000000;border-radius:0}.wpd-waiting-modal .modal-body{margin:15px 0}
1.wpd-waiting-modal .modal-title{font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .close-text{cursor:pointer;display:flex;margin-left:auto}.wpd-waiting-modal .close-text .close-btn{display:flex;gap:8px;align-items:center;background-color:#fff;outline:none;padding:0;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:24px;color:#000}.wpd-waiting-modal .close-text .close-btn:focus{outline:#0096D6 auto 0px;box-shadow:0 0 2px 1px #0096d6}.wpd-waiting-modal .close-text:hover{color:#000}.wpd-waiting-modal .cancel{font-size:25px}.wpd-waiting-modal .wpd-hp-link{font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#1c8ecf;margin-top:20px;text-decoration:underline}.wpd-waiting-modal .wpd-hp-link:hover{color:#035c84!important}.wpd-waiting-modal .comp-action{padding-left:20px;font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wp-list-item{display:flex;justify-content:center;align-items:center;margin-bottom:20px;
1font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .circle-number{display:flex;justify-content:center;align-items:center;border-radius:50%;border:1px solid #1C8ECF;text-align:center;width:27.75px;max-width:27.75px;height:27.75px;padding:0;font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#1c8ecf}.wpd-waiting-modal .grey-area-col{max-width:430px}.wpd-waiting-modal .grey-area{top:0%;bottom:0%;height:226px;background:#f8f8f8;display:flex;justify-content:center;align-items:center}.wpd-waiting-modal .grey-area img{height:226px}.wpd-waiting-modal .button{display:flex;padding:10px 30px;width:172px;height:45px;justify-content:center;gap:10px;cursor:pointer;border-radius:0;font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#fff;background:#000}.wpd-waiting-modal .button:focus{outline:#0096D6 auto 0px;box-shadow:0 0 2px 1px #0096d6}.wpd-waiting-modal .button:disabled,.wpd-waiting-modal .button:disabled:hover{background-color:#dbdbdb;font-weight:400}.wpd-waiting-modal .waiting-area{padding:60px 0}.wpd-waiting-modal .checkbox-content{display:flex;justify-content:center;align-items:center}.wpd-waiting-modal .radio-section{width:25px;height:25px}.wpd-waiting-modal .learn-more{font:16px;padding-left:3px;color:#737373!important;text-decoration:underline!important}.wpd-waiting-modal .learn-more:hover{color:#035c84!important}.wpd-waiting-modal .loading-container{position:relative;width:100%;height:100%}
1.wpd-waiting-modal .wpd-hp-terms{font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .wpd-dialog-box{font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000;letter-spacing:0em;text-align:left}.wpd-waiting-modal .wpd-install-sol{font-family:Forma DJR Micro;font-size:19px;font-weight:400;line-height:30px;color:#000;letter-spacing:0em;text-align:left}.wpd-waiting-modal .wpd-hp-text{font-family:Forma DJR Micro;font-size:40px;font-weight:400;line-height:50px;color:#000}.wpd-waiting-modal .wpd-hp-content{font-family:Forma DJR Micro;font-size:17px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .wpd-conf-text{font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wpd-conf-content{font-family:Forma DJR Micro;font-size:17px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .waiting-conf-area{padding-top:20px;padding-bottom:30px}.wpd-waiting-modal .wpd-next-section{display:flex;flex-direction:row;align-items:flex-start;padding:20px;gap:10px;width:457px;background:#ebf9ff;border:1px solid #0278AB;margin:20px 0;
1font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .wpd-hp-section{display:flex;flex-direction:row;align-items:flex-start;padding:20px;gap:10px;width:457px;background:#f3fbfe;border:1px solid #0278AB;margin:20px 0;font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .waiting-next-area{padding-top:20px;padding-bottom:30px}.wpd-waiting-modal .wpd-error{letter-spacing:0em;text-align:left;margin:0 0 20px;font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wpd-launch-text{letter-spacing:0em;text-align:left;margin:10px 0 20px;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .wpd-try-again{letter-spacing:0em;text-align:left;margin:10px 0 20px;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#737373}.wpd-waiting-modal .closebtn{width:103px;border:1px;margin-bottom:10px;font-weight:500}.wpd-waiting-modal .img-loader{border-radius:50%;animation:spin 2s linear infinite;width:43px;height:43px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.wpd-waiting-modal .rtl .close-text{margin-left:0}.wpd-waiting-modal .rtl .modal-title{padding-right:30px}.wpd-waiting-modal .rtl .comp-action{padding-right:20px}.wpd-waiting-modal .rtl .grey-area{margin:6px 30px 0 0}.wpd-waiting-modal .wpd-no-detect{margin-bottom:20px;
1font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wpd-no-common{font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .wpd-ul-disc{list-style-type:disc;font-family:Forma DJR Micro;font-size:16px;font-weight:700;line-height:25px;color:#000}.wpd-waiting-modal .wpd-no-grey{margin:20px 0;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#737373}.wpd-waiting-modal .wpd-li{margin:0 0 0 25px;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .radio-section[type=radio]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;color:#000;font:inherit;width:24px;height:24px;border:1px solid #000000;border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center}.wpd-waiting-modal .radio-section[type=radio]:focus{outline:#0096D6 auto 0px;box-shadow:0 0 6px #0096d6}.wpd-waiting-modal .radio-section[type=radio].has-error{border:1px solid #BF2026}.wpd-waiting-modal .radio-section[type=radio]:before{content:"";width:12px;height:12px;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;box-shadow:inset 1em 1em var(--form-control-color)}.wpd-waiting-modal .radio-section[type=radio]:checked:before{transform:scale(1);background-color:#000}\n'],encapsulation:2})}}return g})()},6179(fe,re,i){i.d(re,{Of:()=>L,s0:()=>h,x$:()=>m});var x=i(93551),d=i(2462);let h={contactMessageOption:{formType:"messagingForm",closureContentTemplate:"uc_some_fb_chat",anr:{contactFormName:"messaging-form",submitBtnId:"messaging-form-submit"}},contactCallMeOption:{formType:"callMeForm",closureContentTemplate:"uc_call_me_closure",anr:{contactFormName:"callme-form",submitBtnId:"callme-form-submit"}},contactChatOption:{formType:"chatForm",chatType:"OmniChat",closureContentTemplate:"uc_chat_closure",anr:{contactFormName:"chat-form",submitBtnId:"chat-form-submit"}},contactOtherOption:{formType:"generalForm",closureContentTemplate:"uc_email_closure",anr:{contactFormName:"email-form",submitBtnId:"email-form-submit"}},repairOption:{formType:"FrexRepair",closureContentTemplate:"frex_repair_closure",anr:{contactFormName:"repair-form",submitBtnId:"repair-form-submit"}},exchangeOption:{formType:"FrexExchange",closureContentTemplate:"frex_exchange_closure",anr:{contactFormName:"exchange-form",submitBtnId:"exchange-form-submit"}},polyExchangeOption:{formType:d.D.POLY_RMA,closureContentTemplate:"uc_poly_rma",anr:{contactFormName:"RMA-form",submitBtnId:"RMA-form-submit"}},noTouchRepairCIDOption:{formType:"Repair",closureContentTemplate:"uc_repair_closure",anr:{contactFormName:"no-touch-repair-form",submitBtnId:"no-touch-repair-form-submit"}},noTouchRepairOption:{formType:"Repair",closureContentTemplate:"uc_repair_adp_closure",anr:{contactFormName:"no-touch-repair-form",submitBtnId:"no-touch-repair-form-submit"}},noTouchRepairNoADPOption:{formType:"Repair",closureContentTemplate:"uc_repair_no_adp_closure",anr:{contactFormName:"no-touch-repair-form",submitBtnId:"no-touch-repair-form-submit"}},sierraChatOption:{formType:"SierraChat",closureContentTemplate:"uc_sierra_agent_closure",anr:{contactFormName:"RMA-form",submitBtnId:"RMA-form-submit"}},zoomChatOption:{formType:"ZoomChat",closureContentTemplate:"uc_zoom_agent_closure",anr:{contactFormName:"RMA-form",submitBtnId:"RMA-form-submit"}}};const H=r=>(r.startsWith("+")||(r=`+${r}`),r),W=r=>r?r.replace(/[^a-zA-Z0-9]/g,""):"",y=(r,_,o)=>{const G=o&&(o===h.repairOption.formType||o===h.exchangeOption.formType)||h.polyExchangeOption.formType,e=o&&(o===h.noTouchRepairOption.formType||o===h.noTouchRepairNoADPOption.formType||o===h.noTouchRepairCIDOption.formType);return"br"===_.cc&&(G||e)?r.get("business")?.value?{"State Inscription":W(r.get("stateinscription")?.value||""),CPF:W(r.get("CNPJ")?.value||"")}:{CPF:W(r.get("CPF")?.value||"")}:["gr","pe"].includes(_.cc)&&(G||e)?{"Tax ID":W(r.get("taxid")?.value||""),"Tax Office Name":r.get("taxofficename")?.value?.replace(/[#/]/g,"")||""}:{}},m=(r,_,o,G,e=null,J=!1)=>{const de=r.get("email")&&r.get("email").value||"";if(!(r&&_&&o&&G))return{};const ce=o?.diagnosticResponse;let ae="";
1const oe=o?.formConfig?.formType,z=oe&&(oe===h.repairOption.formType||oe===h.exchangeOption.formType)||h.polyExchangeOption.formType;r.get("confirmHardwareHelpOpt")&&(ae="confirm"===r.get("confirmHardwareHelpOpt").value?"1":"0");const T=()=>{if(typeof sessionStorage<"u"){const p=sessionStorage?.getItem("selectedCCLC")&&JSON.parse(sessionStorage?.getItem("selectedCCLC"))||{},l=localStorage?.getItem("sessionData")&&JSON.parse(localStorage?.getItem("sessionData"))||{};return p?.contactCclcChanged?p?.contactOptions?.cc.toUpperCase():l?.geoCc?.toUpperCase()}};let g="";r.get("errorCode")&&r.get("errorCode").value?g=r.get("errorCode")&&r.get("errorCode").value:!(0,x.A)(ce)&&o?.contactProductContext?.failureId&&(g=o?.contactProductContext?.failureId);let u={cc:_.cc,lc:_.lc,sessionId:o?.messagingSessionID||"",captchaToken:r.get("captchaToken")&&r.get("captchaToken").value||"",caseType:(()=>{let p=r.get("caseType")&&r.get("caseType").value||"";return p.startsWith("DCC_")&&(p=p.substring(4,p.length)),p})(),userType:r.get("userType")&&r.get("userType").value||"guest",obs:{transactionId:o?.transactionId||"",interactionId:o?.urid||"",country:T(),firstName:r.get("firstName")&&r.get("firstName").value||"",lastName:r.get("lastName")&&r.get("lastName").value||"",phone:H(r.get("phoneNumber")&&r.get("phoneNumber").value||""),email:G.email||de,secondaryEmailAddress:""},caseExchange:{incomingChannel:o?.incomingChannel||"",remoteCaseTroubleshootingSteps:!(0,x.A)(ce)&&o?.contactProductContext?.failureId?(()=>{let p="",l="";const b=o?.contactProductContext,f=o?.diagnosticResponse;return f?.documents?.length&&f.documents.forEach(R=>l+=`${R.docId} - ${R.title}\r\n`),p=`${f?.errorSource?f?.errorSource:""}\r\n`,p+=`Failure ID: ${b?.failureId?b?.failureId:""}\r\n`,p+=`Failure code: ${f?.code?f?.code:""}\r\n`,p+=`Failure message: ${f?.description?f?.description:""}\r\n`,p+=`Test date: ${f?.testDate?f?.testDate:""}\r\n`,p+=`Device type: ${f.diagDesc?f.diagDesc:""}\r\n`,p+=`Operating System: ${f.operatingSystem?f.operatingSystem:""}\r\n\r\n`,p+=`Recommended next steps:\r\n${f?.agentNextSteps?f?.agentNextSteps:""}\r\n\r\n`,p+=`Additional documents: ${l||""}`,p})():(()=>{let p="";const l=o?.solutionInfo;l&&(p=`${"video"===l.type?"videoId":"docId"}=${l.id}\n\n`);let b=null,f=o?.caseType;return"some"===f?b="messaging":f.startsWith("DCC_")&&(b="Call_Me"),p+=`originId=${b}_${_.locale}`,p})(),errorCodes:g,intent:o?.intent||"",chatPbrQueue:o?.chatQueue||"",hwIntent:ae,subject:r.get("additionalDesc")&&r.get("additionalDesc").value||o?.issueDesc1En||o?.issueDesc1||"",description:(()=>{const p=J?o?.issueDesc1||"":o?.issueDesc1En||"",l=J?o?.issueDesc2||"":o?.issueDesc2En||"",b=r.get("caseId")&&r.get("caseId").value||"",f=r.get("additionalDesc")?.value||r.get("addProblemDesc")?.value||"",R=r.get("issueDescription")?.value||"",w=r.get("softwareVersion")?.value||"";return r.get("caseType")?.value===d.D.POLY_RMA?"gr"===_.cc?`DISTART#${W(r.get("taxid")?.value||"")}/${r.get("taxofficename")?.value?.replace(/[#/]/g,"")||""}/${o.warrantyType}#DIEND L1 Customer intent:${p}\n\nL2 Customer intent:${l}\n\nCustomer Case ID:${b}\n\nProblem description:${f}\n\nIssue Description: ${R} \n\nSoftware Version: ${w}\n\n`:`L1 Customer intent:${p}\n\nL2 Customer intent:${l}\n\nCustomer Case ID:${b}\n\nProblem description:${f}\n\nIssue Description: ${R} \n\nSoftware Version: ${w}\n\n`:"gr"===_.cc&&z?`DISTART#${W(r.get("taxid")?.value||"")}/${r.get("taxofficename")?.value?.replace(/[#/]/g,"")||""}/${o.warrantyType}#DIEND L1 Customer intent:${p}\n\nL2 Customer intent:${l}\n\nCustomer Case ID:${b}\n\nProblem description:${f}`:`L1 Customer intent:${p}\n\nL2 Customer intent:${l}\n\nCustomer Case ID:${b}\n\nProblem description:${f}`})(),account:{accountName:`${r.get("firstName")&&r.get("firstName").value||""} ${r.get("lastName")&&r.get("lastName").value||""}`,phone:H(r.get("phoneNumber")&&r.get("phoneNumber").value||"")},contacts:(()=>{const p=[],l=G?.addresses?.length;let b;const f=o?.formConfig?.formType,R=f&&(f===h.repairOption.formType||f===h.exchangeOption.formType),w=f===h.polyExchangeOption.formType,F=A=>{let P="Primary";A&&!A.primary?P="Secondary":b=!0,p.push({contactType:P,firstName:r.get("firstName")&&r.get("firstName").value||"",lastName:r.get("lastName")&&r.get("lastName").value||"",primaryEmailAddress:G?.email||de,company:r.get("companyName")&&r.get("
1companyName").value||"",address:R||w?{country:r.get("country")&&r.get("country").value?.toUpperCase()||"",city:r.get("cityTown")&&r.get("cityTown").value||"",stateOrProvince:r.get("stateProvince")&&r.get("stateProvince").value||"",streetAddress1:r.get("streetAddress1")&&r.get("streetAddress1").value||"",streetAddress2:r.get("addressLine2")&&r.get("addressLine2").value||"",zipCode:r.get("zipcode")&&r.get("zipcode").value||""}:{country:T(),city:"",stateOrProvince:"",streetAddress1:A?.line1||"",streetAddress2:A?.line2||"",zipCode:A?.postalCode||""},japanAlternateFirstName:r.get("altfirstName")&&r.get("altfirstName").value||"",japanAlternateLastName:r.get("altLastName")&&r.get("altLastName").value||"",phone:H(r.get("phoneNumber")&&r.get("phoneNumber").value||"")}),f===h.polyExchangeOption.formType&&(p[0].address.streetAddress3=r.get("addressLine3")?.value)};return l?G.addresses.forEach(A=>{F(A)}):F(),b||(p[0].contactType="Primary"),p})(),asset:{serialNumber:o?.contactProductContext?.altSerialNumber||o?.contactProductContext?.serialNumber||"",productNumber:o?.contactProductContext?.sku||o?.contactProductContext?.productNumber||""},notes:{notesDescription:r.get("selectedOS")&&r.get("selectedOS").value||""},attachments:[]},regionSpecific:y(r,_,oe)};if(e?.isContactFormPolyNonSerialPnSn&&!o?.contactProductContext?.serialNumber&&!o?.contactProductContext?.productNumber&&(u.caseExchange.asset.serialNumber=e?.value?.serialNumber,u.caseExchange.asset.productNumber=e?.value?.productNumber),e?.isContactFormPolyNonSerialPnSn&&!o?.contactProductContext?.serialNumber&&!o?.contactProductContext?.productNumber&&(u.caseExchange.asset.serialNumber=e?.value?.serialNumber,u.caseExchange.asset.productNumber=e?.value?.productNumber),r.get("
1caseType")?.value===d.D.POLY_RMA&&typeof sessionStorage<"u"){const p=sessionStorage?.getItem("contactFormData")&&JSON.parse(sessionStorage?.getItem("contactFormData"))||{};u.caseExchange.subject=r.get("addProblemDesc")?.value||p?.formData?.issueDescription||""}return u},c=(r,_,o=!0)=>{let G="",e="";return _?(G=r?.issueDesc1||"",e=r?.issueDesc2||""):(G=r?.issueDesc1En||"",e=r?.issueDesc2En||""),o?`No-Touch PC Repair${G?" - "+G:""}${e?" "+e:""}`:`${G}${e?" "+e:""}`},L=(r,_,o,G,e=null,J=!1)=>{const de="yes"===r.get("adpEligible")?.value?.toLowerCase();return{captchaToken:r.get("captchaToken")?.value||"",productType:"pc",title:c(o,J,!0),incomingChannel:o?.incomingChannel||"",serialNumber:o?.contactProductContext?.altSerialNumber||o?.contactProductContext?.serialNumber||"",productNumber:o?.contactProductContext?.sku||o?.contactProductContext?.productNumber||"",locale:`${_?.cc?.toLowerCase()}-${_?.lc?.toLowerCase()}`,notes:{"Intent Name":c(o,J,!1),"Troubleshooting Steps":"Unknown","Problem description":r.get("addProblemDesc")?.value||"","OS version installed":"Unknown",ADP:de?"Yes":"No","CU has their Bitlocker key: (y/n/unknown)":"Unknown","Previous CSR, Repair":"No","Customer WANTS A Software RELOAD? (y/n)":!0===r.get("repairExchangeDataAck")?.value?"Yes":"No","Pictures and Files":"Unknown",companyName:r.get("companyName")?.value||"",...y(r,_,o?.formConfig?.formType)},shippingAddress:{line1:r.get("streetAddress1")?.value||"",line2:r.get("addressLine2")?.value||"",postalCode:r.get("zipcode")?.value||"",locality:r.get("cityTown")?.value||"",region:r.get("stateProvince")?.value||"",country:r.get("country")?.value?.toUpperCase()||"",phoneNumber:H(r.get("phoneNumber")?.value||""),phoneNumberVerified:!1}}}},2462(fe,re,i){i.d(re,{D:()=>x});const x={POLY_RMA:"Poly_RMA"}},71839(fe,re,i){i.d(re,{u:()=>w});var x=i(85240),d=i(86763),h=i(2435),H=i(70271),W=i(33900),y=i(97965),m=i(85139),c=i(78767),L=i(93551),r=i(65644),_=i(75507),o=i(61585),G=i(63855),e=i(43942),J=i(84205),de=i(75797),ce=i(59452),ae=i(24938),oe=i(70739),z=i(54041),B=i(72926),q=i(19885),S=i(47484),I=i(91018),C=i(80436),T=i(24518),g=i(9922),u=i(60480),p=i(20572),l=i(4804),b=i(11439),f=i(44192),R=i(8130);let w=(()=>{class F{constructor(P,E,k,ne,Z,Y,se,U,pe,te,ge,me,Pe,be,we){this.authService=P,this.pageService=E,this.seoService=k,this.http=ne,this.router=Z,this.meta=Y,this.linkService=se,this.SEOLinkService=U,this.commonService=pe,this.modalService=te,this.globalDataService=ge,this.store=me,this.warrantySpecsService=Pe,this.document=be,this.appSelectorStore=we,this.pageConfig=(0,d.EW)(()=>this.pageService.configSignal()),this.showChooseProduct=!1,this.destroySubject$=new J.B,this.isSolutionPageVisitedObj=new de.t({pageVisited:!1}),this.userState=(0,d.EW)(()=>this.authService.isUserLoggedIn()?oe.rZ.SIGNED_IN:oe.rZ.GUEST),this.isTemplateNameUpdated=!1,this.currentRoute=this.router.url,this.router.events.subscribe(ye=>{ye instanceof ae.wF&&(this.previousRoute=this.currentRoute,this.currentRoute=ye.url)}),this.getrelevanceDifferenceSSC()}ngOnDestroy(){this.destroySubject$.next(!0)}getInfoIfSolutionPageVisited(){return this.isSolutionPageVisitedObj.asObservable()}updateGdl(){const P={Template:this.pageConfig().templateName};this.globalDataService.updateGDL(P)}getPreviousRoute(){return this.previousRoute}getSeoLinkData(){const P={template:"Contact_Landing",path:this.commonService.getPathFromRoute(),seriesoid:0,modeloid:0};this.SEOLinkService.getSeoLinkData(P)}getAssistedSupportOriginSuffix(P){if(this.isTemplateNameUpdated)return"";if(this.commonService.safeParseJSON(sessionStorage.getItem("supportOptionsOriginIdConfig"))?.addTemplateNameSuffix&&P&&this.assistedSupportOptionsConfig){const k=this.assistedSupportOptionsConfig[P]?.templateNameSuffix?.trim();return this.isTemplateNameUpdated=!0,k?`-${k}`:""}return""}getAllServices(){return new e.c(P=>{this.commonService.hpDotComCcLcMappingSub.pipe((0,h.$)(E=>!(0,L.A)(E))).subscribe(E=>{let k=E[`${this.pageConfig().cc}/${this.pageConfig().lc}`];void 0===E[`${this.pageConfig().cc}/${this.pageConfig().lc}`]&&(k=`${this.pageConfig().cc}/${this.pageConfig().lc}`),this.http.get(`/wcc-services/cms-v2/${this.pageConfig().locale}
1/wcc_uc_services`).pipe((0,h.$)()).subscribe(ne=>{if(ne&&ne.data){const Z=(0,r.A)(ne.data,Y=>(Y.link&&(Y.isRedirect="Tile2_HP+"!==Y.elementId,Y.link=Y.link.replace("{cc}-{lc}",this.pageConfig().locale)),Y.link2&&(Y.link2=Y.link2.replace("{cc}/{lc}",k)),Y));P.next(Z),P.complete()}else P.next([]),P.complete()})})})}getOtherServices(){return this.http.get(`/wcc-services/prodcategory/product/${this.pageConfig().locale}`).pipe((0,H.T)(P=>{if(P&&P.data&&P.data){const E=(0,r.A)(P.data,(k,ne)=>({name:k,id:ne}));return E.sort((k,ne)=>k.name.localeCompare(ne.name)),E}}))}getAppServiceVersion(P){let E=new G.Lr;return E=E.append("skipLoadingScreen","true"),this.http.get(`wcc-services/productdata/version/${this.pageConfig().locale}?seriesid=${P}`,{headers:E}).pipe((0,H.T)(k=>{if(k&&k.data){const ne=k.data;return k.data.modelList&&(ne.modelList=(0,r.A)(k.data.modelList,Z=>{const Y=Z.redirectUrl.startsWith("/")?"":"/";return{name:Z.modelName,id:Z.modelNameOid,redirectUrl:`/${this.pageConfig().locale}${Y}${Z.redirectUrl}`}}),ne.modelList.sort((Z,Y)=>Z.name.localeCompare(Y.name))),ne}}))}getContactTooltip(P,E){const k=`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_contacttooltip`;let ne=new G.Nl;return ne=ne.append("originID",this.pageConfig().originId),ne=ne.append("userState",P),E&&(ne=ne.append("deviceSubscription",E)),this.http.get(k,{params:ne}).pipe((0,H.T)(Z=>Z.data))}getProductTypes(){let P=`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_products`,E=new G.Nl;return E=E.append("originID",this.pageConfig().originId),E=E.append("os",this.commonService.getOsTmsId()),this.http.get(P,{params:E}).pipe((0,H.T)(k=>k.data))}getPageTemplate(P,E,k){let ne=`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_pagetemplate`,Z=new G.Nl,Y=new G.Lr;return Z=Z.append("pageTemplate",P),k&&Object.keys(k).forEach(se=>{Z=Z.append(se,k[se])}),Y=E?Y.append("skipLoadingScreen","true"):Y,this.http.get(ne,{params:Z,headers:Y}).pipe((0,H.T)(se=>se?.data?.[0]))}getTriageDetails(P){const E=this.warrantySpecsService.getSingleDevice(P),k=E?.productSpecs||{},ne=E?.warranty||{},Z=(0,L.A)(k);let Y=ne?.warrantyState||ne?.state,se=k?.serialNumber||ne?.serialNumber;if(!Z){let U=k?.productSeriesOid,pe=k?.productNameOid,te=ne?.altProductNumber||k?.productNumber,ge=k?.productSeriesSEOName,me=E?.warranty?.productLineCode||E?.productSpecs?.productLineCode;this.checkTriageIsOn(this.userState(),Y,this.checkDeviceSubscription(P),U,!0,me).pipe((0,W.Q)(this.destroySubject$)).subscribe(Pe=>{if(Pe){const be=this.getDeviceType(k.prodCategory);this.commonService.updateContactProductContext({sku:te,serialNumber:se,seriesName:ge,seriesOid:U,modelOid:pe}),this.router.navigate([`/${this.pageConfig().locale}/contact/help/${be}`],{state:{title:be,type:be,context:!0}})}else{let be=ge;const ye={sku:te?.split("#")?.shift(),serialnumber:se};"callme"==this.pageConfig().originId&&(ye.originid="callme");const Fe=this.pageConfig().queryParams?.originid||"";if(typeof sessionStorage<"u"){const Ee=this.commonService.safeParseJSON(sessionStorage.getItem("supportOptionsOriginIdConfig"));sessionStorage?.setItem("supportOptionsOriginIdConfig",JSON.stringify({originId:Fe,addTemplateNameSuffix:Ee?.addTemplateNameSuffix}))}this.router.navigate([`/${this.pageConfig().locale}/contact/product/${be}/${U}/model/${pe}`],{queryParams:ye})}})}}gotoContactOptions(P,E){if(typeof window<"u"&&P)if(["ContactHP-Printer-Entitlement","ContactHP-Laptop-Entitlement","ContactHP-Poly-Entitlement","ContactHP-Poly-ProdEntitlement","ContactHP-Desktop-Entitlement","ContactHP-Others-Entitlement"].includes(this.pageService.config.templateName)){let ne=P.seoFriendlyName||P.SEOFriendlyName;const Y={sku:P?.altProductNumber?.split("#")?.shift()||P?.productNumber?.split("#")?.shift(),serialnumber:P.serialNumber},se={deviceId:E,deviceData:P};"callme"==this.pageConfig().originId&&(Y.originid="callme"),this.router.navigate([`/${this.pageConfig().locale}/contact/product/${ne}/${P.productSeriesOID}/model/${P.productNameOID}`],{queryParams:Y,state:se})}else{let ne={serialNumber:P.serialNumber,sku:P?.altProductNumber?.split("#")?.shift()||P?.productNumber?.split("#")?.shift(),seriesName:P.seoFriendlyName||P.SEOFriendlyName,seriesOid:P?.productSeriesOID,modelOid:P?.productNameOID,displayProductNumber:P?.productNumber?.split("#")?.shift()};this.warrantySpecsService.getWarrantySpecsData(ne).subscribe(Z=>{this.getTriageDetails(Z)})}}checkDeviceSubscription(P){const E=this.warrantySpecsService.getSingleDevice(P),k=E?.warranty,ne=E?.productSpecs;let Z=[];return"5"===k?.warrantyType&&k?.subscriptions?.length&&k?.subscriptions[0]?.entities?.length>0&&(Z.push("allinplan"),k.subscriptions.forEach(Y=>
1{Y?.entities.forEach(se=>{se.name&&Z.push(se.name)})})),k?.instInkSubscribed&&Z.push("instInk"),(k?.hpPlusEnrolled||ne?.hpPlusEligible)&&Z.push("hpplus"),(0,o.A)(Z).toString()}gotoContactOptionsWithUrl(P){const E=new URL(P,this.pageConfig().domain),k={};new URLSearchParams(E.searchParams)?.forEach((ne,Z)=>{k[Z]=ne}),this.modalService.dismissAll(),this.router.navigate([`/${E.pathname}`],{queryParams:k})}getProductData(P){return new e.c(E=>{(Z=>{this.warrantySpecsService.getWarrantySpecsData({serialNumber:Z.serialNumber,sku:Z.sku,seriesOid:Z.seriesOid,modelOid:Z.modelOid,displayProductNumber:Z.displayProductNumber}).subscribe(se=>{(Z=>{E.next(Z),E.complete()})(se)})})(P)})}updateMetaInfo(P){this.pageService.getCurrentCountry().subscribe(Z=>{this.seoService.setTitle(`${P["#pps_WCC_FS_UCE_Page_Seo_Title"]} - ${Z.countryName} ${P["#pps_WCC_FS_UCE_Page_Seo_Title_2"]}`)});let k=`https://support.hp.com/${this.pageConfig().cc}-${this.pageConfig().lc}/contact`;"/contact"!==this.commonService.getPathFromRoute()&&"callme"!==this.pageConfig().originId&&"messaging"!==this.pageConfig().originId&&this.seoService.updateMetaTagIndex("noindex, nofollow"),this.linkService.updateTag({rel:"canonical",href:this.commonService.getSanitizedUrl(k)}),this.meta.updateTag({name:"description",content:P["#pps_WCC_FS_UCE_Page_Seo_Description"]}),this.meta.updateTag({name:"keywords",content:P["#pps_WCC_FS_UCE_Page_Seo_Meta_Keywords"]})}isRetiredProduct(P){return this.getProductData(P).pipe((0,H.T)(E=>{const ne=this.warrantySpecsService.getSingleDevice(E)?.productSpecs;if(E)return ne?.seriesLevelHistorical||ne?.modelLevelHistorical?{isRetiredProduct:!0}:{isRetiredProduct:!1}}))}optionSelector(P){let E,k;const Z=se=>{this.gotoContactOptionsWithUrl(se)};P.item?(E=P?.item?.btoFlag?P?.item?.productname:P?.item?.name,k=P.item.productId):P&&(E=P?.btoFlag?P?.productname:P?.name,k=P.productId);const Y=(()=>{let se,U=!1;return"pm_number_value"===P.pmClass||"pm_name_value"===P.pmClass?se=P?.btoFlag&&P?.pmNumberOid?`/${this.pageConfig().locale}/contact/product/${P.seoFriendlyName}/${P.pmSeriesOid}/model/${P.pmNameOid}?sku=${P.productname}`:!P?.btoFlag&&P?.pmNumberOid?`/${this.pageConfig().locale}/contact/product/${P.seoFriendlyName}/${P.pmSeriesOid}/model/${P.pmNameOid}?sku=${P.name}`:`/${this.pageConfig().locale}/contact/product/${P.seoFriendlyName}/${P.pmSeriesOid}/model/${P.pmNameOid}`:(U=!0,se=`${P.seoFriendlyName}/${P.pmSeriesOid}`),{redirectionUrl:se,nonSerialized:U}})();if(Y.nonSerialized){const se=()=>{this.getAppServiceVersion(P.pmSeriesOid).pipe((0,W.Q)(this.destroySubject$)).subscribe(pe=>{if(pe){let te;te=pe.modelList&&pe.modelList.length>1?`/${this.pageConfig().locale}/contact/services-version/${P.seoFriendlyName}/${P.pmSeriesOid}`:`/${this.pageConfig().locale}/contact/product/${P.seoFriendlyName}/${P.pmSeriesOid}`,Z(te)}})};this.getProductData({seriesOid:P.pmSeriesOid}).pipe((0,W.Q)(this.destroySubject$)).subscribe(pe=>{const ge=this.warrantySpecsService.getSingleDevice(pe)?.productSpecs;(0,L.A)(pe)||"others"===ge?.prodCategory||pe?.error?se():Z(`/${this.pageConfig().locale}/contact/product/${P.seoFriendlyName}/${P.pmSeriesOid}`)})}else Z(Y.redirectionUrl)}getKassUrl(P){this.store.select(z.FM).pipe((0,h.$)(E=>!(0,L.A)(E))).subscribe(E=>{this.kaashrefUrl="/typeahead";const k=E.KAAS_BIASVAL_VAL,ne=E.FALCON_SEARCH_PRINTERSETUP_FILTER||"";if("en"===this.pageConfig().lc){if(E.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL){const Z=this.pageConfig().lc;let Y=E.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL;Y=Y.replace("<text>",encodeURIComponent(P)),Y=Y.replace("<LANG>",Z),Y=Y.replace("<BIASVAL>",k),Y=Y.replace("<PAGE_FILTER_1>",ne),this.kaashrefUrl=this.kaashrefUrl+Y}}else if("zh"!==this.pageConfig().lc||"hk"!==this.pageConfig().cc&&"tw"!==this.pageConfig().cc&&"cn"!==this.pageConfig().cc){if("zh"!==this.pageConfig().lc&&"en"!==this.pageConfig().lc&&E.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL){const Z=this.pageConfig().lc;let Y=E.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL;Y=Y.replace("<text>",encodeURIComponent(P)),Y=Y.replace("<LANG>",Z),Y=Y.replace("<BIASVAL>",k),Y=Y.replace("<PAGE_FILTER_1>",ne),this.kaashrefUrl=this.kaashrefUrl+Y}}else if(E.FALCON_KAAS_TYPEAHEAD_CHINESE_URL){const Z=this.pageConfig().lc+this.pageConfig().cc;let Y=E.FALCON_KAAS_TYPEAHEAD_CHINESE_URL;Y=Y.replace("<text>",encodeURIComponent(P)),Y=Y.replace("<LANG>",Z),Y=Y.replace("<BIASVAL>",k),Y=Y.replace("<PAGE_FILTER_1>",ne),this.kaashrefUrl=this.kaashrefUrl+Y}})}getrelevanceDifferenceSSC(){return this.store.select(z.FM).pipe((0,h.$)(P=>!(0,L.A)(P))).subscribe(P=>{this.relevanceDifference=P&&P.KAAS_PRODUCT_RELEVANCE_DIFFERENCE?P.KAAS_PRODUCT_RELEVANCE_DIFFERENCE:10}),this.relevanceDifference}search(P){let E=new G.Lr;this.getKassUrl(P);const k=this.kaashrefUrl;return E=E.append("skipLoadingScreen","true"),""===P||P.length<2?(0,ce.of)([]):this.http.get(k,{headers:E}).pipe((0,H.T)(ne=>{if(ne){const Z=ne.matches[0].matchScore,se=this.commonService.filterTypeaheadData(ne.matches,Z-Z*this.relevanceDifference/100),U=[];return(0,m.A)(se,function(pe){(0,m.A)(se,function(te){const ge=te.shortestNavigationPath.split("|").join();te.productId!==pe.productId&&(0,c.A)(ge,pe.productId)&&U.push(te.productId)})}),this.matchedResponse=(0,y.A)(se,pe=>!(0,c.A)(U,pe.productId)),(0,_.A)(this.matchedResponse,6)}}))}getCountryLangData(){return this.appSelectorStore.getTranslatedCountryList(!0)}getSymtomDescriptionList(){let P=new G.Lr;return P=P.append("skipLoadingScreen","true"),this.http.get(`wcc-services/cms-v2/${this.pageConfig().locale}/wcc_poly_rma`,{headers:P}).pipe((0,H.T)(E=>E?.data))}getContactOptions(P){let E=new G.Lr;return E=E.append("skipLoadingScreen","true"),this.http.post("wcc-services/contact/ccls",P,{headers:E})}getSupportResource(P="guest",E,k,ne,Z){let Y=`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_support_resources`,se=new G.Nl,U=new G.Lr;return se=se.append("originID",this.pageConfig().originId||null),se=se.append("os",this.commonService.getOsTmsId()||null),se=se.append("userState",P||null),se=se.append("deviceSubscription",k||null),se=se.append("warranty",E||null),se=se.append("topicTmsId",ne||null),se=se.append("oid",Z||""),U=U.append("skipLoadingScreen","true"),this.http.get(Y,{params:se,headers:U}).pipe((0,H.T)(pe=>pe?.data))}getUCBenefit(){let P=`/wcc-services/cms-v2/${this.pageConfig().locale}/wcc_uc_benefits`;return this.http.get(P).pipe((0,H.T)(E=>E?.data?.[0]))}detectDeviceType(){return this.pageConfig().isMobile||this.pageConfig().isTablet?"mobile":"web"}checkTriageIsOn(P,E,k,ne,Z,Y){let se=`/wcc-services/contact/${this.pageConfig().locale}/triageFlow`,U=new G.Nl,pe=new G.Lr;return U=U.append("originID",this.pageConfig().originId||null),U=U.append("os",this.commonService.getOsTmsId()||null),U=U.append("userState",P||"guest"),U=U.append("deviceSubscription",k||null),U=U.append("warranty",E||null),U=U.append("device",this.detectDeviceType()||null),U=U.append("oid",ne||null),U=U.append("withSN",Z||!1),U=U.append("pl",Y||""),this.http.get(se,{params:U,headers:pe}).pipe((0,H.T)(te=>te?.data?.triageFlow))}
1getContactIntent(P,E,k,ne,Z,Y){let se=`/wcc-services/contact/${this.pageConfig().locale}/intents?type=${E}`,U=new G.Nl,pe=new G.Lr;return this.sessionData=JSON.parse(localStorage.getItem("sessionData")),U=U.append("userState",P||null),U=U.append("os",this.sessionData?.osInfo?.osPlatform||null),U=U.append("oid",k||null),U=U.append("deviceSubscription",Z||null),U=U.append("device",this.detectDeviceType()||null),U=U.append("warranty",ne||null),U=U.append("productLineCode",Y||null),this.http.get(se,{params:U,headers:pe}).pipe((0,H.T)(te=>te.data))}loadGoogleCaptchaScript(P,E,k){if(void 0!==typeof this.document){const ne=this.document.getElementById("reCaptchaScript");if(ne)return ne;const Z="cn"!==this.pageConfig().cc?`${E}?render=${P}`:`${k}?render=${P}`,Y=document.createElement("script");return Y.type="text/javascript",Y.src=Z,Y.async=!0,Y.defer=!0,Y.id="reCaptchaScript",document.head.appendChild(Y),Y}}enableModelEntry(P){const E=location?.pathname?.split("/")?.pop(),k="yes"===P?.SLNO_REQUIRED_CONTACT?.toLowerCase();let ne=sessionStorage?.getItem("productData")&&JSON.parse(sessionStorage?.getItem("productData"));const Z=this.warrantySpecsService.getSingleDevice(ne)?.productSpecs;if(ne&&!k){const Y=P?.SLNO_NOTREQUIRED_AUDIENCE_CONTACT?.toLowerCase();return("both"===Y||Y?.includes(Z?.seriesLevelAudienceFlag?.toLowerCase()))&&Z?.productSeriesOid&&(Z?.seriesContext||Z?.modelContext)&&oe.D5.modelDropdownEnabledRoutes.includes(E)}return!1}addProductContext(P,E){if(!P||!E)return P;const k=new URL(`${E?.seriesName}/${E?.seriesOid}/model/${E?.modelOid}`,this.pageConfig().domain);return E?.sku&&k.searchParams.append("sku",E?.sku),E?.serialNumber&&k.searchParams.append("serialnumber",E?.serialNumber),P.replace(/\/{product-context}/g,`${k?.pathname+k?.search}`)}getDeviceType(P){if(P&&P.length>0)switch(P){case"printer":return"printer";case"laptop":return"laptop";case"desktop":case"pc":return"desktop";case"poly":return"poly";default:return"product"}}getStatesLangData(){let P=new G.Lr;return P=P.append("skipLoadingScreen","true"),this.http.get("/wcc-assets/content/dam/hp-wcc/libs/docs/PolyContactStateDropDown.json",{headers:P})}getEligibilityData(P){return this.http.post("/wcc-services/methone/repair-eligibility",P)}static{this.\u0275fac=function(E){return new(E||F)(x.KVO(B.u),x.KVO(q.b),x.KVO(S.F),x.KVO(I.k),x.KVO(ae.Ix),x.KVO(C.W8),x.KVO(T._),x.KVO(g.a),x.KVO(u.h),x.KVO(p.Bq),x.KVO(l.a),x.KVO(b.il),x.KVO(f.a),x.KVO(x.qQL),x.KVO(R.q))}}static{this.\u0275prov=x.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})()},30826(fe,re,i){i.d(re,{n:()=>I});var x=i(86763),d=i(43942),h=i(84205),H=i(75797),W=i(61873),y=i(2435),m=i(70271),c=i(33900),L=i(63855),r=i(97965),_=i(93551),o=i(23477),G=i(4221),e=i(54041),J=i(85240),de=i(91018),ce=i(47484),ae=i(80436),oe=i(19885),z=i(9922),B=i(60480),q=i(4804),S=i(11439);let I=(()=>{class C{constructor(g,u,p,l,b,f,R,w){this.http=g,this.seoService=u,this.meta=p,this.pageService=l,this.SEOLinkService=b,this.commonService=f,this.globalDataService=R,this.store=w,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.searchResultBehaviourSubject=new H.t({}),this.error=new H.t({}),this.destroySubject$=new h.B}ngOnDestroy(){this.destroySubject$.next()}getPrinterLandingSSC(){return this.store.dispatch(new G.Ax({})),new d.c(g=>{this.store.select(e.FM).pipe((0,y.$)(u=>!(0,_.A)(u))).subscribe(u=>{let p;const l=this.commonService.isTorontoEnabled(u,"Landing"),b=this.commonService.isMastiffEnabled(u,"PRINTER_LANDING_NEW"),f=b&&u.MASTIFF_SPOS_ENDPOINT_URL||null,R=u.VA_CHAT_BOT_API_GLOBAL_ENABLED??null;l&&(p=this.pageConfig().isMobile?u.TORONTO_BOT_MOBILE_URL:u.TORONTO_BOT_WEB_URL),g.next({success:!0,isTorontoEnabled:l,chatUrl:p,botSwitchEnabled:R,isMastiffEnabled:b,mastiffUrl:f}),g.complete()})})}getPrimaryOptionsData(){const g=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_primaryoptions`;return this.http.get(g).pipe((0,m.T)(u=>{if(u&&u.data){if(1!==u.data.length||!u.data[0].errorCode)return u.data;if("204"===u.data[0].errorCode)return null}}))}getSSCAndPrimaryOptionsData(){const g=[this.getPrinterLandingSSC(),this.getPrimaryOptionsData()];return(0,W.p)(g)}getHeroBannerData(){const g=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_banner`;return this.http.get(g).pipe((0,m.T)(u=>{if(u&&u.data){if(1!==u.data.length||!u.data[0].errorCode)return u.data[0];if("204"===u.data[0].errorCode)return null}}))}getTopicOptionsData(){const g=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_topicoptions`;return this.http.get(g).pipe((0,m.T)(u=>{if(u&&u.data){if(1!==u.data.length||!u.data[0].errorCode){const p=u.data;return p.forEach(l=>{l.moreSupportResources=(0,r.A)(l.moreSupportResources,function(b){return""!=b.linkText}),l.buttonText=l.buttonText.trim()}),p}if("204"===u.data[0].errorCode)return null}}))}getSerchResultData(){return this.searchResultBehaviourSubject.asObservable()}getErrorData(){return this.error.asObservable()}updateGdl(){this.globalDataService.updateGDL({SPOSOffers:{errorCode:""}})}getSeoLinkData(){const g={template:this.pageConfig().templateName,path:this.commonService.getPathFromRoute(),seriesoid:0,modeloid:0};this.SEOLinkService.getSeoLinkData(g)}updateMetaInfo(g){this.seoService.setTitle(g["#pps_WCC_FS_Support_Printer_Landing_Page_Title"]),this.meta.updateTag({name:"description",content:g["#pps_WCC_FS_Support_Printer_Landing_Page_Meta_Description"]}),this.meta.updateTag({name:"keywords",content:g["#pps_WCC_FS_Support_Printer_Landing_Page_Meta_Keywords"]})}getSliderData(){return new d.c(g=>{const u=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_carousel`,p={loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1}};let l,b=new L.Lr;b=b.append("skipLoadingScreen","false"),this.http.get(u,{headers:b}).pipe((0,c.Q)(this.destroySubject$)).subscribe(f=>{f&&f.data&&(1===f.data.length&&f.data[0].errorCode?"204"===f.data[0].errorCode&&(l=null,g.next({success:!0,sliderData:l,sliderConfig:p})):(l=f.data,l=(0,o.A)(l,[function(R){return R.order}]),g.next({success:!0,sliderData:l,sliderConfig:p})),g.complete())},f=>{g.next({success:!1}),g.complete()})})}static{this.\u0275fac=function(u){return new(u||C)(J.KVO(de.k),J.KVO(ce.F),J.KVO(ae.W8),J.KVO(oe.b),J.KVO(z.a),J.KVO(B.h),J.KVO(q.a),J.KVO(S.il))}}
1static{this.\u0275prov=J.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},61650(fe,re,i){i.d(re,{S:()=>x});let x={pageName:null,className:"search-results-pfinder",searchResultOrigin:"pdp",title:"#pps_WCC_FS_SearchResult_Page_pfinder_Heading_1",pfinderText:{generalOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_HomeHP_Search_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},printerOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},laptopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},desktopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},otherOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},headsetOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},errorText:{errorText:"#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text",errorProductText:"#pps_WCC_FS_Product_Finder_Product_Name_Error_Text",serialNumberErrorText1:"#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1",serialNumberErrorText2:"#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2",commonErrorText:"#pps_WCC_FS_Product_Finder_Common_Error_Text",commonError:!0},placeHolderProduct:"#pps_WCC_FS_Product_Finder_Product_Placeholder_Text",screenReaderProduct:"#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text"},printerOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},laptopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},desktopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},otherOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},headsetOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},signInSection:{display:!0,signInId:"Sign-in",loggedInLinkID:"Signed-in"},productFinder:{language:null,display:!0,typeAheadDisplay:!0},productSelection:{display:!0,url:null},deviceDetector:{display:!0,url:null,position:"bottom"},addDevice:{display:!1},tooltipSection:[{type:"printer",deviceDetector:{display:!0,position:"bottom"}},{type:"laptop",deviceDetector:{display:!0,position:"top"}},{type:"desktop",deviceDetector:{display:!0,position:"top"}},{type:"other",deviceDetector:{display:!0}},{type:"headset",deviceDetector:{display:!0}}]}},2986(fe,re,i){i.d(re,{Q:()=>I});var x=i(86763),d=i(75797),h=i(84205),H=i(43942),W=i(59452),y=i(33900),m=i(2435),c=i(70271),L=i(61318),r=i(63855),_=i(93551),o=i(26895);class G{encodeKey(T){return encodeURIComponent(T)}encodeValue(T){return encodeURIComponent(T)}decodeKey(T){return decodeURIComponent(T)}decodeValue(T){return decodeURIComponent(T)}}
1var e=i(54041),J=i(85240),de=i(47484),ce=i(19885),ae=i(60480),oe=i(9922),z=i(4804),B=i(91018),q=i(24938),S=i(11439);let I=(()=>{class C{constructor(g,u,p,l,b,f,R,w,F){this.seoService=g,this.pageService=u,this.commonService=p,this.SEOLinkService=l,this.globalDataService=b,this.http=f,this.route=R,this.router=w,this.store=F,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.promotionsResults=new d.t({}),this.videosResultsCount=new d.t(0),this.guidesResultsCount=new d.t(0),this.serviceDownSub=new d.t(!1),this.routeChange=new d.t("./"),this.promotionsChecked=new d.t({checked:!1,isRedirect:!1}),this.getFallbackResults=new h.B,this.navigationDataSub=new d.t({}),this.englishResults={guides:!0,videos:!0,promotions:!0},this.nonEnglishResults={guides:!0,videos:!0,promotions:!0},this.isEnglishFallback=!1,this.counter=0,this.showPromotions=new d.t(!1),this.destroySubject$=new h.B,this.route.queryParams.pipe((0,y.Q)(this.destroySubject$)).subscribe(A=>{this.queryParams=A,this.gdlObj={Search:{Query:this.queryParams.q}},this.globalDataService.updateGDL(this.gdlObj,!0)})}ngOnDestroy(){this.destroySubject$.next()}getSearchPageSSC(g){return new H.c(u=>{this.store.select(e.FM).pipe((0,m.$)(p=>!(0,_.A)(p))).subscribe(p=>{this.chatUrl=this.pageConfig().isMobile?p.TORONTO_BOT_MOBILE_URL:p.TORONTO_BOT_WEB_URL,u.next({success:!0,sscKeys:p}),u.complete()})})}getCommunitiesLink(){return this.http.get(`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_search_noresultlink`).pipe((0,c.T)(g=>{if(g&&g.data&&g.data[0].supportResources&&g.data[0].supportResources[0].link)return g.data[0].supportResources[0].link}))}getNavigationData(){return this.http.get(`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_search_navigation`).pipe((0,c.T)(g=>{if(g&&g.data){const u=(0,o.A)(g.data,["order"],["asc"]);let p=[];u.forEach(b=>{p.push({name:b.linkText,url:b.link,type:b.type,showTab:!1})});const l={tabs:u,dropdown:p};return this.navigationDataSub.next(l),l}}))}getSupportOptions(){const g=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_nosearchresult_support_options`;return this.http.get(g).pipe((0,c.T)(u=>200===u?.code&&u?.data?u.data:[]),(0,L.W)(u=>(0,W.of)([])))}updateMetaInfo(g){this.seoService.setTitle(g["#pps_WCC_FS_SearchResult_Page_Seo_Title"]),this.seoService.updateMetaTagIndex("noindex")}getSeoLinkData(){const g={template:this.pageConfig().templateName,path:this.commonService.getPathFromRoute()};this.SEOLinkService.getSeoLinkData(g)}checkResultsAvailability(){this.counter||(this.noEnglishResults&&(this.noNonEnglishResults||"en"===this.pageConfig().lc)?this.navigateToNoResults():this.checkAllResults()&&(this.isEnglishFallback||"en"===this.pageConfig().lc)?(this.isEnglishFallback=!1,this.getFallbackResults.next(!0)):this.checkAllResults()&&!this.isEnglishFallback&&(this.isEnglishFallback=!0,this.getFallbackResults.next(!0)))}get noEnglishResults(){return!(this.englishResults.guides||this.englishResults.videos||this.englishResults.promotions)}get noNonEnglishResults(){return!(this.nonEnglishResults.guides||this.nonEnglishResults.videos||this.nonEnglishResults.promotions)}get noGuides(){return!(this.nonEnglishResults.guides||this.englishResults.guides)}get noVideos(){return!(this.englishResults.videos||this.nonEnglishResults.videos)}setResultsFlag(g,u){this.isEnglishFallback||"en"===this.pageConfig().lc?this.englishResults[g]=u:this.nonEnglishResults[g]=u}navigateToNoResults(){this.router.navigate([this.commonService.localizeURL("/{cc}-{lc}/search/no-results")],{queryParamsHandling:"preserve"})}getCurrentRoute(){return location.pathname.split("/").pop()}checkAllResults(){return!((this.isEnglishFallback?this.englishResults.videos||this.englishResults.promotions:this.nonEnglishResults.videos||this.nonEnglishResults.promotions)&&"troubleshooting"!==this.getCurrentRoute()||(this.isEnglishFallback?this.englishResults.guides:this.nonEnglishResults.guides)&&"videos"!==this.getCurrentRoute())}resetAllFlags(){this.checkAllResults()||(this.isEnglishFallback=!1)}scrollTo(g){setTimeout(()=>{g?.nativeElement?.scrollIntoView({behavior:"smooth"})},0)}cleanSearchQuery(g){const u=new RegExp(/(&|"|#|'|\{|\(|\[|\||`|\\|^|@|\)|\]|\xb0|=|%|!|:|\/|;|,|\?|~|<|>|\xa7|\u2013|-|\*)+/g);return g=g.replace(u," ").trim(),encodeURIComponent(g)}fetchResults(g,u,p=!1){return new H.c(l=>{this.store.select(e.FM).pipe((0,m.$)(b=>!(0,_.A)(b))).subscribe(b=>{if(b){switch(this.paginationLimit=b.SEARCH_PAGINATION_RESULT_LIMIT&&b.SEARCH_PAGINATION_RESULT_LIMIT,g){case"troubleshooting":this.initialLimit=b.SEARCH_TROUBLESHOOTING_INTENT_RESULT_CONFIG&&b.SEARCH_TROUBLESHOOTING_INTENT_RESULT_CONFIG;break;case"videos_promotions":this.paginationLimit=this.pageConfig().isMobile?b.SEARCH_VIDEO_CONTENT_PAGINATION_RESULT_LIMIT_MOBILE:b.SEARCH_VIDEO_CONTENT_PAGINATION_RESULT_LIMIT,this.initialLimit=b.SEARCH_VIDEO_INTENT_RESULT_CONFIG&&b.SEARCH_VIDEO_INTENT_RESULT_CONFIG}const f=`/wcc-services/search/knowledge/${this.pageConfig().cc}-${this.pageConfig().lc}`;
1let R=new r.Lr,w=new r.Nl({encoder:new G});const A=new URLSearchParams(location.search).get("pname")||"";w=w.append("q",`${A&&A+" "}${this.queryParams.q}`),w=w.append("contentType",g),p&&(R=R.append("skipLoadingScreen","true")),u?(w=w.append("start",((u-1)*this.paginationLimit).toString()),w=w.append("limit",this.paginationLimit)):(w=w.append("start","0"),w=w.append("limit",this.initialLimit)),this.isEnglishFallback&&(w=w.append("fallback","true")),this.counter++,this.http.get(f,{params:w,headers:R}).subscribe(P=>{const E=P.data;switch(g){case"troubleshooting":this.replaceLocale(E),this.guidesResultsCount.next(E.totalcount);break;case"videos_promotions":this.checkForZhVideos(E),this.videosResultsCount.next(+E.videos.totalCount)}this.counter--,this.serviceDownSub.next(!1),l.next(E),l.complete()},P=>{this.counter--,!this.counter&&(500===P.status||400===P.status)&&this.serviceDownSub.next(!0),l.next(null),l.complete()})}})})}checkForZhVideos(g){"cn"===this.pageConfig().cc&&this.isEnglishFallback&&g?.videos?.matches&&(g.videos.totalCount=0,g.videos.matches=[])}replaceLocale(g){g?.documents?.length&&g.documents.forEach(u=>{u.url=this.commonService.localizeURL(u.url)})}static{this.\u0275fac=function(u){return new(u||C)(J.KVO(de.F),J.KVO(ce.b),J.KVO(ae.h),J.KVO(oe.a),J.KVO(z.a),J.KVO(B.k),J.KVO(q.nX),J.KVO(q.Ix),J.KVO(S.il))}}static{this.\u0275prov=J.jDH({token:C,factory:C.\u0275fac})}}return C})()},38180(fe,re,i){i.d(re,{j:()=>oe});var x=i(86763),d=i(63855),h=i(93551),H=i(23477),W=i(43942),y=i(84205),m=i(75797),c=i(2435),L=i(70271),r=i(33900),_=i(4221),o=i(54041),G=i(85240),e=i(19885),J=i(60480),de=i(11439),ce=i(91018),ae=i(24938);let oe=(()=>{class z{constructor(q,S,I,C,T){this.pageService=q,this.commonService=S,this.store=I,this.http=C,this.router=T,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new y.B,this.productTypeSelected$=new m.t(""),this.productTypes={printers:"printer",laptops:"laptop",desktops:"desktop",poly:"headset",products:"other"}}ngOnDestroy(){this.destroySubject$.next()}getSwdLandingSSC(){return this.store.dispatch(new _.Ax({pageName:"swd"})),new W.c(q=>{this.store.select(o.FM).pipe((0,c.$)(S=>!(0,h.A)(S))).subscribe(S=>{let I;const C=this.commonService.isTorontoEnabled(S,"SWD"),T=S.VA_CHAT_BOT_API_GLOBAL_ENABLED??null;C&&(I=this.pageConfig().isMobile?S.TORONTO_BOT_MOBILE_URL:S.TORONTO_BOT_WEB_URL),q.next({success:!0,chatUrl:I,botSwitchEnabled:T,isTorontoEnabled:C})})})}getProductTypes(){const q=`/wcc-services/cms-v2/${this.pageConfig().locale}/wcc_swd_landing_page`;return this.http.get(q).pipe((0,L.T)(S=>S?.data))}getProductTypeIcons(){const q=`/wcc-services/cms-v2/${this.pageConfig().locale}/wcc_swd_pfinder_icons`;return this.http.get(q).pipe((0,L.T)(S=>S?.data))}getSliderData(){return new W.c(q=>{const S=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_swd_product_banner`,I={loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1}};let C,T=new d.Lr;T=T.append("skipLoadingScreen","false"),this.http.get(S,{headers:T}).pipe((0,r.Q)(this.destroySubject$)).subscribe(g=>{g&&g?.data&&(1===g.data.length&&g.data[0].errorCode?"204"===g.data[0].errorCode&&(C=null,q.next({success:!0,sliderData:C,sliderConfig:I})):(C=g.data,C=(0,H.A)(C,[function(u){return u.order}]),q.next({success:!0,sliderData:C,sliderConfig:I})),q.complete())},g=>{q.next({success:!1}),q.complete()})})}setProductTypeSelected(q){this.productTypeSelected$.next(this.productTypes[q])}getProductTypeSelected(){return this.productTypeSelected$.asObservable()}getProductType(q){return this.productTypes[q]??q}getAllProductTypes(){return Object.keys(this.productTypes)}gotoSwdDriversPage(q,S){this.store.select(o.FM).pipe((0,c.$)(I=>!(0,h.A)(I))).subscribe(I=>{if(!(0,h.A)(I)){this.clearSniffingDataFromSession(q);let C=q.seoFriendlyName;const g={sku:q?.altProductNumber?.split("#")?.shift()||q?.productNumber?.split("#")?.shift(),serialnumber:q.serialNumber},u={deviceId:S,deviceData:q};this.router.navigate(q.productNameOID?[`/${this.pageConfig().locale}/drivers/${C}/model/${q.productNameOID}`]:[`/${this.pageConfig().locale}/drivers/${C}/${q.productSeriesOID}`],{queryParams:g,state:u})}})}clearSniffingDataFromSession(q){if(typeof sessionStorage<"u")try{let S=JSON.parse(sessionStorage.getItem("swdOsSniffedDataList"))||[];!(0,h.A)(S)&&S?.length&&(S=S?.filter((I,C)=>!(I?.productOid===q?.productNameOID||I?.productOid===q?.productSeriesOID)),sessionStorage?.setItem("swdOsSniffedDataList",JSON.stringify(S)))}catch{}}getPrinterList(){const q=`/wcc-services/swd-v2/popularPrinters/${this.pageConfig().locale}`;return this.http.get(q).pipe((0,L.T)(S=>S?.data))}static{this.\u0275fac=function(S){return new(S||z)(G.KVO(e.b),G.KVO
1(J.h),G.KVO(de.il),G.KVO(ce.k),G.KVO(ae.Ix))}}static{this.\u0275prov=G.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})()},99016(fe,re,i){i.d(re,{i:()=>C});var x=i(84205),d=i(43942),h=i(77919),H=i(86763),W=i(85240),y=i(2435),m=i(70271),c=i(61318),L=i(34456),r=i(6179);const _={"au-en":"en_AU","bg-en":"en_BG","bg-bg":"bg_BG","ca-en":"en_CA","hr-hr":"hr_HR","hr-en":"en_HR","ee-en":"en_EE","ee-et":"et_EE","emea_africa-en":"en_EMEA_AFRICA","emea_middle_east-en":"en_EMEA_MIDDLE_EAST","id-en":"en_ID","ie-en":"en_IE","in-en":"en_IN","lamerica_nsc_carib-en":"en_LAMERICA_NSC_CARIB","lt-en":"en_LT","lt-lt":"lt_LT","lv-en":"en_LV","lv-lv":"lv_LV","my-en":"en_MY","nz-en":"en_NZ","ph-en":"en_PH","ro-en":"en_RO","ro-ro":"ro_RO","rs-en":"en_RS","rs-sr":"sr_RS","sg-en":"en_SG","si-en":"en_SI","si-sl":"sl_SI","sk-en":"en_SK","sk-sk":"sk_SK","th-en":"en_TH","gb-en":"en_GB","us-en":"en_US","vn-en":"en_VN","za-en":"en_ZA","at-de":"de_AT","be-fr":"fr_BE","fr-fr":"fr_FR","ca-fr":"fr_CA","ch-fr":"fr_CH","emea_africa-fr":"fr_EMEA_AFRICA_FR","be-nl":"nl_BE","nl-nl":"nl_NL","ar-es":"es_AR","bo-es":"es_BO","cl-es":"es_CL","co-es":"es_CO","ec-es":"es_EC","lamerica_nsc_cnt_amer-es":"es_LAMERICA_NSC_CNT_AMER","mx-es":"es_MX","es-es":"es_ES","pe-es":"es_PE","pr-es":"es_PR","py-es":"es_PY","uy-es":"es_UY","ve-es":"es_VE","br-pt":"pt_BR","by-ru":"ru_BY","kz-ru":"ru_KZ","ru-ru":"ru_RU","ua-ru":"ru_UA","ch-de":"de_CH","de-de":"de_DE","cn-zh":"zh_CN","cz-cs":"cs_CZ","dk-da":"da_DK","emea_middle_east-ar":"ar_EMEA_MIDDLE_EAST","fi-fi":"fi_FI","gr-el":"el_GR","hk-zh":"zh_HK","tw-zh":"zh_TW","hu-hu":"hu_HU","il-he":"he_IL","it-it":"it_IT","jp-ja":"ja_JP","kr-ko":"ko_KR","no-no":"nb_NO","pl-pl":"pl_PL","pt-pt":"pt_PT","se-sv":"sv_SE","th-th":"th_TH","tr-tr":"tr_TR"};var o=i(93551),G=i(70739),e=i(63855),J=i(54041),de=i(19885),ce=i(91018),ae=i(24938),oe=i(72990),z=i(35430),B=i(60480),q=i(4804),S=i(11439);let I,C=(()=>{class T{constructor(u,p,l,b,f,R,w,F,A){this.pageService=u,this.http=p,this.router=l,this.browserWrapperService=b,this.location=f,this.commonService=R,this.globalDataService=w,this.store=F,this.document=A,this.pageConfig=(0,H.EW)(()=>this.pageService.configSignal()),this.contactFormMetaData=null,this.destroySubject$=new x.B,this.useTranslatedIntents=!1,this.window=this.document.defaultView}ngOnDestroy(){this.destroySubject$.next()}resetFormSubmissionState(){if(this.pageConfig().isBrowser){const u=this.browserWrapperService.getSessionStorageItem("contactFormMetaData");u&&("FrexRepair"==u.formOrigin||"FrexExchange"==u.formOrigin||(u.formOrigin=null),this.browserWrapperService.setSessionStorageItem("contactFormMetaData",JSON.stringify(u)))}}getContactSSC(){return new d.c(u=>{this.store.select(J.FM).pipe((0,y.$)(p=>!(0,o.A)(p))).subscribe(p=>{const l=[],b=this.commonService.isMastiffEnabled(p,"CONTACT_ClOSURE"),f=p.MASTIFF_SPOS_ENDPOINT_URL??null,R=p?.CONTACT_OS_LIST?this.commonService.safeParseJSON(p?.CONTACT_OS_LIST):{},w=p?.PHONE_WIDGET_JS_END_POINT??"",F=p?.LMI_COMPANY_ID_DB_CONTACT??"",A=p?.LMI_SCRIPT_IMPORT_URL_CONTACT??"",P=p?.RECAPTCHA_SITE_KEY??"",E=p?.CONTACT_FORM_ADD_PRODUCT_TO_DASHBOARD_CHECKBOX??"no",k=p?.RECAPTCHA_SITE_URL??"",ne=p?.RECAPTCHA_SITE_URL_CHINA??"",Z=p?.CONTACT_FORM_CASEID_FIELD_MAXLENGTH?+p?.CONTACT_FORM_CASEID_FIELD_MAXLENGTH:"",Y=p?.CONTACT_CALL_ME_OPTION_DISABLED??"",se=p?.POLY_RMA_FORM_ENABLED_SERVICE_TYPE??"",U="yes"===E,pe=p?.CONTACT_FORM_POLY_NONSERIALIZED_PN_SN||"",te=p?.CONTACT_FORM_TAX_ID_REGEX||"",ge=p?.CONTACT_FORM_TAX_OFFICE_NAME_REGEX||"",me=p?.CONTACT_FORM_CNPJ_REGEX||"",Pe=p?.CONTACT_FORM_CPF_REGEX||"",be=p?.CONTACT_FORM_STATE_INSCRIPTION_REGEX||"",we=p?.CONTACT_ZOOM_API_KEY||"",ye=p?.CONTACT_ZOOM_SDK_URL||"",Fe="true"===p?.CONTACT_ZOOM_ADD_CUSTOM_END_CHAT_BUTTON?.toLowerCase();for(const Ee in R)l.push({name:Ee,id:R[Ee]});u.next({success:!0,isMastiffEnabled:b,mastiffUrl:f,phoneWidgetScript:w,lmiCompanyID:F,lmiScriptURL:A,OSList:l,recaptchaSiteKey:P,isAddToProductChecked:U,recaptchaURL:k,recaptchaURLChina:ne,caseFieldMaxLength:Z,callMeDisabledCCList:Y,polyRmaFormEnabledServiceType:se,contactFormPolyNonSerialP
1nSn:pe,taxId:te,taxOfficeName:ge,cnpj:me,cpf:Pe,stateinscription:be,zoomChatApiKey:we,zoomSdkUrl:ye,addCustomEndChat:Fe}),u.complete()})})}canLoadContactModule(u){return new Promise(l=>{const b=this.browserWrapperService.getSessionStorageItem("contactFormData"),f=this.browserWrapperService.getSessionStorageItem("contactFormMetaData");switch(u){case"form":["messaging","callme","contactOptions"].includes(f?.originId)?l(!0):l(!1);break;case"closure":l(!(b?.submitted&&(!b?.submitted||b?.formType!==r.s0.contactChatOption.formType)));break;default:l(!1)}})}isIssueDescMandatory(){return!(!["none of these or not sure","other"].includes(this.contactFormMetaData?.issueDesc1En?.toLowerCase())&&this.contactFormMetaData?.issueDesc1En)}tooltipToggleSmallScreen(){void 0!==typeof this.document&&this.document?.getElementById("error-tooltip")&&(this.pageConfig().isMobile||this.pageConfig().isTablet||this.pageConfig().isiPhone||this.pageConfig().isiPad)&&this.document?.getElementById("error-tooltip").addEventListener("click",()=>{this.document?.querySelectorAll("#error-code-tooltip").forEach(u=>{u.style.display="block"}),this.document?.querySelectorAll("#bottom-arrow").forEach(u=>{u.style.display="block"})})}renderPhoneWidgetScript(u){const p=this.document.createElement("script");return p.type="module",p.src=u,p.async=!0,p.defer=!0,this.document.body.appendChild(p),p}getPhoneWidgetForCallForm(u){this.pageConfig().isBrowser&&(this.renderPhoneWidgetScript(u).onload=()=>{const p=this.document.getElementById("widget-container"),l=_[this.pageConfig().locale],b=this.document.createElement("myaccount-locale-override");b.setAttribute("locale",l);const f=this.document.createElement("myaccount-phone-widget");p.appendChild(b),p.appendChild(f),this.addAsteriskOnTitle(f)})}addAsteriskOnTitle(u){setTimeout(()=>{const p=u?.shadowRoot;if(p&&!p.querySelector("style#wcc-styles-phone")){const R=this.document.createElement("style");R.id="wcc-styles-phone",R.textContent='\n        p.editing-phone-title,p.empty-state-container-title{\n          font-weight: 600;\n          font-size: 16px;\n        }\n        p.editing-phone-title::after,p.empty-state-container-title::after{\n          content: "*";\n          color: red;\n          margin: 0 5px;\n        }\n      ',p.append(R)}const b=p?.querySelector("compact-view")?.shadowRoot;if(b&&!b.querySelector("style#wcc-styles-compact")){const R=this.document.createElement("style");R.id="wcc-styles-compact",R.textContent='\n        .compact-view-title{\n          font-weight: 600;\n        }\n        .compact-view-title::after{\n          content: "*";\n          color: red;\n          margin: 0 5px;\n        }\n      ',b.append(R)}},1e3)}addUserRelatedControls(u,p,l){const f=this.contactFormMetaData.caseType,R=l&&l.customerId?G.rZ.SIGNED_IN:G.rZ.GUEST,w=this.browserWrapperService.getSessionStorageItem("contactFormData");w?.formData&&(w.formData.userType=R),this.browserWrapperService.setSessionStorageItem("contactFormData",JSON.stringify(w)),u.addControl("email",new L.hs(l.email||null,[L.k0.required])),u.addControl("firstName",new L.hs(l.firstName||null,[L.k0.required])),u.addControl("lastName",new L.hs(l.lastName||null,[L.k0.required])),u.addControl("caseType",new L.hs(f)),u.addControl("userType",new L.hs(R))}addDynamicControls(u,p,l){const b=this.contactFormMetaData.formConfig.formType,f=this.contactFormMetaData.formConfig.chatType,R=b===u.contactMessageOption.formType,w=b===u.contactChatOption.formType;if(this.isRepairExchange=b===u.repairOption.formType||b===u.exchangeOption.formType||b===u.polyExchangeOption.formType,p.patchValue({errorCode:this.contactFormMetaData.errorCode||null}),w||R){let P;if(P="1"===this.contactFormMetaData.hwIntent?"confirm":"deny",R&&p.addControl("sessionId",new L.hs(this.contactFormMetaData.messagingSessionID||null)),R||w&&"OmniChat"===f){const E=R&&this.contactFormMetaData.caseId||null;p.addControl("confirmHardwareHelpOpt",new L.hs(P,[L.k0.required]));const k=`^5\\d{${l.caseFieldMaxLength-1}}$`;p.addControl("caseId",new L.hs(E,[L.k0.maxLength(l.caseFieldMaxLength),L.k0.pattern(k)]))}}switch(this.pageConfig().locale){case"jp-ja":p.addControl("altfirstName",new L.hs("")),p.addControl("altLastName",new L.hs(""));break;
1case"tw-zh":p.addControl("agreeTopersonalDataAct",new L.hs(null,[L.k0.requiredTrue]));break;case"kr-ko":p.addControl("personalDataCollection",new L.hs("")),p.addControl("thirdPartyDataCollection",new L.hs("")),p.addControl("consignmentHandleSel",new L.hs(""))}if(this.isRepairExchange||b===r.s0.noTouchRepairOption.formType){let P=G.dO.includes(this.pageConfig().cc)?this.pageConfig().cc:"";p.addControl("companyName",new L.hs("",[L.k0.maxLength(100)])),p.addControl("streetAddress1",new L.hs("",[L.k0.required,L.k0.minLength(1),L.k0.maxLength(100)])),p.addControl("addressLine2",new L.hs("",[L.k0.maxLength(100)])),p.addControl("cityTown",new L.hs("",[L.k0.required,L.k0.minLength(1),L.k0.maxLength(100)])),p.addControl("stateProvince",new L.hs("",[L.k0.required,L.k0.minLength(1),L.k0.maxLength(100)])),p.addControl("zipcode",new L.hs("",[L.k0.required,L.k0.minLength(1),L.k0.maxLength(100)])),p.addControl("country",new L.hs(P,[L.k0.required])),p.addControl("repairExchangeDataAck",new L.hs(!1,[L.k0.requiredTrue])),this.addCountrySpecificControls(p,l,b)}else(()=>{const P=[];this.isIssueDescMandatory()&&P.push(L.k0.required),p.addControl("additionalDesc",new L.hs("",P))})();b===u.polyExchangeOption.formType&&p.addControl("addressLine3",new L.hs("",[L.k0.maxLength(100)]))}addCountrySpecificControls(u,p,l){if("gr"===this.pageConfig().cc||l===r.s0.noTouchRepairOption.formType&&"pe"===this.pageConfig().cc){const b=[L.k0.pattern(p.taxOfficeName)];"pe"!==this.pageConfig().cc&&b.push(L.k0.required),u.addControl("taxid",new L.hs("",[L.k0.required,L.k0.pattern(p.taxId)])),u.addControl("taxofficename",new L.hs("",b))}else"br"===this.pageConfig().cc&&(u.addControl("business",new L.hs(!1)),this.browserWrapperService.getSessionStorageItem("contactFormData")?.formData?.business?(u.addControl("CNPJ",new L.hs("",[L.k0.required,L.k0.pattern(p.cnpj)])),u.addControl("stateinscription",new L.hs("",[L.k0.required,L.k0.pattern(p.stateinscription)])),u.get("CNPJ").updateValueAndValidity(),u.get("stateinscription").updateValueAndValidity()):(u.addControl("CPF",new L.hs("",[L.k0.required,L.k0.pattern(p.cpf)])),u.get("CPF").updateValueAndValidity()))}updateFormFromSessionData(u,p){let l=u.formData;if(delete l.caseType,u.formType!==this.contactFormMetaData.formConfig.formType)for(const b in l)p.get(b)||delete l[b];p.patchValue(l)}getContactOptionsUrl(){if(typeof window<"u"&&this.contactFormMetaData){const u=this.contactFormMetaData.contactProductContext;return`${window.location.origin}/${this.pageConfig().locale}/contact/product/${u.seriesName}/${u.seriesOid}/model/${u.modelOid}?serialnumber=${u.serialNumber}&sku=${u.productNumber||u.sku}`}}gotoContactOptions(u){const p=this.pageConfig().locale||`${this.pageService.getCcLc("cc")}-${this.pageService.getCcLc("lc")}`;if(typeof window<"u"&&(u||this.contactFormMetaData)){const l=this.browserWrapperService.getSessionStorageItem("isSourcePolyDropdown")||!1;let b=u?.contactProductContext||this.contactFormMetaData.contactProductContext;b=this.commonService.sanitizeUntrustedData(b);const f=this.location.getState();if("FrexRepair"===this.contactFormMetaData?.formConfig?.formType||"FrexExchange"===this.contactFormMetaData?.formConfig?.formType||this.contactFormMetaData?.formEntry?.includes("/contact/diag")){const R=new URL(`/${p}/contact/diag`,window.location?.origin);b?.failureId&&(b?.productNumber||b?.sku)&&(R.searchParams.append("productNo",b.productNumber||b.sku),R.searchParams.append("failureId",b.failureId)),window.location.href=this.commonService.getSanitizedUrl(R.href)}else if("chatForm"===u?.formConfig?.formType&&"OmniChat"===u?.formConfig?.chatType){const R=new URL(`/${p}/contact/product/${b.seriesName}/${b.seriesOid}/model/${b.modelOid}`,window.location?.origin);(b.productNumber||b.sku)&&R.searchParams.append("sku",b.altProductNumber||b.productNumber||b.sku),l&&R.searchParams.append("source","polydropdown"),b.serialNumber&&R.searchParams.append("serialnumber",b.serialNumber),"callme"==this.pageConfig()?.originId&&R.searchParams.append("originid","callme"),window.location.href=this.commonService.getSanitizedUrl(R.href)}else{let R={sku:b.altProductNumber||b.productNumber||b.sku,serialnumber:b.serialNumber,source:l&&"polydropdown",..."callme"==this.pageConfig()?.originId&&{originid:"callme"}};this.router.navigate([`/${p}/contact/product/${b.seriesName}/${b.seriesOid}/model/${b.modelOid}`],{queryParams:R,state:{...f}})}}else this.router.navigate([`/${p}/contact`])}handleError(u){return(0,h.$)(u)}isPhoneWidgetReady(u,p,l){const R=w=>{try{w?.destroy()}catch{}};if(typeof document<"u")if(p)this.callMePhoneNumber=(()=>{let w=u.get("phoneNumber")&&u.get("phoneNumber").value||"";return w.startsWith("+")||(w=`+${w}`),w})(),l(!0);else if(r.s0.contactCallMeOption.formType===this.contactFormMetaData.formConfig.formType)if(this.window.__hpidClasses)try{const w=new this.window.__hpidClasses.ReadOnlyDataStreamer("primary_phone",F=>{F&&F.verified&&F.country_code&&F.national_number?(this.callMePhoneNumber=(+`${F.country_code}${F.national_number}`).toString(),u.patchValue({phoneNumber:this.callMePhoneNumber}),R(w),l(!0)):(R(w),l(!1))})}catch{l(!1)}else l(!1);else l(!0)}submitNoTouchRepairForm(u,p,l=null){const b=p&&p.cid?p.cid:null,f=(0,r.Of)(u,this.pageConfig(),this.contactFormMetaData,p,l,this.useTranslatedIntents);f.notes.description=this.commonService.sanitizeUntrustedData(f?.notes?.description,!0);const R=()=>{this.globalDataService.updateGDL({ContactEntitlementresults:{Contactform:this.contactFormMetaData.formConfig.anr.contactFormName,FormAddProduct:u.get("confirmAddProduct")?.value?"TRUE":"FALSE"}},!0)},w=A=>{if(this.pageConfig().isBrowser){const P=this.browserWrapperService.getSessionStorageItem("contactFormData");P&&(this.contactFormMetaData.formConfig&&(P.closureContentTemplate=this.contactFormMetaData.formConfig.closureContentTemplate),this.browserWrapperService.setSessionStorageItem("contactFormData",JSON.stringify(P)))}};return this.http.post(b?`/wcc-services/methone/case/create/notouch-repair?customerId=${b}`:"/wcc-services/methone/case/create/notouch-repair",f).pipe((0,m.T)(A=>{if(!(0,o.A)(A)){switch(A.code){case 200:A.data&&(R(),w());break;case 403:A.sessionTimedOut=!0;break;case 406:(A.message.includes("Bad data in payload")||A.message.includes("Invalid Payload Data")||A.message.includes("InvalidToken"))&&(A.badDataInPayload=!0),w()}return A}})).pipe((0,c.W)(this.handleError))}submitForm(u,p,l=null){const b=p&&p.cid?p.cid:null,f=(0,r.x$)(u,this.pageConfig(),this.contactFormMetaData,p,l,this.useTranslatedIntents),R=this.contactFormMetaData.formConfig.formType===r.s0.contactCallMeOption.formType;this.contactFormMetaData.formConfig.formType===r.s0.contactCallMeOption.formType&&(f.caseExchange.account.phone=this.callMePhoneNumber);const w=()=>{this.globalDataService.updateGDL({ContactEntitlementresults:{Contactform:this.contactFormMetaData.formConfig.anr.contactFormName,FormAddProduct:u.get("confirmAddProduct").value?"TRUE":"FALSE"}},!0)},F=E=>{if(this.pageConfig().isBrowser){const k=this.browserWrapperService.getSessionStorageItem("contactFormData");k&&(k.cacheToken=E?.data?.cacheToken||null,k.newCaseId="null"!==E?.data?.caseNumber&&E?.data?.caseNumber||null,this.contactFormMetaData.formConfig&&(k.closureContentTemplate=this.contactFormMetaData.formConfig.closureContentTemplate,k.chatType=this.contactFormMetaData.formConfig.chatType,k.chatQueue=this.contactFormMetaData.chatQueue,k.lmiCompanyID=this.contactFormMetaData.lmiCompanyID),E.transactionIdExpired&&(k.transactionIdExpired=!0),this.browserWrapperService.setSessionStorageItem("contactFormData",JSON.stringify(k)))}},A=this.contactformPayload(f);return this.http.post(b?`/wcc-services/methone/case/create/v2?customerId=${b}`:"/wcc-services/methone/case/create/v2",A).pipe((0,m.T)(E=>{if(!(0,o.A)(E)){switch(E.code){case 200:E.data&&(w(),F(E));break;case 403:E.sessionTimedOut=!0;break;
1case 406:R&&E.message.includes("OBS data invalid.")&&(w(),E.transactionIdExpired=!0),E.message.includes("Bad data in payload")&&(E.badDataInPayload=!0),F(E)}return E}})).pipe((0,c.W)(this.handleError))}contactformPayload(u){const p=new FormData;return p.append("cc",this.pageConfig().cc),p.append("lc",this.pageConfig().lc),p.append("captchaToken",u.captchaToken),p.append("sessionId",u.sessionId),p.append("userType",u.userType),p.append("caseType",u.caseType),p.append("obs.transactionId",u.obs.transactionId),p.append("obs.interactionId",u.obs.interactionId),p.append("obs.country",u.obs.country),p.append("obs.firstName",u.obs.firstName),p.append("obs.lastName",u.obs.lastName),p.append("obs.phone",u.obs.phone),p.append("obs.email",u.obs.email),p.append("obs.secondaryEmailAddress",u.obs.secondaryEmailAddress),p.append("caseExchange.incomingChannel",u.caseExchange.incomingChannel),p.append("caseExchange.remoteCaseTroubleshootingSteps",u.caseExchange.remoteCaseTroubleshootingSteps),p.append("caseExchange.errorCodes",u.caseExchange.errorCodes),p.append("caseExchange.intent",u.caseExchange.intent),p.append("caseExchange.chatPbrQueue",u.caseExchange.chatPbrQueue),p.append("caseExchange.hwIntent",u.caseExchange.hwIntent),p.append("caseExchange.subject",u.caseExchange.subject),p.append("caseExchange.description",u.caseExchange.description),p.append("caseExchange.account.accountName",u.caseExchange.account.accountName),p.append("caseExchange.account.phone",u.caseExchange.account.phone),p.append("caseExchange.contacts[0].contactType",u.caseExchange.contacts[0].contactType||""),p.append("caseExchange.contacts[0].firstName",u.caseExchange.contacts[0].firstName||""),p.append("caseExchange.contacts[0].lastName",u.caseExchange.contacts[0].lastName||""),p.append("caseExchange.contacts[0].company",u.caseExchange.contacts[0].company||""),p.append("caseExchange.contacts[0].primaryEmailAddress",u.caseExchange.contacts[0].primaryEmailAddress||""),p.append("caseExchange.contacts[0].address.streetAddress1",u.caseExchange.contacts[0].address.streetAddress1||""),p.append("caseExchange.contacts[0].address.streetAddress2",u.caseExchange.contacts[0].address.streetAddress2||""),p.append("caseExchange.contacts[0].address.city",u.caseExchange.contacts[0].address.city||""),p.append("caseExchange.contacts[0].address.zipCode",u.caseExchange.contacts[0].address.zipCode||""),p.append("caseExchange.contacts[0].address.country",u.caseExchange.contacts[0].address.country||""),p.append("caseExchange.contacts[0].address.stateOrProvince",u.caseExchange.contacts[0].address.stateOrProvince||""),p.append("caseExchange.contacts[0].japanAlternateFirstName",u.caseExchange.contacts[0].japanAlternateFirstName||""),p.append("caseExchange.contacts[0].japanAlternateLastName",u.caseExchange.contacts[0].japanAlternateLastName||""),p.append("caseExchange.contacts[0].phone",u.caseExchange.contacts[0].phone||""),p.append("caseExchange.asset.serialNumber",u.caseExchange.asset.serialNumber),p.append("caseExchange.asset.productNumber",u.caseExchange.asset.productNumber),p.append("caseExchange.notes.notesDescription",u.caseExchange.notes.notesDescription),u.caseExchange.attachments.length&&p.append("caseExchange.attachment",u.caseExchange.attachments),this.contactFormMetaData.formConfig.formType===r.s0.polyExchangeOption.formType&&p.append("caseExchange.contacts[0].address.streetAddress3",u.caseExchange.contacts[0].address.streetAddress3||""),this.isRepairExchange&&"br"===this.pageConfig().cc&&(p.append("caseExchange.contacts[0].cpf",u.regionSpecific?.CPF||""),p.append("caseExchange.contacts[0].stateInscription",u.regionSpecific?.stateInscription||"")),p}loadGoogleCaptchaScript(u,p,l){const b=this.document.getElementById("reCaptchaScript");
1if(b)return b;const f="cn"!==this.pageConfig().cc?`${p}?render=${u}`:`${l}?render=${u}`,R=this.document.createElement("script");return R.type="text/javascript",R.src=f,R.async=!0,R.defer=!0,R.id="reCaptchaScript",this.document.head.appendChild(R),R}getSSCConfig(){this.store.select(J.FM).pipe((0,y.$)(u=>!(0,o.A)(u))).subscribe(u=>{I=u,this.useTranslatedIntents="yes"===I?.CONTACT_USE_TRANSLATED_INTENTS?.toLowerCase()})}showSubscriptionIcon(u,p){return!!I[p]&&"true"===JSON.parse(I[p])[u]}getProductDetails(u,p,l="contact"){const b=`/wcc-services/search/sn/${this.pageConfig().locale}`;let f=(new e.Lr).append("skipLoadingScreen","true");const R=(new e.Nl).set("context",l).set("serialNumber",u).set("productNumber",p||"");return this.http.get(b,{params:R,headers:f}).pipe((0,m.T)(w=>w?.data))}static{this.\u0275fac=function(p){return new(p||T)(W.KVO(de.b),W.KVO(ce.k),W.KVO(ae.Ix),W.KVO(oe.z),W.KVO(z.aZ),W.KVO(B.h),W.KVO(q.a),W.KVO(S.il),W.KVO(W.qQL))}}static{this.\u0275prov=W.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},56012(fe,re,i){i.d(re,{k:()=>S});var x=i(86763),d=i(33900),h=i(84205),H=i(75797),W=i(43942),y=i(18329);let m=[{type:"acceptedStatus",code:200,status:"OK",message:"Success"},{type:"noSearchResults",status:"NO_CONTENT",code:204,message:"No results",data:{searchResults:null}},{type:"noDeviceFound",code:204,status:"NO_CONTENT",message:"Device Not Found"},{type:"productNumberInvalid",code:204,message:"Device not found, PN not matching with SN",status:"NO_CONTENT"},{type:"noDeviceFound",code:204,status:"NO_CONTENT",message:"No Content"},{type:"noDeviceFound",code:406,status:"NOT_ACCEPTABLE",message:"Search Query Invalid Character"},{type:"noDeviceFound",code:406,data:null,message:"Invalid search request",status:"NOT_ACCEPTABLE"},{type:"productNumberInvalid",code:406,data:null,message:"The Product Number is invalid. Please verify and try again",status:"NOT_ACCEPTABLE"},{type:"noDeviceFound",code:406,data:null,message:"Bad data in payload",status:"NOT_ACCEPTABLE"},{type:"needProductNumber",code:406,status:"NOT_ACCEPTABLE",message:"Multiple products, need PN"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Kaas service Error"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Error while generating access token"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Verify Device Error"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Action not complete : com.hp.wcc.services.search.exception.SearchServiceException: KaaS Service Error"},{type:"internalServerError",code:400,status:"",message:""},{type:"noDeviceFound",code:204,status:"NO_CONTENT",message:"Something happened..."}];var c=i(85237),L=i(93551),r=i(85139),_=i(63855),o=i(85240),G=i(19885),e=i(24938),J=i(91018),de=i(30826),ce=i(20572),ae=i(9303),oe=i(60480),z=i(60809),B=i(4804),q=i(72608);let S=(()=>{class I{constructor(T,g,u,p,l,b,f,R,w,F){this.pageService=T,this.router=g,this.http=u,this.printerLandingService=p,this.modalService=l,this.windowRef=b,this.commonService=f,this.loadingScreenService=R,this.globalDataLayerService=w,this.searchResultsService=F,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.serviceUnavailable=new H.t({}),this.destroySubject$=new h.B,this.productNumberRequied=new H.t({id:"",value:!1}),this.invalidSearchQuery=new H.t({id:"",value:!1}),this.notValidProductNumber=new H.t({id:"",value:!1}),this.invalidSerialQuery=new H.t({id:"",value:!1}),this.clearProductModel=new H.t(!1),this.window=this.windowRef.nativeWindow}ngOnDestroy(){this.destroySubject$.next(!0)}getServiceUnavialableData(){return this.serviceUnavailable.asObservable()}isProductNumberRequred(){return this.productNumberRequied.asObservable()}isInvalidSearchQuery(){return this.invalidSearchQuery.asObservable()}getInvalidProductMessage(){return this.notValidProductNumber.asObservable()}isInvalidSeaialNumber(){return this.invalidSerialQuery.asObservable()}resetProductModel(){return this.clearProductModel.asObservable()}getDeviceSearchResult(T,g,u,p,l=null){const b=this.commonService.getSanitizedData(T),f=l?this.commonService.getSanitizedData(l):null;return new W.c(R=>{this.searchResultsService.checkSnPnConflict(b,p,f,!1).then(P=>{if(!(0,L.A)(P)&&P&&P.code){const E={PfinderQueryNew:T||"",PfinderQuery:T||""};if(200===P.code||204===P.code){const k=P.data,ne=(P=>200===P?.kaaSResponse?.code&&P?.kaaSResponse?.data?.searchResults?.categories?.length||200===P?.verifyResponse?.code&&P?.verifyResponse?.data)(k);ne||(k&&k?.kaaSResponse?.data?.hasPromotion?(E.PfinderQueryNew=`promotions | ${T}`,E.PfinderQuery=`promotions | ${T}
1`):(E.PfinderQueryNew=`noresults | ${T}`,E.PfinderQuery=`noresults | ${T}`)),l&&(ne?(E.PfinderQueryNew=`${T} + ${l}`,E.PfinderQuery=`${T} + ${l}`):(E.PfinderQueryNew=`noresults | ${T} + ${l}`,E.PfinderQuery=`noresults | ${T} + ${l}`)),406===k?.verifyResponse?.code&&"Multiple products, need PN"==k?.verifyResponse?.message&&(E.PfinderQueryNew=`noresults | multi | ${T}`,E.PfinderQuery=`noresults | multi | ${T}`),this.globalDataLayerService.updateGDL(E,!0)}(P=>{const E=(0,c.A)(P);R.next(E),R.complete()})(P)}},P=>{this.searchCaseSwitch("internalServerError")})})}searchCaseSwitch(T,g=null,u=null,p=null,l=null,b=null,f=""){return{acceptedStatus:()=>{this.getRule(b,u,p,l,g,f)},noSearchResults:()=>{this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:f,value:!0}),this.productNumberRequied.next({id:f,value:!1}),this.clearProductModel.next(!0)},needProductNumber:()=>{this.loadingScreenService.stopLoading(),this.productNumberRequied.next({id:f,value:!0})},noDeviceFound:()=>{this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:f,value:!0}),this.productNumberRequied.next({id:f,value:!1}),this.clearProductModel.next(!0)},productNumberInvalid:()=>{this.loadingScreenService.stopLoading(),this.notValidProductNumber.next({id:f,value:!0}),this.productNumberRequied.next({id:f,value:!1})},internalServerError:()=>{this.loadingScreenService.stopLoading(),this.modalService.open(y.L,{windowClass:"error-modal-container",ariaLabelledBy:"modal-heading",size:"lg"})}}[T]()}setRedirectionRule(T,g,u,p,l,b=""){this.getDeviceSearchResult(T,g,u,p,l).pipe((0,d.Q)(this.destroySubject$)).subscribe(f=>{!(0,L.A)(f)&&f.code&&(0,r.A)(m,R=>{(R.code===f?.data?.kaaSResponse?.code||R.code===f?.data?.verifyResponse?.code)&&(R.message.toLowerCase()===f?.data?.kaaSResponse?.message?.toLowerCase()||R.message.toLowerCase()===f?.data?.verifyResponse?.message?.toLowerCase())&&this.searchCaseSwitch(R.type,p,T,g,u,f,b)})})}
1getRule(T,g,u,p,l,b=""){const f=T?.data?.kaaSResponse,R=T?.data?.verifyResponse;if(f?.data?.searchResults?.categories?.length&&!T?.result?.verifySelected){const w=f?.data?.searchResults?.categories;if(1===w.length){if(w[0].subCategoryList&&0!==w[0].subCategoryList.length){const F=w[0].subCategoryList;if(F.length>1)this.navigateToDeviceSearch(T,g,u,p,l);else if(1===F.length){const A=F[0].productList;A&&A.length>1?this.navigateToDeviceSearch(T,g,u,p,l):A&&1===A.length&&(A[0].historicalWebSupportFlag?(this.commonService.openRetiredProductModal(),this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:b,value:!1}),this.productNumberRequied.next({id:b,value:!1}),this.clearProductModel.next(!0)):this.searchResultRedirection(l,F?.[0]?.productList?.[0]?.targetUrl,u,p))}}}else this.navigateToDeviceSearch(T,g,u,p,l)}else 200===R?.code&&R?.data&&(R?.data?.historicalWebSupportFlag?(typeof sessionStorage<"u"&&sessionStorage?.setItem("historicalProductData",JSON.stringify(R?.data)),this.commonService.openRetiredProductModal(),this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:b,value:!1}),this.productNumberRequied.next({id:b,value:!1}),this.clearProductModel.next(!0)):this.searchResultRedirection(l,R?.data?.targetUrl,u,p))}searchResultRedirection(T,g,u,p){return"printerSetup"===T?(()=>{const b=this.commonService.sanitizeUntrustedData(`/${u}-${p}${g}`,!0);this.router.navigateByUrl(b)})():(()=>{this.window.location.href=this.commonService.sanitizeUntrustedData(`/${u}-${p}${g}`,!0)})()}populateCategoriesData(T){let g=0;return T.forEach(u=>{u.isExpanded=1===T.length,u.totalProducts=0,u.subCategoryList.forEach(p=>{u.totalProducts+=p.productList.length}),g+=u.totalProducts}),{categories:T,totalProducts:g}}navigateToDeviceSearch(T,g,u,p,l){this.printerLandingService.searchResultBehaviourSubject.next(T?.data),this.router.navigate([`${u}-${p}/deviceSearch`],{queryParams:{q:g,origin:l}})}returnDeviceSearchApiData(T,g){return new W.c(u=>{const p=b=>{u.next(b),u.complete()};this.printerLandingService.getSerchResultData().pipe((0,d.Q)(this.destroySubject$)).subscribe(b=>{0!==Object.keys(b).length?(this.serviceUnavailable.next({status:!1}),p(b)):this.getDeviceSearchResult(T,this.pageConfig().cc,this.pageConfig().lc,g).pipe((0,d.Q)(this.destroySubject$)).subscribe(f=>{(0,L.A)(f)||200!==f.code?this.serviceUnavailable.next({status:!0}):(this.serviceUnavailable.next({status:!1}),p(f.data))})})})}getDeviceSearchResultForContact(T,g,u,p,l=null,b=!1){const f=this.commonService.getSanitizedData(T),R=l?this.commonService.getSanitizedData(l):null;return new W.c(w=>{(()=>{this.loadingScreenService.startLoading();let P=new _.Lr;P=P.append("skipLoadingScreen","true");let E=l?`/wcc-services/search/sn/${g}-${u}?serialNumber=${encodeURIComponent(f)}&context=${p}&productNumber=${encodeURIComponent(R||"")}`:`/wcc-services/search/sn/${g}-${u}?serialNumber=${encodeURIComponent(f)}&context=${p}`;this.http.get(E,{headers:b?null:P}).pipe((0,d.Q)(this.destroySubject$)).subscribe(k=>{k&&k.code&&A(k)})})();const A=P=>{w.next(P),w.complete()}})}static{this.\u0275fac=function(g){return new(g||I)(o.KVO(G.b),o.KVO(e.Ix),o.KVO(J.k),o.KVO(de.n),o.KVO(ce.Bq),o.KVO(ae.$),o.KVO(oe.h),o.KVO(z.s),o.KVO(B.a),o.KVO(q.Q))}}static{this.\u0275prov=o.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},8679(fe,re,i){i.d(re,{N:()=>z});var x=i(86763),d=i(43942),h=i(84205),H=i(75797),W=i(61873),y=i(85237),m=i(97965),c=i(93551),L=i(65644),r=i(39422),_=i(61585),o=i(64334),G=i(33900),e=i(85240),J=i(19885),de=i(60480),ce=i(4804),ae=i(60809),oe=i(72926);let z=(()=>{class B{constructor(S,I,C,T,g){this.pageService=S,this.commonService=I,this.globalDataService=C,this.loaderService=T,this.authService=g,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.devicesLimit=20,this.deviceSub=new H.t({}),this.$deviceSub=this.deviceSub.asObservable(),this.destroySubject$=new h.B}ngOnDestroy(){this.destroySubject$.next()}getDeviceData(S,I){const C=I||this.devicesLimit;return new d.c(T=>{this.commonService.getDevicesData({params:{startIndex:S,limit:C}}).pipe((0,G.Q)(this.destroySubject$)).subscribe(g=>{g?.dataLoded?(T.next(g),T.complete()):g?.error&&(T.error(g),T.complete())})})}getAllDevices(){return new d.c(S=>{this.getDeviceData(0).pipe((0,o.s)(1)).subscribe(I=>{let C=(0,y.A)(I),T=(0,r.A)(C,"code","data");const g=C.data.deviceCount;if(C&&403!==C.code&&C.data&&g>this.devicesLimit){const u=Math.ceil(g/this.devicesLimit);let p=C.data.deviceList;this.loaderService.loadingText=this.loadingText;const l=[];for(let b=1;b<u;b++){const R=this.getDeviceData(b*this.devicesLimit,this.devicesLimit).pipe((0,G.Q)(this.destroySubject$));l.push(R)}(0,W.p)(l).subscribe(b=>{b.forEach(f=>{f?.dataLoded&&f?.data?.deviceList&&p.push(...f.data.deviceList)}),T.data.deviceList=p,this.globalDataService.updateGDL({Dashboard:this.populateGDLForDashboard(p
1)}),this.deviceSub.next(T),S.next(T),S.complete()},b=>{S.error(b)})}else this.globalDataService.updateGDL({Dashboard:this.populateGDLForDashboard(T?.data?.deviceList||[])}),this.deviceSub.next(T),S.next(T),S.complete()},I=>{S.error(I)})})}setLoadingText(S){this.loadingText=S}populateGDLForDashboard(S){let I={SubscriptionServices:""};this.authService.userDataSub.pipe((0,G.Q)(this.destroySubject$)).subscribe(g=>{g&&!(0,c.A)(g)&&!0===g.smartFriend&&(I.SubscriptionServices="SmartFriend")}),I.NoOfDevices=S?.length,I.Products=(0,L.A)(S,g=>(0,r.A)(g,"productLine","productNumber","productName","productNameOID","subscriptionServices","deviceId","productSeriesName","productSeriesOID","serialNumber","productType"));let C=(0,m.A)(S,g=>!!g.subscriptionServices),T=(0,L.A)(C,g=>g.subscriptionServices);return T=(0,_.A)(T.join().split(",")),I.SubscriptionServices=I.SubscriptionServices.length?`${T.join()},${I.SubscriptionServices}`:T.join(),I}static{this.\u0275fac=function(I){return new(I||B)(e.KVO(J.b),e.KVO(de.h),e.KVO(ce.a),e.KVO(ae.s),e.KVO(oe.u))}}static{this.\u0275prov=e.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})()},38225(fe,re,i){i.d(re,{S:()=>z});var x=i(86763),d=i(70271),h=i(33900),H=i(43942),W=i(84205),y=i(75797),m=i(93551),c=i(70739),L=i(71183),r=i(18329),_=i(54041),o=i(85240),G=i(9303),e=i(20572),J=i(91018),de=i(11439),ce=i(24938),ae=i(19885),oe=i(4804);let z=(()=>{class B{constructor(S,I,C,T,g,u,p){this.windowRef=S,this.modalService=I,this.http=C,this.store=T,this.router=g,this.pageService=u,this.globalDataLayerService=p,this.waitingModalClose$=new W.B,this.protocolAttempt$=new W.B,this.userCancelled$=new W.B,this.detectionProgress$=new y.t(0),this.destroySubject$=new W.B,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.isDmdr=!1,this.prevTemplateName="",this.displayProgressBar=!1,this.window=this.windowRef.nativeWindow}ngOnDestroy(){this.destroySubject$.next()}onDetectionProgressUpdate(){return this.detectionProgress$.asObservable()}onProtocolUpdate(){return this.protocolAttempt$.asObservable()}showProgress(){return this.displayProgressBar}onModalClose(){this.waitingModalClose$.next(!0)}getModalClose(){return this.waitingModalClose$.asObservable()}checkIfDMDr(){return this.isDmdr}setPrevTemplateName(S){this.prevTemplateName=S}getPrevTemplateName(){return this.prevTemplateName}getDownloadSSFUrlFromSSC(){return new H.c(S=>{this.store.select(_.FM).pipe((0,h.Q)(this.destroySubject$)).subscribe(I=>{S.next({success:!0,downloadSSFUrl:I?.SSF_DOWNLOAD_URL??null,SSFWpdJs:I?.SSF_WPD_JS_END_POINT??null,SSFCommonJs:I?.SSF_COMMON_JS_END_POINT??null})})})}onUserCancelled(){return this.userCancelled$.asObservable()}onDetectBtnClick(S,I,C){this.globalDataLayerService.updateGDL({Flag:{WPDUsed:!0}},!0),this.isDmdr="dmdr"===C;const T={backdrop:"static",keyboard:!1,windowClass:"wpd-waiting-modal"};if(typeof this.window<"u"){this.window.wpdSessionId=null,this.window.GetSessionId=()=>this.window.wpdSessionId;let g=[S||c.D5.SSFCommonJs,I||c.D5.SSFWpdJs];document?.getElementById("ssf-common-js")&&g.shift(),this.loadScript(g).then(()=>{this.modalService.open(L.F,T),this.attachPageEvents(),this.getSession().subscribe(p=>{this.window.wpdSessionId=p;const l=this.isDmdr?"dmdrButton":"hpDetectButton";document.getElementById(l)?.click()},p=>{this.modalService.open(r.L,{windowClass:"error-modal-container",ariaLabelledBy:"modal-heading",size:"lg"})})}).catch(p=>{this.modalService.open(r.L,{windowClass:"error-modal-container",ariaLabelledBy:"modal-heading",size:"lg"})})}}getSession(){return this.http.get("/wcc-services/methone/session").pipe((0,d.T)(I=>I?.data))}attachPageEvents(){if((0,m.A)(this.window?.SSF?.HPWPD))return;const S=c.OE[this.pageConfig().pageName]||this.pageConfig()?.queryParams?.source,I={};S&&(I.source=S),this.window.SSF.HPWPD.PageEvents.OnAttemptProdDetect=(C,T)=>{this.protocolAttempt$.next(C)},this.window.SSF.HPWPD.PageEvents.OnUserCancelled=()=>{this.userCancelled$.next(!0)},this.window.SSF.HPWPD.PageEvents.OnUserAcknowledged=()=>{this.modalService.dismissAll(),this.detectionProgress$.next(0),this.displayProgressBar=!0,this.isDmdr||this.router.navigate([`${this.pageConfig().locale}/product/detect`],{queryParams:I})},this.window.SSF.HPWPD.PageEvents.OnPartialDataReceived=C=>{this.detectionProgress$.next(50)},this.window.SSF.HPWPD.PageEvents.OnProductsDataReceived=C=>{this.detectionProgress$.next(75)},this.window.SSF.HPWPD.PageEvents.OnCompleteDataReceived=C=>{this.detectedData=this.isDmdr?C:C?.filter(T=>T.Active);
1try{sessionStorage?.setItem("detectedData",JSON.stringify(this.detectedData))}catch{}this.detectionProgress$.next(100),!this.isDmdr&&typeof this.detectedData<"u"&&this.detectedData?.length&&(this.globalDataLayerService.updateGDL({Flag:{WPDidentified:!0}},!0),this.router.navigate([`${this.pageConfig().locale}/product/detect/results`],{queryParams:I}))}}getDetectedData(){try{(0,m.A)(this.detectedData)&&typeof sessionStorage<"u"&&(this.detectedData=JSON.parse(sessionStorage.getItem("detectedData")))}catch{}return this.detectedData}navigateToDetectPage(){const S=c.OE[this.pageConfig().pageName]||this.pageConfig()?.queryParams?.source,I={};S&&(I.source=S),this.router.navigate([`${this.pageConfig().locale}/product/detect`],{queryParams:I})}backToManualSelectionPage(){const S=c.OE[this.pageConfig().pageName]||this.pageConfig()?.queryParams?.source;this.router.navigate("swd"===S?[`${this.pageConfig().locale}/drivers`]:"add-device"===S?[`${this.pageConfig().locale}/add-device`]:"contact"===S?[`${this.pageConfig().locale}/contact`]:[`${this.pageConfig().locale}/products`])}loadScript(S){return Promise.all(S.map(I=>new Promise((C,T)=>{if(!I||typeof document>"u")return void T(new Error("Unable to load script"));const g=document?.createElement("script");g.src=I,g.defer=!0,g.onload=()=>C(),g.onerror=()=>T(new Error(`Failed to load script: ${I}`)),document?.body?.appendChild(g)})))}static{this.\u0275fac=function(I){return new(I||B)(o.KVO(G.$),o.KVO(e.Bq),o.KVO(J.k),o.KVO(de.il),o.KVO(ce.Ix),o.KVO(ae.b),o.KVO(oe.a))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})()},52735(fe,re,i){i.d(re,{L:()=>o});var x=i(86763),d=i(93551),h=i(84205),H=i(77919),W=i(61318),y=i(70271),m=i(85240),c=i(19885),L=i(91018),r=i(9303),_=i(60480);let o=(()=>{class G{constructor(J,de,ce,ae){this.pageService=J,this.httpService=de,this.windowRef=ce,this.commonService=ae,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new h.B,this.window=this.windowRef.nativeWindow}getTranslatedDocIds(J){const de={cc:"us",lc:"en",targetCC:this.pageConfig().cc,targetLC:this.pageConfig().lc,docIDs:[J]};return this.httpService.post("/wcc-services/kaas/translateDocuments",de,!0).pipe((0,y.T)(ce=>ce?.code&&ce?.data?.documentIDMap&&!(0,d.A)(ce.data.documentIDMap)&&"object"==typeof ce.data.documentIDMap?ce.data.documentIDMap:"")).pipe((0,W.W)(ce=>(0,H.$)(ce)))}redirectToDocPage(J){const de=J&&J?.supportLink&&J?.supportLink.includes("docID")?J?.supportLink.split("=")[1]:null;this.getTranslatedDocIds(de).subscribe(ce=>{for(const[ae,oe]of Object.entries(ce))if(oe&&typeof this.window<"u"){let z=this.commonService.getSanitizedUrl(`/${this.pageConfig().locale}/document/${oe}`);this.window.open(z,"_blank")}})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(de){return new(de||G)(m.KVO(c.b),m.KVO(L.k),m.KVO(r.$),m.KVO(_.h))}}static{this.\u0275prov=m.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}}return G})()},72433(fe,re,i){i.d(re,{r:()=>g});var x=i(86763),d=i(85240),h=i(63855),H=i(2435),W=i(36647),y=i(70271),m=i(98764),c=i(59452),L=i(43942),r=i(54041),_=i(93551),o=i(20664),G=i(93238),e=i(11439);const de=(0,e.Mz)(u=>u.videosDetailState,u=>u);(0,e.Mz)(u=>Object.keys(u.videosDetailState),u=>u),(0,e.Mz)(u=>u.videosDetailState.loading,u=>u),(0,e.Mz)(u=>u.videosDetailState.error,u=>null!==u),(0,e.Mz)(u=>u.videosDetailState.error,u=>u),(0,e.Mz)(u=>u.videosDetailState.loading,u=>u);var S=i(85237),I=i(19885),C=i(91018),T=i(4804);let g=(()=>{class u{constructor(l,b,f,R,w){this.pageService=l,this.http=b,this.store=f,this.globalDataService=R,this.document=w,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.getBrightcoveConfig().pipe((0,H.$)(F=>!(0,_.A)(F))).subscribe(F=>{setTimeout(()=>{this.loadScripForBrightCove()},100)})}getVideoDetails(l,b=!1){return this.store.select(de).pipe((0,H.$)(),(0,W.n)(f=>{const R=Array.isArray(l)?l:l?.split(",");return this.isDataPresent(R,f?.videosDetail)?(0,c.of)(f?.videosDetail):this.getCollectionIDsInfo(R,b)}))}isDataPresent(l,b){return l.every(f=>b?.[f])}getCollectionIDsInfo(l,b){l=Array.from(new Set(l));let f=new h.Lr;f=f.append("skipLoadingScreen","true");const R=b?"us":this.pageConfig()?.cc,w=b?"en":this.pageConfig()?.lc;return this.http.get(`/wcc-services/content/videoDetails/${R}-${w}?videoIds=${l.join(",")}&udpFlag=true`,{headers:f}).pipe((0,y.T)(F=>F.data),(0,m.M)(F=>{F=F&&Object.keys(F).reduce((A,P)=>(A[P]=F?.[P],A[P].thumbnail=this.getThumbnails(A[P]?.thumbnail,A[P]?.streamingId),A[P].streamingService={name:A[P].streamingService,videourl:A[P].videourl,videoid:A[P].videoId},A[P].brightCoveMetaUrl=this.getMetaUrlForBrightcove(F?.[P].streamingId),A[P].youTubeEmbebedURL=`https://www.youtube-nocookie.com/embed/${F?.[P].streamingId}`,A[P].isBrightcoveVideo=(0,o.Ri)(A[P]),A),{}),this.store.dispatch(new G.lW(F))}))}getThumbnails(l,b){const f=(0,S.A)(o.Ur);l?.forEach(R=>{const[w,F,A,P]=R?.split("|");let E="";const k=w.match(/\/(poster|thumbnail)-[^\/]+\.jpeg/);E=k?k[1]:w.substring(w.lastIndexOf("/")+1,w.lastIndexOf(".")),f[E]=w});for(let R in f)f[R]||(f[R]=l?.[0]?.split("|")?.[0]||`https://img.youtube.com/vi/${b}/mqdefault.jpg`);return f}formatVideos(l){return l?.map(b=>(b.thumbnail=this.getThumbnails(b?.thumbnail,b?.streamingService?.videoid),b)).filter(b=>
1b?.streamingService?.name)}getBrightcoveConfig(){return new L.c(l=>{this.store.select(r.FM).pipe((0,H.$)(b=>!(0,_.A)(b))).subscribe(b=>{this.brightcoveAccountId=b?.BRIGHTCOVE_ACCOUNT_ID||"",this.brightcovePlayerID=b?.BRIGHTCOVE_PLAYER_ID||"",this.brightcovePK=b?.BRIGHTCOVE_POLICY_KEY||"",this.brightcoveMetaUrl=b?.BRIGHTCOVE_PLAYER_URL||"",this.videoAutoScroll=b?.VIDEO_AUTO_SCROLL_ENABLE||"",this.botSwitchEnabled=b?.VA_CHAT_BOT_API_GLOBAL_ENABLED||null,l.next({brightcoveAccountId:this.brightcoveAccountId,brightcovePlayerID:this.brightcovePlayerID,brightcovePK:this.brightcovePK,brightcoveMetaUrl:this.brightcoveMetaUrl,videoAutoScroll:this.videoAutoScroll,botSwitchEnabled:this.botSwitchEnabled}),l.complete()})})}getMetaUrlForBrightcove(l){const b={"{accountId}":this.brightcoveAccountId,"{videoId}":l};return this.brightcoveMetaUrl?.replace(/{accountId}|{videoId}/gi,function(R){return b[R]})}loadScripForBrightCove(){const l=this.document.getElementById("brightcoveScript");l&&l.remove();const b=this.document.createElement("script");return b.type="text/javascript",b.src="https://players.brightcove.net/"+this.brightcoveAccountId+"/"+this.brightcovePlayerID+"_default/index.min.js",b.id="brightcoveScript",this.document.head.appendChild(b),b}updateGDLForVideo(l){this.globalDataService.updateGDL({videosession:`TRUE-${l}`},!0)}static{this.\u0275fac=function(b){return new(b||u)(d.KVO(I.b),d.KVO(C.k),d.KVO(e.il),d.KVO(T.a),d.KVO(d.qQL))}}static{this.\u0275prov=d.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},44192(fe,re,i){i.d(re,{a:()=>p});var x=i(86763),d=i(85240),h=i(84205),H=i(59452),W=i(43942),y=i(93551),m=i(7786),c=i(60190),L=i(24995),r=i(63147);var G=i(39422),e=i(92434),J=i(85237),de=i(2435),ce=i(40406),ae=i(54041),oe=i(22767),z=i(70739),B=i(19885),q=i(60480),S=i(11439),I=i(99016),C=i(60809),T=i(8130),g=i(4804),u=i(24938);let p=(()=>{class l{constructor(f,R,w,F,A,P,E,k,ne){this.pageService=f,this.commonService=R,this.store=w,this.contactFormService=F,this.document=A,this.loadingScreenService=P,this.appSelectorStore=E,this.globalDataService=k,this.router=ne,this.destroySubject$=new h.B,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.warrantyData={},this.hpOneWarratyType=z.Jv,this.window=this.document.defaultView}getWarrantySpecsData(f,R=!0,w=!1){return(0,y.A)(f)?(0,H.of)(null):new W.c(F=>{const A=k=>{F.next(k),this.loadingScreenService.stopLoading(!0),F.complete()},P=()=>{setTimeout(()=>{if(this.window.grecaptcha?.enterprise?.execute)try{this.window.grecaptcha?.enterprise?.ready(()=>{this.loadingScreenService.startLoading(!0),this.window.grecaptcha?.enterprise?.execute(this.recaptchaSiteKey,{action:"submit"}).then(k=>{this.loadingScreenService.stopLoading(!0),this.callSpecsAPI(k,A,R)},()=>{this.loadingScreenService.stopLoading(!0),P()})})}catch{P()}else P()},5)},E=()=>{this.loadingScreenService.startLoading(!0),f&&!Array.isArray(f)&&f.serialNumber&&""!==f.serialNumber||Array.isArray(f)?this.store.select(ae.FM).pipe((0,de.$)(k=>!(0,y.A)(k))).subscribe(k=>{const{RECAPTCHA_SITE_KEY:ne,RECAPTCHA_SITE_URL:Z,RECAPTCHA_SITE_URL_CHINA:Y}=k;this.recaptchaSiteKey=ne||"";const se=Z||"",U=Y||"";this.window?.grecaptcha?.enterprise?.ready?P():this.contactFormService.loadGoogleCaptchaScript(this.recaptchaSiteKey,se,U).onload=()=>{this.window?.grecaptcha?.enterprise?.ready&&P()}}):setTimeout(()=>{this.callSpecsAPI("",A,R)})};if(this.payload={cc:this.pageConfig().cc,lc:this.pageConfig().lc,utcOffset:this.commonService.getUTCOffset(),devices:[],skipSyncCall:w},Array.isArray(f))this.payload.devices=f;else{let k=f?.sku||f.productNumber||null;k="undefined"!=k&&k?k?.toUpperCase():null,this.payload.devices.push({seriesOid:f?.modelOid?null:f?.seriesOid?+f?.seriesOid:null,modelOid:f?.modelOid?+f?.modelOid:null,serialNumber:f?.serialNumber?.toUpperCase()||null,productNumber:k||null,displayProductNumber:f?.displayProductNumber?.split("#")?.shift()?.toUpperCase()||null,countryOfPurchase:this.pageConfig().cc})}this.payload.devices.map(k=>(k.productNumber=this.addRegionalCode(k.productNumber,k.serialNumber),k)),this.store.select(oe.Pf).pipe((0,de.$)()).subscribe(k=>{const ne=!(0,y.A)(k?.warrantySpecsData?.data?.devices?.[0]?.productSpecs),Z=k?.warrantySpecsData?.apiPayload,Y=["modelOid","seriesOid","productNumber","serialNumber","countryOfPurchase"],se=be=>function _(l,b){if(null==l)return{};var f=(0,m.A)((0,r.A)(l),function(R){return[R]});return b=(0,c.A)(b),(0,L.A)(l,f,function(R,w){return b(R,w[0])})}((0,G.A)(be,Y)),U=Z?.devices?.map(se)||[],pe=this.payload?.devices?.map(se)||[],te=Z?.cc===this.payload?.cc&&Z?.lc===this.payload?.lc,ge=(0,e.A)(U,pe),me=(0,e.A)((new Date).toISOString().slice(0,10),k?.warrantySpecsData?.date);ne&&te&&ge&&me?this.handleResponse(k,A,R):E()})})}addRegionalCode(f,R){if(typeof sessionStorage<"u"&&1===f?.split("#")?.length){const w=this.commonService.safeParseJSON(sessionStorage?.getItem("verifyContext"));f=f?.toUpperCase()===w?.sku?.toUpperCase()&&R?.toUpperCase()===w?.serialNumber?.toUpperCase()&&w?.regionCode?`${f}#${w?.regionCode}`:f}return f?.toUpperCase()}loadCaptcha(){return new Promise((f,R)=>{this.appSelectorStore.getSscKey$(["RECAPTCHA_SITE_KEY","RECAPTCHA_SITE_URL","RECAPTCHA_SITE_URL_CHINA"]).subscribe(w=>{const{RECAPTCHA_SITE_KEY:F,RECAPTCHA_SITE_URL:A,RECAPTCHA_SITE_URL_CHINA:P}=w;this.recaptchaSiteKey=F||"";const E=A||"",k=P||"";this.window?.grecaptcha?.enterprise?f(!0):this.contactFormService.loadGoogleCaptchaScript(this.recaptchaSiteKey,E,k).onload=()=>{this.window?.grecaptcha?.enterprise?.ready?f(!0):R()}})})}callSpecsAPI(f,R,w){this.payload.captchaToken=f,this.store.dispatch(new ce.ty(this.payload)),this.store.select(oe.Pf).pipe((0,de.$)(F=>F.dataLoaded&&!F.loading)).subscribe(F=>{this.handleResponse(F,R,w),this.gdlProductUpdate(this.getSingleDevice(F?.warrantySpecsData)?.productSpecs)})}
1handleResponse(f,R,w){if(f?.warrantySpecsData?.error)w&&this.showServiceUnavailable(),R({error:f?.warrantySpecsData?.error});else if((0,y.A)(f.warrantySpecsData?.data?.devices?.[0]?.productSpecs))R(f.warrantySpecsData);else{let F=(0,J.A)(f.warrantySpecsData);const A=F?.data?.devices;this.updateGDL(A?.length&&A?.[0]?.warranty),R(F)}}updateGDL(f){if(f&&f.warrantyType===this.hpOneWarratyType){let w,F,R=f.subscriptions;w=f.supportCode&&""!==f.supportCode?f.supportCode:f.warrantyType===this.hpOneWarratyType?"NA":"",F=R?.length>0&&R[0].bundleType&&""!==R[0].bundleType?R[0].bundleType:f.warrantyType===this.hpOneWarratyType?"NA":"",this.globalDataService.updateGDL({EntitlementResults:{SupportCode:w,BundleType:F,EntResults:f?.state||z.rw,WarrantyType:f?.warrantyType,WarrantyState:f?.state||"",serialNumber:f?.serialNumber||""}},!0)}else this.globalDataService.updateGDL({EntitlementResults:{SupportCode:f?.supportCode||"",BundleType:f?.subscriptions?.[0]?.bundleType||"",EntResults:f?.state||z.rw,WarrantyType:f?.warrantyType||"",WarrantyState:f?.state||"",serialNumber:f?.serialNumber||""}},!0)}gdlProductUpdate(f){const R=z.XY.includes(this.pageConfig().pageName),w=this.commonService.productAccessLevel===z.Mo.MODEL,F=R&&this.commonService.productAccessLevel===z.Mo.SKU,A={supportNameName:(w||F)&&f?.productName||"",supportNameO
1id:(w||F)&&f?.productNameOid||"",serialNumber:F&&f?.serialNumber||"",productModelNumber:F&&f?.productNumberOid||""},P=k=>R?A[k]:f?.[k],E={Product:{bigSeriesName:"",bigSeriesOid:f?.productBigSeriesOid,supportCategoryName:f?.productType,supportCategoryOid:f?.supportSubcategoryOid,seriesName:f?.productSeriesSEOName,seriesOid:f?.productSeriesOid,productLineCode:f?.productLineCode,supportNameName:P("supportNameName"),supportNameOid:P("supportNameOid"),platformId:f?.productPlatform,webReleaseDate:this.commonService.getFormattedWebReleaseDate(f?.webReleaseDate||f?.webFirstPublishingDate),serialNumber:P("serialNumber"),productModelNumber:P("productModelNumber"),audienceType:f?.seriesLevelAudienceFlag,historicalWebSupportFlag:f?.historicalWebSupportFlag,productNumber:f?.productNumber,seriesLevelAudienceFlag:f?.seriesLevelAudienceFlag,hpPlusEligible:f?.hpPlusEligible,hpPlusSkuType:f?.hpPlusSkuType}};this.globalDataService.updateGDL(E,!0)}getSingleDevice(f){return f?.data?.devices?.[0]||{}}showServiceUnavailable(){this.loadingScreenService.stopLoading(),this.router.navigate([`${this.pageConfig().cc}-${this.pageConfig().lc}/service-unavailable`],{skipLocationChange:!0})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(R){return new(R||l)(d.KVO(B.b),d.KVO(q.h),d.KVO(S.il),d.KVO(I.i),d.KVO(d.qQL),d.KVO(C.s),d.KVO(T.q),d.KVO(g.a),d.KVO(u.Ix))}}static{this.\u0275prov=d.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})()},89638(fe,re,i){i.d(re,{W:()=>q});var x=i(86763),d=i(63855),h=i(59452),H=i(2435),W=i(70271),y=i(84205),m=i(97965),c=i(85139),L=i(78767),r=i(93551),_=i(75507),o=i(54041),G=i(85240),e=i(12481),J=i(19885),de=i(60480),ce=i(91018),ae=i(60809),oe=i(11439),z=i(4804);let q=(()=>{class S{constructor(C,T,g,u,p,l,b){this.pageService=C,this.commonService=T,this.elem=g,this.http=u,this.loadingScreenService=p,this.store=l,this.globalDataLayerService=b,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new y.B,this.redirectToSearchResult=(f,R,w=null,F=null,A=null,P=null,E=null,k=null,ne=!1,Z=null)=>{let Y=f.searchQuery;A=f.productVal?f.productVal:A;let U,se=f.pName?f.pName:"";se=encodeURIComponent(se);let pe="";return"comingFromknowledge"===R?(U=ne?`${Z.domain}/${Z.cc}-${Z.lc}/search`:"/"+this.customCC+"-"+this.customLC+"/search",pe="pdp"):U="/"+this.customCC+"-"+this.customLC+"/search","comingFromPFinder"===R?(U="/"+this.customCC+"-"+this.customLC+"/products/identify",pe="pdp"):U=ne?`${Z.domain}/${Z.cc}-${Z.lc}/search`:"/"+this.customCC+"-"+this.customLC+"/search",""===Y&&(Y=this.getParameterByName("q")),null!==w&&typeof w<"u"&&""!==w&&(Y=Y+"+"+w.trim()),Y=encodeURIComponent(Y),U=U+"?q="+Y,null!==A&&typeof A<"u"&&""!==A&&(U=U+"&product="+encodeURIComponent(A),U+="&predict=true"),null!==se&&typeof se<"u"&&""!==se&&(U=U+"&pname="+encodeURIComponent(se)),null!==P&&typeof P<"u"&&""!==P&&(U=U+"&selectedProduct="+encodeURIComponent(P)),null!==F&&typeof F<"u"&&""!==F&&(U=U+"&os="+encodeURIComponent(F)),null!==E&&typeof E<"u"&&""!==E&&(U=U+"&class="+encodeURIComponent(E)),null!==k&&typeof k<"u"&&""!==k&&k&&(U+="&overlay=true"),U},this.getCommonLocalFromSSC(this.pageConfig()),this.commonService.hpDotComCcLcMappingSub.pipe((0,H.$)(f=>!(0,r.A)(f))).subscribe(f=>{if(f){const R=f[`${this.pageConfig().cc}/${this.pageConfig().lc}`];R?(this.dotComCC=R.split("/")[0],this.dotComLC=R.split("/")[1]):(this.dotComCC=this.customCC,this.dotComLC=this.customLC)}}),this.getrelevanceDifferenceSSC()}getrelevanceDifferenceSSC(){return this.store.select(o.FM).pipe((0,H.$)(C=>!(0,r.A)(C))).subscribe(C=>{this.relevanceDifference=C&&C.KAAS_PRODUCT_RELEVANCE_DIFFERENCE?C.KAAS_PRODUCT_RELEVANCE_DIFFERENCE:10}),this.relevanceDifference}getKassUrl(C,T=!1,g,u){const p=T?g:this.pageConfig().cc,l=T?u:this.pageConfig().lc;this.store.select(o.FM).pipe((0,H.$)(b=>!(0,r.A)(b))).subscribe(b=>{this.kaashrefUrl="/typeahead";const f=b.KAAS_BIASVAL_VAL,R=b.FALCON_SEARCH_PRINTERSETUP_FILTER&&b.FALCON_SEARCH_PRINTERSETUP_FILTER?b.FALCON_SEARCH_PRINTERSETUP_FILTER:"";if("en"===l){if(b.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL){const w=this.customLC;let F=b.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL;F=F.replace("<text>",encodeURIComponent(C)),F=F.replace("<LANG>",w),F=F.replace("<BIASVAL>",f),F=F.replace("<PAGE_FILTER_1>",R),this.kaashrefUrl=this.kaashrefUrl+F}}else if("zh"!==l||"hk"!==p&&"tw"!==p&&"cn"!==p){if("zh"!==l&&"en"!==l&&b.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL){const w=this.customLC;let F=b.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL;F=F.replace("<text>",encodeURIComponent(C)),F=F.replace("<LANG>",w),F=F.replace("<BIASVAL>",f),F=F.replace("<PAGE_FILTER_1>",R),this.kaashrefUrl=this.kaashrefUrl+F}}else if(b.FALCON_KAAS_TYPEAHEAD_CHINESE_URL){const w=this.customLC+this.customCC;let F=b.FALCON_KAAS_TYPEAHEAD_CHINESE_URL;F=F.replace("<text>",encodeURIComponent(C)),F=F.replace("<LANG>",w),F=F.replace("<BIASVAL>",f),F=F.replace("<PAGE_FILTER_1>",R),this.kaashrefUrl=this.kaashrefUrl+F}})}search(C,T=!1,g=null,u=null,p=null){let l=new d.Lr;this.getKassUrl(C,T,g,u);let b=this.kaashrefUrl;return T&&(b=`${p}${this.kaashrefUrl?.replace("<text>",C)}`),T||(l=l.append("skipLoadingScreen","true")),""===C||C.length<2?(0,h.of)([]):this.http.get(b,{headers:l}).pipe((0,W.T)(f=>{if(f){const R=f.matches[0].matchScore,F=this.commonService.filterTypeaheadData(f.matches,R-R*this.relevanceDifference/100),A=[];return(0,c.A)(F,function(P){(0,c.A)(F,function(E){const k=E.shortestNavigationPath.split("|").join();E.productId!==P.productId&&(0,L.A)(k,P.productId)&&A.push(E.productId)})}),this.matchedResponse=(0,m.A)(F,P=>!(0,L.A)(A,P.productId)),(0,_.A)(this.matchedResponse,6)}}))}clearPlaceHolder(C){C.target.placeholder=""}restorePlaceHolder(C,T){C.target.placeholder=C.target.value?"":T}clearSearchInput(C){const T=C.target,g=T.parentElement;T.classList.add("hide"),g.querySelector("input").focus()}optionSelector(C,T,g=null,u=!1,p=null){let l,b;C.item?(l=C?.item?.btoFlag?C?.item?.productname:C?.item?.name,b=C?.item?.productId):C&&(l=C?.btoFlag?C?.productname:C?.name,b=C.productId);let R=(()=>{let w;if("comingFromknowledge"===T)if("pm_number_value"===C.pmClass)w=`/hp-pps-services/hub/navigation?h_client=s-a-r11839-1&h_product=${b}&h_lang=${this.dotComLC}&h_cc=${this.dotComCC}&h_pagetype=s-001&sku=${l}`;else{const F=`search?q=${l}&product=${b}&predict=true`;w=u?`${p}/${F}`:`/${this.customCC}-${this.customLC}/${F}`}else"comingFromPFinder"===T?w=g.searchPromotionPfinderObj?"NA"!==g.searchPromotionPfinderObj.routeTab&&g.searchPromotionPfinderObj.routeTab?"pm_number_value"===C.pmClass||"pm_name_value"===C.pmClass?C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/${g.searchPromotionPfinderObj.routeBase}/${C.seoFriendlyName}/${C.pmSeriesOid}/model/${C.pmNameOid}?sku=${C.productname}`:!C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/${g.searchPromotionPfinderObj.routeBase}/${C.seoFriendlyName}/${C.pmSeriesOid}/model/${C.pmNameOid}?sku=${C.name}`:`/${this.customCC}-${this.customLC}${g.searchPromotionPfinderObj.routeBase}${C.seoFriendlyName}/${C.pmSeriesOid}/model/${C.pmNameOid}/${g.searchPromotionPfinderObj.routeTab}`:`/${this.customCC}-${this.customLC}${g.searchPromotionPfinderObj.routeBase}${C.seoFriendlyName}/${C.pmSeriesOid}/${g.searchPromotionPfinderObj.routeTab}`:"pm_number_value"===C.pmClass||"pm_name_value"===C.pmClass?C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/${g.searchPromotionPfinderObj.routeBase}/${C.seoFriendlyName}/${C.pmSeriesOid}/model/${C.pmNameOid}?sku=${C.productname}`:!C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/${g.searchPromotionPfinderObj.routeBase}/${C.seoFriendlyName}/${C.pmSeriesOid}/model/${C.pmNameOid}?sku=${C.name}`:`/${this.customCC}-${this.customLC}${g.searchPromotionPfinderObj.routeBase}${C.seoFriendlyName}/${C.pmSeriesOid}/model/${C.pmNameOid}`:`/${this.customCC}-${this.customLC}${g.searchPromotionPfinderObj.routeBase}${C.seoFriendlyName}/${C.pmSeriesOid}`:"pm_number_value"===C.pmClass||"pm_name_value"===C.pmClass?C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/product/troubleshooting/${C.seoFriendlyName}/model/${C.pmNameOid}?sku=${C.productname}`:!C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/product/troubleshooting/${C.seoFriendlyName}/model/${C.pmNameOid}?sku=${C.name}`:`/${this.customCC}-${this.customLC}/product/troubleshooting/${C.seoFriendlyName}/model/${C.pmNameOid}`:`/${this.customCC}-${this.customLC}/product/troubleshooting/${C.seoFriendlyName}/${C.pmSeriesOid}`:"swd"===T&&(w="pm_number_value"===C.pmClass||"pm_name_value"===C.pmClass?C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/drivers/${C.seoFriendlyName}/model/${C.pmNameOid}?sku=${C.productname}`:!C?.btoFlag&&C?.pmNumberOid?`/${this.customCC}-${this.customLC}/drivers/${C.seoFriendlyName}/model/${C.pmNameOid}?sku=${C.name}`:`/${this.customCC}-${this.customLC}/drivers/${C.seoFriendlyName}/model/${C.pmNameOid}`:`/${this.customCC}-${this.customLC}/drivers/${C.seoFriendlyName}/${C.pmSeriesOid}`);return w})();setTimeout(()=>{this.loadingScreenService.startLoading(),this.updateExtraParams(R,"typeahead")},500)}updateExtraParams(C,T){const g=new URL(C,this.pageConfig().domain);this.commonService.kaasSearchExtraParam.pipe((0,H.$)()).subscribe(u=>
1{Object.keys(u[T]).forEach(p=>{g.searchParams.set(p,u[T][p])}),this.commonService.globalRouterNavigate(g.href)})}searchSubmit(C,T,g=!1,u=null){let p;const l={};l.searchQuery=T,p=this.redirectToSearchResult(l,C,null,null,null,null,null,null,g,u),this.updateExtraParams(p,"search")}getParameterByName(C){return decodeURIComponent((new RegExp("[?|&]"+C+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null}inputKeyDown(C,T,g){const u=this.elem.nativeElement.querySelectorAll(".dropdown-item");if(C.target.value.length>=1)if("Enter"===C.key)this.searchSubmit(T,g);else if(!(40!==C.which&&38!==C.which||40!==C.which&&38!==C.which&&40!==C.which&&38!==C.which)){C.stopPropagation(),C.preventDefault();for(let p=0;p<u.length;p++)u[p].classList&&u[p].classList.contains("active")&&(C.target.value=u[p].innerText,this.selectedTypeAheadValue=u[p].innerText,this.selectedTypeAheadObj={name:u[p].innerText,productId:u[p].nextSibling.firstElementChild.id})}}getCommonLocalFromSSC(C){C&&this.store.select(o.FM).pipe((0,H.$)(T=>!(0,r.A)(T))).subscribe(T=>{if(T&&T.COMMON_FALLBACK_COUNTRY_CODE&&T.COMMON_FALLBACK_COUNTRY_CODE){const g=this.commonService.getCustomLocale(this.commonService.safeParseJSON(T.COMMON_FALLBACK_COUNTRY_CODE),C);this.customCC=g.cc,this.customLC=g.lc}else this.customCC=C.cc,this.customLC=C.lc})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(T){return new(T||S)(G.KVO(J.b),G.KVO(de.h),G.KVO(e.aKT),G.KVO(ce.k),G.KVO(ae.s),G.KVO(oe.il),G.KVO(z.a))}}static{this.\u0275prov=G.jDH({token:S,factory:S.\u0275fac})}}return S})()},1466(fe,re,i){i.d(re,{M:()=>m});var x=i(85240),d=i(86763),h=i(8130),H=i(19885),W=i(72926),y=i(11439);let m=(()=>{class c{sscKeys(r){return(0,d.EW)(()=>this.sscKeysSignal()?.[r]||{})}constructor(r,_,o,G){this.appSelectorStore=r,this.pageService=_,this.authService=o,this.store=G,this.translations=(0,d.EW)(()=>this.translationsSignal()),this.auth=(0,d.EW)(()=>this.authService.getAuthDataSignal()),this.pageConfig=(0,d.EW)(()=>this.pageService.configSignal()),this.routeData=(0,d.EW)(()=>this.pageService.getRouteDataSignal()),this.allPageSscKeys=(0,d.EW)(()=>this.sscKeysSignal()),this.isDefaultTheme=(0,d.EW)(()=>"default"===this.pageConfig().theme),this.isVeneerTheme=(0,d.EW)(()=>"veneer"===this.pageConfig().theme),this.isVisidTheme=(0,d.EW)(()=>"visid"===this.pageConfig().theme),this.translationsSignal=(0,x.vPA)({}),this.sscKeysSignal=(0,x.vPA)({}),this.updateTermbaseSignal(),this.updateSscKeysSignal()}updateTermbaseSignal(){this.appSelectorStore.getAllTranslations$(!1).subscribe(r=>{this.translationsSignal.update(_=>({..._,...r}))})}updateSscKeysSignal(){this.store.select(r=>r.sscKeys).subscribe(r=>{if(r?.SscUdlKeySet){const _=Object.keys(r?.SscUdlKeySet);for(const o of _)void 0===this.sscKeysSignal()?.[o]&&this.sscKeysSignal.update(G=>({...G,[o]:r?.SscUdlKeySet?.[o]?.ssc}))}})}static{this.\u0275fac=function(_){return new(_||c)(x.KVO(h.q),x.KVO(H.b),x.KVO(W.u),x.KVO(y.il))}}static{this.\u0275prov=x.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},81046(fe,re,i){i.d(re,{SearchResultsRoutes:()=>Ot,SearchRoutes:()=>xt});var x=i(86763),d=i(85240),h=i(2986),H=i(33900),W=i(93551),y=i(84205),m=i(19999),c=i(24938),L=i(37580),r=i(34487),_=i(89751),o=i(12481),G=i(19885);const e=()=>({exact:!0});function J(j,Ce){if(1&j){const v=o.RV6();o.j41(0,"li",5)(1,"a",6),o.bIt("click",function(){d.eBV(v);const $=o.XpG(3);return d.Njj($.resetEnglishFallback())}),o.EFF(2),o.k0s()()}if(2&j){const v=o.XpG().$implicit;o.R7$(),o.Y8G("routerLink",v.link)("routerLinkActiveOptions",o.lJ4(5,e))("title",v.linkText)("id",v.elementId),o.R7$(),o.JRh(v.linkText)}}function de(j,Ce){if(1&j&&(o.qex(0,4),o.nVh(1,J,3,6,"li",5),o.bVm()),2&j){const v=Ce.$implicit;o.R7$(),o.vxM(v.showTab?1:-1)}}function ce(j,Ce){if(1&j&&(o.j41(0,"div",0)(1,"div",2),o.EFF(2),o.k0s(),o.j41(3,"ul",3),o.Z7z(4,de,2,1,"ng-container",4,o.fX1),o.k0s()()),2&j){const v=o.XpG();o.R7$(2),o.JRh(v.allTranslations()?v.pageConfig().isVisIdEnabled?v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Category_Heading_New"]:v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Category_Heading"]:""),o.R7$(2),o.Dyx(v.tabsData())}}function ae(j,Ce){if(1&j){const v=o.RV6();o.j41(0,"div",1)(1,"div",2),o.EFF(2),o.k0s(),o.j41(3,"app-ngbd-dropdown",7),o.bIt("optionSelected",function($){d.eBV(v);const ue=o.XpG();return d.Njj(ue.optionSelected($))}),o.k0s()()}if(2&j){const v=o.XpG();o.R7$(2),o.JRh(v.allTranslations()?v.pageConfig().isVisIdEnabled?v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Mobile_Category_Heading_New"]:v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Mobile_Category_Heading"]:""),o.R7$(),o.Y8G("options",v.dropdownData())("dropdownName","menu")("fullWidth",!0)("selectedOption",v.selectedOption())}}let oe=(()=>{class j{constructor(v,V,$,ue){this.router=v,this.route=V,this.searchResultsService=$,this.pageService=ue,this.allTranslations=(0,L.hFB)({}),this.tabsData=(0,d.vPA)([]),this.dropdownData=(0,d.vPA)([]),this.selectedOption=(0,d.vPA)(""),this.destroySubject$=new y.B,this.showNavigation=(0,d.vPA)(!1),this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal())}updateTabDisplay(v,V){this.tabsData.update($=>{const ue=$.find(Me=>Me.type===v);return ue&&(ue.showTab=V),[...$]}),this.dropdownData.update($=>{const ue=$.find(Me=>Me.type===v);return ue&&(ue.showTab=V),[...$]})}subscribeToTabStatus(){this.searchResultsService.videosResultsCount.pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>{v>0&&this.updateTabDisplay("all-tab",v>0),this.updateTabDisplay("video-tab",v>0)}),this.searchResultsService.guidesResultsCount.pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>{v>0&&this.updateTabDisplay("all-tab",v>0),this.updateTabDisplay("troubleshooting-tab",v>0)})}ngOnInit(){this.searchResultsService.promotionsChecked.pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>{this.showNavigation.set(v.checked&&!v.isRedirect)}),this.searchResultsService.getNavigationData().pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>{(0,W.A)(v)||(this.tabsData.set(v.tabs),this.dropdownData.set(v.dropdown),this.selectedOption.set(v.dropdown[0].name),this.subscribeToTabStatus())}),this.searchResultsService.routeChange.pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>{let V=this.dropdownData().find($=>$.url===v);V&&this.selectedOption.set(V.name)})}optionSelected(v){this.searchResultsService.resetAllFlags(),this.selectedOption.set(v.option.name),this.router.navigate([v.option.url],{queryParamsHandling:"preserve",relativeTo:this.route})}resetEnglishFallback(){this.searchResultsService.resetAllFlags()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(c.Ix),o.rXU(c.nX),o.rXU(h.Q),o.rXU(G.b))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-search-results-navigation"]],inputs:{allTranslations:[1,"allTranslations"]},decls:2,vars:2,consts:[[1,"tabs-navigation"],[1,"mobile-navigation"],[1,"nav-heading"],[1,"nav","mob-hide"],[1,"nav-item"],[1,"nav-link"],["routerLinkActive","active","queryParamsHandling","preserve",3,"click","routerLink","routerLinkActiveOptions","title","id"],[3,"optionSelected","options","dropdownName","fullWidth","selectedOption"]],template:function(V,$){1&V&&(o.nVh(0,ce,6,1,"div",0),o.nVh(1,ae,4,5,"div",1)),2&V&&(o.vxM($.showNavigation()&&$.tabsData()?0:-1),o.R7$(),o.vxM($.showNavigation()&&$.dropdownData()?1:-1))},dependencies:[r.wQ,r.Wk,_.S],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.nav[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:40px}.nav-link[_ngcontent-%COMP%]{padding-right:30px}.nav-link[_ngcontent-%COMP%]:first-child{padding-left:0}.nav-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSIMPLIFIED;font-size:16px}.tabs-navigation[_ngcontent-%COMP%]{display:flex;max-width:1234px;margin:auto}.active[_ngcontent-%COMP%]{color:#000!important;text-decoration:underline!important;cursor:default}.mobile-navigation[_ngcontent-%COMP%]{margin-bottom:25px;margin-top:22px}.mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]{font-size:16px;line-height:18px;font-family:HPSimplified}@media only screen and (min-width:768px)and (max-width:991px),only screen and (min-width:992px)and (max-width:1199px),only screen and (min-width:1200px){.mobile-navigation[_ngcontent-%COMP%]{display:none!important}}.rtl[_ngcontent-%COMP%]   .selected-item[_ngcontent-%COMP%]{text-align:right;padding-right:0!important}.rtl[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{padding-right:0}.vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]{margin:auto;display:flex;gap:0 20px;max-width:1258px;padding:0 20px}.vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{padding:0}.vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:flex;padding:18px 10px;border:2px solid transparent;text-decoration:none!important;
1font-family:Forma DJR UI;font-size:20px;font-weight:400;line-height:28px;color:#737373}.vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%], .vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#000}.vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible, .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{border-color:#0278ab}.vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{border-bottom:4px solid #000000}.vis-id[_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:has(.active), .vis-id   [_nghost-%COMP%]   ul.nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:has(.active){border-bottom:4px solid #000000}.vis-id[_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]{padding:0 20px}.vis-id[_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]{display:flex;align-items:center;
1font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#000}.vis-id[_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before, .vis-id   [_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before{content:"";background:url(/wcc-assets/images/search-filter.png) no-repeat center left;width:24px;height:24px;margin-right:5px}.vis-id.rtl[_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before, .vis-id.rtl   [_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before, .vis-id   .rtl[_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before, .vis-id   .rtl   [_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before, .rtl   .vis-id[_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before, .rtl   .vis-id   [_nghost-%COMP%]   .mobile-navigation[_ngcontent-%COMP%]   .nav-heading[_ngcontent-%COMP%]:before{margin-left:5px;margin-right:0}']})}}return j})();var z=i(93683),B=i(60480),q=i(9303),S=i(4804),I=i(8130);let C=(()=>{class j{constructor(v,V,$,ue,Me,xe){this.pageService=v,this.commonService=V,this.windowRef=$,this.globaldata=ue,this.searchResultsService=Me,this.appSelectorStore=xe,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.queryParam=(0,d.vPA)(null),this.allTranslations=(0,d.vPA)({}),this.destroySubject$=new y.B,this.communityLink=(0,d.vPA)(""),this.window=this.windowRef.nativeWindow}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>this.allTranslations.set(v)),this.getCommunityLink()}localizeURL(v){return this.commonService.localizeURL(v)}getCommunityLink(){this.searchResultsService.getCommunitiesLink().pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>{this.communityLink.set(v)})}openChat(){let v=`${this.searchResultsService.chatUrl}&BotSubClient=SiteHome&Template=${this.pageConfig().templateName}&query=&SerialNumber=&P\u200cL=&ProductNumber=&ProductName=&ProductNameOID=&ProductSeriesName=&ProductSeriesNameOID=&CC=${this.pageConfig().cc}&LC=${this.pageConfig().lc}`;this.window&&v&&this.window?.open(encodeURI(v)),this.globaldata.updateGDL({chatBotAccessed:!0})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(G.b),o.rXU(B.h),o.rXU(q.$),o.rXU(S.a),o.rXU(h.Q),o.rXU(I.q))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-service-down"]],decls:21,vars:11,consts:[[1,"wrapper",3,"ngClass"],[1,"header-text"],[1,"support-links"],[1,"links-header"],["type","button","tabindex","-1","aria-label","Link",1,"chevron-primary","chevron-primary-next"],[1,"link",3,"routerLink","title"],["aria-hidden","true"],[1,"link",3,"href","title"],["href","javascript:void(0)",1,"link",3,"click","title"]],template:function(V,$){1&V&&(o.j41(0,"div",0)(1,"div",1),o.EFF(2),o.k0s(),o.j41(3,"div",2)(4,"div",3),o.EFF(5),o.k0s(),o.j41(6,"div"),o.nrm(7,"button",4),o.j41(8,"a",5)(9,"span",6),o.EFF(10),o.k0s()()(),o.j41(11,"div"),o.nrm(12,"button",4),o.j41(13,"a",7)(14,"span",6),o.EFF(15),o.k0s()()(),o.j41(16,"div"),o.nrm(17,"button",4),o.j41(18,"a",8),o.bIt("click",function(){return $.openChat()}),o.j41(19,"span",6),o.EFF(20),o.k0s()()()()()),2&V&&(o.Y8G("ngClass","rtl"===$.pageConfig().languageDirection?"rtl":"ltr"),o.R7$(2),o.JRh($.allTranslations()["#pps_WCC_FS_Search_Kaas_Service_Fail_Heading_Text"]),o.R7$(3),o.SpI(" ",$.allTranslations()["#pps_WCC_FS_Search_Kaas_Service_Fail_Sub_Heading_Text"]," "),o.R7$(3),o.Y8G("routerLink",$.localizeURL("/{cc}-{lc}"))("title",$.allTranslations()["#pps_WCC_FS_Search_Kaas_Service_Fail_Go_to_Home_Link"]),o.R7$(2),o.JRh($.allTranslations()["#pps_WCC_FS_Search_Kaas_Service_Fail_Go_to_Home_Link"]),o.R7$(3),o.Y8G("href",$.communityLink(),o.B4B)("title",$.allTranslations()["#pps_WCC_FS_Search_Kaas_Service_Fail_Go_to_Community_Link"]),o.R7$(2),o.JRh($.allTranslations()["#pps_WCC_FS_Search_Kaas_Service_Fail_Go_to_Community_Link"]),o.R7$(3),o.Y8G("title",$.allTranslations()["#pps_WCC_FS_HomeHP_Virtual_Agent_Button_Text_Mobile"]),o.R7$(2),o.JRh($.allTranslations()["#pps_WCC_FS_HomeHP_Virtual_Agent_Button_Text_Mobile"]))},dependencies:[z.YU,r.Wk],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.wrapper[_ngcontent-%COMP%]{font-family:HPSimplified;display:flex;flex-direction:row;margin:32px 30px 350px}.wrapper[_ngcontent-%COMP%]   .header-text[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:38px;font-weight:300;line-height:1.11;margin-right:9.4%;flex:0 0 60%;max-width:624px}.wrapper[_ngcontent-%COMP%]   .support-links[_ngcontent-%COMP%]{padding:33px 30px 44px;border-radius:10px;background-color:#fff;flex:0 0 auto}.wrapper[_ngcontent-%COMP%]   .support-links[_ngcontent-%COMP%]   .chevron-primary[_ngcontent-%COMP%]{pointer-events:none;margin:0 8px 8px 0}.wrapper[_ngcontent-%COMP%]   .support-links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{font-size:16px}.wrapper[_ngcontent-%COMP%]   .support-links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]:last-child{margin-bottom:0}.wrapper[_ngcontent-%COMP%]   .links-header[_ngcontent-%COMP%]{font-size:20px;line-height:1.5;margin-bottom:20px}.rtl[_ngcontent-%COMP%]   .header-text[_ngcontent-%COMP%]{margin-right:0;margin-left:9.4%}.rtl[_ngcontent-%COMP%]   .chevron-primary[_ngcontent-%COMP%]{margin:0 0 8px 8px!important}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.wrapper[_ngcontent-%COMP%]{flex-direction:column;margin:0 0 30px}.wrapper[_ngcontent-%COMP%]   .header-text[_ngcontent-%COMP%]{font-size:28px;margin:0 0 30px;max-width:100%}.wrapper[_ngcontent-%COMP%]   .support-links[_ngcontent-%COMP%]{max-width:100%}}"]})}}return j})();function T(j,Ce){if(1&j){const v=o.RV6();o.j41(0,"ul",2)(1,"li",4)(2,"span"),o.EFF(3),o.k0s()(),o.j41(4,"li",4)(5,"a",5),o.bIt("click",function(){d.eBV(v);const $=o.XpG();return d.Njj($.fetchFallbackResults())}),o.j41(6,"span",6),o.EFF(7),o.k0s()()()()}if(2&j){const v=o.XpG();o.R7$(3),o.SpI("",v.isEnglishFallback()?v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_Show_Results_Content_With_Language"]:v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_Show_Results_English_Content"],"\xa0"),o.R7$(2),o.Y8G("title",o.mNQ(v.isEnglishFallback()?v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_Check_Results_Content_With_Language"]:v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_Check_English_Result_Content"])),o.R7$(2),o.SpI("",v.isEnglishFallback()?v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_Check_Results_Content_With_Language"]:v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_Check_English_Result_Content"]," ")}}function g(j,Ce){if(1&j&&(o.j41(0,"div",3),o.EFF(1),o.k0s()),2&j){const v=o.XpG();o.R7$(),o.JRh(v.isEnglishFallback()?v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_No_Result_With_Language"]:v.allTranslations()["#pps_WCC_FS_SearchResult_Page_No_English_Result_Text"])}}let u=(()=>{class j{constructor(v,V,$,ue){this.pageService=v,this.searchResultsService=V,this.commonService=$,this.appSelectorStore=ue,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,d.vPA)({}),this.destroySubject$=new y.B,this.noResultsError=(0,x.EW)(()=>
1this.searchResultsService.noEnglishResults||this.searchResultsService.noNonEnglishResults||"videos"===this.searchResultsService.getCurrentRoute()&&(!this.searchResultsService.englishResults.videos||!this.searchResultsService.nonEnglishResults.videos)||"troubleshooting"===this.searchResultsService.getCurrentRoute()&&(!this.searchResultsService.englishResults.guides||!this.searchResultsService.nonEnglishResults.guides)),this.isEnglishFallback=(0,x.EW)(()=>this.searchResultsService.isEnglishFallback),this.showFallbackText=(0,x.EW)(()=>{const Me=location.pathname.split("/").pop();return"en"!==this.pageConfig().lc&&("videos"===Me||"troubleshooting"===Me||"search"===Me)})}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,H.Q)(this.destroySubject$)).subscribe(v=>this.allTranslations.set(v))}fetchFallbackResults(){this.searchResultsService.isEnglishFallback=!this.searchResultsService.isEnglishFallback,this.searchResultsService.getFallbackResults.next(!0)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(G.b),o.rXU(h.Q),o.rXU(B.h),o.rXU(I.q))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-results-fall-back"]],decls:5,vars:4,consts:[[1,"fallback-wrapper",3,"ngClass"],[1,"fallback-header"],[1,"fallback-text","nav"],[1,"fallback-no-results"],[1,"nav-item"],["href","javascript:void()",3,"click","title"],["aria-hidden","true"]],template:function(V,$){1&V&&(o.j41(0,"div",0)(1,"div",1),o.EFF(2),o.k0s(),o.nVh(3,T,8,4,"ul",2),o.nVh(4,g,2,1,"div",3),o.k0s()),2&V&&(o.Y8G("ngClass","rtl"===$.pageConfig().languageDirection?"rtl":"ltr"),o.R7$(2),o.JRh($.isEnglishFallback()?$.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_English_Content_Text"]:$.allTranslations()["#pps_WCC_FS_SearchResult_Page_Fallback_Content_With_Language"]),o.R7$(),o.vxM($.noResultsError()?-1:3),o.R7$(),o.vxM($.noResultsError()?4:-1))},dependencies:[z.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.fallback-wrapper[_ngcontent-%COMP%]{font-size:16px;line-height:22px;margin:-18px 0 -28px}.fallback-wrapper[_ngcontent-%COMP%]   .fallback-header[_ngcontent-%COMP%]{font-family:HPSimplified}.fallback-wrapper[_ngcontent-%COMP%]   .fallback-text[_ngcontent-%COMP%]{color:#000}.fallback-wrapper[_ngcontent-%COMP%]   .fallback-no-results[_ngcontent-%COMP%]{color:#bf2026}.vis-id[_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%]{max-width:1258px;margin:0 auto;padding:20px 20px 0}.vis-id[_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%]   .fallback-header[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%]   .fallback-header[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#000}.vis-id[_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%]   .fallback-text[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%]   .fallback-text[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#737373}.vis-id[_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%]   .fallback-no-results[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .fallback-wrapper[_ngcontent-%COMP%]   .fallback-no-results[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#bf2026}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.fallback-wrapper[_ngcontent-%COMP%]{margin:0}}"]})}}return j})();var p=i(2435),l=i(65644),b=i(26895),f=i(54041),R=i(1581),w=i(40434),F=i(45977),A=i(85237),P=i(61650),E=i(91126);let k=(()=>{class j{constructor(v,V){this.pageService=v,this.route=V,this.resultObjectPfinder=(0,L.hFB)(null),this.allTranslations=(0,L.hFB)({}),this.promotionContext=(0,d.vPA)(null),this.productFinderConfig=(0,d.vPA)((0,A.A)(P.S)),this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new y.B}ngOnInit(){this.serachPfinderConfig()}ngOnDestroy(){this.destroySubject$.next(!0)}serachPfinderConfig(){const v=this.productFinderConfig(),V=this.pageConfig();v.pageName=V.pageName,v.productFinder.language=V.language;const $=new RegExp("PrinterSetup","i");v.searchResultOrigin=$.test(this.resultObjectPfinder().url)?"printer-setup":"pdp",v.serachPromotionPfinderObj=this.resultObjectPfinder(),v.deviceDetector.url=`/${V.locale}/product/detect`,this.productFinderConfig.set(v),this.route.data.pipe((0,H.Q)(this.destroySubject$)).subscribe(ue=>{const Me=this.productFinderConfig(),xe=this.pageConfig();this.promotionContext.set(Me.serachPromotionPfinderObj.url.split(":")[1]),Me.searchResultOrigin=this.promotionContext(),Me.productSelection.url=this.promotionContext().includes("PrinterSetup")?`/wcc-services/cms-v2/contexual/${xe.cc}-${xe.lc}/wcc_pfinder_common?pageTemplate=PrintSetup_Landing`:`/wcc-services/cms-v2/contexual/${xe.cc}-${xe.lc}/wcc_pfinder_common?pageTemplate=SiteHome_New`,this.productFinderConfig.set(Me)})}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(G.b),o.rXU(c.nX))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-search-pfinder"]],inputs:{resultObjectPfinder:[1,"resultObjectPfinder"],allTranslations:[1,"allTranslations"]},decls:1,vars:3,consts:[[3,"productFinderConfig","allTranslations","showVisIdTitleHeader"]],template:function(V,$){1&V&&o.nrm(0,"app-product-finder",0),2&V&&o.Y8G("productFinderConfig",$.productFinderConfig())("allTranslations",$.allTranslations())("showVisIdTitleHeader",$.pageConfig().isVisIdEnabled)},dependencies:[E.v],encapsulation:2})}}return j})();var ne=i(60809),Z=i(20572),Y=i(72433),se=i(11439);const U=(j,Ce)=>({"is-vis-id":j,rtl:Ce}),pe=(j,Ce)=>({"three-card":j,"two-card":Ce}),te=j=>({video:j}),ge=j=>({"va-tile":j});function me(j,Ce){if(1&j&&(o.j41(0,"h1",8),o.EFF(1),o.k0s()),2&j){const v=o.XpG(2);o.R7$(),o.JRh(v.allTranslations()?v.allTranslations()["#pps_WCC_FS_SearchResult_Page_pfinder_Heading_1"]:"")}}function Pe(j,Ce){if(1&j&&o.nrm(0,"app-search-pfinder",9),2&j){const v=o.XpG(2);o.Y8G("resultObjectPfinder",v.resultObjectPfinder())("allTranslations",v.allTranslations())}}function be(j,Ce){if(1&j&&(o.j41(0,"div",3),o.DNE(1,me,2,1,"h1",4),o.j41(2,"div",5)(3,"div",6),o.DNE(4,Pe,1,2,"app-search-pfinder",7),o.k0s()()()),2&j){const v=o.XpG();o.R7$(),o.Y8G("ngIf",!v.pageConfig().isVisIdEnabled),o.R7$(3),o.Y8G("ngIf",v.promotionsResults())}}function we(j,Ce){if(1&j&&(o.j41(0,"a",20),o.nI1(1,"striphtml"),o.nrm(2,"img",21),o.k0s()),2&j){const v=o.XpG(2).$implicit;o.Y8G("title",o.bMT(1,2,v.title)),o.R7$(2),o.Y8G("src",v.imageUrl,o.B4B)}}function ye(j,Ce){if(1&j&&(o.j41(0,"div",16),o.DNE(1,we,3,4,"a",17),o.j41(2,"a",18),o.nI1(3,"striphtml"),o.nrm(4,"span",19),o.k0s()()),2&j){const v=o.XpG().$implicit,V=o.XpG(2);o.R7$(),o.Y8G("ngIf",!V.pageConfig().isMobile),o.R7$(),o.Y8G("target",o.mNQ(v.target))("ngClass",v.url?"":"nourl")("href",v.url,o.B4B)("title",o.bMT(3,7,v.description)),o.R7$(2),o.Y8G("innerHTML",v.description,o.npT)}}function Fe(j,Ce){if(1&j&&(o.j41(0,"a",20),o.nI1(1,"striphtml"),o.nrm(2,"img",23),o.k0s()),2&j){const v=o.XpG(2).$implicit;o.Y8G("title",o.bMT(1,3,v.title)),o.R7$(2),o.Y8G("src",v.imageUrl,o.B4B)("ngClass",o.eq3(5,te,"video"===v.type))}}function Ee(j,Ce){if(1&j){const v=o.RV6();o.j41(0,"div",16),o.DNE(1,Fe,3,7,"a",17),o.j41(2,"a",22),o.nI1(3,"striphtml"),o.bIt("click",function(){d.eBV(v);const $=o.XpG().$implicit,ue=o.XpG(2);return d.Njj(ue.openModal($))}),o.nrm(4,"span",19),o.k0s()()}if(2&j){const v=o.XpG().$implicit,V=o.XpG(2);o.R7$(),o.Y8G("ngIf",!V.pageConfig().isMobile),o.R7$(),o.Y8G("title",o.bMT(3,3,v.description)),o.R7$(2),o.Y8G("innerHTML",v.description,o.npT)}}function De(j,Ce){if(1&j&&(o.j41(0,"a",20),o.nI1(1,"striphtml"),o.nrm(2,"img",21),o.k0s()),2&j){const v=o.XpG(2).$implicit,V=o.XpG(2);o.Y8G("title",o.bMT(1,2,v.title)),o.R7$(2),o.Y8G("src",(null==v?null:v.imageUrl)||V.defaultIconUrl,o.B4B)}}function He(j,Ce){if(1&j&&(o.j41(0,"div",16),o.DNE(1,De,3,4,"a",17),o.j41(2,"a",24),o.nI1(3,"striphtml"),o.nrm(4,"span",19),o.k0s()()),2&j){const v=o.XpG().$implicit,V=o.XpG(2);o.R7$(),o.Y8G("ngIf",!V.pageConfig().isMobile),o.R7$(),o.Y8G("ngClass",v.url?"":"nourl")("href",v.url,o.B4B)("title",o.bMT(3,5,v.description)),o.R7$(2),o.Y8G("innerHTML",v.description,o.npT)}}function Xe(j,Ce){if(1&j&&(o.j41(0,"div",12)(1,"div",13),o.EFF(2),o.k0s(),o.DNE(3,ye,5,9,"div",14)(4,Ee,5,5,"div",14)(5,He,5,7,"div",15),o.k0s()),2&j){const v=Ce.$implicit,V=o.XpG(2);o.Y8G("ngClass",o.l_i(5,pe,V.promotions().length>=V.maxLimit(),V.promotions().length<V.maxLimit()))("ngSwitch",!0),o.R7$(2),o.JRh(V.allTranslations()?V.allTranslations()["#pps_WCC_FS_SearchResult_Page_Search_Recommanded_Solution_Text"]:""),o.R7$(),o.Y8G("ngSwitchCase","document"===v.type),o.R7$(),o.Y8G("ngSwitchCase","video"===v.type||"va"===v.type)}}function ze(j,Ce){if(1&j&&(o.j41(0,"div",10),o.DNE(1,Xe,6,8,"div",11),o.nI1(2,"slice"),o.k0s()),2&j){const v=o.XpG();o.R7$(),o.Y8G("ngForOf",o.brH(2,1,v.promotions(),0,v.maxLimit()))}}function Ke(j,Ce){if(1&j&&(o.j41(0,"a",33),o.nI1(1,"striphtml"),o.nrm(2,"span",34),o.j41(3,"span",35),o.nrm(4,"span",36)(5,"span",37),o.k0s()()),2&j){const v=o.XpG().$implicit;o.Y8G("target",o.mNQ(v.target))("href",v.url,o.B4B)("ngClass",v.url?"":"nourl")("title",o.bMT(1,8,v.description)),o.R7$(2),o.Y8G("ngClass",null==v?null:v.imageSvgName),o.BMQ("data-fallback",null==v?null:v.imageUrl),o.R7$(2),o.Y8G("innerHTML",v.description,o.npT)}}function Ye(j,Ce){if(1&j){const v=o.RV6();o.j41(0,"a",38),o.nI1(1,"striphtml"),o.bIt("click",function(){d.eBV(v);const $=o.XpG().$implicit,ue=o.XpG(2);return d.Njj(ue.openModal($))}),o.nrm(2,"span",34),o.j41(3,"span",35),o.nrm(4,"span",36)(5,"span",37),o.k0s()()}if(2&j){const v=o.XpG().$implicit;o.Y8G("title",o.bMT(1,5,v.description))("ngClass",o.eq3(7,ge,"va"===(null==v.type?null:v.type.toLowerCase()))),o.R7$(2),o.Y8G("ngClass",null==v?null:v.imageSvgName),o.BMQ("data-fallback",null==v?null:v.imageUrl),o.R7$(2),o.Y8G("innerHTML",v.description,o.npT)}}function Qe(j,Ce){if(1&j&&(o.j41(0,"div",30),o.DNE(1,Ke,6,10,"a",31)(2,Ye,6,9,"a",32),o.k0s()),2&j){const v=Ce.$implicit,V=o.XpG(2);o.Y8G("ngClass",o.l_i(3,pe,V.promotions().length>=V.maxLimit(),V.promotions().length<V.maxLimit())),o.R7$(),o.Y8G("ngIf","document"===v.type),o.R7$(),o.Y8G("ngIf","document"!==v.type)}}function Je(j,Ce){if(1&j&&(o.j41(0,"div",10)(1,"div",25)(2,"div",26)(3,"div",13),o.EFF(4),o.nrm(5,"span",27),o.k0s()()(),o.j41(6,"div",28),o.DNE(7,Qe,3,6,"div",29),o.nI1(8,"slice"),o.k0s()()),2&j){const v=o.XpG();o.R7$(4),o.SpI("",v.allTranslations()?v.allTranslations()["#pps_WCC_FS_PDP_Recommended_Solutions"]:""," "),o.R7$(3),o.Y8G("ngForOf",o.brH(8,2,v.promotions(),0,v.maxLimit()))}}let Ze=(()=>{class j{constructor(v,V,$,ue,Me,xe,Re){this.pageService=v,this.loadingScreenService=V,this.modalService=$,this.searchResultsService=ue,this.globalDataService=Me,this.videoService=xe,this.store=Re,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.promotionsResults=(0,d.vPA)(null),this._promotionsResults=(0,L.hFB)(null),this.promotions=(0,d.vPA)([]),this.showPfinder=(0,d.vPA)(!1),this.maxLimit=(0,d.vPA)(0),this.resultObjectPfinder=(0,d.vPA)(null),this.allTranslations=(0,L.hFB)({}),this.destroySubject$=new y.B,this.isModalOpen=(0,d.vPA)(!1),this.defaultIconUrl="/wcc-assets/content/dam/hp-wcc/headless-assets/images/k_srch/generic.png",this.BC_ID="bcid",this.modalOptions={backdropClass:"customBackdrop",windowClass:"app-modal-window",size:"lg"},(0,x.QZ)(()=>{const Te=this._promotionsResults();Te&&(0,x.O8)(()=>{this.resetPromotionsData(),this.promotionsResults.set(this.formatPromotionResults(Te)),this.processPromotions()})},{allowSignalWrites:!0})}ngOnDestroy(){this.destroySubject$.next(!0)}
1ngOnInit(){this.getSearchRelatedSSCKey(),this.processPromotions()}formatPromotionResults(v){const V=this.pageService.config.queryParams.q;return v.matches&&v.matches.length>0&&(v.matches=v.matches.map($=>($.title=$.title?$.title.replace(/\{query\}/g,V):null,$.description=$.description?$.description.replace(/\{query\}/g,V):null,$.url=$.url?$.url.replace(/\{query\}/g,V):null,$))),v}processPromotions(){if(this.promotionsResults().matches){let{redirects:V,searchResults:$,nonPfinderResults:ue,hasPfinderResults:Me,pfinderResultObject:xe}=this.processResults();const Re={Search:{Promotion:{promotionIds:(0,l.A)(this.promotionsResults().matches,"pid"),length:this.promotionsResults().totalCount,PromotionTitle:(0,l.A)(this.promotionsResults().matches,"title")}}};this.globalDataService.updateGDL(Re,!0);const Te=Ve=>{let lt=Ve.map(ct=>{var ot=Object.assign({},ct);return ot.rank&&"string"==typeof ot.rank&&(ot.rank=Number(ot.rank)),ot});return(0,b.A)(lt,["rank"],["asc"])};if(1===V.length)return this.loadingScreenService.startLoading(!0),this.searchResultsService.promotionsChecked.next({checked:!0,isRedirect:!0}),window.location.href=V[0].url;this.promotions.set(Te(V.length&&0==$.length?V:ue)),Me&&(this.showPfinder.set(!0),this.resultObjectPfinder.set(xe),this.promotions.set(Te(ue)))}this.searchResultsService.promotionsChecked.next({checked:!0,isRedirect:!1})}processResults(){const v=new RegExp("pfinder","i"),V=this.promotionsResults().matches;return{redirects:V.filter(Te=>"Redirect"===Te.publicationDestination),searchResults:V.filter(Te=>!v.test(Te.url)&&"SearchResult"===Te.publicationDestination),nonPfinderResults:V.filter(Te=>!v.test(Te.url)),hasPfinderResults:V.some(Te=>v.test(Te.url)),pfinderResultObject:V.find(function(Te){return v.test(Te.url)})}}openModal(v){"video"===v?.type?.toLowerCase()?this.handleVideoPromotion(v):"va"===v?.type?.toLowerCase()&&this.openVirtualAgent(v?.url)}handleVideoPromotion(v){let[$,ue]=v?.url?.split(":")||[];$?.startsWith('"')&&($=$.slice(1)),ue?.endsWith('"')&&(ue=ue.slice(0,-1)),$?.toLowerCase()==="videoColId".toLowerCase()?this.videoService.getVideoDetails(ue).pipe((0,H.Q)(this.destroySubject$)).subscribe(Me=>{const xe=Me?.[ue];if(xe){const{bcId:Re,streamingId:Te,isBrightcoveVideo:Ve}=xe;this.openVideoModal(xe,Ve?Re:Te,Ve?this.BC_ID:$)}}):this.openVideoModal(v,ue,$?.toLowerCase())}openVirtualAgent(v){window&&window.open(v,"virtual agent","rel=noopener ,height=700px,width=500px,scrollbars=1,toolbar=yes, menubar=no, location=no, directories=no, status=yes")}openVideoModal(v,V,$){this.modalService.open(R.H,this.modalOptions).componentInstance.videoData.set({t
1itle:v?.title,description:v?.description,video_id:V,showBrightcoveVideo:$===this.BC_ID,height:"100%",width:"100%",VideoPlayerComponent:!0})}getSearchRelatedSSCKey(){this.store.select(f.FM).pipe((0,p.$)(v=>!(0,W.A)(v))).subscribe(v=>{this.maxLimit.set(+v?.SEARCH_MAX_RECOMMENDED_SOLUTION)})}resetPromotionsData(){this.promotions.set([]),this.showPfinder.set(!1)}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(G.b),o.rXU(ne.s),o.rXU(Z.Bq),o.rXU(h.Q),o.rXU(S.a),o.rXU(Y.r),o.rXU(se.il))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-recommended-solution"]],inputs:{_promotionsResults:[1,"_promotionsResults"],allTranslations:[1,"allTranslations"]},decls:4,vars:7,consts:[[1,"recommendation-wrapper",3,"ngClass"],["class","pfinder-holder",4,"ngIf"],["class","recommendation-container",4,"ngIf"],[1,"pfinder-holder"],["class","pfinder-heading",4,"ngIf"],[1,"pfinder-container"],[1,"container"],[3,"resultObjectPfinder","allTranslations",4,"ngIf"],[1,"pfinder-heading"],[3,"resultObjectPfinder","allTranslations"],[1,"recommendation-container"],["class","recommendation",3,"ngClass","ngSwitch",4,"ngFor","ngForOf"],[1,"recommendation",3,"ngClass","ngSwitch"],[1,"title"],["class","content",4,"ngSwitchCase"],["class","content",4,"ngSwitchDefault"],[1,"content"],["class","image",3,"title",4,"ngIf"],[1,"description",3,"ngClass","href","title","target"],["aria-hidden","true",3,"innerHTML"],[1,"image",3,"title"],["alt","content icon",3,"src"],["href","javascript:void(0)","target","_self",1,"description",3,"click","title"],["alt","content icon",3,"src","ngClass"],["target","_self",1,"description",3,"ngClass","href","title"],["ngClass","title-wrapper"],[1,"title-container"],[1,"svg-vault","svg-checkmark-circle"],[1,"recommendation-wrapper"],["class","recommendation-right",3,"ngClass",4,"ngFor","ngForOf"],[1,"recommendation-right",3,"ngClass"],["class","description",3,"href","ngClass","title","target",4,"ngIf"],["class","description","href","javascript:void(0)","target","_self",3,"title","ngClass","click",4,"ngIf"],[1,"description",3,"href","ngClass","title","target"],[1,"svg-vault","content-icon",3,"ngClass"],[1,"content-right"],["aria-hidden","true",1,"description-text",3,"innerHTML"],[1,"svg-vault","svg-chevron-right"],["href","javascript:void(0)","target","_self",1,"description",3,"click","title","ngClass"]],template:function(V,$){if(1&V&&(o.j41(0,"div",0),o.DNE(1,be,5,2,"div",1)(2,ze,3,5,"div",2)(3,Je,9,6,"div",2),o.k0s()),2&V){let ue;o.Y8G("ngClass",o.l_i(4,U,$.pageConfig().isVisIdEnabled,"rtl"===$.pageConfig().languageDirection)),o.R7$(),o.Y8G("ngIf",$.showPfinder()),o.R7$(),o.Y8G("ngIf",!$.pageConfig().isVisIdEnabled),o.R7$(),o.Y8G("ngIf",$.pageConfig().isVisIdEnabled&&(null==(ue=$.promotions())?null:ue.length)>0)}},dependencies:[z.YU,z.bT,k,z.Sq,z.ux,z.e1,z.fG,F.o,z.P9,w.u],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.recommendation-container[_ngcontent-%COMP%]{display:inline-block;width:100%}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]{display:inline-block}.recommendation-container[_ngcontent-%COMP%]   .recommendation.two-card[_ngcontent-%COMP%]{width:50%}.recommendation-container[_ngcontent-%COMP%]   .recommendation.three-card[_ngcontent-%COMP%]{width:32%}}.pfinder-heading[_ngcontent-%COMP%]{margin:30px;font-size:38px}.pfinder-container[_ngcontent-%COMP%]{background-color:#fff;border-radius:10px}.pfinder-container[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-left:35px!important}.recommendation-container[_ngcontent-%COMP%]{margin-top:35px;display:flex}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]{color:#fff;margin-right:30px;background-color:#3e9462;padding:10px 30px;border-radius:10px}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:14px;font-family:HPSimplified;margin-bottom:10px}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:flex}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:60px;width:auto;max-width:60px;margin-right:35px}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img.video[_ngcontent-%COMP%]{height:34px}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:20px;font-family:HPSimplifiedLight;color:#fff;max-height:-moz-fit-content;max-height:fit-content;-webkit-box-orient:vertical;display:block;display:-webkit-box;max-width:100%;height:7;margin:0 auto;line-height:1.4;-webkit-line-clamp:5;overflow:hidden;text-overflow:ellipsis;margin-left:0!important;height:-moz-fit-content;height:fit-content}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .description.nourl[_ngcontent-%COMP%]{pointer-events:none}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .description.nourl[_ngcontent-%COMP%]:hover{text-decoration:none;cursor:default}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]:last-child{margin-right:0}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]:focus{box-shadow:0 0 6px #0096d6}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]:hover   .description[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]:hover   .description.nourl[_ngcontent-%COMP%]{text-decoration:none;cursor:default}.recommendation-container[_ngcontent-%COMP%]   .recommendation.two-card[_ngcontent-%COMP%]{width:50%}.recommendation-container[_ngcontent-%COMP%]   .recommendation.three-card[_ngcontent-%COMP%]{width:33%}.is-vis-id[_ngcontent-%COMP%]   .pfinder-holder[_ngcontent-%COMP%]{border-bottom:1px solid black}.is-vis-id[_ngcontent-%COMP%]   .pfinder-holder[_ngcontent-%COMP%]   .pfinder-container[_ngcontent-%COMP%]{margin:40px 0 70px}.is-vis-id[_ngcontent-%COMP%]   .pfinder-holder[_ngcontent-%COMP%]   .pfinder-container[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:1248px;margin:0 auto!important;padding-left:20px;padding-right:20px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]{border-bottom:1px solid #000000;display:flex;color:#000;gap:10px;margin-top:0}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]{padding:20px 20px 48px max(20px,50v
1w - 608px);background-color:#bbffdf}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]{max-width:574px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:72px;font-weight:400;line-height:84px;color:#000}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .title-img[_ngcontent-%COMP%]{margin:0 20px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .svg-vault.svg-checkmark-circle[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:60px;width:60px;transform:translateY(10px)}.is-vis-id   .recommendation-container   .title-wrapper   .title-container   html[lang=ko-KR][_nghost-%COMP%]   .svg-vault.svg-checkmark-circle[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], html[lang=ko-KR]   [_nghost-%COMP%]   .svg-vault.svg-checkmark-circle[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transform:none!important}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]{width:100%;max-width:594px;padding:0 20px;margin-bottom:20px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]{padding-top:20px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{max-width:554px;border:1px solid #000000;padding:12px 20px;background-color:#e9fff5;
1font-family:Forma DJR UI;font-size:20px;font-weight:400;line-height:28px;color:#000;text-decoration:none;display:flex;align-items:center}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   .content-icon[_ngcontent-%COMP%]{max-width:40px;height:40px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   .content-right[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   .content-right[_ngcontent-%COMP%]   .description-text[_ngcontent-%COMP%]{margin:0 20px;-webkit-line-clamp:5;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]:hover{background-color:#bbffdf}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]:focus-visible{border:2px solid #000000;padding:11px 19px;border-color:#165dba}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]:active{background-color:#00d072}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]:active   .content-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .icon-back[_ngcontent-%COMP%]{fill:#fff}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]:active   .content-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .icon-smile[_ng
1content-%COMP%]{fill:#0278ab}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description.va-tile[_ngcontent-%COMP%]{background-color:#ebf9ff}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description.va-tile[_ngcontent-%COMP%]:hover{background-color:#caf3ff}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description.va-tile[_ngcontent-%COMP%]:active{background-color:#0278ab;color:#fff}.is-vis-id.rtl[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]{padding:20px max(20px,50vw - 608px) 48px 20px}.is-vis-id.rtl[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   .content-right[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transform:scaleX(-1)}@media only screen and (max-width:870px){.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]{flex-direction:column;margin:auto;gap:unset}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]{width:100%}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]{max-width:100%}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:48px;line-height:60px;max-width:350px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]{margin-bottom:48px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{padding:12px 16px}.is-vis-id[_ngcontent-%COMP%]   .recommendation-container[_ngcontent-%COMP%]   .recommendation-wrapper[_ngcontent-%COMP%]   .recommendation-right[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   .content-right[_ngcontent-%COMP%]   .description-text[_ngcontent-%COMP%]{margin:0 16px}}@media only screen and (max-width:600px){.pfinder-container[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-left:0!important}.recommendation-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:0}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]{margin-right:0!important;margin-bottom:16px}.recommendation-container[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin-left:0!important}.recommendation-container[_ngcontent-%COMP%]   .recommendation.two-card[_ngcontent-%COMP%], .recommendation-container[_ngcontent-%COMP%]   .recommendation.three-card[_ngcontent-%COMP%]{width:100%!important}}.rtl[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:0!important;margin-left:35px}@media only screen and (max-width:600px){.rtl[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin-right:0!important}}.rtl[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]:last-child{margin-right:35px!important}.rtl[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]:first-child{margin-right:0}@media only screen and (max-width:600px){.rtl[_ngcontent-%COMP%]   .recommendation[_ngcontent-%COMP%]:last-child{margin-right:0!important}}"]})}}return j})();var We=i(59452),qe=i(52575),et=i(91817),$e=i(98764),le=i(36647),ee=i(61318),D=i(24482),M=i(78767),X=i(91462),K=i(34456);const he=["searchInputText"];function Oe(j,Ce){if(1&j&&(o.j41(0,"span",7),o.EFF(1),o.k0s()),2&j){const v=o.XpG();o.Y8G("ngClass",""!==v.searchModel()?"txt-present":""),o.R7$(),o.JRh(v.screenReader())}}function Se(j,Ce){if(1&j){const v=o.RV6();o.j41(0,"a",14),o.bIt("click",function($){d.eBV(v);const ue=o.XpG();return d.Njj(ue.clearSearchField($))})("keydown.enter",function($){d.eBV(v);const ue=o.XpG();return d.Njj(ue.onEnterCloseIcon($))}),o.k0s()}}function Ae(j,Ce){if(1&j&&o.nrm(0,"img",11),2&j){const v=o.XpG();o.Y8G("src",v.getSearchIconPath(),o.B4B)}}function Le(j,Ce){1&j&&(d.qSk(),o.j41(0,"svg",12),o.nrm(1,"path",15)(2,"path",16),o.k0s())}function it(j,Ce){if(1&j&&(o.j41(0,"div",13),o.EFF(1),o.k0s()),2&j){const v=o.XpG();o.R7$(),o.E5c(" ",v.allTranslations()["#pps_WCC_FS_PDP_Knowledge_Search_Text_Showing"]," ",v.totalNumofResult()," ",v.allTranslations()["#pps_WCC_FS_PDP_Knowledge_Search_Text_Results"]," ")}}function ke(j,Ce){if(1&j&&(o.nrm(0,"ngb-highlight",17),o.nI1(1,"slice")),2&j){const v=Ce.result,V=Ce.term,$=o.XpG();o.Y8G("id",o.mNQ(v.productId))("result",o.brH(1,4,v.name,0,$.typeaheadLimit()))("term",V)}}let tt=(()=>{class j{constructor(v,V,$,ue,Me,xe){this.pageService=v,this.globalSearchService=V,this.route=$,this.renderer=ue,this.store=Me,this.globalDataLayerService=xe,this.placeHolder=(0,L.hFB)(""),this.searchOrigin=(0,L.hFB)(""),this.buttonText=(0,L.hFB)(""),this.screenReader=(0,L.hFB)(""),this.searchScreenReader=(0,L.hFB)(""),this.clearInput=(0,L.hFB)(null),this.allTranslations=(0,L.hFB)({}),this.searchModel=(0,d.vPA)(""),this.searching=(0,d.vPA)(!1),this.searchTermEntered=(0,d.vPA)(!1),this.searchQueryEntered=(0,d.vPA)(!1),this.initialQuery=(0,d.vPA)(!1),this.selectedOption=(0,d.vPA)(""),this.buttonDisabled=(0,d.vPA)(!1),this.searchQuery=(0,d.vPA)(""),this.placeHolderText=(0,d.vPA)(""),this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.searchBoxLimit=(0,d.vPA)(0),this.typeaheadLimit=(0,d.vPA)(0),this.searchInputText=(0,L.ebz)("searchInputText"),this.pfinderMinCharLen=(0,d.vPA)("1"),this.destroySubject$=new y.B,this.visIdEnabled=(0,d.vPA)(!1),this.ngbTypeahead=(0,L.ebz)(Z.$n),this.totalNumofResult=(0,d.vPA)(0),this.search=Re=>Re.pipe((0,qe.B)(300),(0,et.F)(),(0,$e.M)(()=>this.searching.set(!0)),(0,le.n)(Te=>Te.length>=parseInt(this.pfinderMinCharLen())?this.globalSearchService.search(Te).pipe((0,$e.M)(Ve=>{this.totalNumofResult.set(Ve?Ve.length:0),this.searchTermEntered.set(!0)}),(0,ee.W)(()=>(0,We.of)([]))):[]),(0,$e.M)(()=>this.searching.set(!1))),this.formatter=Re=>Re.name}getSearchIconPath(){return this.visIdEnabled()?"/wcc-assets/content/dam/hp-wcc/fe-assets/images/search-icon.svg":"/wcc-assets/content/dam/hp-wcc/fe-assets/images/srch_icon.svg"}clearField(v){v.target.placeholder="",0===this.searchModel().length&&this.searchQueryEntered.set(!1)}restorePlaceHolderText(v){v.target.placeholder=v.target.value?"":this.placeHolder()}onEnterCloseIcon(v){v.preventDefault(),this.clearSearchField(v)}clearSearchInput(v){const V=v.target,$=V.parentElement;V&&$&&(this.renderer.addClass(V,"hide"),$.querySelector("input").focus())}clearSearchField(v){this.clearSearchInput(v),this.buttonDisabled.set(!1),setTimeout(()=>{this.searchModel.set(""),this.searchQueryEntered.set(!1),this.initialQuery.set(!1)},0)}getKnowledgeResult(){this.globalDataLayerService.updateGDL({Flag:{searchExecuted:!0}},!0),this.globalSearchService.selectedTypeAheadValue?setTimeout(()=>{this.searchModel.set(this.globalSearchService.selectedTypeAheadValue),this.placeHolderText.set(this.globalSearchService.selectedTypeAheadValue);let v=this.searchModel().trim();v=this.globalSearchService.cleanSearchQuery(v);const V=this.globalSearchService.hasSerialNumberPattern(v);this.globalSearchService.optionSelector(this.globalSearchService.selectedTypeAheadObj,V)},0):this.globalSearchService.searchSubmit(this.searchModel())}checkpFinderMinCharLen(){this.store.select(f.FM).pipe((0,p.$)(v=>!(0,W.A)(v))).subscribe(v=>{this.pfinderMinCharLen.set("YES"==(v.ENABLE_POLY_SEARCH_EXP&&v.ENABLE_POLY_SEARCH_EXP?v.ENABLE_POLY_SEARCH_EXP:"").toUpperCase()?v.GLOBAL_SEARCH_BOX_MIN_CHAR_LENGTH&&v.GLOBAL_SEARCH_BOX_MIN_CHAR_LENGTH?v.GLOBAL_SEARCH_BOX_MIN_CHAR_LENGTH:"3":"1"),this.visIdEnabled.set(!!v.ENABLE_VIS_ID_LAYOUT&&(0,M.A)(v.ENABLE_VIS_ID_LAYOUT,this.pageConfig().pageName))})}onChangeInput(v){const V=v.trim().length,$=V>0||this.searchModel().trim().length>0;this.searchQueryEntered.set($),this.buttonDisabled.set(!(V>
1=parseInt(this.pfinderMinCharLen()))),this.initialQuery.set(!1)}onOptionSelection(v){v.preventDefault(),this.globalDataLayerService.updateGDL({Flag:{searchExecuted:!0}},!0);const V=v.item;let $=this.searchModel().trim();$=this.globalSearchService.cleanSearchQuery($);const ue=this.globalSearchService.hasSerialNumberPattern($);V&&(this.searchModel.set(V.name),this.placeHolderText.set(V.name)),this.buttonDisabled.set(!0),this.globalSearchService.optionSelector(V,ue)}onKeyUpEvent(v,V){"Enter"===v.key?(this.globalSearchService.selectedTypeAheadValue&&setTimeout(()=>{this.placeHolderText.set(this.globalSearchService.selectedTypeAheadValue),V=this.globalSearchService.selectedTypeAheadValue},0),this.buttonDisabled.set(!0),this.globalDataLayerService.updateGDL({Flag:{searchExecuted:!0}},!0)):(38===v.key||40===v.key)&&(this.buttonDisabled.set(!1),this.globalSearchService.selectedTypeAheadValue&&setTimeout(()=>{V=this.globalSearchService.selectedTypeAheadValue,this.placeHolderText.set(this.globalSearchService.selectedTypeAheadValue)},0)),V?.length>=parseInt(this.pfinderMinCharLen())&&this.globalSearchService.inputKeyDown(v,V,!this.initialQuery())}ngOnInit(){this.placeHolderText.set(this.placeHolder()),this.buttonDisabled.set(!1),this.searchQuery.set(this.route.snapshot.queryParams.q||""),this.checkpFinderMinCharLen()}ngOnChanges(){setTimeout(()=>{this.searchQuery().length>0?(this.searchQueryEntered.set(!0),this.buttonDisabled.set(!0),this.searchModel.set(this.globalSearchService.cleanSearchQuery(this.searchQuery())),this.initialQuery.set(!0)):(this.placeHolderText.set(this.placeHolder()),this.searchModel.set(""),this.searchQueryEntered.set(!1)),this.searchBoxLimit.set(this.globalSearchService.searchBoxLimit),this.typeaheadLimit.set(this.globalSearchService.typeaheadLimit)},0)}ngAfterViewInit(){const v=this.searchInputText();void 0!==v&&this.renderer.removeAttribute(v.nativeElement,"aria-multiline")}getPopupStatus(){const v=this.ngbTypeahead();return!!v&&v.isPopupOpen()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(G.b),o.rXU(D.H),o.rXU(c.nX),o.rXU(o.sFG),o.rXU(se.il),o.rXU(S.a))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-global-search-box"]],viewQuery:function(V,$){1&V&&(o.wEZ($.searchInputText,he,5),o.wEZ($.ngbTypeahead,Z.$n,5)),2&V&&o.NyB(2)},inputs:{placeHolder:[1,"placeHolder"],searchOrigin:[1,"searchOrigin"],buttonText:[1,"buttonText"],screenReader:[1,"screenReader"],searchScreenReader:[1,"searchScreenReader"],clearInput:[1,"clearInput"],allTranslations:[1,"allTranslations"]},features:[o.Jv_([D.H]),o.OA$],decls:17,vars:16,consts:[["searchInputText",""],["result",""],[1,"global-search-box",3,"ngClass"],[1,"global-search-container","onebox-container"],[1,"global-search-group"],["id","global-search-field-help","for","global-search-input",1,"sr-only"],["id","oneboxtextsearch","selectInputText","","autocomplete","off","type","text","aria-describedby","field-help","aria-autocomplete","list",1,"global-search-input",3,"keyup","selectItem","focus","ngModelChange","focusout","focusFirst","ngModel","resultTemplate","ngbTypeahead","maxlength","placeholder"],[1,"floating-label",3,"ngClass"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon"],["id","Oneboxsearch","type","button",1,"btn","globalSearchButton","search-submit-knowledge","overlapped",3,"click","disabled"],[1,"sr-only"],["alt","search image","aria-hidden","true",3,"src"],["data-name","Layer 1","xmlns","http://www.w3.org/2000/svg","width","30","height","30"],[1,"total-results"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter"],["data-name","Path 7420","d","m25.65 24.94-7.16-7.16a8.48 8.48 0 1 0-.71.71l7.16 7.16a.51.51 0 0 0 .36.15.49.49 0 0 0 .35-.15.5.5 0 0 0 0-.71zm-13.46-5.31a7.44 7.44 0 1 1 5.261-2.179 7.439 7.439 0 0 1-5.261 2.179z",2,"fill","#fff"],["data-name","Rectangle 6236","d","M0 0h30v30H0z",2,"fill","none"],[3,"result","term","id"]],template:function(V,$){if(1&V){const ue=o.RV6();o.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"label",5),o.EFF(4),o.k0s(),o.j41(5,"input",6,0),o.bIt("keyup",function(xe){return d.eBV(ue),d.Njj($.onKeyUpEvent(xe,$.searchModel()))})("selectItem",function(xe){return d.eBV(ue),d.Njj($.onOptionSelection(xe))})("focus",function(xe){return d.eBV(ue),d.Njj($.clearField(xe))}),o.mxI("ngModelChange",function(xe){return d.eBV(ue),o.DH7($.searchModel,xe)||($.searchModel=xe),d.Njj(xe)}),o.bIt("ngModelChange",function(xe){return d.eBV(ue),d.Njj($.onChangeInput(xe))})("focusout",function(xe){return d.eBV(ue),d.Njj($.restorePlaceHolderText(xe))}),o.k0s(),o.nVh(7,Oe,2,2,"span",7),o.nVh(8,Se,1,0,"a",8),o.j41(9,"button",9),o.bIt("click",function(){return d.eBV(ue),d.Njj($.getKnowledgeResult())}),o.j41(10,"span",10),o.EFF(11),o.k0s(),o.nVh(12,Ae,1,1,"img",11),o.nVh(13,Le,3,0,":svg:svg",12),o.k0s(),o.nVh(14,it,2,3,"div",13),o.DNE(15,ke,2,8,"ng-template",null,1,o.C5r),o.k0s()()()}if(2&V){const ue=o.sdS(16);o.Y8G("ngClass","rtl"===$.pageConfig().languageDirection?"rtl":"ltr"),o.R7$(4),o.JRh($.screenReader()),o.R7$(),o.Y8G("maxlength",o.mNQ($.searchBoxLimit()))("focusFirst",!1),o.R50("ngModel",$.searchModel),o.Y8G("resultTemplate",ue)("ngbTypeahead",$.search)("placeholder",$.visIdEnabled()?"":"{{placeHolderText()}}"),o.R7$(2),o.vxM($.visIdEnabled()?7:-1),o.R7$(),o.vxM($.searchQueryEntered()?8:-1),o.R7$(),o.Y8G("disabled",!$.searchQueryEntered()||$.buttonDisabled()),o.R7$(2),o.JRh($.searchScreenReader()),o.R7$(),o.vxM($.visIdEnabled()?12:-1),o.R7$(),o.vxM($.visIdEnabled()?-1:13),o.R7$(),o.vxM($.getPopupStatus()?14:-1)}},dependencies:[z.YU,K.YN,K.me,K.BC,K.tU,K.vS,Z.$n,X.R,Z.Qr,z.P9],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.global-search-box[_ngcontent-%COMP%], .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]{width:100%;font-family:HPSimplified;font-size:16px;display:flex;align-items:center;justify-content:center}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]{padding-left:15px;padding-right:10px}}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]{height:45px!important;width:397px;border:1px solid #ced4da;padding:.6rem 30px .6rem 20px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]{width:100%;max-width:100%}}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{min-width:390px;max-width:390px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{min-width:100px;width:calc(100% - 74px);max-width:100%}}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{position:relative;color:#aaa;padding:2px;font-size:15px;bottom:inherit;display:block;height:inherit;font-weight:400;font-family:HPControlIcons;margin-left:-30px!important;margin-right:10px}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:before{content:"\\e607"}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:hover, .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:focus{color:#767676;text-decoration:none}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]{padding:0!important;position:relative;width:49px!important;height:45px;left:-5px;text-align:center}.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-top:8px}.rtl.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]{direction:ltr;text-align:right;padding-left:30px;padding-right:20px}.rtl.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{margin-left:10px!important;margin-right:-30px}.rtl.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]{left:0}.rtl.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton.overlapped[_ngcontent-%COMP%]{right:-5px;border-radius:4px 0 0 4px!important}.rtl.global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{margin-left:6px;right:inherit}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]{justify-content:unset}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]{justify-content:unset;width:100%}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]{justify-content:left!important;position:relative;
1max-width:490px;padding-left:0;padding-right:0}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]{background:#fff;padding:0 75px 0 22px!important;width:100%;max-width:490px;height:48px!important;border-radius:0;border:1px solid #000000;color:#404040;font-family:Forma DJR UI;min-width:unset}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]:hover, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]:hover{background:#f3fbfe;border:1px solid #404040}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input.ng-valid[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input.ng-valid[_ngcontent-%COMP%]{box-shadow:none;padding:21px 75px 6px 20px!important}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]::-webkit-input-placeholder, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:transparent}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]:-moz-placeholder, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]:-moz-placeholder{color:transparent}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]::-moz-placeholder, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]::-moz-placeholder{color:transparent}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]:-ms-input-placeholder, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]:-ms-input-placeholder{color:transparent}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .global-search-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .global-search-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border-radius:0;box-shadow:none}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input.global-search-input[_ngcontent-%COMP%]:focus ~ .floating-label[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input.global-search-input[_ngcontent-%COMP%]:focus ~ .floating-label[_ngcontent-%COMP%], .vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .floating-label.txt-present[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .floating-label.txt-present[_ngcontent-%COMP%]{top:5px;left:20px;transform:none;opacity:1;
1font-family:Forma DJR UI;font-size:12px}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .global-search-field-help[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .global-search-field-help[_ngcontent-%COMP%]{display:none}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:12px;font-weight:400;line-height:normal;color:#adadad;position:absolute;pointer-events:none;left:20px;top:50%;transform:translateY(-50%);transition:.2s ease all;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 90px);text-align:left}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]{position:absolute;right:10px;left:unset;width:35px!important;height:35px;background-color:transparent;border-radius:50%!important;border:none}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:17.5px;height:17.5px}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]:focus, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]:focus{box-shadow:0 0 8px #0096d6;color:#fff}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{margin-left:-70px!important;color:#737373}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:focus, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:focus{background-color:none;box-shadow:none}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{min-width:490px;max-width:490px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu, .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{min-width:100px;width:calc(100% - 74px);max-width:100%}}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .total-results[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .total-results[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:12px;font-weight:400;line-height:normal;color:#404040;position:absolute;bottom:-22px;z-index:1000;left:20px}.vis-id[_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   input[type=text].global-search-input[_ngcontent-%COMP%]{padding:21px 15px 6px 75px!important}.vis-id[_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .floating-label[_ngcontent-%COMP%]{text-align:right;left:auto;right:25px}.vis-id[_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{right:auto!important;margin:0!important;position:absolute;left:60px;top:30%;transform:none}.vis-id[_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchButton[_ngcontent-%COMP%]{right:auto;left:20px!important;top:15%!important;transform:translateY(-48%);-webkit-transform:scaleX(-1)}.vis-id[_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .total-results[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .total-results[_ngcontent-%COMP%]{left:auto;right:15px}.vis-id[_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu, .vis-id   [_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu{margin-left:0!important}.vis-id[_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu .dropdown-item.active, .vis-id   [_nghost-%COMP%]   .global-search-box.rtl[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]     ngb-typeahead-window.dropdown-menu .dropdown-item.active{background-position:9px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]{justify-content:center}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]{justify-content:center}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]{width:100%}.vis-id[_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchContainer[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .global-search-box[_ngcontent-%COMP%]   .global-search-container[_ngcontent-%COMP%]   .global-search-group[_ngcontent-%COMP%]   .globalSearchContainer[_ngcontent-%COMP%]{padding:30px 0 8px}}']})}}return j})();var nt=i(49074);const Be=j=>({container:j});let Ue=(()=>{class j{constructor(v,V,$){this.appSelectorStore=v,this.pageService=V,this.destroyRef=$,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.oneBoxConfig=(0,d.vPA)({}),this.allTranslations=(0,d.vPA)({})}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,nt.pQ)(this.destroyRef)).subscribe(v=>{this.allTranslations.set(v),this.oneBoxConfig.set({placeholder:this.allTranslations()["#pps_WCC_FS_SearchResult_Page_Search_Box_Ghost_Text_1"],searchOrigin:"comingFromknowledge",screenReader:this.allTranslations()["#pps_WCC_FS_SearchResult_Page_Search_Box_Ghost_Text_1"],searchScreenReader:this.allTranslations()["#pps_WCC_FS_One_Box_Search_Button_Screenreader"]})})}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(I.q),o.rXU(G.b),o.rXU(d.abz))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-global-search"]],decls:2,vars:8,consts:[[1,"globalSearchContainer",3,"ngClass"],[3,"placeHolder","searchOrigin","screenReader","searchScreenReader","allTranslations"]],template:function(V,$){1&V&&(o.j41(0,"div",0),o.nrm(1,"app-global-search-box",1),o.k0s()),2&V&&(o.Y8G("ngClass",o.eq3(6,Be,$.pageConfig().isVisIdEnabled)),o.R7$(),o.Y8G("placeHolder",$.oneBoxConfig().placeholder)("searchOrigin",$.oneBoxConfig().searchOrigin)("screenReader",$.oneBoxConfig().screenReader)("searchScreenReader",$.oneBoxConfig().searchScreenReader)("allTranslations",$.allTranslations()))},dependencies:[z.YU,tt],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.globalSearchContainer[_ngcontent-%COMP%]{padding:20px 0;margin-inline:-14px}.vis-id[_nghost-%COMP%]   .globalSearchContainer[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .globalSearchContainer[_ngcontent-%COMP%]{max-width:1258px;margin:auto;padding:28px 20px 12px}@media only screen and (max-width:600px){.vis-id[_nghost-%COMP%]   .globalSearchContainer[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .globalSearchContainer[_ngcontent-%COMP%]{padding:28px 20px 8px}}"]})}}return j})();const at=j=>({"content-wrapper":j});function pt(j,Ce){if(1&j&&(o.j41(0,"div",5)(1,"div",8)(2,"a",9)(3,"span"),o.EFF(4),o.k0s()()(),o.j41(5,"div",8)(6,"a",10)(7,"span"),o.EFF(8),o.k0s()()(),o.j41(9,"div",8)(10,"a",11)(11,"span"),o.EFF(12),o.k0s()()()()),2&j){const v=o.XpG();o.R7$(2),o.Y8G("href",v.explore_url(),o.B4B),o.BMQ("aria-label",v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Cross_Navigation_Link_1"]),o.R7$(2),o.JRh(v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Cross_Navigation_Link_1"]),o.R7$(2),o.Y8G("href",v.shop_url(),o.B4B),o.BMQ("aria-label",v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Cross_Navigation_Link_2"]),o.R7$(2),o.JRh(v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Cross_Navigation_Link_2"]),o.R7$(2),o.BMQ("aria-label",v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Cross_Navigation_Link_3"]),o.R7$(2),o.JRh(v.allTranslations()["#pps_WCC_FS_SearchResult_Page_Cross_Navigation_Link_3"])}}function mt(j,Ce){1&j&&o.nrm(0,"hr",6)}function ht(j,Ce){if(1&j&&o.nrm(0,"app-recommended-solution",12),2&j){const v=o.XpG(2);o.Y8G("_promotionsResults",v.promotionsResults())("allTranslations",v.allTranslations())}}function _t(j,Ce){1&j&&o.nrm(0,"app-results-fall-back")}function Ct(j,Ce){1&j&&o.nrm(0,"app-service-down")}function ft(j,Ce){if(1&j&&(o.j41(0,"div",4),o.nVh(1,_t,1,0,"app-results-fall-back"),o.nVh(2,Ct,1,0,"app-service-down"),o.k0s()),2&j){const v=o.XpG(2);o.Y8G("ngClass",v.pageConfig().isVisIdEnabled&&(v.showFallbackText()||v.isServiceDown())?"content-wrapper no-bottom-line":""),o.R7$(),o.vxM(v.showFallbackText()&&!v.isServiceDown()?1:-1),o.R7$(),o.vxM(v.isServiceDown()?2:-1)}}function Pt(j,Ce){if(1&j&&o.nrm(0,"app-search-results-navigation",13),2&j){const v=o.XpG(2);o.Y8G("allTranslations",v.allTranslations())}}function gt(j,Ce){if(1&j&&(o.j41(0,"div",4),o.nVh(1,ht,1,2,"app-recommended-solution",12),o.nVh(2,ft,3,3,"div",4),o.nVh(3,Pt,1,1,"app-search-results-navigation",13),o.k0s()),2&j){let v;const V=o.XpG();o.Y8G("ngClass",o.eq3(4,at,V.pageConfig().isVisIdEnabled)),o.R7$(),o.vxM(V.showPromotions()&&null!=(v=V.promotionsResults())&&null!=v.matches&&v.matches.length&&!V.isServiceDown()?1:-1),o.R7$(),o.vxM(V.pageConfig().isVisIdEnabled?2:-1),o.R7$(),o.vxM(V.showNavigation()&&
1!V.isServiceDown()?3:-1)}}function ut(j,Ce){1&j&&o.nrm(0,"app-results-fall-back")}function bt(j,Ce){1&j&&o.nrm(0,"app-service-down")}function vt(j,Ce){if(1&j&&(o.j41(0,"div",4),o.nVh(1,ut,1,0,"app-results-fall-back"),o.nVh(2,bt,1,0,"app-service-down"),o.k0s()),2&j){const v=o.XpG();o.Y8G("ngClass",v.pageConfig().isVisIdEnabled&&(v.showFallbackText()||v.isServiceDown())?"content-wrapper":""),o.R7$(),o.vxM(v.showFallbackText()&&!v.isServiceDown()?1:-1),o.R7$(),o.vxM(v.isServiceDown()?2:-1)}}function Mt(j,Ce){1&j&&(o.j41(0,"div",7),o.nrm(1,"div",14),o.k0s())}const Ot=[{path:"",component:(()=>{class j{constructor(v,V,$,ue,Me,xe){this.pageService=v,this.searchResultsService=V,this.router=$,this.route=ue,this.appSelectorStore=Me,this.commonService=xe,this.pageConfig=(0,x.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,d.vPA)({}),this.authData=(0,d.vPA)(null),this.promotionsResults=(0,d.vPA)(null),this.showPromotions=(0,d.vPA)(!1),this.showNavigation=(0,d.vPA)(!0),this.showCrossNavigation=(0,d.vPA)(!1),this.isNoSearchResultRoute=(0,d.vPA)(!1),this.medalliaDisableInPN=(0,d.vPA)(!1),this.destroySubject$=new y.B,this.isServiceDown=(0,d.vPA)(!1),this.explore_url=(0,d.vPA)(""),this.shop_url=(0,d.vPA)(""),this.showFallbackText=(0,x.EW)(()=>{const Re=location.pathname.split("/").pop();return"en"!==this.pageConfig().lc&&("videos"===Re||"troubleshooting"===Re||"search"===Re)}),$.events.subscribe(Re=>{this.isNoSearchResultRoute.set(-1!==this.router.url.indexOf("no-results")),this.medalliaDisableInPN.set(-1!==this.router.url.indexOf("productnumber")),this.toggleNavLinks()})}ngOnInit(){this.appSelectorStore.fetchSscAction({pageName:"search"}),this.showRetiredProductModal(),this.searchResultsService.showPromotions.pipe((0,H.Q)(this.destroySubject$)).subscribe(V=>{this.showPromotions.set(V)}),this.searchResultsService.promotionsResults.pipe((0,H.Q)(this.destroySubject$)).subscribe(V=>{(0,W.A)(V)||this.promotionsResults.set(V)}),this.searchResultsService.serviceDownSub.pipe((0,H.Q)(this.destroySubject$)).subscribe(V=>{this.isServiceDown.set(V)}),this.appSelectorStore.fetchTranslations("search"),this.appSelectorStore.getAllTranslations$().pipe((0,H.Q)(this.destroySubject$)).subscribe(V=>{this.allTranslations.set(V),this.searchResultsService.updateMetaInfo(V)});const v=`https://support.hp.com/${this.pageConfig().cc}-${this.pageConfig().lc}/search`;this.pageService.loadCountrySpecificFontsAndStyles(this.commonService.getSanitizedUrl(v)),this.getSSCAndQueryParams().pipe((0,H.Q)(this.destroySubject$)).subscribe(V=>{if(V&&V.length>0){let $=V[0]?.sscKeys,ue=V[1]?.q;$.SEARCH_EXPLORE_LOCALISED_LINK&&$.SEARCH_SHOP_LOCALISED_LINK&&this.showCrossNavigation.set(!0),this.explore_url.set($.SEARCH_EXPLORE_LOCALISED_LINK?.includes("=")?$.SEARCH_EXPLORE_LOCALISED_LINK+encodeURI(ue):$.SEARCH_EXPLORE_LOCALISED_LINK),this.shop_url.set($.SEARCH_SHOP_LOCALISED_LINK?.includes("=")?$.SEARCH_SHOP_LOCALISED_LINK+encodeURI(ue):$.SEARCH_SHOP_LOCALISED_LINK)}}),this.toggleNavLinks()}getSSCAndQueryParams(){const v=[this.searchResultsService.getSearchPageSSC("search"),this.route.queryParams];return(0,m.z)(v)}toggleNavLinks(){this.showNavigation.set(!(this.router.url.includes("/search/no-results")||this.router.url.includes("/search/productnumber")))}showRetiredProductModal(){typeof sessionStorage<"u"&&(sessionStorage?.getItem("historicalProductData")&&JSON.parse(sessionStorage?.getItem("historicalProductData")))?.historicalWebSupportFlag&&this.commonService.openRetiredProductModal()}ngOnDestroy(){this.destroySubject$.next(),typeof sessionStorage<"u"&&delete sessionStorage.historicalProductData}static{this.\u0275fac=function(V){return new(V||j)(o.rXU(G.b),o.rXU(h.Q),o.rXU(c.Ix),o.rXU(c.nX),o.rXU(I.q),o.rXU(B.h))}}static{this.\u0275cmp=o.VBU({type:j,selectors:[["app-search-results"]],features:[o.Jv_([h.Q])],decls:12,vars:6,consts:[[1,"search-results-wrapper"],[1,"container"],[1,"row"],[1,"col-12"],[3,"ngClass"],[1,"navigation"],[1,"horizontal-rule"],[1,"searchResultsfeedbackContainer"],[1,"nav-link"],["target","_blank","id","opt-explore",3,"href"],["target","_blank","id","opt-shop",3,"href"],["tabindex","-1","href","'javascript:void(0)","target","_blank","id","opt-support"],[3,"_promotionsResults","allTranslations"],[3,"allTranslations"],["id","searchResultsFeedback"]],template:function(V,$){if(1&V&&(o.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),o.nrm(5,"app-global-search"),o.nVh(6,pt,13,8,"div",5),o.k0s(),o.nVh(7,mt,1,0,"hr",6),o.nVh(8,gt,4,6,"div",4),o.nrm(9,"router-outlet"),o.nVh(10,vt,3,3,"div",4),o.k0s()()()(),o.nVh(11,Mt,2,0,"div",7)),2&V){let ue;o.R7$(4),o.Y8G("ngClass",$.pageConfig().isVisIdEnabled?"content-wrapper":""),o.R7$(2),o.vxM($.showCrossNavigation()?6:-1),o.R7$(),o.vxM($.pageConfig().isMobile||$.pageConfig().isVisIdEnabled?-1:7),o.R7$(),o.vxM($.showPromotions()&&null!=(ue=$.promotionsResults())&&null!=ue.matches&&ue.matches.length&&!$.isServiceDown()||$.showNavigation()&&
1!$.isServiceDown()?8:-1),o.R7$(2),o.vxM($.pageConfig().isVisIdEnabled?-1:10),o.R7$(),o.vxM($.isNoSearchResultRoute()||$.medalliaDisableInPN()||$.isServiceDown()?-1:11)}},dependencies:[z.YU,Ue,Ze,u,C,oe,c.n3],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.search-results-wrapper[_ngcontent-%COMP%]{background:#eaeaea}.horizontal-rule[_ngcontent-%COMP%]{margin:0 0 30px}.container[_ngcontent-%COMP%]{padding-bottom:70px}.searchResultsfeedbackContainer[_ngcontent-%COMP%]{width:100%;background-color:#fff;display:flex;justify-content:center}.searchResultsfeedbackContainer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:805px}.vis-id[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding-bottom:0}.vis-id[_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]{background-color:#fff}.vis-id[_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:100%!important}.vis-id[_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]{padding:0!important}.vis-id[_nghost-%COMP%]   .container-wrapper[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .container-wrapper[_ngcontent-%COMP%]{max-width:1218px;width:100%;margin:auto}.vis-id[_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%]{border-bottom:1px solid #000000}.vis-id[_nghost-%COMP%]   .content-wrapper.no-bottom-line[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .content-wrapper.no-bottom-line[_ngcontent-%COMP%]{border-bottom:none}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]{display:flex;gap:16px;font-size:32px;line-height:40px;max-width:1234px;padding:0 8px;margin:auto}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:0;border-bottom:4px solid transparent}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:hover, .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:hover, .vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:active, .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:active{border-bottom-color:#000}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:has(#opt-support), .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:has(#opt-support){border-bottom-color:#000}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:flex;font-size:inherit;color:#737373;text-decoration:none;border:2px solid transparent;line-height:40px!important}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding:14px 10px;display:flex}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active, .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{color:#000}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible, .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{border-color:#0278ab}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{box-shadow:none}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a#opt-support[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a#opt-support[_ngcontent-%COMP%]{pointer-events:none;color:#000}.vis-id[_nghost-%COMP%]   .horizontal-rule[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .horizontal-rule[_ngcontent-%COMP%]{margin:0!important;border-top-color:#000}.vis-id[_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%]{justify-content:start;margin-bottom:-80px}.vis-id[_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1258px;margin:0 auto;padding:0 20px}.vis-id[_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%]:has(>div *), .vis-id   [_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%]:has(>div *){border-top:1px solid black;margin-bottom:0}@media only screen and (max-width:767px){.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]{font-size:16px;justify-content:center;line-height:24px}.vis-id[_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .navigation[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding:20px 12px}.vis-id[_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%]:has(>div *), .vis-id   [_nghost-%COMP%]   .searchResultsfeedbackContainer[_ngcontent-%COMP%]:has(>div *){margin-bottom:-32px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.vis-id[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding-bottom:0}}@media only screen and (min-width:1200px){.container[_ngcontent-%COMP%]{max-width:1218px!important}}@media only screen and (min-width:768px)and (max-width:991px),only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.vis-id[_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:unset;padding:0}.vis-id[_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%], .vis-id   [_nghost-%COMP%]   .search-results-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin:0}}"]})}}return j})(),data:{templateName:"Search",pageName:"search"},children:[{path:"",loadChildren:()=>Promise.resolve().then(i.bind(i,81046)).then(j=>j.SearchRoutes.SearchAll)},{path:"troubleshooting",loadChildren:()=>Promise.resolve().then(i.bind(i,81046)).then(j=>j.SearchRoutes.Troubleshooting)},{path:"videos",loadChildren:()=>Promise.resolve().then(i.bind(i,81046)).then(j=>j.SearchRoutes.Videos)},{path:"productnumber",data:{templateName:"Search",pageName:"search"},loadChildren:()=>Promise.resolve().then(i.bind(i,81046)).then(j=>j.SearchRoutes.ProductNumber)},{path:"no-results",data:{templateName:"Search",pageName:"search"},loadChildren:()=>Promise.resolve().then(i.bind(i,81046)).then(j=>j.SearchRoutes.NoResults)}]}],xt={SearchAll:[{path:"",loadComponent:()=>i.e("src_app_pages_search-results_search-all_search-all_component_ts").then(i.bind(i,49909)).then(j=>
1j.SearchAllComponent),data:{skipSSOCheck:!0}}],Troubleshooting:[{path:"",loadComponent:()=>i.e("src_app_pages_search-results_search-troubleshooting_search-troubleshooting_component_ts").then(i.bind(i,28075)).then(j=>j.SearchTroubleshootingComponent),data:{skipSSOCheck:!0,pageName:"search"}}],Videos:[{path:"",loadComponent:()=>i.e("src_app_pages_search-results_search-videos_search-videos_component_ts").then(i.bind(i,77795)).then(j=>j.SearchVideosComponent),data:{skipSSOCheck:!0,pageName:"search"}}],ProductNumber:[{path:"",loadComponent:()=>i.e("src_app_pages_search-results_search-product-number-box_search-product-number-box_component_ts").then(i.bind(i,78463)).then(j=>j.SearchProductNumberBoxComponent)}],NoResults:[{path:"",loadComponent:()=>i.e("src_app_pages_search-results_search-no-results_search-no-results_component_ts").then(i.bind(i,96771)).then(j=>j.SearchNoResultsComponent)}]}},24995(fe,re,i){i.d(re,{A:()=>r});var x=i(59484),d=i(16545),h=i(55261),H=i(60123),W=i(23151),y=i(71487);const c=function m(_,o,G,e){if(!(0,W.A)(_))return _;for(var J=-1,de=(o=(0,h.A)(o,_)).length,ce=de-1,ae=_;null!=ae&&++J<de;){var oe=(0,y.A)(o[J]),z=G;if("__proto__"===oe||"constructor"===oe||"prototype"===oe)return _;if(J!=ce){var B=ae[oe];void 0===(z=e?e(B,oe,ae):void 0)&&(z=(0,W.A)(B)?B:(0,H.A)(o[J+1])?[]:{})}(0,d.A)(ae,oe,z),ae=ae[oe]}return _},r=function L(_,o,G){for(var e=-1,J=o.length,de={};++e<J;){var ce=o[e],ae=(0,x.A)(_,ce);G(ae,ce)&&c(de,(0,h.A)(ce,_),ae)}return de}},76746(fe,re,i){i.d(re,{A:()=>d});const d=function x(h,H,W){var y=-1,m=h.length;H<0&&(H=-H>m?0:m+H),(W=W>m?m:W)<0&&(W+=m),m=H>W?0:W-H>>>0,H>>>=0;for(var c=Array(m);++y<m;)c[y]=h[y+H];return c}},85139(fe,re,i){i.d(re,{A:()=>c});var x=i(45839),d=i(5294),h=i(45618);var y=i(19247);const c=function m(L,r){return((0,y.A)(L)?x.A:d.A)(L,function H(L){return"function"==typeof L?L:h.A}(r))}},65644(fe,re,i){i.d(re,{A:()=>y});var x=i(7786),d=i(60190),h=i(87554),H=i(19247);const y=function W(m,c){return((0,H.A)(m)?x.A:h.A)(m,(0,d.A)(c,3))}},39422(fe,re,i){i.d(re,{A:()=>G});var x=i(24995),d=i(4863);var W=i(22383);const m=function y(e){return null!=e&&e.length?(0,W.A)(e,1):[]};var c=i(30513),L=i(78175);const G=function r(e){return(0,L.A)((0,c.A)(e,void 0,m),e+"")}(function(e,J){return null==e?{}:function h(e,J){return(0,x.A)(e,J,function(de,ce){return(0,d.A)(e,ce)})}(e,J)})},75507(fe,re,i){i.d(re,{A:()=>H});var x=i(76746),d=i(31933);const H=function h(W,y,m){return W&&W.length?(y=m||void 0===y?1:(0,d.A)(y),(0,x.A)(W,0,y<0?0:y)):[]}},61585(fe,re,i){i.d(re,{A:()=>de});var x=i(34902),d=i(33307),h=i(49267),H=i(64989),W=i(50679);var c=i(3365);const _=W.A&&1/(0,c.A)(new W.A([,-0]))[1]==1/0?function(ce){return new W.A(ce)}:function y(){},de=function J(ce){return ce&&ce.length?function G(ce,ae,oe){var z=-1,B=d.A,q=ce.length,S=!0,I=[],C=I;if(oe)S=!1,B=h.A;else if(q>=200){var T=ae?null:_(ce);if(T)return(0,c.A)(T);S=!1,B=H.A,C=new x.A}else C=ae?[]:I;e:for(;++z<q;){var g=ce[z],u=ae?ae(g):g;if(g=oe||0!==g?g:0,S&&u==u){for(var p=C.length;p--;)if(C[p]===u)continue e;ae&&C.push(u),I.push(g)}else B(C,u,oe)||(C!==I&&C.push(u),I.push(g))}return I}(ce):[]}}}]);
2//# sourceMappingURL=src_routes_search_results_routes_ts.9846edd73b027467.js.map

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.