PageSourceSearch

https://www.progold.eu/chunk-RUDZLFU4.js

js progold.eu collected 2026-10-09 21:53:05 UTC 72,406 bytes, 2 lines download raw bytes

1import{i as hi}from"./chunk-OQSEJWXG.js";import{a as _i,b as fi,c as Ci,d as X,e as Si}from"./chunk-IDUKOGGZ.js";import{a as vi}from"./chunk-HPSE4P3Y.js";import{b as mi,h as gi}from"./chunk-DBPN64ZI.js";import{c as yi,d as Pi,e as je}from"./chunk-QGBSX6B5.js";import"./chunk-XXVB45L4.js";import{a as di}from"./chunk-6UTUOTXC.js";import"./chunk-76J53O4D.js";import"./chunk-NEQO7ITA.js";import{c as ui,d as pi}from"./chunk-ILIGNJRC.js";import{a as Nt}from"./chunk-XJNXF36J.js";import"./chunk-OQWTUUQ3.js";import{d as Ut}from"./chunk-6LRNCJRQ.js";import"./chunk-BYUXZABT.js";import{Ba as qe,E as z,F as V,Fb as si,Gb as ai,H as xe,I as qt,Ib as li,J as Ee,K as Re,Kb as ci,M as jt,N as $t,Pa as ti,Qa as ii,db as ri,eb as oi,ga as q,h as be,ha as ze,i as Mt,ia as Jt,ja as Yt,k as wt,m as Ot,ma as ue,mb as ni,na as Le,r as Bt,ra as Wt,s as kt,sa as Xt,ta as Zt,u as Vt,ua as ei,wa as W}from"./chunk-CSKO464Y.js";import{f as Gt,g as Ht,h as Qt,i as Kt,j as zt,m as se}from"./chunk-RFZ65DFT.js";import"./chunk-ZAELU3GP.js";import{d as Pe,e as ve,g as Ke}from"./chunk-KCBWTIVH.js";import"./chunk-Q7LOV5U2.js";import"./chunk-ZS7OWNSY.js";import"./chunk-DIZWDXBB.js";import{Q as ne,R as Te}from"./chunk-Q4MTVQC2.js";import{b as k,d as Ft}from"./chunk-RRAYDVNW.js";import{Ba as Rt,Ea as x,Fc as Dt,Fd as ye,Na as d,Qa as Lt,a as oe,b as Se,c as D,ja as Et,lc as K,uc as It,yb as At}from"./chunk-WGWIBZ2L.js";import{$ as le,$b as T,$c as u,Cc as Ct,D as F,Fa as _,Ga as f,Gb as Be,Ib as m,Jb as de,Ka as dt,Kb as pt,La as ge,Ob as y,Oc as St,Oe as Q,Pa as _e,Pc as yt,Pd as vt,Pe as xt,Q as st,Qa as M,Qb as ke,Ra as ce,Rb as G,Sb as H,Ta as E,Tb as c,Tc as ie,Ub as l,Vb as I,X as at,Z as me,Zb as b,_c as Pt,ac as a,ad as B,cb as ut,ce as Tt,db as Y,dd as fe,de as bt,fd as Ce,hb as n,ic as ht,ja as Me,jc as mt,ka as lt,kc as gt,lb as Oe,ma as we,mc as Ve,na as ct,nb as Ue,nc as _t,oc as Ne,pc as g,qc as w,rc as P,sc as ft,tb as L,td as re,ua as R,w as J,wc as Ge,xc as He,ya as s,yc as Qe,ye as O,zb as v}from"./chunk-6LP6WHZQ.js";import{a as U,b as $,d as Fe,e as ot,i as nt}from"./chunk-5KTCK5IS.js";var Ti=(()=>{class r{constructor(){this.message=M()}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-contact-card"]],inputs:{message:[1,"message"]},decls:2,vars:1,consts:[[1,"card","px-4","py-2","mt-5","border-round-sm"],["data-test-id","contactCard.message",1,"text-sm","line-height-2",3,"innerHTML"]],template:function(t,i){t&1&&(c(0,"div",0),I(1,"div",1),l()),t&2&&(n(),m("innerHTML",i.message(),ut))},styles:[".card[_ngcontent-%COMP%]{background-color:var(--p-pds-surface-primary-extreme-soft)}"]})}}return r})();var $e=(function(r){return r.Paint="Paint",r.NonPaint="Non Paint",r.Color="Color Product",r})($e||{});function Gi(r,p){if(r&1&&(c(0,"th",6),g(1),l(),c(2,"th",7),g(3),l()),r&2){let e=a(2);n(),P(" ",e.resources().sheen," "),n(2),P(" ",e.resources().base," ")}}function Hi(r,p){if(r&1&&(c(0,"tr")(1,"th",3),g(2),l(),v(3,Gi,4,2),c(4,"th",4),g(5),l(),c(6,"th",5),g(7),l()()),r&2){let e=a();n(2),P(" ",e.resources().code," "),n(),y(e.type()===e.ProductType.Paint?3:-1),n(2),P(" ",e.resources().availableSizes," "),n(2),P(" ",e.resources().datasheets," ")}}function Qi(r,p){if(r&1&&(c(0,"td",18)(1,"strong",19),g(2),l(),g(3),l(),c(4,"td",20)(5,"strong",21),g(6),l(),g(7),l()),r&2){let e=a().$implicit,t=a();n(2),P(" ",t.resources().sheen," "),n(),P(" ",e.sheen," "),n(3),P(" ",t.resources().base," "),n(),P(" ",e.base," ")}}function Ki(r,p){r&1&&g(0," / ")}function zi(r,p){if(r&1&&(c(0,"a",16),I(1,"p-button",22),l()),r&2){let e=a().$implicit,t=a();m("href",e.datasheets.sds,Y),n(),m("label",t.resources().sds)("link",!0)}}function qi(r,p){if(r&1&&(c(0,"a",17),I(1,"p-button",23),l()),r&2){let e=a().$implicit,t=a();m("href",e.datasheets.tds,Y),n(),m("label",t.resources().tds)("link",!0)}}function ji(r,p){if(r&1&&(c(0,"tr",8)(1,"td",9)(2,"strong",10),g(3),l(),g(4),l(),v(5,Qi,8,4),c(6,"td",11)(7,"strong",12),g(8),l(),c(9,"span"),g(10),v(11,Ki,1,0),g(12),l()(),c(13,"td",13)(14,"strong",14),g(15),l(),c(16,"div",15),v(17,zi,2,3,"a",16)(18,qi,2,3,"a",17),l()()()),r&2){let e=p.$implicit,t=a();n(3),P(" ",t.resources().code," "),n(),P(" ",e.code," "),n(),y(t.type()===t.ProductType.Paint?5:-1),n(3),P(" ",t.resources().availableSizes," "),n(2),P(" ",e.availableSizes.weight," "),n(),y(e.availableSizes.weight&&e.availableSizes.volume?11:-1),n(),P(" ",e.availableSizes.volume," "),n(3),P(" ",t.resources().datasheets," "),n(2),y(t.isSafetyDataSheetAvailable()&&e.datasheets.sds?17:-1),n(),y(t.isDataSheetAvailable()&&e.datasheets.tds?18:-1)}}var bi=(()=>
1{class r{constructor(e,t){this.ref=e,this.config=t,this.ProductType=$e,this.BreakpointsPx=Rt,this.ResourceItem=d,this.resourceService=s(k),this.allowedDocumentTypesService=s(Le),this.items=E(this.config.data??[]),this.type=u(()=>this.items()[0]?.type),this.isSafetyDataSheetAvailable=this.allowedDocumentTypesService.safetyDataSheetAvailable,this.isDataSheetAvailable=this.allowedDocumentTypesService.dataSheetAvailable,this.resources=u(()=>({code:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_CODE),sheen:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SHEEN),base:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_BASE),availableSizes:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_AVAILABLE_SIZES),datasheets:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_DATASHEETS),sds:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SDS),tds:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_TDS)}))}static{this.\u0275fac=function(t){return new(t||r)(Oe(Mt),Oe(be))}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-datasheets-modal"]],decls:5,vars:2,consts:[["header",""],["body",""],["responsiveLayout","stack","styleClass","pb-4","data-test-id","datasheetsModal.table",3,"value","breakpoint"],["scope","col","data-test-id","datasheetsModal.header.code"],["scope","col","data-test-id","datasheetsModal.header.availableSizes"],["scope","col","data-test-id","datasheetsModal.header.datasheets"],["scope","col","data-test-id","datasheetsModal.header.sheen"],["scope","col","data-test-id","datasheetsModal.header.base"],["data-test-id","datasheetsModal.body"],["data-test-id","datasheetsModal.body.code"],["data-test-id","datasheetsModal.body.code.title",1,"p-datatable-column-title"],["data-test-id","datasheetsModal.body.availableSizes"],["data-test-id","datasheetsModal.body.availableSizes.title",1,"p-datatable-column-title"],["data-test-id","datasheetsModal.body.datasheets"],["data-test-id","datasheetsModal.body.datasheets.title",1,"p-datatable-column-title"],[1,"flex","flex-column"],["target","_blank","rel","noopener noreferrer","data-test-id","datasheetsModal.body.sdsLink",3,"href"],["target","_blank","rel","noopener noreferrer","data-test-id","datasheetsModal.body.tdsLink",3,"href"],["data-test-id","datasheetsModal.body.sheen"],["data-test-id","datasheetsModal.body.sheen.title",1,"p-datatable-column-title"],["data-test-id","datasheetsModal.body.base"],["data-test-id","datasheetsModal.body.base.title",1,"p-datatable-column-title"],["icon","pi pi-download","data-test-id","datasheetsModal.body.sdsButton",3,"label","link"],["icon","pi pi-download","data-test-id","datasheetsModal.body.tdsButton",3,"label","link"]],template:function(t,i){t&1&&(c(0,"p-table",2),v(1,Hi,8,4,"ng-template",null,0,ie)(3,ji,19,10,"ng-template",null,1,ie),l()),t&2&&m("value",i.items())("breakpoint",i.BreakpointsPx.TABLET+"px")},dependencies:[re,gi,mi,ne],styles:["@media all and (max-width:768px){[_nghost-%COMP%]     .p-datatable-tbody td{border:none}[_nghost-%COMP%]     .p-datatable-tbody tr{display:block;padding:1rem;border:1px solid var(--p-pds-surface-neutral-extreme-soft);border-radius:4px;margin-top:1rem}}"],changeDetection:0})}}return r})();function $i(r,p){if(r&1){let e=b();c(0,"li",5)(1,"a",6),T("click",function(){_(e);let i=a().$implicit,o=a(2);return f(o.handleLinkClick(i==null?null:i.Url,i==null?null:i.Type))}),g(2),l()()}if(r&2){let e=a().$implicit,t=a(2);n(),m("href",e==null?null:e.Url,Y)("target",t.urlTarget.BLANK),n(),w(t.resources().techDataSheetTypeLabel)}}function Ji(r,p){if(r&1&&v(0,$i,3,3,"li",5),r&2){let e=p.$implicit;y(e!=null&&e.Url?0:-1)}}function Yi(r,p){if(r&1&&(c(0,"div",1)(1,"h6",3),g(2),l(),c(3,"ul",4),G(4,Ji,1,1,null,null,ke),l()()),r&2){let e=a();n(2),w(e.resources().techDataSheetsHeader),n(2),H(e.dataSheetData().techDataSheets)}}function Wi(r,p){if(r&1){let e=b();c(0,"div",1)(1,"h6",7),g(2),l(),c(3,"ul",8)(4,"li",5)(5,"a",6),T("click",function(){let i=_(e),o=a();return f(o.handleLinkClick(i,o.assetType.SafetyDataSheet))}),g(6),l()()()()}if(r&2){let e=a();n(2),w(e.resources().safetyDataSheetsHeader),n(3),m("href",p,Y)("target",e.urlTarget.BLANK),n(),w(e.resources().safetyDataSheetTypeLabel)}}function Xi(r,p){if(r&1){let e=b();c(0,"li",5)(1,"a",6),T("click",function(){_(e);let i=a().$implicit,o=a(2);return f(o.handleLinkClick(i==null?null:i.Url,i==null?null:i.Type))}),g(2),l()()}if(r&2){let e=a().$implicit,t=a(2);n(),m("href",e==null?null:e.Url,Y)("target",t.urlTarget.BLANK),n(),w(t.resources()[(e==null?null:e.Type)||""])}}function Zi(r,p){if(r&1&&v(0,Xi,3,3,"li",5),r&2){let e=p.$implicit;y(e!=null&&e.Url?0:-1)}}function er(r,p){if(r&1&&(c(0,"div",1)(1,"h6",9),g(2),l(),c(3,"ul",10),G(4,Zi,1,1,null,null,ke),l()()),r&2){let e=a();n(2),w(e.resources().otherDocumentsHeader),n(2),H(e.dataSheetData().otherDocuments)}}function tr(r,p){if(r&1&&(c(0,"div",2),g(1),l()),r&2){let e=a();
1n(),w(e.resources().noDataSheetLabel)}}var xi=(()=>{class r{constructor(){this.#e=s(be),this.#t=s(k),this.#r=s(ve),this.#o=s(Le),this.#n=E(this.#e?.data),this.#s=u(()=>this.#o.dataSheetAvailable()&&this.#n()?.Assets?.filter(e=>e.Type===q.techDataSheets)||null),this.#i=u(()=>this.#o.safetyDataSheetAvailable()?this.#n()?.EhsData?.UrlSafetyDataSheet:null),this.#a=u(()=>{let e=this.#n()?.Assets?.filter(t=>t.Type===q.otherDocuments||t.Type===q.productDeclaration||t.Type===q.epd).sort((t,i)=>ze?.[t?.Type||""]-ze?.[i?.Type||""]);return e?.length?this.#o.filterOtherAvailableDocuments(e):e}),this.dataSheetData=u(()=>({techDataSheets:this.#s(),safeDataUrl:this.#i(),otherDocuments:this.#a()})),this.isNoDataSheetAvailable=u(()=>{let e=this.dataSheetData();return!e.techDataSheets?.length&&!e.safeDataUrl&&!e.otherDocuments?.length}),this.resources=u(()=>({dataSheetsAccordionHeader:this.#t.getResourceByKey(d.PRODUCT_DETAILS_DATA_SHEETS_HEADER),safetyDataSheetsHeader:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_SAFETY_DATA_SHEETS),safetyDataSheetTypeLabel:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_SAFETY_DATA_SHEET_TYPE),techDataSheetsHeader:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_TECH_DATA_SHEETS),techDataSheetTypeLabel:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_TECH_DATA_SHEET_TYPE),otherDocumentsHeader:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_OTHER_DOCUMENTS),noDataSheetLabel:this.#t.getResourceByKey(d.PRODUCT_LIST_PAGE_NO_DATA_SHEET_MESSAGE),[q.otherDocuments]:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_CERTIFICATE_TYPE),[q.productDeclaration]:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_PRODUCT_DECLARATION_TYPE),[q.epd]:this.#t.getResourceByKey(d.PRODUCT_DETAILS_ACCORDION_EPD_TYPE)})),this.assetType=V,this.urlTarget=Lt}#e;#t;#r;#o;#n;#s;#i;#a;handleLinkClick(e,t){e&&t&&this.#r.pushTag({event:"customEvent",eventCategory:"plp",eventAction:`plp_${t}_sheet`,eventLabel:`plp ${t} sheet`})}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-datasheets-simplified-modal"]],decls:5,vars:4,consts:[[1,"flex","flex-column","gap-5"],[1,"flex","flex-column","gap-2"],["data-test-id","dataSheets.noDataSheetMessage"],["data-test-id","dataSheets.techDataSheetsHeader",1,"m-0"],["data-test-id","dataSheets.techDataSheetsLinks",1,"flex","flex-column","gap-2","m-0","list-none","p-0"],[1,"py-1"],[1,"p-button","p-button-link",3,"click","href","target"],["data-test-id","dataSheets.safetyDataSheetsHeader",1,"m-0"],["data-test-id","dataSheets.safetyDataSheetLink",1,"flex","flex-column","gap-2","m-0","list-none","p-0"],["data-test-id","dataSheets.otherDocumentsHeader",1,"m-0"],["data-test-id","dataSheets.otherDocumentsLinks",1,"flex","flex-column","gap-2","m-0","list-none","p-0"]],template:function(t,i){if(t&1&&(c(0,"div",0),v(1,Yi,6,1,"div",1)(2,Wi,7,4,"div",1)(3,er,6,1,"div",1)(4,tr,2,1,"div",2),l()),t&2){let o,h,C;n(),y((o=i.dataSheetData().techDataSheets)!=null&&o.length?1:-1),n(),y((h=i.dataSheetData().safeDataUrl)?2:-1,h),n(),y((C=i.dataSheetData().otherDocuments)!=null&&C.length?3:-1),n(),y(i.isNoDataSheetAvailable()?4:-1)}},encapsulation:2,changeDetection:0})}}return r})();function rr(r,p){if(r&1){let e=b();c(0,"p-button",7),T("click",function(){_(e);let i=a();return f(i.onToggleFavoriteClick())}),l()}if(r&2){let e=a();m("text",!0)("icon",e.PrimeIcons.HEART_FILL)}}function or(r,p){if(r&1){let e=b();c(0,"p-button",7),T("click",function(){_(e);let i=a();return f(i.onToggleFavoriteClick())}),l()}if(r&2){let e=a();m("text",!0)("icon",e.PrimeIcons.HEART)}}var Ei=(()=>{class r{constructor(){this.yourProductsByColorResource=d.PRODUCT_LIST_PAGE_YOUR_PRODUCTS_BY_SELECTED_COLOR,this.PrimeIcons=Et,this.#e=s(ye),this.#t=s(Zt),this.#r=s(ei),this.#o=s(Xt),this.colorInfo=M.required(),this.tintsAndShades=M.required(),this.colorDetailsLink=u(()=>this.#e.getColorDetailsPath(this.colorInfo())),this.colorDetailsLinkQueryParams=u(()=>({[X]:this.tintsAndShades().id})),this.isFavorite=u(()=>{let e=this.colorInfo();return this.#o.favoriteColors().some(i=>i.productNumber===e.productNumber)}),this.isFontLight=E(!1),this.hex=u(()=>{let e=this.#t.stringToRgb(this.colorInfo().rgb);return this.#t.rgbToHex(e)})}#e;#t;#r;#o;onToggleFavoriteClick(){this.isFavorite()?this.#r.removeFromFavorites(this.colorInfo()):this.#r.addToFavorites(this.colorInfo())}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-product-list-preselected-color-info"]],inputs:{colorInfo:[1,"colorInfo"],tintsAndShades:[1,"tintsAndShades"]}
1,decls:12,vars:20,consts:[["ppgFontColorBasedOnBackground","",1,"flex","flex-column","justify-content-between","align-items-start","h-full","preselected-color-info-container",3,"fontSwitchedToLight","backgroundRGB"],["data-test-id","productListPage.preselectedColor.colorCodeContainer",1,"flex","flex-row","justify-content-between","align-items-center","w-full"],["data-test-id","productListPage.preselectedColor.yourProductsByColorText","ppgFontColorBasedOnBackground","",1,"m-0",3,"backgroundRGB"],["data-test-id","productListPage.preselectedColor.favoriteButton",3,"text","icon"],["data-test-id","productListPage.preselectedColor.linkToColorDetails",1,"flex","flex-column","color-details-link-container",3,"routerLink","queryParams"],["data-test-id","productListPage.preselectedColor.colorName","ppgFontColorBasedOnBackground","","lightFontColorValue","var(--ppg-product-list-preselected-color-details-link-color, var(--p-pds-on-surface-base-invers))","darkFontColorValue","var(--ppg-product-list-preselected-color-details-link-color, var(--p-pds-on-surface-neutral-extreme-strong))",1,"m-0",3,"backgroundRGB"],["data-test-id","productListPage.preselectedColor.colorCodeText","ppgFontColorBasedOnBackground","","lightFontColorValue","var(--ppg-product-list-preselected-color-details-link-color, var(--p-pds-on-surface-base-invers))","darkFontColorValue","var(--ppg-product-list-preselected-color-details-link-color, var(--p-pds-on-surface-neutral-strongest))",1,"m-0","flex-wrap","text-lg",3,"backgroundRGB"],["data-test-id","productListPage.preselectedColor.favoriteButton",3,"click","text","icon"]],template:function(t,i){t&1&&(c(0,"div",0),T("fontSwitchedToLight",function(h){return i.isFontLight.set(h)}),c(1,"div",1)(2,"h5",2),g(3),St(4,"resourceValue"),l(),v(5,rr,1,2,"p-button",3)(6,or,1,2,"p-button",3),l(),c(7,"a",4)(8,"h1",5),g(9),l(),c(10,"p",6),g(11),l()()()),t&2&&(de("--color-details-rgb-value",i.hex()),pt("banner-background",!!i.colorInfo().rgb)("dark-font",!i.isFontLight())("light-font",i.isFontLight()),m("backgroundRGB",i.colorInfo().rgb),n(2),m("backgroundRGB",i.colorInfo().rgb),n(),P(" ",yt(4,18,i.yourProductsByColorResource)," "),n(2),y(i.isFavorite()?5:6),n(2),m("routerLink",i.colorDetailsLink())("queryParams",i.colorDetailsLinkQueryParams()),n(),m("backgroundRGB",i.colorInfo().rgb),n(),P(" ",i.colorInfo().colorName," "),n(),m("backgroundRGB",i.colorInfo().rgb),n(),P(" ",i.colorInfo().colorCode," "))},dependencies:[Te,ne,li,Ft,xt],styles:[`.preselected-color-info-container{padding:var(--p-pds-unit-600) var(--p-pds-unit-400)}@media all and (min-width:768px){.preselected-color-info-container{padding:var(--p-pds-unit-1000)}}.preselected-color-info-container .banner-background{box-shadow:0 0 0 100vmax var(--color-details-rgb-value);clip-path:inset(0 -100vmax);background-color:var(--color-details-rgb-value);min-height:188px;max-height:290px;position:relative;z-index:0}.preselected-color-info-container.dark-font .p-button.p-button-text:hover{background-color:var(--p-pds-base-colors-alpha-b10);color:inherit}.preselected-color-info-container.light-font .p-button.p-button-text:hover{background-color:var(--p-pds-base-colors-alpha-w10);color:inherit}.preselected-color-info-container .p-button.p-button-text:enabled:active{background-color:var(--p-pds-surface-base);border-color:var(--p-pds-surface-primary-medium);color:var(--p-pds-on-surface-neutral-strongest)}.preselected-color-info-container .p-button{border-radius:var(--p-pds-radii-100)}.preselected-color-info-container .p-button:not(:hover){color:inherit}.preselected-color-info-container .tints-and-shades-header{margin-top:32px;margin-bottom:66px}.preselected-color-info-container .color-details-link-container{gap:var(--p-pds-unit-100);text-decoration:none}.preselected-color-info-container .color-details-link-container h1{text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.preselected-color-info-container .color-details-link-container:hover h1{text-decoration-line:none}.preselected-color-info-container .color-details-link-container:focus-visible{--ppg-product-list-preselected-color-details-link-color: var(--color-base-black, #000);background-color:var(--p-pds-surface-base, #fff)}.preselected-color-info-container .color-details-link-container:focus-visible h1{text-decoration-line:none}
2`],encapsulation:2,changeDetection:0})}}return r})();var nr=(r,p)=>p.identifier;function sr(r,p){if(r&1){let e=b();c(0,"a",4),T("click",function(){let i=_(e).$implicit,o=a();return f(o.selectCategory(i))})("keydown.enter",function(){let i=_(e).$implicit,o=a();return f(o.selectCategory(i))}),g(1),l()}if(r&2){let e=p.$implicit;n(),P(" ",e.name," ")}}var Ri=(()=>
2{class r{constructor(){this.categories=M.required(),this.header=M(),this.selectedCategory=_e()}selectCategory(e){this.selectedCategory.emit(e)}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-product-categories"]],inputs:{categories:[1,"categories"],header:[1,"header"]},outputs:{selectedCategory:"selectedCategory"},decls:8,vars:5,consts:[["expandIcon","pi pi-chevron-right","collapseIcon","pi pi-chevron-down",3,"value"],["data-test-id","productCategory.headerDesktop",1,"border-round-md","mb-1",3,"value"],[1,"flex","flex-column","align-items-start","align-self-stretch","gap-2"],["tabindex","0","data-test-id","productCategories.category",1,"p-button","p-button-link","justify-content-start","text-left","text-sm","no-underline","px-2","py-1"],["tabindex","0","data-test-id","productCategories.category",1,"p-button","p-button-link","justify-content-start","text-left","text-sm","no-underline","px-2","py-1",3,"click","keydown.enter"]],template:function(t,i){t&1&&(c(0,"p-accordion",0)(1,"p-accordion-panel",1)(2,"p-accordion-header"),g(3),l(),c(4,"p-accordion-content")(5,"div",2),G(6,sr,2,1,"a",3,nr),l()()()()),t&2&&(m("value",0),Be("aria-label",i.header()),n(),m("value",0),Be("aria-label",i.header()),n(2),w(i.header()),n(3),H(i.categories()))},dependencies:[re,zt,Kt,Gt,Ht,Qt,hi],styles:["[_nghost-%COMP%]     .p-button{width:100%;color:var(--p-pds-on-surface-neutral-extreme-strong)}[_nghost-%COMP%]     .p-button.p-button-link:focus{box-shadow:unset;border:none}[_nghost-%COMP%]     .p-accordion .p-accordionheader .p-accordionheader-toggle-icon{width:var(--font-size-xs)}[_nghost-%COMP%]     .p-accordionpanel{margin-bottom:4px}[_nghost-%COMP%]     .p-accordioncontent-content{border-bottom-left-radius:6px;border-bottom-right-radius:6px}[_nghost-%COMP%]     .p-accordionheader{border-top-left-radius:6px;border-top-right-radius:6px}"],changeDetection:0})}}return r})();var ar=(r,p)=>p.identifier;function lr(r,p){if(r&1){let e=b();c(0,"a",2),T("click",function(){let i=_(e).$implicit,o=a();return f(o.selectCategory(i))})("keydown.enter",function(){let i=_(e).$implicit,o=a();return f(o.selectCategory(i))}),g(1),l()}if(r&2){let e=p.$implicit;n(),P(" ",e.name," ")}}var Li=(()=>{class r{constructor(){this.categories=M.required(),this.selectedCategory=_e()}selectCategory(e){this.selectedCategory.emit(e)}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-product-categories-list"]],inputs:{categories:[1,"categories"]},outputs:{selectedCategory:"selectedCategory"},decls:3,vars:0,consts:[[1,"categories-list"],["role","button","tabindex","0","data-test-id","productCategories.category",1,"p-button","p-button-link","menu-link"],["role","button","tabindex","0","data-test-id","productCategories.category",1,"p-button","p-button-link","menu-link",3,"click","keydown.enter"]],template:function(t,i){t&1&&(c(0,"div",0),G(1,lr,2,1,"a",1,ar),l()),t&2&&(n(),H(i.categories()))},styles:["[_nghost-%COMP%]   .categories-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--p-pds-unit-400);padding-top:var(--p-pds-unit-400);width:100%}[_nghost-%COMP%]   .menu-link[_ngcontent-%COMP%]{color:var(--p-pds-on-surface-neutral-extreme-strong);font-size:var(--p-pds-typography-body-medium-size);text-decoration:none;justify-content:flex-start;width:100%}"],changeDetection:0})}}return r})();var Ai=(()=>{class r{constructor(){this.resourceService=s(k),this.message=u(()=>this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_NO_PRODUCTS))}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-product-list-empty"]],decls:2,vars:1,consts:[["data-test-id","productListEmpty.message",1,"text-sm"]],template:function(t,i){t&1&&(c(0,"div",0),g(1),l()),t&2&&(n(),w(i.message()))},encapsulation:2})}}return r})();var Ae="productLine",ae="productline",Je="ProductLines",Ye="ProductLineSlugs";var Ii=nt($t());var cr="q",We=(()=>{class r{constructor(){this.#e=s(O),this.#t=s(Wt),this.#r=s(Ut),this.#o=s(K),this.#n=s(Re),this.#s=s(Ee),this.#i=u(()=>{let e=this.#o.getSiteFlag(x.ColorToProductJourneyEnabled);return this.#o.getSiteFlag(x.ProductJourneyColorSampleOrderingEnabled)||e}),this.#a=u(()=>this.#o.getSiteFlag(x.ColorJourneyUseTradeNameCode)),this.#l=this.#e.queryParams.pipe(F(e=>{let t=e[cr];
2t?.includes("?")&&(t=t.slice(0,t.indexOf("?")));let i=e[W];return i?.includes("?")&&(i=i.slice(0,i.indexOf("?"))),{searchQuery:t,colorEmg:i}})),this.#d=this.#l.pipe(ct(this.#c.bind(this),{})),this.state=D(this.#d,{initialValue:null})}#e;#t;#r;#o;#n;#s;#i;#a;#l;#d;#c(e,t){return t.searchQuery&&t.searchQuery!==e.searchQuery?J({searchQuery:t.searchQuery}):t.searchQuery&&t.searchQuery===e.searchQuery?J(e):!t.colorEmg||!this.#i()?J({}):t.colorEmg===e.colorEmg?J(e):this.#u(t.colorEmg)}#u(e){return this.#t.getColorInfo([e]).pipe(F(t=>t[0]||null),we(t=>this.#p(t,e)))}#p(e,t){return this.#m(e)?J(this.#_(t)):this.#g(e,t)}#m(e){return!e||!e.brandColorCode}#g(e,t){let i=e.brandColorCode;return this.#a()?this.#h(i,t):this.#f(i,t)}#_(e){return{searchQuery:null,colorEmg:e,productNumbers:[],tradeNameCodes:[]}}#h(e,t){return this.#r.getProductsColor(e).pipe(F(i=>({searchQuery:null,colorEmg:t,productNumbers:null,tradeNameCodes:i.map(o=>o.productNumber)})))}#f(e,t){return this.getProductsNumbers().pipe(we(i=>this.#C(i,e,t)))}#C(e,t,i){return this.#r.getProductsColor(t).pipe(F(o=>this.#S(o,e,i)))}#S(e,t,i){let o=this.#y(e,t);return{searchQuery:null,colorEmg:i,productNumbers:o,tradeNameCodes:null}}#y(e,t){return e.filter(i=>this.#P(i,t)).map(i=>i.productNumber)}#P(e,t){return t.some(i=>i.ProductNumber===e.productNumber)}getProductsNumbers(){let e=this.#s.productJourneySettings();if(!e)return J([]);let t=this.#n.createAssortmentQuery(e,[{Type:V.Front,Quality:z.OriginalImage,sequence:1}]);return this.#n.getAssortment(e.assortmentId,t,(0,Ii.createQueryBuilderV4)("products",new xe).select("ProductNumber").build())}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac})}}return r})();var pr="click",hr="Product Details Page opened",Fi=1,mr=1,N=0,Z=(()=>{class r extends yi{#e;#t;#r;constructor(){super(),this.activatedRoute=s(O),this.currentSiteState=s(K),this.destroyRef=s(ge),this.siteSettingsService=s(se),this.sessionConfigService=s(Nt),this.categoryService=s(ue),this.resourceService=s(k),this.#e=u(()=>this.currentSiteState.getSiteFlag(x.ColorJourneyUseTradeNameCode)),this.filtersPerGroupLimit=u(()=>this.siteSettingsService.getNumericSiteSettingValueByKey(x.ProductJourneyProductListFilterItemsPerGroupLimit)??100),this.indexTemplate=u(()=>this.sessionConfigService.currentConfiguration().algolia?.productIndex??""),this.useDynamicWidgets=E(!0),this.shouldSyncPaginationState=E(!0),this.useHierarchicalMenuWidget=E(!0),this.hierarchicalMenuAttributes=this.categoryService.categoriesHierarchy,this.#t=u(()=>this.createFilter()),this.#r=E(""),this.searchParameters=u(()=>({hitsPerPage:this.hitsPerPage(),page:this.page(),query:this.query(),filters:this.buildFiltersWithLanguage(this.#t()),maxValuesPerFacet:this.getFiltersPerFacetLimit()})),this.productHits=u(()=>this.hits().map(e=>$(U({},e),{sendInsights:()=>this.sendEventFunction?.(pr,e,hr)}))),this.state=E(null),this.categories=u(()=>je(this.hierarchicalMenuItems())),this.categoryGroup=u(()=>[{label:"category",value:"category",isSelectedTab:!0,isExpanded:!1,filters:[...je(this.hierarchicalMenuItems())].map(([e])=>({checked:!1,value:e,label:this.categoriesMap().get(e)?.Name[0].Translation??""}))}]),this.categoriesMap=this.categoryService.categoriesWithPath,this.#o(),this.#n(),this.#i()}getFiltersPerFacetLimit(){return this.filtersPerGroupLimit()}getLocalizedFilterLabel(e){let t=Jt[e];return t&&this.resourceService.getResourceByKey(d[t])||e}getLocalizedFilterValueLabel(e,t){let i=Yt[`${e}_${t}`];return i&&this.resourceService.getResourceByKey(d[i])||t}refineFilters(e,t){this.filterMap()[e].refine(t)}isFilterAttributeExist(e){return!!this.filterMap()[e]}clearFilters(){this.clearRefinements()}applyFacetFilters(e){this.applyFacetFiltersBatch(e)}applyRefinements(e){this.applyRefinementsBatch(e)}setState(e){this.state.set(e)}#o(){this.initializeSearchInstance(),this.widgets=this.createBaseWidgets();let e=this.activatedRoute.snapshot.queryParams.q||"";this.query.set(e);let t=this.activatedRoute.snapshot.queryParams.category||"";this.#r.set(t),this.startSearch(),t&&this.selectCategory(this.#s(t))}#n(){this.activatedRoute.queryParams.pipe(oe(this.destroyRef)).subscribe(e=>{let t=e.q||"",i=e.category||"";t!==this.query()&&(this.query.set(t),this.search(t)),i!==this.#r()&&(this.#r.set(i),this.selectCategory(this.#s(i)))})}#s(e){return e?this.categoriesMap().get(e)?.path??e:""}#i(){B(()=>{this.state()!==null&&this.updateSearchParameters(this.searchParameters())})}createFilter(){let e=this.state(),t=`${Pi.Discontinued}:false`;if(!this.#a(e))return t;let i=this.#l(e);return this.#h(t,i)}#a(e){return!!(e&&(e.productNumbers?.length||e.tradeNameCodes?.length||e.colorEmg))}#l(e){let t=[],i=this.#d(e),o=this.#c(e,i);o&&t.push(o);let h=this.#_(e,o);return h&&t.push(h),t}#d(e){let t=e.colorEmg?mr:N;return 1e3-Fi-t}#c(e,t){return this.#e()?this.#u(e.tradeNameCodes,t):this.#p(e.productNumbers,t)}#u(e,t){return e?.length?this.#m(e,t):null}#p(e,t){return e?.length?this.#g(e,t):null}#m(e,t){let i=e.slice(N,Math.max(N,t));return i.length===N?null:i.map(h=>`TradeNameCode:${h}`).join(` ${"OR"} `)}#g(e,t){let i=e.slice(N,Math.max(N,t));return i.length===N?null:i.map(h=>`ProductNumber:${h}`).join(` ${"OR"} `)}#_(e,t){if(!e.colorEmg)return null;let i=t?t.split(` ${"OR"} `).length:N,o=Fi+i;return 1e3-o>N?`Colors:${e.colorEmg}`:null}#h(e,t){if(t.length===N)return e;let i=t.join(` ${"OR"} `);return`${e} ${"AND"} (${i})`}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Mi=nt($t());var ee=(function(r){return r.FinishType="Finish type (Gloss grade)",r.CompositionBase="Composition base",r.ProductType="Product Type Kentico",r})(ee||{});var wi=(()=>{class r{#e=s(Re);#t=s(Ee);getDatasheets(e,t=!0){let i=this.#t.productJourneySettings();if(!i)throw new Error("Product journey settings not found");let o=[{Type:V.Front,Quality:z.OriginalImage,sequence:1},{Type:V.DataSheet,Quality:z.OriginalImage,sequence:1},{Type:V.EPD,Quality:z.OriginalImage,sequence:1},{Type:V.Certificate,Quality:z.OriginalImage,sequence:1},{Type:V.ProductDeclaration,Quality:z.OriginalImage,sequence:1}],h=this.#e.createAssortmentQuery(i,o),C=this.createQuery(e);return this.#e.getAssortment(i.assortmentId,h,C).pipe(F(S=>t?this.mapProductToDataSheetsTable(S[0]):S[0]))}createQuery(e){return(0,Mi.createQueryBuilderV4)("products",new xe).select("ProductNumber").expand("EhsData","Attributes","Assets","Items").expanding("Items",t=>t.expand("Attributes","LogisticsData")).filter(qt.ProductNumber.eq(e)).build()}mapProductToDataSheetsTable(e){let t=e.EhsData?.UrlSafetyDataSheet,i=e.Assets?.find(S=>S.Type==="Data Sheet")?.Url,o=e.Attributes.find(S=>S.Name===ee.FinishType)?.Values[0],h=e.Attributes.find(S=>S.Name===ee.CompositionBase)?.Values[0],C=e.Attributes.find(S=>S.Name===ee.ProductType)?.Values[0];return e.Items?.map(S=>{let te=S.Attributes.find(De=>De.Name===ee.FinishType)?.Values[0],Ni=S.Attributes.find(De=>De.Name===ee.CompositionBase)?.Values[0],it=S.LogisticsData?.NetWeight,rt=S.LogisticsData?.NetVolume;return{code:S.ArticleNumber??"",sheen:te??o,base:Ni??h,type:C??"",availableSizes:{weight:it?`${it} ${S.LogisticsData?.WeightUOM}`:null,volume:rt?`${rt} ${S.LogisticsData?.VolumeUOM}`:null},datasheets:{sds:t,tds:i}}})??[]}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Xe=(()=>
2{class r{constructor(){this.#e=s(Q),this.#t=s(O),this.#r=s(K),this.#o=s(Ci),this.#n=s(Si),this.#s=this.#t.queryParams.pipe(F(e=>e[W]||null),le(),Me(1)),this.#i=this.#n.getStripeIdFromQueryParams(this.#t.queryParams),this.#a=this.#t.queryParams.pipe(F(e=>e[qe]||null),le(),Me(1)),this.#l=D(this.#a,{initialValue:null}),this.#d=u(()=>this.#r.getSiteFlag(x.ColorJourneyTintsAndShadesEnabled)),this.colorToProductJourneyEnabled=u(()=>this.#r.getSiteFlag(x.ColorToProductJourneyEnabled)),this.#c=D(this.#o.getTintsAndShadesByParams({productNumber:this.#s,stripeId:this.#i,tintsAndShadesEnabled:Se(this.#d),allowSingleColor:!0}),{initialValue:null}),this.preselectedColorNumber=D(this.#s,{initialValue:null}),this.preselectedColorTintsAndShadesInfo=u(()=>{let e=this.preselectedColorNumber(),t=this.#c();if(!this.colorToProductJourneyEnabled()||!e||!t)return null;let o=t.colors.find(C=>C.productNumber===e)??null,h=this.#l();return{productNumber:e,colorInfo:o,tintsAndShades:t,activeTileHasView:!!o?.isValid&&!!(o.image||o.rgb),colorSwitchLink:C=>({routerLink:[],queryParams:this.#u(C,t,h)})}})}#e;#t;#r;#o;#n;#s;#i;#a;#l;#d;#c;initQueryParamsHandling(){return this.#n.initStripeIdQueryParamsUpdater({router:this.#e,relativeTo:this.#t,stripeId:u(()=>this.#c()?.id||null),stripeIdFromQueryParams:D(this.#i,{initialValue:null}),enabled:this.colorToProductJourneyEnabled})}#u(e,t,i){let o={[W]:e.productNumber,[X]:t.id};return i?$(U({},o),{[qe]:i}):o}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac})}}return r})();var j=(function(r){return r.FilterClick="plp_filter_click",r.FilterClearAll="plp_filter_clear_all",r.FilterSearch="plp_filter_search",r.ProductJourneyFilters="Filters",r.EventLabelClick="click",r})(j||{});var Ui=(()=>{class r{#e=s(ve);viewProductListPageGTMTag(e,t,i){this.#e.pushTag({event:"view_item_list",customerJourneyInformation:{customerJourney:"Interest"},ecommerce:{item_list_id:t,item_list_name:i,items:Oi(e),location_id:null}})}selectItemGTMTag(e,t,i){this.#e.pushTag({event:"select_item",customerJourneyInformation:{customerJourney:"Interest"},ecommerce:{item_list_id:t,item_list_name:i,items:Oi([e])}})}filterUsageGTMTag(e,t){this.#e.pushTag({event:j.FilterClick,customerJourneyInformation:{customerJourney:Ke.Interest},filter_selected:e,filter_block_selected:t})}clearAllFiltersGTMTag(){this.#e.pushTag({event:Pe.CustomEvent,eventAction:j.FilterClearAll,productJourneyInformation:{productJourney:j.ProductJourneyFilters},eventLabel:j.EventLabelClick})}filtersSearchGTMTag(e,t){this.#e.pushTag({event:Pe.CustomEvent,eventAction:j.FilterSearch,productJourneyInformation:{productJourney:j.ProductJourneyFilters},filter_selected:e,filter_block_selected:t})}pushSeeAllGTMTag(e,t){this.#e.pushTag({event:Pe.CustomEvent,eventAction:e,filterType:t,customerJourneyInformation:{customerJourney:Ke.Product}})}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();function Oi(r){return r.map(p=>({item_id:p.objectID,item_name:p.Name,index:p.__position??null,item_brand:p.Brand??null,item_category:p.Categories?.lvl0?.[0]??null,item_category2:p.Categories?.lvl0?.[1]??null,item_category3:p.Categories?.lvl0?.[2]??null,item_category4:p.Categories?.lvl0?.[3]??null,item_category5:p.Categories?.lvl0?.[4]??null}))}var Ze=(()=>{class r{constructor(){this.#e=s(O),this.#t=s(Q),this.#r=s(Ce),this.#o=s(Z),this.#n=E(!1),this.#s=D(this.#e.queryParamMap,{initialValue:this.#e.snapshot.queryParamMap}),this.#i=E([]),this.#a=u(()=>this.#s().get(ae)??this.#s().get(Ae)),this.#l=u(()=>{let e=this.#o.responseFacets();if(!e||!e[Je]||!e[Ye])return[];let t=Object.keys(e[Je]),i=Object.keys(e[Ye]);return t.map((o,h)=>[o,i[h]])}),this.canonicalProductLineParam=u(()=>{let e=this.#a();if(!e)return null;let t=e.split(",").map(i=>i.trim()).filter(i=>!!i).map(i=>this.#p(i)??i);return t.length?t.join(","):null})}#e;#t;#r;#o;#n;#s;#i;#a;#l;handleFilterChange(e){let t=this.#c(e),i=this.#i(),o=i.includes(t)?i.filter(C=>C!==t):[...i,t],h=o.join(",")||null;return this.#t.navigate([],{relativeTo:this.#e,queryParams:{[Ae]:null,[ae]:h},queryParamsHandling:"merge"}),this.#i.set(o),o}syncQueryToFilters(e){if(this.#n())return[];let t=this.#i(),i=(this.#a()??"").split(",").map(o=>this.#p(o)).filter(o=>!!o);return!this.#o.isFilterAttributeExist(e)||this.#d(t,i)?t:(i.forEach(o=>{t.includes(o)||this.#o.refineFilters(e,this.#u(o))}),t.forEach(o=>{i.includes(o)||this.#o.refineFilters(e,this.#u(o))}),this.#i.set(i),i)}clear(){var C,S;this.#n.set(!0),this.#i.set([]);let e=this.#r.path(!0),t=this.#t.parseUrl(e),te=t.queryParams,{[C=Ae]:i,[S=ae]:o}=te,h=ot(te,[Fe(C),Fe(S)]);t.queryParams=h,this.#t.navigateByUrl(t).finally(()=>{this.#n.set(!1)})}clearWithoutUrlSync(){this.#i.set([])}#d(e,t){return e.length!==t.length?!1:e.every((i,o)=>i===t[o])}#c(e){let i=this.#l().find(([o])=>o===e);return i?i[1]:""}#u(e){let i=this.#l().find(([,o])=>o===e);return i?i[0]:""}#p(e){let t=this.#l(),i=t.find(([,h])=>h===e);if(i)return i[1];let o=t.find(([h])=>h===e);if(o)return o[1]}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac})}}return r})();var pe="index",he="size";var Bi=(()=>
2{class r{constructor(){this.#e=E(new Map),this.activeFilters=this.#e.asReadonly()}#e;setFilter(e,t,i){let o=this.#t(this.#e()),h=o.get(e)??new Set;i?(h.add(t),o.set(e,h)):(h.delete(t),h.size>0?o.set(e,h):o.delete(e)),this.#e.set(o)}clearAllFilters(){this.#e.set(new Map)}hydrateFromURL(e){this.#e.set(this.#t(e))}#t(e){let t=new Map;return e.forEach((i,o)=>{t.set(o,new Set(i))}),t}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var gr=2048,et=new Set(["category","productline","productLine","color_emg","stripe_id","q",pe,he,"page"]),ki=(()=>{class r{#e=s(Q);#t=s(Ce);#r=s(fe);#o=null;initializeValidFacets(e){this.#o=new Set(e.map(t=>t.trim()).filter(t=>t.length>0))}parseFiltersFromURL(){let t=this.#u().queryParams??{},i=new Map;return Object.keys(t).forEach(o=>{if(et.has(o)||this.#o&&this.#o.size>0&&!this.#o.has(o))return;let h=t[o],C=this.#a(h);C.length>0&&i.set(o,new Set(C))}),i}updateURL(e,t){let i=this.#n(),o=this.#s(e,i,t);this.#l(o)||this.#c(o)}clearFiltersFromURL(){let e=this.#n();this.#c(e)}#n(){let t=this.#u().queryParams??{},i={};return Object.keys(t).forEach(o=>{et.has(o)&&t[o]!==void 0&&t[o]!==null&&t[o]!==""&&(i[o]=t[o].toString())}),i}#s(e,t,i){let o=U({},t);return e.forEach((h,C)=>{if(et.has(C))return;let S=this.#i(Array.from(h));S.length>0&&(o[C]=S.join(","))}),i?.index!==void 0&&(o[pe]=i.index.toString()),i?.size!==void 0&&(o[he]=i.size.toString()),o}#i(e){return e.map(t=>t.trim()).filter(t=>t.length>0)}#a(e){return typeof e!="string"?[]:this.#i(e.split(","))}#l(e){return this.#d(e)>gr}#d(e){let t=this.#u();t.queryParams=e;let i=this.#e.serializeUrl(t);return`${this.#r?.location?.origin??""}${i}`.length}#c(e){let t=this.#u();t.queryParams=e;let i=this.#t.getState();this.#t.replaceState(this.#e.serializeUrl(t),"",i)}#u(){let e=this.#t.path(!0);return e&&e.length>0?this.#e.parseUrl(e):this.#e.parseUrl(this.#e.url)}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var tt=(()=>{class r{#e=s(Z);#t=s(Bi);#r=s(ki);#o=s(O);#n=s(se);#s=D(this.#o.queryParamMap,{initialValue:this.#o.snapshot.queryParamMap});#i=new Set;#a=!1;#l=!1;#d=!1;#c=u(()=>this.#n.getSiteFlag(x.ProductJourneyProductListFilteringEnabled));initializeUrlSync(e=[]){this.#i=new Set(e),this.#p(),this.#c()&&this.#m()}handleFilterSelection(e,t,i){this.#i.has(e)||this.#t.setFilter(e,t,i)}handleChipRemove(e,t){this.#i.has(e)||this.#t.setFilter(e,t,!1)}clearFilters(){this.#t.clearAllFilters(),this.#c()&&this.#r.clearFiltersFromURL()}rehydrateFiltersFromUrl(){let e=this.#r.parseFiltersFromURL(),t=new Map([...e].filter(([i])=>!this.#i.has(i)));this.#l=!0,this.#t.hydrateFromURL(t),this.#e.clearFilters(),this.#u(t),this.#h(),this.#l=!1}clearFiltersWithoutUrlSync(){this.#t.clearAllFilters(),this.#d=!0}handlePagination(e){this.#c()&&this.#r.updateURL(this.#t.activeFilters(),{index:e.page,size:e.rows})}#u(e){let t=Array.from(e.entries()).filter(([i])=>!this.#i.has(i)).reduce((i,[o,h])=>{let C=Array.from(h);return C.length>0&&(i[o]=C),i},{});Object.keys(t).length>0&&this.#e.applyRefinements(t)}#p(){B(()=>{let e=this.#e.filterGroups();if(e.length===0||this.#a)return;let t=e.map(h=>h.value.toString()).filter(h=>!this.#i.has(h));this.#r.initializeValidFacets(t);let i=this.#r.parseFiltersFromURL(),o=this.#g(i);this.#l=!0,this.#t.hydrateFromURL(o),this.#u(o),this.#h(),this.#l=!1,this.#a=!0})}#m(){B(()=>{let e=this.#t.activeFilters();if(!(this.#l||!this.#a)){if(this.#d){this.#d=!1;return}this.#r.updateURL(e,{index:this.#e.page(),size:this.#e.hitsPerPage()})}})}#g(e){let t=this.#_(),i=new Map;return e.forEach((o,h)=>{if(this.#i.has(h))return;let C=t.get(h);if(!C||C.size===0)return;let S=Array.from(o).filter(te=>C.has(te));S.length>0&&i.set(h,new Set(S))}),i}#_(){let e=new Map;return this.#e.filterGroups().forEach(t=>{let i=t.value.toString();if(this.#i.has(i))return;let o=t.filters.map(h=>h.value.toString());o.length>0&&e.set(i,new Set(o))}),e}#h(){let e=this.#s().get(pe),t=this.#s().get(he),i=this.#f(e),o=this.#f(t,1);i===null&&o===null||this.#e.paginate({page:i??this.#e.page(),rows:o??this.#e.hitsPerPage()})}#f(e,t=0){if(!e)return null;let i=Number(e);return!Number.isInteger(i)||i<t?null:i}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=R({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var fr=["categoriesTriggerBtn"],Cr=["filtersTriggerBtn"],Sr=["paginator"],yr=(r,p)=>p.objectID;function Pr(r,p){if(r&1&&I(0,"ppg-product-list-preselected-color-info",23),r&2){let e=a().$implicit,t=a();m("colorInfo",e)("tintsAndShades",t.tintsAndShades)}}function vr(r,p){if(r&1&&v(0,Pr,1,2,"ppg-product-list-preselected-color-info",23),r&2){let e=p.$implicit;y(e.isValid?0:-1)}}function Tr(r,p){if(r&1&&(c(0,"ppg-tints-and-shades",21),v(1,vr,1,1,"ng-template",22),l()),r&2){let e=p,t=a(2);de("--ppg-product-list-page-stripe-size",!e.activeTileHasView&&t.countValidTintsAndShadeStripes()===1?0:t.countValidTintsAndShadeStripes())("--ppg-tints-and-shades-active-tile-size-override",e.activeTileHasView?null:"0")("--ppg-tints-and-shades-active-tile-visible",e.activeTileHasView?"1":"0"),m("activeProductNumber",e.productNumber)("stripe",e.tintsAndShades)("colorSwitchLink",e.colorSwitchLink)("skipInvalidColorTile",!0)}}function br(r,p){if(r&1&&(c(0,"h1",24),g(1),l(),I(2,"p-divider",25)),r&2){let e=a(2);n(),P(" ",e.headline()," ")}}function xr(r,p){if(r&1){let e=b();c(0,"ppg-toggle-trigger-button",29,0),T("triggerClick",function(){_(e);let i=a(3);return f(i.categoriesSidebarVisible.set(!0))}),l()}if(r&2){let e=a(3);m("label",e.resources().categories)("isOpen",e.categoriesSidebarVisible())}}function Er(r,p){if(r&1){let e=b();c(0,"ppg-filter-popover",30),T("clearSelection",function(){_(e);let i=a(3);return f(i.clearFilters())})("selectionChanged",function(i){_(e);let o=a(3);return f(o.categorySelected(i.filter))}),l()}if(r&2){let e=a(3);m("resources",e.resources().categoryPopoverResources)("filterGroups",e.categoryGroup())}}function Rr(r,p){if(r&1){let e=b();c(0,"ppg-product-categories",26),T("selectedCategory",function(i){_(e);let o=a(2);return f(o.categorySelected(i.identifier))}),l(),v(1,xr,2,2,"ppg-toggle-trigger-button",27)(2,Er,1,2,"ppg-filter-popover",28)}if(r&2){let e=a(2);m("categories",e.categories())("header",e.resources().categories),n(),y(e.isFilteringEnabled()?1:2)}}function Lr(r,p){if(r&1){let e=b();c(0,"ppg-toggle-trigger-button",33,1),T("triggerClick",function(){_(e);let i=a(3);return f(i.filtersSidebarVisible.set(!0))}),l()}if(r&2){let e=a(3);m("label",e.resources().filters)("isOpen",e.filtersSidebarVisible())("activeCount",e.activeFilterChips().length)}}function Ar(r,p){if(r&1){let e=b();c(0,"ppg-filter-popover",34),T("clearSelection",function(){_(e);let i=a(3);return f(i.clearFilters())})("toggleExpansion",function(i){_(e);let o=a(3);return f(o.toggleFilterExpansion(i))})("selectionChanged",function(i){_(e);let o=a(3);return f(o.updateFilters(i))}),l()}if(r&2){let e,t=a(3);m("resources",t.resources().filterPopoverResources)("filterGroups",t.f
2ilterGroups())("seeMoreCap",(e=t.filterItemsPerGroup())!==null&&e!==void 0?e:t.defaultPopoverfilterItemsPerGroup)("minFiltersCount",t.minPopoverFiltersCount)}}function Ir(r,p){if(r&1&&v(0,Lr,2,3,"ppg-toggle-trigger-button",31)(1,Ar,1,4,"ppg-filter-popover",32),r&2){let e=a(2);y(e.isFilteringEnabled()?0:1)}}function Dr(r,p){if(r&1&&g(0),r&2){let e=a(2);P(" ",e.resources().noFiltersSelected," ")}}function Fr(r,p){if(r&1){let e=b();I(0,"p-divider"),c(1,"p-button",39),T("onClick",function(i){_(e);let o=a().$implicit,h=a(3);return i.preventDefault(),i.stopPropagation(),f(h.openDatasheetsModal(o.ProductNumber,o.Name))}),l()}if(r&2){let e=a(4);n(),m("label",e.resources().datasheets)("link",!0)}}function Mr(r,p){if(r&1){let e=b();c(0,"div",35)(1,"ppg-product-card",38),T("onClick",function(i){let o=_(e).$implicit,h=a(3);return f(h.sendInsightsAndPushGTM(i,o))}),v(2,Fr,2,2),l()()}if(r&2){let e=p.$implicit,t=a(3);n(),m("title",e.Name)("objectID",e.objectID)("description",e.MarketingDescription)("imgSrc",t.appendSizeToImageUrl(e.ImageURL)||"")("imgAlt",e.Name)("colorNumber",t.colorNumberForProducts())("isDescriptionVisible",t.isProductCardDescriptionEnabled())("slug",e.Slug),n(),y(t.isDatasheetsEnabled()?2:-1)}}function wr(r,p){if(r&1){let e=b();c(0,"div",8),G(1,Mr,3,9,"div",35,yr),l(),I(3,"p-divider",36),c(4,"p-paginator",37,2),T("onPageChange",function(i){_(e);let o=a(2);return f(o.paginate(i))}),l()}if(r&2){let e=a(2);n(),H(e.hits()),n(3),m("first",e.paginatorFirst())("rows",e.paginatorRows())("totalRecords",e.totalNumberHits())("rowsPerPageOptions",e.paginatorConfig.rowsPerPageOptions)("showCurrentPageReport",!0)("currentPageReportTemplate",e.currentPageReportTemplate())}}function Or(r,p){r&1&&I(0,"ppg-product-list-empty")}function Ur(r,p){if(r&1){let e=b();c(0,"ppg-product-categories-list",42),T("selectedCategory",function(i){_(e);let o=a(3);return f(o.onCategorySidebarSelected(i.identifier))}),l()}if(r&2){let e=a(3);m("categories",e.categories())}}function Br(r,p){if(r&1){let e=b();c(0,"ppg-filter-accordion",43),T("toggleExpansion",function(i){_(e);let o=a(3);return f(o.toggleFilterExpansion(i))})("selectionChanged",function(i){_(e);let o=a(3);return f(o.updateFilters(i))})("filterSearch",function(i){_(e);let o=a(3);return f(o.onFilterSearch(i))}),l()}if(r&2){let e=a(3);m("filterGroups",e.filterGroups())("seeMoreCap",e.filterItemsPerGroup())("resources",e.resources().filterAccordionResources)("isFilterSearchEnabled",e.isFilteringEnabled())("filterItemsSearchLimit",e.filterItemsSearchLimit())("filtersBlockMaxHeight",e.filtersBlockMaxHeight())("filterSearchDebounceTime",e.filterSearchDebounceTime)}}function kr(r,p){if(r&1){let e=b();c(0,"ppg-filter-sidebar",44),Qe("visibleChange",function(i){_(e);let o=a(3);
2return He(o.categoriesSidebarVisible,i)||(o.categoriesSidebarVisible=i),f(i)}),l()}if(r&2){a();let e=Ne(1),t=a(2);m("resources",t.resources().categorySidebarResources),Ge("visible",t.categoriesSidebarVisible),m("hasActiveFilters",!1)("content",e)("triggerRef",t.categoriesTriggerBtnRef())}}function Vr(r,p){if(r&1){let e=b();v(0,Ur,1,1,"ng-template",null,3,ie)(2,Br,1,7,"ng-template",null,4,ie)(4,kr,1,5,"ppg-filter-sidebar",40),c(5,"ppg-filter-sidebar",41),Qe("visibleChange",function(i){_(e);let o=a(2);return He(o.filtersSidebarVisible,i)||(o.filtersSidebarVisible=i),f(i)}),T("clearAll",function(){_(e);let i=a(2);return f(i.clearFilters())}),l()}if(r&2){let e=Ne(3),t=a(2);n(4),y(t.categories()&&t.categories().length>0?4:-1),n(),m("resources",t.resources().filterSidebarResources),Ge("visible",t.filtersSidebarVisible),m("hasActiveFilters",t.hasActiveFilters())("content",e)("triggerRef",t.filtersTriggerBtnRef())}}function Nr(r,p){if(r&1){let e=b();I(0,"ppg-breadcrumbs",5),v(1,Tr,2,10,"ppg-tints-and-shades",6),c(2,"div",7),v(3,br,3,1),c(4,"div",8)(5,"div",9)(6,"h2",10),g(7),l(),c(8,"div",11),v(9,Rr,3,3),c(10,"div",12)(11,"ppg-filter-accordion",13),T("toggleExpansion",function(i){_(e);let o=a();return f(o.toggleFilterExpansion(i))})("selectionChanged",function(i){_(e);let o=a();return f(o.updateFilters(i))})("filterSearch",function(i){_(e);let o=a();return f(o.onFilterSearch(i))}),l(),v(12,Ir,2,1),l()()(),I(13,"p-divider",14),c(14,"div",15)(15,"div",16)(16,"h2",17),g(17),l(),c(18,"ppg-filter-chips",18),T("chipRemove",function(i){_(e);let o=a();return f(o.onChipRemove(i))})("clearAll",function(){_(e);let i=a();return f(i.clearFilters())}),l()(),c(19,"div",19),v(20,Dr,1,1),l(),v(21,wr,6,6)(22,Or,1,0,"ppg-product-list-empty"),I(23,"ppg-contact-card",20),l()()(),v(24,Vr,6,6)}if(r&2){let e,t=a();m("breadcrumbs",t.breadcrumbs())("rootName",t.breadcrumbsHome()),n(),y((e=t.preselectedColorTintsAndShadesInfo())?1:-1,e),n(2),y(t.preselectedColorTintsAndShadesInfo()?-1:3),n(4),P(" ",t.resources().filters," "),n(),de("max-height",t.filtersSectionMaxHeight()),n(),y(t.categories()&&t.categories().length>0?9:-1),n(2),m("filterGroups",t.filterGroups())("seeMoreCap",t.filterItemsPerGroup())("resources",t.resources().filterAccordionResources)("isFilterSearchEnabled",t.isFilteringEnabled())("filterItemsSearchLimit",t.filterItemsSearchLimit())("filtersBlockMaxHeight",t.filtersBlockMaxHeight())("filterSearchDebounceTime",t.filterSearchDebounceTime),n(),y(t.hasFilters()?12:-1),n(5),ft(" ",t.resources().results," (",t.totalNumberHits(),") "),n(),m("chips",t.activeFilterChips())("showChips",t.isFilteringEnabled())("showClearButton",t.hasActiveFilters())("clearButtonLabel",t.resources().clearAllFilters)("clearButtonAriaLabel",t.resources().clearAllFilters),n(2),y(t.hasActiveFilters()?-1:20),n(),y(t.totalNumberHits()?21:22),n(2),m("message",t.pageContent().additionalInformation),n(),y(t.isFilteringEnabled()?24:-1)}}var Vi="category",Gr=300,fa=(()=>{class r{#e;#t;#r;#o;#n;#s;#i;#a;#l;#d;#c;constructor(){this.paginatorConfig=At,this.categoriesTriggerBtnRef=Ue("categoriesTriggerBtn",{read:ce}),this.filtersTriggerBtnRef=Ue("filtersTriggerBtn",{read:ce}),this.resourceService=s(k),this.algoliaService=s(Z),this.router=s(Q),this.activatedRoute=s(O),this.categoryService=s(ue),this.dialogService=s(wt),this.datasheetsService=s(wi),this.productListGTMService=s(Ui),this.currentSiteState=s(K),this.metaService=s(vt),this.pageLevelMetaService=s(si),this.linkTagService=s(ai),this.originUrlService=s(Vt),this.productLineSlugService=s(Ze),this.destroyRef=s(ge),this.injector=s(dt),this.#e=s(tt),this.#t=s(Xe),this.#r=s(Dt),this.#o=s(ye),this.#n=s(se),this.#s=s(We),this.#i=s(fe),this.content=M.required(),this.pageContent=u(()=>this.content().page.content),this.colorSampleOrderingEnabled=u(()=>this.currentSiteState.getSiteFlag(x.ProductJourneyColorSampleOrderingEnabled)),this.breadcrumbsHome=u(()=>this.resourceService.getResourceByKey(d.BREADCRUMB_HOME)),this.hits=this.algoliaService.hits,this.hitsPerPage=this.algoliaService.hitsPerPage,this.totalNumberHits=this.algoliaService.totalNumberHits,this.filterGroups=this.algoliaService.filterGroups,this.categoryGroup=this.algoliaService.categoryGroup,this.requestFinished=this.algoliaService.requestFinished,this.currentAlgoliaPage=this.algoliaService.page,this.hasActiveFilters=this.algoliaService.hasActiveFilters,this.activeFilterChips=this.algoliaService.activeFilterChips,this.paginatorFirst=u(()=>this.currentAlgoliaPage()*this.hitsPerPage()),this.paginatorRows=u(()=>this.hitsPerPage()),this.algoliaCategories=this.algoliaService.categories,this.categoriesWithPath=this.categoryService.categoriesWithPath,this.headline=u(()=>{let e=this.#s.state();if(!e)return this.resources().allProducts;if(e.searchQuery)return`${this.resources().searchResultsFor} "${e.searchQuery}"`;let t=this.selectedCategory();return t?t.name:this.resources().allProducts}),this.preselectedColorTintsAndShadesInfo=this.#t.preselectedColorTintsAndShadesInfo,this.minPopoverFiltersCount=1,this.defaultPopoverfilterItemsPerGroup=4,this.productLineFilterGroup="ProductLines",this.isProductCardDescriptionEnabled=u(()=>!this.#n.getSiteFlag(x.ProductJourneyProductListProductCardDescriptionDisabled)),this.isDatasheetsEnabled=u(()=>this.#n.getSiteFlag(x.ProductJourneyProductListDataSheetEnabled)),this.isFilteringEnabled=u(()=>this.#n.getSiteFlag(x.ProductJourneyProductListFilteringEnabled)),this.#a=u(()=>this.currentSiteState.getSiteFlag(x.ColorJourneyUseTradeNameCode)),this.resources=u(()=>({searchResultsFor:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SEARCH_RESULTS_FOR),allProducts:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_ALL_PRODUCTS),products:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_PRODUCTS),categories:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_CATEGORIES),showing:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SHOWING),to:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_TO),of:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_OF),entr
2ies:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_ENTRIES),filters:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_FILTERS),results:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_RESULTS),datasheets:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_DATASHEETS),clearAllFilters:this.resourceService.getResourceByKey(d.SEARCH_PAGE_CLEAR_ALL_FILTERS),noFiltersSelected:this.resourceService.getResourceByKey(d.SEARCH_PAGE_NO_FILTERS_SELECTED),filterAccordionResources:{seeMore:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SEE_MORE),seeLess:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SEE_LESS),search:this.resourceService.getResourceByKey(d.SEARCH_PAGE_SEARCH_TEXT),clearSearch:this.resourceService.getResourceByKey(d.SEARCH_PAGE_CLEAR_ALL_FILTERS),noResultsFound:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_NO_RESULTS_FOUND),searchResultsLabel:this.resourceService.getResourceByKey(d.SEARCH_PAGE_RESULTS),searchResultsFound:this.resourceService.getResourceByKey(d.FEDERATED_SEARCH_FOUND)},filterPopoverResources:{open:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_FILTERS),title:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_FILTERS),clear:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_CLEAR),seeMore:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SEE_MORE),seeLess:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SEE_LESS)},categoryPopoverResources:{open:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_CATEGORIES),title:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_CATEGORIES),seeMore:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SEE_MORE),seeLess:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_SEE_LESS)},filterSidebarResources:{title:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_FILTERS),done:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_DONE),clearAll:this.resourceService.getResourceByKey(d.SEARCH_PAGE_CLEAR_ALL_FILTERS),closeLabel:this.resourceService.getResourceByKey(d.A11Y_CLOSE)},categorySidebarResources:{title:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_CATEGORIES),done:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_DONE),clearAll:this.resourceService.getResourceByKey(d.SEARCH_PAGE_CLEAR_ALL_FILTERS),closeLabel:this.resourceService.getResourceByKey(d.A11Y_CLOSE)}})),this.filterItemsPerGroup=u(()=>this.#n.getNumericSiteSettingValueByKey(x.ProductJourneyProductListFilterItemsPerGroup)),this.filterItemsSearchLimit=u(()=>this.#n.getNumericSiteSettingValueByKey(x.ProductJourneyProductListFilterItemsSearchLimit)),this.filtersBlockMaxHeight=u(()=>this.#n.getSiteSettingValueByKey(x.ProductJourneyProductListFiltersBlockMaxHeight)),this.filterSearchDebounceTime=300,this.filtersSectionMaxHeight=u(()=>this.#n.getSiteSettingValueByKey(x.ProductJourneyProductListFiltersSectionMaxHeight)),this.currentPageReportTemplate=u(()=>`${this.resources().showing} {first} ${this.resources().to} {last} ${this.resources().of} {totalRecords} ${this.resources().entries}`),this.colorNumberForProducts=u(()=>this.#t.colorToProductJourneyEnabled()?this.#t.preselectedColorNumber():null),this.categories=u(()=>{let e=[];return this.algoliaCategories().forEach((t,i)=>{let o=this.categoriesWithPath().get(i);e.push({identifier:i,name:o?o?.Name[0]?.Translation??i:i,algoliaValue:t})}),e}),this.#l=D(this.activatedRoute.queryParamMap,{initialValue:this.activatedRoute.snapshot.queryParamMap}),this.categoryQueryParam=u(()=>this.#l().get(Vi)),this.selectedCategory=u(()=>{let e=this.categoryQueryParam();if(e){let t=this.categoriesWithPath().get(e);if(t?.Name[0]?.Translation&&t?.Identifier)return{identifier:e,name:t.Name[0].Translation,algoliaValue:t.path}}return null}),this.breadcrumbs=u(()=>{let[e,t]=this.#v(),i=this.content().breadcrumbs.map(S=>$(U({},S),{url:S.url??this.getCurrentUrlWithoutParams(),queryParams:e?U({[W]:e.productNumber},t&&{[X]:t}):{},clickHandler:()=>this.clearFiltersWithoutUrlSync()}));if(!this.selectedCategory())return[...this.#T(),...i,{title:this.resources().allProducts,dataTestId:"category"}];let h=this.currentSiteState.getSiteFlag(x.ProductJourneyBreadcrumbsFullPathEnabled)?this.getCategoriesBreadcrumbs():[],C={title:this.selectedCategory().name,dataTestId:this.selectedCategory().identifier};return[...this.#T(),...i,...h,C]}),this.hasFilters=u(()=>this.filterGroups().some(({filters:e})=>e.length)),this.filtersSidebarVisible=E(!1),this.categoriesSidebarVisible=E(!1),this.countValidTintsAndShadeStripes=u(()=>this.preselectedColorTintsAndShadesInfo()?.tintsAndShades.colors.filter(e=>
2e.isValid&&(e.rgb||e.image)).length),this.#d=null,this.#c=!1,this.initViewProductListGTMEvents(),this.#m(),this.#g(),this.#h(),this.#f(),this.#e.initializeUrlSync([String(this.productLineFilterGroup)]),this.#u(),this.#p()}#u(){this.activatedRoute.queryParamMap.pipe(F(e=>e.get("q")||""),le(),lt(1),oe(this.destroyRef)).subscribe(()=>{this.#c||this.clearFilters()})}#p(){this.router.events.pipe(oe(this.destroyRef)).subscribe(e=>{e instanceof Tt?this.#c=e.navigationTrigger==="popstate":e instanceof bt&&this.#c&&(this.#e.rehydrateFiltersFromUrl(),this.#c=!1)})}#m(){B(()=>{this.productLineSlugService.syncQueryToFilters(this.productLineFilterGroup)})}#g(){B(()=>{let e=this.#s.state();if(!e)return;let t=this.#_(e);this.algoliaService.setState(t)})}#_(e){return this.#a()?{searchQuery:e.searchQuery,colorEmg:e.colorEmg,tradeNameCodes:e.tradeNameCodes,productNumbers:null}:{searchQuery:e.searchQuery,colorEmg:e.colorEmg,productNumbers:e.productNumbers,tradeNameCodes:null}}#h(){this.#t.initQueryParamsHandling()}#f(){B(()=>{this.updatePagination()})}ngOnInit(){let e=this.pageLevelMetaService.getMetaTags(this.content().page.meta,this.content().page.type);this.metaService.addTags(e),this.#C(),B(()=>{this.#C()},{injector:this.injector})}updatePagination(){let e=Math.ceil(this.totalNumberHits()/this.hitsPerPage()),t=this.currentAlgoliaPage(),i=Math.max(0,e-1);t>i&&Pt(()=>{this.algoliaService.paginate({page:0,rows:this.hitsPerPage()}),this.#e.handlePagination({page:0,rows:this.hitsPerPage()}),this.paginator?.changePage(0)})}#C(){let e=this.content().page?.meta;if(!e)return;let t=this.#y(),i=$(U({},e),{canonicalUrl:t}),o=this.pageLevelMetaService.getLinkTags(i);this.linkTagService.addOrUpdateTags(o)}paginate(e){this.algoliaService.paginate(e),this.#e.handlePagination(e)}updateFilters({group:e,filter:t,checked:i}){this.productListGTMService.filterUsageGTMTag(t,e),this.algoliaService.refineFilters(e,t),this.#e.handleFilterSelection(String(e),String(t),i),e===this.productLineFilterGroup&&this.#S(t)}clearFilters(){this.productListGTMService.clearAllFiltersGTMTag(),this.algoliaService.clearFilters(),this.#e.clearFilters(),this.productLineSlugService.clear()}clearFiltersWithoutUrlSync(){this.algoliaService.clearFilters(),this.#e.clearFiltersWithoutUrlSync(),this.productLineSlugService.clearWithoutUrlSync()}onChipRemove(e){this.algoliaService.refineFilters(e.facetId,e.value),this.#e.handleChipRemove(e.facetId,e.value)}onFilterSearch({searchPhrase:e,filterBlockName:t}){this.productListGTMService.filtersSearchGTMTag(e,t)}toggleFilterExpansion({group:e,expanded:t}){t&&this.productListGTMService.pushSeeAllGTMTag("product_filter_expand_click",e),this.algoliaService.toggleFilterExpansion(e,t)}categorySelected(e){this.addCategoryQueryParam(e)}onCategorySidebarSelected(e){this.categoriesSidebarVisible.set(!1),this.categorySelected(e),this.#E()}openDatasheetsModal(e,t){let i=this.currentSiteState.getSiteFlag(x.ProductJourneyProductListDataSheetSimplifiedTemplateEnabled),o=i?this.resourceService.getResourceByKey(d.PRODUCT_DETAILS_DATA_SHEETS_HEADER):t;this.#d=this.#i.activeElement,this.datasheetsService.getDatasheets(e,!i).pipe(me(1)).subscribe(h=>{let C={data:h,header:o,width:Ot.Wide,focusOnShow:!1,focusTrap:!0,closable:!0},S=i?this.dialogService.open(xi,C):this.dialogService.open(bi,C);this.#b(S),this.#x(S)})}sendInsightsAndPushGTM(e,t){t.sendInsights(),this.productListGTMService.selectItemGTMTag(t,this.selectedCategory()?.identifier||"All Products",this.selectedCategory()?.name||"All Products")}appendSizeToImageUrl(e){return jt(e)}initViewProductListGTMEvents(){Se(this.hits).pipe(st(()=>this.requestFinished()),at(Gr),oe(this.destroyRef)).subscribe(e=>{this.productListGTMService.viewProductListPageGTMTag(e,this.selectedCategory()?.identifier||"All Products - Filter Select",this.selectedCategory()?.name||"All Products - Filter Select")})}#S(e){this.productLineSlugService.handleFilterChange(e)}addCategoryQueryParam(e){this.router.navigate([],{relativeTo:this.activatedRoute,queryParams:{category:e},queryParamsHandling:"merge"})}getCurrentUrlWithoutParams(){let e=this.router.parseUrl(this.router.url);return e.queryParams={},e.fragment=null,e.toString()}#y(){let e=this.originUrlService.getOriginUrl(),t=this.getCurrentUrlWithoutParams()||"/",i=this.#P(),o=i?`${t}?${i}`:t;return e?`${e}${o}`:o}#P(){let e=new URLSearchParams,t=this.categoryQueryParam();t&&e.set(Vi,t);let i=this.productLineSlugService.canonicalProductLineParam();return i&&e.set(ae,i),e.toString()}getCategoriesBreadcrumbs(){let t=this.selectedCategory()?.algoliaValue?this.selectedCategory().algoliaValue.split(">").map(o=>o.trim()):[],i=[];for(let o=0;o<t.length-1;o++){let h=t[o],C=this.categoriesWithPath().get(h);C&&i.push({title:C.Name?.[0]?.Translation??h,dataTestId:h,url:this.getCurrentUrlWithoutParams(),queryParams:{category:encodeURIComponent(h)}})}return i}#v(){let e=this.preselectedColorTintsAndShadesInfo()?.colorInfo||null,t=this.preselectedColorTintsAndShadesInfo()?.tintsAndShades?.id?.toString()||"";return[e,t]}#T(){let[e,t]=this.#v();return e?[{title:this.resourceService.getResourceByKey(d.PRODUCT_LIST_PAGE_ALL_COLORS_BREADCRUMBS),url:this.#r.getPathByAppRouteFeatureModule(It.ColorFamilies)??"",dataTestId:"breadcrumbs.colorFamilies"},{title:e.colorName,url:this.#o.getColorDetailsPath(e),queryParams:U({},t&&{[X]:t}),dataTestId:"breadcrumbs.colorName"}]:[]}#b(e){e.onChildComponentLoaded.pipe(me(1)).subscribe(()=>{setTimeout(()=>{let t=this.#i.querySelector('.p-dialog-header button[aria-label="Close"]');t&&t.focus()},0)})}#x(e){e.onClose.pipe(me(1)).subscribe(()=>{this.#d&&setTimeout(()=>{this.#d?.focus(),this.#d=null},0)})}#E(){setTimeout(()=>{this.filtersTriggerBtnRef()?.nativeElement?.querySelector("button")?.focus()},0)}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=L({type:r,selectors:[["ppg-product-list-page"]],viewQuery:function(t,i){if(t&1&&(Ve(i.categoriesTriggerBtnRef,fr,5,ce),Ve(i.filtersTriggerBtnRef,Cr,5,ce),ht(Sr,5)),t&2){_t(2);let o;mt(o=gt())&&(i.paginator=o.first)}},inputs:{content:[1,"content"]},features:[Ct([Z,ue,Xe,We,tt,Ze])],decls:1,vars:1,consts:[["categoriesTriggerBtn",""],["filtersTriggerBtn",""],["paginator",""],["categoriesSidebarContent",""],["filtersSidebarContent",""],["data-test-id","productListPage.breadcrumbs",3,"breadcrumbs","rootName"],[1,"preselected-color-tints-and-shades",3,"--ppg-product-list-page-stripe-size","--ppg-tints-and-shades-active-tile-size-override","--ppg-tints-and-shades-active-tile-visible","activeProductNumber","stripe","colorSwitchLink","skipInvalidColorTile"],[1,"section-container","mt-4"],[1,"grid"],[1,"filters-sidebar"],["data-test-id","productListPage.filtersHeader",1,"mb-4","filters-header"],["data-test-id","productListPage.filtersAndCategories",1,"filters-content"],["data-test-id","productListPage.filters"],["data-test-id","productListPage.filterAccordion",1,"filter-accordion",3,"toggleExpansion","selectionChanged","filterSearch","filterGroups","seeMoreCap","resources","isFilterSearchEnabled","filterItemsSearchLimit","filtersBlockMaxHeight","filterSearchDebounceTime"],[1,"py-0","filters-divider"],[1,"results-section"],[1,"header-with-filters"],["data-test-id","productListPage.resultsHeader","aria-live","polite","aria-atomic","true",1,"results-header"],["data-test-id","productListPage.filterChips",3,"chipRemove","clearAll","chips","showChips","showClearButton","clearButtonLabel","clearButtonAriaLabel"],["role","status","aria-live","polite","aria-atomic","true","data-test-id","productListPage.filterStatusAnnouncement",1,"sr-only"],[3,"message"],[1,"preselected-color-tints-and-shades",3,"activeProductNumber","stripe","colorSwitchLink","skipInvalidColorTile"],["ppgTintsAndShadesActiveTileContent",""],[1,"preselected-color-tints-and-shades-active-details",3,"colorInfo","tintsAndShades"],["data-test-id","productListPage.mainHeader",1,"mt-6"],[1,"headline-divider"],["data-test-id","productListPage.categories",1,"product-categories",3,"selectedCategory","categories","header"],["data-test-id","productListPage.categoriesSidebarButton",1,"categories-sidebar-tr
2igger",3,"label","isOpen"],["type","link","data-test-id","productListPage.categoriesPopover",1,"categories-popover",3,"resources","filterGroups"],["data-test-id","productListPage.categoriesSidebarButton",1,"categories-sidebar-trigger",3,"triggerClick","label","isOpen"],["type","link","data-test-id","productListPage.categoriesPopover",1,"categories-popover",3,"clearSelection","selectionChanged","resources","filterGroups"],["data-test-id","productListPage.filtersSidebarButton",1,"filters-sidebar-trigger",3,"label","isOpen","activeCount"],["data-test-id","productListPage.filterPopover",1,"filter-popover",3,"resources","filterGroups","seeMoreCap","minFiltersCount"],["data-test-id","productListPage.filtersSidebarButton",1,"filters-sidebar-trigger",3,"triggerClick","label","isOpen","activeCount"],["data-test-id","productListPage.filterPopover",1,"filter-popover",3,"clearSelection","toggleExpansion","selectionChanged","resources","filterGroups","seeMoreCap","minFiltersCount"],[1,"product-card-wrapper"],["styleClass","mt-4"],["ppgScrollOnPageChange","","data-test-id","productListPage.paginator",1,"paginator",3,"onPageChange","first","rows","totalRecords","rowsPerPageOptions","showCurrentPageReport","currentPageReportTemplate"],[3,"onClick","title","objectID","description","imgSrc","imgAlt","colorNumber","isDescriptionVisible","slug"],["styleClass","w-full","data-test-id","productListPage.datasheetsButton",3,"onClick","label","link"],["data-test-id","productListPage.categoriesSidebar",3,"resources","visible","hasActiveFilters","content","triggerRef"],["data-test-id","productListPage.filtersSidebar",3,"visibleChange","clearAll","resources","visible","hasActiveFilters","content","triggerRef"],[3,"selectedCategory","categories"],[3,"toggleExpansion","selectionChanged","filterSearch","filterGroups","seeMoreCap","resources","isFilterSearchEnabled","filterItemsSearchLimit","filtersBlockMaxHeight","filterSearchDebounceTime"],["data-test-id","productListPage.categoriesSidebar",3,"visibleChange","resources","visible","hasActiveFilters","content","triggerRef"]],template:function(t,i){t&1&&v(0,Nr,25,27),t&2&&y(i.requestFinished()?0:-1)},dependencies:[di,re,kt,Bt,pi,ui,vi,Te,ne,Ai,Ti,Ri,Li,ti,ii,ri,oi,ci,fi,_i,Ei,ni],styles:[".grid[_ngcontent-%COMP%] > [class*=product-card-wrapper][_ngcontent-%COMP%], .grid[_ngcontent-%COMP%] > [class*=filters-sidebar][_ngcontent-%COMP%]{padding:.75rem}.header-with-filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:var(--p-pds-unit-600);margin:var(--p-pds-unit-600) 0 var(--p-pds-unit-600) 0}.header-with-filters[_ngcontent-%COMP%]   .results-header[_ngcontent-%COMP%]{margin:0}.filters-header[_ngcontent-%COMP%], .results-header[_ngcontent-%COMP%]{font-size:var(--p-pds-typography-headings-h3-size)}@media all and (max-width:767px){  .paginator .p-paginator-current{flex-basis:100%;text-align:center}}@media all and (min-width:768px){.header-with-filters[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;flex-wrap:nowrap;column-gap:var(--p-pds-unit-600)}}.preselected-color-tints-and-shades[_ngcontent-%COMP%]{margin-top:var(--p-pds-unit-1000)}.preselected-color-tints-and-shades[_ngcontent-%COMP%]   .preselected-color-tints-and-shades-active-details[_ngcontent-%COMP%]{display:block;height:240px}@media all and (max-width:767px){.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile:first-child:last-child{display:none}}@media all and (min-width:768px){.preselected-color-tints-and-shades[_ngcontent-%COMP%]{--ppg-tints-and-shades-active-tile-size: var(--ppg-tints-and-shades-active-tile-size-override, .65);--ppg-tints-and-shades-tile-height: 240px;--ppg-tints-and-shades-tile-hover-scale: 1.025;--tints-and-shades-tile-min-width: calc( (min(100%, var(--page-container-max-width)) * (1 - var(--ppg-tints-and-shades-active-tile-size))) / (var(--ppg-product-list-page-stripe-size) - var(--ppg-tints-and-shades-active-tile-visible, 1)) );--tints-and-shades-tile-active-item-min-width: calc( min(100%, var(--page-container-max-width)) * var(--ppg-tints-and-shades-active-tile-size) );--tints-and-shades-tile-sides-spacing: max( calc((100% - min(100%, var(--page-container-max-width)))/2) , 0px)}.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile{display:flex;width:unset;min-width:var(--tints-and-shades-tile-min-width)}.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile:first-child{padding-left:var(--tints-and-shades-tile-sides-spacing)}.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile:last-child{padding-right:var(--tints-and-shades-tile-sides-spacing)}.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile:first-child, .preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile:last-child{min-width:calc(var(--tints-and-shades-tile-min-width) + var(--tints-and-shades-tile-sides-spacing))}.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile.is-tints-and-shades-tile-active{min-width:var(--tints-and-shades-tile-active-item-min-width)}.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile.is-tints-and-shades-tile-active:first-child, .preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile.is-tints-and-shades-tile-active:last-child{min-width:calc(var(--tints-and-shades-tile-active-item-min-width) + var(--tints-and-shades-tile-sides-spacing))}.preselected-color-tints-and-shades[_ngcontent-%COMP%]     .tints-and-shades-tile.is-tints-and-shades-tile-active:first-child:last-child{width:100%}}@media all and (min-width:1280px){.preselected-color-tints-and-shades[_ngcontent-%COMP%]{--ppg-tints-and-shades-active-tile-size: var(--ppg-tints-and-shades-active-tile-size-override, .7)}}.filters-divider[_ngcontent-%COMP%]{display:block;width:100%}@media(min-width:1280px){.filters-divider[_ngcontent-%COMP%]{display:none}}.headline-divider[_ngcontent-%COMP%], .filters-header[_ngcontent-%COMP%], .product-categories[_ngcontent-%COMP%], .filter-accordion[_ngcontent-%COMP%]{display:none}@media(min-width:1280px){.headline-divider[_ngcontent-%COMP%], .filters-header[_ngcontent-%COMP%], .product-categories[_ngcontent-%COMP%], .filter-accordion[_ngcontent-%COMP%]{display:block}}.categories-popover[_ngcontent-%COMP%], .filter-popover[_ngcontent-%COMP%], .categories-sidebar-tr
2igger[_ngcontent-%COMP%], .filters-sidebar-trigger[_ngcontent-%COMP%]{display:block}@media(min-width:1280px){.categories-popover[_ngcontent-%COMP%], .filter-popover[_ngcontent-%COMP%], .categories-sidebar-trigger[_ngcontent-%COMP%], .filters-sidebar-trigger[_ngcontent-%COMP%]{display:none}}.results-section[_ngcontent-%COMP%]{width:100%}@media(min-width:1280px){.results-section[_ngcontent-%COMP%]{width:75%}}.product-card-wrapper[_ngcontent-%COMP%]{width:100%}@media(min-width:768px){.product-card-wrapper[_ngcontent-%COMP%]{width:50%}}@media(min-width:1280px){.product-card-wrapper[_ngcontent-%COMP%]{width:33.333%}}.filters-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--p-pds-unit-400)}@media(min-width:768px){.filters-content[_ngcontent-%COMP%]{flex-direction:row}}@media(min-width:1280px){.filters-content[_ngcontent-%COMP%]{overflow-y:auto;flex-direction:column;gap:var(--p-pds-unit-100)}}.filters-sidebar[_ngcontent-%COMP%]{width:100%}@media(min-width:1280px){.filters-sidebar[_ngcontent-%COMP%]{width:25%}}.paginator[_ngcontent-%COMP%]{display:flex;justify-content:center}@media(min-width:1280px){.paginator[_ngcontent-%COMP%]{justify-content:end}}"],changeDetection:0})}}return r})();export{fa as ProductListPageComponent};

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.