PageSourceSearch

https://www.progold.eu/main-HRUWG336.js

js progold.eu collected 2026-10-09 21:51:59 UTC 129,431 bytes, 14 lines download raw bytes

1import{a as ha}from"./chunk-PM42LNAH.js";import{a as Or}from"./chunk-GT7BSWBO.js";import{a as fa}from"./chunk-J5ZO4Z7X.js";import{a as ra,b as na,c as oa,f as Ca,g as Ta,i as Ma}from"./chunk-B63DOPR3.js";import"./chunk-C2LYL6UN.js";import{a as Pi,c as ws,d as Is,f as ua,k as da}from"./chunk-FM5MQBX4.js";import"./chunk-KJ2DTZTE.js";import"./chunk-EKXRV2PZ.js";import{a as Rs,b as Os,c as Ar,d as Ns,e as Ls,f as ks,g as Ds,h as Pr,i as Fs,j as Bs,k as Us,l as zs,m as wr,n as js,o as $s,p as Vs,q as Ks,r as Hs,s as qs,t as Gs}from"./chunk-IJVUT4FL.js";import{a as sa,b as aa}from"./chunk-5DOURCG5.js";import{a as Le,b as Aa,h as Pa,i as wa,j as ke,k as Rr,l as Ia}from"./chunk-AMTDR7WH.js";import{a as ga}from"./chunk-XJNXF36J.js";import"./chunk-OQWTUUQ3.js";import{a as Oi}from"./chunk-3RKFVFMW.js";import{f as Ri}from"./chunk-6LRNCJRQ.js";import"./chunk-BYUXZABT.js";import{Q as Ht,b as xs,c as wi,fa as xr,g as Qs,h as Ys,i as Xs,k as xi,m as la,s as ca,t as ma,v as Ir}from"./chunk-CSKO464Y.js";import{b as oo,f as ya,g as _a,h as va,i as Sa,j as ba,m as Ea}from"./chunk-RFZ65DFT.js";import{h as vs,j as Ss}from"./chunk-ZAELU3GP.js";import{a as no,b as Tr,c as Ts,d as Ms,e as As,f as Ps,h as Mr}from"./chunk-KCBWTIVH.js";import{a as bs,b as Es,e as Cs}from"./chunk-Q7LOV5U2.js";import{d as ea,f as ta,g as ia}from"./chunk-WFALV5KR.js";import"./chunk-V7OSM6MA.js";import"./chunk-GSJIPMUW.js";import{a as _o,b as vo}from"./chunk-2D6KGTZB.js";import"./chunk-ZS7OWNSY.js";import"./chunk-DIZWDXBB.js";import{E as Ai,Q as Ii,R as Ws,U as Js,V as Zs,a as P,b as we,e as ho,f as _r,m as st,n as fi,o as zt}from"./chunk-Q4MTVQC2.js";import{b as Xe}from"./chunk-RRAYDVNW.js";import{$d as ns,Ac as Do,Ad as Qo,Bb as $t,Bc as Fo,Cb as vi,Cc as Bo,Dc as Er,Ea as F,Ec as Uo,Fc as at,Ga as hi,Ha as gi,Ia as At,Jd as Wo,Kb as To,Ld as Yo,Na as V,Nd as Ci,Od as Xo,Pd as Vt,Qa as Eo,Qd as Jo,Rb as Mo,Rd as Kt,Sb as Si,Sd as Zo,Vd as es,Wd as ts,Xa as Co,Xd as is,Ya as jt,Yb as Ao,Yc as zo,Yd as Ti,Zc as jo,Zd as Mi,_d as rs,a as We,b as Pe,c as Ye,cc as z,db as yi,de as os,fc as Po,fd as Cr,fe as ss,gc as bi,ge as as,ha as vr,hc as wo,hd as $o,he as ls,ic as Ei,id as Vo,ie as cs,je as ms,kc as Io,ke as ps,lc as X,nc as xo,od as Ko,qb as _i,qc as Ro,qe as us,ra as go,rd as Ho,re as ds,sa as yo,sc as Oo,sd as qo,se as fs,tc as No,te as hs,ua as So,uc as T,ue as gs,wd as Go,we as ys,xa as Sr,xc as de,xe as ee,ya as br,yc as Lo,ye as _s,za as bo,zc as ko}from"./chunk-WGWIBZ2L.js";import{$ as Mn,$b as le,$c as x,Aa as Dt,Ac as fr,Ad as gr,B as Cn,Bb as Ke,Bc as Ut,C as Tn,Ca as In,Cc as zn,Cd as Gn,Ce as Mt,D as q,Dd as Qn,E as ht,Ed as Wn,Fa as it,Fc as hr,Fd as Yn,Fe as co,Ga as rt,Gb as ve,Gd as ui,Hd as di,Ib as C,Id as Tt,Ja as yt,Jb as oi,Jd as Xn,Ka as ye,Kd as Jn,L as ti,La as ni,Ld as Zn,Md as eo,N as Lt,Nd as to,Oa as _t,Ob as W,Oc as qe,Od as yr,Oe as be,P as sr,Pa as xn,Pc as Ge,Pe as mo,Q as re,Qa as Te,Qb as si,Ra as Ft,Rb as Fe,Rd as io,Sb as Be,Sd as ro,T as ge,Ta as _e,Tb as y,Tc as li,Ub as b,Va as K,Vb as R,Vc as jn,Ve as po,Wa as lr,Wb as Fn,Xb as Bn,Xe as uo,Yb as He,Yd as so,Z as Q,Za as Rn,Zb as vt,_c as Ct,ab as Ve,ac as A,ad as Ae,af as fo,b as or,bc as St,ca as ii,cb as nt,cc as bt,d as $e,db as ot,dc as mr,dd as Qe,de as ao,f as Nt,fb as On,g as ei,ga as An,hb as h,ib as cr,ja as ri,jb as Nn,jd as $n,ka as Pn,la as ar,lb as Me,lc as Un,ld as Vn,ma as ne,mc as pr,md as ci,nb as Ln,nc as ai,ob as kn,oc as Et,pb as Dn,pc as Y,qa as ue,qc as Se,rc as ur,sa as I,tb as B,td as mi,ua as M,ub as Bt,ud as Z,v as En,va as kt,vd as pi,w as he,wa as wn,x as ae,xa as oe,xd as Kn,ya as m,yd as Hn,ye as lo,za as gt,zb as O,zc as dr,zd as qn}from"./chunk-6LP6WHZQ.js";import{a as pa}from"./chunk-NROIQDT2.js";import{a as D,b as je,e as bn}from"./chunk-5KTCK5IS.js";function Wc(i,t){if(i&1&&(y(0,"div",3),R(1,"div",4),b()),i&2){let e=A(2);h(),oi("width",e.diameter)("height",e.diameter)}}function Yc(i,t){if(i&1&&R(0,"div",5),i&2){let e=A().ngIf,r=A();oi("background",r.color)("height",r.height)("width",e+"%")}}function Xc(i,t){if(i&1&&(Fn(0),O(1,Wc,2,4,"div",1)(2,Yc,1,6,"div",2),Bn()),i&2){let e=A();h(),C("ngIf",e.includeSpinner),h(),C("ngIf",e.includeBar)}}var Nr=class{constructor(t={}){this.config=t,this.state={action:null,value:0,initialValue:0},this.requests=null,this.disabled=!1,this.stream$=new Nt,this._value$=null,this.timer$=e=>{let r=he(e);switch(e.action){case"start":case"increment":case"set":{e.action==="start"&&this.config.latencyThreshold===0&&e.value===0&&(e.value=e.initialValue),this.requests>0&&(r=Lt(this.config.latencyThreshold,250).pipe(q(n=>je(D({},e),{value:n===0?this.state.value||e.initialValue:this._increment()}))));break}case"complete":case"stop":{r=e.value===0?he(D({},e)):Lt(0,500).pipe(Q(2),q(n=>({value:n===0?100:0})));break}}return r.pipe(q(n=>je(D({},n),{action:"set"})),ue(n=>this.next(n,!1)))},this.config=D({latencyThreshold:0},t)}get value$(){return this._value$?this._value$:this._value$=this.stream$.pipe(ar(this.state),ne(t=>this.timer$(t)),ri(),q(t=>t.value))}start(t=2){this.disabled||this.next({action:"start",initialValue:t})}stop(){this.next({action:"stop"})}complete(){this.next({action:"complete"})}disable(){this.disabled=!0}set(t){this.next({action:"set",value:t})}increment(t=0){this.next({action:"increment",value:t})}next(t,e=!0){switch(t.action){case"start":this.requests=(this.requests||0)+1;break;case"complete":if(this.requests=(this.requests||1)-1,this.requests>0)return;break;case"stop":this.requests=0;break;case"increment":t.value=this._increment(t.value);break}this.state=D(je(D({},this.state),{action:null}),t),e&&this.stream$.next(this.state)}_increment(t=0){let e=this.state.value;return e>=99&&(t=0),t===0&&(e>=0&&e<25?t=Math.random()*3+3:e>
1=25&&e<65?t=Math.random()*3:e>=65&&e<90?t=Math.random()*2:e>=90&&e<99?t=.5:t=0),t+e}},Jc=new wn("LOADING_BAR_CONFIG"),Lr=(()=>{class i{constructor(e,r={},n){this.platformId=e,this.config=r,this.zone=n,this.refs={},this.streams$=new Nt,this.value$=this.streams$.pipe(ar(null),ne(()=>ht(Object.keys(this.refs).map(o=>this.refs[o].value$))),Zc(this.zone),q(o=>Math.max(0,...o)))}get progress$(){return this.value$}start(e=2){this.useRef().start(e)}set(e){this.useRef().set(e)}increment(e){this.useRef().increment(e)}complete(){this.useRef().complete()}stop(){this.useRef().stop()}useRef(e="default"){return this.refs[e]||(this.refs[e]=new Nr(this.config),this.streams$.next(),Z(this.platformId)||this.refs[e].disable()),this.refs[e]}}return i.\u0275fac=function(e){return new(e||i)(oe(K),oe(Jc,8),oe(_t,8))},i.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Zc(i){return i?t=>new $e(e=>t.subscribe(r=>i.run(()=>e.next(r)),r=>i.run(()=>e.error(r)),()=>i.run(()=>e.complete()))):t=>t}var xa=(()=>{class i{constructor(e){this.loader=e,this.includeSpinner=!0,this.includeBar=!0,this.fixed=!0,this.color="#29d"}get value$(){return this.ref?this.loader.useRef(this.ref).value$:this.loader.value$}}return i.\u0275fac=function(e){return new(e||i)(Me(Lr))},i.\u0275cmp=B({type:i,selectors:[["ngx-loading-bar"]],hostVars:3,hostBindings:function(e,r){e&2&&(ve("fixed",r.fixed),oi("color",r.color))},inputs:{includeSpinner:"includeSpinner",includeBar:"includeBar",fixed:"fixed",color:"color",value:"value",ref:"ref",height:"height",diameter:"diameter"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["class","ngx-spinner",4,"ngIf"],["class","ngx-bar",3,"background","height","width",4,"ngIf"],[1,"ngx-spinner"],[1,"ngx-spinner-icon"],[1,"ngx-bar"]],template:function(e,r){e&1&&(O(0,Xc,3,2,"ng-container",0),qe(1,"async")),e&2&&C("ngIf",r.value!=null?r.value:Ge(1,1,r.value$))},dependencies:[$n,ci],styles:["[_nghost-%COMP%]{position:relative;display:block;pointer-events:none}[_nghost-%COMP%]   .ngx-spinner[_ngcontent-%COMP%]{transition:.35s linear all;display:block;position:absolute;top:5px;left:0px}[_nghost-%COMP%]   .ngx-spinner[_ngcontent-%COMP%]   .ngx-spinner-icon[_ngcontent-%COMP%]{width:14px;height:14px;border:solid 2px transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:_ngcontent-%COMP%_loading-bar-spinner .4s linear infinite;animation:_ngcontent-%COMP%_loading-bar-spinner .4s linear infinite}[_nghost-%COMP%]   .ngx-bar[_ngcontent-%COMP%]{transition:width .35s;position:absolute;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}[dir=rtl]   [_nghost-%COMP%]   .ngx-bar[_ngcontent-%COMP%]{right:0;left:unset}[fixed=true][_nghost-%COMP%]{z-index:10002}[fixed=true][_nghost-%COMP%]   .ngx-bar[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%]   .ngx-spinner[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px}[dir=rtl]   [fixed=true][_nghost-%COMP%]   .ngx-spinner[_ngcontent-%COMP%]{right:10px;left:unset}@-webkit-keyframes _ngcontent-%COMP%_loading-bar-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_loading-bar-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0}),i})(),lt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Bt({type:i}),i.\u0275inj=kt({imports:[[mi]]}),i})();var Ee=(function(i){return i.Info="info",i.Warn="warn",i})(Ee||{});var Oa=(()=>{class i extends vs{constructor(){super(...arguments),this.sessionStorageKey="site-banner-dismissed-ids",this.#e=_e(this.#t()),this.dismissedBannerIds=this.#e.asReadonly()}#e;isDismissed(e){return this.#e().includes(e)}dismiss(e){if(this.#e().includes(e))return;let r=[...this.#e(),e];this.setInSessionStorage(r),this.#e.set(r)}#t(){let e=this.getFromSessionStorage();return Array.isArray(e)&&e.every(r=>typeof r=="string")?e:[]}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=yt(i)))(n||i)}})()}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var em={"Cache-Control":"no-store"},Na=(()=>{class i{#e=m(Tt);getSiteBanners(e){return this.#e.get(`/${e.siteId}-notification-banner.json`,{headers:em})}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var tm=/^<p\b[^>]*>(?![\s\S]*<p\b[^>]*>)([\s\S]*)<\/p>$/i;function ka(i,t){return+(t.variant===Ee.Warn)-+(i.variant===Ee.Warn)}function Da(i,t){return im(i,t)}function Fa(i,t,e){let r=om(i.message,t);return sm(r,La(i.eventStartTime,e),La(i.eventEndTime,e))}function Ba(i){return i.trim().replace(tm,"$1").trim()}function im(i,t){return nm(i.type)&&rm(i.message,t)}function rm(i,t){return!!i[t]?.trim()}function nm(i){return i==="info"||i==="warning"}function om(i,t){return i[t]??""}function sm(i,t,e){return i.replaceAll("{eventStartTime}",t).replaceAll("{eventEndTime}",e).replaceAll("{event_start_date}",t).replaceAll("{event_end_date}",e).replaceAll("{event_start_time}",t).replaceAll("{event_end_time}",e)}function La(i,t){return!i||Number.isNaN(new Date(i).getTime())?"":zo(jo(i,t),"yyyy-MM-dd HH:mm")??""}var kr={banners:[]},Ua=(()=>{class i{#e;#t;#i;#r;#n;#o;#s;#c;#a;#m;#l;#p;#u;#d;#f;#h;constructor(){this.#e=m(X),this.#t=m(ee),this.#i=m(z),this.#r=m(Na),this.#n=m(Oa),this.#o=m(Qe),this.#s=m(vi),this.#c=m(ni),this.#a=Z(m(K)),this.#m=this.#a?Intl.DateTimeFormat().resolvedOptions().timeZone:"UTC",this.#l=_e(!1),this.#p=new Nt,this.#u=x(()=>({siteId:this.#e.siteId(),language:this.#t.language()})),this.#d=Pe(this.#u).pipe(Mn((e,r)=>e.siteId===r.siteId&&e.language===r.language)),this.#f=sr(this.#d,this.#p.pipe(q(()=>this.#u()))).pipe(re(()=>this.#a&&this.#l()),ne(e=>this.#g(e))),this.#h=Ye(this.#f,{initialValue:kr}),this.siteBanners=x(()=>{let{language:e}
1=this.#u(),r=this.#h()?.banners??[],n=this.#n.dismissedBannerIds();return r.filter(o=>Da(o,e)).filter(o=>!n.includes(o.id)).map(o=>this.#_(o,e)).sort(ka)}),this.#a&&Ve(()=>{this.#l.set(!0),this.#p.next(),this.#y()})}dismiss(e){this.#n.dismiss(e)}#g(e){let{siteId:r,language:n}=e;return!r||!n?he(kr):this.#r.getSiteBanners({siteId:r,language:n}).pipe(ge(o=>(this.#i.error(`[SiteBannerFacadeService][siteBanners] Error fetching site banners for site ${r} and language ${n}: ${o}`),he(kr))))}#y(){let e=this.#o.defaultView??this.#s;sr(ti(this.#o,"visibilitychange").pipe(re(()=>this.#o.visibilityState==="visible")),ti(e,"pageshow"),ti(e,"online")).pipe(We(this.#c)).subscribe(()=>this.#p.next())}#_(e,r){return{id:e.id,variant:e.type==="warning"?Ee.Warn:Ee.Info,message:Ba(Fa(e,r,this.#m))}}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var za=(()=>{class i{#e=m(As);showBannerGA(e){this.#t(Tr.BannerView,e)}dismissBannerButtonClickGA(e){this.#t(Tr.BannerDismiss,e)}#t(e,r){this.#e.pushTag({event:Ms.CustomEvent,eventAction:e,eventCategory:Ts.TopNotificationBanner,eventLabel:this.#i(r)})}#i(e){return e===Ee.Warn?Mr.Warning:Mr.Info}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var am=["bannerRegion"],lm=(i,t)=>t.id;function cm(i,t){if(i&1){let e=vt();y(0,"p-message",5),le("onClose",function(){let n=it(e).$implicit,o=A();return rt(o.dismiss(n.id))}),R(1,"span",6),b()}if(i&2){let e=t.$implicit;C("severity",e.severity)("icon",e.icon)("closable",!0),ve("aria-label",e.ariaLabel)("data-test-id","site-banner-"+e.id),h(),C("innerHTML",e.detail,nt)}}var ja=(()=>{class i{constructor(){this.#e=m(Ua),this.#t=m(za),this.#i=m(Xe),this.#r=m(ye),this.#n=m(K),this.messageComponents=kn(Ai,{read:Ft}),this.bannerRegion=Ln("bannerRegion",{read:Ft}),this.announcement=_e(""),this.#o=0,this.#s=new Set,this.resources=x(()=>({allSiteBannersDismissed:this.#i.getResourceByKey(V.A11Y_ALL_SITE_BANNERS_DISMISSED),ariaCloseText:this.#i.getResourceByKey(V.A11Y_DISMISS_ARIA_LABEL),ariaRegionText:this.#i.getResourceByKey(V.A11Y_SITE_BANNER_ARIA_LABEL),siteBannerDismissed:this.#i.getResourceByKey(V.A11Y_SITE_BANNER_DISMISSED),informationLabel:this.#i.getResourceByKey(V.A11Y_INFORMATION),warningLabel:this.#i.getResourceByKey(V.A11Y_WARNING),informationBannerAriaLabel:this.#i.getResourceByKey(V.A11Y_INFORMATIONAL_BANNER_ARIA_LABEL),warningBannerAriaLabel:this.#i.getResourceByKey(V.A11Y_WARNING_BANNER_ARIA_LABEL)})),this.maximumVisibleBanners=Te(2),this.visibleBanners=x(()=>this.#e.siteBanners().slice(0,this.maximumVisibleBanners())),this.#c=Ae(()=>{if(!Z(this.#n))return;let e=this.visibleBanners();this.#p(e),this.#s=new Set(e.map(r=>r.id))}),this.#a=Ae(()=>{let e=this.messages();this.messageComponents().forEach((r,n)=>{r.nativeElement.querySelector(".p-message-close-button")?.setAttribute("aria-label",e[n]?.dismissAriaLabel??"")})}),this.messages=x(()=>this.visibleBanners().map(e=>{let r=e.variant===Ee.Warn?this.resources().warningLabel:this.resources().informationLabel;return{id:e.id,detail:e.message,icon:"pi pi-bell",severity:e.variant,ariaLabel:e.variant===Ee.Warn?this.resources().warningBannerAriaLabel:this.resources().informationBannerAriaLabel,dismissAriaLabel:`${this.resources().ariaCloseText} ${r}`}}))}#e;#t;#i;#r;#n;#o;#s;#c;#a;dismiss(e){let r=this.visibleBanners().findIndex(n=>n.id===e);this.#m(e),this.#e.dismiss(e),this.#l(r),Ve(()=>{this.#u(this.visibleBanners().length?this.resources().siteBannerDismissed:this.resources().allSiteBannersDismissed)},{injector:this.#r})}#m(e){let r=this.visibleBanners().find(n=>n.id===e);r!==void 0&&this.#t.dismissBannerButtonClickGA(r.variant)}#l(e){let r=this.visibleBanners()[e]?.id??this.visibleBanners()[e-1]?.id;if(r!==void 0){this.#f(r);return}this.#d()}#p(e){e.forEach(r=>{this.#s.has(r.id)||this.#t.showBannerGA(r.variant)})}#u(e){this.#o++,this.announcement.set(`${e}\u200B${"\u200C".repeat(this.#o%2)}`)}#d(){Ve(()=>{this.bannerRegion()?.nativeElement.focus()},{injector:this.#r})}#f(e){Ve(()=>{let r=this.visibleBanners().findIndex(s=>s.id===e);this.messageComponents()[r]?.nativeElement?.querySelector("button")?.focus()},{injector:this.#r})}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["ppg-site-banner-list"]],viewQuery:function(r,n){r&1&&(pr(n.messageComponents,Ai,5,Ft),pr(n.bannerRegion,am,5,Ft)),r&2&&ai(2)},inputs:{maximumVisibleBanners:[1,"maximumVisibleBanners"]},decls:7,vars:2,consts:[["bannerRegion",""],["aria-live","polite","aria-atomic","true",1,"sr-only"],["role","regi
1on","tabindex","-1",1,"site-banner-list"],["role","status","aria-live","polite","aria-atomic","true","data-nosnippet","","data-test-id","site-banners",1,"site-banner"],[1,"site-banner__message",3,"severity","icon","closable"],[1,"site-banner__message",3,"onClose","severity","icon","closable"],[3,"innerHTML"]],template:function(r,n){r&1&&(y(0,"span",1),Y(1),b(),y(2,"section",2,0)(4,"div",3),Fe(5,cm,2,6,"p-message",4,lm),b()()),r&2&&(h(),Se(n.announcement()),h(),ve("aria-label",n.resources().ariaRegionText),h(3),Be(n.messages()))},dependencies:[Ai],styles:[".site-banner-list[_ngcontent-%COMP%]{display:grid}.site-banner__message[_ngcontent-%COMP%]{display:block;margin-top:var(--p-message-border-width)}"],changeDetection:0})}}return i})();var $a=(()=>{class i extends is{constructor(){super(...arguments),this.document=Ti`
2    mutation ($userEmail: EmailAddress!) {
3      setUserBannerDismissedOn(userEmail: $userEmail) {
4        statusCode
5      }
6    }
7  `}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=yt(i)))(n||i)}})()}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Va=(()=>{class i extends ts{constructor(){super(...arguments),this.document=Ti`
8    query ($userEmail: EmailAddress!) {
9      userPreferences(userEmail: $userEmail) {
10        language
11        isBannerVisible
12      }
13    }
14  `}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=yt(i)))(n||i)}})()}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Ka=(()=>{class i{constructor(e,r){this.userPreferencesQuery=e,this.createAppBannerDetailsMutation=r}getAppBanerDetails(e){return this.userPreferencesQuery.fetch({variables:{userEmail:e}}).pipe(q(r=>r.data.userPreferences.isBannerVisible))}createAppBannerDetails(e){let r={userEmail:e};return this.createAppBannerDetailsMutation.mutate({variables:r})}static{this.\u0275fac=function(r){return new(r||i)(oe(Va),oe($a))}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function dm(i,t){if(i&1){let e=vt();y(0,"span",0),le("click",function(){it(e);let n=A();return rt(n.closeSmartBanner())}),Y(1,"\xD7"),b(),y(2,"div",1)(3,"div",2),R(4,"span",3),y(5,"div",4)(6,"div",5),Y(7),qe(8,"transloco"),b(),y(9,"div",6),Y(10),qe(11,"transloco"),b()(),y(12,"a",7),le("click",function(){it(e);let n=A();return rt(n.closeSmartBanner())}),y(13,"span",8),Y(14),qe(15,"transloco"),b()()()()}if(i&2){let e=A();h(7),Se(Ge(8,4,"SMART_BANNER.TITLE")),h(3),Se(Ge(11,6,"SMART_BANNER.SUB_TITLE")),h(2),C("href",e.url,ot),h(2),Se(Ge(15,8,"SMART_BANNER.VIEW"))}}var Ha=(()=>{class i{constructor(e,r,n,o,s){this.platformService=e,this.preferenceService=r,this.userInfoService=n,this.deviceService=o,this.configurationService=s,this.url=null,this.smartbannerVisible$=new ei(!1),this.smartBannerEnabled$=this.configurationService.smartBannerFeatureFlag$,this.deviceService.isMobileView.pipe(re(a=>a),ne(()=>this.userInfoService.getUserInfo()),re(a=>!!a),ne(a=>this.preferenceService.getAppBanerDetails(a.email)),We()).subscribe(a=>{this.smartbannerVisible$.next(a)}),this.platformService.ANDROID?this.url="https://onelink.to/cdp_footer_and?utm_source=cdp&utm_medium=footer":this.platformService.IOS&&(this.url="https://onelink.to/cdp_footer_ios?utm_source=cdp&utm_medium=footer")}closeSmartBanner(){this.smartbannerVisible$.next(!1),this.userInfoService.getUserInfo().subscribe(e=>{this.preferenceService.createAppBannerDetails(e.email).subscribe()})}static{this.\u0275fac=function(r){return new(r||i)(Me(no),Me(Ka),Me(Is),Me(ws),Me(Es))}}static{this.\u0275cmp=B({type:i,selectors:[["app-smartbanner"]],decls:3,vars:5,consts:[[1,"smartbanner-close",3,"click"],["id","smartabanner",1,"smartbanner"],[1,"smartbanner-container"],[1,"smartbanner-icon"],[1,"smartbanner-info"],[1,"smartbanner-title"],[1,"smartbanner-subtitle"],["target","_blank","rel","noopener",1,"smartbanner-button",3,"click","href"],[1,"smartbanner-button-text"]],template:function(r,n){r&1&&(O(0,dm,16,10),qe(1,"async"),qe(2,"async")),r&2&&W(Ge(1,1,n.smartbannerVisible$)&&Ge(2,3,n.smartBannerEnabled$)?0:-1)},dependencies:[ci,ds,us],styles:[".padding-none[_ngcontent-%COMP%]{padding:0!important}.padding-small[_ngcontent-%COMP%]{padding:size(1)!important}
14.padding-medium[_ngcontent-%COMP%]{padding:size(2)!important}.padding-large[_ngcontent-%COMP%]{padding:size(3)!important}.padding-xl[_ngcontent-%COMP%]{padding:size(4)!important}.padding-xxl[_ngcontent-%COMP%]{padding:size(5)!important}.padding-top-none[_ngcontent-%COMP%]{padding-top:0!important}.padding-top-small[_ngcontent-%COMP%]{padding-top:size(1)!important}.padding-top-medium[_ngcontent-%COMP%]{padding-top:size(2)!important}.padding-top-large[_ngcontent-%COMP%]{padding-top:size(3)!important}.padding-top-xl[_ngcontent-%COMP%]{padding-top:size(4)!important}.padding-top-xxl[_ngcontent-%COMP%]{padding-top:size(5)!important}.padding-right-none[_ngcontent-%COMP%]{padding-right:0!important}.padding-right-small[_ngcontent-%COMP%]{padding-right:size(1)!important}.padding-right-medium[_ngcontent-%COMP%]{padding-right:size(2)!important}.padding-right-large[_ngcontent-%COMP%]{padding-right:size(3)!important}.padding-right-xl[_ngcontent-%COMP%]{padding-right:size(4)!important}.padding-right-xxl[_ngcontent-%COMP%]{padding-right:size(5)!important}.padding-bottom-none[_ngcontent-%COMP%]{padding-bottom:0!important}.padding-bottom-small[_ngcontent-%COMP%]{padding-bottom:size(1)!important}.padding-bottom-medium[_ngcontent-%COMP%]{padding-bottom:size(2)!important}.padding-bottom-large[_ngcontent-%COMP%]{padding-bottom:size(3)!important}.padding-bottom-xl[_ngcontent-%COMP%]{padding-bottom:size(4)!important}.padding-bottom-xxl[_ngcontent-%COMP%]{padding-bottom:size(5)!important}.padding-left-none[_ngcontent-%COMP%]{padding-left:0!important}.padding-left-small[_ngcontent-%COMP%]{padding-left:size(1)!important}.padding-left-medium[_ngcontent-%COMP%]{padding-left:size(2)!important}.padding-left-large[_ngcontent-%COMP%]{padding-left:size(3)!important}.padding-left-xl[_ngcontent-%COMP%]{padding-left:size(4)!important}.padding-left-xxl[_ngcontent-%COMP%]{padding-left:size(5)!important}.font-size-xs-1[_ngcontent-%COMP%]{font-size:.5625rem!important}.font-size-xs-2[_ngcontent-%COMP%]{font-size:.625rem!important}.font-size-xs-3[_ngcontent-%COMP%]{font-size:.65625rem!important}.font-size-s-1[_ngcontent-%COMP%]{font-size:.6875rem!important}.font-size-s-2[_ngcontent-%COMP%]{font-size:.75rem!important}.font-size-s-3[_ngcontent-%COMP%]{font-size:.875rem!important}.font-size-s-4[_ngcontent-%COMP%]{font-size:.8125rem!important}.font-size-m[_ngcontent-%COMP%]{font-size:1rem!important}.font-size-m-1[_ngcontent-%COMP%]{font-size:1.125rem!important}.font-size-m-2[_ngcontent-%COMP%]{font-size:1.25rem!important}.font-size-m-3[_ngcontent-%COMP%]{font-size:1.375rem!important}.font-size-l[_ngcontent-%COMP%]{font-size:1.5rem!important}.font-size-l-1[_ngcontent-%COMP%]{font-size:1.625rem!important}.font-size-l-2[_ngcontent-%COMP%]{font-size:2.125rem!important}.font-size-l-3[_ngcontent-%COMP%]{font-size:2.375rem!important}.font-size-xl[_ngcontent-%COMP%]{font-size:2.5rem!important}.smartbanner[_ngcontent-%COMP%]{left:0;top:0;width:100%;height:78px;font-family:Noto Sans,arial,helvetica,sans-serif;background:#bae3f3;overflow:hidden;border-bottom:1px solid #cccccc;margin-bottom:10px;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:none;text-size-adjust:none}.smartbanner-container[_ngcontent-%COMP%]{margin:0 auto}.smartbanner-close[_ngcontent-%COMP%]{position:absolute;left:7px;top:7px;display:block;font-family:Noto Sans,arial,helvetica,sans-serif;font-size:15px;text-align:center;text-decoration:none;border-radius:14px;-webkit-font-smoothing:subpixel-antialiased;border:0;width:17px;height:17px;line-height:17px;color:#0c0d0d;background:#bae3f3}.smartbanner-close[_ngcontent-%COMP%]:active, .smartbanner-close[_ngcontent-%COMP%]:hover{color:#0c0d0d}.smartbanner-icon[_ngcontent-%COMP%]{position:absolute;left:30px;top:10px;display:block;width:57px;height:57px;background-color:#fff;background-size:cover;background-image:url(/assets/img/ppg.jpg);border-radius:17px}.smartbanner-info[_ngcontent-%COMP%]{position:absolute;left:98px;top:15px;width:44%;font-size:.75rem;line-height:1.2em;font-weight:700;color:#0c0d0d}.smartbanner-title[_ngcontent-%COMP%]{font-size:15px;line-height:21px;color:#0c0d0d;font-weight:700}.smartbanner-subtitle[_ngcontent-%COMP%]{font-size:15px;margin-top:8px;color:#0c0d0d;font-weight:lighter}.smartbanner-button[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px;border-bottom:3px solid #fffffc;padding:0 5px;min-width:3%;height:32px;font-size:11px;line-height:31px;text-align:center;font-weight:700;color:#0c0d0d;background-color:#fffffc;text-decoration:none;border-radius:8px}.smartbanner-button[_ngcontent-%COMP%]:hover{background-color:#fffffc;border-bottom:3px solid #fffffc}.smartbanner-button-text[_ngcontent-%COMP%]{text-align:center;display:block;padding:0 5px;font-weight:700}"],changeDetection:0})}}return i})();function fm(i,t){i&1&&R(0,"ngx-loading-bar",0)}function hm(i,t){i&1&&R(0,"app-smartbanner")}function gm(i,t){i&1&&O(0,hm,1,0,"app-smartbanner",3)}function ym(i,t){if(i&1&&R(0,"ppg-site-banner-list",1),i&2){let e=A();C("maximumVisibleBanners",e.maximumVisibleBanners())}}var qa=(()=>{class i{#e;#t;#i;#r;#n;#o;#s;#c;#a;#m;#l;constructor(){this.#e=m(X),this.#t=m(oo),this.#i=m(ye),this.#r=m(ps),this.#n=m(ee),this.#o=m(_t),this.#s=m(Qe),this.#c=m(be),this.isECommerceEnabled=this.#e.isECommerceEnabled(),this.isMobile=Ye(this.#t.observe("(max-width: 767.98px)").pipe(q(({matches:e})=>e)),{initialValue:!1}),this.isSiteBannerEnabled=x(()=>this.#e.getSiteFlag(F.SiteBannerIsEnabled)),this.maximumVisibleBanners=x(()=>{let e=this.#e.getSiteSettingValueByKey(F.SiteBannerMaximumVisibleBanners),r=Number(e);return Number.isInteger(r)&&r>0?r:2}),this.#a=x(()=>this.#e.getSiteFlag(F.ProgressBarEnabled)),this.#m=Z(this.#i.get(K)),this.isLoadingBarVisible=x(()=>this.#m&&this.#l()&&this.#a()),this.#l=_e(!1),this.#r.addAnonymousIdToTransferState(),Ve(()=>{this.onResize(),this.#p()}),Ae(()=>{this.#s.documentElement.lang=this.#n.language()})}onResize(){this.#o.runOutsideAngular(()=>
14{let e=(this.#s.defaultView?.innerHeight||0)*.01;this.#s.documentElement.style.setProperty("--vh",`${e}px`)})}#p(){this.#m&&this.#c.events.pipe(re(e=>e instanceof ao),Pn(1),Q(1)).subscribe(()=>this.#l.set(!0))}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["ppg-root"]],hostBindings:function(r,n){r&1&&le("resize",function(){return n.onResize()},!1,On)},decls:5,vars:4,consts:[["color","#0078a9","height","4px"],[3,"maximumVisibleBanners"],[3,"position"],[4,"ppgHideOnMobileAppView"]],template:function(r,n){r&1&&(O(0,fm,1,0,"ngx-loading-bar",0)(1,gm,1,0,"app-smartbanner")(2,ym,1,1,"ppg-site-banner-list",1),R(3,"router-outlet")(4,"p-toast",2)),r&2&&(W(n.isLoadingBarVisible()?0:-1),h(),W(n.isECommerceEnabled?1:-1),h(),W(n.isSiteBannerEnabled()?2:-1),h(2),C("position",n.isMobile()?"bottom-center":"top-right"))},dependencies:[Mt,vo,_o,lt,xa,Ha,ja,Pi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}@media print{[_nghost-%COMP%]{display:inline}}.viewport-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.viewport-container[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-top:var(--p-pds-unit-1000);padding-bottom:var(--p-pds-unit-1000)}"],changeDetection:0})}}return i})();function Ga(i){return new I(3e3,!1)}function _m(){return new I(3100,!1)}function vm(){return new I(3101,!1)}function Sm(i){return new I(3001,!1)}function bm(i){return new I(3003,!1)}function Em(i){return new I(3004,!1)}function Wa(i,t){return new I(3005,!1)}function Ya(){return new I(3006,!1)}function Xa(){return new I(3007,!1)}function Ja(i,t){return new I(3008,!1)}function Za(i){return new I(3002,!1)}function el(i,t,e,r,n){return new I(3010,!1)}function tl(){return new I(3011,!1)}function il(){return new I(3012,!1)}function rl(){return new I(3200,!1)}function nl(){return new I(3202,!1)}function ol(){return new I(3013,!1)}function sl(i){return new I(3014,!1)}function al(i){return new I(3015,!1)}function ll(i){return new I(3016,!1)}function cl(i,t){return new I(3404,!1)}function Cm(i){return new I(3502,!1)}function ml(i){return new I(3503,!1)}function pl(){return new I(3300,!1)}function ul(i){return new I(3504,!1)}function dl(i){return new I(3301,!1)}function fl(i,t){return new I(3302,!1)}function hl(i){return new I(3303,!1)}function gl(i,t){return new I(3400,!1)}function yl(i){return new I(3401,!1)}function _l(i){return new I(3402,!1)}function vl(i,t){return new I(3505,!1)}function Ue(i){switch(i.length){case 0:return new st;case 1:return i[0];default:return new fi(i)}}function zr(i,t,e=new Map,r=new Map){let n=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),u=c==s,p=u&&a||new Map;l.forEach((E,v)=>{let f=v,_=E;if(v!=="offset")switch(f=i.normalizePropertyName(f,n),_){case zt:_=e.get(v);break;case we:_=r.get(v);break;default:_=i.normalizeStyleValue(v,f,_,n);break}p.set(f,_)}),u||o.push(p),a=p,s=c}),n.length)throw Cm(n);return o}function Ni(i,t,e,r){switch(t){case"start":i.onStart(()=>r(e&&Fr(e,"start",i)));break;case"done":i.onDone(()=>r(e&&Fr(e,"done",i)));break;case"destroy":i.onDestroy(()=>r(e&&Fr(e,"destroy",i)));break}}function Fr(i,t,e){let r=e.totalTime,n=!!e.disabled,o=Li(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,r??i.totalTime,n),s=i._data;return s!=null&&(o._data=s),o}function Li(i,t,e,r,n="",o=0,s){return{element:i,triggerName:t,fromState:e,toState:r,phaseName:n,totalTime:o,disabled:!!s}}function ce(i,t,e){let r=i.get(t);return r||i.set(t,r=e),r}function jr(i){let t=i.indexOf(":"),e=i.substring(1,t),r=i.slice(t+1);return[e,r]}var Tm=typeof document>"u"?null:document.documentElement;function ki(i){let t=i.parentNode||i.host||null;return t===Tm?null:t}function Mm(i){return i.substring(1,6)=="ebkit"}var ct=null,Qa=!1;function Sl(i){ct||(ct=Am()||{},Qa=ct.style?"WebkitAppearance"in ct.style:!1);let t=!0;return ct.style&&!Mm(i)&&(t=i in ct.style,!t&&Qa&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in ct.style)),t}function Am(){return typeof document<"u"?document.body:null}function $r(i,t){for(;t;){if(t===i)return!0;t=ki(t)}return!1}function Vr(i,t,e){if(e)return Array.from(i.querySelectorAll(t));let r=i.querySelector(t);return r?[r]:[]}var Pm=1e3,Kr="{{",wm="}}",Hr="ng-enter",Di="ng-leave",qt="ng-trigger",Gt=".ng-trigger",qr
vendor: 47,038 bytes, line 14
14="ng-animating",Fi=".ng-animating";function De(i){if(typeof i=="number")return i;let t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Br(parseFloat(t[1]),t[2])}function Br(i,t){return t==="s"?i*Pm:i}function Qt(i,t,e){return i.hasOwnProperty("duration")?i:Im(i,t,e)}function Im(i,t,e){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,o=0,s="";if(typeof i=="string"){let a=i.match(r);if(a===null)return t.push(Ga(i)),{duration:0,delay:0,easing:""};n=Br(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Br(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else n=i;if(!e){let a=!1,l=t.length;n<0&&(t.push(_m()),a=!0),o<0&&(t.push(vm()),a=!0),a&&t.splice(l,0,Ga(i))}return{duration:n,delay:o,easing:s}}function bl(i){return i.length?i[0]instanceof Map?i:i.map(t=>new Map(Object.entries(t))):[]}function Ie(i,t,e){t.forEach((r,n)=>{let o=Bi(n);e&&!e.has(n)&&e.set(n,i.style[o]),i.style[o]=r})}function Je(i,t){t.forEach((e,r)=>{let n=Bi(r);i.style[n]=""})}function Pt(i){return Array.isArray(i)?i.length==1?i[0]:ho(i):i}function El(i,t,e){let r=t.params||{},n=Gr(i);n.length&&n.forEach(o=>{r.hasOwnProperty(o)||e.push(Sm(o))})}var Ur=new RegExp(`${Kr}\\s*(.+?)\\s*${wm}`,"g");function Gr(i){let t=[];if(typeof i=="string"){let e;for(;e=Ur.exec(i);)t.push(e[1]);Ur.lastIndex=0}return t}function wt(i,t,e){let r=`${i}`,n=r.replace(Ur,(o,s)=>{let a=t[s];return a==null&&(e.push(bm(s)),a=""),a.toString()});return n==r?i:n}var xm=/-+([a-z0-9])/g;function Bi(i){return i.replace(xm,(...t)=>t[1].toUpperCase())}function Cl(i,t){return i===0||t===0}function Tl(i,t,e){if(e.size&&t.length){let r=t[0],n=[];if(e.forEach((o,s)=>{r.has(s)||n.push(s),r.set(s,o)}),n.length)for(let o=1;o<t.length;o++){let s=t[o];n.forEach(a=>s.set(a,Ui(i,a)))}}return t}function me(i,t,e){switch(t.type){case P.Trigger:return i.visitTrigger(t,e);case P.State:return i.visitState(t,e);case P.Transition:return i.visitTransition(t,e);case P.Sequence:return i.visitSequence(t,e);case P.Group:return i.visitGroup(t,e);case P.Animate:return i.visitAnimate(t,e);case P.Keyframes:return i.visitKeyframes(t,e);case P.Style:return i.visitStyle(t,e);case P.Reference:return i.visitReference(t,e);case P.AnimateChild:return i.visitAnimateChild(t,e);case P.AnimateRef:return i.visitAnimateRef(t,e);case P.Query:return i.visitQuery(t,e);case P.Stagger:return i.visitStagger(t,e);default:throw Em(t.type)}}function Ui(i,t){return window.getComputedStyle(i)[t]}var pn=(()=>{class i{validateStyleProperty(e){return Sl(e)}containsElement(e,r){return $r(e,r)}getParentElement(e){return ki(e)}query(e,r,n){return Vr(e,r,n)}computeStyle(e,r,n){return n||""}animate(e,r,n,o,s,a=[],l){return new st(n,o)}static \u0275fac=function(r){return new(r||i)};static \u0275prov=M({token:i,factory:i.\u0275fac})}return i})(),pt=class{static NOOP=new pn},ut=class{};var Rm=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ki=class extends ut{normalizePropertyName(t,e){return Bi(t)}normalizeStyleValue(t,e,r,n){let o="",s=r.toString().trim();if(Rm.has(e)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(Wa(t,r))}return s+o}};var Hi="*";function Om(i,t){let e=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(r=>Nm(r,e,t)):e.push(i),e}function Nm(i,t,e){if(i[0]==":"){let l=Lm(i,e);if(typeof l=="function"){t.push(l);return}i=l}let r=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return e.push(al(i)),t;let n=r[1],o=r[2],s=r[3];t.push(Ml(n,s));let a=n==Hi&&s==Hi;o[0]=="<"&&!a&&t.push(Ml(s,n))}function Lm(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r)<parseFloat(e);default:return t.push(ll(i)),"* => *"}}var zi=new Set(["true","1"]),ji=new Set(["false","0"]);function Ml(i,t){let e=zi.has(i)||ji.has(i),r=zi.has(t)||ji.has(t);return(n,o)=>{let s=i==Hi||i==n,a=t==Hi||t==o;return!s&&e&&typeof n=="boolean"&&(s=n?zi.has(i):ji.has(i)),!a&&r&&typeof o=="boolean"&&(a=o?zi.has(t):ji.has(t)),s&&a}}var kl=":self",km=new RegExp(`s*${kl}s*,?`,"g");function Dl(i,t,e,r){return new Zr(i).build(t,e,r)}var Al="",Zr=class{_driver;constructor(t){this._driver=t}build(t,e,r){let n=new en(e);return this._resetContextStyleTimingState(n),me(this,Pt(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=Al,t.collectedStyles=new Map,t.collectedStyles.set(Al,new Map),t.currentTime=0}visitTrigger(t,e){let r=e.queryCount=0,n=e.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(Ya()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==P.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==P.Transition){let l=this.visitTransition(a,e);r+=l.queryCount,n+=l.depCount,s.push(l)}else e.errors.push(Xa())}),{type:P.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:n,options:null}}visitState(t,e){let r=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=n||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Gr(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(Ja(t.name,[...o.values()]))}return{type:P.State,name:t.name,style:r,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let r=me(this,Pt(t.animation),e),n=Om(t.expr,e.errors);return{type:P.Transition,matchers:n,animation:r,queryCount:e.queryCount,depCount:e.depCount,options:mt(t.options)}}visitSequence(t,e){return{type:P.Sequence,steps:t.steps.map(r=>me(this,r,e)),options:mt(t.options)}}visitGroup(t,e){let r=e.currentTime,n=0,o=t.steps.map(s=>{e.currentTime=r;let a=me(this,s,e);return n=Math.max(n,e.currentTime),a});return e.currentTime=n,{type:P.Group,steps:o,options:mt(t.options)}}visitAnimate(t,e){let r=Um(t.timings,e.errors);e.currentAnimateTimings=r;let n,o=t.styles?t.styles:_r({});if(o.type==P.Keyframes)n=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=_r(c)}e.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,n=l}return e.currentAnimateTimings=null,{type:P.Animate,timings:r,style:n,options:null}}visitStyle(t,e){let r=this._makeStyleAst(t,e);return this._validateStyleAst(r,e),r}_makeStyleAst(t,e){let r=[],n=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of n)typeof a=="string"?a===we?r.push(a):e.errors.push(Za(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(Kr)>=0){o=!0;break}}}),{type:P.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let r=e.currentAnimateTimings,n=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l),p=!0;u&&(o!=n&&o>=u.startTime&&n<=u.endTime&&(e.errors.push(el(l,u.startTime,u.endTime,o,n)),p=!1),o=u.startTime),p&&c.set(l,{startTime:o,endTime:n}),e.options&&El(a,e.options,e.errors)})})}visitKeyframes(t,e){let r={type:P.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(tl()),r;let n=1,o=0,s=[],a=!1,l=!1,c=0,u=t.steps.map($=>{let k=this._makeStyleAst($,e),te=k.offset!=null?k.offset:Bm(k.styles),G=0;return te!=null&&(o++,G=k.offset=te),l=l||G<0||G>1,a=a||G<c,c=G,s.push(G),k});l&&e.errors.push(il()),a&&e.errors.push(rl());let p=t.steps.length,E=0;o>0&&o<p?e.errors.push(nl()):o==0&&(E=n/(p-1));let v=p-1,f=e.currentTime,_=e.currentAnimateTimings,L=_.duration;return u.forEach(($,k)=>{let te=E>0?k==v?1:E*k:s[k],G=te*L;e.currentTime=f+_.delay+G,_.duration=G,this._validateStyleAst($,e),$.offset=te,r.styles.push($)}),r}visitReference(t,e){return{type:P.Reference,animation:me(this,Pt(t.animation),e),options:mt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:P.AnimateChild,options:mt(t.options)}}visitAnimateRef(t,e){return{type:P.AnimateRef,animation:this.visitReference(t.animation,e),options:mt(t.options)}}visitQuery(t,e){let r=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;let[o,s]=Dm(t.selector);e.currentQuerySelector=r.length?r+" "+o:o,ce(e.collectedStyles,e.currentQuerySelector,new Map);let a=me(this,Pt(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:P.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:mt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(ol());let r=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Qt(t.timings,e.errors,!0);return{type:P.Stagger,animation:me(this,Pt(t.animation),e),timings:r,options:null}}};function Dm(i){let t=!!i.split(/\s*,\s*/).find(e=>e==kl);return t&&(i=i.replace(km,"")),i=i.replace(/@\*/g,Gt).replace(/@\w+/g,e=>Gt+"-"+e.slice(1)).replace(/:animating/g,Fi),[i,t]}function Fm(i){return i?D({},i):null}var en=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};function Bm(i){if(typeof i=="string")return null;let t=null;if(Array.isArray(i))i.forEach(e=>{if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let e=i;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Um(i,t){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=Qt(i,t).duration;return Qr(o,0,"")}let e=i;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Qr(0,0,"");return o.dynamic=!0,o.strValue=e,o}let n=Qt(e,t);return Qr(n.duration,n.delay,n.easing)}function mt(i){return i?(i=D({},i),i.params&&(i.params=Fm(i.params))):i={},i}function Qr(i,t,e){return{duration:i,delay:t,easing:e}}function un(i,t,e,r,n,o,s=null,a=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:r,duration:n,delay:o,totalTime:n+o,easing:s,subTimeline:a}}var Yt=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},zm=1,jm=":enter",$m=new RegExp(jm,"g"),Vm=":leave",Km=new RegExp(Vm,"g");function Fl(i,t,e,r,n,o=new Map,s=new Map,a,l,c=[]){return new tn().buildKeyframes(i,t,e,r,n,o,s,a,l,c)}var tn=class{buildKeyframes(t,e,r,n,o,s,a,l,c,u=[]){c=c||new Yt;let p=new rn(t,e,c,n,o,u,[]);p.options=l;let E=l.delay?De(l.delay):0;p.currentTimeline.delayNextStep(E),p.currentTimeline.setStyles([s],null,p.errors,l),me(this,r,p);let v=p.timelines.filter(f=>f.containsAnimation());if(v.length&&a.size){let f;for(let _=v.length-1;_>=0;_--){let L=v[_];if(L.element===e){f=L;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,p.errors,l)}return v.length?v.map(f=>f.buildKeyframes()):[un(e,[],[],[],0,E,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let r=e.subInstructions.get(e.element);if(r){let n=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(r,n,n.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let r=e.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,r),this.visitReference(t.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,r){for(let n of t){let o=n?.delay;if(o){let s=typeof o=="number"?o:De(wt(o,n?.params??{},e.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,e,r){let o=e.currentTimeline.currentTime,s=r.duration!=null?De(r.duration):null,a=r.delay!=null?De(r.delay):null;return s!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),me(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let r=e.subContextCount,n=e,o=t.options;if(o&&(o.params||o.delay)&&(n=e.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==P.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=qi);let s=De(o.delay);n.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>me(this,s,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let r=[],n=e.currentTimeline.currentTime,o=t.options&&t.options.delay?De(t.options.delay):0;t.steps.forEach(s=>{let a=e.createSubContext(t.options);o&&a.delayNextStep(o),me(this,s,a),n=Math.max(n,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let r=t.strValue,n=e.params?wt(r,e.params,e.errors):r;return Qt(n,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let r=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),n.snapshotCurrentStyles());let o=t.style;o.type==P.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(r.duration),this.visitStyle(o,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let r=e.currentTimeline,n=e.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=n&&n.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let r=e.currentAnimateTimings,n=e.currentTimeline.duration,o=r.duration,a=e.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(n+o),e.previousNode=t}visitQuery(t,e){let r=e.currentTimeline.currentTime,n=t.options||{},o=n.delay?De(n.delay):0;o&&(e.previousNode.type===P.Style||r==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=qi);let s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;let p=e.createSubContext(t.options,c);o&&p.delayNextStep(o),c===e.element&&(l=p.currentTimeline),me(this,t.animation,p),p.currentTimeline.applyStylesToKeyframe();let E=p.currentTimeline.currentTime;s=Math.max(s,E)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let r=e.parentContext,n=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=e.currentTimeline;l&&u.delayNextStep(l);let p=u.currentTime;me(this,t.animation,e),e.previousNode=t,r.currentStaggerTime=n.currentTime-p+(n.startTime-r.currentTimeline.startTime)}},qi={},rn=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=qi;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,r,n,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Gi(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let r=t,n=this.options;r.duration!=null&&(n.duration=De(r.duration)),r.delay!=null&&(n.delay=De(r.delay));let o=r.params;if(o){let s=n.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=wt(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let r=t.params={};Object.keys(e).forEach(n=>{r[n]=e[n]})}}return t}createSubContext(t=null,e,r){let n=e||this.element,o=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=qi,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,r){let n={duration:e??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new nn(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(o),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,r,n,o,s){let a=[];if(n&&a.push(this.element),t.length>0){t=t.replace($m,"."+this._enterClassName),t=t.replace(Km,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,t,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(sl(e)),a}},Gi=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,r,n){this._driver=t,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new i(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=zm,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||we),this._currentKeyframe.set(e,we);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,r,n){e&&this._previousKeyframe.set("easing",e);let o=n&&n.params||{},s=Hm(t,this._globalTimelineStyles);for(let[a,l]of s){let c=wt(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??we),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,r)=>{let n=this._styleSummary.get(r);(!n||e.time>n.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,p)=>{u===zt?t.add(p):u===we&&e.add(p)}),r||c.set("offset",l/this.duration),n.push(c)});let o=[...t.values()],s=[...e.values()];if(r){let a=n[0],l=new Map(a);a.set("offset",0),l.set("offset",1),n=[a,l]}return un(this.element,n,o,s,this.duration,this.startTime,this.easing,!1)}},nn=class extends Gi{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,r,n,o,s,a=!1){super(t,e,s.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=r+e,a=e/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",Pl(a)),o.push(c);let u=t.length-1;for(let p=1;p<=u;p++){let E=new Map(t[p]),v=E.get("offset"),f=e+v*r;E.set("offset",Pl(f/s)),o.push(E)}r=s,e=0,n="",t=o}return un(this.element,t,this.preStyleProps,this.postStyleProps,r,e,n,!0)}};function Pl(i,t=3){let e=Math.pow(10,t-1);return Math.round(i*e)/e}function Hm(i,t){let e=new Map,r;return i.forEach(n=>{if(n==="*"){r??=t.keys();for(let o of r)e.set(o,we)}else for(let[o,s]of n)e.set(o,s)}),e}function wl(i,t,e,r,n,o,s,a,l,c,u,p,E){return{type:0,element:i,triggerName:t,isRemovalTransition:n,fromState:e,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:p,errors:E}}var Wr={},Qi=class{_triggerName;ast;_stateStyles;constructor(t,e,r){this._triggerName=t,this.ast=e,this._stateStyles=r}match(t,e,r,n){return qm(this.ast.matchers,t,e,r,n)}buildStyles(t,e,r){let n=this._stateStyles.get("*");return t!==void 0&&(n=this._stateStyles.get(t?.toString())||n),n?n.buildStyles(e,r):new Map}build(t,e,r,n,o,s,a,l,c,u){let p=[],E=this.ast.options&&this.ast.options.params||Wr,v=a&&a.params||Wr,f=this.buildStyles(r,v,p),_=l&&l.params||Wr,L=this.buildStyles(n,_,p),$=new Set,k=new Map,te=new Map,G=n==="void",dt={params:Bl(_,E),delay:this.ast.options?.delay},Oe=u?[]:Fl(t,e,this.ast.animation,o,s,f,L,dt,c,p),ie=0;return Oe.forEach(se=>{ie=Math.max(se.duration+se.delay,ie)}),p.length?wl(e,this._triggerName,r,n,G,f,L,[],[],k,te,ie,p):(Oe.forEach(se=>{let Ze=se.element,ft=ce(k,Ze,new Set);se.preStyleProps.forEach(et=>ft.add(et));let yn=ce(te,Ze,new Set);se.postStyleProps.forEach(et=>yn.add(et)),Ze!==e&&$.add(Ze)}),wl(e,this._triggerName,r,n,G,f,L,Oe,[...$.values()],k,te,ie))}};function qm(i,t,e,r,n){return i.some(o=>o(t,e,r,n))}function Bl(i,t){let e=D({},t);return Object.entries(i).forEach(([r,n])=>{n!=null&&(e[r]=n)}),e}var on=class{styles;defaultParams;normalizer;constructor(t,e,r){this.styles=t,this.defaultParams=e,this.normalizer=r}buildStyles(t,e){let r=new Map,n=Bl(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=wt(s,n,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),r.set(a,s)})}),r}};function Gm(i,t,e){return new sn(i,t,e)}var sn=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,r){this.name=t,this.ast=e,this._normalizer=r,e.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new on(n.style,o,r))}),Il(this.states,"true","1"),Il(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new Qi(t,n,this.states))}),this.fallbackTransition=Qm(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,r,n){return this.transitionFactories.find(s=>s.match(t,e,r,n))||null}matchStyles(t,e,r){return this.fallbackTransition.buildStyles(t,e,r)}};function Qm(i,t,e){let r=[(s,a)=>!0],n={type:P.Sequence,steps:[],options:null},o={type:P.Transition,animation:n,matchers:r,options:null,queryCount:0,depCount:0};return new Qi(i,o,t)}function Il(i,t,e){i.has(t)?i.has(e)||i.set(e,i.get(t)):i.has(e)&&i.set(t,i.get(e))}var Wm=new Yt,an=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r}register(t,e){let r=[],n=[],o=Dl(this._driver,e,r,n);if(r.length)throw ml(r);this._animations.set(t,o)}_buildPlayer(t,e,r){let n=t.element,o=zr(this._normalizer,t.keyframes,e,r);return this._driver.animate(n,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,r={}){let n=[],o=this._animations.get(t),s,a=new Map;if(o?(s=Fl(this._driver,e,o,Hr,Di,new Map,new Map,r,Wm,n),s.forEach(u=>{let p=ce(a,u.element,new Map);u.postStyleProps.forEach(E=>p.set(E,null))})):(n.push(pl()),s=[]),n.length)throw ul(n);a.forEach((u,p)=>{u.forEach((E,v)=>{u.set(v,this._driver.computeStyle(p,v,we))})});let l=s.map(u=>{let p=a.get(u.element);return this._buildPlayer(u,new Map,p)}),c=Ue(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw dl(t);return e}listen(t,e,r,n){let o=Li(e,"","","");return Ni(this._getPlayer(t),r,o,n),()=>{}}command(t,e,r,n){if(r=="register"){this.register(t,n[0]);return}if(r=="create"){let s=n[0]||{};this.create(t,e,s);return}let o=this._getPlayer(t);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t);break}}},xl="ng-animate-queued",Ym=".ng-animate-queued",Yr="ng-animate-disabled",Xm=".ng-animate-disabled",Jm="ng-star-inserted",Zm=".ng-star-inserted",ep=[],Ul={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},tp={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},xe="__ng_removed",Xt=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let r=t&&t.hasOwnProperty("value"),n=r?t.value:t;if(this.value=rp(n),r){let o=t,{value:s}=o,a=bn(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let r=this.options.params;Object.keys(e).forEach(n=>{r[n]==null&&(r[n]=e[n])})}}},Wt="void",Xr=new Xt(Wt),ln=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,r){this.id=t,this.hostElement=e,this._engine=r,this._hostClassName="ng-tns-"+t,Ce(e,this._hostClassName)}listen(t,e,r,n){if(!this._triggers.has(e))throw fl(r,e);if(r==null||r.length==0)throw hl(e);if(!np(r))throw gl(r,e);let o=ce(this._elementListeners,t,[]),s={name:e,phase:r,callback:n};o.push(s);let a=ce(this._engine.statesByElement,t,new Map);return a.has(e)||(Ce(t,qt),Ce(t,qt+"-"+e),a.set(e,Xr)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw yl(t);return e}trigger(t,e,r,n=!0){let o=this._getTrigger(e),s=new Jt(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Ce(t,qt),Ce(t,qt+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e),c=new Xt(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Xr),!(c.value===Wt)&&l.value===c.value){if(!ap(l.params,c.params)){let _=[],L=o.matchStyles(l.value,l.params,_),$=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{Je(t,L),Ie(t,$)})}return}let E=ce(this._engine.playersByElement,t,[]);E.forEach(_=>{_.namespaceId==this.id&&_.triggerName==e&&_.queued&&_.destroy()});let v=o.matchTransition(l.value,c.value,t,c.params),f=!1;if(!v){if(!n)return;v=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:v,fromState:l,toState:c,player:s,isFallbackTransition:f}),f||(Ce(t,xl),s.onStart(()=>{It(t,xl)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);let L=this._engine.playersByElement.get(t);if(L){let $=L.indexOf(s);$>=0&&L.splice($,1)}}),this.players.push(s),E.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(n=>n.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let r=this._engine.driver.query(t,Gt,!0);r.forEach(n=>{if(n[xe])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(s=>s.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(t,e,r,n){let o=this._engine.statesByElement.get(t),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(t,c,Wt,n);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),r&&Ue(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(e&&r){let n=new Set;e.forEach(o=>{let s=o.name;if(n.has(s))return;n.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||Xr,u=new Xt(Wt),p=new Jt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:p,isFallbackTransition:!0})})}}removeNode(t,e){let r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)n=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)r.markElementAsRemoved(this.id,t,!1,e);else{let o=t[xe];(!o||o===Ul)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}insertNode(t,e){Ce(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=Li(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,Ni(r.player,a.phase,l,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(r)}),this._queue=[],e.sort((r,n)=>{let o=r.transition.ast.depCount,s=n.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},cn=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,r){this.bodyNode=t,this.driver=e,this._normalizer=r}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,e){let r=new ln(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,e){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=n.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return n.set(e,t),t}register(t,e){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,e)),r}registerTrigger(t,e,r){let n=this._namespaceLookup[t];n&&n.register(e,r)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,r=this.statesByElement.get(t);if(r){for(let n of r.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&e.add(o)}}return e}trigger(t,e,r,n){if($i(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,r,n),!0}return!1}insertNode(t,e,r,n){if(!$i(e))return;let o=e[xe];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,r)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ce(t,Yr)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),It(t,Yr))}removeNode(t,e,r){if($i(e)){let n=t?this._fetchNamespace(t):null;n?n.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,r,n,o){this.collectedLeaveElements.push(e),e[xe]={namespaceId:t,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,r,n,o){return $i(e)?this._fetchNamespace(t).listen(e,r,n,o):()=>{}}_buildInstruction(t,e,r,n,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,n,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,Gt,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,Fi,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ue(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[xe];if(e&&e.setForRemoval){if(t[xe]=Ul,e.namespaceId){this.destroyInnerAnimations(t);let r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Yr)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Xm,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];Ce(n,Jm)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{e=this._flushAnimations(r,t)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],e.length?Ue(e).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(t){throw _l(t)}_flushAnimations(t,e){let r=new Yt,n=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(d=>{u.add(d);let g=this.driver.query(d,Ym,!0);for(let S=0;S<g.length;S++)u.add(g[S])});let p=this.bodyNode,E=Array.from(this.statesByElement.keys()),v=Nl(E,this.collectedEnterElements),f=new Map,_=0;v.forEach((d,g)=>{let S=Hr+_++;f.set(g,S),d.forEach(w=>Ce(w,S))});let L=[],$=new Set,k=new Set;for(let d=0;d<this.collectedLeaveElements.length;d++){let g=this.collectedLeaveElements[d],S=g[xe];S&&S.setForRemoval&&(L.push(g),$.add(g),S.hasAnimation?this.driver.query(g,Zm,!0).forEach(w=>$.add(w)):k.add(g))}let te=new Map,G=Nl(E,Array.from($));G.forEach((d,g)=>{let S=Di+_++;te.set(g,S),d.forEach(w=>Ce(w,S))}),t.push(()=>{v.forEach((d,g)=>{let S=f.get(g);d.forEach(w=>It(w,S))}),G.forEach((d,g)=>{let S=te.get(g);d.forEach(w=>It(w,S))}),L.forEach(d=>{this.processLeaveNode(d)})});let dt=[],Oe=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(e).forEach(S=>{let w=S.player,H=S.element;if(dt.push(w),this.collectedEnterElements.length){let J=H[xe];if(J&&J.setForMove){if(J.previousTriggersValues&&J.previousTriggersValues.has(S.triggerName)){let tt=J.previousTriggersValues.get(S.triggerName),fe=this.statesByElement.get(S.element);if(fe&&fe.has(S.triggerName)){let Zt=fe.get(S.triggerName);Zt.value=tt,fe.set(S.triggerName,Zt)}}w.destroy();return}}let Ne=!p||!this.driver.containsElement(p,H),pe=te.get(H),ze=f.get(H),U=this._buildInstruction(S,r,ze,pe,Ne);if(U.errors&&U.errors.length){Oe.push(U);return}if(Ne){w.onStart(()=>Je(H,U.fromStyles)),w.onDestroy(()=>Ie(H,U.toStyles)),n.push(w);return}if(S.isFallbackTransition){w.onStart(()=>Je(H,U.fromStyles)),w.onDestroy(()=>Ie(H,U.toStyles)),n.push(w);return}let Sn=[];U.timelines.forEach(J=>{J.stretchStartingKeyframe=!0,this.disabledNodes.has(J.element)||Sn.push(J)}),U.timelines=Sn,r.append(H,U.timelines);let Gc={instruction:U,player:w,element:H};s.push(Gc),U.queriedElements.forEach(J=>ce(a,J,[]).push(w)),U.preStyleProps.forEach((J,tt)=>{if(J.size){let fe=l.get(tt);fe||l.set(tt,fe=new Set),J.forEach((Zt,nr)=>fe.add(nr))}}),U.postStyleProps.forEach((J,tt)=>{let fe=c.get(tt);fe||c.set(tt,fe=new Set),J.forEach((Zt,nr)=>fe.add(nr))})});if(Oe.length){let d=[];Oe.forEach(g=>{d.push(vl(g.triggerName,g.errors))}),dt.forEach(g=>g.destroy()),this.reportError(d)}let ie=new Map,se=new Map;s.forEach(d=>{let g=d.element;r.has(g)&&(se.set(g,g),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,ie))}),n.forEach(d=>{let g=d.element;this._getPreviousPlayers(g,!1,d.namespaceId,d.triggerName,null).forEach(w=>{ce(ie,g,[]).push(w),w.destroy()})});let Ze=L.filter(d=>Ll(d,l,c)),ft=new Map;Ol(ft,this.driver,k,c,we).forEach(d=>{Ll(d,l,c)&&Ze.push(d)});let et=new Map;v.forEach((d,g)=>{Ol(et,this.driver,new Set(d),l,zt)}),Ze.forEach(d=>{let g=ft.get(d),S=et.get(d);ft.set(d,new Map([...g?.entries()??[],...S?.entries()??[]]))});let rr=[],_n=[],vn={};s.forEach(d=>{let{element:g,player:S,instruction:w}=d;if(r.has(g)){if(u.has(g)){S.onDestroy(()=>Ie(g,w.toStyles)),S.disabled=!0,S.overrideTotalTime(w.totalTime),n.push(S);return}let H=vn;if(se.size>1){let pe=g,ze=[];for(;pe=pe.parentNode;){let U=se.get(pe);if(U){H=U;break}ze.push(pe)}ze.forEach(U=>se.set(U,H))}let Ne=this._buildAnimation(S.namespaceId,w,ie,o,et,ft);if(S.setRealPlayer(Ne),H===vn)rr.push(S);else{let pe=this.playersByElement.get(H);pe&&pe.length&&(S.parentPlayer=Ue(pe)),n.push(S)}}else Je(g,w.fromStyles),S.onDestroy(()=>Ie(g,w.toStyles)),_n.push(S),u.has(g)&&n.push(S)}),_n.forEach(d=>{let g=o.get(d.element);if(g&&g.length){let S=Ue(g);d.setRealPlayer(S)}}),n.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d<L.length;d++){let g=L[d],S=g[xe];if(It(g,Di),S&&S.hasAnimation)continue;let w=[];if(a.size){let Ne=a.get(g);Ne&&Ne.length&&w.push(...Ne);let pe=this.driver.query(g,Fi,!0);for(let ze=0;ze<pe.length;ze++){let U=a.get(pe[ze]);U&&U.length&&w.push(...U)}}let H=w.filter(Ne=>!Ne.destroyed);H.length?op(this,g,H):this.processLeaveNode(g)}return L.length=0,rr.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();let g=this.players.indexOf(d);this.players.splice(g,1)}),d.play()}),rr}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,r,n,o){let s=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==Wt;a.forEach(c=>{c.queued||!l&&c.triggerName!=n||s.push(c)})}}return(r||n)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||n&&n!=a.triggerName))),s}_beforeAnimationBuild(t,e,r){let n=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:n;for(let l of e.timelines){let c=l.element,u=c!==o,p=ce(r,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(v=>{let f=v.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),v.destroy(),p.push(v)})}Je(o,e.fromStyles)}_buildAnimation(t,e,r,n,o,s){let a=e.triggerName,l=e.element,c=[],u=new Set,p=new Set,E=e.timelines.map(f=>{let _=f.element;u.add(_);let L=_[xe];if(L&&L.removedBeforeQueried)return new st(f.duration,f.delay);let $=_!==l,k=sp((r.get(_)||ep).map(ie=>ie.getRealPlayer())).filter(ie=>{let se=ie;return se.element?se.element===_:!1}),te=o.get(_),G=s.get(_),dt=zr(this._normalizer,f.keyframes,te,G),Oe=this._buildPlayer(f,dt,k);if(f.subTimeline&&n&&p.add(_),$){let ie=new Jt(t,a,_);ie.setRealPlayer(Oe),c.push(ie)}return Oe});c.forEach(f=>{ce(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>ip(this.playersByQueriedElement,f.element,f))}),u.forEach(f=>Ce(f,qr));let v=Ue(E);return v.onDestroy(()=>{u.forEach(f=>It(f,qr)),Ie(l,e.toStyles)}),p.forEach(f=>{ce(n,f,[]).push(v)}),v}_buildPlayer(t,e,r){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,r):new st(t.duration,t.delay)}},Jt=class{namespaceId;triggerName;element;_player=new st;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,r){this.namespaceId=t,this.triggerName=e,this.element=r}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,r)=>{e.forEach(n=>Ni(t,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){ce(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function ip(i,t,e){let r=i.get(t);if(r){if(r.length){let n=r.indexOf(e);r.splice(n,1)}r.length==0&&i.delete(t)}return r}function rp(i){return i??null}function $i(i){return i&&i.nodeType===1}function np(i){return i=="start"||i=="done"}function Rl(i,t){let e=i.style.display;return i.style.display=t??"none",e}function Ol(i,t,e,r,n){let o=[];e.forEach(l=>o.push(Rl(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(p=>{let E=t.computeStyle(c,p,n);u.set(p,E),(!E||E.length==0)&&(c[xe]=tp,s.push(c))}),i.set(c,u)});let a=0;return e.forEach(l=>Rl(l,o[a++])),s}function Nl(i,t){let e=new Map;if(i.forEach(a=>e.set(a,[])),t.length==0)return e;let r=1,n=new Set(t),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:n.has(c)?l=r:l=s(c),o.set(a,l),l}return t.forEach(a=>{let l=s(a);l!==r&&e.get(l).push(a)}),e}function Ce(i,t){i.classList?.add(t)}function It(i,t){i.classList?.remove(t)}function op(i,t,e){Ue(e).onDone(()=>i.processLeaveNode(t))}function sp(i){let t=[];return zl(i,t),t}function zl(i,t){for(let e=0;e<i.length;e++){let r=i[e];r instanceof fi?zl(r.players,t):t.push(r)}}function ap(i,t){let e=Object.keys(i),r=Object.keys(t);if(e.length!=r.length)return!1;for(let n=0;n<e.length;n++){let o=e[n];if(!t.hasOwnProperty(o)||i[o]!==t[o])return!1}return!0}function Ll(i,t,e){let r=e.get(i);if(!r)return!1;let n=t.get(i);return n?r.forEach(o=>n.add(o)):t.set(i,r),e.delete(i),!0}var xt=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,r){this._driver=e,this._normalizer=r,this._transitionEngine=new cn(t.body,e,r),this._timelineEngine=new an(t.body,e,r),this._transitionEngine.onRemovalComplete=(n,o)=>this.onRemovalComplete(n,o)}registerTrigger(t,e,r,n,o){let s=t+"-"+n,a=this._triggerCache[s];if(!a){let l=[],c=[],u=Dl(this._driver,o,l,c);if(l.length)throw cl(n,l);a=Gm(n,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,n,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}
14onInsert(t,e,r,n){this._transitionEngine.insertNode(t,e,r,n)}onRemove(t,e,r){this._transitionEngine.removeNode(t,e,r)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,r,n){if(r.charAt(0)=="@"){let[o,s]=jr(r),a=n;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(t,e,r,n)}listen(t,e,r,n,o){if(r.charAt(0)=="@"){let[s,a]=jr(r);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,r,n,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function lp(i,t){let e=null,r=null;return Array.isArray(t)&&t.length?(e=Jr(t[0]),t.length>1&&(r=Jr(t[t.length-1]))):t instanceof Map&&(e=Jr(t)),e||r?new cp(i,e,r):null}var cp=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,r,n){this._element=e,this._startStyles=r,this._endStyles=n;let o=i.initialStylesByElement.get(e);o||i.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ie(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ie(this._element,this._initialStyles),this._endStyles&&(Ie(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(Je(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Je(this._element,this._endStyles),this._endStyles=null),Ie(this._element,this._initialStyles),this._state=3)}}return i})();function Jr(i){let t=null;return i.forEach((e,r)=>{mp(r)&&(t=t||new Map,t.set(r,e))}),t}function mp(i){return i==="display"||i==="position"}var Wi=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,r,n){this.element=t,this.keyframes=e,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(t,e,r){return t.animate(this._convertKeyframesToObject(e),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&t.set(n,this._finished?r:Ui(this.element,n))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},Yi=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return $r(t,e)}getParentElement(t){return ki(t)}query(t,e,r){return Vr(t,e,r)}computeStyle(t,e,r){return Ui(t,e)}animate(t,e,r,n,o,s=[]){let a=n==0?"both":"forwards",l={duration:r,delay:n,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(v=>v instanceof Wi);Cl(r,n)&&u.forEach(v=>{v.currentSnapshot.forEach((f,_)=>c.set(_,f))});let p=bl(e).map(v=>new Map(v));p=Tl(t,p,c);let E=lp(t,p);return new Wi(t,p,l,E)}};var Vi="@",jl="@.disabled",Xi=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,r,n){this.namespaceId=t,this.delegate=e,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
14appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,r,n=!0){this.delegate.insertBefore(t,e,r),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,r){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,r,n){this.delegate.setAttribute(t,e,r,n)}removeAttribute(t,e,r){this.delegate.removeAttribute(t,e,r)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,r,n){this.delegate.setStyle(t,e,r,n)}removeStyle(t,e,r){this.delegate.removeStyle(t,e,r)}setProperty(t,e,r){e.charAt(0)==Vi&&e==jl?this.disableAnimations(t,!!r):this.delegate.setProperty(t,e,r)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,r,n){return this.delegate.listen(t,e,r,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},mn=class extends Xi{factory;constructor(t,e,r,n,o){super(e,r,n,o),this.factory=t,this.namespaceId=e}setProperty(t,e,r){e.charAt(0)==Vi?e.charAt(1)=="."&&e==jl?(r=r===void 0?!0:!!r,this.disableAnimations(t,r)):this.engine.process(this.namespaceId,t,e.slice(1),r):this.delegate.setProperty(t,e,r)}listen(t,e,r,n){if(e.charAt(0)==Vi){let o=pp(t),s=e.slice(1),a="";return s.charAt(0)!=Vi&&([s,a]=up(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,r,l)})}return this.delegate.listen(t,e,r,n)}};function pp(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function up(i){let t=i.indexOf("."),e=i.substring(0,t),r=i.slice(t+1);return[e,r]}var Ji=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,r){this.delegate=t,this.engine=e,this._zone=r,e.onRemovalComplete=(n,o)=>{o?.removeChild(null,n)}}createRenderer(t,e){let n=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let c=this._rendererCache,u=c.get(n);if(!u){let p=()=>c.delete(n);u=new Xi("",n,this.engine,p),c.set(n,u)}return u}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return e.data.animation.forEach(a),new mn(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,r){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),n.push([e,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}};var fp=(()=>{class i extends xt{constructor(e,r,n){super(e,r,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||i)(oe(Qe),oe(pt),oe(ut))};static \u0275prov=M({token:i,factory:i.\u0275fac})}return i})();function hp(){return new Ki}function gp(i,t,e){return new Ji(i,t,e)}var $l=[{provide:ut,useFactory:hp},{provide:xt,useClass:fp},{provide:Nn,useFactory:gp,deps:[Kn,xt,_t]}],Lf=[{provide:pt,useClass:pn},{provide:lr,useValue:"NoopAnimations"},...$l],yp=[{provide:pt,useFactory:()=>new Yi},{provide:lr,useFactory:()=>"BrowserAnimations"},...$l];function Vl(){return Rn("NgEagerAnimations"),[...yp]}var Rt=class{};var Kl=(i,t)=>{let e=m(Rt,{optional:!0});return e?t(e.reconcileRequest(i)).pipe(ue(r=>{r.type===Wn.Response&&e.reconcileResponse(r)})):t(i)};var Hl={"da-DK":"459da7cf","de-DE":"48169588","en-CA":"10ed12c8","en-GB":"14f97ab9","en-US":"8d846a52","es-ES":"03954a22","es-US":"6be129ff",formattings:"a9cfbb61","fr-CA":"218c3fbf","nl-NL":"2651d648","sv-SE":"b794fb0b"};var ql=(()=>{class i{constructor(){this.http=m(Tt)}getTranslation(e){let r=`/assets/i18n/${e}.json`,n=Hl?.[e]||"";return this.http.get(`${r}${n?"?hash="+n:""}`)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var _p=(i,t)=>t.name;function vp(i,t){if(i&1&&(y(0,"div",4),R(1,"p-checkbox",9)(2,"label",10),b()),i&2){let e=t.$implicit;h(),mr("formControlName",e.name),mr("name",e.name),C("inputId",e.name),ve("data-test-id","termsConfirmationDialog.checkbox."+e.name),h(),C("innerHTML",e.label,nt)("for",e.name),ve("data-test-id","termsConfirmationDialog.label."+e.name)}
14}function Sp(i,t){if(i&1&&(y(0,"p",5),Y(1),b()),i&2){let e=A();h(),Se(e.resources().error)}}var Gl=(()=>{class i{#e;#t;#i;constructor(e,r){this.formBuilder=e,this.ref=r,this.#e=m(Xe),this.#t=m(Ri),this.#i=m(Ys),this.checkboxes=[],this.resources=x(()=>({accept:this.#e.getResourceByKey(V.MULTISITE_AUTHENTICATION_POPUP_ACCEPT),decline:this.#e.getResourceByKey(V.MULTISITE_AUTHENTICATION_POPUP_DECLINE),body:this.#e.getResourceByKey(V.MULTISITE_AUTHENTICATION_POPUP_BODY),error:this.#e.getResourceByKey(V.MULTISITE_AUTHENTICATION_POPUP_ERROR)})),this.previouslyChecked={},this.wasUnchecked=_e(!1),this.checkboxes=this.#i.data.checkboxes,this.acceptForm=this.formBuilder.group(this.checkboxes?.reduce((n,o)=>(n[o.name]=[!1,[Cr.required,Cr.requiredTrue]],n),{})),Ae(()=>{if(!this.checkboxes||this.checkboxes.length===0){this.closeDialog("accept");return}});for(let n of this.checkboxes)this.previouslyChecked[n.name]=!1;this.acceptForm.valueChanges.subscribe(n=>{let o=!1;for(let s of Object.keys(n))n[s]===!0&&(this.previouslyChecked[s]=!0),this.previouslyChecked[s]&&n[s]===!1&&(o=!0);this.wasUnchecked.set(o)})}saveTermsAndConsents(){let e=this.checkboxes?.map(r=>r.name)??[];e.length>0&&this.#t.setUserTermsConsents(this.#i.data.userEmail,e).pipe(Q(1)).subscribe(),this.closeDialog("accept")}closeDialog(e){this.ref.close(e)}get isFormInvalid(){return this.acceptForm.status!=="VALID"}static{this.\u0275fac=function(r){return new(r||i)(Me(Go),Me(Xs))}}static{this.\u0275cmp=B({type:i,selectors:[["ppg-terms-product-confirmation-dialog"]],decls:10,vars:7,consts:[["data-test-id","termsConfirmationDialog.container",1,"flex","flex-column","p-2"],[1,"flex","flex-column"],["data-test-id","termsConfirmationDialog.body",3,"innerHTML"],["data-test-id","termsConfirmationDialog.form",1,"flex","flex-column","gap-4",3,"formGroup"],["data-test-id","termsConfirmationDialog.checkboxContainer",1,"flex"],["data-test-id","termsConfirmationDialog.error",1,"error-text","mt-4"],["data-test-id","termsConfirmationDialog.actions",1,"flex","flex-column","justify-content-end","gap-2","pt-3","sm:flex-row"],["styleClass","w-full","data-test-id","termsConfirmationDialog.declineButton",1,"col-12","sm:col-6","p-0",3,"onClick","label","outlined"],["styleClass","w-full","data-test-id","termsConfirmationDialog.acceptButton",1,"col-12","sm:col-6","p-0",3,"onClick","label","disabled"],["binary","true",1,"flex","align-items-start",3,"formControlName","inputId","name"],[1,"ml-2",3,"innerHTML","for"]],template:function(r,n){r&1&&(y(0,"div",0)(1,"div",1),R(2,"p",2),y(3,"form",3),Fe(4,vp,3,7,"div",4,_p),b(),O(6,Sp,2,1,"p",5),b(),y(7,"div",6)(8,"p-button",7),le("onClick",function(){return n.closeDialog("decline")}),b(),y(9,"p-button",8),le("onClick",function(){return n.saveTermsAndConsents()}),b()()()),r&2&&(h(2),C("innerHTML",n.resources().body,nt),h(),C("formGroup",n.acceptForm),h(),Be(n.checkboxes),h(2),W(n.wasUnchecked()?6:-1),h(2),C("label",n.resources().decline)("outlined",!0),h(),C("label",n.resources().accept)("disabled",n.isFormInvalid))},dependencies:[Ii,ca,Zs,Js,Qo,Ko,$o,Vo,Ho,qo],styles:["[_nghost-%COMP%]     label p{margin-block-start:0;margin-block-end:0}[_nghost-%COMP%]     a{color:var(--p-pds-on-surface-primary-medium)}.error-text[_ngcontent-%COMP%]{color:var(--color-label-required)}"]})}}return i})();var Ql=(()=>{class i{#e;#t;#i;#r;#n;#o;#s;#c;#a;#m;#l;constructor(){this.#e=m(Mi),this.#t=m(Ci),this.#i=m(X),this.#r=m(bs),this.#n=m(ee),this.#o=m(Ri),this.#s=m(xi),this.#c=m(Xe),this.injector=m(ye),this.#a=pi(m(K)),this.#m=m(ni),this.#l=this.#i.getSiteSettingValueByKey(F.EnduserTermsConsentsKontentAICodeNames);let e=Pe(this.#e.user),r=Pe(this.#e.loadingState);ht({user:e,loadingState:r}).pipe(re(({loadingState:n})=>n.userLoaded!==!1),ue(({user:n})=>{!n&&this.#t.isAuthenticated()&&this.#t.logOut({errorCode:yi.USER_ACCOUNT_NOT_FOUND_BUT_AUTHORIZED})}),re(({user:n})=>!!n),ne(({user:n})=>this.#r.globalSettings$.pipe(q(o=>({user:n,globalSettings:o})))),Q(1),ue(({user:n,globalSettings:o})=>{if(!o)return;let s=o.b2CSection?.enabled,a=o.b2BSection?.enabled;n.userType===jt.B2B&&!a&&this.#t.logOut({errorCode:yi.USER_NOT_ALLOWED_TO_ACCESS_SITE}),n.userType===jt.B2B&&a&&n.isActive&&!n.roleName&&this.#t.logOut();let l=this.#i.getSiteFlag(F.MultisiteAuthenticationEnabled),c=this.#i.getSiteSettingValueByKey(F.MultisiteAuthentication);if(l){if(n.userType===jt.B2C&&!s){this.#d(o);return}if((!c||c===_i.DISABLED)&&!n.roleName){this.#t.logOut({errorCode:yi.USER_NOT_ALLOWED_TO_ACCESS_SITE});return}if(n.userType===jt.B2C&&s){if(c===_i.AUTOMATIC){this.#f();return}c===_i.SEMI_AUTOMATIC&&!this.#a&&n.email&&this.#p(n.email,o)}}}),We(this.#m)).subscribe()}#p(e,r){this.#a||!e||!this.#l||this.#o.getUserTermsAndConsents(e).pipe(Q(1)).subscribe(n=>{let o=this.#u(n);if(o.length===0)return;this.#s.open(Gl,{header:this.#c.getResourceByKey(V.MULTISITE_AUTHENTICATION_POPUP_HEADER),width:la.Medium,data:{userEmail:e,checkboxes:o}}).onClose.pipe(Q(1)).subscribe(a=>{a==="accept"?this.#f():this.#d(r)})})}#u(e){return this.#l.split(",").filter(r=>{let n=r.trim();return e?.data?.termsAndConsents?.some(o=>o===n)?null:n}).map(r=>{let n=r.trim(),o=n;return{name:n,label:o?this.#c.getResourceByKey(o):""}}).filter(r=>!!r.label)}#d(e){let r=Ct(()=>this.#n.language()),n=Cs(e),o=encodeURIComponent(os(this.injector));this.#t.logIn({language:r,successRedirect:o,mode:n,resourcesFolderName:e?.resourcesFolderName,prompt:"login"})}#f(){this.#o.addDefaultUserB2C().pipe(Q(1)).subscribe(()=>this.#e.fetchUserInfo())}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Wl(){return gt([{provide:Ke,multi:!0,useFactory:i=>()=>i,deps:[Ql]}])}var Zi={darkModeSelector:!1};var dn={"ppg-light":()=>import("./chunk-AU5JBI5P.js"),"ppg-pro-light":()=>import("./chunk-IUUFTX5B.js"),"ppg-corporate":()=>import("./chunk-AU5JBI5P.js"),dulux:()=>import("./chunk-E25IYLJT.js"),rambo:()=>import("./chunk-UZUECRDF.js"),"histor-light":()=>import("./chunk-I6RU5BGK.js"),"alcro-light":()=>import("./chunk-3T5AUIXS.js"),"balakryl-light":()=>import("./chunk-LB2NDUBF.js"),"selemix-light":()=>import("./chunk-ZCLUL4LG.js"),"maxmeyer-light":()=>import("./chunk-OVX2XKFU.js"),"nexa-autocolor-light":()=>import("./chunk-Z67U3EHX.js"),"sigma-light":()=>import("./chunk-WT4DWWJB.js"),"johnstones-light":()=>import("./chunk-XODZN5OK.js"),"primalex-light":()=>import("./chunk-GS6OE5IR.js"),"brander-light":()=>import("./chunk-47VK5MOF.js"),"veveo-light":()=>import("./chunk-2EESG4FY.js"),"leyland-light":()=>import("./chunk-OWE2WJ6T.js"),"ppg-dark":()=>import("./chunk-AU5JBI5P.js"),"guittet-light":()=>import("./chunk-AU5JBI5P.js"),"oskar-light":()=>import("./chunk-AU5JBI5P.js"),"black-light":()=>import("./chunk-AU5JBI5P.js"),"light-blue-light":()=>import("./chunk-AU5JBI5P.js"),"navy-light":()=>import("./chunk-AU5JBI5P.js"),"olive-light":()=>import("./chunk-AU5JBI5P.js"),"ppg-blue-light":()=>import("./chunk-AU5JBI5P.js"),"red-light":()=>import("./chunk-AU5JBI5P.js"),"royal-blue-light":()=>import("./chunk-AU5JBI5P.js"),"sand-light":()=>import("./chunk-AU5JBI5P.js"),"soft-blue-light":()=>import("./chunk-AU5JBI5P.js")},fn={"ppg-light":"PpgTheme","ppg-pro-light":"PpgproTheme","ppg-corporate":"PpgTheme",dulux:"DuluxTheme",rambo:"RamboTheme","histor-light":"HistorTheme","alcro-light":"AlcroTheme","balakryl-light":"BalakrylTheme","selemix-light":"SelemixTheme","maxmeyer-light":"MaxmeyerTheme","nexa-autocolor-light":"NexaTheme","sigma-light":"SigmaTheme","johnstones-light":"JohnstonesTheme","primalex-light":"PrimalexTheme","brander-light":"BranderTheme","veveo-light":"VeveoTheme","leyland-light":"LeylandTheme","ppg-dark":"PpgTheme","guittet-light":"PpgTheme","oskar-light":"PpgTheme","black-light":"PpgTheme","light-blue-light":"PpgTheme","navy-light":"PpgTheme","olive-light":"PpgTheme","ppg-blue-light":"PpgTheme","red-light":"PpgTheme","royal-blue-light":"PpgTheme","sand-light":"PpgTheme","soft-blue-light":"PpgTheme"};var Yl=(()=>{class i{constructor(){this.#e=m(z),this.#t=m(go),this.#i=m(X),this.injector=m(ye),this.theme=x(()=>{let e=this.#i.themeName();return e?e.replace(/\s+/g,"-").toLowerCase():Si}),this.#r=!1}#e;#t;#i;#r;loadTheme(){return this.#r?Promise.resolve():(this.#r=!0,new Promise(e=>{let r=!0,n=()=>{r&&(r=!1,e())};In(this.injector,()=>{Ae(()=>{let o=this.theme();this.#n(o,n)})})}))}#n(e,r){let n=dn[e]??dn[Si],o=fn[e]??fn[Si];this.#e.debug(`[ThemesService] Loading theme preset: ${e}`),n().then(s=>{let a=s[o];this.#t.theme.set({preset:a,options:Zi}),this.#e.debug(`[ThemesService] Theme applied: ${e}`),r()}).catch(()=>{this.#e.error(`[ThemesService] Failed to load theme preset: ${e}`),r()})}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Xl=i=>()=>i.loadTheme();function Jl(){return gt([{provide:Ke,multi:!0,useFactory:Xl,deps:[Yl]}])}var Zl=pa;var ec={pdsAccountCircleOutline:Ar,pdsChevronRightOutline:Ns,pdsCloseOutline:Ls,pdsFacebook:$s,pdsFavoriteOutline:Pr,pdsInstagram:Vs,pdsLinkedin:Ks,pdsMenuOutline:Fs,pdsNorthEastOutline:Bs,pdsPinterest:Hs,pdsSearchOutline:zs,pdsShoppingCartOutline:wr,pdsTiktok:qs,pdsX:js,pdsYoutube:Gs,"account-circle-outline":Ar,"cart-outline":wr,"download-circle-outline":Ds,"heart-outline":Pr,"invoice-text-outline":ks,web:Us};var bp={validation:!1},tc=ua(bp);var Ep=new Gn(()=>!1),Cp=(()=>{class i{constructor(e){this.loader=e}intercept(e,r){if(e.headers.has("ignoreLoadingBar"))return r.handle(e.clone({headers:e.headers.delete("ignoreLoadingBar")}));if(e.context.get(Ep)===!0)return r.handle(e);let n=!1,o=this.loader.useRef("http");return r.handle(e).pipe(ue(()=>{n||(o.start(),n=!0)}),ii(()=>n&&o.complete()))}}return i.\u0275fac=function(e){return new(e||i)(oe(Lr))},i.\u0275prov=M({token:i,factory:i.\u0275fac}),i})(),ic=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Bt({type:i}),i.\u0275inj=kt({providers:[{provide:Xn,useClass:Cp,multi:!0}],imports:[[yr,lt],yr,lt]}),i})();var rc=Dt(lt,ic);function nc(i,t){new MutationObserver((r,n)=>{r.find(s=>
14s.target.classList.contains(fa))&&(window.cookieConsent({brandName:i,language:new Intl.Locale(t).language}),n.disconnect())}).observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!1})}var er=(()=>{class i{#e=m(K);#t=m(Mi);#i=m(Wo);#r=m(ha);#n=new ei(!1);#o=m(ee);#s=this.#o.language$.pipe(re(e=>!!e),q(e=>({language:e,countryCode:this.#o.countryCode()})),ri(1));constructor(){ht({user:Pe(this.#t.user),loadingState:this.#t.loadingState$,languageDetails:this.#s}).pipe(ue(({user:e,loadingState:{userLoaded:r},languageDetails:n})=>{e&&r&&n?(this.#i.loadPermissions(e.permissions),this.#i.addPermission(Oi.VIEW_ADMIN_PAGE,(o,s)=>!!s[Oi.MANAGE_CUSTOMERS]&&!!s[Oi.MANAGE_ALL_USERS]),this.#r.market=n.countryCode):(this.#i.flushPermissions(),this.#r.market=da.DEFAULT_COUNTRY_CODE),this.#n.next(!!r)}),We()).subscribe(),Z(this.#e)&&this.#s.pipe(Q(1)).subscribe(e=>{nc(this.#r.labels.APP_NAME,e.language)})}canActivateChild(){return this.#n.pipe(re(Boolean),Q(1))}canActivate(){return this.#n.pipe(re(Boolean),Q(1))}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac})}}return i})();var oc=(i,t)=>{let e=m(ee),r=m(X),n=Ct(()=>e.countryCode()),o=Ct(()=>r.currentSite()?.id);if(n||(n=Ct(()=>m(ys).resolveLanguage(i.url).language.split("-").pop())),n){let s=i.headers.set("CountryCodeOfRequest",n);i=i.clone({headers:s})}if(o){let s=i.headers.set("site-id",o.toString());i=i.clone({headers:s})}return t(i)};var sc=(i,t)=>{let e=m(Ei).getEnvironmentVariable(hi.APIM_CONTENT_API_BASE_URL),r=m(ee).language,n=m(z),o=m(be);return t(i).pipe(ge(s=>{if(ss(i.url,`${e}`)&&s.status===di.InternalServerError){let a=`/${r()}/${At.SERVER_ERROR}`;return n.error(`Navigating to ${a} due to ${s.message}`),o.navigate([a]),ae(()=>s)}else return ae(()=>s)}))};var ac=(i,t)=>{let e=m(z),r=m(K),n=m($t,{optional:!0});return t(i).pipe(ge(o=>{if(pi(r)){let s=n?.sessionID??"N/A";e.error(`[HTTP Error] [SID: ${s}] ${o.status}: ${o.statusText} ${i.urlWithParams}`)}else o.error instanceof ErrorEvent&&e.error(`Client-Side Error: ${o.error?.message}`);return ae(()=>o)}))};var lc=(i,t)=>{let e=m(Ss);return t(i).pipe(ge(r=>(e.isMobileApp()&&i.context.set(Ao,!0),ae(()=>r))))};var cc=(i,t)=>{let e=m(K),r=m(z);return Z(e)&&!window.navigator.onLine?(r.error("Application is offline"),ae(()=>new ui({status:0,statusText:"Offline"}))):t(i)};var mc=(i,t)=>{let e=m(z),r=m($t,{optional:!0}),n=performance.now(),o=0;return t(i).pipe(ue({next:s=>{s instanceof Yn&&(o=s.status)},error:s=>{o=s.status}}),ii(()=>{let s=performance.now(),a=Math.round(s-n),l=o>=200&&o<400,c=r?.sessionID??"N/A",u=`[HTTP] ${i.method} ${i.urlWithParams}`;e.trackDependency({dependencyTypeName:Co.REQUEST,target:"Angular SSR",name:u,data:`SID: ${c}`,duration:a,resultCode:o,success:l})}))};var pc=(i,t)=>{let e=m(z);return t(i).pipe(An({count:2,delay:r=>Ap(r,i,e)}),ge(r=>ae(()=>r)))};function Ap(i,t,e){if(i.status===0||i.status>=di.InternalServerError)return e.warn(`Retrying request: ${t.urlWithParams}`),Lt(1e3);throw i}var uc=(i,t)=>{let e=m(z),r=m(Ei),n=Number(r.getEnvironmentVariable(hi.DEFAULT_TIMEOUT));return t(i).pipe(Tn(n),ge(o=>o instanceof Cn?(e.error(`TimeoutError: ${i.urlWithParams}`),ae(()=>new ui({status:0,statusText:o.message}))):ae(()=>o)))};var Pp=(i,t,e)=>{let r=["POST","PUT","PATCH"].indexOf(i.method.toUpperCase())!==-1,n=c=>["variables","extensions"].indexOf(c.toLowerCase())!==-1,o=i.body.length,s=i.options&&i.options.useMultipart,a;if(s){if(o)return new $e(c=>c.error(new Error("File upload is not available when combined with Batching")));if(!r)return new $e(c=>c.error(new Error("File upload is not available when GET is used")));if(!e)return new $e(c=>c.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));a=e(i.body),s=!!a.files.size}let l={};if(o){if(!r)return new $e(c=>c.error(new Error("Batching is not available for GET requests")));l={body:i.body}}else{let c=s?a.clone:i.body;r?l={body:c}:l={params:Object.keys(i.body).reduce((p,E)=>{let v=i.body[E];return p[E]=n(E)?JSON.stringify(v):v,p},{})}}if(s&&r){let c=new FormData;c.append("operations",JSON.stringify(l.body));let u={},p=a.files,E=0;p.forEach(v=>{u[++E]=v}),c.append("map",JSON.stringify(u)),E=0,p.forEach((v,f)=>{c.append(++E+"",f,f.name)}),l.body=c}return t.request(i.method,i.url,D(D({observe:"response",responseType:"json",reportProgress:!1},l),i.options))},wp=(i,t)=>i&&t?t.keys().reduce((r,n)=>r.set(n,t.getAll(n)),i):t||i,dc=(i,t)=>i&&t?[...i.keys()].reduce((e,r)=>e.set(r,i.get(r)),t):t||i;function Ip(...i){return i.find(t=>typeof t<"u")}function xp(i){let t=i.headers&&i.headers instanceof gr?i.headers:new gr(i.headers);if(i.clientAwareness){let{name:e,version:r}=i.clientAwareness;
14e&&!t.has("apollographql-client-name")&&(t=t.set("apollographql-client-name",e)),r&&!t.has("apollographql-client-version")&&(t=t.set("apollographql-client-version",r))}return t}var Rp={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function Ot(i,t,e){return Ip(i[e],t[e],Rp[e])}var hn=class extends Kt{httpClient;options;requester;print=Jo;constructor(t,e){super(),this.httpClient=t,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=r=>new $e(n=>{let o=r.getContext(),s=Ot(o,this.options,"method"),a=Ot(o,this.options,"includeQuery"),l=Ot(o,this.options,"includeExtensions"),c=Ot(o,this.options,"uri"),u=Ot(o,this.options,"withCredentials"),p=Ot(o,this.options,"useMultipart"),E=this.options.useGETForQueries===!0,v=dc(o.httpContext,dc(this.options.httpContext,new Qn)),f=r.query.definitions.some(k=>k.kind==="OperationDefinition"&&k.operation==="query");E&&f&&(s="GET");let _={method:s,url:typeof c=="function"?c(r):c,body:{operationName:r.operationName,variables:r.variables},options:{withCredentials:u,useMultipart:p,headers:this.options.headers,context:v}};l&&(_.body.extensions=r.extensions),a&&(_.body.query=this.print(r.query));let L=xp(o);_.options.headers=wp(_.options.headers,L);let $=Pp(_,this.httpClient,this.options.extractFiles).subscribe({next:k=>{r.setContext({response:k}),n.next(k.body)},error:k=>n.error(k),complete:()=>n.complete()});return()=>{$.closed||$.unsubscribe()}})}request(t){return this.requester(t)}},fc=(()=>{class i{httpClient;constructor(e){this.httpClient=e}create(e){return new hn(this.httpClient,e)}static \u0275fac=function(r){return new(r||i)(oe(Tt))};static \u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Op(){let i=m(fc),t=m(bi),{graphql:e,graphqlAnonymous:r,graphqlHybrid:n}=t.apim();return{link:Kt.split(o=>{let s=o.getContext().clientName;return s==="anonymous"||s==="hybrid"},Kt.split(o=>o.getContext().clientName==="anonymous",i.create({uri:r}),i.create({uri:n})),i.create({uri:e})),cache:new Zo({typePolicies:{Configuration:{merge:!0}}})}}function hc(){return[es(Op)]}var gc=()=>({provide:Ke,multi:!0,useFactory:()=>{let i=m(ga);return()=>i.getSessionConfiguration()}});var Re=(function(i){return i.DEFAULT="default",i.MINIMUM="minimum",i})(Re||{});var Np=["*"],yc=(()=>{class i{static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["pds-footer"]],ngContentSelectors:Np,decls:3,vars:0,consts:[["aria-label","Footer",1,"pds-footer"],[1,"pds-footer-content-wrapper"]],template:function(r,n){r&1&&(St(),y(0,"footer",0)(1,"div",1),bt(2),b()())},encapsulation:2})}}return i})();var Lp=["*"],_c=(()=>{class i{static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["pds-footer-bottom"]],ngContentSelectors:Lp,decls:3,vars:0,consts:[[1,"pds-footer-bottom"],[1,"pds-footer-bottom-content"]],template:function(r,n){r&1&&(St(),y(0,"div",0)(1,"div",1),bt(2),b()())},encapsulation:2})}}return i})();var vc=i=>({items:i}),kp=(i,t)=>t.platform;function Dp(i,t){i&1&&He(0)}function Fp(i,t){if(i&1&&(y(0,"p-accordion-panel",5)(1,"p-accordion-header",9),Y(2),b(),y(3,"p-accordion-content"),O(4,Dp,1,0,"ng-container",10),b()()),i&2){let e=t.$implicit,r=t.$index;A();let n=Et(14);C("value",r),h(2),Se(e.label),h(2),C("ngTemplateOutlet",n)("ngTemplateOutletContext",hr(4,vc,e.items))}}function Bp(i,t){i&1&&He(0)}function Up(i,t){i&1&&He(0)}function zp(i,t){if(i&1&&(y(0,"div",8)(1,"h3",9),Y(2),b(),O(3,Up,1,0,"ng-container",10),b()),i&2){let e=t.$implicit;A();let r=Et(14);h(2),Se(e.label),h(),C("ngTemplateOutlet",r)("ngTemplateOutletContext",hr(3,vc,e.items))}}function jp(i,t){i&1&&He(0)}function $p(i,t){if(i&1&&(dr(0)(1),y(2,"li",15)(3,"a",16)(4,"span",17),R(5,"pds-icon",18),b()()()),i&2){let e,r=A().$implicit,n=A(2),o=n.platformDefaultIcons[r.platform],s=(e=r.title)!==null&&e!==void 0?e:n.platformDefaultLabels[r.platform];h(3),C("href",r.url,ot),ve("aria-label",s+", opens in a new tab"),h(),C("title",s),h(),C("name",o)}}function Vp(i,t){if(i&1&&O(0,$p,6,4,"li",15),i&2){let e=t.$implicit,r=A(2);W(r.isSupportedPlatform(e.platform)?0:-1)}}function Kp(i,t){if(i&1){let e=vt();y(0,"div",14)(1,"p-button",19),le("onClick",function(n){it(e);let o=A(2);return rt(o.onContactUsClick(n))}),Y(2),b()()}if(i&2){let e=A(2);h(),C("severity",e.contactSeverity()),h(),Se(e.contactText())}}function Hp(i,t){i&1&&He(0)}function qp(i,t){if(i&1&&O(0,Hp,1,0,"ng-container",6),i&2){let e=A(2);C("ngTemplateOutlet",e.mediaTpl())}}function Gp(i,t){if(i&1&&(y(0,"div",11)(1,"h3",12),Y(2,"Stay connected"),b(),y(3,"ul",13),Fe(4,Vp,1,1,null,null,kp),b(),O(6,Kp,3,2,"div",14)(7,qp,1,1,"ng-container"),b()),i&2){let e=A();h(4),Be(e.socialLinks()),h(2),W(e.contactText()?6:-1),h(),W(e.mediaTpl()?7:-1)}}function Qp(i,t){i&1&&He(0)}function Wp(i,t){if(i&1&&O(0,Qp,1,0,"ng-container",6),i&2){A(4);let e=Et(16);C("ngTemplateOutlet",e)}}function Yp(i,t){if(i&1&&(y(0,"a",22),Y(1),O(2,Wp,1,1,"ng-container"),b()),i&2){let e=A().$implicit,r=Ut(0),n=Ut(1),o=A(2);C("href",e.url,ot)("target",r),ve("rel",n?"noopener":null)("aria-current",e.url===o.currentPageUrl()?"page":null),h(),ur(" ",e.label," "),h(),W(n?2:-1)}}function Xp(i,t){i&1&&He(0)}function Jp(i,t){if(i&1&&O(0,Xp,1,0,"ng-container",6),i&2){A(4);let e=Et(16);C("ngTemplateOutlet",e)}}function Zp(i,t){if(i&1&&(y(0,"a",23),Y(1),O(2,Jp,1,1,"ng-container"),b()),i&2){let e=A().$implicit,r=Ut(0),n=Ut(1),o=A(2);C("routerLink",e.routerLink)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("relativeTo",e.relativeTo)("fragment",e.fragment)("state",e.state)("preserveFragment",e.preserveFragment)("skipLocationChange",e.skipLocationChange)("replaceUrl",e.replaceUrl)("target",r),ve("aria-current",e.routerLink===o.currentPageUrl()?"page":null),h(),ur(" ",e.label," "),h(),W(n?2:-1)}}function eu(i,t){if(i&1&&(dr(0)(1),y(2,"li",21),O(3,Yp,3,6,"a",22)(4,Zp,3,13,"a",23),b()),i&2){let e=t.$implicit,r=A(2),n=fr(r.getItemTarget(e));
14h(),fr(n==="_blank"),h(2),W(r.isItemExternal(e)?3:4)}}function tu(i,t){if(i&1&&(y(0,"ul",20),Fe(1,eu,5,3,"li",21,si),b()),i&2){let e=t.items;h(),Be(e)}}function iu(i,t){i&1&&(R(0,"pds-icon",24),y(1,"span",25),Y(2,"(opens in a new tab)"),b())}var j={Facebook:"facebook",LinkedIn:"linkedin",X:"x",Instagram:"instagram",YouTube:"youtube",Pinterest:"pinterest",TikTok:"tiktok"},Sc=(()=>{class i{constructor(){this.mediaTpl=Dn(cr),this.menuItems=Te([]),this.socialLinks=Te([]),this.contactText=Te(""),this.contactSeverity=Te("primary"),this.currentPageUrl=Te(void 0),this.contactUsClick=xn(),this.platformDefaultLabels={[j.Facebook]:"Facebook",[j.Instagram]:"Instagram",[j.LinkedIn]:"LinkedIn",[j.Pinterest]:"Pinterest",[j.TikTok]:"TikTok",[j.YouTube]:"YouTube",[j.X]:"X (Twitter)"},this.platformDefaultIcons={[j.Facebook]:"pdsFacebook",[j.Instagram]:"pdsInstagram",[j.LinkedIn]:"pdsLinkedin",[j.Pinterest]:"pdsPinterest",[j.TikTok]:"pdsTiktok",[j.YouTube]:"pdsYoutube",[j.X]:"pdsX"}}onContactUsClick(e){this.contactUsClick.emit(e)}isSupportedPlatform(e){return Object.values(j).includes(e)}isItemExternal(e){return!!e?.url&&!e?.routerLink}getItemTarget(e){return e&&e.target?e.target:e&&!e.target&&e.url?"_blank":"_self"}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["pds-footer-menu"]],contentQueries:function(r,n,o){r&1&&Un(o,n.mediaTpl,cr,5),r&2&&ai()},inputs:{menuItems:[1,"menuItems"],socialLinks:[1,"socialLinks"],contactText:[1,"contactText"],contactSeverity:[1,"contactSeverity"],currentPageUrl:[1,"currentPageUrl"]},outputs:{contactUsClick:"contactUsClick"},features:[zn([{provide:lo,useValue:{}}])],decls:17,vars:2,consts:[["socialTemplate",""],["menuSection",""],["externalIcon",""],[1,"pds-footer-menu-compact"],["aria-label","Footer links",1,"pds-footer-menu-container"],[1,"pds-footer-menu-section",3,"value"],[4,"ngTemplateOutlet"],[1,"pds-footer-menu-desktop"],[1,"pds-footer-menu-section"],[1,"pds-footer-menu-section-title"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pds-footer-social-contact-container"],["id","footer-connect-heading",1,"sr-only"],["aria-label","Follow us on social media",1,"pds-footer-social-bar"],[1,"pds-footer-contact"],[1,"pds-footer-social-bar-item"],["target","_blank","rel","noopener",1,"pds-footer-social-bar-icon",3,"href"],["aria-hidden","true",1,"pds-footer-social-bar-icon-content-wrapper",3,"title"],[3,"name"],[3,"onClick","severity"],[1,"pds-footer-menu-section-items"],[1,"pds-footer-menu-section-item"],[3,"href","target"],[3,"routerLink","queryParams","queryParamsHandling","relativeTo","fragment","state","preserveFragment","skipLocationChange","replaceUrl","target"],["name","pdsNorthEastOutline"],[1,"sr-only"]],template:function(r,n){if(r&1&&(y(0,"div",3)(1,"nav",4)(2,"p-accordion"),Fe(3,Fp,5,6,"p-accordion-panel",5,si),b(),O(5,Bp,1,0,"ng-container",6),b()(),y(6,"div",7)(7,"nav",4),Fe(8,zp,4,5,"div",8,si),O(10,jp,1,0,"ng-container",6),b()(),O(11,Gp,8,2,"ng-template",null,0,li)(13,tu,3,0,"ng-template",null,1,li)(15,iu,3,0,"ng-template",null,2,li)),r&2){let o=Et(12);h(3),Be(n.menuItems()),h(2),C("ngTemplateOutlet",o),h(3),Be(n.menuItems()),h(2),C("ngTemplateOutlet",o)}},dependencies:[mi,Vn,ba,Sa,ya,_a,va,Ws,Ii,mo,Os],encapsulation:2})}}return i})();var ru=["*"];function nu(i,t){if(i&1&&R(0,"img",1),i&2){let e=A();C("src",e.logoSrc(),ot)("alt",e.logoAltText())}}var bc=(()=>{class i{constructor(){this.logoSrc=Te(""),this.logoAltText=Te("Company Logo")}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["pds-footer-top"]],inputs:{logoSrc:[1,"logoSrc"],logoAltText:[1,"logoAltText"]},ngContentSelectors:ru,decls:4,vars:1,consts:[[1,"pds-footer-top"],["height","46",3,"src","alt"],[1,"pds-footer-tagline"]],template:function(r,n){r&1&&(St(),y(0,"div",0),O(1,nu,1,2,"img",1),y(2,"p",2),bt(3),b()()),r&2&&(h(),W(n.logoSrc()?1:-1))},encapsulation:2})}}return i})();var Ec="white",ou="primary",Cc=(()=>{class i{constructor(){this.PLACEHOLDER_URL_BASE="https://placeholder",this.contentService=m(Ro),this.languagesService=m(ee),this.currentSiteState=m(X),this.currentSiteService=m(xo),this.urlService=m(Io),this.resourceService=m(Xe),this.currentSiteId=x(()=>this.currentSiteState.currentSite()?.id),this.footerParams=x(()=>({siteId:this.currentSiteId(),language:this.languagesService.language(),isPreviewMode:this.currentSiteState.isPreviewMode()})),this.footerInfo$=Pe(this.footerParams).pipe(ne(e=>!e.siteId||!e.language?he(null):this.contentService.getFooter(e.siteId,e.language,e.isPreviewMode))),this.footerInfo=Ye(this.footerInfo$,{initialValue:null}),this.mainItems=x(()=>this.footerInfo()?.items.filter(r=>r.type==Ir.navigation).slice(0,-1)?.map(this.mapFooterMainItemToFooterLinks.bind(this))??[]),this.contactUsItem=x(()=>{let e=this.footerInfo()?.items.filter(r=>r.type==Ir.navigation).at(-1);return e?this.mapFooterMainItemToFooterLinks(e).items[0]:null}),this.legalItem=x(()=>this.resourceService.getResourceByKey(V.LEGAL_FOOTER)),this.socialLinks=x(()=>this.footerInfo()?.social?.content??null),this.contactSeverity=x(()=>{let e=this.currentSiteState.getSiteSettingValueByKey(F.BrandingFooterContactButtonSeverity);return e?e.toLowerCase()===Ec?Ec:e:ou})}mapFooterMainItemToFooterLinks(e){return{label:e.name,items:e.items.map(this.mapChildFooterItemToLink.bind(this))}}mapChildFooterItemToLink(e){return this.urlService.isAbsoluteUrl(e.url)?this.currentSiteService.isCurrentSiteDomainUrl(e.url)?this.buildRelativeLink(e,new URL(e.url)):{tag:"absolute",label:e.name,url:e.url,target:e.target}:this.buildRelativeLink(e,new URL(e.url,this.PLACEHOLDER_URL_BASE))}
14buildRelativeLink(e,r){let n=this.toQueryParams(r.searchParams);return je(D({tag:"relative",label:e.name,routerLink:[r.pathname]},n?{queryParams:n}:{}),{target:e.target})}toQueryParams(e){let r=Object.fromEntries(e.entries());return Object.keys(r).length>0?r:void 0}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Tc=(()=>{class i{constructor(){this.platformId=m(K),this.footerService=m(Cc),this.router=m(be),this.domSanitizer=m(io),this.staticContentService=m(Oo),this.isBrowser=Z(this.platformId),this.ResourceItem=V,this.mainItems=this.footerService.mainItems,this.contactUsItem=this.footerService.contactUsItem,this.socialLinks=this.footerService.socialLinks,this.contactButtonSeverity=this.footerService.contactSeverity,this.pdsSocialLinks=x(()=>{let e=this.socialLinks();return[{platform:j.Facebook,url:e?.facebookLink||""},{platform:j.YouTube,url:e?.youtubeLink||""},{platform:j.Pinterest,url:e?.pinterestLink||""},{platform:j.Instagram,url:e?.instagramLink||""},{platform:j.X,url:e?.twitterLink||""},{platform:j.LinkedIn,url:e?.linkedinLink||""},{platform:j.TikTok,url:e?.tiktokLink||""}].filter(r=>r.url)}),this.legalItem=x(()=>this.domSanitizer.bypassSecurityTrustHtml(this.footerService.legalItem())),this.footerLogo=x(()=>this.staticContentService.getStaticAsset(F.BrandingAssetsFooterLogo)?.url??this.fallbackLogoSrc()),this.fallbackLogoSrc=_e(Mo),Ae(()=>{let e=this.footerLogo();e&&this.fallbackLogoSrc.set(e)},{allowSignalWrites:!0})}onContactUsClick(){if(!this.isBrowser)return;let e=this.contactUsItem();switch(e?.tag){case"absolute":{window.open(e.url,e.target);break}case"relative":{let r=this.router.serializeUrl(this.router.createUrlTree(e.routerLink));e.target===Eo.BLANK?window.open(r,e.target):this.router.navigateByUrl(r);break}}}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["ppg-footer"]],decls:5,vars:6,consts:[["logoAltText","PPG Logo",3,"logoSrc"],[3,"contactUsClick","menuItems","socialLinks","contactText","contactSeverity"],[3,"innerHTML"]],template:function(r,n){if(r&1&&(y(0,"pds-footer"),R(1,"pds-footer-top",0),y(2,"pds-footer-menu",1),le("contactUsClick",function(){return n.onContactUsClick()}),b(),y(3,"pds-footer-bottom"),R(4,"div",2),b()()),r&2){let o;h(),C("logoSrc",n.footerLogo()),h(),C("menuItems",n.mainItems())("socialLinks",n.pdsSocialLinks())("contactText",(o=n.contactUsItem())==null?null:o.label)("contactSeverity",n.contactButtonSeverity()),h(2),C("innerHTML",n.legalItem(),nt)}},dependencies:[yc,bc,Sc,_c],encapsulation:2,changeDetection:0})}}return i})();function su(i,t){if(i&1&&R(0,"ppg-header",4),i&2){let e=A();C("cartItemsTotalQuantity",e.cartItemsTotalQuantity())}}function au(i,t){i&1&&R(0,"ppg-footer",5)}var Mc=(()=>{class i{constructor(){this.#e=m(ye),this.#t=m(X),this.#i=m(Ci),this.#r=Z(this.#e.get(K)),this.#n=x(()=>this.#t.isECommerceEnabled()&&(this.#i.isAuthenticated()||this.#t.getSiteFlag(F.AnonymousJourneyCartEnabled))),this.cartItemsTotalQuantity=Ye(Pe(this.#n).pipe(ne(e=>e&&this.#r?En(import("./chunk-Z7GJ3H77.js")).pipe(ne(r=>this.#e.get(r.CartService).cartItemsTotalQuantity$)):he(0))),{initialValue:0})}#e;#t;#i;#r;#n;static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["ppg-default-app-layout"]],decls:6,vars:0,consts:[[1,"viewport-container"],["class","ppg-header","data-test-id","app.ppgHeader",3,"cartItemsTotalQuantity",4,"ppgHideOnMobileAppView"],[1,"main-content"],["class","ppg-footer","data-test-id","app.ppgFooter",4,"ppgHideOnMobileAppView"],["data-test-id","app.ppgHeader",1,"ppg-header",3,"cartItemsTotalQuantity"],["data-test-id","app.ppgFooter",1,"ppg-footer"]],template:function(r,n){r&1&&(y(0,"div",0),O(1,su,1,1,"ppg-header",1),y(2,"main",2),R(3,"router-outlet"),b()(),O(4,au,1,0,"ppg-footer",3),R(5,"ppg-header-sidebar"))},dependencies:[Mt,Ta,Ca,Tc,Pi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}@media print{[_nghost-%COMP%]{display:inline}}.viewport-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.viewport-container[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-top:var(--p-pds-unit-1000);padding-bottom:var(--p-pds-unit-1000)}"],changeDetection:0})}}return i})();var Ac=(()=>
14{class i{static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=B({type:i,selectors:[["ppg-minimum-app-layout"]],decls:4,vars:0,consts:[[1,"viewport-container"],[1,"main-content"]],template:function(r,n){r&1&&(y(0,"div",0),R(1,"ppg-minimum-header"),y(2,"main",1),R(3,"router-outlet"),b()())},dependencies:[Mt,Ma],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}@media print{[_nghost-%COMP%]{display:inline}}.viewport-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.viewport-container[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-bottom:var(--spacing-6XL)}"],changeDetection:0})}}return i})();var gn={[Re.DEFAULT]:Mc,[Re.MINIMUM]:Ac};var Pc={[T.Authentication]:{loadChildren:()=>import("./chunk-AV2F2CDW.js").then(i=>i.AuthRoutes),providers:[hs({scope:"auth",alias:"AUTH"})]}};var wc={[T.ColorFamilies]:{loadChildren:()=>Promise.all([import("./chunk-3JGUPMXY.js"),import("./chunk-2RFNIUSF.js")]).then(([i,t])=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"},{path:`:${t.FAMILY_NAME_PARAM}`},{path:`:${t.FAMILY_TYPE_NAME_PARAM}/:${t.FAMILY_NAME_PARAM}`}])),resolve:{[de]:ke},canMatch:[Le(F.ColorJourneyIsEnabled)]},[T.ColorCollection]:{loadChildren:()=>Promise.all([import("./chunk-3JGUPMXY.js"),import("./chunk-X53FSY3O.js")]).then(([i,t])=>i.mixedContentPageResolverRoutes([{path:`:${t.COLLECTION_NAME_PARAM}`}])),resolve:{[de]:ke},canMatch:[Le(F.ColorJourneyIsEnabled)]},[T.ColorDetails]:{loadChildren:()=>Promise.all([import("./chunk-3JGUPMXY.js"),import("./chunk-DTZVVJFB.js")]).then(([i,t])=>i.mixedContentPageResolverRoutes([{path:`:${t.COLOR_NAME_PARAM}/:${t.COLOR_PRODUCT_NUMBER_PARAM}`}])),resolve:{[de]:ke},canMatch:[Le(F.ColorJourneyIsEnabled)]},[T.FavoriteColors]:{loadChildren:()=>import("./chunk-3JGUPMXY.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{[de]:ke},canMatch:[Le(F.ColorJourneyIsEnabled)]},[T.Colors]:{loadChildren:()=>import("./chunk-3JGUPMXY.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{[de]:ke}}};var Ic={[T.GlobalSearch]:{loadChildren:()=>import("./chunk-5X4APERH.js").then(i=>i.GlobalSearchRoutes),canMatch:[Aa],title:V.SEARCH_PAGE_TITLE},[T.ContactUsForm]:{loadChildren:()=>import("./chunk-I3W5WCFF.js").then(i=>i.ContactUsFormRoutes)}};var xc=()=>m(Ea).getSiteFlag(F.GlobalStoreLocatorWidgetFeaturePageEnabled),Rc={[T.DistributorLocator]:[{path:"",canMatch:[()=>xc()],loadChildren:()=>import("./chunk-TKYON6O6.js").then(i=>i.GlobalStoreLocatorRoutes)},{path:"",canMatch:[()=>!xc()],loadChildren:()=>import("./chunk-NR6F6SLH.js").then(i=>i.DistributorLocatorRoutes)}]};var tr=Le(F.MultistepAccountRegistrationIsEnabled);var Oc=()=>{let i=m(z),t=m(at);return Er(t.appRouteItems(),T.ProductsList)?!0:(i.error("[FeatureRedirectToProducts] redirect path cannot be calculated, skipping redirect"),!1)},Nc=i=>{let t=m(z),e=m(be),r=m(at),n=Er(r.appRouteItems(),T.ProductsList);return t.info(`[FeatureRedirectToProducts] redirecting to products feature with path: ${n} and queryPrams: ${JSON.stringify(i.queryParams)} from: ${Fo(i.data)?.url}`),e.createUrlTree([n],{queryParams:i.queryParams})};var Lc={[T.CreateCashCustomer]:{loadChildren:()=>import("./chunk-WQIIOZKF.js").then(i=>i.CreateCashCustomerModule)},[T.Registration]:{loadChildren:()=>import("./chunk-W2EQWKEB.js").then(i=>i.RegistrationModule)},[T.MultistepAccountRegistration]:{loadChildren:()=>import("./chunk-UAGBRNRZ.js").then(i=>i.registrationRoutes),canMatch:[tr],canActivate:[Vt],data:{layout:Re.MINIMUM}},[T.CreateB2CCustomer]:{loadChildren:()=>import("./chunk-5OPF42DD.js").then(i=>i.CreateB2CCustomerModule)},[T.ProductsList]:{loadChildren:()=>import("./chunk-YFHIQGFE.js").then(i=>i.ProductsListModule)},[T.Favorites]:{loadChildren:()=>import("./chunk-UHMQ6B5J.js").then(i=>i.FavoritesModule),data:{onPage:Or.UsersPage}},[T.ImportAccounts]:{loadChildren:()=>import("./chunk-QYCJEXII.js").then(i=>i.ImportAccountsModule)},[T.Admin]:{loadChildren:()=>import("./chunk-JO5GTWIE.js").then(i=>i.AdminModule)},[T.Users]:{loadChildren:()=>import("./chunk-F5NPOZ2N.js").then(i=>i.UserModule),data:{onPage:Or.UsersPage}},[T.PaymentMethods]:{loadChildren:()=>import("./chunk-QAEMF4ZP.js").then(i=>i.PaymentModule)},[T.UserProfile]:{loadChildren:()=>import("./chunk-5MTZFRJE.js").then(i=>i.UserProfileModule)},[T.Cart]:{loadChildren:()=>import("./chunk-5R6CAC3D.js").then(i=>i.CartModule)},[T.Customer]:{loadChildren:()=>import("./chunk-NPQ5BQ4Y.js").then(i=>i.CustomerModule)},[T.Job]:{loadChildren:()=>import("./chunk-WIMUQKPK.js").then(i=>i.JobModule)},[T.Order]:{loadChildren:()=>import("./chunk-IWMVMVCP.js").then(i=>i.OrderModule)},[T.InactiveUser]:{loadComponent:()=>import("./chunk-6FIJ726J.js").then(i=>i.InactiveUserComponent)},[T.B2bB2cCustomerRegistration]:{loadComponent:()=>import("./chunk-2BTNYOX2.js").then(i=>i.AccountTypeComponent),canActivate:[Vt]}},kc={[T.RedirectToProducts]:{component:ko,pathMatch:"full",canMatch:[Oc],canActivate:[Nc]}};var Dc={[T.ProductJourneyList]:{loadChildren:()=>import("./chunk-3JGUPMXY.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{categoryRedirect:Rr,[de]:ke,[Ht]:xr},canMatch:[Le(F.ProductJourneyProductListEnabled)]},[T.ProductJourneyDetails]:{loadChildren:()=>import("./chunk-3JGUPMXY.js").then(i=>i.mixedContentPageResolverRoutes([{path:":productSlug/:productEMG"}])),resolve:{categoryRedirect:Rr,[de]:ke,[Ht]:xr},canMatch:[Le(F.ProductJourneyProductDetailsIsEnabled)]},[T.Documents]:{loadChildren:()=>import("./chunk-3JGUPMXY.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{[de]:ke}}};var Fc=D(D(D(D(D(D(D({},Pc),Lc),kc),Ic),Rc),wc),Dc);var lu=3;function ir(i){return t=>{let e=t.findIndex(r=>r.path.toLocaleLowerCase()==i.toLocaleLowerCase());return!t.length||e===-1||e>=lu?null:{consumed:t.slice(0,e+1)}}}function Bc(){return i=>{let t=i.findIndex(e=>e.path.toLocaleLowerCase()===To);return!i.length||t===-1?null:{consumed:i}}}function Uc(){return i=>{let t=i.map(e=>e.path).join("/");return{consumed:i,posParams:{rootName:new so(t,{})}}}}function zc(){return i=>i.length!=0?{consumed:i}:null}var jc=[{matcher:ir(At.ACCOUNT_REGISTRATION),loadChildren:()=>import("./chunk-UAGBRNRZ.js").then(i=>i.registrationRoutes),canMatch:[tr],canActivate:[Vt],data:{layout:Re.MINIMUM}},{matcher:ir(At.NOT_FOUND),loadComponent:()=>import("./chunk-Y7GFIZTO.js").then(i=>i.NotfoundComponent),data:{[Sr]:br}}
14,{matcher:ir(At.SERVER_ERROR),loadComponent:()=>import("./chunk-75RXVSPQ.js").then(i=>i.ServerErrorComponent)},{matcher:Bc(),resolve:{[de]:wa,[Ht]:Ia},loadComponent:()=>import("./chunk-3JGUPMXY.js").then(i=>i.PreviewContentPageResolverComponent),data:{[Lo]:!0}},{matcher:Uc(),loadComponent:()=>import("./chunk-3JGUPMXY.js").then(i=>i.PageResolverComponent),resolve:{[de]:Pa}},{matcher:zc(),loadComponent:()=>import("./chunk-Y7GFIZTO.js").then(i=>i.NotfoundComponent),data:{[Sr]:br}}];var cu="layout",$c=(()=>{class i{constructor(){this.#e=m(z),this.#t=m(ee),this.language=this.#t.language}#e;#t;getLayoutComponent(e){let r=e.data?.[cu];return gn[r??Re.DEFAULT]??gn[Re.DEFAULT]}getStaticRoutes(){return[...jc]}getFeatureModuleRoute(e){let r=Fc[e];return r?Array.isArray(r)?[...r]:[r]:(this.#e.error(`[RouterConfiguratorService] cannot find route config for ${e} feature module`),[])}getAuthGuards(e){let r=[Xo];return r.push(()=>m(er).canActivate()),e!==T.InactiveUser&&r.push(rs),r}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Vc(){return gt([Do(()=>m($c)),{provide:Ke,useFactory:()=>{let i=m(be),t=m(at).routerConfig();return i.resetConfig(t),()=>null},multi:!0},po([],fo({paramsInheritanceStrategy:"always"}),uo({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}))])}var Kc=(()=>{class i{#e=m(be);#t=m(z);#i=m(ye);getChangeFlow(e){let r=this.#r(),n=this.#i.get(at);return r?.codename?n.getAppRoutes(e.newLanguage).pipe(Q(1),q(o=>{let s=Uo(o,r?.codename);return s?(this.#t.info(`[FeatureModuleChangeFlowService][getChangeFlow] Found matched route with the following path "${s}" for codename: ${r?.codename}`),{urlUpdater:([a,l])=>[a.replace(r.url,s),l]}):(this.#t.warn(`[FeatureModuleChangeFlowService][getChangeFlow] No matched route found for codename: ${r?.codename}`),{urlUpdater:or})})):(this.#t.warn("[FeatureModuleChangeFlowService][getChangeFlow] No codename found in app route item from route."),he({urlUpdater:or}))}canApplyChangeFlow(){return!!this.#r()}#r(){return Bo(this.#e.routerState.root.snapshot.firstChild)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var mu=Object.entries(gi).map(([i,t])=>({id:t,label:i})),Hc={providers:[{provide:So,useValue:"/"},sa(),gc(),aa(),wo(),_s(),{provide:bo,useFactory:()=>m(bi).rest()},Jl(),No(),ls(),{provide:wi,useValue:wi()},{provide:xs,useExisting:wi},Dt(qn),Dt(Yo.forRoot()),Vl(),yo({theme:{preset:Zl,options:Zi}}),Rs(ec),Jn(to(),eo({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"}),Zn([ns,as,lc,sc,pc,ac,cc,uc,Kl,mc,oc,Po])),hc(),er,Vc(),ro(),fs({config:{availableLangs:mu,defaultLang:gi.EN_US,fallbackLang:gi.EN_US,reRenderOnLangChange:!0,prodMode:!jn()},loader:ql}),Qs(),xi,vr,rc,tc,vr,{provide:na,useFactory:oa,deps:[ra]},{provide:ea,useFactory:ia,deps:[ta]},{provide:vi,useFactory:i=>i.defaultView??window,deps:[Qe]},{provide:co,useClass:ma},{provide:gs,useExisting:Kc},Ps(),{provide:cs,useFactory:()=>{let i=m(X);return x(()=>`${i.siteId()}`)}},{provide:ms,useFactory:()=>{let i=m(X);return x(()=>`${i.hubPagePath()}`)}},Wl()]};var qc={name:"prod",production:!0,baseUrl:"/",signInRedirectUrl:"/MicrosoftIdentity/Account/SignIn"};qc.production&&void 0;Hn(qa,Hc).catch(i=>console.error(i));

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.