1"use strict";(self.webpackJsonp__AngularElements=self.webpackJsonp__AngularElements||[]).push([[673],{6945(re,K,o){o.d(K,{P:()=>Ae});var w=o(2771),c=o(8793),n=o(4226),r=o(983),s=o(6697),a=o(8839),l=o(9974),e=o(8750),t=o(4360),H=o(1584);var E=o(5964),G=o(8141),M=o(9437);const S="function"==typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0}):void 0,p="function"==typeof TextEncoder?new TextEncoder:void 0,D=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Q=(X=>{let ie={};return X.forEach((pe,oe)=>ie[pe]=oe),ie})(D),z=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,J=String.fromCharCode.bind(String),W="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):X=>new Uint8Array(Array.prototype.slice.call(X,0)),C=X=>X.replace(/[^A-Za-z0-9\+\/]/g,""),u="function"==typeof btoa?X=>btoa(X):X=>{let ie,pe,oe,le,ae="";const _e=X.length%3;for(let ke=0;ke<X.length;){if((pe=X.charCodeAt(ke++))>255||(oe=X.charCodeAt(ke++))>255||(le=X.charCodeAt(ke++))>255)throw new TypeError("invalid character found");ie=pe<<16|oe<<8|le,ae+=D[ie>>18&63]+D[ie>>12&63]+D[ie>>6&63]+D[63&ie]}return _e?ae.slice(0,_e-3)+"===".substring(_e):ae},h="function"==typeof Uint8Array.prototype.toBase64?X=>X.toBase64():X=>{let pe=[];for(let oe=0,le=X.length;oe<le;oe+=4096)pe.push(J.apply(null,X.subarray(oe,oe+4096)));return u(pe.join(""))},d=X=>{if(X.length<2)return(ie=X.charCodeAt(0))<128?X:ie<2048?J(192|ie>>>6)+J(128|63&ie):J(224|ie>>>12&15)+J(128|ie>>>6&63)+J(128|63&ie);var ie=65536+1024*(X.charCodeAt(0)-55296)+(X.charCodeAt(1)-56320);return J(240|ie>>>18&7)+J(128|ie>>>12&63)+J(128|ie>>>6&63)+J(128|63&ie)},B=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g,g=p?X=>h(p.encode(X)):X=>u((X=>X.replace(B,d))(X)),P=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,U=X=>{switch(X.length){case 4:var pe=((7&X.charCodeAt(0))<<18|(63&X.charCodeAt(1))<<12|(63&X.charCodeAt(2))<<6|63&X.charCo
1deAt(3))-65536;return J((pe>>>10)+55296)+J(56320+(1023&pe));case 3:return J((15&X.charCodeAt(0))<<12|(63&X.charCodeAt(1))<<6|63&X.charCodeAt(2));default:return J((31&X.charCodeAt(0))<<6|63&X.charCodeAt(1))}},me="function"==typeof atob?X=>atob(C(X)):X=>{if(X=X.replace(/\s+/g,""),!z.test(X))throw new TypeError("malformed base64.");X+="==".slice(2-(3&X.length));let ie,pe,oe,le=[];for(let ae=0;ae<X.length;)ie=Q[X.charAt(ae++)]<<18|Q[X.charAt(ae++)]<<12|(pe=Q[X.charAt(ae++)])<<6|(oe=Q[X.charAt(ae++)]),le.push(64===pe?J(ie>>16&255):64===oe?J(ie>>16&255,ie>>8&255):J(ie>>16&255,ie>>8&255,255&ie));return le.join("")},fe="function"==typeof Uint8Array.fromBase64?X=>Uint8Array.fromBase64(X):X=>W(me(X).split("").map(ie=>ie.charCodeAt(0))),Oe=S?X=>S.decode(fe(X)):X=>(X=>X.replace(P,U))(me(X)),De_encode=(X,ie=!1)=>ie?(X=>X.replace(/=/g,"").replace(/[+\/]/g,ie=>"+"==ie?"-":"_"))(g(X)):g(X),De_decode=X=>Oe((X=>C(X.replace(/[-_]/g,ie=>"-"==ie?"+":"/")))(X));var Be=o(4823),Le=o(7266),$e=o(6795);let Ae=(()=>{var X;class ie{constructor(oe){this.http=oe,this.listItems=[],this.didLoadMore=!1,this.apiError=!1,this.listItems$=new w.m(1),this._nextCount=0,this.id="",this.rehydrate=!1,this.renderSkeletons=!0}getListItems(){const oe=this.listItems$.asObservable();return(0,c.x)(oe.pipe((0,s.s)(1)),oe.pipe(function O(X,ie=a.E){return function L(X){return(0,l.N)((ie,pe)=>{let oe=!1,le=null,ae=null,_e=!1;const ke=()=>{if(ae?.unsubscribe(),ae=null,oe){oe=!1;const Se=le;le=null,pe.next(Se)}_e&&pe.complete()},Ne=()=>{ae=null,_e&&pe.complete()};ie.subscribe((0,t._)(pe,Se=>{oe=!0,le=Se,ae||(0,e.Tg)(X(Se)).subscribe(ae=(0,t._)(pe,ke,Ne))},()=>{_e=!0,(!oe||!ae||ae.closed)&&pe.complete()}))})}(()=>(0,H.O)(X,ie))}(250)))}execute(oe=!1){return this._links=null,this._nextCount=this.pageSize,this.listItems=[],this.apiError=!1,this.listItems$.next([]),!oe&&this.rehydrate&&this.restoreState()?(this.listItems$.next(this.listItems),new n.c):this.getNextPage()}raiseSkeletons(){for(let oe=0;oe<this._nextCount;oe++)this.listItems.push({skeleton:!0});this.listItems$.next(this.listItems)}get links(){return this._links}getNextPage(){let oe=this.getUrl();return null!==this._links&&(oe=this._links.next.href),this.renderSkeletons&&this.raiseSkeletons(),this.http.get(oe).pipe((0,E.p)(le=>!!le),(0,G.M)(le=>{const ae=le.items.map(this.parseItem);this.updateItemList(ae),this.prepareNext(le),this.customData=le.customData,this.rehydrate&&this.saveState()}),(0,M.W)(()=>(this.apiError=!0,this.listItems=[],this.listItems$.next([]),r.w)))}get hasNext(){return this._nextCount>0}setUrl(oe){if(!oe||""===oe)return void console.error("ERROR: Endpoint URL cannot be empty!");const ae=new URL(oe,window.location.origin).pathname,_e=(0,Be.al)(oe);return this.endpointServer=ae.split("/api")[0],this.endpointPath=ae.split("/api")[1],this.endpointPathArray=this.endpointPath.split("/").splice(1),this.offset=Number(_e.offset)||0,this.pageSize=Number(_e.pageSize)||5,this.regulatoryFilter="true"===_e.regulatoryOnly,this.endpointName=this.endpointPathArray[0],this.pageId=this.endpointPathArray[1],this.language=this.endpointPathArray[2],this._nextCount=this.pageSize,{pathname:ae,params:_e}}getUrl(){return this.endpointServer+"/api/"+this.endpointName+"/"+this.pageId+"/"+this.language+"?offset="+this.offset+"&pageSize="+this.pageSize}prepareNext(oe){if(this.totalCount=oe.count,this._links=oe._links,this.deconstructPageLinkHrefs(this._links),this._links&&this._links.next){const le=(0,Be.al)(this._links.next.href),ae=Number(le.offset)||0,_e=Number(le.pageSize)||0;this._nextCount=this.totalCount-ae,this._nextCount>_e&&(this._nextCount=_e)}else this._nextCount=0}deconstructPageLinkHrefs(oe){for(const le in oe)if(oe.hasOwnProperty(le)){const ae=oe[le];ae&&ae.href?Object.assign(ae,Object.fromEntries(new URLSearchParams(ae.href.split("?")[1]))):ae&&this.deconstructPageLinkHrefs(ae)}}parseItem(oe){return oe}updateItemList(oe){this.renderSkeletons&&this.listItems.splice(-this._nextCount),this.listItems.length>0&&(this.didLoadMore=!0),this.listItems=this.listItems.concat(oe),this.listItems$.next(this.listItems)}saveState(){const oe={};
1Object.getOwnPropertyNames(this).forEach(ae=>{(0===this[ae]||this[ae]&&("String"===this[ae].constructor.name||"Number"===this[ae].constructor.name||"Array"===this[ae].constructor.name||"Object"===this[ae].constructor.name))&&(oe[ae]=this[ae])});const le=De_encode(JSON.stringify(oe));sessionStorage.setItem(this.sessionStorageKey,le)}restoreState(){const oe=sessionStorage.getItem(this.sessionStorageKey);try{const le=JSON.parse(De_decode(oe));return Object.getOwnPropertyNames(le).forEach(ae=>{(0===le[ae]||le[ae])&&(this[ae]=le[ae])}),!0}catch{return!1}}get sessionStorageKey(){return"__PWNG__QS__"+window.location.href+"__"+this.id}static#e=X=()=>(this.\u0275fac=function(le){return new(le||ie)(Le.KVO($e.Qq))},this.\u0275prov=Le.jDH({token:ie,factory:ie.\u0275fac}))}return X(),ie})()},6776(re,K,o){o.d(K,{Q:()=>n});var w=o(6089),c=o(6945);let n=(()=>{var r;class s{get name(){return this._name}set name(l){this._name=l?.toLocaleLowerCase().replace(/\s+/g,"-")}get showDate(){return this._showDate}set showDate(l){this._showDate=l+""=="true"}get showTime(){return this._showTime}set showTime(l){this._showTime=l+""=="true"}get showReadTime(){return this._showReadTime}set showReadTime(l){this._showReadTime=l+""=="true"}get showSummary(){return this._showSummary}set showSummary(l){this._showSummary=l+""=="true"}get showImage(){return this._showImage}set showImage(l){this._showImage=l+""=="true"}get showLabel(){return this._showLabel}set showLabel(l){this._showLabel=l+""=="true"}constructor(l){this.abstractQueryService=l,this._showDate=!0,this._showTime=!0,this._showReadTime=!0,this._showSummary=!0,this._showImage=!0,this._showLabel=!0}ngOnInit(){this.abstractQueryService.setUrl(this.initialEndpointUrl),this.abstractQueryService.execute().subscribe()}shouldFocus(l){if(!this.abstractQueryService.didLoadMore)return!1;const e=this.abstractQueryService.pageSize,t=this.abstractQueryService.listItems.length;return l===t-(t%e||e)}static#e=r=()=>(this.\u0275fac=function(e){return new(e||s)(w.rXU(c.P))},this.\u0275dir=w.FsC({type:s,inputs:{name:"name",initialEndpointUrl:"initialEndpointUrl",showDate:"showDate",showTime:"showTime",showReadTime:"showReadTime",showSummary:"showSummary",showImage:"showImage",showLabel:"showLabel"}}))}return r(),s})()},4134(re,K,o){o.d(K,{T:()=>S});var w=o(9769),c=o(7266),n=o(1624),r=o(6089);const s=["link"];function a(p,Z){if(1&p&&r.nrm(0,"pwng-picture",2),2&p){const D=r.XpG();r.Y8G("picture",D.picture)}}function l(p,Z){if(1&p&&(r.j41(0,"span"),r.EFF(1),r.k0s()),2&p){const D=r.XpG(3);r.R7$(),r.JRh(D.label)}}function e(p,Z){if(1&p&&(r.j41(0,"span"),r.EFF(1),r.nI1(2,"date"),r.k0s()),2&p){const D=r.XpG(4);r.R7$(),r.JRh(r.i5U(2,1,D.isoDate,"longDate"))}}function t(p,Z){if(1&p&&(r.j41(0,"span"),r.EFF(1),r.nI1(2,"date"),r.k0s()),2&p){const D=r.XpG(4);r.R7$(),r.JRh(r.i5U(2,1,D.isoDate,"shortTime"))}}function L(p,Z){if(1&p&&(r.j41(0,"time",9),r.nVh(1,e,3,4,"span"),r.nVh(2,t,3,4,"span"),r.k0s()),2&p){const D=r.XpG(3);r.Y8G("dateTime",D.isoDate),r.R7$(),r.vxM(D.showDate?1:-1),r.R7$(),r.vxM(D.showTime?2:-1)}}function H(p,Z){if(1&p&&(r.j41(0,"span",10),r.EFF(1),r.k0s()),2&p){const D=r.XpG(3);r.R7$(),r.JRh(D.readTime)}}function O(p,Z){if(1&p&&(r.j41(0,"div",5),r.nVh(1,l,2,1,"span"),r.nVh(2,L,3,3,"time",9),r.nVh(3,H,2,1,"span",10),r.k0s()),2&p){const D=r.XpG(2);r.R7$(),r.vxM(D.showLabel&&D.label?1:-1),r.R7$(),r.vxM(D.isoDate&&(D.showDate||D.showTime)?2:-1),r.R7$(),r.vxM(D.showReadTime&&D.readTime?3:-1)}}function E(p,Z){if(1&p&&(r.j41(0,"div",8),r.EFF(1),r.k0s()),2&p){const D=r.XpG(2);r.R7$(),r.JRh(D.href)}}function G(p,Z){if(1&p&&(r.j41(0,"div",8),r.EFF(1),r.k0s()),2&p){const D=r.XpG(2);r.R7$(),r.JRh(D.breadcrumbs)}}function M(p,Z){if(1&p&&r.nrm(0,"p",7),2&p){const D=r.XpG(2);r.Y8G("innerHTML",D.summary,r.npT)}}function R(p,Z){if(1&p){const D=r.RV6();r.j41(0,"div",3),r.nVh(1,O,4,3,"div",5),r.j41(2,"a",6,0),r.bIt("click",function(){c.eBV(D);const z=r.XpG();return c.Njj(z.onClickHref())}),r.nrm(4,"h3",7),r.nVh(5,E,2,1,"div",8),r.nVh(6,G,2,1,"div",8),r.k0s(),r.nVh(7,M,1,1,"p",7),r.k0s()}if(2&p){const D=r.XpG();r.R7$(),r.vxM(D.hasPageFeatures?1:-1),r.R7$(),r.Y8G("href",D.href,r.B4B)("target",D.target),r.R7$(2),r.Y8G("innerHTML",D.heading+"<i aria-hidden=true></i>",r.npT),r.R7$(),r.vxM(D.showUrl?5:-1),r.R7$(),r.vxM(D.breadcrumbs?6:-1),r.R7$(),r.vxM(D.showSummary&&D.summary?7:-1)}}function i(p,Z){1&p&&(r.j41(0,"div",4),r.nrm(1,"div",11),r.k0s())}let S=(()=>{var p;class Z{constructor(){this.target="",this.skeleton=!1,this.lightTheme=!1,this.focus=!1,this.showDate=!0,this.showTime=!0,this.showReadTime=!0,this.showImage=!0,this.showSummary=!0,this.showUrl=!1,this.showLabel=!0,this.clickHref=new c.bkB,this.hasPageFeatures=!1}ngOnChanges(Q){this.hasPageFeatures=this.showLabel&&!!this.label||this.showReadTime&&!!this.readTime||(this.showDate||this.showTime)&&!!this.isoDate}ngAfterViewInit(){this.focus&&this.linkElement&&this.linkElement.nativeElement.focus()}onClickHref(){this.clickHref.emit()}static#e=p=()=>(this.\u0275fac=function(z){return new(z||Z)},this.\u0275cmp=r.VBU({type:Z,selectors:[["pwng-article-item"]],viewQuery:function(z,J){if(1&z&&r.GBs(s,5),2&z){let W;r.mGM(W=r.lsd())&&(J.linkElement=W.first)}},inputs:{heading:"heading",isoDate:"isoDate",readTime:"readTime",summary:"summary",label:"label",href:"href",target:"target",breadcrumbs:"breadcrumbs",picture:"picture",skeleton:"skeleton",lightTheme:"lightTheme",focus:"focus",showDate:"showDate",showTime:"showTime",showReadTime:"showReadTime",showImage:"showImage",showSummary:"showSummary",showUrl:"showUrl",showLabel:"showLabel",customData:"customData"},outputs:{clickHref:"clickHref"},features:[r.OA$],decls:4,vars:3,consts:[["link",""],[1,"pw-article-item"],[3,"picture"],[1,"pw-article-item__text"],[2,"width","100%"],[1,"pw-page-features","pw-page-features--small"],[3,"click","href","target"],[3,"innerHTML"],[1,"pw-article-item__url"],[3,"dateTime"],[1,"pw-page-features__time-to-read"],["aria-busy","true",1,"skeleton-loader",2,"width","100%"]],template:function(z,J){1&z&&(r.j41(0,"article",1),r.nVh(1,a,1,1,"pwng-picture",2),r.nVh(2,R,8,7,"div",3),r.nVh(3,i,2,0,"div",4),r.k0s()),2&z&&(r.R7$(),r.vxM(J.picture&&J.showImage?1:-1),r.R7$(),r.vxM(J.skeleton?-1:2),r.R7$(),r.vxM(J.skeleton?3:-1))},dependencies:[n.W,w.vh],encapsulation:2}))}return p(),Z})()},1649(re,K,o){o.d(K,{CalendarListComponent:()=>ne});var w=o(4839),c=o(5964),n=o(6354),r=o(699),s=o(9769),a=o(6089),l=o(7705);let e=(()=>{var C;class y{constructor(h,k,d){this.el=h,this.renderer=k,this.cd=d,this.pwngTooltip="",this.placement="top",this.offset=10}onMouseEnter(){this.tooltipElement||this.show()}onMouseLeave(){this.tooltipElement&&this.hide()}show(){this.pwngTooltip.length>0&&(this.create(),this.setPosition())}hide(){this.renderer.removeChild(document.body,this.tooltipElement),this.tooltipElement=null,this.cd.detectChanges()}create(){this.tooltipElement=this.renderer.createElement("div"),this.renderer.appendChild(this.tooltipElement,this.renderer.createText(this.pwngTooltip)),this.renderer.appendChild(document.body,this.tooltipElement),this.renderer.addClass(this.tooltipElement,"sdv-tooltip"),this.renderer.addClass(this.tooltipElement,`sdv-tooltip--${this.placement}`)}setPosition(){const h=this.el.nativeElement.getBoundingClientRect(),k=this.tooltipElement.getBoundingClientRect(),d=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let B,x;"top"===this.placement&&(B=h.top-k.height-this.offset,x=h.left+(h.width-k.width)/2),"bottom"===this.placement&&(B=h.bottom+this.offset,x=h.left+(h.width-k.width)/2),"left"===this.placement&&(B=h.top+(h.height-k.height)/2,x=h.left-k.width-this.offset),"right"===this.placement&&(B=h.top+(h.height-k.height)/2,x=h.right+this.offset),this.renderer.setStyle(this.tooltipElement,"top",`${B+d}px`),this.renderer.setStyle(this.tooltipElement,"left",`${x}px`)}static#e=C=()=>(this.\u0275fac=function(k){return new(k||y)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(l.gRc))},this.\u0275dir=a.FsC({type:y,selectors:[["","pwngTooltip",""]],hostBindings:function(k,d){1&k&&a.bIt("mouseenter",function(){return d.onMouseEnter()})("touchstart",function(){return d.onMouseEnter()})("focus",function(){return d.onMouseEnter()})("mouseleave",function(){return d.onMouseLeave()})("touchend",function(){return d.onMouseLeave()})("blur",function(){return d.onMouseLeave()})},inputs:{pwngTooltip:"pwngTooltip",placement:"placement"}}))}return C(),y})();var t=o(3726),L=o(9172),H=o(3294);function O(C,y){if(1&C&&(a.j41(0,"a",6),a.EFF(1),a.nrm(2,"i",10),a.k0s()),2&C){const u=a.XpG();a.Y8G("href",u.href,a.B4B),a.R7$(),a.JRh(u.heading)}}function E(C,y){if(1&C&&a.EFF(0),2&C){const u=a.XpG();a.SpI(" ",u.heading," ")}}function G(C,y){if(1&C&&(a.EFF(0," \u2013"),a.j41(1,"time"),a.nI1(2,"date"),a.EFF(3),a.nI1(4,"date"),a.k0s()),2&C){const u=a.XpG(3);
1a.R7$(),a.BMQ("datetime",a.i5U(2,2,u.endDate,"HH:mm")),a.R7$(2),a.JRh(a.i5U(4,5,u.endDate,"shortTime"))}}function M(C,y){if(1&C&&(a.j41(0,"span",11)(1,"time"),a.nI1(2,"date"),a.EFF(3),a.nI1(4,"date"),a.k0s(),a.nVh(5,G,5,8),a.k0s()),2&C){const u=a.XpG(2);a.R7$(),a.BMQ("datetime",a.i5U(2,3,u.startDate,"HH:mm")),a.R7$(2),a.JRh(a.i5U(4,6,u.startDate,"shortTime")),a.R7$(2),a.vxM(u.endDate&&!u.equalTimes?5:-1)}}function R(C,y){if(1&C&&(a.j41(0,"span",12),a.EFF(1),a.k0s()),2&C){const u=a.XpG(2);a.R7$(),a.JRh(u.location)}}function i(C,y){if(1&C&&(a.j41(0,"div",7),a.nVh(1,M,6,9,"span",11),a.nVh(2,R,2,1,"span",12),a.k0s()),2&C){const u=a.XpG();a.R7$(),a.vxM(u.isFullDay?-1:1),a.R7$(),a.vxM(u.location?2:-1)}}function S(C,y){if(1&C&&(a.j41(0,"gds-button-pw",8),a.nrm(1,"gds-icon-calender-add-pw",13),a.j41(2,"span"),a.EFF(3),a.nI1(4,"translate"),a.k0s()()),2&C){const u=a.XpG();a.Y8G("href","/api/calendar/"+u.pageId),a.R7$(3),a.JRh(a.bMT(4,2,"features.pages.calendar.addtocalendar"))}}function p(C,y){if(1&C&&(a.j41(0,"gds-button-pw",9),a.nI1(1,"translate"),a.nI1(2,"translate"),a.nrm(3,"gds-icon-calender-add-pw"),a.k0s()),2&C){const u=a.XpG();a.Y8G("href","/api/calendar/"+u.pageId)("label",a.bMT(1,3,"features.pages.calendar.addtocalendar"))("pwngTooltip",a.bMT(2,5,"features.pages.calendar.addtocalendar"))}}let Z=(()=>{var C;class y{constructor(h){this.datePipe=h,this.equalYear=!0,this.equalMonth=!0,this.equalDates=!0,this.equalTimes=!0}ngOnInit(){this.isMobile$=(0,t.R)(window,"resize").pipe((0,L.Z)(window.innerWidth),(0,n.T)(()=>window.innerWidth<=768),(0,H.F)())}ngOnChanges(h){(h.startDate||h.endDate)&&this.startDate&&this.endDate&&(this.equalYear=this.startDate.getFullYear()===this.endDate.getFullYear(),this.equalMonth=this.equalYear&&this.startDate.getMonth()===this.endDate.getMonth(),this.equalDates=this.equalMonth&&this.startDate.getDate()===this.endDate.getDate(),this.equalTimes=this.startDate.getHours()===this.endDate.getHours()&&this.startDate.getMinutes()===this.endDate.getMinutes())}get dayString(){return this.rangeString("d",!this.equalDates)}get monthString(){return this.rangeString("MMMM",!this.equalMonth)}get yearString(){return this.rangeString("YYYY",!this.equalYear)}rangeString(h,k){let d=this.datePipe.transform(this.startDate,h);return this.endDate&&k&&(d+="\u2013"+this.datePipe.transform(this.endDate,h)),d}static#e=C=()=>(this.\u0275fac=function(k){return new(k||y)(a.rXU(s.vh))},this.\u0275cmp=a.VBU({type:y,selectors:[["pwng-calendar-event"]],inputs:{pageId:"pageId",heading:"heading",summary:"summary",startDate:"startDate",endDate:"endDate",isFullDay:"isFullDay",location:"location",href:"href"},features:[a.OA$],decls:19,vars:13,consts:[[1,"pw-calendar-card"],[1,"pw-calendar-card__date"],[1,"pw-calendar-card__date--day"],[1,"pw-calendar-card__date--month"],[1,"pw-calendar-card__date--year"],[1,"pw-calendar-card__content"],[1,"pw-link-animate",3,"href"],[1,"pw-calendar-card__info"],["download","","rank","secondary",1,"pw-calendar-card__add",3,"href"],["download","","rank","secondary","placement","left",1,"pw-calendar-card__add",3,"href","label","pwngTooltip"],["aria-hidden","true"],[1,"pw-calendar-card__info--time"],[1,"pw-calendar-card__info--location"],["slot","lead"]],template:function(k,d){1&k&&(a.j41(0,"article",0)(1,"time",1),a.nI1(2,"date"),a.j41(3,"span",2),a.EFF(4),a.k0s(),a.j41(5,"span",3),a.EFF(6),a.k0s(),a.j41(7,"span",4),a.EFF(8),a.k0s()(),a.j41(9,"div",5)(10,"h2"),a.nVh(11,O,3,2,"a",6)(12,E,1,1),a.k0s(),a.j41(13,"p"),a.EFF(14),a.k0s(),a.nVh(15,i,3,2,"div",7),a.k0s(),a.nVh(16,S,5,4,"gds-button-pw",8),a.nI1(17,"async"),a.vZN(18,p,4,7,"gds-button-pw",9),a.k0s()),2&k&&(a.R7$(),a.BMQ("datetime",a.i5U(2,8,d.startDate,"yyyy-MM-dd")),a.R7$(3),a.JRh(d.dayString),a.R7$(2),a.JRh(d.monthString),a.R7$(2),a.JRh(d.yearString),a.R7$(3),a.vxM(d.href?11:12),a.R7$(3),a.SpI(" ",d.summary," "),a.R7$(),a.vxM(!d.isFullDay||d.location?15:-1),a.R7$(),a.vxM(a.bMT(17,11,d.isMobile$)?16:18))},dependencies:[e,s.vh,r.D,s.Jj],styles:[".sdv-tooltip[_ngcontent-%COMP%]{position:absolute}@media(max-width:768px){.sdv-tooltip[_ngcontent-%COMP%]{display:none}}"]}))}return C(),y})();var D=o(7266),Q=o(6795);function z(C,y){if(1&C&&(a.j41(0,"li"),a.nrm(1,"pwng-calendar-event",2),a.k0s()),2&C){const u=y.$implicit;a.R7$(),a.Y8G("pageId",u.pageId)("heading",u.heading)("summary",u.summary)("startDate",u.startDate)("endDate",u.endD
1ate)("isFullDay",u.isFullDay)("location",u.location)("href",u.href)}}function J(C,y){if(1&C){const u=a.RV6();a.j41(0,"gds-button-pw",3),a.bIt("click",function(){D.eBV(u);const k=a.XpG(2);return D.Njj(k.loadMore())}),a.nrm(1,"gds-icon-arrow-down-pw",4),a.j41(2,"span"),a.EFF(3),a.nI1(4,"translate"),a.k0s()()}2&C&&(a.R7$(3),a.JRh(a.bMT(4,1,"common.showmore")))}function W(C,y){if(1&C&&(a.j41(0,"div",0)(1,"ul"),a.Z7z(2,z,2,8,"li",null,a.fX1),a.k0s(),a.nVh(4,J,5,3,"gds-button-pw",1),a.k0s()),2&C){const u=y,h=a.XpG();a.R7$(2),a.Dyx(u),a.R7$(2),a.vxM(h.showMore&&u.length>0&&h.queryService.hasNext?4:-1)}}let ne=(()=>{var C;class y{get years(){return this._years}set years(h){this._years="string"==typeof h?h.split(","):h}get showMore(){return this._showMore}set showMore(h){this._showMore=h+""=="true"}constructor(h,k){this.http=h,this.queryService=k,this.id="calendar",this._years=[],this._showMore=!0}ngOnInit(){this.selectedYear=this.years.find(k=>k===(new Date).getFullYear().toString())||this.years[0],this.queryService.renderSkeletons=!1,this.queryService.setUrl(this.initialEndpointUrl),this.queryService.year=this.selectedYear,this.queryService.execute().subscribe(),this.events$=this.queryService.getListItems().pipe((0,c.p)(k=>k.length>0),(0,n.T)(k=>(k.map(d=>{d.startDate=new Date(d.startDate),d.endDate=d.endDate?new Date(d.endDate):void 0}),k)))}loadMore(){this.queryService.getNextPage().subscribe()}changeYear(){this.queryService.year=this.selectedYear,this.queryService.execute(!0).subscribe()}static#e=C=()=>(this.\u0275fac=function(k){return new(k||y)(a.rXU(Q.Qq),a.rXU(w.Q))},this.\u0275cmp=a.VBU({type:y,selectors:[["pwng-calendar-list"]],inputs:{id:"id",initialEndpointUrl:"initialEndpointUrl",years:"years",showMore:"showMore"},features:[a.Jv_([w.Q,s.vh])],decls:2,vars:3,consts:[[1,"pw-w-8/12","pw-m-auto"],["rank","primary","placement","left"],[3,"pageId","heading","summary","startDate","endDate","isFullDay","location","href"],["rank","primary","placement","left",3,"click"],["slot","lead"]],template:function(k,d){if(1&k&&(a.nVh(0,W,5,1,"div",0),a.nI1(1,"async")),2&k){let B;a.vxM((B=a.bMT(1,1,d.events$))?0:-1,B)}},dependencies:[Z,r.D,s.Jj],encapsulation:2}))}return C(),y})()},6460(re,K,o){o.d(K,{CategoryListComponent:()=>J});var w=o(9769),c=o(2771),n=o(6089),r=o(1413),s=o(6354),a=o(6697),l=o(7266),e=o(6795);let t=(()=>{var W;class ne{constructor(y){this.httpClient=y,this.$categoryListData=new r.B,this.$pages=new r.B,this.$showMoreButtonActive=this.$categoryListData.pipe((0,s.T)(u=>u.showMoreButtonActive)),this.allTags=[],this.activeTags=[],this.pages=[]}normalizeTags(y=[]){return y.filter(u=>"string"==typeof u&&u.trim().length>0)}loadPages(y=[],u=!1){const h=this.normalizeTags(y),k=h.length>0?h:[...this.allTags];if(0===k.length)return;const d=u?0:this.pages.length;this.httpClient.get(`${this.apiPath}/${this.blockId}/${this.language}/${k.join(",")}/${d}`).pipe((0,a.s)(1)).subscribe(B=>{this.$categoryListData.next(B),this.pages=u?B.pages:this.pages.concat(B.pages),this.$pages.next(this.pages)})}getPagesObserver(){return this.$pages.asObservable()}getShowMoreButtonActiveObserver(){return this.$showMoreButtonActive}setApiPath(y){this.apiPath=y}setAllTags(y){this.allTags=this.normalizeTags(y)}setActiveTags(y){this.activeTags=this.normalizeTags(y)}setLanguage(y){this.language=y}setBlockId(y){this.blockId=y}loadPagesWithActiveTags(y=!1){this.loadPages(this.activeTags,y)}static#e=W=()=>(this.\u0275fac=function(u){return new(u||ne)(l.KVO(e.Qq))},this.\u0275prov=l.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"}))}return W(),ne})();function L(W,ne){if(1&W&&(n.rj2(0,"gds-filter-chip-pw",1),n.EFF(1),n.eux()),2&W){const C=ne.$implicit;n.Avn("value",C.id),n.R7$(),n.JRh(C.name)}}let H=(()=>{var W;class ne{constructor(y){this.categoryListDataService=y,this.chosenTags=new c.m}ngOnInit(){this.chosenTags.next(this.allText)}changeActiveTag(y){const u=[].concat(y.detail.value);-1!==u.indexOf(this.allText)?this.categoryListDataService.setActiveTags([]):this.categoryListDataService.setActiveTags(u),this.categoryListDataService.loadPagesWithActiveTags(!0)}static#e=W=()=>(this.\u0275fac=function(u){return new(u||ne)(n.rXU(t))},this.\u0275cmp=n.VBU({type:ne,selectors:[["pwng-category-list-filter"]],inputs:{tags:"tags",allText:"allText"},decls:6,vars:6,consts:[["label","Pick page list category",3,"change","multiple","value"],["size","small",3,"value"]],template:function(u,h){1&u&&(n.rj2(0,"gds-filter-chips-pw",0),n.nI1(1,"async"),n.VwU("change",function(d){return h.changeActiveTag(d)}),n.rj2(2,"gds-filter-chip-pw",1),n.EFF(3),n.eux(),n.Z7z(4,L,2,2,"gds-filter-chip-pw",1,n.fX1),n.eux()),2&u&&(n.Avn("multiple",!1)("value",n.bMT(1,4,h.chosenTags)),n.R7$(2),n.Avn("value",h.allText),n.R7$(),n.JRh(h.allText),n.R7$(),n.Dyx(h.tags))},dependencies:[w.Jj],encapsulation:2}))}return W(),ne})();var O=o(1624),E=o(6987);function G(W,ne){if(1&W&&(n.j41(0,"div",2),n.nrm(1,"pwng-picture",8),n.k0s()),2&W){const C=n.XpG();n.R7$(),n.Y8G("picture",C.page.picture)}}function M(W,ne){if(1&W&&(n.j41(0,"gds-text-pw",9),n.EFF(1),n.k0s()),2&W){const C=n.XpG(2);n.R7$(),n.JRh(C.page.tags[1].name)}}function R(W,ne){if(1&W&&(n.j41(0,"gds-text-pw",9),n.EFF(1),n.k0s()),2&W){const C=n.XpG(2);
1n.R7$(),n.SpI("+",C.page.tags.length-2)}}function i(W,ne){if(1&W&&(n.j41(0,"gds-flex-pw",7)(1,"gds-text-pw",9),n.EFF(2),n.k0s(),n.nVh(3,M,2,1,"gds-text-pw",9),n.nVh(4,R,2,1,"gds-text-pw",9),n.k0s()),2&W){const C=n.XpG();n.BMQ("aria-label",C.screenReaderTagHeading),n.R7$(2),n.JRh(C.page.tags[0].name),n.R7$(),n.vxM(C.page.tags.length>1?3:-1),n.R7$(),n.vxM(C.page.tags.length>2?4:-1)}}let S=(()=>{var W;class ne{static#e=W=()=>(this.\u0275fac=function(u){return new(u||ne)},this.\u0275cmp=n.VBU({type:ne,selectors:[["pwng-category-list-card"]],inputs:{page:"page",screenReaderTagHeading:"screenReaderTagHeading"},decls:11,vars:10,consts:[["link",""],["padding","0","flex-direction","column","gap","xl","border-radius","xs",1,"pw-category-list__card",3,"pwng-clickable-card","variant"],[1,"pw-category-list__card-image"],["flex-direction","column","gap","xs",3,"padding"],["tag","h3","font","heading-s"],[1,"pw-link-animate",2,"font-weight","inherit",3,"href"],["font","body-m-regular"],["flex-wrap","wrap","order","-1"],[3,"picture"],["font","detail-s-regular",1,"pw-category-list__tag"]],template:function(u,h){if(1&u&&(n.j41(0,"gds-card-pw",1),n.nVh(1,G,2,1,"div",2),n.j41(2,"gds-flex-pw",3)(3,"gds-text-pw",4)(4,"a",5,0),n.EFF(6),n.k0s()(),n.j41(7,"div")(8,"gds-text-pw",6),n.EFF(9),n.k0s()(),n.nVh(10,i,5,4,"gds-flex-pw",7),n.k0s()()),2&u){const k=n.sdS(5);n.AVh("pw-category-list__card--no-picture",!h.page.picture),n.Y8G("pwng-clickable-card",k)("variant",h.page.picture?"neutral-02":"neutral-02-outlined"),n.R7$(),n.vxM(h.page.picture?1:-1),n.R7$(),n.Y8G("padding",h.page.picture?"0 m xl m":"xl m"),n.R7$(2),n.Y8G("href",h.page.url,n.B4B),n.R7$(2),n.JRh(h.page.heading),n.R7$(3),n.JRh(h.page.description),n.R7$(),n.vxM(h.page.tags&&h.page.tags.length>0?10:-1)}},dependencies:[O.W,E.k],encapsulation:2}))}return W(),ne})();var p=o(699),Z=o(7759);function D(W,ne){if(1&W&&(n.j41(0,"div",1),n.nrm(1,"pwng-category-list-filter",4),n.k0s()),2&W){const C=n.XpG();n.R7$(),n.Y8G("tags",C._tags)("allText",C.allText)}}function Q(W,ne){if(1&W&&n.nrm(0,"pwng-category-list-card",3),2&W){const C=ne.$implicit,y=n.XpG();n.Y8G("page",C)("screenReaderTagHeading",y.screenReaderTagHeading)}}function z(W,ne){if(1&W){const C=n.RV6();n.j41(0,"div")(1,"gds-button-pw",5),n.bIt("click",function(){l.eBV(C);const u=n.XpG();return l.Njj(u.loadMorePages())}),n.nrm(2,"gds-icon-arrow-down-pw",6),n.EFF(3),n.nI1(4,"translate"),n.k0s()()}2&W&&(n.R7$(3),n.SpI(" ",n.bMT(4,1,"common.showmore")," "))}let J=(()=>{var W;class ne{set tags(y){this._tags=this.jsonService.parseJson(y)}constructor(y,u){this.categoryListDataService=y,this.jsonService=u}
1ngOnInit(){this.$pages=this.categoryListDataService.getPagesObserver(),this.$showMoreButtonActive=this.categoryListDataService.getShowMoreButtonActiveObserver(),this.categoryListDataService.setApiPath(this.apiPath),this.categoryListDataService.setLanguage(this.language),this.categoryListDataService.setBlockId(this.blockId);const y=this._tags.map(u=>u.id);this.categoryListDataService.setAllTags(y),this.categoryListDataService.setActiveTags(y),this.categoryListDataService.loadPages(y)}loadMorePages(){this.categoryListDataService.loadPagesWithActiveTags()}static#e=W=()=>(this.\u0275fac=function(u){return new(u||ne)(n.rXU(t),n.rXU(Z.W))},this.\u0275cmp=n.VBU({type:ne,selectors:[["pwng-category-list"]],inputs:{tags:"tags",apiPath:"apiPath",blockId:"blockId",allText:"allText",screenReaderTagHeading:"screenReaderTagHeading",language:"language"},decls:8,vars:6,consts:[["flex-direction","column","gap","3xl"],[1,"pw-category-list__filter"],["columns","s{2} m{3} l{4}","gap","3xl l","auto-columns","s{50}"],[3,"page","screenReaderTagHeading"],[3,"tags","allText"],["size","small",3,"click"],["slot","lead"]],template:function(u,h){1&u&&(n.j41(0,"gds-flex-pw",0),n.nVh(1,D,2,2,"div",1),n.j41(2,"gds-grid-pw",2),n.Z7z(3,Q,1,2,"pwng-category-list-card",3,n.fX1),n.nI1(5,"async"),n.k0s(),n.nVh(6,z,5,3,"div"),n.nI1(7,"async"),n.k0s()),2&u&&(n.R7$(),n.vxM(h._tags&&h._tags.length>1?1:-1),n.R7$(2),n.Dyx(n.bMT(5,2,h.$pages)),n.R7$(3),n.vxM(n.bMT(7,4,h.$showMoreButtonActive)?6:-1))},dependencies:[H,S,w.Jj,p.D],encapsulation:2}))}return W(),ne})()},765(re,K,o){o.d(K,{ContentTeaserBlockComponent:()=>ne});var w=o(9769),c=o(7266),n=o(6795),r=o(7673),s=o(6354),a=o(9437);let e=(()=>{var C;class y{constructor(){this.http=(0,c.WQX)(n.Qq)}getBlockContent(h,k){return this.http.get(`/api/contentteaserblock/${h}/${k}`).pipe((0,s.T)(B=>{const{heading:x,headingTag:g,link:T}=B;return{heading:x,headingTag:g,link:T??null,items:B.items||[],apiError:!1}}),(0,a.W)(B=>(console.error("Failed to fetch content teaser block:",B),(0,r.of)({heading:null,headingTag:null,link:null,items:[],apiError:!0}))))}static#e=C=()=>(this.\u0275fac=function(k){return new(k||y)},this.\u0275prov=c.jDH({token:y,factory:y.\u0275fac}))}return C(),y})();var t=o(6089);function L(C,y){if(1&C&&(t.rj2(0,"gds-text-pw",4),t.EFF(1),t.eux()),2&C){const u=t.XpG(3);t.BMQ("tag",u.headingTag),t.R7$(),t.JRh(u.heading)}}function H(C,y){if(1&C&&(t.rj2(0,"gds-link-pw"),t.EFF(1),t.Hgh(2,"gds-icon-arrow-right-pw",5),t.eux()),2&C){const u=t.XpG(3);t.BMQ("href",u.link.url)("label",u.link.title)("target",u.link.openInNewWindow?"_blank":null),t.R7$(),t.SpI("",u.link.title," ")}}function O(C,y){if(1&C&&(t.rj2(0,"gds-flex-pw",2),t.nVh(1,L,2,2,"gds-text-pw",4),t.nVh(2,H,3,4,"gds-link-pw"),t.eux()),2&C){const u=t.XpG(2);t.R7$(),t.vxM(u.heading?.trim()?1:-1),t.R7$(),t.vxM(u.link?.title?.trim()&&u.link?.url?.trim()?2:-1)}}function E(C,y){if(1&C&&(t.rj2(0,"gds-button-pw",8),t.Hgh(1,"gds-icon-arrow-right-pw"),t.eux()),2&C){const u=t.XpG(2).$implicit,h=t.XpG(4);t.BMQ("href",u.link)("target",u.openInNewWindow?"_blank":null)("label",h.iconArrowLabel(u))}}function G(C,y){1&C&&t.Hgh(0,"gds-icon-square-arrow-top-right-pw",5)}function M(C,y){if(1&C&&(t.rj2(0,"gds-button-pw",10),t.EFF(1),t.nVh(2,G,1,0,"gds-icon-square-arrow-top-right-pw",5),t.eux()),2&C){const u=t.XpG(3).$implicit;t.BMQ("href",u.link)("target",u.openInNewWindow?"_blank":null)("label",u.linkText),t.R7$(),t.SpI("",u.linkText," "),t.R7$(),t.vxM(u.openInNewWindow?2:-1)}}function R(C,y){1&C&&t.Hgh(0,"gds-icon-square-arrow-top-right-pw",11)}function i(C,y){1&C&&t.Hgh(0,"gds-icon-arrow-right-pw",11)}function S(C,y){if(1&C&&(t.rj2(0,"gds-link-pw"),t.EFF(1),t.nVh(2,R,1,0,"gds-icon-square-arrow-top-right-pw",11)(3,i,1,0,"gds-icon-arrow-right-pw",11),t.eux()),2&C){const u=t.XpG(3).$implicit;t.BMQ("href",u.link)("target",u.openInNewWindow?"_blank":null),t.R7$(),t.SpI("",u.linkText," "),t.R7$(),t.vxM(u.openInNewWindow?2:3)}}function p(C,y){if(1&C&&t.nVh(0,M,3,5,"gds-button-pw",10)(1,S,4,4,"gds-link-pw"),2&C){const u=t.XpG(2).$implicit,h=t.XpG(4);t.vxM(h.isButtonMode(u)?0:1)}}function Z(C,y){if(1&C&&(t.rj2(0,"gds-badge-pw",9),t.Hgh(1,"gds-icon-circle-info-pw"),t.EFF(2),t.eux()),2&C){const u=t.XpG(2).$implicit;t.R7$(2),t.SpI("",u.legalText," ")}}function D(C,y){if(1&C&&(t.rj2(0,"gds-flex-pw",7),t.nVh(1,E,2,3,"gds-button-pw",8)(2,p,2,1),t.nVh(3,Z,3,1,"gds-badge-pw",9),t.eux()),2&C){const u=t.XpG().$implicit,h=t.XpG(4);t.R7$(),t.vxM(h.isIconArrowMode(u)?1:h.hasLinkText(u)?2:-1),t.R7$(2),t.vxM(h.hasLegalText(u)?3:-1)}}
1function Q(C,y){if(1&C&&(t.rj2(0,"gds-card-pattern-01-pw",6),t.nVh(1,D,4,2,"gds-flex-pw",7),t.eux()),2&C){const u=y.$implicit,h=t.XpG(4);t.Avn("href",u.link)("title",u.heading)("excerpt",u.summary)("tag",u.headingTag)("src",u.picture?.src),t.BMQ("alt",u.picture?.alt)("target",u.openInNewWindow?"_blank":null)("srcset",h.imageSrcSet(u.picture))("sizes",h.imageSizes(u.picture)),t.R7$(),t.vxM(h.hasFooterContent(u)?1:-1)}}function z(C,y){if(1&C&&(t.rj2(0,"gds-grid-pw",3),t.Z7z(1,Q,2,10,"gds-card-pattern-01-pw",6,t.Vm6),t.eux()),2&C){t.XpG();const u=t.r8f(3);t.R7$(),t.Dyx(u)}}function J(C,y){if(1&C&&(t.rj2(0,"section",0)(1,"gds-flex-pw",1),t.nVh(2,O,3,2,"gds-flex-pw",2),t.SS7(3),t.nVh(4,z,3,0,"gds-grid-pw",3),t.eux()()),2&C){const u=t.XpG();t.R7$(2),t.vxM(u.heading?.trim()||u.link?.title?.trim()&&u.link?.url?.trim()?2:-1),t.R7$();const h=t.bH3(u.items);t.R7$(),t.vxM(h?.length?4:-1)}}function W(C,y){1&C&&t.nVh(0,J,5,3,"section",0),2&C&&t.vxM(y.apiError?-1:0)}let ne=(()=>{var C;class y{constructor(){this.service=(0,c.WQX)(e)}ngOnInit(){this.data$=this.service.getBlockContent(parseInt(this.blockId,10),this.language)}imageSrcSet(h){return this.imageSource(h)?.srcSet??null}imageSizes(h){return this.imageSource(h)?.sizes??null}imageSource(h){return h&&Array.isArray(h.sources)&&0!==h.sources.length?h.sources.find(k=>"image/webp"===k.type)??h.sources[0]:null}isIconArrowMode(h){return"iconArrow"===h.linkRenderMode}isButtonMode(h){return"button"===h.linkRenderMode}hasLinkText(h){return!!h.linkText?.trim()}hasLegalText(h){return!!h.legalText?.trim()}hasFooterContent(h){return this.isIconArrowMode(h)||this.hasLinkText(h)||this.hasLegalText(h)}iconArrowLabel(h){return h.linkText?.trim()||h.heading}static#e=C=()=>(this.\u0275fac=function(k){return new(k||y)},this.\u0275cmp=t.VBU({type:y,selectors:[["pwng-content-teaser-block"]],inputs:{blockId:"blockId",language:"language"},features:[t.Jv_([e])],decls:2,vars:3,consts:[[1,"pw-content-teaser__container"],["flex-direction","column","gap","m"],["flex-direction","column; m{row}","gap","m; m{0}","justify-content","space-between","align-items","baseline"],["columns","1; m{3}","gap","xl"],["font","heading-l"],["slot","trail"],["aspect-ratio","landscape","data-sp-clickable","",3,"href","title","excerpt","tag","src"],["flex-direction","column","align-items","flex-start","gap","xl","slot","footer"],["rank","secondary","size","small","variant","neutral"],["variant","information"],["rank","primary"],["slot","trail","size","l"]],template:function(k,d){if(1&k&&(t.nVh(0,W,1,1),t.nI1(1,"async")),2&k){let B;t.vxM((B=t.bMT(1,1,d.data$))?0:-1,B)}},dependencies:[w.Jj],encapsulation:2}))}return C(),y})()},4944(re,K,o){o.d(K,{HeaderActionsComponent:()=>Me});var w=o(9769),c=o(7266);let n=(()=>{var F;class Y{getCookieByName(te){const b=document.cookie.split(";");for(let j=0;j<b.length;j++){const A=b[j].trim();if(A.startsWith(te+"="))return A.substring(te.length+1)}return null}setCookie(te){const ee=new Date;ee.setMonth(ee.getMonth()+2);const b=document.cookie=`${te}=true;expires=${ee.toUTCString()};domain=${window.location.host};path=/`;document.cookie=b}static#e=F=()=>(this.\u0275fac=function(ee){return new(ee||Y)},this.\u0275prov=c.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}))}return F(),Y})();var r=o(7705),s=o(4412),l=(o(5392),o(710)),e=o(699),t=o(6089);const L=(F,Y)=>Y.label,H=(F,Y)=>Y.url;function O(F,Y){if(1&F&&(t.j41(0,"gds-badge-pw",6),t.nrm(1,"gds-icon-triangle-exclamation-pw",7),t.EFF(2),t.k0s()),2&F){const N=t.XpG().$implicit;t.R7$(2),t.SpI(" ",N.message)}}function E(F,Y){if(1&F&&(t.j41(0,"li")(1,"gds-flex-pw",4)(2,"gds-button-pw",5),t.EFF(3),t.k0s(),t.nVh(4,O,3,1,"gds-badge-pw",6),t.k0s()()),2&F){const N=Y.$implicit;t.R7$(2),t.Y8G("href",N.url),t.R7$(),t.JRh(N.linkLabel),t.R7$(),t.vxM(N.showMessage?4:-1)}}function G(F,Y){1&F&&(t.j41(0,"div",3),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&F&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"features.layout.header.loginShortcutsOrText")," "))}function M(F,Y){if(1&F&&(t.j41(0,"div",1)(1,"pwng-heading",2),t.EFF(2),t.k0s(),t.j41(3,"ul"),t.Z7z(4,E,5,3,"li",null,H),t.k0s()(),t.nVh(6,G,3,3,"div",3)),2&F){const N=Y.$implicit,te=Y.$index,ee=t.XpG();t.R7$(),t.Y8G("level",ee.groupHeadingLevel)("id","login-shortcut-"+N.label),t.R7$(),t.JRh(N.label),t.R7$(),t.BMQ("aria-labelledby","login-shortcut-"+N.label),t.R7$(),t.Dyx(N.loginList),t.R7$(2),t.vxM(te<ee.loginGroupShortcutList.length-1?6:-1)}}let R=(()=>{var F;class Y{constructor(){this.showHeading=!1,this.mainHeadingLevel=2,this.groupHeadingLevel=2}static#e=F=()=>(this.\u0275fac=function(ee){return new(ee||Y)},this.\u0275cmp=t.VBU({type:Y,selectors:[["pwng-login-list-shortcuts"]],inputs:{loginGroupShortcutList:"loginGroupShortcutList",showHeading:"showHeading",mainHeadingLevel:"mainHeadingLevel",groupHeadingLevel:"groupHeadingLevel"},decls:4,vars:0,consts:[[1,"pw-login-list-shortcuts"],[1,"pw-login-list-shortcuts__group"],[3,"level","id"],[1,"pw-login-list-shortcuts__separator"],["flex-direction","column","gap","xs"],["variant","brand","size","large",3,"href"],["variant","negative","align-self","center"],["slot","lead"]],template:function(ee,b){1&ee&&(t.j41(0,"div",0)(1,"div"),t.Z7z(2,M,7,5,null,null,L),t.k0s()()),2&ee&&(t.R7$(2),t.Dyx(b.loginGroupShortcutList))},dependencies:[l.M,e.D],encapsulation:2}))}return F(),Y})();var i=o(1247),S=o(5496);const p=(F,Y)=>Y.label,Z=(F,Y)=>Y.url;function D(F,Y){if(1&F&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&F){const N=t.XpG(2);t.R7$(),t.SpI(" ",N.loginList.loginMenuInfoMessage," ")}}function Q(F,Y){if(1&F&&(t.j41(0,"gds-alert-pw",6),t.nI1(1,"translate"),t.EFF(2),t.k0s()),2&F){const N=t.XpG(2);t.Y8G("label",t.mNQ(t.bMT(1,3,"features.layout.header.loginMenuAlertLabel"))),t.R7$(2),t.SpI(" ",N.loginList.loginMenuAlertMessage," ")}}function z(F,Y){if(1&F&&(t.j41(0,"div",10),t.nrm(1,"pwng-login-list-shortcuts",11),t.k0s()),2&F){const N=t.XpG(2);t.R7$(),t.Y8G("loginGroupShortcutList",N.loginList.loginGroupShortcutList)("showHeading",!0)("groupHeadingLevel",4)("mainHeadingLevel",3)}}function J(F,Y){if(1&F&&(t.j41(0,"pwng-heading",12),t.EFF(1),t.k0s()),2&F){const N=t.XpG().$implicit;t.Y8G("level",3)("id","login-desktop-"+N.label),t.R7$(),t.JRh(N.label)}}function W(F,Y){if(1&F&&(t.j41(0,"gds-badge-pw",14),t.nrm(1,"gds-icon-triangle-exclamation-pw",15),t.EFF(2),t.k0s()),2&F){const N=t.XpG().$implicit;t.R7$(2),t.SpI(" ",N.message)}}function ne(F,Y){if(1&F&&(t.j41(0,"li")(1,"a",13)(2,"span"),t.EFF(3),t.k0s(),t.nVh(4,W,3,1,"gds-badge-pw",14),t.k0s()()),2&F){const N=Y.$implicit;t.R7$(),t.Y8G("href",N.url,t.B4B)("title",N.linkLabel),t.BMQ("data-link-name",N.linkLabel),t.R7$(2),t.JRh(N.linkLabel),t.R7$(),t.vxM(N.showMessage?4:-1)}}function C(F,Y){if(1&F&&(t.j41(0,"div"),t.nVh(1,J,2,3,"pwng-heading",12),t.j41(2,"ul"),t.Z7z(3,ne,5,5,"li",null,Z),t.k0s()()),2&F){const N=Y.$implicit;t.R7$(),t.vxM(N.label?1:-1),t.R7$(),t.BMQ("aria-labelledby","login-desktop-"+N.label),t.R7$(),t.Dyx(N.loginList)}}function y(F,Y){if(1&F&&(t.j41(0,"section",2),t.nI1(1,"async"),t.j41(2,"gds-flex-pw",3)(3,"gds-flex-pw",4)(4,"gds-text-pw",5),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.nVh(7,D,2,1,"div"),t.nVh(8,Q,3,5,"gds-alert-pw",6),t.k0s(),t.j41(9,"div")(10,"div",7)(11,"nav",8,0)(13,"div",9),t.nVh(14,z,2,4,"div",10),t.Z7z(15,C,5,2,"div",null,p),t.k0s()()()()()()),2&F){const N=t.XpG();t.AVh("pw-login-shortcuts-active",N.loginList?.loginGroupShortcutList?.length>0),t.Y8G("pwngScrollLock",t.bMT(1,8,N.isLoginListOpen))("@menuAnimation",void 0),t.R7$(5),t.SpI(" ",t.bMT(6,10,"features.layout.header.loginMenuHeading")," "),t.R7$(2),t.vxM(N.loginList.loginMenuInfoMessage?7:-1),t.R7$(),t.vxM(N.loginList.loginMenuAlertMessage?8:-1),t.R7$(6),t.vxM(N.loginList?.loginGroupShortcutList?.length>0?14:-1),t.R7$(),t.Dyx(N.loginList.loginGroupList)}}let u=(()=>{var F;class Y{static#e=F=()=>(this.\u0275fac=function(ee){return new(ee||Y)},this.\u0275cmp=t.VBU({type:Y,selectors:[["pwng-login-list-desktop"]],inputs:{loginList:"loginList",isLoginListOpen:"isLoginListOpen"},decls:2,vars:3,consts:[["nav",""],[1,"pw-menu-v2","pw-menu","pw-login-menu-desktop",3,"pwngScrollLock","pw-login-shortcuts-active"],[1,"pw-menu-v2","pw-menu","pw-login-menu-desktop",3,"pwngScrollLock"],["flex-direction","column","gap","3xl"],["flex-direction","column","gap","xl","align-items","center"],["tag","h2","font","heading-xl"],["variant","negative",2,"container-type","normal",3,"label"],[1,""],["id","'pw-menu-nav-level-0'"],[1,"pw-login-list-desktop"],[1,"pw-login-list-desktop__shortcuts"],[3,"loginGroupShortcutList","showHeading","groupHeadingLevel","mainHeadingLevel"],[3,"level","id"],[2,"display","flex","flex-direction","column","gap","var(--gds-sys-space-xs)",3,"href","title"],["variant","negative"],["slot","lead"]],template:function(ee,b){1&ee&&(t.nVh(0,y,17,12,"section",1),t.nI1(1,"async")),2&ee&&t.vxM(t.bMT(1,1,b.isLoginListOpen)?0:-1)},dependencies:[l.M,R,i._,e.D,w.Jj],styles:[".pw-login-list-desktop[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .pw-login-list-desktop[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus, .pw-login-list-desktop[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{text-decoration:none}.pw-login-list-desktop[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%], .pw-login-list-desktop[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus span[_ngcontent-%COMP%], .pw-login-list-desktop[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{text-decoration:underline}"],data:{animation:[S.q]}}))}return F(),Y})();var h=o(8173),k=o(1655);const d=(F,Y)=>Y.label,B=(F,Y)=>Y.url;function x(F,Y){if(1&F&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&F){const N=t.XpG();t.R7$(),t.SpI(" ",N.loginList.loginMenuInfoMessage," ")}}function g(F,Y){if(1&F&&(t.j41(0,"gds-alert-pw",4),t.nI1(1,"translate"),t.EFF(2),t.k0s()),2&F){const N=t.XpG();t.Y8G("label",t.mNQ(t.bMT(1,3,"features.layout.header.loginMenuAlertLabel"))),t.R7$(2),t.SpI(" ",N.loginList.loginMenuAlertMessage," ")}}function T(F,Y){if(1&F&&(t.j41(0,"div",5),t.nrm(1,"pwng-login-list-shortcuts",7),t.k0s()),2&F){const N=t.XpG();t.R7$(),t.Y8G("loginGroupShortcutList",N.loginList.loginGroupShortcutList)}}function I(F,Y){if(1&F&&(t.j41(0,"div",8),t.EFF(1),t.k0s()),2&F){const N=t.XpG().$implicit;t.Y8G("id","login-mobile-"+N.label),t.R7$(),t.SpI(" ",N.label," ")}}function P(F,Y){if(1&F&&(t.j41(0,"gds-badge-pw",11),t.nrm(1,"gds-icon-triangle-exclamation-pw",12),t.EFF(2),t.k0s()),2&F){const N=t.XpG().$implicit;t.R7$(2),t.SpI(" ",N.message)}}
1function U(F,Y){if(1&F&&(t.j41(0,"li")(1,"a",10)(2,"span"),t.EFF(3),t.k0s(),t.nVh(4,P,3,1,"gds-badge-pw",11),t.k0s()()),2&F){const N=Y.$implicit;t.AVh("pw-sh-util-list-message",N.showMessage),t.R7$(),t.Y8G("href",N.url,t.B4B)("title",N.linkLabel),t.BMQ("data-link-name",N.linkLabel),t.R7$(2),t.JRh(N.linkLabel),t.R7$(),t.vxM(N.showMessage?4:-1)}}function se(F,Y){if(1&F&&(t.nVh(0,I,2,2,"div",8),t.j41(1,"ul"),t.Z7z(2,U,5,7,"li",9,B),t.k0s()),2&F){const N=Y.$implicit;t.vxM(N.label?0:-1),t.R7$(),t.BMQ("aria-labelledby","login-mobile-"+N.label),t.R7$(),t.Dyx(N.loginList)}}let he=(()=>{var F;class Y{constructor(){this.expand=new s.t([])}ngOnInit(){this.expand.next(this.loginList.loginGroupList.map(te=>({label:te.label,open:!1}))),this.loginListScrollFixSubscription=this.isLoginListOpen.pipe((0,k.c)(100)).subscribe(te=>{window.document.body.style.overflow=te?"hidden":"inherit"})}ngOnDestroy(){this.loginListScrollFixSubscription.unsubscribe()}static#e=F=()=>(this.\u0275fac=function(ee){return new(ee||Y)},this.\u0275cmp=t.VBU({type:Y,selectors:[["pwng-login-list-mobile"]],inputs:{loginList:"loginList",isLoginListOpen:"isLoginListOpen"},decls:14,vars:13,consts:[[1,"pw-menu","pw-mobile-menu","pw-login-list-mobile",3,"pwngScrollLock"],["flex-direction","column","gap","3xl"],["flex-direction","column","gap","s","align-items","center"],["tag","h2","font","heading-s"],["variant","negative",2,"container-type","normal",3,"label"],[1,"pw-login-list-mobile__shortcuts"],[1,"pw-sub-navigation-tree"],[3,"loginGroupShortcutList"],[1,"pw-login-list-mobile__links-heading",3,"id"],[3,"pw-sh-util-list-message"],[2,"display","flex","flex-direction","column","gap","var(--gds-sys-space-xs)",3,"href","title"],["variant","negative","align-self","start"],["slot","lead"]],template:function(ee,b){1&ee&&(t.j41(0,"section",0),t.nI1(1,"async"),t.nI1(2,"async"),t.j41(3,"gds-flex-pw",1)(4,"gds-flex-pw",2)(5,"gds-text-pw",3),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.nVh(8,x,2,1,"div"),t.nVh(9,g,3,5,"gds-alert-pw",4),t.k0s(),t.nVh(10,T,2,1,"div",5),t.j41(11,"ul",6),t.Z7z(12,se,4,2,null,null,d),t.k0s()()()),2&ee&&(t.Y8G("@fadeUp",t.bMT(1,7,b.isLoginListOpen)?"open":"closed")("pwngScrollLock",t.bMT(2,9,b.isLoginListOpen))("@menuAnimation",void 0),t.R7$(6),t.SpI(" ",t.bMT(7,11,"features.layout.header.loginMenuHeading")," "),t.R7$(2),t.vxM(b.loginList.loginMenuInfoMessage?8:-1),t.R7$(),t.vxM(b.loginList.loginMenuAlertMessage?9:-1),t.R7$(),t.vxM(b.loginList?.loginGroupShortcutList?.length>0?10:-1),t.R7$(2),t.Dyx(b.loginList.loginGroupList))},dependencies:[R,i._,w.Jj,e.D],styles:[".pw-login-list-mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .pw-login-list-mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus, .pw-login-list-mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{text-decoration:none}.pw-login-list-mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%], .pw-login-list-mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus span[_ngcontent-%COMP%], .pw-login-list-mobile[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{text-decoration:underline}"],data:{animation:[S.q,S.d,(0,h.hZ)("expandAnimation",[(0,h.kY)(":enter",[(0,h.iF)({height:0}),(0,h.i0)("500ms ease",(0,h.iF)({height:"*"}))]),(0,h.kY)(":leave",[(0,h.iF)({height:"*"}),(0,h.i0)("500ms ease",(0,h.iF)({height:0}))])]),(0,h.hZ)("fadeUp",[(0,h.wk)("open",(0,h.iF)({opacity:1,transform:"translateY(0)",pointerEvents:"auto",visibility:"visible"})),(0,h.wk)("closed",(0,h.iF)({opacity:0,transform:"translateY(30px)",pointerEvents:"none",visibility:"hidden"})),(0,h.kY)("open => closed",[(0,h.i0)("300ms ease-out")]),(0,h.kY)("closed => open",[(0,h.i0)("300ms ease-out")])])]}}))}return F(),Y})();var me=o(9528),fe=o(9189);const ge=["loginButton"];function Oe(F,Y){if(1&F&&(t.j41(0,"gds-button-pw",2)(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"gds-icon-lock-pw",3),t.k0s()),2&F){const te=t.XpG().singleLoginLink;t.Y8G("href",te.url),t.R7$(2),t.JRh(te.linkLabel)}}function xe(F,Y){if(1&F&&t.nrm(0,"pwng-login-list-desktop",7),2&F){const N=t.XpG(2),te=t.XpG();t.Y8G("isLoginListOpen",te.isLoginListOpen)("loginList",N)}}function ye(F,Y){if(1&F&&t.nrm(0,"pwng-login-list-mobile",7),2&F){const N=t.XpG(2),te=t.XpG();t.Y8G("isLoginListOpen",te.isLoginListOpen)("loginList",N)}}function Ie(F,Y){if(1&F){const N=t.RV6();t.j41(0,"button",4,0),t.nI1(2,"async"),t.bIt("click",function(){c.eBV(N);const ee=t.XpG(2);return c.Njj(ee.onClickLoginButton())}),t.nrm(3,"i",5),t.j41(4,"span"),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.j41(7,"div",6),t.nVh(8,xe,1,2,"pwng-login-list-desktop",7),t.nI1(9,"async"),t.nVh(10,ye,1,2,"pwng-login-list-mobile",7),t.nI1(11,"async"),t.k0s()}if(2&F){const N=t.XpG(2);t.BMQ("aria-expanded",t.bMT(2,4,N.isLoginListOpen)),t.R7$(5),t.JRh(t.bMT(6,6,"features.layout.header.login")),t.R7$(3),t.vxM(t.bMT(9,8,N.isMobile$)?-1:8),t.R7$(2),t.vxM(t.bMT(11,10,N.isMobile$)?10:-1)}}function Ee(F,Y){1&F&&(t.j41(0,"div",1),t.nVh(1,Oe,4,2,"gds-button-pw",2)(2,Ie,12,12),t.k0s()),2&F&&(t.R7$(),t.vxM(null!==Y.singleLoginLink?1:2))}let Ce=(()=>{var F;class Y{constructor(te,ee,b){this.cd=te,this.menu=ee,this.mediaQueryService=b,this.loginList=r.hFB.required(),this.loginButtonEl=(0,r.ebz)("loginButton"),this.isLoginListOpen=new s.t(!1),this.isMobile$=this.mediaQueryService.matchMedia("screen and (max-width: 1200px)")}onClickLoginButton(){const te=this.loginButtonEl().nativeElement,ee=document.querySelector(`#${te.getAttribute("aria-controls")}`);this.menu.toggle(te,ee,()=>{if(this.isLoginListOpen.next(!0),window.innerWidth>768){const j=ee.getBoundingClientRect().right-document.documentElement.clientWidth;j>0&&ee.style.setProperty("left",`calc(-1rem - ${j}px)`)}this.cd.detectChanges()},()=>{this.isLoginListOpen.next(!1),ee.addEventListener("transitionend",()=>{ee.style.removeProperty("left")},{once:!0}),this.cd.detectChanges()},void 0,window.innerWidth<=768)}static#e=F=()=>(this.\u0275fac=function(ee){return new(ee||Y)(t.rXU(r.gRc),t.rXU(me.$),t.rXU(fe.M))},this.\u0275cmp=t.VBU({type:Y,selectors:[["pwng-login-list"]],viewQuery:function(ee,b){1&ee&&t.wEZ(b.loginButtonEl,ge,5),2&ee&&t.NyB()},inputs:{loginList:[1,"loginList"]},decls:1,vars:1,consts:[["loginButton",""],[1,"pw-login"],["variant","brand",3,"href"],["slot","trail"],["id","login-button","aria-haspopup","true","aria-controls","pw-util-login-list",1,"menu-item","pw-menu-button",3,"click"],["aria-hidden","true",1,"fal","fa-lock-alt"],["id","pw-util-login-list"],[3,"isLoginListOpen","loginList"]],template:function(ee,b){if(1&ee&&t.nVh(0,Ee,3,1,"div",1),2&ee){let j;t.vxM((j=b.loginList())?0:-1,j)}},dependencies:[u,he,w.Jj,e.D],styles:["[_nghost-%COMP%]{display:flex;height:100%}"]}))}return F(),Y})();var Fe=o(979),Ge=o(3261);const De=["customDropdownButton"],Be=["languageSelectorButton"],Le=["searchBarButton"],$e=F=>({"-active":F}),Ae=F=>({"mobile-hidden":F}),X=(F,Y)=>Y.href;function ie(F,Y){if(1&F){const N=t.RV6();t.j41(0,"div",3)(1,"button",6,0),t.bIt("click",function(){c.eBV(N);const ee=t.XpG(2);return c.Njj(ee.onClickSearchBarButton())}),t.nrm(3,"i",7),t.j41(4,"span"),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.nrm(7,"pwng-menu-search-bar",8),t.k0s()}if(2&F){const N=t.XpG(),te=t.XpG();t.R7$(),t.BMQ("aria-expanded",te.isSearchBarOpen),t.R7$(4),t.JRh(t.bMT(6,4,"features.layout.header.search")),t.R7$(2),t.Y8G("isOpenInput",te.isSearchBarOpen)("searchBar",N.searchBar)}}function pe(F,Y){1&F&&t.nrm(0,"i",15)}function oe(F,Y){if(1&F&&(t.j41(0,"li",13)(1,"a",14),t.EFF(2),t.nVh(3,pe,1,0,"i",15),t.k0s()()),2&F){const N=Y.$implicit;t.Y8G("lang",N.isoCode),t.R7$(),t.Y8G("href",N.href,t.B4B),t.BMQ("aria-current",N.isCurrent?"page":null),t.R7$(),t.SpI(" ",N.title," "),t.R7$(),t.vxM(N.isCurrent?3:-1)}}function le(F,Y){if(1&F){const N=t.RV6();t.j41(0,"div",4)(1,"button",9,1),t.bIt("click",function(){c.eBV(N);const ee=t.XpG(2);return c.Njj(ee.onClickLanguageSelectorButton())}),t.nrm(3,"i",10),t.j41(4,"span"),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.j41(7,"div",11)(8,"span"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.j41(11,"ul",12),t.Z7z(12,oe,4,5,"li",13,X),t.nI1(14,"async"),t.k0s()()()}if(2&F){const N=t.XpG(2);t.R7$(),t.BMQ("aria-expanded",N.isLanguageSelectorOpen),t.R7$(4),t.JRh(t.bMT(6,4,"features.layout.header.language")),t.R7$(2),t.Y8G("ngClass",t.eq3(10,$e,N.isLanguageSelectorOpen)),t.R7$(2),t.JRh(t.bMT(10,6,"features.layout.header.language")),t.R7$(3),t.Dyx(t.bMT(14,8,N.$languageLinks))}}function ae(F,Y){if(1&F&&(t.j41(0,"li")(1,"a",14),t.EFF(2),t.k0s()()),2&F){const N=Y.$implicit;t.R7$(),t.Y8G("href",N.href,t.B4B),t.BMQ("target",N.target)("title",N.title),t.R7$(),t.JRh(N.text)}}function _e(F,Y){if(1&F){const N=t.RV6();t.j41(0,"div",5)(1,"button",16,2),t.bIt("click",function(){c.eBV(N);const ee=t.XpG(2);return c.Njj(ee.onClickCustomDropdownButton())}),t.nrm(3,"i",17),t.j41(4,"span"),t.EFF(5),t.k0s()(),t.j41(6,"div",18)(7,"span"),t.EFF(8),t.k0s(),t.j41(9,"ul",19),t.Z7z(10,ae,3,4,"li",null,X),t.k0s()()()}if(2&F){const N=t.XpG(),te=t.XpG();t.Y8G("ngClass",t.eq3(6,Ae,!N.customDropdown.mobileHidden)),t.R7$(),t.BMQ("aria-expanded",te.isCustomDropdownOpen),t.R7$(2),t.Y8G("ngClass",N.customDropdown.iconClass),t.R7$(2),t.JRh(N.customDropdown.title),t.R7$(),t.Y8G("ngClass",t.eq3(8,$e,te.isCustomDropdownOpen)),t.R7$(2),t.JRh(N.customDropdown.title),t.R7$(2),t.Dyx(N.customDropdown.links)}}function ke(F,Y){if(1&F&&(t.nVh(0,ie,8,6,"div",3),t.nVh(1,le,15,12,"div",4),t.nVh(2,_e,12,10,"div",5)),2&F){const N=Y;t.vxM(N.searchBar.visible?0:-1),t.R7$(),t.vxM(N.languageSelector.visible?1:-1),t.R7$(),t.vxM(N.customDropdown.visible?2:-1)}}let Ne=(()=>{var F;class Y{constructor(te,ee,b){this.cd=te,this.menu=ee,this.languageSelectorService=b,this.currentPageUrl=r.hFB.required(),this.toolbar=r.hFB.required(),this.customDropdownButtonEl=(0,r.ebz)("customDropdownButton"),this.languageSelectorButtonEl
1=(0,r.ebz)("languageSelectorButton"),this.searchBarButtonEl=(0,r.ebz)("searchBarButton"),this.isCustomDropdownOpen=!1,this.isLanguageSelectorOpen=!1,this.isSearchBarOpen=!1}ngOnInit(){this.$languageLinks=this.languageSelectorService.getLanguages(),this.languageSelectorService.initialize(this.toolbar().languageSelector.links,this.currentPageUrl())}onClickCustomDropdownButton(){const te=this.customDropdownButtonEl().nativeElement;this.toggleMenu(te,()=>{this.isCustomDropdownOpen=!0},()=>{this.isCustomDropdownOpen=!1})}onClickLanguageSelectorButton(){const te=this.languageSelectorButtonEl().nativeElement;this.toggleMenu(te,()=>{this.isLanguageSelectorOpen=!0},()=>{this.isLanguageSelectorOpen=!1})}onClickSearchBarButton(){const te=this.searchBarButtonEl().nativeElement;this.menu.toggle(te,te.parentElement,()=>{this.isSearchBarOpen=!0,this.cd.detectChanges()},()=>{this.isSearchBarOpen=!1,this.cd.detectChanges()})}toggleMenu(te,ee,b){const j=document.querySelector(`#${te.getAttribute("aria-controls")}`);this.menu.toggle(te,j,()=>{if(ee(),window.innerWidth>768){const q=j.getBoundingClientRect().right-document.documentElement.clientWidth;q>0&&j.style.setProperty("left",`calc(-1rem - ${q}px)`)}this.cd.detectChanges()},()=>{b(),j.addEventListener("transitionend",()=>{j.style.removeProperty("left")},{once:!0}),this.cd.detectChanges()},void 0,window.innerWidth<=768)}static#e=F=()=>(this.\u0275fac=function(ee){return new(ee||Y)(t.rXU(r.gRc),t.rXU(me.$),t.rXU(Ge.z))},this.\u0275cmp=t.VBU({type:Y,selectors:[["pwng-toolbar"]],viewQuery:function(ee,b){1&ee&&t.wEZ(b.customDropdownButtonEl,De,5)(b.languageSelectorButtonEl,Be,5)(b.searchBarButtonEl,Le,5),2&ee&&t.NyB(3)},inputs:{currentPageUrl:[1,"currentPageUrl"],toolbar:[1,"toolbar"]},decls:1,vars:1,consts:[["searchBarButton",""],["languageSelectorButton",""],["customDropdownButton",""],[1,"search-bar"],[1,"pw-custom-dropdown","mobile-hidden"],[1,"pw-custom-dropdown",3,"ngClass"],["id","search-bar-button","aria-haspopup","true",1,"menu-item","pw-menu-button",3,"click"],["aria-hidden","true",1,"far","fa-search"],[3,"isOpenInput","searchBar"],["id","lang-selection-button","aria-haspopup","true","aria-controls","pw-util-language-dropdown",1,"menu-item","pw-menu-button",3,"click"],["aria-hidden","true",1,"far","fa-flag"],["id","pw-util-language-dropdown",1,"pw-sh-util-dropdown",3,"ngClass"],[1,"pw-sh-util-list","pw-sh-util-list--languages"],[3,"lang"],[3,"href"],["aria-hidden","true",1,"far","fa-check"],["aria-haspopup","true","aria-controls","pw-util-custom-dropdown",1,"menu-item","pw-menu-button",3,"click"],["aria-hidden","true",1,"far",3,"ngClass"],["id","pw-util-custom-dropdown",1,"pw-sh-util-dropdown",3,"ngClass"],[1,"pw-sh-util-list"]],template:function(ee,b){if(1&ee&&t.nVh(0,ke,3,3),2&ee){let j;t.vxM((j=b.toolbar())?0:-1,j)}},dependencies:[w.MD,w.YU,Fe.MenuSearchBarComponent,w.Jj,e.D],styles:["[_nghost-%COMP%]{display:flex;height:100%}"]}))}return F(),Y})();var Se=o(8128);function We(F,Y){if(1&F&&t.nrm(0,"pwng-login-list",1),2&F){const N=t.XpG();t.Y8G("loginList",N.loginList)}}function Qe(F,Y){if(1&F&&(t.nrm(0,"pwng-toolbar",0),t.nVh(1,We,1,1,"pwng-login-list",1)),2&F){const N=Y,te=t.XpG();t.Y8G("currentPageUrl",te.currentPageUrl)("toolbar",N.toolbar),t.R7$(),t.vxM(N.loginList.visible?1:-1)}}let Me=(()=>{var F;class Y{constructor(te){this.header=te,this.header$=this.header.getHeaderData$()}handleKeyboardEventkeydown(te){const ee=document.querySelector(".pw-skip-nav");"Tab"===te.key&&ee&&(ee.style.display="block")}ngOnInit(){this.header.loadHeaderData(parseInt(this.pageId,10),this.language,this.version)}static#e=F=()=>(this.\u0275fac=function(ee){return new(ee||Y)(t.rXU(Se.d))},this.\u0275cmp=t.VBU({type:Y,selectors:[["pwng-header-actions"]],hostBindings:function(ee,b){1&ee&&t.bIt("keydown",function(A){return b.handleKeyboardEventkeydown(A)},t.tSv)},inputs:{language:"language",currentPageUrl:"currentPageUrl",version:"version",pageId:"pageId"},features:[t.Jv_([n])],decls:2,vars:3,consts:[[3,"currentPageUrl","toolbar"],[3,"loginList"]],template:function(ee,b){if(1&ee&&(t.nVh(0,Qe,2,3),t.nI1(1,"async")),2&ee){let j;t.vxM((j=t.bMT(1,1,b.header$))?0:-1,j)}},dependencies:[Ne,Ce,w.Jj],styles:["[_nghost-%COMP%]{display:flex;height:100%;align-items:center}"]}))}return F(),Y})()},8570(re,K,o){o.d(K,{ImageListModalComponent:()=>O});var w=o(7884),c=o(699),n=o(7705),r=o(7266),s=o(6089),a=o(7759),l=o(5984);const e=["modalBody"];function t(E,G){if(1&E){const M=s.RV6();s.j41(0,"gds-button-pw",8),s.bIt("click",function(){r.eBV(M);const i=s.XpG();
1return r.Njj(i.openModal())}),s.j41(1,"span",4),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.j41(4,"span",5),s.EFF(5),s.nI1(6,"translate"),s.k0s(),s.j41(7,"span",9),s.EFF(8),s.k0s()()}if(2&E){const M=s.XpG();s.HbH(M.contactLinkClass),s.R7$(2),s.JRh(s.bMT(3,5,"features.pages.contact.images")),s.R7$(3),s.JRh(s.bMT(6,7,"features.pages.contact.imagesMobile")),s.R7$(3),s.SpI(" (",M.numberOfImages,")")}}function L(E,G){if(1&E&&(s.j41(0,"div",15),s.nrm(1,"img",17),s.j41(2,"gds-button-pw",18),s.nrm(3,"gds-icon-arrow-wall-down-pw",3),s.j41(4,"span"),s.EFF(5),s.nI1(6,"translate"),s.k0s()()()),2&E){const M=G.$implicit;s.R7$(),s.Y8G("src",M.imageUrl,s.B4B)("title",M.imageTitle)("alt",M.imageAltText),s.R7$(),s.Y8G("href",M.downloadUrl),s.R7$(3),s.JRh(s.bMT(6,5,"common.download"))}}function H(E,G){if(1&E){const M=s.RV6();s.j41(0,"div",10)(1,"div",11,0)(3,"div",12)(4,"gds-button-pw",13),s.nI1(5,"translate"),s.bIt("click",function(){r.eBV(M);const i=s.XpG();return r.Njj(i.closeModal())}),s.nrm(6,"gds-icon-cross-large-pw"),s.k0s()(),s.j41(7,"div",14),s.Z7z(8,L,7,7,"div",15,s.fX1),s.k0s()(),s.nrm(10,"div",16),s.k0s()}if(2&E){const M=s.XpG();s.AVh("-active",M.modalActive),s.R7$(),s.Y8G("cdkTrapFocusAutoCapture",!0),s.R7$(3),s.Y8G("label",s.bMT(5,4,"common.close")),s.R7$(4),s.Dyx(M.blockData.contactImages)}}let O=(()=>{var E;class G{click(R){if(!this.modalActive)return;const i=R.target.classList.contains(this.contactLinkClass),S=this.modalBody&&this.modalBody.nativeElement.contains(R.target);!i&&!S&&this.closeModal()}onEsc(){this.closeModal()}onEnter(){this.closeModal()}constructor(R,i,S,p){this.cd=R,this.jsonService=i,this.location=S,this.renderer=p,this.showMainImageDownloadLink=!1,this.showModalHash="image-modal",this.contactLinkClass="pw-contact-modal-link"}ngOnInit(){this.blockData=this.jsonService.parseJson(this.blockDataJson),this.numberOfImages=this.blockData.contactImages.length,this.location.path(!0).includes(this.activeModalHash())&&this.showModal()}openModal(){this.location.go(this.activeModalHash()),this.showModal()}closeModal(){this.location.go(""),this.modalActive=!1,this.renderer.removeClass(document.body,"modal-active"),this.cd.detectChanges()}showModal(){this.modalActive=!0,this.renderer.addClass(document.body,"modal-active"),this.cd.detectChanges()}activeModalHash(){return`${this.showModalHash}-${this.blockData.contactPageId}`}static#e=E=()=>(this.\u0275fac=function(i){return new(i||G)(s.rXU(n.gRc),s.rXU(a.W),s.rXU(l.aZ),s.rXU(s.sFG))},this.\u0275cmp=s.VBU({type:G,selectors:[["pwng-image-list-modal"]],viewQuery:function(i,S){if(1&i&&s.GBs(e,5),2&i){let p;s.mGM(p=s.lsd())&&(S.modalBody=p.first)}},hostBindings:function(i,S){1&i&&s.bIt("click",function(Z){return S.click(Z)},s.EBC)("keydown.escape",function(){return S.onEsc()},s.EBC)("keydown.enter",function(){return S.onEnter()},s.EBC)},inputs:{blockDataJson:"blockDataJson",showMainImageDownloadLink:"showMainImageDownloadLink"},decls:11,vars:9,consts:[["modalBody",""],[1,"pw-button-group"],["download","","rank","primary",3,"href"],["slot","trail"],[1,"desktop"],[1,"mobile"],["rank","primary",3,"class"],["role","dialog",1,"sdv-modal-dialog",3,"-active"],["rank","primary",3,"click"],[1,"number-of-images"],["role","dialog",1,"sdv-modal-dialog"],["role","dialog","aria-labelledby","sdv-modal-dialog1-title","aria-describedby","sdv-dialog1-body","cdkTrapFocus","",1,"sdv-modal-dialog__container",3,"cdkTrapFocusAutoCapture"],["id","sdv-dialog1-title",1,"sdv-modal-dialog__heading"],["rank","secondary","tabindex","0",3,"click","label"],["id","sdv-dialog1-body",1,"sdv-modal-dialog__body"],[1,"pw-high-res-image"],[1,"sdv-modal-backdrop"],["loading","lazy",3,"src","title","alt"],["download","","tabindex","0",1,"pw-high-res-image__download",3,"href"]],template:function(i,S){1&i&&(s.j41(0,"div",1)(1,"gds-button-pw",2),s.nrm(2,"gds-icon-arrow-wall-down-pw",3),s.j41(3,"span",4),s.EFF(4),s.nI1(5,"translate"),s.k0s(),s.j41(6,"span",5),s.EFF(7),s.nI1(8,"translate"),s.k0s()(),s.nVh(9,t,9,9,"gds-button-pw",6),s.k0s(),s.nVh(10,H,11,6,"div",7)),2&i&&(s.R7$(),s.Y8G("href",S.blockData.mainImageUrl),s.R7$(3),s.JRh(s.bMT(5,5,"features.pages.contact.mainImageLink")),s.R7$(3),s.JRh(s.bMT(8,7,"features.pages.contact.mainImageLinkMobile")),s.R7$(2),s.vxM(S.numberOfImages>0?9:-1),s.R7$(),s.vxM(S.numberOfImages>0?10:-1))},dependencies:[w.Pd,w.kB,c.D],encapsulation:2}))}return E(),G})()},3261(re,K,o){o.d(K,{z:()=>r});var w=o(4412),c=o(3726),n=o(7266);let r=(()=>{var s;class a{constructor(){this.languages=new w.t([]),this.languageSelectorEventSet=(0,c.R)(window,"languageSelectorSet"),this.languageSelectorEventAdd=(0,c.R)(window,"languageSelectorAdd"),this.languageSelectorEventDelete=(0,
1c.R)(window,"languageSelectorDelete"),this.languageSelectorEventSetSub=this.languageSelectorEventSet.subscribe(e=>this.setQueryParam(e.detail.key,e.detail.value)),this.languageSelectorEventAddSub=this.languageSelectorEventAdd.subscribe(e=>this.appendQueryParam(e.detail.key,e.detail.value)),this.languageSelectorEventDeleteSub=this.languageSelectorEventDelete.subscribe(e=>this.deleteQueryParam(e.detail.key))}ngOnDestroy(){this.languageSelectorEventSetSub.unsubscribe(),this.languageSelectorEventAddSub.unsubscribe(),this.languageSelectorEventDeleteSub.unsubscribe()}appendQueryParam(e,t){this.runQueryParamUpdate(L=>L.searchParams.append(e,t))}setQueryParam(e,t){this.runQueryParamUpdate(L=>L.searchParams.set(e,t))}deleteQueryParam(e){this.runQueryParamUpdate(t=>t.searchParams.delete(e))}runQueryParamUpdate(e){let t=this.languages.getValue();t=t.map(L=>{const H=new URL(`${window.location.protocol}//${window.location.host}${L.href}`);return e(H),L.href=H.searchParams.size>0?`${H.pathname}?${H.searchParams.toString()}`:H.pathname,L}),this.languages.next(t)}initialize(e,t){this.currentPageUrl=t,this.languages.next(this.getLinksWithCustomRoute(e))}getLanguages(){return this.languages.asObservable()}getLinksWithCustomRoute(e){const t=window.location.pathname,L=t.substring(this.currentPageUrl.length);return e.some(O=>O.href===t)||e.forEach(O=>{"/"!==O.href&&this.currentPageUrl.length<t.length&&t.includes(this.currentPageUrl)&&(O.href+=L)}),e}static#e=s=()=>(this.\u0275fac=function(t){return new(t||a)},this.\u0275prov=n.jDH({token:a,factory:a.\u0275fac,providedIn:"root"}))}return s(),a})()},5496(re,K,o){var w=o(8173);const c=(0,w.hZ)("menuAnimation",[(0,w.kY)(":enter",[(0,w.iF)({opacity:0,transform:"translateY(20px)"}),(0,w.i0)("200ms 100ms ease-out",(0,w.iF)({opacity:1,transform:"translateY(0)"})),(0,w.P)("@stagger",[(0,w.MA)()],{optional:!0})]),(0,w.kY)(":leave",[(0,w.iF)({opacity:1,transform:"translateY(0)"}),(0,w.i0)("200ms ease-out",(0,w.iF)({opacity:0,transform:"translateY(20px)"}))])]),n=(0,w.hZ)("stagger",[(0,w.kY)("* => *",[(0,w.P)(":enter",[(0,w.iF)({opacity:0,transform:"translateX(10px)"}),(0,w.yc)(50,[(0,w.i0)("200ms",(0,w.iF)({opacity:1,transform:"translateX(0)"}))])],{optional:!0})])]);o.d(K,["d",0,n,"q",0,c])},9528(re,K,o){o.d(K,{$:()=>e});var w=o(4412),c=o(6354),n=o(9568),r=o(8141),s=o(7266),a=o(6795);let e=(()=>{var t;class L{constructor(O){this.httpClient=O,this._isOpen$=new w.t(!1),this.isOpen$=this._isOpen$.asObservable()}open(O){window.PublicWeb.API._internal.menuController.open(O,void 0,()=>this._isOpen$.next(!0),()=>this._isOpen$.next(!1))}toggle(O,E,G,M,R,i){window.PublicWeb.API._internal.menuController.toggle(O,E,G,M,R,i)}close(O=!0){window.PublicWeb.API._internal.menuController.close(O)}getMenu(O,E,G){return this._menu$=this.httpClient.get(`/api/navigation/tree/${O}/${E}/${G}`).pipe((0,c.T)(M=>{const R=(i,S)=>{const p={parent:S,isLeaf:0===i.children?.length,...i.data};return p.children=i.children?i.children.map(Z=>R(Z,p)):[],p};return R(M||{},void 0)}),(0,r.M)(this.setActiveNodes),(0,n.t)(1)),this._menu$}getActiveMenu(){return this._menu$}setActiveNodes(O){const E=document.location.pathname,G=M=>!!E.startsWith(M.href||"")&&(M.href!==E||M.isContainer?M.children&&M.children.length>0&&(M.isActive=[...M.children].some(R=>G(R))):M.isActive=!0,M.isActive);G(O)}static#e=t=()=>(this.\u0275fac=function(E){return new(E||L)(s.KVO(a.Qq))},this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}))}return t(),L})()},5392(re,K,o){o.d(K,{MenuComponent:()=>dt});var w=o(9769),c=o(3726),n=o(9172),r=o(6354),s=o(3294),a=o(8141),l=o(8173),e=o(6089);let t=(()=>{var _;class ${transform(m){return m.filter(f=>f.children.length>0)}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)},this.\u0275pipe=e.EJ8({name:"parentNodes",type:$,pure:!0}))}return _(),$})();var L=o(699),H=o(6730),O=o(1247),E=o(7266);function G(_,$){if(1&_){const v=e.RV6();e.rj2(0,"div",4,1)(2,"input",5),e.VwU("change",function(f){const V=E.eBV(v).$index,ce=e.XpG();return E.Njj(ce.handleChange(f,V))}),e.eux(),e.rj2(3,"label",6),e.EFF(4),e.eux()()}if(2&_){const v=$.$implicit,m=$.$index,f=e.XpG();e.AVh("active",m===f.activeIndex),e.R7$(2),e.Avn("value",v.value)("id",v.label)("name",f.name)("checked",m===f.activeIndex),e.BMQ("aria-controls",f.ariaControl
1s),e.R7$(),e.Avn("htmlFor",v.label),e.R7$(),e.SpI(" ",v.label," ")}}let M=(()=>{var _;class ${set segments(m){this._segments=m,this.activeIndex=m.findIndex(f=>f.checked),this.activeIndex<0&&(this.activeIndex=0)}get segments(){return this._segments}constructor(){this.selected=new E.bkB,this.activeIndex=0}handleChange(m,f){m.target.checked&&(this.segments[this.activeIndex].checked=!1,this.activeIndex=f,this.segments[this.activeIndex].checked=!0,this.selected.emit(this.segments[this.activeIndex]))}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)},this.\u0275cmp=e.VBU({type:$,selectors:[["pwng-segments"]],inputs:{name:"name",ariaControls:"ariaControls",segments:"segments"},outputs:{selected:"selected"},decls:4,vars:0,consts:[["controls",""],["segment",""],[1,"controls"],[1,"segment",3,"active"],[1,"segment"],["type","radio",3,"change","value","id","name","checked"],[3,"for"]],template:function(f,V){1&f&&(e.rj2(0,"div",2,0),e.Z7z(2,G,5,9,"div",3,e.fX1),e.eux()),2&f&&(e.R7$(2),e.Dyx(V.segments))},styles:[".controls[_ngcontent-%COMP%]{display:flex;border:1px solid #868686;border-radius:.25rem;margin:1rem;height:2rem}.controls[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;cursor:pointer;margin:0;inset:0;position:absolute;width:100%;height:100%}.segment[_ngcontent-%COMP%]{flex:1 1 0;position:relative;display:flex;justify-content:center;align-items:center}.segment[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid #868686}.segment[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer;display:block;font-size:1rem}.segment.active[_ngcontent-%COMP%]{background-color:#333}.segment[_ngcontent-%COMP%]:hover, .segment[_ngcontent-%COMP%]:focus-within{background-color:#1a1a1a}.segment[_ngcontent-%COMP%]:focus-within{box-shadow:0 0 4px #000}.segment[_ngcontent-%COMP%]:hover label[_ngcontent-%COMP%], .segment.active[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .segment[_ngcontent-%COMP%]:focus-within label[_ngcontent-%COMP%]{color:#fff}"]}))}return _(),$})();var R=o(7884),i=o(7705),S=o(3261);function p(_,$){if(1&_){const v=e.RV6();e.j41(0,"button",2),e.bIt("click",function(){E.eBV(v);const f=e.XpG();return E.Njj(f.toggle())}),e.nrm(1,"i",3),e.EFF(2),e.nI1(3,"async"),e.k0s()}if(2&_){const v=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,1,v.$currentTitle)," ")}}function Z(_,$){1&_&&e.nrm(0,"i",8)}function D(_,$){if(1&_&&(e.j41(0,"li",6)(1,"a",7),e.EFF(2),e.nVh(3,Z,1,0,"i",8),e.k0s()()),2&_){const v=$.$implicit;e.Y8G("lang",v.isoCode),e.R7$(),e.Y8G("href",v.href,e.B4B),e.BMQ("aria-current",v.isCurrent?"page":void 0),e.R7$(),e.SpI("",v.title," "),e.R7$(),e.vxM(v.isCurrent?3:-1)}}function Q(_,$){if(1&_){const v=e.RV6();e.j41(0,"div",1)(1,"button",4),e.nI1(2,"translate"),e.bIt("click",function(){E.eBV(v);const f=e.XpG();return E.Njj(f.toggle())}),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"h2"),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"ul",5),e.Z7z(9,D,4,5,"li",6,e.fX1),e.nI1(11,"async"),e.k0s()()}if(2&_){const v=e.XpG();e.Y8G("cdkTrapFocusAutoCapture",!0),e.R7$(),e.Y8G("title",e.bMT(2,4,"features.layout.header.gobacklinktitle")),e.R7$(2),e.SpI(" ",e.bMT(4,6,"features.layout.header.navigateback")," "),e.R7$(3),e.JRh(e.bMT(7,8,"features.layout.header.language")),e.R7$(3),e.Dyx(e.bMT(11,10,v.$languages))}}let z=(()=>{var _;class ${constructor(m,f){this.cd=m,this.languageSelectorService=f,this.isOpen=new E.bkB,this.open=!1}ngOnInit(){this.$languages=this.languageSelectorService.getLanguages(),this.$visible=this.$languages.pipe((0,r.T)(m=>m.length>0)),this.$currentTitle=this.$languages.pipe((0,r.T)(m=>m.find(f=>f.isCurrent)?.title))}toggle(){this.open=!this.open,this.cd.detectChanges(),this.isOpen.emit(this.open)}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)(e.rXU(i.gRc),e.rXU(S.z))},this.\u0275cmp=e.VBU({type:$,selectors:[["pwng-language-selector"]],inputs:{currentUrl:"currentUrl"},outputs:{isOpen:"isOpen"},decls:3,vars:4,consts:[[1,"toggle"],["cdkTrapFocus","",1,"pane",3,"cdkTrapFocusAutoCapture"],[1,"toggle",3,"click"],["aria-hidden","true",1,"far","fa-flag"],[3,"click","title"],[1,"pw-sh-util-list","pw-sh-util-list--languages"],[3,"lang"],[3,"href"],["aria-hidden","true",1,"far","fa-check"]],template:function(f,V){1&f&&(e.nVh(0,p,4,3,"button",0),e.nI1(1,"async"),e.nVh(2,Q,12,12,"div",1)),2&f&&(e.vxM(e.bMT(1,2,V.$visible)?0:-1),e.R7$(2),e.vxM(V.open?2:-1))},dependencies:[R.Pd,R.kB,L.D,w.Jj],styles:['.toggle[_ngcontent-%COMP%]{margin:1rem;font-size:1rem;background:none;border:1px solid black;border-radius:2rem;padding:.5rem 1rem;font-weight:500;font-family:inherit;color:inherit;cursor:pointer;text-transform:capitalize}.toggle[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.5rem}.pane[_ngcontent-%COMP%]{position:absolute;z-index:1;background-color:#fff;inset:0;overflow-y:auto;overflow-x:hidden}.pane[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{padding:0;margin:1rem 0;padding:1rem;background:none;border:none;display:flex;align-items:center;font-size:.8rem;font-weight:500;font-family:inherit;color:inherit;cursor:pointer}.pane[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:before{font-family:"Font Awesome 6 Pro";content:"\\f053";margin-right:.5rem;font-size:.8rem}h2[_ngcontent-%COMP%]{padding:0 1rem;font-weight:400}']}))}return _(),$})();var J=o(9528);let W=(()=>{var _;class ${constructor(){this.analytics=window.PublicWeb.API.Analytics}select(m){const f=`${location.origin}${m?.href}`,V=this.getMenuPath(m);console.debug(`Menu Select Event \nPath: ${V} \nUrl: ${f}`),this.analytics?.updateDataLayer({menuTargetUrl:f,menuPath:V}),this.analytics?.track("menuSelect")}expand(m){const f=this.getMenuPath(m);console.debug(`Menu Expand Event \nPath: ${this.getMenuPath(m)}`),this.analytics?.updateDataLayer({menuPath:f}),this.analytics?.track("menuExpand")}getMenuPath(m){const f=[];for(;void 0!==m;)f.push(m),m=m.parent;return f.map(V=>
1V.title).reverse().filter(Boolean).join("|")}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)},this.\u0275prov=E.jDH({token:$,factory:$.\u0275fac,providedIn:"root"}))}return _(),$})();function ne(_,$){if(1&_){const v=e.RV6();e.j41(0,"pwng-segments",10),e.bIt("selected",function(f){E.eBV(v);const V=e.XpG();return E.Njj(V.selectSegment(f))}),e.k0s()}if(2&_){const v=e.XpG();e.Y8G("segments",v.segments)}}function C(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",16),e.bIt("click",function(){E.eBV(v);const f=e.XpG().$implicit,V=e.XpG(3);return E.Njj(V.trackSelect(f))}),e.EFF(1),e.k0s()}if(2&_){const v=e.XpG().$implicit;e.Y8G("href",v.href,e.B4B),e.BMQ("data-href",v.href),e.R7$(),e.JRh(v.title)}}function y(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",17),e.bIt("click",function(f){E.eBV(v);const V=e.XpG().$implicit,ce=e.XpG(3);return E.Njj(ce.selectNode(V,f))}),e.EFF(1),e.k0s()}if(2&_){const v=e.XpG().$implicit;e.BMQ("data-href",v.href),e.R7$(),e.JRh(v.title)}}function u(_,$){if(1&_&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&_){const v=e.XpG(2).$implicit;e.R7$(),e.JRh(v.title)}}function h(_,$){if(1&_&&(e.j41(0,"a",20),e.EFF(1),e.nrm(2,"i",12),e.k0s()),2&_){const v=e.XpG(2).$implicit;e.Y8G("href",e.mNQ(v.href),e.B4B),e.R7$(),e.JRh(v.title)}}function k(_,$){if(1&_){const v=e.RV6();e.j41(0,"nav",18)(1,"button",19),e.nI1(2,"translate"),e.bIt("click",function(f){E.eBV(v);const V=e.XpG(4);return E.Njj(V.selectNode(void 0,f))}),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"h3"),e.nVh(6,u,2,1,"span"),e.nVh(7,h,3,3,"a",20),e.k0s(),e.j41(8,"pwng-sub-navigation-tree",21),e.bIt("selected",function(f){E.eBV(v);const V=e.XpG(4);return E.Njj(V.trackSelect(f))})("expanded",function(f){E.eBV(v);const V=e.XpG(4);return E.Njj(V.trackExpand(f))}),e.k0s()()}if(2&_){const v=e.XpG().$implicit,m=e.XpG(3);e.AVh("hide",m.viewNode!==v),e.Y8G("cdkTrapFocus",m.viewNode===v)("cdkTrapFocusAutoCapture",m.viewNode===v),e.R7$(),e.Y8G("title",e.bMT(2,9,"features.layout.header.gobacklinktitle")),e.R7$(2),e.SpI(" ",e.bMT(4,11,"features.layout.header.navigateback")," "),e.R7$(3),e.vxM(v.isContainer?6:-1),e.R7$(),e.vxM(v.isContainer?-1:7),e.R7$(),e.Y8G("menu",v)}}function d(_,$){if(1&_&&(e.j41(0,"li"),e.nVh(1,C,2,3,"a",13),e.nV
1h(2,y,2,2,"a",14),e.nVh(3,k,9,13,"nav",15),e.k0s()),2&_){const v=$.$implicit;e.R7$(),e.vxM(v.isLeaf?1:-1),e.R7$(),e.vxM(v.isLeaf?-1:2),e.R7$(),e.vxM(v.isLeaf?-1:3)}}function B(_,$){if(1&_&&(e.j41(0,"ul"),e.Z7z(1,d,4,3,"li",null,e.fX1),e.k0s()),2&_){const v=e.XpG().$implicit;e.R7$(),e.Dyx(v.children)}}function x(_,$){if(1&_){const v=e.RV6();e.j41(0,"div")(1,"h2")(2,"a",11),e.bIt("click",function(){const f=E.eBV(v).$implicit,V=e.XpG();return E.Njj(V.trackSelect(f))}),e.EFF(3),e.nrm(4,"i",12),e.k0s()(),e.nVh(5,B,3,0,"ul"),e.k0s()}if(2&_){const v=$.$implicit,m=e.XpG();e.AVh("collapse",m.viewNode),e.R7$(2),e.Y8G("href",e.mNQ(v.href),e.B4B),e.R7$(),e.JRh(v.title),e.R7$(2),e.vxM(v.isLeaf?-1:5)}}function g(_,$){if(1&_){const v=e.RV6();e.j41(0,"gds-button-pw",23),e.bIt("click",function(){const f=E.eBV(v).$implicit,V=e.XpG(2);return E.Njj(V.trackSelectAction(f))}),e.EFF(1),e.k0s()}if(2&_){const v=$.$implicit;e.Y8G("href",v.href)("target",v.target),e.BMQ("title",v.title),e.R7$(),e.SpI(" ",v.text," ")}}function T(_,$){if(1&_&&(e.j41(0,"div",9),e.Z7z(1,g,2,4,"gds-button-pw",22,e.fX1),e.k0s()),2&_){const v=e.XpG();e.R7$(),e.Dyx(v.actions)}}let I=(()=>{var _;class ${set menu(m){this._menu=m}constructor(m,f,V,ce){this.cd=m,this.menuService=f,this.parentNodes=V,this.analytics=ce,this.segmentMenu=!1,this.open=!1,this.segments=[],this.actions=[],this.languagePaneIsOpen=!1}ngOnChanges(m){if(m.segmentMenu||m.menu)if(this.segmentMenu){const f=this.parentNodes.transform(this._menu?.children??[]);this.segments=f.map(V=>({label:V.title,value:V.title,checked:V.isActive})),this.selectSegment(this.segments.find(V=>V.checked)??this.segments[0],!1)}else this.root=this._menu}selectNode(m,f){f&&f.preventDefault(),this.viewNode=m,this.cd.detectChanges(),this.trackExpand(m??(this.segmentMenu?this.root:this.root.children[0]))}selectSegment(m,f=!0){this.viewNode=void 0;const V=this._menu.children.find(ce=>ce.title===m.value);this.root={...this._menu,children:[V]},this.setActions(V),this.cd.detectChanges(),f&&this.trackExpand(V)}setActions(m){this.actions=[...m.actions??[],...(this._menu?.children??[]).filter(f=>f.isLeaf).map(f=>({text:f.title,href:f.href}))]}toggle(m){this.menuService.open(m),this.open||this.trackExpand(this.root.children[0])}trackExpand(m){this.analytics.expand(m)}trackSelect(m){this.analytics.select(m)}trackSelectAction(m){this.analytics.select({title:m.text,href:m.href,parent:this.root})}onLanguageOpen(m){this.languagePaneIsOpen=m,this.cd.detectChanges()}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)(e.rXU(i.gRc),e.rXU(J.$),e.rXU(t),e.rXU(W))},this.\u0275cmp=e.VBU({type:$,selectors:[["pwng-mobile-menu"]],inputs:{menu:"menu",segmentMenu:"segmentMenu",open:"open",currentUrl:"currentUrl"},features:[e.Jv_([t]),e.OA$],decls:14,vars:10,consts:[["button",""],["aria-haspopup","true",1,"menu-item","pw-menu-button",3,"click"],["aria-hidden","true",1,"far","fa-bars"],["id","pw-mobile-menu",1,"pw-menu","pw-mobile-menu",3,"pwngScrollLock"],["name","pw-mobile-menu-segments","ariaControls","pw-menu-tree",3,"segments"],[3,"isOpen"],["id","pw-menu-tree","role","region","aria-live","polite"],[1,"pw-mobile-menu__tree"],[3,"collapse"],[1,"pw-mobile-menu__actions"],["name","pw-mobile-menu-segments","ariaControls","pw-menu-tree",3,"selected","segments"],[1,"pw-link-animate",3,"click","href"],["aria-hidden","true"],[1,"pw-link",3,"href"],["href","#",1,"pw-link"],[1,"pw-mobile-menu-tree",3,"hide","cdkTrapFocus","cdkTrapFocusAutoCapture"],[1,"pw-link",3,"click","href"],["href","#",1,"pw-link",3,"click"],[1,"pw-mobile-menu-tree",3,"cdkTrapFocus","cdkTrapFocusAutoCapture"],[3,"click","title"],[1,"pw-link-animate",3,"href"],[3,"selected","expanded","menu"],["rank","secondary",3,"href","target"],["rank","secondary",3,"click","href","target"]],template:function(f,V){if(1&f){const ce=e.RV6();e.j41(0,"button",1,0),e.bIt("click",function(){E.eBV(ce);const Pe=e.sdS(1);return E.Njj(V.toggle(Pe))}),e.nrm(2,"i",2),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.j41(6,"section",3),e.nVh(7,ne,1,1,"pwng-segments",4),e.j41(8,"pwng-language-selector",5),e.bIt("isOpen",function(Pe){return V.onLanguageOpen(Pe)}),e.k0s(),e.j41(9,"div",6)(10,"nav",7),e.Z7z(11,x,6,6,"div",8,e.fX1),e.k0s()(),e.nVh(13,T,3,0,"div",9),e.k0s()}2&f&&(e.BMQ("aria-expanded",V.open),e.R7$(4),e.JRh(e.bMT(5,8,"features.layout.header.menu")),e.R7$(2),e.Y8G("@fadeUp",V.open?"open":"closed")("pwngScrollLock",V.open),e.R7$(),e.vxM(V.segments.length>1?7:-1),e.R7$(2),e.AVh("hide",V.languagePaneIsOpen),e.R7$(2),e.Dyx(V.root.children),e.R7$(2),e.vxM(V.actions.length>0?13:-1))},dependencies:[O._,R.Pd,R.kB,H.w,M,z,L.D],styles:[".hide[_ngcontent-%COMP%]{display:none}.collapse[_ngcontent-%COMP%]{height:0;overflow:hidden}"],data:{animation:[(0,l.hZ)("fadeUp",[(0,l.wk)("open",(0,l.iF)({opacity:1,transform:"translateY(0)",pointerEvents:"auto",visibility:"visible"})),(0,l.wk)("closed",(0,l.iF)({opacity:0,transform:"translateY(30px)",pointerEvents:"none",visibility:"hidden"})),(0,l.kY)("open => closed",[(0,l.i0)("300ms ease-out")]),(0,l.kY)("closed => open",[(0,l.i0)("300ms ease-out")])])]}}))}return _(),$})();var P=o(5496);const U=function(_=0,$=0,v=0,m=0,f=null){this.x=_,this.y=$,this.w=v,this.h=m,this.domRef=f};U.prototype.copy=function(){return new U(this.x,this.y,this.w,this.h,this.domRef)},U.prototype.translate=function(_,$){return new U(this.x+_,this.y+$,this.w,this.h,this.domRef)},U.prototype.getBottomOffset=function(){return this.y+this.h},U.prototype.getRightOffset=function(){return this.x+this.w},U.prototype.intersects=function(_){return this.getBottomOffset()>_.y&&_.getBottomOffset()>this.y&&this.getRightOffset()>_.x&&_.getRightOffset()>this.x};const se=U,fe={horizSpacing:32,optimize:!0,useSortingHeuristic:!1,debugDraw:!1};let ge={};const xe_reflow=function(_,$,v=fe){ge[$]=ge[$]||Array.from(_.children);const m=ge[$].filter(de=>!de.classList.contains("debug-div")),f=[];let V=0,ce=0,we=0;for(const de of m){const be=V,Re=ce,Xe=de.offsetWidth,Te=de.offsetHeight;we=Math.max(Te,we),V+=Xe,Xe+V>_.offsetWidth&&(V=0,ce+=we,we=0),f.push(new se(be,Re,Xe,Te,de))}
1v.optimize&&v.useSortingHeuristic?f.sort((de,be)=>be.h-de.h):f.reverse();const Pe=[];for(let de=0;de<f.length;de++){const be=f[de].copy();if(be.y>0){let Re=null;if(!1===v.optimize){let Te=be.copy();for(;Te.y>0&&!(Re instanceof se);)Te=Te.translate(0,-10),Re=f.find(He=>He.intersects(Te)&&Te.domRef!==He.domRef)}else{let Te=1/0;Re=null;for(const He of f.filter(je=>!Pe.includes(je)&&je!==f[de]&&(!0===je.layedOut||0===je.y))){const je=He.getBottomOffset();je<Te&&(Re=He,Te=je)}Re.debugTag=!0,Pe.push(Re),f[de].x=Re.x}const Xe=Re.getBottomOffset()-f[de].y+v.horizSpacing;f[de]=f[de].translate(0,Xe),f[de].layedOut=!0}}let Ye=0;for(const de of f)de.domRef.style.position="absolute",de.domRef.style.top=de.y+"px",de.domRef.style.left=de.x+"px",Ye=Math.max(de.h+de.y,Ye);_.style.height=Ye+"px",f.sort((de,be)=>de.x>be.x?1:de.x<be.x?-1:de.y>be.y?1:de.y<be.y?-1:void 0).map(de=>_.appendChild(de.domRef)),v.debugDraw&&function he(_,$=document.body){for(const m of document.querySelectorAll(".debug-div"))m.remove();let v=0;for(const m of _.reverse()){v++;const f=document.createElement("div");f.style.position="absolute",f.style.top=m.y+"px",f.style.left=m.x+"px",f.style.height=m.h+"px",f.style.width=m.w+"px",f.style.border="1px solid #f00",f.style.backgroundColor="rgba(255,64,64,0.7)",f.classList.add("debug-div"),f.innerHTML=`<div style="padding:1rem;text-align: center;font-size: 4rem;color:#333; font-weight: bold;">${v}</div>`,$.appendChild(f)}}(f,_)};var ye=o(9079),Ie=o(152);const Ee=["menuNav"],Ce=_=>({node:_});function Fe(_,$){1&_&&e.eu8(0)}function Ge(_,$){if(1&_&&(e.j41(0,"h2"),e.DNE(1,Fe,1,0,"ng-container",5),e.k0s()),2&_){const v=e.XpG(),m=e.sdS(8);e.R7$(),e.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",e.eq3(2,Ce,v.tree))}}function De(_,$){if(1&_&&e.EFF(0),2&_){const v=e.XpG().$implicit;e.SpI(" ",v.title," ")}}function Be(_,$){1&_&&e.eu8(0)}function Le(_,$){if(1&_&&e.DNE(0,Be,1,0,"ng-container",5),2&_){const v=e.XpG().$implicit;e.XpG();const m=e.sdS(8);e.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",e.eq3(2,Ce,v))}}function $e(_,$){1&_&&e.eu8(0)}function Ae(_,$){if(1&_&&(e.j41(0,"li"),e.DNE(1,$e,1,0,"ng-container",5),e.k0s()),2&_){const v=$.$implicit;e.XpG(2);const m=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",e.eq3(2,Ce,v))}}function X(_,$){if(1&_&&(e.j41(0,"div")(1,"div")(2,"h3",6),e.nVh(3,De,1,1),e.nVh(4,Le,1,4,"ng-container"),e.k0s(),e.j41(5,"ul"),e.Z7z(6,Ae,2,4,"li",null,e.fX1),e.k0s()()()),2&_){const v=$.$implicit;e.R7$(3),e.vxM(v.isContainer?3:-1),e.R7$(),e.vxM(v.isContainer?-1:4),e.R7$(2),e.Dyx(v.children)}}function ie(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",7,3),e.bIt("click",function(){const f=E.eBV(v).node,V=e.XpG();return E.Njj(V.trackSelect(f))}),e.EFF(2),e.nrm(3,"i",8),e.k0s()}if(2&_){const v=$.node;e.Y8G("href",e.mNQ(v.href),e.B4B),e.R7$(2),e.JRh(v.title)}}function pe(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",9,3),e.bIt("click",function(){const f=E.eBV(v).node,V=e.XpG();return E.Njj(V.trackSelect(f))}),e.EFF(2),e.k0s()}if(2&_){const v=$.node;e.Y8G("href",e.mNQ(v.href),e.B4B),e.R7$(2),e.JRh(v.title)}}let oe=(()=>{var _;class ${set menu(m){this.tree=m}constructor(m){this.analytics=m,this.destroyRef=(0,E.WQX)(E.abz)}ngAfterViewInit(){(0,c.R)(window,"resize").pipe((0,ye.pQ)(this.destroyRef),(0,Ie.B)(100)).subscribe(m=>this.layout()),this.reset(),this.layout()}layout(){this.menuNavRef&&window.requestAnimationFrame(()=>xe_reflow(this.menuNavRef.nativeElement,this.tree.title))}reset(){this.menuNavRef&&function(_,$){_.removeAttribute("style");const v=Array.from(_.children).filter(m=>!m.classList.contains("debug-div"));for(const m of v)m.removeAttribute("style");delete ge[$]}(this.menuNavRef.nativeElement,this.tree.title)}trackSelect(m){this.analytics.select(m)}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)(e.rXU(W))},this.\u0275cmp=e.VBU({type:$,selectors:[["pwng-desktop-pane-menu"]],viewQuery:function(f,V){if(1&f&&e.GBs(Ee,5),2&f){let ce;e.mGM(ce=e.lsd())&&(V.menuNavRef=ce.first)}},inputs:{menu:"menu"},decls:11,vars:4,consts:[["menuNav",""],["linkAnimate",""],["nodeLink",""],["anchor",""],["pwngScrollLock","",1,"pw-menu","pw-mega-menu-pane","open"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pw-mega-menu-pane__node-header"],[1,"pw-link-animate",3,"click","href"],["aria-hidden","true"],[3,"click","href"]],template:function(f,V){1&f&&(e.j41(0,"section",4),e.nV
1h(1,Ge,2,4,"h2"),e.j41(2,"nav",null,0),e.Z7z(4,X,8,2,"div",null,e.fX1),e.nI1(6,"parentNodes"),e.k0s()(),e.DNE(7,ie,4,3,"ng-template",null,1,e.C5r)(9,pe,3,3,"ng-template",null,2,e.C5r)),2&f&&(e.Y8G("@menuAnimation",void 0),e.R7$(),e.vxM(V.tree.isContainer?-1:1),e.R7$(3),e.Dyx(e.bMT(6,2,V.tree.children)))},dependencies:[O._,w.T3,t],encapsulation:2,data:{animation:[P.q]}}))}return _(),$})();var le=o(710),ae=o(1188);const _e=["aside"],ke=["nav"],Ne=_=>({node:_}),Se=(_,$)=>({node:_,level:$}),We=_=>({level:_}),Qe=()=>({level:0});function Me(_,$){1&_&&e.eu8(0)}function F(_,$){1&_&&e.eu8(0)}function Y(_,$){if(1&_&&(e.j41(0,"li"),e.DNE(1,F,1,0,"ng-container",9),e.k0s()),2&_){const v=$.$implicit,m=e.XpG(2).level;e.XpG();const f=e.sdS(3);e.R7$(),e.Y8G("ngTemplateOutlet",f)("ngTemplateOutletContext",e.l_i(2,Se,v,m+1))}}function N(_,$){if(1&_&&(e.j41(0,"ul"),e.Z7z(1,Y,2,5,"li",null,e.fX1),e.k0s()),2&_){const v=e.XpG().level,m=e.XpG();e.Y8G("@stagger",void 0),e.R7$(),e.Dyx(m.tree[v].children)}}function te(_,$){if(1&_&&(e.j41(0,"nav",7,3)(2,"pwng-heading",8),e.DNE(3,Me,1,0,"ng-container",9),e.k0s(),e.nVh(4,N,3,1,"ul"),e.k0s()),2&_){const v=$.level,m=e.XpG(),f=e.sdS(5);e.Y8G("id","pw-menu-nav-level-"+v),e.R7$(2),e.Y8G("level",v+2),e.R7$(),e.Y8G("ngTemplateOutlet",f)("ngTemplateOutletContext",e.eq3(5,Ne,m.tree[v])),e.R7$(),e.vxM(m.tree[v].isLeaf?-1:4)}}function ee(_,$){if(1&_){const v=e.RV6();e.j41(0,"button",11),e.bIt("click",function(f){E.eBV(v);const V=e.XpG(),ce=V.node,we=V.level,Pe=e.XpG();return E.Njj(Pe.set(ce,we+1,f))}),e.EFF(1),e.k0s()}if(2&_){const v=e.XpG(),m=v.node,f=v.level,V=e.XpG();e.BMQ("aria-expanded",m===V.tree[f])("aria-owns",m===V.tree[f]?"pw-menu-nav-level-"+f:void 0),e.R7$(),e.SpI(" ",m.title," ")}}function b(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",12,4),e.bIt("click",function(){E.eBV(v);const f=e.XpG().node,V=e.XpG();return E.Njj(V.trackSelect(f))}),e.EFF(2),e.k0s()}if(2&_){const v=e.XpG().node;e.Y8G("href",e.mNQ(v.href),e.B4B),e.R7$(2),e.JRh(v.title)}}function j(_,$){1&_&&e.eu8(0)}function A(_,$){if(1&_&&e.DNE(0,j,1,0,"ng-container",9),2&_){const v=e.XpG().level;e.XpG();const m=e.sdS(1);e.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",e.eq3(2,We,v))}}function q(_,$){if(1&_&&(e.nVh(0,ee,2,3,"button"),e.nVh(1,b,3,3,"a",10),e.nVh(2,A,1,4,"ng-container")),2&_){const v=$.node,m=$.level,f=e.XpG();e.vxM(v.isLeaf?-1:0),e.R7$(),e.vxM(v.isLeaf?1:-1),e.R7$(),e.vxM(f.tree[m]===v?2:-1)}}function ue(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",13,4),e.bIt("click",function(){const f=E.eBV(v).node,V=e.XpG();return E.Njj(V.trackSelect(f))}),e.EFF(2),e.nrm(3,"i",14),e.k0s()}if(2&_){const v=$.node;e.Y8G("href",e.mNQ(v.href),e.B4B),e.R7$(2),e.JRh(v.title)}}function ve(_,$){1&_&&e.eu8(0)}function Ve(_,$){if(1&_){const v=e.RV6();e.j41(0,"li")(1,"a",12),e.bIt("click",function(){const f=E.eBV(v).$implicit,V=e.XpG(3);return E.Njj(V.trackSelectAccelerator(f))}),e.nrm(2,"i",14),e.j41(3,"span"),e.EFF(4),e.k0s()()()}if(2&_){const v=$.$implicit;e.R7$(),e.Y8G("href",v.href,e.B4B),e.R7$(),e.HbH(v.icon),e.R7$(2),e.JRh(v.title)}}function Ue(_,$){if(1&_&&(e.j41(0,"aside",16,5)(2,"h3"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"ul"),e.Z7z(6,Ve,5,4,"li",null,e.fX1),e.k0s()()),2&_){const v=e.XpG(2);e.R7$(3),e.JRh(e.bMT(4,1,"features.layout.header.shortcuts")),e.R7$(3),e.Dyx(v.accelerators)}}function ze(_,$){if(1&_&&(e.j41(0,"section",6)(1,"div",15),e.DNE(2,ve,1,0,"ng-container",9),e.k0s(),e.nVh(3,Ue,8,3,"aside",16),e.k0s()),2&_){const v=e.XpG(),m=e.sdS(1);e.Y8G("@menuAnimation",void 0),e.R7$(2),e.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",e.lJ4(4,Qe)),e.R7$(),e.vxM(v.accelerators?.length>0?3:-1)}}let Je=(()=>{var _;class ${set menu(m){m&&this.set(m,1,void 0)}constructor(m,f,V,ce){this.cd=m,this.renderer=f,this.analytics=V,this.translate=ce,this.tree=[],this.accelerators=[],this.destroyRef=(0,E.WQX)(E.abz)}ngAfterViewInit(){this.navs.changes.pipe((0,ye.pQ)(this.destroyRef)).subscribe(()=>this.updateHeight()),this.updateHeight()}updateHeight(){const m=this.navs.toArray().map(we=>we.nativeElement),f=m[0].querySelector("ul"),V=m.slice(1);this.renderer.removeStyle(f,"min-height");const ce=V.length>0?Math.max(...V.map(we=>we.clientHeight)):f.clientHeight;this.renderer.setStyle(f,"min-height",`${ce}px`),this.aside&&this.renderer.setStyle(this.aside.nativeElement,"min-height",`${ce}px`)}set(m,f,V){V&&V.preventDefault();const ce=m===this.tree[f-1];this.tree[f-1]=m,this.tree=this.tree.slice(0,ce?f-1:f),this.accelerators=m.accelerators??[],this.cd.detectChanges(),V&&this.analytics.expand(ce?m.parent:m)}trackSelect(m){this.analytics.select(m)}trackSelectAccelerator(m){const V={...m,parent:{href:"",title:this.translate.getTranslation("features.layout.header.shortcuts"),parent:this.tree[this.tree.length-1]}};this.analytics.select(V)}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)(e.rXU(i.gRc),e.rXU(e.sFG),e.rXU(W),e.rXU(ae.c))},this.\u0275cmp=e.VBU({type:$,selectors:[["pwng-desktop-mega-menu"]],viewQuery:function(f,V){if(1&f&&e.GBs(_e,5)(ke,5),2&f){let ce;e.mGM(ce=e.lsd())&&(V.aside=ce.first),e.mGM(ce=e.lsd())&&(V.navs=ce)}},inputs:{menu:"menu"},decls:7,vars:1,consts:[["navTemplate",""],["nodeTemplate",""],["linkAnimate",""],["nav",""],["anchor",""],["aside",""],["pwngScrollLock","",1,"pw-menu-v2","pw-menu","open"],[3,"id"],[3,"level"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"href"],[3,"click"],[3,"click","href"],[1,"pw-link-animate",3,"click","href"],["aria-hidden","true"],[1,"pw-menu-columns"],[1,"pw-accelerators"]],template:function(f,V){1&f&&(e.DNE(0,te,5,7,"ng-template",null,0,e.C5r)(2,q,3,3,"ng-template",null,1,e.C5r)(4,ue,4,3,"ng-template",null,2,e.C5r),e.nVh(6,ze,4,5,"section",6)
1),2&f&&(e.R7$(6),e.vxM(V.tree[0]?6:-1))},dependencies:[O._,w.T3,le.M,L.D],encapsulation:2,data:{animation:[P.q,P.d]}}))}return _(),$})();const Ze=["li"];function qe(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",7,1),e.bIt("click",function(f){E.eBV(v);const V=e.sdS(1),ce=e.XpG().$implicit,we=e.XpG();return E.Njj(we.set(ce,V,f))}),e.EFF(2),e.k0s()}if(2&_){const v=e.XpG().$implicit,m=e.XpG();e.AVh("menu-item",!0),e.Y8G("href",e.mNQ(v.href),e.B4B),e.BMQ("aria-expanded",m.open&&v===m.root)("aria-current",v.isActive),e.R7$(2),e.JRh(v.title)}}function et(_,$){if(1&_){const v=e.RV6();e.j41(0,"a",8),e.bIt("click",function(){E.eBV(v);const f=e.XpG().$implicit,V=e.XpG();return E.Njj(V.trackSelect(f))}),e.EFF(1),e.k0s()}if(2&_){const v=e.XpG().$implicit;e.AVh("menu-item",!0)("-active",v.isActive),e.Y8G("href",e.mNQ(v.href),e.B4B),e.R7$(),e.JRh(v.title)}}function tt(_,$){if(1&_&&e.nrm(0,"pwng-desktop-mega-menu",9),2&_){const v=e.XpG(3);e.Y8G("@waitForChildAnimations",void 0)("menu",v.root)}}function nt(_,$){if(1&_&&e.nrm(0,"pwng-desktop-pane-menu",9),2&_){const v=e.XpG(3);e.Y8G("menu",v.root)("@waitForChildAnimations",void 0)}}function it(_,$){if(1&_&&(e.nVh(0,tt,1,2,"pwng-desktop-mega-menu",9),e.nVh(1,nt,1,2,"pwng-desktop-pane-menu",9)),2&_){const v=e.XpG(2);e.vxM(v.paneMenu?-1:0),e.R7$(),e.vxM(v.paneMenu?1:-1)}}function ot(_,$){if(1&_){const v=e.RV6();e.j41(0,"li",4,0),e.bIt("focusin",function(){const f=E.eBV(v).$implicit,V=e.XpG();return E.Njj(f!==V.root&&V.menuService.close(!1))}),e.nVh(2,qe,3,7,"a",5),e.nVh(3,et,2,7,"a",6),e.nVh(4,it,2,2),e.k0s()}if(2&_){const v=$.$implicit,m=e.XpG();e.R7$(2),e.vxM(v.isLeaf?-1:2),e.R7$(),e.vxM(v.isLeaf?3:-1),e.R7$(),e.vxM(m.open&&v===m.root?4:-1)}}function st(_,$){if(1&_&&e.nrm(0,"pwng-mobile-menu",3),2&_){const v=e.XpG();e.Y8G("menu",v.menu)("open",v.open)("segmentMenu",v.segmentMenu)("cdkTrapFocus",v.open)("cdkTrapFocusAutoCapture",!1),e.BMQ("aria-modal",v.open?"true":null)}}let at=(()=>{var _;class ${constructor(m,f,V){this.menuService=m,this.analytics=f,this.cd=V,this.paneMenu=!1,this.segmentMenu=!1,this.open=!1,this.collapse=!1}ngAfterViewInit(){this.observeMenuItems()}ngOnDestroy(){this.intersectionObserver?.disconnect()}set(m,f,V){V&&V.preventDefault(),this.menuService.open(f),this.root=m,!this.open&&this.analytics.expand(m)}trackSelect(m){this.analytics.select(m)}observeMenuItems(){const m=this.lis.toArray()[this.lis.length-1];let f={root:document.querySelector(".pw-header-menu"),threshold:1};this.intersectionObserver=new IntersectionObserver(V=>{this.collapse=V.some(ce=>!ce.isIntersecting),this.cd.detectChanges()},f),this.intersectionObserver.observe(m.nativeElement)}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)(e.rXU(J.$),e.rXU(W),e.rXU(i.gRc))},this.\u0275cmp=e.VBU({type:$,selectors:[["pwng-desktop-menu"]],viewQuery:function(f,V){if(1&f&&e.GBs(Ze,5),2&f){let ce;e.mGM(ce=e.lsd())&&(V.lis=ce)}},inputs:{menu:"menu",paneMenu:"paneMenu",segmentMenu:"segmentMenu",open:"open",languages:"languages"},decls:4,vars:2,consts:[["li",""],["elementRef",""],["id","pw-desktop-menu-nav",1,"pw-header-menu__ul"],["role","dialog",3,"menu","open","segmentMenu","cdkTrapFocus","cdkTrapFocusAutoCapture"],[3,"focusin"],["aria-haspopup","true",3,"href","menu-item"],[3,"href","menu-item","-active"],["aria-haspopup","true",3,"click","href"],[3,"click","href"],[3,"menu"]],template:function(f,V){1&f&&(e.j41(0,"ul",2),e.Z7z(1,ot,5,3,"li",null,e.fX1),e.k0s(),e.nVh(3,st,1,6,"pwng-mobile-menu",3)),2&f&&(e.BMQ("aria-hidden",V.collapse),e.R7$(),e.Dyx(V.menu.children),e.R7$(2),e.vxM(V.collapse?3:-1))},dependencies:[Je,oe,I,R.Pd,R.kB],encapsulation:2,data:{animation:[(0,l.hZ)("waitForChildAnimations",[(0,l.kY)("* => void",[(0,l.P)("@*",[(0,l.MA)()],{optional:!0})])])]}}))}return _(),$})();function rt(_,$){if(1&_){const v=e.RV6();e.j41(0,"pwng-desktop-menu",2),e.nI1(1,"async"),e.bIt("doClose",function(){E.eBV(v);const f=e.XpG(2);return E.Njj(f.close())}),e.k0s()}if(2&_){const v=e.XpG(),m=e.XpG();e.Y8G("menu",v)("open",e.bMT(1,5,m.menuService.isOpen$))("paneMenu",m.paneMenu)("segmentMenu",m.segmentMenu)("languages",m.languages)}}function lt(_,$){if(1&_&&(e.nrm(0,"pwng-mobile-menu",1),e.nI1(1,"async"),e.nI1(2,"async"),e.nI1(3,"async")),2&_){const v=e.XpG(),m=e.XpG();e.Y8G("menu",v)("open",e.bMT(1,6,m.menuService.isOpen$))("segmentMenu",m.segmentMenu)("cdkTrapFocus",e.bMT(2,8,m.menuService.isOpen$))("cdkTrapFocusAutoCapture",!1),e.BMQ("aria-modal",e.bMT(3,10,m.menuService.isOpen$)?"true":null)}}function ct(_,$){if(1&_&&(e.nVh(0,rt,2,7,"pwng-desktop-menu",0),e.nI1(1,"async"),e.nVh(2,lt,4,12,"pwng-mobile-menu",1),e.nI1(3,"async")),2&_){const v=e.XpG();e.vxM(e.bMT(1,2,v.isMobile$)?-1:0),e.R7$(2),e.vxM(e.bMT(3,4,v.isMobile$)?2:-1)}}let dt=(()=>{var _;class ${set paneMenu(m){this._usePaneMenu="false"!==(""+m).toLowerCase()}get paneMenu(){return this._usePaneMenu}set segmentMenu(m){this._useSegmentMenu="false"!==(""+m).toLowerCase()}get segmentMenu(){return this._useSegmentMenu}set languages(m){this._languages=JSON.parse(m)}get languages(){return this._languages}constructor(m,f){this.menuService=m,this.languageSelectorService=f,this._usePaneMenu=!1,this._useSegmentMenu=!1}ngOnInit(){this.isMobile$=(0,c.R)(window,"resize").pipe((0,n.Z)(window.innerWidth<=1200),(0,r.T)(()=>window.innerWidth<=1200),(0,s.F)(),(0,a.M)(()=>this.menuService.close())),this.menu$=this.menuService.getMenu(parseInt(this.rootId,10),this.language,this.version),this.languageSelectorService.initialize(this.languages,this.currentUrl)}static#e=_=()=>(this.\u0275fac=function(f){return new(f||$)(e.rXU(J.$),e.rXU(S.z))},this.\u0275cmp=e.VBU({type:$,selectors:[["pwng-menu"]],inputs:{rootId:"rootId",language:"language",version:"version",currentUrl:"currentUrl",paneMenu:"paneMenu",segmentMenu:"segmentMenu",languages:"languages"},features:[e.Jv_([S.z])],decls:2,vars:3,consts:[[3,"menu","open","paneMenu","segmentMenu","languages"],["role","dialog",3,"menu","open","segmentMenu","cdkTrapFocus","cdkTrapFocusAutoCapture"],[3,"doClose","menu","open","paneMenu","segmentMenu","languages"]],template:function(f,V){if(1&f&&(e.nVh(0,ct,4,6),e.nI1(1,"async")),2&f){let ce;e.vxM((ce=e.bMT(1,1,V.menu$))?0:-1,ce)}},dependencies:[at,I,R.Pd,R.kB,w.Jj],encapsulation:2}))}return _(),$})()},6730(re,K,o){o.d(K,{w:()=>G});var w=o(7266),c=o(8173),n=o(9769),r=o(7705),s=o(6089);const a=M=>({node:M,level:1}),l=(M,R)=>({node:M,level:R});function e(M,R){1&M&&s.eu8(0)}function t(M,R){if(1&M){const i=s.RV6();s.j41(0,"button",8),s.bIt("click",function(){w.eBV(i);const p=s.XpG().$implicit,Z=s.XpG().level,D=s.XpG();return w.Njj(D.set(p,Z-1))}),s.k0s()}if(2&M){const i=s.XpG().$implicit,S=s.XpG().level,p=s.XpG();s.BMQ("aria-expanded",i===p.tree[S-1]?"true":"false")("aria-owns",i===p.tree[S-1]?"pw-subnav-list-"+i.title:void 0)}}function L(M,R){1&M&&s.eu8(0)}function H(M,R){if(1&M&&(s.j41(0,"ul",7),s.DNE(1,L,1,0,"ng-container",3),s.k0s()),2&M){const i=s.XpG().$implicit,S=s.XpG().level;s.XpG();const p=s.sdS(3);s.Y8G("@expandAnimation",void 0)("id","pw-subnav-list-"+i.title),s.R7$(),s.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",s.l_i(4,l,i,S+1))}}function O(M,R){if(1&M){const i=s.RV6();s.j41(0,"li")(1,"div")(2,"a",5,1),s.bIt("click",function(){const p=w.eBV(i).$implicit,Z=s.XpG(2);return w.Njj(Z.select(p))}),s.EFF(4),s.k0s(),s.nVh(5,t,1,2,"button",6),s.k0s(),s.nVh(6,H,2,7,"ul",7),s.k0s()}if(2&M){const i=R.$implicit,S=s.XpG().level,p=s.XpG();s.AVh("-active",i.isActive)("-expanded",i===p.tree[S-1]),s.R7$(2),s.Y8G("href",s.mNQ(i.href),s.B4B),s.R7$(2),s.JRh(i.title),s.R7$(),s.vxM(i.children.length>0?5:-1),s.R7$(),s.vxM(i===p.tree[S-1]?6:-1)}}function E(M,R){1&M&&s.Z7z(0,O,7,9,"li",4,s.fX1),2&M&&s.Dyx(R.node.children)}let G=(()=>{var M;class R{set menu(S){this.root=S;const p=(Z,D=0)=>{const Q=Z.children.find(z=>z.isActive);Q&&(this.set(Q,D,!1),p(Q,D+1))};p(this.root)}constructor(S){this.cd=S,this.expanded=new w.bkB,this.selected=new w.bkB,this.tree=[]}set(S,p,Z=!0){const D=this.tree[p]===S;this.tree=this.tree.slice(0,p),!D&&S.children.length>0&&this.tree.push(S),this.cd.detectChanges(),Z&&this.expanded.emit(D?S.parent:S)}select(S){this.selected.emit(S)}static#e=M=()=>(this.\u0275fac=function(p){return new(p||R)(s.rXU(r.gRc))},this.\u0275cmp=s.VBU({type:R,selectors:[["pwng-sub-navigation-tree"]],inputs:{menu:"menu"},outputs:{expanded:"expanded",selected:"selected"},decls:4,vars:4,consts:[["recursiveNode",""],["anchor",""],[1,"pw-sub-navigation-tree"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"-active","-expanded"],[3,"click","href"],[1,"pw-sub-navigation-tree__expand-button"],[3,"id"],[1,"pw-sub-navigation-tree__expand-button",3,"click"]],template:function(p,Z){if(1&p&&(s.j41(0,"ul",2),s.DNE(1,e,1,0,"ng-container",3),s.k0s(),s.DNE(2,E,2,0,"ng-template",null,0,s.C5r)),2&p){const D=s.sdS(3);s.R7$(),s.Y8G("ngTemplateOutlet",D)("ngTemplateOutletContext",s.eq3(2,a,Z.root))}},dependencies:[n.T3],encapsulation:2,data:{animation:[(0,c.hZ)("expandAnimation",[(0,c.kY)(":enter",[(0,c.iF)({height:0}),(0,c.i0)("500ms ease",(0,c.iF)({height:"*"}))]),(0,c.kY)(":leave",[(0,c.iF)({height:"*"}),(0,c.i0)("500ms ease",(0,c.iF)({height:0}))])])]}}))}return M(),R})()},2090(re,K,o){o.d(K,{SubNavigationComponent:()=>l});var w=o(9769),c=o(6354),n=o(6730),r=o(6089),s=o(9528);function a(e,t){if(1&e&&(r.j41(0,"nav",0)(1,"h4",1),r.EFF(2),r.k0s(),r.nrm(3,"pwng-sub-navigation-tree",2),r.k0s()),2&e){const L=t;r.R7$(2),r.JRh(L.title),r.R7$(),r.Y8G("menu",L)}}let l=(()=>{var e;class t{constructor(H){this.menuService=H}ngOnInit(){this.menu$=this.menuService.getActiveMenu().pipe((0,c.T)(H=>H.children.find(O=>O.isActive)?.children.find(O=>O.isActive)))}static#e=e=()=>(this.\u0275fac=function(O){return new(O||t)(r.rXU(s.$))},this.\u0275cmp=r.VBU({type:t,selectors:[["pwng-sub-navigation"]],decls:2,vars:3,consts:[[1,"pw-sub-navigation"],[1,"pw-sub-navigation__heading"],[3,"menu"]],template:function(O,E){if(1&O&&(r.nVh(0,a,4,2,"nav",0),r.nI1(1,"async")),2&O){let G;r.vxM((G=r.bMT(1,1,E.menu$))?0:-1,G)}},dependencies:[n.w,w.Jj],encapsulation:2}))}return e(),t})()},5894(re,K,o){o.d(K,{NewsFeedBlockComponent:()=>x});var w=o(9769),c=o(4572),n=o(6354),r=o(3068),s=o(699),a=o(8339),l=o(5785),e=o(6987),t=o(
17673),L=o(9437),H=o(4823),O=o(7266),E=o(6795);let M=(()=>{var g;class T{constructor(P){this.http=P}getBlockContent(P,U,se){const me=(0,H.Go)({offset:0,pageSize:5,regulatoryOnly:!1},se);return this.http.get(`/api/newsfeedblock/${P}/${U}?${me}`).pipe((0,n.T)(ge=>{const Oe=ge.heading?.trim()?ge.heading:null,{link:xe,items:ye}=ge;return{heading:Oe,link:xe,topNews:ye.find(Ce=>Ce.topNews)||null,news:ye.filter(Ce=>!Ce.topNews),apiError:!1}}),(0,L.W)(ge=>(console.error("Failed to fetch news feed block:",ge),(0,t.of)({heading:null,link:{openInNewWindow:!1,title:null,url:null},topNews:null,news:[],apiError:!0}))))}static#e=g=()=>(this.\u0275fac=function(U){return new(U||T)(O.KVO(E.Qq))},this.\u0275prov=O.jDH({token:T,factory:T.\u0275fac}))}return g(),T})();var R=o(1624),i=o(6089),S=o(7705),p=o(9189);function Z(g,T){if(1&g&&(i.j41(0,"gds-text-pw",4),i.EFF(1),i.k0s()),2&g){const I=i.XpG(2);i.R7$(),i.JRh(I.heading)}}function D(g,T){if(1&g){const I=i.RV6();i.j41(0,"div",5)(1,"gds-button-pw",13),i.nI1(2,"translate"),i.bIt("click",function(U){O.eBV(I),i.XpG();const se=i.sdS(8),he=i.XpG(2);return O.Njj(he.handleCarouselPrevious(U,se))}),i.nrm(3,"gds-icon-chevron-left-pw"),i.k0s(),i.j41(4,"gds-button-pw",13),i.nI1(5,"translate"),i.bIt("click",function(U){O.eBV(I),i.XpG();const se=i.sdS(8),he=i.XpG(2);return O.Njj(he.handleCarouselNext(U,se))}),i.nrm(6,"gds-icon-chevron-right-pw"),i.k0s()()}if(2&g){const I=i.XpG(3);i.R7$(),i.BMQ("disabled",I.isCarouselAtBeginning?"":null)("label",i.bMT(2,4,"features.pagination.previous")),i.R7$(3),i.BMQ("disabled",I.isCarouselAtEnd?"":null)("label",i.bMT(5,6,"features.pagination.next"))}}function Q(g,T){if(1&g&&(i.j41(0,"gds-link-pw",6),i.EFF(1),i.k0s()),2&g){const I=i.XpG(2);i.BMQ("href",I.link.url)("label",I.link.title)("target",I.link.openInNewWindow?"_blank":null),i.R7$(),i.JRh(I.link.title)}}function z(g,T){if(1&g&&(i.nrm(0,"pwng-picture",20),i.j41(1,"gds-text-pw",21),i.EFF(2),i.nI1(3,"translate"),i.k0s()),2&g){i.XpG();const I=i.r8f(0);i.Y8G("picture",I),i.R7$(2),i.JRh(i.bMT(3,2,"features.blocks.newsfeed.topnews"))}}function J(g,T){if(1&g){const I=i.RV6();i.SS7(0),i.j41(1,"div",14),i.bIt("mouseOverEvent",function(U){O.eBV(I);const se=i.XpG(3);return O.Njj(se.handleMouseOverCarouselItem(U))})("mouseOutEvent",function(U){O.eBV(I);const se=i.XpG(3);return O.Njj(se.handleMouseOutCarouselItem(U))}),i.nVh(2,z,4,4),i.j41(3,"div",15)(4,"div",16)(5,"gds-text-pw",17),i.EFF(6),i.nI1(7,"date"),i.k0s(),i.j41(8,"gds-text-pw",18),i.EFF(9),i.k0s()(),i.j41(10,"gds-button-pw",19,1),i.nrm(12,"gds-icon-arrow-right-pw"),i.k0s()()()}if(2&g){const I=i.sdS(11);i.XpG(2);const P=i.r8f(1),U=i.bH3(P.carouselPicture);i.R7$(),i.Y8G("pwng-clickable-card",I),i.R7$(),i.vxM(U?2:-1),i.R7$(4),i.JRh(i.i5U(7,7,P.date,"longDate")),i.R7$(3),i.JRh(P.heading),i.R7$(),i.BMQ("href",P.href)("label",P.heading)}}function W(g,T){if(1&g&&(i.nrm(0,"pwng-picture",20),i.j41(1,"gds-text-pw",21),i.EFF(2),i.nI1(3,"translate"),i.k0s()),2&g){i.XpG();const I=i.r8f(0);i.Y8G("picture",I),i.R7$(2),i.JRh(i.bMT(3,2,"features.blocks.newsfeed.topnews"))}}function ne(g,T){if(1&g){const I=i.RV6();i.SS7(0),i.j41(1,"li",22),i.bIt("mouseOverEvent",function(U){O.eBV(I);const se=i.XpG(3);return O.Njj(se.handleMouseOverCarouselItem(U))})("mouseOutEvent",function(U){O.eBV(I);const se=i.XpG(3);return O.Njj(se.handleMouseOutCarouselItem(U))}),i.j41(2,"div",23),i.bIt("mouseOverEvent",function(U){O.eBV(I);const se=i.XpG(3);return O.Njj(se.handleMouseOverCarouselItem(U))})("mouseOutEvent",function(U){O.eBV(I);const se=i.XpG(3);return O.Njj(se.handleMouseOutCarouselItem(U))}),i.nVh(3,W,4,4),i.j41(4,"div",15)(5,"div",16)(6,"gds-text-pw",17),i.EFF(7),i.nI1(8,"date"),i.k0s(),i.j41(9,"gds-text-pw",24),i.EFF(10),i.k0s()(),i.j41(11,"gds-button-pw",19,1),i.nrm(13,"gds-icon-arrow-right-pw"),i.k0s()()()()}if(2&g){const I=i.sdS(12);i.XpG(2);const P=i.r8f(1),U=i.bH3(P.carouselPicture);i.R7$(),i.Y8G("pwng-clickable-card",I),i.R7$(2),i.vxM(U?3:-1),i.R7$(4),i.JRh(i.i5U(8,7,P.date,"longDate")),i.R7$(3),i.JRh(P.heading),i.R7$(),i.BMQ("href",P.href)("label",P.heading)}}function C(g,T){if(1&g){const I=i.RV6();i.j41(0,"div",27),i.bIt("mouseOverEvent",function(U){O.eBV(I);const se=i.XpG(4);return O.Njj(se.handleMouseOverCarouselItem(U))})("mouseOutEvent",function(U){O.eBV(I);const se=i.XpG(4);return O.Njj(se.handleMouseOutCarouselItem(U))}),i.nrm(1,"pwng-picture",20),i.j41(2,"div",15)(3,"div",16)(4,"gds-text-pw",17),i.EFF(5),i.nI1(6,"date"),i.k0s(),i.j41(7,"gds-text-pw",18),i.EFF(8),i.k0s()(),i.j41(9,"gds-button-pw",28,1),i.nrm(11,"gds-icon-arrow-right-pw"),i.k0s()()()}if(2&g){const I=i.sdS(10),P=i.XpG().$implicit,U=i.r8f(0);i.Y8G("pwng-clickable-card",I),i.R7$(),i.Y8G("picture",U),i.R7$(4),i.JRh(i.i5U(6,6,P.date,"longDate")),i.R7$(3),i.JRh(P.heading),i.R7$(),i.BMQ("href",P.href)("label",P.heading)}}function y(g,T){if(1&g){const I=i.RV6();i.j41(0,"gds-card-pw",29),i.bIt("mouseOverEvent",function(U){O.eBV(I);const se=i.XpG(4);return O.Njj(se.handleMouseOverCarouselItem(U))})("mouseOutEvent",function(U){O.eBV(I);const se=i.XpG(4);return O.Njj(se.handleMouseOutCarouselItem(U))}),i.j41(1,"div",15)(2,"div",16)(3,"gds-text-pw",17),i.EFF(4),i.nI1(5,"date"),i.k0s(),i.j41(6,"gds-text-pw",18),i.EFF(7),i.k0s()(),i.j41(8,"gds-button-pw",28,1),i.nrm(10,"gds-icon-arrow-right-pw"),i.k0s()()()}if(2&g){const I=i.sdS(9),P=i.XpG().$implicit;i.Y8G("pwng-clickable-card",I),i.R7$(4),i.JRh(i.i5U(5,5,P.date,"longDate")),i.R7$(3),i.JRh(P.heading),i.R7$(),i.BMQ("href",P.href)("label",P.heading)}}function u(g,T){if(1&g&&(i.SS7(0),i.j41(1,"li",10),i.nVh(2,C,12,9,"div",25)(3,y,11,8,"gds-card-pw",26),i.k0s()),2&g){const P=i.bH3(T.$implicit.carouselPicture);i.R7$(2),i.vxM(P?2:3)}}function h(g,T){if(1&g&&i.nrm(0,"pwng-slide-indicator",11),2&g){const I=i.XpG(2),P=i.XpG();i.Y8G("total",I.news.length)("activeSlideIndex",P.activeSlideIndex)}}function k(g,T){if(1&g&&(i.j41(0,"div",12)(1,"gds-link-pw",6),i.EFF(2),i.k0s()()),2&g){const I=i.XpG(2);i.R7$(),i.BMQ("href",I.link.url)("target",I.link.openInNewWindow?"_blank":null),i.R7$(),i.JRh(I.link.title)}}function d(g,T){if(1&g){const I=i.RV6();i.j41(0,"section",2)(1,"div",3)(2,"div"),i.nVh(3,Z,2,1,"gds-text-pw",4),i.nVh(4,D,7,8,"div",5),i.k0s(),i.nVh(5,Q,2,4,"gds-link-pw",6),i.k0s(),i.nVh(6,J,13,10,"div",7),i.j41(7,"ol",8,0),i.bIt("scroll",function(){O.eBV(I);const U=i.sdS(8),se=i.XpG(2);return O.Njj(se.handleCarouselScroll(U))})("intersection",function(U){O.eBV(I);const se=i.XpG(2);return O.Njj(se.handleIntersection(U))}),i.nVh(9,ne,14,10,"li",9),i.Z7z(10,u,4,2,"li",10,i.Vm6),i.k0s(),i.nVh(12,h,1,2,"pwng-slide-indicator",11),i.nVh(13,k,3,3,"div",12),i.k0s()}if(2&g){const I=i.XpG(),P=i.r8f(0),U=i.r8f(1);i.R7$(2),i.HbH(i.VkB("pw-news-feed__header-content",I.link.title?"":" pw-news-feed__header-content--full-width")),i.R7$(),i.vxM(I.heading?3:-1),i.R7$(),i.vxM(P?4:-1),i.R7$(),i.vxM(P&&I.link.title?5:-1),i.R7$(),i.vxM(!P&&U?6:-1),i.R7$(3),i.vxM(P&&U?9:-1),i.R7$(),i.Dyx(I.news),i.R7$(2),i.vxM(P?-1:12),i.R7$(),i.vxM(!P&&I.link.title?13:-1)}}function B(g,T){if(1&g&&(i.SS7(0)(1),i.nVh(2,d,14,10,"section",2)),2&g){const I=T;i.bH3(I.isWideViewport),i.R7$(),i.bH3(I.topNews),i.R7$(),i.vxM(I.apiError?-1:2)}}let x=(()=>{var g;class T{constructor(P,U,se){this.cd=P,this.newsBlockService=U,this.mediaQueryService=se,this.activeSlideIndex=0,this.isCarouselAtEnd=!1,this.isCarouselAtBeginning=!0}ngOnInit(){const P=this.mediaQueryService.matchMedia("(min-width: 769px)"),U=this.newsBlockService.getBlockContent(parseInt(this.blockId,10),this.language,{pageSize:parseInt(this.pageSize,10)});this.newsFeedData$=(0,c.z)([P,U]).pipe((0,n.T)(([se,{heading:he,link:me,news:fe,topNews:ge,apiError:Oe}])=>({isWideViewport:se,heading:he,link:me,news:fe,topNews:ge,apiError:Oe})))}handleCarouselScroll(P){const se=P.scrollLeft+P.clientWidth>=P.scrollWidth-2,he=P.scrollLeft<=2;let me=!1;this.isCarouselAtEnd!==se&&(this.isCarouselAtEnd=se,me=!0),this.isCarouselAtBeginning!==he&&(this.isCarouselAtBeginning=he,me=!0),me&&this.cd.detectChanges()}handleIntersection(P){this.activeSlideIndex=P,this.cd.detectChanges()}handleCarouselPrevious(P,U){P.stopPropagation(),U&&U.scrollBy({left:-U.clientWidth,behavior:"smooth"})}handleCarouselNext(P,U){P.stopPropagation(),U&&U.scrollBy({left:U.clientWidth,behavior:"smooth"})}handleMouseOverCarouselItem(P){const U=P?.querySelector("gds-button-pw");U&&U.setAttribute("data-hovered","true")}handleMouseOutCarouselItem(P){const U=P?.querySelector("gds-button-pw");U&&U.setAttribute("data-hovered","false")}static#e=g=()=>(this.\u0275fac=function(U){return new(U||T)(i.rXU(S.gRc),i.rXU(M),i.rXU(p.M))},this.\u0275cmp=i.VBU({type:T,selectors:[["pwng-news-feed-block"]],inputs:{blockId:"blockId",language:"language",pageSize:"pageSize"},features:[i.Jv_([M])],decls:2,vars:3,consts:[["carousel",""],["link",""],[1,"pw-news-feed__container"],[1,"pw-news-feed__header"],["tag","h2","font","heading-l"],[1,"pw-news-feed__controls"],["text-decoration","underline"],["pwngMouseOverOut","",1,"pw-news-feed__item","pw-news-feed__top-news",3,"pwng-clickable-card"],["pwngObserveVisibility","",1,"pw-news-feed__carousel","scroll-container",3,"scroll","intersection"],["pwngMouseOverOut","",1,"pw-news-feed__slide","pw-news-feed__top-news",3,"pwng-clickable-card"],["pwngObserveChild","",1,"pw-news-feed__slide"],[1,"pw-news-feed__indicator",3,"total","activeSlideIndex"],[1,"pw-news-feed__link"],["rank","secondary","size","small","variant","neutral",3,"click"],["pwngMouseOverOut","",1,"pw-news-feed__item","pw-news-feed__top-news",3,"mouseOverEvent","mouseOutEvent","pwng-clickable-card"],[1,"pw-news-feed__item-content"],[1,"pw-news-feed__item-editorial"],["color","neutral-02","font","detail-s-book"],["tag","h3","font","heading-s"],["size","large","rank","tert
1iary","variant","neutral",1,"pw-news-feed__item-button"],[3,"picture"],["font","detail-s-book",1,"pw-news-feed__badge"],["pwngMouseOverOut","",1,"pw-news-feed__slide","pw-news-feed__top-news",3,"mouseOverEvent","mouseOutEvent","pwng-clickable-card"],["pwngMouseOverOut","",1,"pw-news-feed__item",3,"mouseOverEvent","mouseOutEvent"],["tag","h3","font","heading-l"],["pwngMouseOverOut","",1,"pw-news-feed__item",3,"pwng-clickable-card"],["variant","neutral-02-outlined","padding","0 4xl xl xl","pwngMouseOverOut","","border-radius","xs",1,"pw-news-feed__item","pw-news-feed__item--pictureless",3,"pwng-clickable-card"],["pwngMouseOverOut","",1,"pw-news-feed__item",3,"mouseOverEvent","mouseOutEvent","pwng-clickable-card"],["size","small","rank","tertiary","variant","neutral",1,"pw-news-feed__item-button"],["variant","neutral-02-outlined","padding","0 4xl xl xl","pwngMouseOverOut","","border-radius","xs",1,"pw-news-feed__item","pw-news-feed__item--pictureless",3,"mouseOverEvent","mouseOutEvent","pwng-clickable-card"]],template:function(U,se){if(1&U&&(i.nVh(0,B,3,3),i.nI1(1,"async")),2&U){let he;i.vxM((he=i.bMT(1,1,se.newsFeedData$))?0:-1,he)}},dependencies:[e.k,a.z,l.w,l.g,r.u,R.W,w.Jj,w.vh,s.D],styles:[".pw-news-feed__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.pw-news-feed__header-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;column-gap:2rem;width:auto}.pw-news-feed__header-content--full-width[_ngcontent-%COMP%]{width:100%}.pw-news-feed__controls[_ngcontent-%COMP%]{display:flex;column-gap:.75rem}.pw-news-feed__container[_ngcontent-%COMP%]{display:grid;--%NS%full: minmax(var(--%NS%pw-container-padding-inline), 1fr);--%NS%content: min(90rem, 100% - var(--%NS%pw-container-padding-inline) * 2);grid-template-columns:[full-start] var(--%NS%full) [content-start] var(--%NS%content) [content-end] var(--%NS%full) [full-end];row-gap:.75rem}.pw-news-feed__container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{grid-column:content}.pw-news-feed__container[_ngcontent-%COMP%] > .pw-news-feed__carousel[_ngcontent-%COMP%]{grid-column:full;padding-inline:var(--%NS%pw-container-padding-inline)}.pw-news-feed__carousel[_ngcontent-%COMP%]{margin:0;display:flex;flex-direction:row;column-gap:1.5rem;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;margin-block-start:0;margin-block-end:0}.pw-news-feed__carousel[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:75vw;margin:0;padding:0;list-style:none}.pw-news-feed__slide[_ngcontent-%COMP%]{flex-shrink:0;scroll-snap-align:center;position:relative}.pw-news-feed__slide[_ngcontent-%COMP%]:before{content:none}.pw-news-feed__item[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start;--%NS%pw-picture-img-border-radius: var(--%NS%gds-sys-radius-xs)}.pw-news-feed__item[_ngcontent-%COMP%]:hover{cursor:pointer}.pw-news-feed__item--pictureless[_ngcontent-%COMP%]{justify-content:flex-end;min-height:20.25rem;height:100%;max-height:78%}.pw-news-feed__item--pictureless[_ngcontent-%COMP%] .pw-news-feed__item-content[_ngcontent-%COMP%]{padding:0}.pw-news-feed__item-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;padding:1rem .5rem;row-gap:1rem}.pw-news-feed__item-editorial[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:.5rem}.pw-news-feed__top-news[_ngcontent-%COMP%]{position:relative}.pw-news-feed__top-news[_ngcontent-%COMP%] .pw-news-feed__item-content[_ngcontent-%COMP%]{padding:1.5rem 1rem;row-gap:1rem}.pw-news-feed__badge[_ngcontent-%COMP%]{background-color:var(--%NS%gds-sys-color-l1-neutral-01, white);position:absolute;inset:1rem auto auto 1rem;border-radius:1rem;padding:6px 8px}.pw-news-feed__indicator[_ngcontent-%COMP%]{padding-top:.75rem}.pw-news-feed__link[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:.5rem 0;margin-top:3.375rem}@media(min-width:769px){.pw-news-feed__header[_ngcontent-%COMP%]{margin-bottom:.75rem}.pw-news-feed__container[_ngcontent-%COMP%] > .pw-news-feed__carousel[_ngcontent-%COMP%]{grid-column:content;padding-inline:0}.pw-news-feed__slide[_ngcontent-%COMP%]{max-width:20rem}.pw-news-feed__item--pictureless[_ngcontent-%COMP%]{height:auto;max-height:unset}.pw-news-feed__top-news.pw-news-feed__slide[_ngcontent-%COMP%]{max-width:27rem}
1.pw-news-feed__carousel[_ngcontent-%COMP%]:not(:has(.pw-news-feed__top-news)) .pw-news-feed__slide[_ngcontent-%COMP%]{max-width:22rem}.pw-news-feed__badge[_ngcontent-%COMP%]{inset:1.5rem auto auto 1.5rem}}"]}))}return g(),T})()},4114(re,K,o){o.d(K,{NewsListComponent:()=>ne});var w=o(9769),c=o(6776),n=o(4839),r=o(6354),s=o(699),a=o(4134),l=o(1624),e=o(6089);function t(C,y){if(1&C&&e.nrm(0,"pwng-picture",1),2&C){const u=e.XpG();e.Y8G("picture",u.picture)}}function L(C,y){if(1&C&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&C){const u=e.XpG();e.R7$(),e.JRh(u.label)}}function H(C,y){if(1&C&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&C){const u=e.XpG(2);e.R7$(),e.JRh(e.i5U(2,1,u.isoDate,"longDate"))}}function O(C,y){if(1&C&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&C){const u=e.XpG(2);e.R7$(),e.JRh(e.i5U(2,1,u.isoDate,"shortTime"))}}function E(C,y){if(1&C&&(e.j41(0,"time",4),e.nVh(1,H,3,4,"span"),e.nVh(2,O,3,4,"span"),e.k0s()),2&C){const u=e.XpG();e.Y8G("dateTime",u.isoDate),e.R7$(),e.vxM(u.showDate?1:-1),e.R7$(),e.vxM(u.showTime?2:-1)}}function G(C,y){if(1&C&&(e.j41(0,"span",5),e.EFF(1),e.k0s()),2&C){const u=e.XpG();e.R7$(),e.JRh(u.readTime)}}function M(C,y){if(1&C&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&C){const u=e.XpG();e.R7$(),e.JRh(u.summary)}}let R=(()=>{var C;class y extends a.T{static#e=C=()=>(this.\u0275fac=(()=>{let h;return function(d){return(h||(h=e.xGo(y)))(d||y)}})(),this.\u0275cmp=e.VBU({type:y,selectors:[["pwng-top-article-item"]],features:[e.Vt3],decls:13,vars:8,consts:[[1,"pw-related-large","pw-related-large--right","pw-container","pw-mobile-clear-padding","pw-page-listing__top-news"],[3,"picture"],[1,"pw-related-large__content-box"],[1,"pw-page-features","pw-page-features--small"],[1,"--dark",3,"dateTime"],[1,"pw-page-features__time-to-read"],[1,"pw-related-large__heading"],[1,"pw-link-animate",3,"click","href","target"],["aria-hidden","true"],[1,"pw-related-large__body"]],template:function(k,d){1&k&&(e.j41(0,"section",0),e.nVh(1,t,1,1,"pwng-picture",1),e.j41(2,"div",2)(3,"div",3),e.nVh(4,L,2,1,"span"),e.nVh(5,E,3,3,"time",4),e.nVh(6,G,2,1,"span",5),e.k0s(),e.j41(7,"h3",6)(8,"a",7),e.bIt("click",function(){return d.onClickHref()}),e.EFF(9),e.nrm(10,"i",8),e.k0s()(),e.j41(11,"div",9),e.nVh(12,M,2,1,"p"),e.k0s()()()),2&k&&(e.R7$(),e.vxM(d.picture&&d.showImage?1:-1),e.R7$(3),e.vxM(d.showLabel&&d.label?4:-1),e.R7$(),e.vxM(d.isoDate&&(d.showDate||d.showTime)?5:-1),e.R7$(),e.vxM(d.showReadTime&&d.readTime?6:-1),e.R7$(2),e.Y8G("href",d.href,e.B4B)("target",d.target),e.R7$(),e.JRh(d.heading),e.R7$(3),e.vxM(d.showSummary&&d.summary?12:-1))},dependencies:[l.W,w.vh],styles:[".pw-related-large[_ngcontent-%COMP%]{position:relative}.pw-related-large[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;z-index:-2;object-fit:cover}"]}))}return C(),y})();var i=o(4341),S=o(7266),p=o(1188);function Z(C,y){if(1&C&&(e.j41(0,"gds-option-pw",6),e.EFF(1),e.k0s()),2&C){const u=y.$implicit;e.Y8G("value",u.value),e.R7$(),e.JRh(u.label)}}function D(C,y){if(1&C){const u=e.RV6();e.j41(0,"div",1)(1,"div",4)(2,"gds-theme-pw")(3,"gds-dropdown-pw",5),e.nI1(4,"translate"),e.bIt("change",function(k){S.eBV(u);const d=e.XpG();return d.selectedYear=k.detail.value,S.Njj(d.changeYear())}),e.Z7z(5,Z,2,2,"gds-option-pw",6,e.fX1),e.k0s()()()()}if(2&C){const u=e.XpG();e.R7$(3),e.Y8G("label",e.bMT(4,3,"features.blocks.newslist.chooseyear"))("id","news-list-page-year"+(u.name?"-"+u.name:""))("value",u.selectedYear),e.R7$(2),e.Dyx(u.options)}}function Q(C,y){if(1&C&&e.nrm(0,"pwng-top-article-item",7),2&C){const u=e.XpG(),h=e.XpG();e.Y8G("heading",u.topNews.heading)("summary",u.topNews.summary)("label",u.topNews.category)("isoDate",u.topNews.date)("readTime",u.topNews.minutesToReadText)("href",u.topNews.href)("picture",u.topNews.picture)("skeleton",u.topNews.skeleton)("showDate",h.showDate)("showTime",h.showTime)("showReadTime",h.showReadTime)("showImage",h.showImage)("showSummary",h.showSummary)}}function z(C,y){if(1&C&&e.nrm(0,"pwng-article-item",9),2&C){const u=y.$implicit,h=y.$index,k=e.XpG(2);e.Y8G("heading",u.heading)("summary",u.summary)("label",u.category)("isoDate",u.date)("readTime",u.minutesToReadText)("href",u.href)("picture",u.picture)("skeleton",u.skeleton)("showDate",k.showDate)("showTime",k.showTime)("showReadTime",k.showReadTime)("showImage",k.showImage)("showSummary",k.showSummary)("showLabel",k.showLabel)("lightTheme",k.lightTheme)("focus",k.shouldFocus(h))}}function J(C,y){if(1&C&&(e.nVh(0,Q,1,13,"pwng-top-article-item",7),e.j41(1,"div",8),e.Z7z(2,z,1,16,"pwng-article-item",9,e.fX1),e.k0s()),2&C){const u=y;
1e.vxM(u.topNews?0:-1),e.R7$(),e.AVh("pw-top-listing-included",!!u.topNews),e.R7$(),e.Dyx(u.news)}}function W(C,y){if(1&C){const u=e.RV6();e.j41(0,"gds-theme-pw",3)(1,"gds-button-pw",10),e.bIt("click",function(){S.eBV(u);const k=e.XpG();return S.Njj(k.loadMore())}),e.nrm(2,"gds-icon-arrow-down-pw",11),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()}2&C&&(e.R7$(4),e.JRh(e.bMT(5,1,"common.showmore")))}let ne=(()=>{var C;class y extends c.Q{set years(h){this._years=h.split(",")}get years(){return this._years.join(",")}constructor(h,k){super(h),this._queryService=h,this.translate=k,this.lightTheme=!1,this._years=[],this.selectedYear="all"}ngOnInit(){this._queryService.id=this.name,this._queryService.rehydrate=!0,super.ngOnInit(),this.options=[...this._years.map(h=>({label:h,value:h})),{label:this.translate.getTranslation("features.blocks.newslist.allyears"),value:"all"}],this.listItems$=this._queryService.getListItems().pipe((0,r.T)(h=>(this._queryService.year&&(this.selectedYear=this._queryService.year),h[0]&&h[0].topNews?{topNews:h[0],news:h.slice(1)}:{news:h})))}changeYear(){this.selectedYear!==this._queryService.year&&(this._queryService.year=this.selectedYear,this._queryService.execute(!0).subscribe())}hasMore(){return this._queryService.hasNext}loadMore(){this._queryService.getNextPage().subscribe()}static#e=C=()=>(this.\u0275fac=function(k){return new(k||y)(e.rXU(n.Q),e.rXU(p.c))},this.\u0275cmp=e.VBU({type:y,selectors:[["pwng-news-list"]],inputs:{lightTheme:"lightTheme",years:"years"},features:[e.Jv_([n.Q]),e.Vt3],decls:6,vars:5,consts:[[1,"pw-page-listing"],[1,"pw-page-listing__header","pw-w-8/12","pw-container-padding-x"],[1,"pw-page-listing__paging","pw-w-8/12","pw-container-padding-x"],["design-version","2023"],[1,"pw-page-listing__header-row"],[3,"change","label","id","value"],[3,"value"],[3,"heading","summary","label","isoDate","readTime","href","picture","skeleton","showDate","showTime","showReadTime","showImage","showSummary"],[1,"pw-page-listing__list","pw-w-8/12","pw-container-padding-x"],[3,"heading","summary","label","isoDate","readTime","href","picture","skeleton","showDate","showTime","showReadTime","showImage","showSummary","showLabel","lightTheme","focus"],["rank","primary",3,"click"],["slot","lead"]],template:function(k,d){if(1&k&&(e.j41(0,"section",0),e.nVh(1,D,7,5,"div",1),e.nVh(2,J,4,3),e.nI1(3,"async"),e.j41(4,"div",2),e.nVh(5,W,6,3,"gds-theme-pw",3),e.k0s()()),2&k){let B;e.R7$(),e.vxM(d.years.length>1?1:-1),e.R7$(),e.vxM((B=e.bMT(3,3,d.listItems$))?2:-1,B),e.R7$(3),e.vxM(d.hasMore()?5:-1)}},dependencies:[i.YN,R,a.T,s.D,w.Jj],encapsulation:2}))}return C(),y})()},4839(re,K,o){o.d(K,{Q:()=>r});var w=o(6945),c=o(7266),n=o(6089);let r=(()=>{var s;class a extends w.P{setUrl(e){const{params:t}=super.setUrl(e);4===this.endpointPathArray.length||this.endpointPathArray.splice(2,0,void 0),this.year=this.endpointPathArray[2],this.language=this.endpointPathArray[3],this.categories=t.categories?.split(",")||[]}getUrl(){const e=this.year&&"all"!==this.year?"/"+this.year:"",t=this.categories.map(L=>"&categories="+L).join("");return this.endpointServer+"/api/"+this.endpointName+"/"+this.pageId+e+"/"+this.language+"?offset="+this.offset+"&pageSize="+this.pageSize+t+"®ulatoryOnly="+this.regulatoryFilter}static#e=s=()=>(this.\u0275fac=(()=>{let e;return function(L){return(e||(e=n.xGo(a)))(L||a)}})(),this.\u0275prov=c.jDH({token:a,factory:a.\u0275fac}))}return s(),a})()},1624(re,K,o){o.d(K,{W:()=>s});var w=o(7705),c=o(6089);const n=["img"];function r(a,l){if(1&a&&c.Hgh(0,"source"),2&a){const e=l.$implicit;c.BMQ("srcset",e.srcSet)("sizes",e.sizes)("type",e.type)("media",e.media)}}let s=(()=>{var a;class l{constructor(t){this.cd=t,this.id="picture-"+Math.random().toString(16).slice(2)}load(){this.state="done",this.cd.detectChanges()}error(){this.state="fail",this.cd.detectChanges()}ngAfterViewInit(){this.img&&!this.img.nativeElement.complete?(this.state="wait",this.addStyles(),this.cd.detectChanges()):this.img&&this.img.nativeElement.complete&&(this.state="done",this.cd.detectChanges())}addStyles(){if(null==this.picture.progressiveImages)return;const t=this.picture.progressiveImages.map(O=>{const E=`#${this.id} { --image: url(${O.dataUrl}); }`;return O.media?`@media ${O.media} { ${E} }`:E}).join("\n"),L=document.getElementsByTagName("head")[0],H=document.createElement("style");
1H.appendChild(document.createTextNode(t)),L.appendChild(H)}static#e=a=()=>(this.\u0275fac=function(L){return new(L||l)(c.rXU(w.gRc))},this.\u0275cmp=c.VBU({type:l,selectors:[["pwng-picture"]],viewQuery:function(L,H){if(1&L&&c.GBs(n,5),2&L){let O;c.mGM(O=c.lsd())&&(H.img=O.first)}},inputs:{picture:"picture"},decls:5,vars:8,consts:[["img",""],[1,"pw-picture",3,"id"],[3,"load","error","src","height","width"]],template:function(L,H){1&L&&(c.rj2(0,"picture",1),c.Z7z(1,r,1,4,"source",null,c.Vm6),c.rj2(3,"img",2,0),c.VwU("load",function(){return H.load()})("error",function(){return H.error()}),c.eux()()),2&L&&(c.Avn("id",H.id),c.BMQ("data-load-progressive-state",H.state),c.R7$(),c.Dyx(H.picture.sources),c.R7$(2),c.Avn("src",H.picture.src,c.B4B)("height",H.picture.height)("width",H.picture.width),c.BMQ("loading",H.picture.lazy?"lazy":null)("alt",H.picture.alt??"")("title",H.picture.title))},encapsulation:2}))}return a(),l})()},6549(re,K,o){o.d(K,{ReportModalModule:()=>C});var w=o(7884),c=o(1413),n=o(983),r=o(9437),s=o(5558),a=o(699),l=o(6089),e=o(7266),t=o(7705),L=o(5984),H=o(6271),O=o(6795),E=o(1188);let G=(()=>{var y;class u{constructor(k,d){this.http=k,this.translate=d}getReport(k){return this.http.get(`/api/report/${k}/${this.translate.language}`).pipe((0,H.i)(3e3,3))}static#e=y=()=>(this.\u0275fac=function(d){return new(d||u)(e.KVO(O.Qq),e.KVO(E.c))},this.\u0275prov=e.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}))}return y(),u})();class M{constructor(){this.initialized=!1}initialize(){return!this.initialized&&(this.initialized=!0,!0)}}var R=o(2941);const i=["backdrop"],S=["modal"],p=["download"];function Z(y,u){if(1&y&&(l.j41(0,"li")(1,"gds-button-pw",17),l.nrm(2,"gds-icon-arrow-wall-down-pw",13),l.j41(3,"span"),l.EFF(4),l.k0s()()()),2&y){const h=u.$implicit;l.R7$(),l.Y8G("href",h.href)("target",h.target),l.R7$(3),l.JRh(h.title)}}function D(y,u){if(1&y&&(l.j41(0,"div",9)(1,"h1",10),l.EFF(2),l.k0s(),l.j41(3,"div",11)(4,"p"),l.EFF(5),l.k0s()(),l.j41(6,"div")(7,"gds-button-pw",12),l.nrm(8,"gds-icon-arrow-wall-down-pw",13),l.j41(9,"span"),l.EFF(10),l.k0s()()()(),l.j41(11,"div",14)(12,"h2",15),l.EFF(13),l.nI1(14,"translate"),l.k0s(),l.j41(15,"ul",16),l.Z7z(16,Z,5,3,"li",null,l.fX1),l.k0s()()),2&y){const h=l.XpG(2);l.R7$(2),l.JRh(h.report.heading),l.R7$(3),l.JRh(h.report.summary),l.R7$(2),l.Y8G("href",h.report.documentLink.href)("target",h.report.documentLink.target),l.R7$(3),l.JRh(h.report.documentLink.title),l.R7$(3),l.JRh(l.bMT(14,6,"features.reports.relateddocuments")),l.R7$(3),l.Dyx(h.report.relatedDocumentLinks)}}function Q(y,u){1&y&&(l.j41(0,"h1"),l.EFF(1),l.nI1(2,"translate"),l.k0s()),2&y&&(l.R7$(),l.JRh(l.bMT(2,1,"features.reports.errormessage")))}function z(y,u){if(1&y&&l.nVh(0,Q,3,3,"h1"),2&y){const h=l.XpG(2);l.vxM(h.error?0:-1)}}function J(y,u){if(1&y){const h=l.RV6();l.j41(0,"div",2)(1,"div",3,0)(3,"div",4)(4,"div",5),l.EFF(5),l.k0s(),l.j41(6,"gds-button-pw",6),l.nI1(7,"translate"),l.bIt("click",function(){e.eBV(h);const d=l.XpG();return e.Njj(d.close())}),l.nrm(8,"gds-icon-cross-large-pw"),l.k0s()(),l.j41(9,"div",7),l.nVh(10,D,18,8)(11,z,1,1),l.k0s()(),l.nrm(12,"div",8,1),l.k0s()}if(2&y){const h=l.XpG();l.R7$(),l.Y8G("cdkTrapFocus",h.show)("cdkTrapFocusAutoCapture",!1),l.BMQ("aria-modal",h.show),l.R7$(4),l.JRh(h.report?.label),l.R7$(),l.Y8G("label",l.bMT(7,6,"common.close")),l.R7$(4),l.vxM(h.report?10:11)}}let ne=(()=>{var y;class u{clickHandler(k){this._show&&k.target===this.backdrop?.nativeElement&&this.close()}escHandler(){this._show&&this.close()}constructor(k,d,B,x,g){this.cd=k,this.location=d,this.reportModalService=B,this.singleInstanceService=x,this.scrollLock=g,this._show=!1,this._loading=!1,this._error=!1,this.selectedId$=new c.B}get show(){return this._show}get error(){return this._error}get loading(){return this._loading}get report(){return this._report}ngOnInit(){this.singleInstanceService.initialize()&&(this.setupReportStream(),this.evaluateLocation(),this.location.subscribe(()=>{this.evaluateLocation()}))}open(){this._report&&(this._show=!0,this.cd.detectChanges(),setTimeout(()=>{this.scrollLock.disableBody(this.modal.nativeElement),document.getElementById("pw-report-modal-download-button").focus()},0))}close(){this._show=!1,this.scrollLock.enableBody(this.modal.nativeElement),document.getElementById("pw-report-modal-"+this._lastId).focus(),this.location.go(""),this.cd.detectChanges()}evaluateLocation(){const k=this.location.path(!0),d=k.indexOf("pw-report-");if(d>=0){const B=k.substring(d+10);this._lastId&&B===this._lastId?this.open():this.selectedId$.next(B)}}setupReportStream(){const k=()=>(this._error=!0,this._loading=!1,n.w);this.selectedId$.pipe((0,s.n)(B=>(this._lastId=B,this._error=!1,this._show=!0,this._loading=!0,this._report=void 0,this.reportModalService.getReport(B).pipe((0,r.W)(k))))).subscribe(B=>{this._loading=!1,this._report=B,this.open()})}static#e=y=()=>(this.\u0275fac=function(d){return new(d||u)(l.rXU(t.gRc),l.rXU(L.aZ),l.rXU(G),l.rXU(M),l.rXU(R.E))},this.\u0275cmp=l.VBU({type:u,selectors:[["pwng-report-modal"]],viewQuery:function(d,B){if(1&d&&l.GBs(i,5)(S,5)(p,5),2&d){let x;l.mGM(x=l.lsd())&&(B.backdrop=x.first),l.mGM(x=l.lsd())&&(B.modal=x.first),l.mGM(x=l.lsd())&&(B.download=x.first)}},hostBindings:function(d,B){1&d&&l.bIt("click",function(g){return B.clickHandler(g)},l.EBC)("keydown.escape",function(){return B.escHandler()},l.EBC)},decls:1,vars:1,consts:[["modal",""],["backdrop",""],[1,"pw-report-modal","sdv-modal-slideout","sdv-modal-slideout--right","-active"],["role","dialog","aria-labelledby","pw-report-modal-label",1,"sdv-modal-slideout__container",3,"cdkTrapFocus","cdkTrapFocusAutoCapture"],[1,"sdv-modal-slideout__header","pw-container-padding"],["id","pw-report-modal-label",1,"vanilla-h3"],["rank","secondary","tabindex","0","cdkFocusRegionStart","",3,"click","label"],[1,"sdv-modal-slideout__content","pw-container-padding"],[1,"sdv-modal-backdrop"],[1,"pw-report"],[1,"pw-report__header","vanilla-h4"],[1,"pw-report__summary"],["id","pw-report-modal-download-button","tabindex","0","cdkFocusInitial","",3,"href","target"],["slot","trail"],[1,"pw-report-modal__related"],[1,"vanilla-h4"],[1,"pw-button-group"],["rank","secondary","tabindex","0",3,"href","target"]],template:function(d,B){1&d&&l.nVh(0,J,14,8,"div",2),2&d&&l.vxM(B.show?0:-1)},dependencies:[w.Pd,w.kB,a.D],encapsulation:2}))}return y(),u})(),C=(()=>{var y;class u{static#e=y=()=>(this.lazyElement=ne,this.\u0275fac=function(d){return new(d||u)},this.\u0275mod=l.$C({type:u}),this.\u0275inj=e.G2t({providers:[M]}))}return y(),u})()},2821(re,K,o){o.d(K,{SearchResultPageComponent:()=>k});var w=o(9769),c=o(6945),n=o(6089),r=o(7266);let s=(()=>{var d;class B extends c.P{constructor(){super(...arguments),this.query="",this.sourcePage=window.location.pathname}setUrl(g){const{params:T}=super.setUrl(g);T.sourcePage&&(this.sourcePage=T.sourcePage),this.query=T.query||"",this.language=T.language,this.pageSize=Number(T.pageSize)||20}parseItem(g){return g.target=g.href.match(window.location.hostname)?"":"_blank",g}getUrl(){return this.endpointServer+"/api/"+this.endpointName+"?query="+encodeURIComponent(this.query)+"&language="+this.language+"&sourcePage="+this.sourcePage.split("#")[0]+"&offset="+this.offset+"&pageSize="+this.pageSize}static#e=d=()=>(this.\u0275fac=(()=>{let g;return function(I){return(g||(g=n.xGo(B)))(I||B)}})(),this.\u0275prov=r.jDH({token:B,factory:B.\u0275fac}))}return d(),B})();var a=o(6776),l=o(699);function e(d,B){if(1&d){const x=n.RV6();n.rj2(0,"a",6),n.nI1(1,"translate"),n.VwU("click",function(){r.eBV(x);const T=n.XpG();
1return r.Njj(T.select({offset:T.links.prev.offset,pageSize:T.links.prev.pageSize}))}),n.Hgh(2,"i",7),n.eux()}2&d&&n.BMQ("aria-label",n.bMT(1,1,"features.pagination.previous"))}function t(d,B){1&d&&(n.rj2(0,"a",2),n.Hgh(1,"i",7),n.eux())}function L(d,B){if(1&d){const x=n.RV6();n.rj2(0,"a",8),n.VwU("click",function(){const T=r.eBV(x).$implicit,I=n.XpG();return r.Njj(I.select({offset:T.link.offset,pageSize:T.link.pageSize}))}),n.EFF(1),n.eux()}if(2&d){const x=B.$implicit;n.AVh("-active",x.isCurrent),n.R7$(),n.JRh(x.pageNumber)}}function H(d,B){if(1&d){const x=n.RV6();n.rj2(0,"a",9),n.nI1(1,"translate"),n.VwU("click",function(){r.eBV(x);const T=n.XpG();return r.Njj(T.select({offset:T.links.next.offset,pageSize:T.links.next.pageSize}))}),n.Hgh(2,"i",10),n.eux()}2&d&&n.BMQ("aria-label",n.bMT(1,1,"features.pagination.next"))}function O(d,B){1&d&&(n.rj2(0,"a",5),n.Hgh(1,"i",10),n.eux())}let E=(()=>{var d;class B{constructor(){this.linksToShow=10,this.selectedLink=new r.bkB,this.pages=[]}ngOnChanges(g){g.links&&(this.pages=this.filterPagesToRender(this.links.pages))}select(g){this.selectedLink.emit(g)}filterPagesToRender(g){const T=g.findIndex(P=>!0===P.isCurrent),I=Math.floor(this.linksToShow/2);return g.length<=this.linksToShow?g:T<I?g.slice(0,this.linksToShow):T+I>g.length?g.slice(g.length-this.linksToShow,g.length):g.slice(T-I,T-I+this.linksToShow)}static#e=d=()=>(this.\u0275fac=function(T){return new(T||B)},this.\u0275cmp=n.VBU({type:B,selectors:[["pwng-pagination"]],inputs:{links:"links",linksToShow:"linksToShow"},outputs:{selectedLink:"selectedLink"},features:[n.OA$],decls:7,vars:2,consts:[[1,"pw-pagination"],[1,"pw-pagination__previous"],["tabindex","-1",1,"pw-pagination__previous","-disabled"],[3,"-active"],[1,"pw-pagination__next"],["tabindex","-1",1,"pw-pagination__next","-disabled"],[1,"pw-pagination__previous",3,"click"],[1,"far","fa-chevron-left"],[3,"click"],[1,"pw-pagination__next",3,"click"],[1,"far","fa-chevron-right"]],template:function(T,I){1&T&&(n.rj2(0,"div",0),n.nVh(1,e,3,3,"a",1)(2,t,2,0,"a",2),n.Z7z(3,L,2,3,"a",3,n.fX1),n.nVh(5,H,3,3,"a",4)(6,O,2,0,"a",5),n.eux()),2&T&&(n.R7$(),n.vxM(I.links.prev?1:2),n.R7$(2),n.Dyx(I.pages),n.R7$(2),n.vxM(I.links.next?5:6))},dependencies:[l.D],styles:[".-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#333}"]}))}return d(),B})();var G=o(4134),M=o(1807),R=o(4823),i=o(6795),S=o(8128);function p(d,B){if(1&d){const x=n.RV6();n.j41(0,"pwng-search-field",7),n.bIt("submitted",function(T){r.eBV(x);const I=n.XpG();return r.Njj(I.onSubmitQuery(T))}),n.k0s()}if(2&d){const x=n.XpG();n.Y8G("autocompleteUrl",B.toolbar.searchBar.autoCompleteApiUrl)("search",x.searchQuery)}}function Z(d,B){if(1&d&&(n.j41(0,"span"),n.EFF(1),n.nI1(2,"translate"),n.j41(3,"b"),n.EFF(4),n.k0s(),n.EFF(5),n.nI1(6,"translate"),n.nI1(7,"translate"),n.j41(8,"b"),n.EFF(9),n.k0s()()),2&d){const x=n.XpG();n.R7$(),n.SpI(" ",n.bMT(2,6,"features.serp.shows")," "),n.R7$(3),n.JRh(x.shownItemsSpan()),n.R7$(),n.E5c(" ",n.bMT(6,8,"features.serp.of")," ",x.queryService.totalCount," ",n.bMT(7,10,"features.serp.hitson")," "),n.R7$(4),n.JRh(x.queryService.query)}}function D(d,B){1&d&&(n.j41(0,"span",4),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&d&&(n.R7$(),n.JRh(n.bMT(2,1,"features.serp.apierror")))}function Q(d,B){if(1&d&&(n.j41(0,"span"),n.EFF(1),n.nI1(2,"translate"),n.j41(3,"a",8),n.EFF(4),n.k0s(),n.EFF(5,"? "),n.k0s()),2&d){const x=n.XpG(2);n.R7$(),n.SpI(" ",n.bMT(2,5,"features.serp.didyoumean")," "),n.R7$(2),n.Y8G("href",n.ai1("?query=",x.queryService.customData.spellSuggestion,"&sourcePage=",x.currentSourcePage),n.B4B),n.R7$(),n.SpI(" ",x.queryService.customData.spellSuggestion," ")}}function z(d,B){if(1&d&&(n.j41(0,"span")(1,"b"),n.EFF(2),n.k0s(),n.EFF(3),n.nI1(4,"translate"),n.nVh(5,Q,6,7,"span"),n.k0s()),2&d){const x=n.XpG();n.R7$(2),n.JRh(x.queryService.query),n.R7$(),n.SpI(" ",n.bMT(4,3,"features.serp.noresults")," "),n.R7$(2),n.vxM(x.queryService.customData.spellSuggestion?5:-1)}}function J(d,B){if(1&d){const x=n.RV6();n.j41(0,"pwng-article-item",13),n.bIt("clickHref",function(){const T=r.eBV(x).$implicit,I=n.XpG(3);
1return r.Njj(I.onClickResult(T))}),n.k0s()}if(2&d){const x=B.$implicit,g=n.XpG(3);n.Y8G("heading",x.heading)("summary",x.summary)("href",x.href)("target",x.target)("breadcrumbs",x.breadcrumbs)("isoDate",x.date)("skeleton",x.skeleton)("showDate",g.showDate)("showTime",g.showTime)("showImage",g.showImage)("showSummary",g.showSummary)("customData",x.clickHref)}}function W(d,B){if(1&d){const x=n.RV6();n.j41(0,"pwng-pagination",15),n.bIt("selectedLink",function(T){r.eBV(x);const I=n.XpG(4);return r.Njj(I.onPaginationChange(T))}),n.k0s()}if(2&d){const x=n.XpG(4);n.Y8G("links",x.queryService.links)("linksToShow",5)}}function ne(d,B){1&d&&(n.j41(0,"span"),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&d&&(n.R7$(),n.SpI(" ",n.bMT(2,1,"features.serp.nomorehits")," "))}function C(d,B){if(1&d&&(n.j41(0,"div",12),n.nVh(1,W,1,2,"pwng-pagination",14)(2,ne,3,3,"span"),n.k0s()),2&d){const x=n.XpG(3);n.R7$(),n.vxM(x.queryService.links.pages.length>1?1:2)}}function y(d,B){if(1&d&&(n.j41(0,"section",9)(1,"div",10),n.Z7z(2,J,1,12,"pwng-article-item",11,n.fX1),n.k0s(),n.nVh(4,C,3,1,"div",12),n.k0s()),2&d){const x=n.XpG(),g=n.XpG();n.R7$(2),n.Dyx(x),n.R7$(2),n.vxM(g.queryService.links?4:-1)}}function u(d,B){if(1&d&&(n.j41(0,"div",5),n.nVh(1,y,5,1,"section",9),n.k0s()),2&d){const x=n.XpG();n.R7$(),n.vxM(x.queryService.totalCount>0?1:-1)}}function h(d,B){1&d&&(n.j41(0,"div",6)(1,"div",0)(2,"div",16)(3,"h2"),n.EFF(4),n.nI1(5,"translate"),n.k0s(),n.j41(6,"ul")(7,"li"),n.EFF(8),n.nI1(9,"translate"),n.k0s(),n.j41(10,"li"),n.EFF(11),n.nI1(12,"translate"),n.k0s(),n.j41(13,"li"),n.EFF(14),n.nI1(15,"translate"),n.k0s()()()()()),2&d&&(n.R7$(4),n.JRh(n.bMT(5,4,"features.serp.searchtips")),n.R7$(4),n.SpI(" ",n.bMT(9,6,"features.serp.checkspelling")," "),n.R7$(3),n.SpI(" ",n.bMT(12,8,"features.serp.trygeneralwords")," "),n.R7$(3),n.SpI(" ",n.bMT(15,10,"features.serp.trysynonyms")," "))}let k=(()=>{var d;class B extends a.Q{constructor(g,T,I){super(g),this.queryService=g,this.httpClient=T,this.headerService=I,this.searchQuery="",this.currentSourcePage=window.location.pathname,this.listItems$=this.queryService.getListItems(),this.header$=this.headerService.getHeaderData$(),window.addEventListener("popstate",()=>{this.handleNavigation()})}onPaginationChange(g){(0,R.uR)({offset:g.offset,pageSize:g.pageSize}),this.handleNavigation()}handleNavigation(){const g=(0,R.al)();this.queryService.offset=Number(g.offset)||0,this.queryService.pageSize=Number(g.pageSize)||this.queryService.pageSize,this.queryService.execute().subscribe(T=>this.onSearchResult(T)),window.scrollTo(0,0)}buildEndpointUrl(){const g=(0,R.al)(),T=document.querySelector('meta[name="seb-page-language"]')?.content??"",I=new URLSearchParams({query:g.query??"",sourcePage:g.sourcePage??window.location.pathname,language:T}),P=this.initialEndpointUrl.includes("?")?"&":"?";return`${this.initialEndpointUrl}${P}${I.toString()}`}ngOnInit(){this.queryService.setUrl(this.buildEndpointUrl()),this.searchQuery=this.queryService.query,this.handleNavigation()}onSubmitQuery(g){this.searchQuery=g,(0,R.uR)({query:g,sourcePage:this.currentSourcePage}),window.location.reload()}onClickResult(g){const T=window.PublicWeb.API.Analytics;T&&(T.updateDataLayer({search_position:""+g.position,search_link_name:g.heading.replace(/(<([^>]+)>)/gi,""),search_link_url:g.href,tool_event:"int_search_click",search_phrase:this.searchQuery,search_interaction:"Internal Search Result Click"}),T.track("int_search_click"));try{window.PublicWeb.API.Cookies.get().analytics&&this.httpClient.post("/api/search/track",JSON.stringify(g.clickHref),{headers:{"Content-Type":"application/json"}}).subscribe()}catch{}}onSearchResult(g){const T=window.PublicWeb.API.Analytics;T&&(T.updateDataLayer({search_suggestion:g.customData.spellSuggestion||"no suggestion",search_hits:g.count||"zero",search_filter:"no filter",tool_event:"int_search",search_phrase:this.searchQuery,search_interaction:"Internal Search Click",searchType:"Internal Free Text Search"}),T.track("int_search"))}shownItemsSpan(){const g=this.queryService.offset;return 0===g?this.queryService.listItems.length+"":g+1+"-"+(g+this.queryService.listItems.length)}static#e=d=()=>(this.\u0275fac=function(T){return new(T||B)(n.rXU(s),n.rXU(i.Qq),n.rXU(S.d))},this.\u0275cmp=n.VBU({type:B,selectors:[["pwng-search-result-page"]],features:[n.Jv_([s]),n.Vt3],decls:14,vars:13,consts:[[1,"pw-container"],[1,"pw-search-wrapper"],[1,"pw-menu-search","pw-w-8/12"],[3,"autocompleteUrl","search"],[1,"pw-serp__api-error"],[1,"pw-serp__result-list"],[1,"pw-serp__no-results"],[3,"submitted","autocompleteUrl","search"],[3,"href"],[1,"pw-page-listing","pw-container"],[1,"pw-page-listing__list"],[3,"heading","summary","href","target","breadcrumbs","isoDate","skeleton","showDate","showTime","showImage","showSummary","customData"],[1,"pw-page-listing__paging"],[3,"clickHref","heading","summary","href","target","breadcrumbs","isoDate","skeleton","showDate","showTime","showImage","showSummary","customData"],[3,"links","linksToShow"],[3,"selectedLink","links","linksToShow"],[1,"pw-w-8/12"]],template:function(T,I){if(1&T&&(n.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),n.EFF(4),n.nI1(5,"translate"),n.k0s(),n.nVh(6,p,1,2,"pwng-search-field",3),n.nI1(7,"async"),n.k0s()(),n.nVh(8,Z,
110,12,"span"),n.nVh(9,D,3,3,"span",4),n.nVh(10,z,6,5,"span"),n.k0s(),n.nVh(11,u,2,1,"div",5),n.nI1(12,"async"),n.nVh(13,h,16,12,"div",6)),2&T){let P,U;n.R7$(4),n.JRh(n.bMT(5,7,"features.serp.heading")),n.R7$(2),n.vxM((P=n.bMT(7,9,I.header$))?6:-1,P),n.R7$(2),n.vxM(I.queryService.totalCount>0?8:-1),n.R7$(),n.vxM(I.queryService.apiError?9:-1),n.R7$(),n.vxM(0!=I.queryService.totalCount||I.queryService.apiError?-1:10),n.R7$(),n.vxM((U=n.bMT(12,11,I.listItems$))?11:-1,U),n.R7$(2),n.vxM(0!=I.queryService.totalCount||I.queryService.apiError?-1:13)}},dependencies:[M.q,G.T,E,l.D,w.Jj],encapsulation:2}))}return d(),B})()},1807(re,K,o){o.d(K,{q:()=>h});var w=o(7266),c=o(1413),n=o(7673),r=o(152),s=o(3294),a=o(5558),l=o(9568),e=o(8141),t=o(9437),L=o(6977),H=o(6795);let G=(()=>{var k;class d{constructor(x){this.http=x,this.search$=new c.B,this.autocomplete$=this.search$.pipe((0,r.B)(200),(0,s.F)(),(0,a.n)(g=>this.getAutocompleteSuggestions(g)),(0,l.t)(1))}setUrl(x){this.url=x}search(x){this.search$.next(x)}autocompletes(){return this.autocomplete$}getAutocompleteSuggestions(x){if(this.url&&x.length>=2){const g=this.url.replace("_query_",encodeURIComponent(x));return this.http.get(g).pipe((0,e.M)(I=>{if(!(I instanceof Array))throw new Error("Invalid response")}),(0,t.W)(I=>(0,n.of)([])),(0,L.Q)(this.search$))}return(0,n.of)([])}static#e=k=()=>(this.\u0275fac=function(g){return new(g||d)(w.KVO(H.Qq))},this.\u0275prov=w.jDH({token:d,factory:d.\u0275fac}))}return k(),d})();var M=o(4341),R=o(8173);function i(k){return(0,R.hZ)("listItemAnimation",[(0,R.kY)("* <=> *",[(0,R.P)(":enter",[(0,R.iF)({height:0,minHeight:0,left:k,opacity:0,marginBottom:0,paddingBottom:0,paddingTop:0}),(0,R.yc)("50ms",(0,R.i0)("200ms ease-out",(0,R.iF)({height:"*",minHeight:"*",left:0,opacity:1,marginBottom:"*",paddingBottom:"*",paddingTop:"*"})))],{optional:!0}),(0,R.P)(":leave",[(0,R.iF)({height:"*",minHeight:"*",opacity:1,marginBottom:"*",paddingBottom:"*",paddingTop:"*"}),(0,R.yc)("10ms",(0,R.i0)("100ms ease-out",(0,R.iF)({height:0,minHeight:0,opacity:0,marginBottom:0,paddingBottom:0,paddingTop:0})))],{optional:!0})])])}function S(k){return(0,R.hZ)("listAnimation",[(0,R.kY)(":enter",[(0,R.iF)({height:0}),(0,R.i0)(k+"ms",(0,R.iF)({height:"*"})),(0,R.P)("@listItemAnimation",[(0,R.MA)()])]),(0,R.kY)(":leave",[(0,R.iF)({height:"*"}),(0,R.P)("@listItemAnimation",[(0,R.MA)()]),(0,R.i0)(k+"ms",(0,R.iF)({height:0}))])])}var p=o(6089);let Z=(()=>{var k;class d{transform(x,g){if(!g||x===g)return x;try{const T=x.split(" "),I=g.split(" ");for(let P=0;P<T.length;P++){for(const U of I){const se=new RegExp(U,"gi");if(T[P].search(se)>=0){T[P]=T[P].replace(se,"</strong>$&<strong>"),I.splice(I.indexOf(U),1);break}}if(0===I.length)break}return"<strong>"+T.join(" ")+"</strong>"}catch{return x}}static#e=k=()=>(this.\u0275fac=function(g){return new(g||d)},this.\u0275pipe=p.EJ8({name:"searchHighlight",type:d,pure:!0}))}return k(),d})();function D(k,d){if(1&k){const B=p.RV6();p.rj2(0,"li")(1,"a",1),p.VwU("click",function(g){const T=w.eBV(B).$index,I=p.XpG(2);return w.Njj(I.click(g,T))})("mouseover",function(){const g=w.eBV(B).$index,T=p.XpG(2);return w.Njj(T.hovered.emit(g))}),p.rj2(2,"div"),p.Hgh(3,"span",2),p.nI1(4,"searchHighlight"),p.eux()()()}if(2&k){const B=d.$implicit,x=d.$index,g=p.XpG(2);p.R7$(),p.AVh("selected",x===g.index),p.R7$(2),p.Avn("innerHTML",p.i5U(4,3,B,g.search),p.npT)}}function Q(k,d){if(1&k&&(p.rj2(0,"div",0)(1,"ul"),p.Z7z(2,D,5,6,"li",null,p.BUC().identify,!0),p.eux()()),2&k){const B=p.XpG();p.Y8G("@listAnimation",void 0),p.R7$(),p.Y8G("@listItemAnimation",B.listItems),p.R7$(),p.Dyx(B.listItems)}}let z=(()=>{var k;class d{constructor(){this.open=!1,this.listItems=[],this.search="",this.clicked=new w.bkB,this.hovered=new w.bkB}identify(x,g){return g}click(x,g){x.preventDefault(),this.clicked.emit(g)}static#e=k=()=>(this.\u0275fac=function(g){return new(g||d)},this.\u0275cmp=p.VBU({type:d,selectors:[["pwng-query-completion-list"]],inputs:{open:"open",listItems:"listItems",index:"index",search:"search"},outputs:{clicked:"clicked",hovered:"hovered"},decls:1,vars:1,consts:[[1,"pw-menu-search__search-suggestions","search-animation"],["href","","tabindex","-1",3,"click","mouseover"],[3,"innerHTML"]],template:function(g,T){1&g&&p.nVh(0,Q,4,2,"div",0),2&g&&p.vxM(T.open?0:-1)},dependencies:[Z],encapsulation:2,data:{animation:[i(40),S(200)]}}))}return k(),d})(),J=(()=>{var k;class d{constructor(){this.loop=!1,this.inverted=!1,this.selected=new w.bkB}
1onArrowUp(x){this.inverted?this.decrement():this.increment()}onArrowDown(x){this.inverted?this.increment():this.decrement()}increment(){void 0!==this.counter?void 0!==this.max?this.counter<this.max?this.counter++:this.loop&&(this.counter=void 0):this.counter++:this.counter=this.min||0,this.selected.emit(this.counter)}decrement(){void 0!==this.counter?void 0!==this.min?this.counter>this.min?this.counter--:this.loop&&(this.counter=void 0):this.counter--:this.counter=this.max||0,this.selected.emit(this.counter)}static#e=k=()=>(this.\u0275fac=function(g){return new(g||d)},this.\u0275dir=p.FsC({type:d,selectors:[["","pwngArrowSelector",""]],hostBindings:function(g,T){1&g&&p.bIt("keydown.arrowup",function(P){return T.onArrowUp(P)})("keydown.arrowdown",function(P){return T.onArrowDown(P)})},inputs:{counter:"counter",loop:"loop",min:"min",max:"max",inverted:"inverted"},outputs:{selected:"selected"}}))}return k(),d})(),W=(()=>{var k;class d{constructor(x){this.host=x}ngAfterViewInit(){this.shouldFocus&&this.host.nativeElement.focus()}static#e=k=()=>(this.\u0275fac=function(g){return new(g||d)(p.rXU(p.aKT))},this.\u0275dir=p.FsC({type:d,selectors:[["","autofocus",""]],inputs:{shouldFocus:[0,"autofocus","shouldFocus"]}}))}return k(),d})();var ne=o(7705),C=o(1188);const y=["form"],u=["searchBar"];let h=(()=>{var k;class d{set renderQueryCompletion(x){this._renderQueryCompletion=x,this.cd.detectChanges()}get renderQueryCompletion(){return this._renderQueryCompletion}constructor(x,g,T){this.cd=x,this.typeAheadService=g,this.translate=T,this.autocompleteUrl="",this.search="",this.lastTyped="",this._renderQueryCompletion=!1,this.queryCompletionList=[],this.shouldFocus=!1,this.submitted=new w.bkB,this.searchChange=new w.bkB}submit(){this.submitted.emit(this.search),this.renderQueryCompletion=!1}focusout(x){setTimeout(()=>{this.searchBarRef?.nativeElement?.contains(document.activeElement)||(this.renderQueryCompletion=!1)})}focusin(x){this.renderQueryCompletion=!0}ngOnInit(){this.searchLabel=this.translate.getTranslation("features.layout.header.search"),this.typeAheadService.url=this.autocompleteUrl,this.typeAheadService.autocompletes().pipe((0,e.M)(x=>{this.queryCompletionList=[...x],this.cd.detectChanges()})).subscribe()}select(x,g=!0){this.selectedIndex=x,g&&this.setSearch(this.queryCompletionList[x]),this.cd.detectChanges()}setSearch(x){this.search=x||this.lastTyped}keyUp(x){const g=x.target.value;switch(x.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":case"Escape":case"Esc":case"Tab":case"Enter":case"Shift":case"CapsLock":break;default:this.lastTyped=g,this.typeAheadService.search(g)}}static#e=k=()=>(this.\u0275fac=function(g){return new(g||d)(p.rXU(ne.gRc),p.rXU(G),p.rXU(C.c))},this.\u0275cmp=p.VBU({type:d,selectors:[["pwng-search-field"]],viewQuery:function(g,T){if(1&g&&p.GBs(y,5)(u,5),2&g){let I;p.mGM(I=p.lsd())&&(T.formRef=I.first),p.mGM(I=p.lsd())&&(T.searchBarRef=I.first)}},hostBindings:function(g,T){1&g&&p.bIt("focusout",function(P){return T.focusout(P)})("focusin",function(P){return T.focusin(P)})},inputs:{autocompleteUrl:"autocompleteUrl",search:"search",shouldFocus:"shouldFocus",inputAriaLabel:"inputAriaLabel",placeholder:"placeholder"},outputs:{submitted:"submitted",searchChange:"searchChange"},features:[p.Jv_([G])],decls:9,vars:14,consts:[["searchBar",""],["form",""],[1,"pw-menu-search__bar-container"],[1,"pw-menu-search__bar"],["autocomplete","off",1,"pw-menu-search__search-field",3,"submit"],["name","search","type","search","autocomplete","off","pwngArrowSelector","",3,"ngModelChange","keyup","selected","autofocus","ngModel","placeholder","counter","min","max","loop","inverted"],["type","submit"],[1,"fal","fa-search"],["aria-live","polite",1,"container",3,"clicked","hovered","open","search","listItems","index"]],template:function(g,T){if(1&g){const I=p.RV6();p.j41(0,"div",2,0)(2,"div",3)(3,"form",4,1),p.bIt("submit",function(){return T.submit()}),p.j41(5,"input",5),p.mxI("ngModelChange",function(U){return w.eBV(I),p.DH7(T.search,U)||(T.search=U),w.Njj(U)}),p.bIt("ngModelChange",function(U){return T.searchChange.emit(U)})("keyup",function(U){return T.keyUp(U)}
1)("selected",function(U){return T.select(U)}),p.k0s(),p.qAN(),p.j41(6,"button",6),p.nrm(7,"i",7),p.k0s()(),p.j41(8,"pwng-query-completion-list",8),p.bIt("clicked",function(U){return w.eBV(I),T.select(U),w.Njj(T.submit())})("hovered",function(U){return T.select(U,!1)}),p.k0s()()()}2&g&&(p.R7$(5),p.Y8G("autofocus",T.shouldFocus),p.R50("ngModel",T.search),p.Y8G("placeholder",T.placeholder||T.searchLabel)("counter",T.selectedIndex)("min",0)("max",T.queryCompletionList.length-1)("loop",!0)("inverted",!0),p.BMQ("aria-label",T.inputAriaLabel),p.QXe(),p.R7$(),p.BMQ("aria-label",T.searchLabel),p.R7$(2),p.Y8G("open",T.renderQueryCompletion&&T.queryCompletionList.length>0)("search",T.lastTyped)("listItems",T.queryCompletionList)("index",T.selectedIndex))},dependencies:[M.YN,M.qT,M.me,M.BC,M.cb,M.vS,M.cV,z,J,W],encapsulation:2}))}return k(),d})()},769(re,K,o){o.d(K,{SharesBlockComponent:()=>E});var w=o(9769),c=o(699),n=o(6089),r=o(7266),s=o(6795);let l=(()=>{var G;class M{constructor(i){this.http=i}getBlockContent(i,S){return this.http.get(`/api/shares-block/${i}/${S}`)}static#e=G=()=>(this.\u0275fac=function(S){return new(S||M)(r.KVO(s.Qq))},this.\u0275prov=r.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return G(),M})();function e(G,M){if(1&G&&(n.rj2(0,"gds-text-pw",7),n.EFF(1),n.eux(),n.Hgh(2,"gds-icon-arrow-right-down-circle-pw",8)),2&G){const R=n.XpG().$implicit;n.R7$(),n.SpI(" ",R.percentage," ")}}function t(G,M){if(1&G&&(n.rj2(0,"gds-text-pw",9),n.EFF(1),n.eux(),n.Hgh(2,"gds-icon-arrow-right-up-circle-pw",10)),2&G){const R=n.XpG().$implicit;n.R7$(),n.SpI(" ",R.percentage," ")}}function L(G,M){if(1&G&&(n.rj2(0,"gds-text-pw",6),n.EFF(1),n.eux()),2&G){const R=n.XpG().$implicit;n.R7$(),n.SpI(" ",R.percentage," ")}}function H(G,M){if(1&G&&(n.rj2(0,"div",1)(1,"gds-text-pw",2),n.EFF(2),n.eux(),n.rj2(3,"div",5)(4,"gds-text-pw",6),n.EFF(5),n.eux(),n.nVh(6,e,3,1)(7,t,3,1)(8,L,2,1,"gds-text-pw",6),n.eux()()),2&G){let R;const i=M.$implicit;n.R7$(2),n.SpI(" ",i.label," "),n.R7$(3),n.SpI(" ",i.value," "),n.R7$(),n.vxM("negative"===(R=i.trend)?6:"positive"===R?7:8)}}function O(G,M){if(1&G&&(n.rj2(0,"div",0)(1,"div",1)(2,"gds-text-pw",2),n.EFF(3),n.nI1(4,"translate"),n.eux(),n.rj2(5,"gds-text-pw",3),n.EFF(6),n.eux()(),n.Z7z(7,H,9,3,"div",1,n.Vm6),n.rj2(9,"div",1)(10,"gds-link-pw",4),n.EFF(11),n.eux()()()),2&G){const R=M;n.R7$(3),n.SpI(" ",n.bMT(4,5,"features.blocks.rates.shareTitle")," "),n.R7$(3),n.SpI(" ",R.date," "),n.R7$(),n.Dyx(R.shares),n.R7$(3),n.BMQ("href",R.link.url)("target",R.link.openInNewWindow?"_blank":null),n.R7$(),n.JRh(R.link.title)}}let E=(()=>{var G;class M{constructor(i){this.sharesBlockService=i}ngOnInit(){this.blockContent$=this.sharesBlockService.getBlockContent(parseInt(this.blockId,10),this.language)}static#e=G=()=>(this.\u0275fac=function(S){return new(S||M)(n.rXU(l))},this.\u0275cmp=n.VBU({type:M,selectors:[["pwng-shares-block"]],inputs:{blockId:"blockId",language:"language"},decls:2,vars:3,consts:[[1,"pw-shares-block"],[1,"pw-shares-block__section"],["font","detail-m-book"],["color","neutral-02","font","body-m-regular"],["text-decoration","underline"],[1,"pw-shares-block__share"],["font","heading-s"],["color","negative-01","font","heading-s"],["color","negative-01","size","xl"],["color","positive-01","font","heading-s"],["color","positive-01","size","xl"]],template:function(S,p){if(1&S&&(n.nVh(0,O,12,7,"div",0),n.nI1(1,"async")),2&S){let Z;n.vxM((Z=n.bMT(1,1,p.blockContent$))?0:-1,Z)}},dependencies:[w.Jj,c.D],styles:[".pw-shares-block[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;border-top:1px solid var(--%NS%gds-sys-color-border-neutral-02);border-bottom:1px solid var(--%NS%gds-sys-color-border-neutral-02);padding:.5rem 2rem}.pw-shares-block__section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;padding:.5rem}.pw-shares-block__share[_ngcontent-%COMP%]{display:flex;gap:.75rem}@media(max-width:768px){.pw-shares-block[_ngcontent-%COMP%]{justify-content:flex-start;flex-wrap:wrap;padding:1.5rem .5rem .5rem;gap:1rem;border-width:1px;border-style:solid;border-radius:.75rem;border-color:var(--%NS%gds-sys-color-border-neutral-02)}.pw-shares-block__section[_ngcontent-%COMP%]{flex:1 0 100%;padding-left:1rem}.pw-shares-block__section[_ngcontent-%COMP%]:last-of-type{flex:1 0;padding:1.5rem 1.5rem 1.5rem 1rem;border-top:1px solid var(--%NS%gds-sys-color-border-neutral-02)}}"]}))}return G(),M})()},3068(re,K,o){o.d(K,{u:()=>n});var w=o(6089);function c(r,s){if(1&r&&w.Hgh(0,"div"),2&r){const a=s.$index,l=w.XpG();w.HbH(w.VkB("dot-indicator__item",l.activeSlideIndex===a?" dot-indicator__item--active":""))}}let n=(()=>{var r;class s{constructor(){this.total=0,this.activeSlideIndex=0}get dots(){return this.total<=0?[]:Array.from({length:this.total})}static#e=r=()=>(this.\u0275fac=function(e){return new(e||s)},this.\u0275cmp=w.VBU({type:s,selectors:[["pwng-slide-indicator"]],inputs:{total:"total",activeSlideIndex:"activeSlideIndex"},decls:3,vars:0,consts:[[1,"dot-indicator__container"],[3,"class"]],template:function(e,t){1&e&&(w.rj2(0,"div",0),w.Z7z(1,c,1,3,"div",1,w.Vm6),w.eux()),2&e&&(w.R7$(),w.Dyx(t.dots))},styles:[".dot-indicator__container[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:.25rem}.dot-indicator__item[_ngcontent-%COMP%]{border-radius:999px;background:var(--%NS%gds-sys-color-l3-neutral-03);height:6px;width:6px;transition:all .4s}.dot-indicator__item--active[_ngcontent-%COMP%]{background:var(--%NS%gds-sys-color-content-positive-01);width:1.5rem;transition:.4s}"]}))}return r(),s})()},699(re,K,o){o.d(K,{D:()=>n});var w=o(6089),c=o(1188);let n=(()=>{var r;class s{constructor(l){this.translate=l}transform(l){return this.translate.getTranslation(l)}static#e=r=()=>(this.\u0275fac=function(e){return new(e||s)(w.rXU(c.c,16))},this.\u0275pipe=w.EJ8({name:"translate",type:s,pure:!1}))}return r(),s})()},6987(re,K,o){o.d(K,{k:()=>c});var w=o(6089);let c=(()=>{var n;
1class r{constructor(a,l){this.host=a,this.renderer=l,this.onClick=e=>{e.target instanceof Node&&this.target?.contains(e.target)||!window.getSelection()?.toString()&&this.target&&this.target.click()},this.onTargetClick=e=>e.stopPropagation()}ngAfterViewInit(){this.renderer.setStyle(this.host.nativeElement,"cursor","pointer"),this.renderer.setAttribute(this.host.nativeElement,"data-sp-clickable",""),this.target.addEventListener("click",this.onTargetClick),this.host.nativeElement.addEventListener("click",this.onClick)}ngOnDestroy(){this.host.nativeElement.removeEventListener("click",this.onClick),this.target?.removeEventListener("click",this.onTargetClick)}static#e=n=()=>(this.\u0275fac=function(l){return new(l||r)(w.rXU(w.aKT),w.rXU(w.sFG))},this.\u0275dir=w.FsC({type:r,selectors:[["","pwng-clickable-card",""]],inputs:{target:[0,"pwng-clickable-card","target"]}}))}return n(),r})()},710(re,K,o){o.d(K,{M:()=>i});var w=o(9769),c=o(6089);const n=["*"];function r(S,p){1&S&&c.eu8(0)}function s(S,p){if(1&S&&(c.j41(0,"h1",1),c.DNE(1,r,1,0,"ng-container",2),c.k0s()),2&S){const Z=c.XpG(),D=c.sdS(7);c.Y8G("id",Z.id),c.R7$(),c.Y8G("ngTemplateOutlet",D)}}function a(S,p){1&S&&c.eu8(0)}function l(S,p){if(1&S&&(c.j41(0,"h2",1),c.DNE(1,a,1,0,"ng-container",2),c.k0s()),2&S){const Z=c.XpG(),D=c.sdS(7);c.Y8G("id",Z.id),c.R7$(),c.Y8G("ngTemplateOutlet",D)}}function e(S,p){1&S&&c.eu8(0)}function t(S,p){if(1&S&&(c.j41(0,"h3",1),c.DNE(1,e,1,0,"ng-container",2),c.k0s()),2&S){const Z=c.XpG(),D=c.sdS(7);c.Y8G("id",Z.id),c.R7$(),c.Y8G("ngTemplateOutlet",D)}}function L(S,p){1&S&&c.eu8(0)}function H(S,p){if(1&S&&(c.j41(0,"h4",1),c.DNE(1,L,1,0,"ng-container",2),c.k0s()),2&S){const Z=c.XpG(),D=c.sdS(7);c.Y8G("id",Z.id),c.R7$(),c.Y8G("ngTemplateOutlet",D)}}function O(S,p){1&S&&c.eu8(0)}function E(S,p){if(1&S&&(c.j41(0,"h5",1),c.DNE(1,O,1,0,"ng-container",2),c.k0s()),2&S){const Z=c.XpG(),D=c.sdS(7);c.Y8G("id",Z.id),c.R7$(),c.Y8G("ngTemplateOutlet",D)}}function G(S,p){1&S&&c.eu8(0)}function M(S,p){if(1&S&&(c.j41(0,"h6",1),c.DNE(1,G,1,0,"ng-container",2),c.k0s()),2&S){const Z=c.XpG(),D=c.sdS(7);c.Y8G("id",Z.id),c.R7$(),c.Y8G("ngTemplateOutlet",D)}}function R(S,p){1&S&&c.SdG(0)}let i=(()=>{var S;class p{constructor(){this.level=1}static#e=S=()=>(this.\u0275fac=function(Q){return new(Q||p)},this.\u0275cmp=c.VBU({type:p,selectors:[["pwng-heading"]],inputs:{level:"level",id:"id"},ngContentSelectors:n,decls:8,vars:1,consts:[["contentTemplate",""],[3,"id"],[4,"ngTemplateOutlet"]],template:function(Q,z){if(1&Q&&(c.NAR(),c.nVh(0,s,2,2,"h1",1)(1,l,2,2,"h2",1)(2,t,2,2,"h3",1)(3,H,2,2,"h4",1)(4,E,2,2,"h5",1)(5,M,2,2,"h6",1),c.DNE(6,R,1,0,"ng-template",null,0,c.C5r)),2&Q){let J;c.vxM(1===(J=z.level)?0:2===J?1:3===J?2:4===J?3:5===J?4:6===J?5:-1)}},dependencies:[w.T3],encapsulation:2}))}return S(),p})()},9189(re,K,o){o.d(K,{M:()=>e});var w=o(9079),c=o(3726),n=o(3294),r=o(6354),s=o(9172),a=o(7266),l=o(7933);let e=(()=>{var t;class L{constructor(O,E){this.breakpointObserver=O,this.destroyRef=E}matchMedia(O){return(0,c.R)(window,"resize").pipe((0,s.Z)(!1),(0,r.T)(()=>this.breakpointObserver.isMatched(O)),(0,n.F)(),(0,w.pQ)(this.destroyRef))}static#e=t=()=>(this.\u0275fac=function(E){return new(E||L)(a.KVO(l.Q),a.KVO(a.abz))},this.\u0275prov=a.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}))}return t(),L})()},8339(re,K,o){o.d(K,{z:()=>n});var w=o(7266),c=o(6089);let n=(()=>{var r;class s{constructor(l){this.el=l,this.mouseOverEvent=new w.bkB,this.mouseOutEvent=new w.bkB,this.onMouseOver=e=>{this.el.nativeElement.contains(e.target)&&this.mouseOverEvent.emit(this.el.nativeElement)},this.onMouseOut=e=>{this.el.nativeElement.contains(e.target)&&this.mouseOutEvent.emit(this.el.nativeElement)}}ngAfterViewInit(){this.el.nativeElement.addEventListener("mouseover",this.onMouseOver,!0),this.el.nativeElement.addEventListener("mouseout",this.onMouseOut,!0)}static#e=r=()=>(this.\u0275fac=function(e){return new(e||s)(c.rXU(c.aKT))},this.\u0275dir=c.FsC({type:s,selectors:[["","pwngMouseOverOut",""]],outputs:{mouseOverEvent:"mou
1seOverEvent",mouseOutEvent:"mouseOutEvent"}}))}return r(),s})()},5785(re,K,o){o.d(K,{g:()=>n,w:()=>r});var w=o(7266),c=o(6089);let n=(()=>{var s;class a{onFocusIn(){this.element.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}constructor(e,t){this.renderer=e,this.element=t}inView(e){e?this.renderer.addClass(this.element.nativeElement,"active"):this.renderer.removeClass(this.element.nativeElement,"active")}static#e=s=()=>(this.\u0275fac=function(t){return new(t||a)(c.rXU(c.sFG),c.rXU(c.aKT))},this.\u0275dir=c.FsC({type:a,selectors:[["","pwngObserveChild",""]],hostBindings:function(t,L){1&t&&c.bIt("focusin",function(){return L.onFocusIn()})}}))}return s(),a})(),r=(()=>{var s;class a{constructor(e){this.element=e,this.threshold=.6,this.intersection=new w.bkB}ngAfterViewInit(){this.observer=new IntersectionObserver(t=>{t.forEach(L=>{const H=this.children.toArray().find(O=>O.element.nativeElement===L.target);L.isIntersecting&&L.intersectionRatio>=this.threshold?(H.inView(!0),this.intersection.emit(this.children.toArray().indexOf(H))):H.inView(!1)})},{root:this.element.nativeElement,threshold:this.threshold}),this.children.forEach(t=>{this.observer.observe(t.element.nativeElement)})}ngOnDestroy(){this.observer&&this.observer.disconnect()}static#e=s=()=>(this.\u0275fac=function(t){return new(t||a)(c.rXU(c.aKT))},this.\u0275dir=c.FsC({type:a,selectors:[["","pwngObserveVisibility",""]],contentQueries:function(t,L,H){if(1&t&&c.wni(H,n,4),2&t){let O;c.mGM(O=c.lsd())&&(L.children=O)}},inputs:{threshold:"threshold"},outputs:{intersection:"intersection"}}))}return s(),a})()},4823(re,K,o){function w(r,s){const a={...r,...s},l=new URLSearchParams;return Object.entries(a).forEach(([e,t])=>{l.set(e,String(t))}),l.toString()}function c(r=window.location.href){return Object.fromEntries(new URL(r,window.location.origin).searchParams.entries())}function n(r){const s=new URL(window.location.href);for(const[a,l]of Object.entries(r))s.searchParams.set(a,l);history.pushState({},"",s.toString())}o.d(K,{Go:()=>w,al:()=>c,uR:()=>n})},1247(re,K,o){o.d(K,{_:()=>n});var w=o(6089),c=o(2941);let n=(()=>{var r;class s{constructor(l,e){this.element=l,this.scrollLock=e,this.isLocked=!1}ngOnChanges(l){l.pwngScrollLock&&!l.pwngScrollLock.firstChange&&(this.pwngScrollLock?this.lock():this.unlock())}ngOnInit(){null==this.pwngScrollLock&&(this.pwngScrollLock=!0),this.pwngScrollLockTarget?(this.target=this.element.nativeElement.querySelector(this.pwngScrollLockTarget),this.target||(console.warn(`ScrollLockDirective: No element found for selector '${this.pwngScrollLockTarget}'`),this.target=this.element.nativeElement)):this.target=this.element.nativeElement,this.pwngScrollLock?this.lock():this.unlock()}ngOnDestroy(){this.unlock()}lock(){this.target&&!this.isLocked&&(this.isLocked=!0,this.scrollLock.disableBody(this.target))}unlock(){this.target&&this.isLocked&&(this.isLocked=!1,this.scrollLock.enableBody(this.target))}static#e=r=()=>(this.\u0275fac=function(e){return new(e||s)(w.rXU(w.aKT),w.rXU(c.E))},this.\u0275dir=w.FsC({type:s,selectors:[["","pwngScrollLock",""]],inputs:{pwngScrollLock:"pwngScrollLock",pwngScrollLockTarget:"pwngScrollLockTarget"},features:[w.OA$]}))}return r(),s})()},2941(re,K,o){o.d(K,{E:()=>Z});var c=!1;if(typeof window<"u"){var n={get passive(){c=!0}};window.addEventListener("testPassive",null,n),window.removeEventListener("testPassive",null,n)}var r=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),s=[],a=!1,l=-1,e=void 0,t=void 0,L=function(Q){return s.some(function(z){return!(!z.options.allowTouchMove||!z.options.allowTouchMove(Q))})},H=function(Q){var z=Q||window.event;return!!(L(z.target)||z.touches.length>1)||(z.preventDefault&&z.preventDefault(),!1)},p=o(7266);let Z=(()=>{var D;class Q{constructor(){this.elements=[]}disableBody(J){this.elements.push(J),function(Q,z){if(Q){if(!s.some(function(W){return W.targetElement===Q})){var J={targetElement:Q,options:z||{}};
1s=[].concat(function w(D){if(Array.isArray(D)){for(var Q=0,z=Array(D.length);Q<D.length;Q++)z[Q]=D[Q];return z}return Array.from(D)}(s),[J]),r?(Q.ontouchstart=function(W){1===W.targetTouches.length&&(l=W.targetTouches[0].clientY)},Q.ontouchmove=function(W){1===W.targetTouches.length&&function(Q,z){var J=Q.targetTouches[0].clientY-l;!L(Q.target)&&(z&&0===z.scrollTop&&J>0||function(Q){return!!Q&&Q.scrollHeight-Q.scrollTop<=Q.clientHeight}(z)&&J<0?H(Q):Q.stopPropagation())}(W,Q)},a||(document.addEventListener("touchmove",H,c?{passive:!1}:void 0),a=!0)):function(Q){if(void 0===t){var J=window.innerWidth-document.documentElement.clientWidth;Q&&!0===Q.reserveScrollBarGap&&J>0&&(t=document.body.style.paddingRight,document.body.style.paddingRight=J+"px")}void 0===e&&(e=document.body.style.overflow,document.body.style.overflow="hidden")}(z)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")}(J,{reserveScrollBarGap:!1})}enableBody(J){if(J){const W=this.elements.indexOf(J);this.elements.splice(W,1)}else J=this.elements.pop();!function(Q){Q?(s=s.filter(function(z){return z.targetElement!==Q}),r?(Q.ontouchstart=null,Q.ontouchmove=null,a&&0===s.length&&(document.removeEventListener("touchmove",H,c?{passive:!1}:void 0),a=!1)):s.length||(void 0!==t&&(document.body.style.paddingRight=t,t=void 0),void 0!==e&&(document.body.style.overflow=e,e=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}(J)}static#e=D=()=>(this.\u0275fac=function(W){return new(W||Q)},this.\u0275prov=p.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}))}return D(),Q})()},4572(re,K,o){o.d(K,{z:()=>L});var w=o(4226),c=o(3073),n=o(6648),r=o(3669),s=o(6450),a=o(9326),l=o(8496),e=o(4360),t=o(5225);function L(...E){const G=(0,a.lI)(E),M=(0,a.ms)(E),{args:R,keys:i}=(0,c.D)(E);if(0===R.length)return(0,n.H)([],G);const S=new w.c(function H(E,G,M=r.D){return R=>{O(G,()=>{const{length:i}=E,S=new Array(i);let p=i,Z=i;for(let D=0;D<i;D++)O(G,()=>{const Q=(0,n.H)(E[D],G);let z=!1;Q.subscribe((0,e._)(R,J=>{S[D]=J,z||(z=!0,Z--),Z||R.next(M(S.slice()))},()=>{--p||R.complete()}))},R)},R)}}(R,G,i?p=>(0,l.e)(i,p):r.D));return M?S.pipe((0,s.I)(M)):S}function O(E,G,M){E?(0,t.N)(M,E,G):G()}},3726(re,K,o){o.d(K,{R:()=>L});var w=o(8750),c=o(4226),n=o(1397),r=o(7441),s=o(8071),a=o(6450);const l=["addListener","removeListener"],e=["addEventListener","removeEventListener"],t=["on","off"];function L(M,R,i,S){if((0,s.T)(i)&&(S=i,i=void 0),S)return L(M,R,i).pipe((0,a.I)(S));const[p,Z]=function G(M){return(0,s.T)(M.addEventListener)&&(0,s.T)(M.removeEventListener)}(M)?e.map(D=>Q=>M[D](R,Q,i)):function O(M){return(0,s.T)(M.addListener)&&(0,s.T)(M.removeListener)}(M)?l.map(H(M,R)):function E(M){return(0,s.T)(M.on)&&(0,s.T)(M.off)}(M)?t.map(H(M,R)):[];if(!p&&(0,r.X)(M))return(0,n.Z)(D=>L(D,R,i))((0,w.Tg)(M));if(!p)throw new TypeError("Invalid event target");return new c.c(D=>{const Q=(...z)=>D.next(1<z.length?z:z[0]);return p(Q),()=>Z(Q)})}function H(M,R){return i=>S=>M[i](R,S)}},9437(re,K,o){o.d(K,{W:()=>r});var w=o(8750),c=o(4360),n=o(9974);function r(s){return(0,n.N)((a,l)=>{let L,e=null,t=!1;e=a.subscribe((0,c._)(l,void 0,void 0,H=>{L=(0,w.Tg)(s(H,r(s)(a))),e?(e.unsubscribe(),e=null,L.subscribe(l)):t=!0})),t&&(e.unsubscribe(),e=null,L.subscribe(l))})}},152(re,K,o){o.d(K,{B:()=>r});var w=o(8839),c=o(9974),n=o(4360);function r(s,a=w.E){return(0,c.N)((l,e)=>{let t=null,L=null,H=null;const O=()=>{if(t){t.unsubscribe(),t=null;const G=L;L=null,e.next(G)}};function E(){const G=H+s,M=a.now();if(M<G)return t=this.schedule(void 0,G-M),void e.add(t);O()}l.subscribe((0,n._)(e,G=>{L=G,H=a.now(),t||(t=a.schedule(E,s),e.add(t))},()=>{O(),e.complete()},void 0,()=>{L=t=null}))})}},3294(re,K,o){o.d(K,{F:()=>r});var w=o(3669),c=o(9974),n=o(4360);function r(a,l=w.D){return a=a??s,(0,c.N)((e,t)=>{let L,H=!0;e.subscribe((0,n._)(t,O=>{const E=l(O);(H||!a(L,E))&&(H=!1,L=E,t.next(O))}))})}function s(a,l){return a===l}},9568(re,K,o){o.d(K,{t:()=>e});var w=o(2771),c=o(8750),n=o(1413),r=o(7707),s=o(9974);function l(t,L,...H){if(!0===L)return void t();if(!1===L)return;const O=new r.Ms({next:()=>{O.unsubscribe(),t()}});return(0,c.Tg)(L(...H)).subscribe(O)}function e(t,L,H){let O,E=!1;return t&&"object"==typeof t?({bufferSize:O=1/0,windowTime:L=1/0,refCount:E=!1,scheduler:H}=t):O=t??1/0,function a(t={}){const{connector:L=()=>new n.B,resetOnError:H=!0,resetOnComplete:O=!0,resetOnRefCountZero:E=!0}=t;return G=>{let M,R,i,S=0,p=!1,Z=!1;const D=()=>{R?.unsubscribe(),R=void 0},Q=()=>{D(),M=i=void 0,p=Z=!1},z=()=>{const J=M;Q(),J?.unsubscribe()};return(0,s.N)((J,W)=>{S++,!Z&&!p&&D();const ne=i=i??L();W.add(()=>{S--,0===S&&!Z&&!p&&(R=l(z,E))}),ne.subscribe(W),!M&&S>0&&(M=new r.Ms({next:C=>ne.next(C),error:C=>{Z=!0,D(),R=l(Q,H,C),ne.error(C)},complete:()=>{p=!0,D(),R=l(Q,O),ne.complete()}}),(0,c.Tg)(J).subscribe(M))})(G)}}({connector:()=>new w.m(O,L,H),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:E})}},9172(re,K,o){o.d(K,{Z:()=>r});var w=o(8793),c=o(9326),n=o(9974);function r(...s){const a=(0,c.lI)(s);return(0,n.N)((l,e)=>{(a?(0,w.x)(s,l,a):(0,w.x)(s,l)).subscribe(e)})}},6977(re,K,o){o.d(K,{Q:()=>s});var w=o(9974),c=o(4360),n=o(8750),r=o(5343);function s(a){return(0,w.N)((l,e)=>{(0,n.Tg)(a).subscribe((0,c._)(e,()=>e.complete(),r.l)),!e.closed&&l.subscribe(e)})}},8141(re,K,o){o.d(K,{M:()=>s});var w=o(8071),c=o(9974),n=o(4360),r=o(3669);function s(a,l,e){const t=(0,w.T)(a)||l||e?{next:a,error:l,complete:e}:a;return t?(0,c.N)((L,H)=>{var O;null===(O=t.subscribe)||void 0===O||O.call(t);let E=!0;L.subscribe((0,n._)(H,G=>{var M;null===(M=t.next)||void 0===M||M.call(t,G),H.next(G)},()=>{var G;E=!1,null===(G=t.complete)||void 0===G||G.call(t),H.complete()},G=>{var M;E=!1,null===(M=t.error)||void 0===M||M.call(t,G),H.error(G)},()=>{var G,M;
1E&&(null===(G=t.unsubscribe)||void 0===G||G.call(t)),null===(M=t.finalize)||void 0===M||M.call(t)}))}):r.D}},3073(re,K,o){o.d(K,{D:()=>s});const{isArray:w}=Array,{getPrototypeOf:c,prototype:n,keys:r}=Object;function s(l){if(1===l.length){const e=l[0];if(w(e))return{args:e,keys:null};if(function a(l){return l&&"object"==typeof l&&c(l)===n}(e)){const t=r(e);return{args:t.map(L=>e[L]),keys:t}}}return{args:l,keys:null}}},8496(re,K,o){function w(c,n){return c.reduce((r,s,a)=>(r[s]=n[a],r),{})}o.d(K,{e:()=>w})},6450(re,K,o){o.d(K,{I:()=>r});var w=o(6354);const{isArray:c}=Array;function r(s){return(0,w.T)(a=>function n(s,a){return c(a)?s(...a):s(a)}(s,a))}},7884(re,K,o){o.d(K,{Pd:()=>ee,kB:()=>_e});var w=o(6089),c=o(7266),n=o(7705),r=o(7421);const L=new WeakMap;let H=(()=>{class b{_appRef;_injector=(0,c.WQX)(c.zZn);_environmentInjector=(0,c.WQX)(c.uvJ);load(A){const q=this._appRef=this._appRef||this._injector.get(w.o8S);let ue=L.get(q);ue||(ue={loaders:new Set,refs:[]},L.set(q,ue),q.onDestroy(()=>{L.get(q)?.refs.forEach(ve=>ve.destroy()),L.delete(q)})),ue.loaders.has(A)||(ue.loaders.add(A),ue.refs.push((0,n.a0P)(A,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(q){return new(q||b)};static \u0275prov=w.tV_({token:b,factory:b.\u0275fac})}return b})(),E=(()=>{class b{static \u0275fac=function(q){return new(q||b)};static \u0275cmp=w.VBU({type:b,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(q,ue){},styles:[".cdk-visually-hidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n outline: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n left: 0;\n}\n[dir=rtl] .cdk-visually-hidden {\n left: auto;\n right: 0;\n}\n"],encapsulation:2})}return b})();var S=o(7933);let B=(()=>{class b{create(A){return typeof MutationObserver>"u"?null:new MutationObserver(A)}static \u0275fac=function(q){return new(q||b)};static \u0275prov=w.tV_({token:b,factory:b.\u0275fac})}return b})(),T=(()=>{class b{static \u0275fac=function(q){return new(q||b)};static \u0275mod=w.$C({type:b});static \u0275inj=c.G2t({providers:[B]})}return b})(),Ee=(()=>{class b{_platform=(0,c.WQX)(r.O);isDisabled(A){return A.hasAttribute("disabled")}isVisible(A){return function Fe(b){return!!(b.offsetWidth||b.offsetHeight||"function"==typeof b.getClientRects&&b.getClientRects().length)}(A)&&"visible"===getComputedStyle(A).visibility}isTabbable(A){if(!this._platform.isBrowser)return!1;const q=function Ce(b){try{return b.frameElement}catch{return null}}(function oe(b){return b.ownerDocument&&b.ownerDocument.defaultView||window}(A));if(q&&(-1===X(q)||!this.isVisible(q)))return!1;let ue=A.nodeName.toLowerCase(),ve=X(A);return A.hasAttribute("contenteditable")?-1!==ve:!("iframe"===ue||"object"===ue||this._platform.WEBKIT&&this._platform.IOS&&!function ie(b){let j=b.nodeName.toLowerCase(),A="input"===j&&b.type;return"text"===A||"password"===A||"select"===j||"textarea"===j}(A))&&("audio"===ue?!!A.hasAttribute("controls")&&-1!==ve:"video"===ue?-1!==ve&&(null!==ve||this._platform.FIREFOX||A.hasAttribute("controls")):A.tabIndex>=0)}isFocusable(A,q){return function pe(b){return!function De(b){return function Le(b){return"input"==b.nodeName.toLowerCase()}(b)&&"hidden"==b.type}(b)&&(function Ge(b){let j=b.nodeName.toLowerCase();return"input"===j||"select"===j||"button"===j||"textarea"===j}(b)||function Be(b){return function $e(b){return"a"==b.nodeName.toLowerCase()}(b)&&b.hasAttribute("href")}(b)||b.hasAttribute("contenteditable")||Ae(b))}(A)&&!this.isDisabled(A)&&(q?.ignoreVisibility||this.isVisible(A))}static \u0275fac=function(q){return new(q||b)};static \u0275prov=w.tV_({token:b,factory:b.\u0275fac})}return b})();function Ae(b){if(!b.hasAttribute("tabindex")||void 0===b.tabIndex)return!1;let j=b.getAttribute("tabindex");return!(!j||isNaN(parseInt(j,10)))}function X(b){if(!Ae(b))return null;const j=parseInt(b.getAttribute("tabindex")||"",10);return isNaN(j)?-1:j}class le{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>{!this.focusLastTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};endAnchorListener=()=>{!this.focusFirstTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};get enabled(){return this._enabled}set enabled(j){this._enabled=j,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(j,this._startAnchor),this._toggleAnchorTabIndex(j,this._endAnchor))}_enabled=!0;constructor(j,A,q,ue,ve=!1,Ve){this._element=j,this._checker=A,this._ngZone=q,this._document=ue,this._injector=Ve,ve||this.attachAnchors()}destroy(){const j=this._startAnchor,A=this._endAnchor;j&&(j.removeEventListener("focus",this.startAnchorListener),j.remove()),A&&(A.removeEventListener("focus",this.endAnchorListener),A.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(j){return new Promise(A=>{this._executeOnStable(()=>A(this.focusInitialElement(j)))})}focusFirstTabbableElementWhenReady(j){return new Promise(A=>{this._executeOnStable(()=>A(this.focusFirstTabbableElement(j)))})}focusLastTabbableElementWhenReady(j){return new Promise(A=>{this._executeOnStable(()=>A(this.focusLastTabbableElement(j)))})}_getRegionBoundary(j){const A=this._element.querySelectorAll(`[cdk-focus-region-${j}], [cdkFocusRegion${j}], [cdk-focus-${j}]`);return"start"==j?A.length?A[0]:this._getFirstTabbableElement(this._element):A.length?A[A.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(j){const A=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(A){if(!this._checker.isFocusable(A)){const q=this._getFirstTabbableElement(A);return q?.focus(j),!!q}return A.focus(j),!0}return this.focusFirstTabbableElement(j)}focusFirstTabbableElement(j){const A=this._getRegionBoundary("start");return A&&A.focus(j),!!A}focusLastTabbableElement(j){const A=this._getRegionBoundary("end");return A&&A.focus(j),!!A}hasAttached(){return this._hasAttached}_getFirstTabbableElement(j){if(this._checker.isFocusable(j)&&this._checker.isTabbable(j))return j;const A=j.children;for(let q=0;q<A.length;q++){const ue=A[q].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(A[q]):null;if(ue)return ue}return null}_getLastTabbableElement(j){if(this._checker.isFocusable(j)&&this._checker.isTabbable(j))return j;const A=j.children;for(let q=A.length-1;q>=0;q--){const ue=A[q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(A[q]):null;if(ue)return ue}return null}_createAnchor(){const j=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,j),j.classList.add("cdk-visually-hidden"),j.classList.add("cdk-focus-trap-anchor"),j.setAttribute("aria-hidden","true"),j}_toggleAnchorTabIndex(j,A){j?A.setAttribute("tabindex","0"):A.removeAttribute("tabindex")}toggleAnchors(j){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(j,this._startAnchor),this._toggleAnchorTabIndex(j,this._endAnchor))}_executeOnStable(j){(0,w.mal)(j,{injector:this._injector})}}let ae=(()=>{class b{_checker=(0,c.WQX)(Ee);_ngZone=(0,c.WQX)(c.SKi);_document=(0,c.WQX)(c.qQL);_injector=(0,c.WQX)(c.zZn);constructor(){(0,c.WQX)(H).load(E)}create(A,q=!1){return new le(A,this._checker,this._ngZone,this._document,q,this._injector)}static \u0275fac=function(q){return new(q||b)};static \u0275prov=w.tV_({token:b,factory:b.\u0275fac})}return b})(),_e=(()=>{class b{_elementRef=(0,c.WQX)(w.aKT);_focusTrapFactory=(0,c.WQX)(ae);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(A){this.focusTrap&&(this.focusTrap.enabled=A)}autoCapture=!1;constructor(){(0,c.WQX)(r.O).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(A){const q=A.autoCapture;q&&!q.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=function e(){let b=typeof document<"u"&&document?document.activeElement:null;for(;b&&b.shadowRoot;){const j=b.shadowRoot.activeElement;if(j===b)break;b=j}return b}(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(q){return new(q||b)};static \u0275dir=w.FsC({type:b,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",n.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",n.L39]},exportAs:["cdkTrapFocus"],features:[w.OA$]})}return b})();var Me=function(b){return b[b.NONE=0]="NONE",b[b.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",b[b.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",b}(Me||{});const F="cdk-high-contrast-black-on-white",Y="cdk-high-contrast-white-on-black",N="cdk-high-contrast-active";let te=(()=>{class b{_platform=(0,c.WQX)(r.O);_hasCheckedHighContrastMode=!1;_document=(0,c.WQX)(c.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,c.WQX)(S.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
1s())})}getHighContrastMode(){if(!this._platform.isBrowser)return Me.NONE;const A=this._document.createElement("div");A.style.backgroundColor="rgb(1,2,3)",A.style.position="absolute",this._document.body.appendChild(A);const q=this._document.defaultView||window,ue=q&&q.getComputedStyle?q.getComputedStyle(A):null,ve=(ue&&ue.backgroundColor||"").replace(/ /g,"");switch(A.remove(),ve){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Me.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Me.BLACK_ON_WHITE}return Me.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const A=this._document.body.classList;A.remove(N,F,Y),this._hasCheckedHighContrastMode=!0;const q=this.getHighContrastMode();q===Me.BLACK_ON_WHITE?A.add(N,F):q===Me.WHITE_ON_BLACK&&A.add(N,Y)}}static \u0275fac=function(q){return new(q||b)};static \u0275prov=w.tV_({token:b,factory:b.\u0275fac})}return b})(),ee=(()=>{class b{constructor(){(0,c.WQX)(te)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(q){return new(q||b)};static \u0275mod=w.$C({type:b});static \u0275inj=c.G2t({imports:[T]})}return b})()},7933(re,K,o){o.d(K,{Q:()=>D});var w=o(6089),c=o(7266),n=o(1413),r=o(4572),s=o(8793),a=o(4226),l=o(6697),e=o(5964),L=o(152),H=o(6354),O=o(9172),E=o(6977),G=o(7421);function M(z){return Array.isArray(z)?z:[z]}const R=new Set;let i,S=(()=>{class z{_platform=(0,c.WQX)(G.O);_nonce=(0,c.WQX)(c.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Z}matchMedia(W){return(this._platform.WEBKIT||this._platform.BLINK)&&function p(z,J){if(!R.has(z))try{i||(i=document.createElement("style"),J&&i.setAttribute("nonce",J),i.setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule(`@media ${z.replace(/[{}]/g,"")} {body{ }}`,0),R.add(z))}catch(W){console.error(W)}}(W,this._nonce),this._matchMedia(W)}static \u0275fac=function(ne){return new(ne||z)};static \u0275prov=w.tV_({token:z,factory:z.\u0275fac})}return z})();function Z(z){return{matches:"all"===z||""===z,media:z,addListener:()=>{},removeListener:()=>{}}}let D=(()=>{class z{_mediaMatcher=(0,c.WQX)(S);_zone=(0,c.WQX)(c.SKi);_queries=new Map;_destroySubject=new n.B;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(W){return Q(M(W)).some(C=>this._registerQuery(C).mql.matches)}observe(W){const C=Q(M(W)).map(u=>this._registerQuery(u).observable);let y=(0,r.z)(C);
1return y=(0,s.x)(y.pipe((0,l.s)(1)),y.pipe(function t(z){return(0,e.p)((J,W)=>z<=W)}(1),(0,L.B)(0))),y.pipe((0,H.T)(u=>{const h={matches:!1,breakpoints:{}};return u.forEach(({matches:k,query:d})=>{h.matches=h.matches||k,h.breakpoints[d]=k}),h}))}_registerQuery(W){if(this._queries.has(W))return this._queries.get(W);const ne=this._mediaMatcher.matchMedia(W),y={observable:new a.c(u=>{const h=k=>this._zone.run(()=>u.next(k));return ne.addListener(h),()=>{ne.removeListener(h)}}).pipe((0,O.Z)(ne),(0,H.T)(({matches:u})=>({query:W,matches:u})),(0,E.Q)(this._destroySubject)),mql:ne};return this._queries.set(W,y),y}static \u0275fac=function(ne){return new(ne||z)};static \u0275prov=w.tV_({token:z,factory:z.\u0275fac})}return z})();function Q(z){return z.map(J=>J.split(",")).reduce((J,W)=>J.concat(W)).map(J=>J.trim())}},7421(re,K,o){o.d(K,{O:()=>s});var w=o(6089),c=o(7266),n=o(177);let r;try{r=typeof Intl<"u"&&Intl.v8BreakIterator}catch{r=!1}let s=(()=>{class a{_platformId=(0,c.WQX)(c.Agw);isBrowser=this._platformId?(0,n.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!r)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(t){return new(t||a)};static \u0275prov=w.tV_({token:a,factory:a.\u0275fac})}return a})()},9079(re,K,o){o.d(K,{pQ:()=>D});var S=o(4226),p=o(6977),Z=o(7266);function D(k){k||(k=(0,Z.WQX)(Z.abz));const d=new S.c(B=>{if(!k.destroyed)return k.onDestroy(B.next.bind(B));B.next()});return B=>B.pipe((0,p.Q)(d))}}}]);
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.