import{a as O}from"./chunk-3UAMWNPB.js";import{d as _}from"./chunk-ZSVIZXE3.js";import{Ab as c,Bb as i,Ca as g,Cb as M,Db as C,Dd as A,E as w,Eb as D,Gc as b,Ha as k,Ia as z,Jd as N,Kd as P,Lb as u,Lc as F,Me as j,Nd as E,Ua as s,Wg as G,Xb as d,Xc as H,Yb as R,ad as B,bd as U,db as p,ib as v,ic as Z,la as T,nb as h,ob as m,pa as a,rc as x,s as L,sa as V,sc as S,ta as I,wc as f,zb as o}from"./chunk-N6B2OJOY.js";var $=(()=>{let t=class t{constructor(){this.isDarkModeActive=p(!1),this.themeableUrls=p([]),this._baseSiteService=a(_),this._destroyRef=a(k),this._windowRef=a(j),this._router=a(N)}init(){this._baseSiteService.getActiveBaseSite().pipe(E(this._destroyRef)).subscribe(l=>{if(this.isDarkModeActive.set(l?.darkMode??!1),l?.themeableUrls){let n=l.themeableUrls.map(y=>y.trim());this.themeableUrls.set(n?.length>0?n:[])}})}isNonThemableUrl(l){return this.isDarkModeActive()?this.themeableUrls().findIndex(n=>n===l)===-1:!0}listeningForRouteChanges(l){this._router.events.pipe(E(this._destroyRef),w(n=>n instanceof A)).subscribe(n=>l(n.url))}toggleDarkMode(l){this.isDarkModeActive()&&(this.isNonThemableUrl(l)?delete this._windowRef.document.body.dataset.bsTheme:this._windowRef.document.body.dataset.bsTheme="dark")}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var J=()=>({cxRoute:"home"});function K(e,t){e&1&&D(0)}function Q(e,t){if(e&1&&(M(0),o(1,"a",5),x(2,"cxUrl"),v(3,K,1,0,"ng-container",6),c(),C()),e&2){u();let r=d(3);s(),m("routerLink",S(2,2,Z(4,J))),s(2),m("ngTemplateOutlet",r)}}function X(e,t){e&1&&i(0,"div")}function Y(e,t){if(e&1&&(v(0,X,1,0,"div",7),x(1,"async")),e&2){let r=u(),l=d(5),n=d(7);m("ngIf",S(1,3,r.isBelgianCustomer$)===!0)("ngIfThen",n)("ngIfElse",l)}}function e1(e,t){if(e&1&&(g(),o(0,"svg",8),i(1,"polygon",9)(2,"polygon",10)(3,"polygon",11),o(4,"g"),i(5,"path",12)(6,"polygon",13)(7,"polygon",14)(8,"polygon",15),c()()),e&2){let r=u();s(),h("fill",r.primaryColor()),s(),h("fill",r.primaryColor()),s(),h("fill",r.primaryColor()),s(2),h("fill",r.secondaryColor()),s(),h("fill",r.secondaryColor()),s(),h("fill",r.secondaryColor()),s(),h("fill",r.primaryColor())}}function t1(e,t){e&1&&(g(),o(0,"svg",16)(1,"defs")(2,"style"),R(3," .cls-1 { stroke: #1a2441; stroke-width: 3px; } .cls-1, .cls-2 { fill: none; } .cls-3 { clip-path: url(#clippath-2); } .cls-2, .cls-4, .cls-5, .cls-6, .cls-7, .cls-8 { stroke-width: 0; } .cls-9 { clip-path: url(#clippath-1); } .cls-10 { clip-path: url(#clippath-4); } .cls-4 { fill: #181b1c; } .cls-5 { fill: #009fe3; } .cls-6 { fill: #002642; } .cls-11 { clip-path: url(#clippath); } .cls-12 { clip-path: url(#clippath-3); } .cls-7 { fill: #1d1d1b; } .cls-8 { fill: #bf111b; } "),c(),o(4,"clipPath",17),i(5,"rect",18),c(),o(6,"clipPath",19),i(7,"rect",18),c(),o(8,"clipPath",20),i(9,"rect",18),c(),o(10,"clipPath",21),i(11,"rect",18),c(),o(12,"clipPath",22),i(13,"rect",18),c()(),i(14,"polygon",23)(15,"polygon",24),o(16,"g",25),i(17,"path",26)(18,"path",27),c(),i(19,"polygon",28),o(20,"g",29),i(21,"path",30)(22,"path",31),c(),i(23,"rect",32)(24,"rect",33)(25,"polygon",34)(26,"polygon",35)(27,"polygon",36)(28,"polygon",37)(29,"polygon",38)(30,"polygon",39),o(31,"g",40),i(32,"path",41),c(),i(33,"line",42),o(34,"g",43),i(35,"path",44),c(),o(36,"g",45),i(37,"path",46),c(),i(38,"path",47)(39,"path",48)(40,"path",49)(41,"path",50)(42,"path",51)(43,"path",52)(44,"path",53)(45,"path",54),c())}function i1(e,t){e&1&&(g(),o(0,"svg",55)(1,"g"),i(2,"path",56)(3,"polygon",57)(4,"polygon",58)(5,"path",59)(6,"path",60)(7,"path",61)(8,"path",62)(9,"path",63),c()())}var x1=(()=>{let t=class t{constructor(){this.isLinkedToHomepage=z(!0),this.useDefaultColors=p(!0),this.primaryColor=b(()=>this.useDefaultColors()?"#1a2740":"white"),this.secondaryColor=b(()=>(this.useDefaultColors(),"#bf111b")),this._baseSiteService=a(_),this._foerchThemeService=a($),this._location=a(F)}ngOnInit(){this.isBelgianCustomer$=this._baseSiteService.getActive().pipe(L(l=>l===O.BELGIUM)),this.useDefaultColors.set(this._foerchThemeService.isNonThemableUrl(this._location.path())),this._foerchThemeService.listeningForRouteChanges(l=>this.useDefaultColors.set(this._foerchThemeService.isNonThemableUrl(l)))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=I({type:t,selectors:[["foerch-logo"]],inputs:{isLinkedToHomepage:[V.SignalBased,"isLinkedToHomepage"]},decls:10,vars:2,consts:[["logoContainer",""],["normalLogo",""],["newBelgianLogo",""],["belgianLogo",""],[4,"ngIf","ngIfElse"],[3,"routerLink"],[4,"ngTemplateOutlet"],[4,"ngIf","ngIfThen","ngIfElse"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","viewBox","0 0 757.49 202.82","pointer-events","none",2,"pointer-events","none"],["fill-rule","evenodd","clip-rule","evenodd","points",`757.49,46.48 757.49,154 714.48,154 714.48,115.02 666.09,115.02 666.09,154 623.08,154 623.08,46.48
	666.09,46.48 666.09,85.45 714.48,85.45 714.48,46.48`],["fill-rule","evenodd","clip-rule","evenodd","points",`566.64,93.52 566.64,76.05 518.25,76.05 518.25,124.44 566.64,124.44 566.64,106.96 609.64,106.96
	609.64,154 475.25,154 475.25,46.48 609.64,46.48 609.64,93.52`],["fill-rule","evenodd","clip-rule","evenodd","points",`426.85,119.05 426.86,119.06 461.81,154 416.08,154 381.17,119.09 381.17,89.49 418.79,89.49
	418.79,76.05 359.66,76.05 359.66,154 316.66,154 316.66,46.48 461.81,46.48 461.81,119.05`],["fill-rule","evenodd","clip-rule","evenodd","d",`M222.84,0.08l-80.38,46.4V154l80.38,46.4l80.38-46.4V46.48L222.84,0.08z M222.84,141.11
		c-22.61,0-40.93-18.32-40.93-40.92c0-22.61,18.32-40.93,40.93-40.93c22.6,0,40.93,18.32,40.93,40.93
		C263.76,122.79,245.43,141.11,222.84,141.11`],["fill-rule","evenodd","clip-rule","evenodd","points","142.46,35 202.92,0.08 142.46,0.08"],["fill-rule","evenodd","clip-rule","evenodd","points","303.21,35 242.76,0.08 303.21,0.08"],["fill-rule","evenodd","clip-rule","evenodd","points",`43,76.05 43,89.49 129.02,89.49 129.02,119.06 43,119.06 43,154 0,154 0,46.48 129.02,46.48
		129.02,76.05`],["id","new_belgian_logo","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 814.85 228.93","pointer-events","none",2,"pointer-events","none"],["id","clippath"],["y","0","width","814.85","height","228.93",1,"cls-2"],["id","clippath-1"],["id","clippath-2"],["id","clippath-3"],["id","clippath-4"],["points","248.09 150.06 267.33 150.06 267.33 186 283.48 186 283.48 202.99 248.09 202.99 248.09 150.06",1,"cls-7"],["points","289.23 150.06 307.77 150.06 307.77 167.89 319.56 167.89 319.56 150.06 338.1 150.06 338.1 202.99 319.56 202.99 319.56 184.6 307.77 184.6 307.77 202.99 289.23 202.99 289.23 150.06",1,"cls-7"],[1,"cls-11"],["d","M417.57,150.06h19.8l7.3,27.8h.49c.35-2.32.7-4.78,1.33-7.02l5.97-20.78h19.59l8.71,52.94h-18.61l-2.6-29h-.35c-.35,1.75-.7,3.58-1.26,5.27l-7.65,23.73h-11.23l-6.88-22.4c-.56-2.25-1.05-4.35-1.19-6.6h-.63c-.14,2.11-.28,4.28-.49,6.39l-2.25,22.61h-18.6l8.57-52.94Z",1,"cls-7"],["d","M494.1,150.06h19.8l7.3,27.8h.49c.35-2.32.7-4.78,1.33-7.02l5.97-20.78h19.59l8.7,52.94h-18.6l-2.6-29h-.35c-.35,1.75-.7,3.58-1.26,5.27l-7.65,23.73h-11.23l-6.88-22.4c-.56-2.25-1.05-4.35-1.19-6.6h-.63c-.14,2.11-.28,4.28-.49,6.39l-2.25,22.61h-18.6l8.57-52.94Z",1,"cls-7"],["points","563.95 150.06 599.55 150.06 599.55 164.52 583.33 164.52 583.33 169.57 598.14 169.57 598.14 183.34 583.33 183.34 583.33 188.53 600.11 188.53 600.11 202.99 563.95 202.99 563.95 150.06",1,"cls-7"],[1,"cls-9"],["d","M345.27,176.61c0,13.74,11.02,25.09,25.3,26.89v-53.77c-14.29,1.79-25.3,13.14-25.3,26.88",1,"cls-5"],["d","M403.81,176.61c0-13.74-11.02-25.09-25.3-26.88v53.77c14.29-1.8,25.3-13.14,25.3-26.89",1,"cls-5"],["x","366.42","y","154.46","width","15.86","height","8.31",1,"cls-4"],["x","366.42","y","189.2","width","15.86","height","8.31",1,"cls-4"],["points","0 35.66 0 121.11 33.88 121.11 33.88 93.78 101.85 93.78 101.85 70.8 33.88 70.8 33.88 59.52 101.85 59.52 101.85 35.66 0 35.66",1,"cls-6"],["points","282.4 120.99 282.4 59.4 329.72 59.4 329.74 70.67 299.77 70.67 299.77 93.23 327.14 120.99 366.66 120.99 339.95 93.66 363.18 93.66 363.18 35.54 248.09 35.54 248.09 121.02 282.4 120.99",1,"cls-6"],["points","481.19 121.27 481.19 81.15 445.79 81.15 445.79 93.94 407.57 93.94 407.57 59.68 445.79 59.68 445.79 70.96 481.19 70.96 481.21 35.82 373.28 35.82 373.26 121.27 481.19 121.27",1,"cls-6"],["points","492.66 121.27 526.75 121.27 526.75 91.56 564.97 91.56 564.97 121.27 599.72 121.27 599.72 35.82 564.97 35.82 564.97 65.75 526.75 65.75 526.75 35.82 492.66 35.82 492.66 121.27",1,"cls-6"],["points","109.84 .27 109.84 28.25 157.83 .27 109.84 .27",1,"cls-8"],["points","237.69 28.53 237.69 .35 188.61 .34 237.69 28.53",1,"cls-8"],[1,"cls-3"],["d","M174.06,158.52l63.41-37.52V36.65L173.19,0l-63.64,36.65v84.58s64.51,37.3,64.51,37.3ZM174.01,47.17c17.93,0,32.56,14.61,32.56,32.51s-14.63,32.52-32.56,32.52-32.56-14.61-32.56-32.52,14.63-32.51,32.56-32.51",1,"cls-8"],["x1","622.99","y1","35.82","x2","622.99","y2","203.01",1,"cls-1"],[1,"cls-12"],["d","M642.44,153.71c-.57-18.33,9.85-32.42,29.09-32.42,14.66,0,27.49,9.39,27.49,25.09,0,24.28-25.77,26.23-37.46,42.73h37.92v13.97h-58.88c0-18.67,11.46-26.35,25.32-35.85,6.99-4.93,16.84-9.74,16.84-19.59,0-7.67-5.04-12.37-12.03-12.37-9.62,0-12.71,9.97-12.71,18.44h-15.58Z",1,"cls-6"],[1,"cls-10"],["d","M747.64,136.29h-33.1l-3.21,18.21.23.23c4.47-4.47,9.28-6.19,15.69-6.19,15.81,0,24.74,12.26,24.74,27.26,0,16.5-13.75,29.21-29.78,28.87-15.58,0-29.44-8.59-29.78-25.43h16.27c.8,7.22,5.96,12.03,13.17,12.03,8.48,0,13.86-7.45,13.86-15.46s-5.16-15.01-13.86-15.01c-5.84,0-9.05,1.95-12.26,6.42h-14.66l7.9-44.33h44.79v13.4Z",1,"cls-6"],["d","M664.12,148.15h-.92v-2.92h-1.13v-.69c.64.02,1.22-.21,1.32-.9h.73v4.51Z",1,"cls-6"],["d","M667.74,146.96c.06.3.29.55.6.55.66,0,.82-.87.85-1.36h-.01c-.25.34-.57.48-1,.48-.38,0-.77-.18-1.02-.46-.24-.27-.34-.64-.34-.99,0-.91.62-1.63,1.56-1.63,1.35,0,1.71,1.18,1.71,2.3s-.48,2.33-1.75,2.33c-.77,0-1.34-.45-1.44-1.23h.86ZM669.1,145.13c0-.41-.26-.83-.72-.83-.43,0-.68.41-.68.81s.22.84.68.84.72-.39.72-.83Z",1,"cls-6"],["d","M677.72,146.96c.06.3.29.55.6.55.66,0,.82-.87.85-1.36h-.01c-.25.34-.57.48-1,.48-.38,0-.77-.18-1.02-.46-.24-.27-.34-.64-.34-.99,0-.91.62-1.63,1.56-1.63,1.35,0,1.71,1.18,1.71,2.3s-.48,2.33-1.75,2.33c-.77,0-1.34-.45-1.44-1.23h.86ZM679.09,145.13c0-.41-.26-.83-.72-.83-.43,0-.68.41-.68.81s.22.84.68.84.72-.39.72-.83Z",1,"cls-6"],["d","M672.73,146.96c.06.3.29.55.6.55.66,0,.82-.87.85-1.36h-.01c-.25.34-.57.48-1,.48-.38,0-.77-.18-1.02-.46-.24-.27-.34-.64-.34-.99,0-.91.62-1.63,1.56-1.63,1.35,0,1.71,1.18,1.71,2.3s-.48,2.33-1.75,2.33c-.77,0-1.34-.45-1.44-1.23h.86ZM674.1,145.13c0-.41-.26-.83-.72-.83-.43,0-.68.41-.68.81s.22.84.68.84.72-.39.72-.83Z",1,"cls-6"],["d","M713.47,177.31c-.03-1.02.55-1.8,1.62-1.8.81,0,1.53.52,1.53,1.39,0,1.35-1.43,1.46-2.08,2.37h2.11v.78h-3.27c0-1.04.64-1.46,1.41-1.99.39-.27.94-.54.94-1.09,0-.43-.28-.69-.67-.69-.53,0-.71.55-.71,1.02h-.87Z",1,"cls-6"],["d","M720.24,175.51c.89,0,1.64.56,1.64,2.3s-.75,2.33-1.64,2.33-1.63-.56-1.63-2.33.74-2.3,1.63-2.3ZM720.24,179.4c.74,0,.74-1.09.74-1.59,0-.46,0-1.55-.74-1.55s-.73,1.09-.73,1.55c0,.5,0,1.59.73,1.59Z",1,"cls-6"],["d","M730.28,179.02h-1.88v-.83l1.93-2.6h.81v2.68h.59v.74h-.59v1.03h-.86v-1.03ZM730.28,176.73h-.02l-1.15,1.55h1.17v-1.55Z",1,"cls-6"],["d","M723.62,177.31c-.03-1.02.55-1.8,1.62-1.8.81,0,1.53.52,1.53,1.39,0,1.35-1.43,1.46-2.08,2.37h2.11v.78h-3.27c0-1.04.64-1.46,1.41-1.99.39-.27.94-.54.94-1.09,0-.43-.28-.69-.67-.69-.53,0-.71.55-.71,1.02h-.87Z",1,"cls-6"],["id","logo-belgium","viewBox","0 0 200 85","x","0px","xmlns","http://www.w3.org/2000/svg","y","0px","pointer-events","none",2,"pointer-events","none"],["d",`M58.8,7.9L37.6,20.1v28.4l21.2,12.2l21.2-12.2V20.1L58.8,7.9L58.8,7.9z M58.8,45.1c-6,0-10.8-4.8-10.8-10.8
		s4.8-10.8,10.8-10.8s10.8,4.8,10.8,10.8S64.8,45.1,58.8,45.1L58.8,45.1z`,"fill","#E63027"],["fill","#E53027","points","37.6,17.1 53.6,7.9 37.6,7.9 37.6,17.1"],["fill","#E53027","points","80.1,17.1 64.1,7.9 80.1,7.9 80.1,17.1"],["d",`M188.6,20.1v10.3h-12.8V20.1h-11.4v28.4h11.4V38.2h12.8v10.3H200V20.1H188.6z M125.5,48.5H161V36.1h-11.4
		v4.6h-12.8V28h12.8v4.6H161V20.1h-35.5V48.5z M83.6,48.5H95V28h15.6v3.5h-9.9v7.8l9.2,9.2h12.1l-9.2-9.2l0,0h9.2V20.1H83.6
		L83.6,48.5L83.6,48.5z M0,48.5h11.4v-9.2h22.7v-7.8H11.4v-3.5h22.7v-7.8H0V48.5L0,48.5z`,"fill","#031E45"],["d",`M115.7,68.2c0,4.5,3.6,8.3,8.4,8.9V59.3C119.4,59.9,115.7,63.7,115.7,68.2
		C115.7,68.2,115.7,68.2,115.7,68.2z`,"fill","#009EE2"],["d",`M135.1,68.2c0-4.5-3.6-8.3-8.4-8.9v17.8C131.4,76.5,135.1,72.8,135.1,68.2
		C135.1,68.2,135.1,68.2,135.1,68.2z`,"fill","#009EE2"],["d",`M115.7,68.2c0,4.5,3.6,8.3,8.4,8.9V59.3C119.4,59.9,115.7,63.7,115.7,68.2z M126.7,59.3v17.8
		c4.7-0.6,8.4-4.4,8.4-8.9C135.1,63.7,131.5,59.9,126.7,59.3z`,"fill","#00ADEF"],["d",`M90,59.4h-6.4v17.5h11.7v-5.6H90V59.4L90,59.4z M107.2,65.3h-3.9v-5.9h-6.1v17.5h6.1v-6.1h3.9v6.1h6.1V59.4h-6.1V65.3z
		 M151.2,59.4l-2,6.9c-0.2,0.7-0.3,1.6-0.4,2.3h-0.2l-2.4-9.2h-6.6l-2.8,17.5h6.1l0.7-7.5c0.1-0.7,0.1-1.4,0.2-2.1h0.2
		c0.1,0.7,0.2,1.4,0.4,2.2l2.3,7.4h3.7l2.5-7.8c0.2-0.6,0.3-1.2,0.4-1.7h0.1l0.9,9.6h6.1l-2.9-17.5L151.2,59.4L151.2,59.4z
		 M176.5,59.4l-2,6.9c-0.2,0.7-0.3,1.6-0.4,2.3h-0.2l-2.4-9.2h-6.6l-2.8,17.5h6.1l0.7-7.5c0.1-0.7,0.1-1.4,0.2-2.1h0.2
		c0.1,0.7,0.2,1.4,0.4,2.2l2.3,7.4h3.7l2.5-7.8c0.2-0.6,0.3-1.2,0.4-1.7h0.1l0.9,9.6h6.1l-2.9-17.5L176.5,59.4L176.5,59.4z
		 M194.5,72.1v-1.7h4.9v-4.5h-4.9v-1.7h5.4v-4.8H188v17.5H200v-4.8H194.5L194.5,72.1z M122.7,63.6h5.2v-2.8h-5.2V63.6z M122.7,75.1
		h5.2v-2.8h-5.2V75.1z`]],template:function(n,y){if(n&1&&(M(0),v(1,Q,4,5,"ng-container",4)(2,Y,2,5,"ng-template",null,0,f)(4,e1,9,7,"ng-template",null,1,f)(6,t1,46,0,"ng-template",null,2,f)(8,i1,10,0,"ng-template",null,3,f),C()),n&2){let W=d(3);s(),m("ngIf",y.isLinkedToHomepage())("ngIfElse",W)}},dependencies:[H,B,P,U,G],encapsulation:2,changeDetection:0});let e=t;return e})();export{$ as a,x1 as b};