1import"./chunk-BYXBJQAS.js";import"./chunk-2RC6P5OS.js";import{a as Ce}from"./chunk-UUTA3OUL.js";import{a as xe}from"./chunk-4SQHLZ2J.js";import"./chunk-32QH2SP5.js";import{a as Me}from"./chunk-GDCL2HNX.js";import{a as Te}from"./chunk-3CKN47S4.js";import{a as Se,b as we}from"./chunk-LXI3UE4H.js";import{a as V}from"./chunk-ISB3KKDK.js";import{a as be}from"./chunk-AL6B2PQU.js";import"./chunk-4T2TZWRC.js";import"./chunk-P5KIW4CD.js";import"./chunk-WP7UA2RR.js";import"./chunk-HMPNWSAO.js";import{b as ue}from"./chunk-3ILGKDWT.js";import"./chunk-45KBAJ67.js";import{a as ye}from"./chunk-4HEOBYF5.js";import{b as ve}from"./chunk-P4HTJB2O.js";import"./chunk-L6ZI6JII.js";import{a as fe}from"./chunk-CRAP6PHG.js";import{$ as q,$b as j,Aa as K,Ab as $,Ba as o,Bc as pe,Ca as l,Da as s,Ea as p,Eb as f,Fa as v,Fb as ie,Ga as u,H as d,Ha as M,Ia as G,Ja as H,N as L,Oa as w,Ob as I,Oc as de,Pb as ne,Qb as oe,Qc as me,Ra as a,Rb as re,Sb as ae,W,Xa as Y,Ya as X,Z as T,Za as U,_ as S,_a as Z,_c as ge,bb as ee,bc as ce,cb as C,da as n,db as P,eb as te,ed as _e,fd as he,ha as B,he as N,id as O,ja as _,oa as k,rb as F,rc as E,tc as se,va as m,wa as g,wb as b,xb as y,ya as J,za as Q,zc as le}from"./chunk-Q2IVITMG.js";var Fe=e=>({"has-link":e});function je(e,c){if(e&1&&(l(0,"div",2),p(1,"img",4),s()),e&2){let t=a();n(),o("src",t.options.apiUrl+t.section().image.uri.original,S)}}function Ne(e,c){if(e&1&&(l(0,"div",3),p(1,"img",4),s()),e&2){let t=a();n(),o("src",t.options.apiUrl+t.section().smallimage.uri.original,S)}}var Pe=(()=>{class e{constructor(){this.options=d(E),this.section=f.required()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["jumbotron"]],inputs:{section:[1,"section"]},decls:4,vars:6,consts:[[1,"jumbotron"],[3,"href","ngClass"],[1,"--horizontal"],[1,"--vertical"],["alt","","loading","lazy",3,"src"]],template:function(i,r){if(i&1&&(l(0,"div",0)(1,"a",1),m(2,je,2,1,"div",2),m(3,Ne,2,1,"div",3),s()()),i&2){let h,x;n(),o("href",r.section().url,S)("ngClass",F(4,Fe,!!r.section().url)),n(),g((h=r.section().image)!=null&&h.uri?2:-1),n(),g((x=r.section().smallimage)!=null&&x.uri?3:-1)}},dependencies:[I],styles:[`:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}@media screen and (orientation:portrait){.jumbotron .--horizontal{display:none}}@media screen and (orientation:landscape){.jumbotron .--horizontal{position:relative;margin:0;padding:0;width:auto;height:calc(100vh - 200px);display:flex;justify-content:center;overflow:hidden}.page-display--no-header .jumbotron .--horizontal{height:calc(100vh - 50px)}}@media screen and (orientation:landscape)and (max-width:1024px){.jumbotron .--horizontal,.page-display--no-header .jumbotron .--horizontal{height:calc(100vh - 75px)}}@media screen and (orientation:landscape){.jumbotron .--horizontal img{width:auto;height:calc(100vh - 200px)}.page-display--no-header .jumbotron .--horizontal img{height:calc(100vh - 50px)}}@media screen and (orientation:landscape)and (max-width:1024px){.jumbotron .--horizontal img,.page-display--no-header .jumbotron .--horizontal img{height:calc(100vh - 75px)}}@media screen and (orientation:landscape){.jumbotron .--vertical{display:none}}@media screen and (orientation:portrait){.jumbotron .--vertical{position:relative;margin:0;padding:0;width:100vw;height:auto}.jumbotron .--vertical img{width:100vw;height:auto}}.jumbotron a:not(.has-link){pointer-events:none} 2`],encapsulation:2})}}return e})();function Ve(e,c){if(e&1&&(M(0,"div",1),b(1,"safePipe")),e&2){let t=a(2);w("innerHTML",y(1,1,t.section().text),T)}}function Ge(e,c){if(e&1&&(v(0,"div")(1,"div",0),C(2),u(),m(3,Ve,2,3,"div",1),u()),e&2){let t=a();n(2),P(t.section().title),n(),g(t.section().text?3:-1)}}var Ee=(()=>{class e{constructor(){this.section=f()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["responsive-text"]],inputs:{section:[1,"section"]},decls:1,vars:1,consts:[[1,"__title"],[1,"__text",3,"innerHTML"]],template:function(i,r){i&1&&m(0,Ge,4,2,"div"),i&2&&g(r.section()?0:-1)},dependencies:[O],styles:['[_ngcontent-%COMP%]:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.__title[_ngcontent-%COMP%]{color:#165929;font-size:1.4em;font-weight:700;font-family:"Bree Serif",sans-serif;letter-spacing:.2px}.__text[_ngcontent-%COMP%]{color:#004703;font-weight:400;font-family:"Bree Serif",sans-serif}']})}}return e})();var He=["link"];function Ue(e,c){if(e&1&&(v(0,"div",2),M(1,"img",4),u()),e&2){let t=a(2);n(),w("src",t.options.apiUrl+t.section().image.uri.original,S)}}function $e(e,c){if(e&1&&(M(0,"div",6),b(1,"safePipe")),e&2){let t=a(3);w("innerHTML",y(1,1,t.section().text),T)}}function Ae(e,c){if(e&1&&(v(0,"div",3)(1,"div",5),C(2),u(),m(3,$e,2,3,"div",6),u()),e&2){let t=a(2);
2n(2),P(t.section().title),n(),g(t.section().text?3:-1)}}function Le(e,c){if(e&1&&(v(0,"div")(1,"a",1,0),m(3,Ue,2,1,"div",2),m(4,Ae,4,2,"div",3),u()()),e&2){let t,i=a();n(),w("href",i.linkUrl,S)("target",i.isExternal?"_blank":"_self"),n(2),g(!((t=i.section().image)==null||t.uri==null)&&t.uri.original?3:-1),n(),g(i.section().text||i.section().title?4:-1)}}var Oe=(()=>{class e{constructor(){this.options=d(E),this.renderer2=d(B),this.section=f.required(),this.link=ie("link")}ngAfterViewInit(){if(!this.section()?.link||!this.section()?.link?.url){let t=this.link();this.renderer2.removeAttribute(t.nativeElement,"href"),this.renderer2.removeAttribute(t.nativeElement,"target")}}get linkUrl(){return this.section()?.link?.url||""}get isExternal(){return this.section()?.link?.is_external}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["responsive-image"]],viewQuery:function(i,r){i&1&&Y(r.link,He,5),i&2&&X()},inputs:{section:[1,"section"]},decls:1,vars:1,consts:[["link",""],[3,"href","target"],[1,"__img"],[1,"__content"],["alt","","loading","lazy",3,"src"],[1,"__title"],[1,"__text",3,"innerHTML"]],template:function(i,r){i&1&&m(0,Le,5,4,"div"),i&2&&g(r.section()?0:-1)},dependencies:[O],styles:['[_ngcontent-%COMP%]:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.__title[_ngcontent-%COMP%]{color:#165929;font-size:1.4em;font-weight:700;font-family:"Bree Serif",sans-serif;letter-spacing:.2px}.__text[_ngcontent-%COMP%]{color:#004703;font-weight:400;font-family:"Bree Serif",sans-serif}']})}}return e})();function We(e,c){if(e&1&&(l(0,"div"),p(1,"responsive-text",1),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function qe(e,c){if(e&1&&(l(0,"div"),p(1,"responsive-image",1),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function Je(e,c){if(e&1&&(l(0,"div")(1,"som-agree-consent",2),p(2,"sf-section-video",3),s()()),e&2){let t=a().$implicit;n(),o("consentVendor","c:youtube-r6L8RmVK"),n(),o("section",t)}}function Qe(e,c){if(e&1&&m(0,We,2,1,"div")(1,qe,2,1,"div")(2,Je,3,2,"div"),e&2){let t,i=c.$implicit;g((t=i.sfType)==="SfSectionText"?0:t==="SfSectionImage"?1:t==="SfSectionVideo"?2:-1)}}function Ke(e,c){if(e&1&&(l(0,"div"),Q(1,Qe,3,1,null,null,J),s()),e&2){let t=a();ee("responsive-table --length-"+(t.section().nb_columns?t.section().nb_columns:3)),n(),K(t.section().sections)}}var ke=(()=>{class e{constructor(){this.section=f()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["responsive-table"]],inputs:{section:[1,"section"]},decls:1,vars:1,consts:[[3,"class"],[3,"section"],[3,"consentVendor"],["view","",3,"section"]],template:function(i,r){i&1&&m(0,Ke,3,2,"div",0),i&2&&g(r.section()?0:-1)},dependencies:[Ee,Oe,V,N],styles:[`:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.responsive-table{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:start;margin:0 auto;width:100%;max-width:1200px;font-size:20px}.responsive-table>*{padding:10px}.responsive-table.--length-1>*{padding-left:0!important;padding-right:0!important;width:calc(100% - 20px)!important}.responsive-table.--length-2>*{width:calc(50% - 20px)}.responsive-table.--length-2>*:nth-child(odd){padding-left:0;width:calc(50% - 10px)}.responsive-table.--length-2>*:nth-child(2n){padding-right:0;width:calc(50% - 10px)}@media screen and (max-width:550px){.responsive-table.--length-2>*{padding-left:0!important;padding-right:0!important;width:calc(100% - 20px)!important}}.responsive-table.--length-3>*{width:calc(33% - 20px)}.responsive-table.--length-3>*:nth-child(3n+1){padding-left:0;width:calc(33% - 10px)}.responsive-table.--length-3>*:nth-child(3n){padding-right:0;width:calc(33% - 10px)}@media screen and (min-width:550px)and (max-width:1025px){.responsive-table.--length-3>*{width:calc(50% - 20px)}.responsive-table.--length-3>*:nth-child(odd){padding-left:0;width:calc(50% - 10px)}.responsive-table.--length-3>*:nth-child(2n){padding-right:0;
2width:calc(50% - 10px)}}@media screen and (max-width:550px){.responsive-table.--length-3>*{padding-left:0!important;padding-right:0!important;width:calc(100% - 20px)!important}}.responsive-table.--length-4>*{width:calc(25% - 20px)}.responsive-table.--length-4>*:nth-child(4n+1){padding-left:0;width:calc(25% - 10px)}.responsive-table.--length-4>*:nth-child(4n){padding-right:0;width:calc(25% - 10px)}@media screen and (min-width:550px)and (max-width:1025px){.responsive-table.--length-4>*{width:calc(33% - 20px)}.responsive-table.--length-4>*:nth-child(3n+1){padding-left:0;width:calc(33% - 10px)}.responsive-table.--length-4>*:nth-child(3n){padding-right:0;width:calc(33% - 10px)}}@media screen and (max-width:550px){.responsive-table.--length-4>*{padding-left:0!important;padding-right:0!important;width:calc(100% - 20px)!important}}.responsive-table.--length-5>*{width:calc(20% - 20px)}.responsive-table.--length-5>*:nth-child(5n+1){padding-left:0;width:calc(20% - 10px)}.responsive-table.--length-5>*:nth-child(5n){padding-right:0;width:calc(20% - 10px)}@media screen and (min-width:550px)and (max-width:1025px){.responsive-table.--length-5>*{width:calc(33% - 20px)}.responsive-table.--length-5>*:nth-child(3n+1){padding-left:0;width:calc(33% - 10px)}.responsive-table.--length-5>*:nth-child(3n){padding-right:0;width:calc(33% - 10px)}}@media screen and (max-width:550px){.responsive-table.--length-5>*{width:calc(50% - 20px)}.responsive-table.--length-5>*:nth-child(odd){padding-left:0;width:calc(50% - 10px)}.responsive-table.--length-5>*:nth-child(2n){padding-right:0;width:calc(50% - 10px)}}.responsive-table .sf-section-video-title{margin-bottom:.6em}.responsive-table .sf-section-video-iframe{width:100%!important;height:auto!important} 3`],encapsulation:2})}}return e})();function Ye(e,c){if(e&1&&(v(0,"div",0)(1,"h3"),C(2),u()()),e&2){let t=a();n(2),P(t.section().title||"")}}var ze=(()=>{class e{constructor(){this.section=f.required()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["separator-simple"]],inputs:{section:[1,"section"]},decls:1,vars:1,consts:[[1,"separator-simple"]],template:function(i,r){i&1&&m(0,Ye,3,1,"div",0),i&2&&g(r.section()?0:-1)},styles:['[_ngcontent-%COMP%]:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.separator-simple[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;margin:25px auto;color:#003d21;font-family:Cupcake,sans-serif;font-size:1.3rem;font-weight:700;text-align:center;text-transform:uppercase;overflow:hidden}.separator-simple[_ngcontent-%COMP%]:before, .separator-simple[_ngcontent-%COMP%]:after{display:block;flex-grow:1;margin:0 .6em;width:10px;height:2px;content:"";background:#003d21}.separator-simple[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{flex-shrink:0;font-size:1.5em}']})}}return e})();var Xe=e=>({hasImage:e});function Ze(e,c){if(e&1&&p(0,"img",2),e&2){let t,i,r=a();o("src",r.options.apiUrl+((t=r.section())==null||t.picture==null||t.picture.uri==null?null:t.picture.uri.original),S)("alt",(i=r.section())==null?null:i.title)}}var Ie=(()=>{class e{constructor(){this.options=d(E),this.section=f.required()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["separator-maxi"]],inputs:{section:[1,"section"]},decls:8,vars:8,consts:[[1,"separator-maxi"],[1,"separator-maxi__image"],["loading","lazy",3,"src","alt"],[1,"separator-maxi__text",3,"ngClass"],[1,"--highlight",3,"innerHTML"]],template:function(i,r){if(i&1&&(l(0,"div",0)(1,"div",1),m(2,Ze,1,2,"img",2),s(),l(3,"div",3)(4,"p"),C(5),s(),p(6,"p",4),b(7,"safePipe"),s()()),i&2){let h,x,D,R;n(2),g(!((h=r.section())==null||h.picture==null)&&h.picture.uri?2:-1),n(),o("ngClass",F(6,Xe,((x=r.section())==null?null:x.picture)&&((x=r.section())==null||x.picture==null?null:x.picture.uri))),n(2),P((D=r.section())==null?null:D.title),n(),o("innerHTML",y(7,4,(R=r.section())==null?null:R.text),T)}},dependencies:[I,O],styles:['[_ngcontent-%COMP%]:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.separator-maxi[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;height:300px}@media screen and (max-width:1025px){.separator-maxi[_ngcontent-%COMP%]{width:100%;height:auto}}.separator-maxi__image[_ngcontent-%COMP%]{position:absolute;top:50%;right:50%;margin-top:-150px;margin-right:350px;height:300px}@media screen and (max-width:1025px){.separator-maxi__image[_ngcontent-%COMP%]{top:0;right:20px;margin-top:-20px;margin-right:0;height:100px}}.separator-maxi__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:auto}.separator-maxi__text[_ngcontent-%COMP%]{padding:2em 0;width:100%;color:#fff;background:#003d21}@media screen and (max-width:1025px){.separator-maxi__text[_ngcontent-%COMP%]{margin:20px auto}.separator-maxi__text[_ngcontent-%COMP%]:before{display:block;content:"";float:right;width:120px;height:40px}}.separator-maxi__text[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .separator-maxi__text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto;padding-left:200px;width:825px;font-size:20px}@media screen and (max-width:1025px){.separator-maxi__text[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .separator-maxi__text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding-left:20px;padding-right:80px;width:calc(100% - 100px)}}.separator-maxi__text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-child{margin-top:0}.separator-maxi__text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.separator-maxi__text[_ngcontent-%COMP%] .--highlight[_ngcontent-%COMP%]{font-family:Cupcake,sans-serif;font-size:1.6em;font-weight:700;text-transform:uppercase}']})}}return e})();function et(e,c){if(e&1&&(v(0,"div",1),C(1),u()),e&2){let t=a();n(),te(" ",t.section().title," ")}}function tt(e,c){if(e&1&&(M(0,"div",2),b(1,"safePipe")),e&2){let t=a();w("innerHTML",y(1,1,t.section().text),T)}}function it(e,c){if(e&1&&(M(0,"iframe",4),b(1,"checkYoutubeURL"),b(2,"sanitizeResourceUrl")),e&2){let t=a();w("src",y(2,3,y(1,1,t.section().video.value)),q)}}var De=(()=>{class e{constructor(){this.options=d(E),this.section=f.required()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["video-with-background"]],inputs:{section:[1,"section"]},decls:5,vars:5,consts:[[1,"video--with-background"],[1,"--title"],[1,"--text",3,"innerHTML"],[1,"--video"],["allowfullscreen","allowfullscreen",1,"sf-video-responsive",3,"src"]],template:function(i,r){if(i&1&&(v(0,"div",0),m(1,et,2,1,"div",1),m(2,tt,2,3,"div",2),v(3,"div",3),m(4,it,3,5,"iframe",4),u()()),i&2){let h;Z("background-image",(h=r.section().background)!=null&&h.uri?"url("+r.options.apiUrl+r.section().background.uri.original+")":""),n(),g(r.section().title?1:-1),n(),g(r.section().text?2:-1),n(2),g(r.section().video?4:-1)}},dependencies:[_e,he,O],styles:["[_ngcontent-%COMP%]:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.video--with-background[_ngcontent-%COMP%]{padding:60px 0;background-repeat:no-repeat;background-size:cover}.video--with-background[_ngcontent-%COMP%] .--title[_ngcontent-%COMP%]{text-align:center;font-family:Cupcake,sans-serif;font-size:3rem;line-height:1.3}.video--with-background[_ngcontent-%COMP%] .--text[_ngcontent-%COMP%]{margin:10px auto;max-width:765px;text-align:center;font-size:20px}.video--with-background[_ngcontent-%COMP%] .--video[_ngcontent-%COMP%]{margin:20px auto;width:765px;height:430px}@media screen and (max-width:765px){.video--with-background[_ngcontent-%COMP%] .--video[_ngcontent-%COMP%]{width:100vw;height:56vw}}.video--with-background[_ngcontent-%COMP%] .--video[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return e})();function nt(e,c){if(e&1&&(l(0,"div"),p(1,"som-section-text",10),s()),e&2){let t=a(2).$implicit;n(),o("seoTitle","H1")("section",t)}}function ot(e,c){if(e&1&&p(0,"som-section-text",10),e&2){let t=a(2).$implicit;o("seoTitle","H2")("section",t)}}function rt(e,c){if(e&1&&(l(0,"div"),k(1,nt,2,2,"div",9)(2,ot,1,2,"ng-template",null,0,$),s()),e&2){let t=U(3),i=a().index;
3n(),o("ngIf",i===0)("ngIfElse",t)}}function at(e,c){if(e&1&&(G(0),p(1,"som-section-image",11),H()),e&2){let t=a(2).$implicit;n(),o("seoTitle","H1")("section",t)}}function ct(e,c){if(e&1&&p(0,"som-section-image",11),e&2){let t=a(2).$implicit;o("seoTitle","H2")("section",t)}}function st(e,c){if(e&1&&(l(0,"div"),k(1,at,2,2,"ng-container",9)(2,ct,1,2,"ng-template",null,1,$),s()),e&2){let t=U(3),i=a().index;n(),o("ngIf",i===0)("ngIfElse",t)}}function lt(e,c){e&1&&(l(0,"div"),p(1,"div",12),s())}function pt(e,c){if(e&1&&(l(0,"div"),p(1,"sf-section-slider",13),s()),e&2){let t=a().$implicit,i=a(2);n(),o("isPinterestVisible",i.isPinterestVisible)("section",t)}}function dt(e,c){if(e&1&&(l(0,"div"),p(1,"sf-banner",14),s()),e&2){let t=a().$implicit;n(),o("banner",t)}}function mt(e,c){if(e&1&&(l(0,"div")(1,"som-agree-consent",15),p(2,"sf-section-video",16),s()()),e&2){let t=a().$implicit;n(),o("consentVendor","c:youtube-r6L8RmVK"),n(),o("section",t)("ngClass",t.position?"som-video-"+t.position:"som-video-center")}}function gt(e,c){if(e&1&&(l(0,"div"),p(1,"som-grid-tiles",17),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function _t(e,c){if(e&1&&(l(0,"div"),p(1,"jumbotron",18),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function ht(e,c){if(e&1&&(l(0,"div"),p(1,"responsive-table",18),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function ft(e,c){if(e&1&&(l(0,"div"),p(1,"separator-simple",18),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function ut(e,c){if(e&1&&(l(0,"div"),p(1,"separator-maxi",18),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function vt(e,c){if(e&1&&(l(0,"div"),p(1,"video-with-background",18),s()),e&2){let t=a().$implicit;n(),o("section",t)}}function xt(e,c){if(e&1&&(G(0,5),l(1,"div",6),k(2,rt,4,2,"div",7),p(3,"div",8),k(4,st,4,2,"div",7)(5,lt,2,0,"div",7)(6,pt,2,2,"div",7)(7,dt,2,1,"div",7)(8,mt,3,3,"div",7)(9,gt,2,1,"div",7)(10,_t,2,1,"div",7)(11,ht,2,1,"div",7)(12,ft,2,1,"div",7)(13,ut,2,1,"div",7)(14,vt,2,1,"div",7),s(),H()),e&2){let t=c.$implicit;o("ngSwitch",t.sfType),n(2),o("ngSwitchCase","SfSectionText"),n(2),o("ngSwitchCase","SfSectionImage"),n(),o("ngSwitchCase","SfSectionScript"),n(),o("ngSwitchCase","SfSectionSlider"),n(),o("ngSwitchCase","SomHomeBanner"),n(),o("ngSwitchCase","SfSectionVideo"),n(),o("ngSwitchCase","SomSectionTiles"),n(),o("ngSwitchCase","SfSectionJumbotron"),n(),o("ngSwitchCase","SfSectionResponsiveTable"),n(),o("ngSwitchCase","SfSectionSeparatorSimple"),n(),o("ngSwitchCase","SfSectionSeparatorMaxi"),n(),o("ngSwitchCase","SfSectionVideoWithBackground")}}function Ct(e,c){if(e&1&&(l(0,"div",3),k(1,xt,15,13,"ng-container",4),s()),e&2){let t=a();n(),o("ngForOf",t.genericPage.sections)}}var Ri=(()=>{class e{constructor(){this.genericService=d(Ce),this.breadcrumb=d(ye),this.renderer=d(B),this.translate=d(se),this.accessChecker=d(be),this.viewportScroller=d(ce),this.tagManager=d(fe),this.route=d(le),this.router=d(pe),this.seoService=d(ue),this.pageInfo=d(xe),this.siteInfo=d(de),this.somDocument=d(L),this.platformId=d(W),this.isPinterestVisible=!0,this.isNewsletterAllowed=!1}isAccessDenied(t){return!this.accessChecker.isAllowed(t)}ngOnInit(){let{country:t}=this.siteInfo?.lang||null;this.isNewsletterAllowed=ve(t),this.isPinterestVisible=this.isAccessDenied(["al","rs","il"]),this._handlePageDisplay(this.pageInfo),this.route.data.subscribe({next:i=>{let r=i.page;this._removeScriptsFromDocument(),this._removeBodyClass(),this.viewportScroller.scrollToPosition([0,0]),r?this._getPage(r):this._redirectTo404()}})}_getPage(t){this.genericService.fetchGeneric(t).subscribe({next:i=>{i===null&&this._redirectTo404();let{nid:r,title:h,type:x,meta_title:D,meta_description:R,sections:A}=i;if(this.genericPage=i,this.tagManager.setContentPage("generic_page",r,h),this._buildBreadcrumb(h,x==="landing_page"),this.seoService.setPageTitle(D),this.seoService.setPageDescription(R),A&&j(this.platformId)){let Re=A.find(Be=>Be.type==="section_script");this._addScriptsInDocuments(Re)}},error:i=>{this._redirectTo404()}})}_redirectTo404(){let t=this.translate.instant("ROUTES.not-found");this.router.navigate(["/",t])}_buildBreadcrumb(t,i){if(i){this.breadcrumb.setBreadcrumb([],"flow");return}let r=[{label:t}];this.breadcrumb.setBreadcrumb(r,"flow")}_handlePageDisplay(t){let i=this.somDocument.body,r=[t.isLandingPage?"page-type--landing":"",t.displayHeader?"":"page-display--no-header",t.displayFooter?"":"page-display--no-footer",t.displayFullWidth?"page-display--full-width":""].filter(
3Boolean);if(i.classList.add(...r),t.backgroundCover){let h=`${me.url}${this.pageInfo.backgroundCover.uri.original}`;i.style.background=`url("${h}") 50% 0% no-repeat`,i.style.backgroundSize="cover",i.style.backgroundAttachment="fixed"}}_addScriptsInDocuments(t){this._addBuzzsproutScriptIfExist(t)}_addBuzzsproutScriptIfExist(t){t?.script?.startsWith("buzzsprout")&&this.siteInfo?.lang?.code==="hu"&&(this.buzzScript=this.renderer.createElement("script"),this.buzzScript.type="text/javascript",this.buzzScript.src="https://www.buzzsprout.com/1923567.js?container_id=buzzsprout-large-player&player=large",this.renderer.appendChild(this.somDocument.body,this.buzzScript))}_removeScriptsFromDocument(){j(this.platformId)&&this.buzzScript&&this.renderer.removeChild(this.somDocument.body,this.buzzScript)}_removeBodyClass(){if(j(this.platformId)){let t=this.somDocument.body;t.style.background="none";let i=[this.pageInfo.isLandingPage?"page-type--landing":"",this.pageInfo.displayHeader?"":"page-display--no-header",this.pageInfo.displayFooter?"":"page-display--no-footer",this.pageInfo.displayFullWidth?"page-display--full-width":""].filter(Boolean);t.classList.remove(...i)}}ngOnDestroy(){this._removeScriptsFromDocument(),this._removeBodyClass()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=_({type:e,selectors:[["som-generic"]],decls:1,vars:1,consts:[["noTitle",""],["h2Title",""],["class","som som-container som-main-color",4,"ngIf"],[1,"som","som-container","som-main-color"],[3,"ngSwitch",4,"ngFor","ngForOf"],[3,"ngSwitch"],[1,"som-bloc"],[4,"ngSwitchCase"],["id","AlliboList",1,"som-container-text"],[4,"ngIf","ngIfElse"],[1,"som-generic-text",3,"seoTitle","section"],["ngSkipHydration","",1,"som-generic-text",3,"seoTitle","section"],["id","buzzsprout-large-player"],[3,"isPinterestVisible","section"],["ngSkipHydration","","showCTA","true",1,"som-generic-banner",3,"banner"],[3,"consentVendor"],["view","",3,"section","ngClass"],["seoTitle","H2",3,"section"],[3,"section"]],template:function(i,r){i&1&&k(0,Ct,2,1,"div",2),i&2&&o("ngIf",r.genericPage)},dependencies:[oe,ne,re,ae,Me,Se,we,ge,V,N,I,Te,Pe,ke,ze,Ie,De],styles:['[_ngcontent-%COMP%]:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.som-container[_ngcontent-%COMP%]{margin-bottom:0}.som-container-text[_ngcontent-%COMP%]{font-size:20px;line-height:1.3;letter-spacing:.2px;font-family:"Bree Serif",sans-serif;font-weight:400}.som-generic-banner[_ngcontent-%COMP%]{height:350px}.som-generic-text[_ngcontent-%COMP%] h1{font-size:35px!important}@media screen and (max-width:550px){.som-generic-banner[_ngcontent-%COMP%]{height:215px}} som-breadcrumb{display:none} .page-display--no-header som-desktop-header{height:50px!important} .page-display--no-header som-desktop-header .som-header-container{display:none} .page-display--no-footer som-footer .som-footer-container{display:none} .page-display--no-footer som-footer .footer-bottom-list{padding-top:1em!important} .page-display--full-width som-generic .som-container:last-child{margin-bottom:0;background-size:contain} .page-display--full-width som-generic .som-bloc{margin:0;padding:0;width:auto}']})}}return e})();export{Ri as GenericComponent};
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.