PageSourceSearch

https://pre3generacie.sk/projects_web-app-pabk_src_app__Pages_pages_module_ts.aa9dec9e1575a692.js

js pre3generacie.sk collected 2026-10-07 08:37:46 UTC 442,326 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkWebAppPabk=self.webpackChunkWebAppPabk||[]).push([["projects_web-app-pabk_src_app__Pages_pages_module_ts"],{2577:(sh,_o,v)=>{v.r(_o),v.d(_o,{PagesModule:()=>kf});var m=v(177),Et=v(2791),t=v(4438),z=v(6138),T=v(3325),L=v(6037),S=v(533),Ce=v(9969);const ve=(0,Ce.hZ)("slideInOut",[(0,Ce.wk)("in",(0,Ce.iF)({"max-height":"{{startHeight}}px",visibility:"visible"}),{params:{startHeight:100}}),(0,Ce.wk)("out",(0,Ce.iF)({"max-height":"0px",visibility:"hidden",overflow:"hidden","padding-top":"0px","padding-bottom":"0px"})),(0,Ce.kY)("* => *",(0,Ce.i0)(150))]);var H=v(5931),sr=v(9721),jt=v(4948),Rt=v(7826),Pt=v(2662);class Ca{constructor(i,e){this.type=i,this.items=e}}var va=v(5763),Pn=v(9919),Ne=v(4269);let Lt=(()=>{class n{onClick(e){this.handleClickEvent(e)}constructor(e,a){this.analyticService=e,this._viewContainerRef=a}handleClickEvent(e){if(!this.componentId||0==this.componentId.length)try{this.componentId=this._viewContainerRef._hostLView[16][0].tagName}catch{console.error("Can't resolve component ID")}this.analyticService.GA4TrackEvent(this.eventType,this.componentType,this.componentName,this.componentId)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Ne.iu),t.rXU(t.c1b))}}static{this.\u0275dir=t.FsC({type:n,selectors:[["","Ga4Tracking",""]],hostBindings:function(a,o){1&a&&t.bIt("click",function(c){return o.onClick(c)})},inputs:{eventType:"eventType",componentType:"componentType",componentName:"componentName",componentId:"componentId"}})}}return n})(),lr=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-logo"]],decls:50,vars:0,consts:[["id","eYDSlsHxwZX1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 558 220","shape-rendering","geometricPrecision","text-rendering","geometricPrecision"],["id","eYDSlsHxwZX28-stroke","x1","1.06181","y1","0.498381","x2","-0.066033","y2","0.555408","spreadMethod","pad","gradientUnits","objectBoundingBox","gradientTransform","translate(0 0)"],["id","eYDSlsHxwZX28-stroke-0","offset","0%","stop-color","#fcb316"],["id","eYDSlsHxwZX28-stroke-1","offset","22.5966%","stop-color","#f78e1e"],["id","eYDSlsHxwZX28-stroke-2","offset","68.7984%","stop-color","#ee2e2d"],["transform","translate(-92-65)"],["d","M393.8,243.4c0,7.5,6.3,9,11.6,9c8.2,0,13.6-4.2,13.6-10.6v-7.6h-11.8c-9.2,0-13.4,2.8-13.4,9.2Z","fill","none"],["d","M408,112.4c-6,0-10.6,3.3-12.5,8.9-.9,2.9-1.3,6-1.3,11.1c0,5.2.4,8.3,1.3,11.2c1.9,5.7,6.4,8.9,12.5,8.9c6.2,0,10.7-3.2,12.6-8.9.9-2.9,1.3-6.1,1.3-11.2s-.4-8.2-1.3-11.1c-1.9-5.7-6.4-8.9-12.6-8.9Z","fill","none"],["d","M534.8,112.4c-6,0-10.6,3.3-12.5,9-1,2.9-1.3,6-1.3,11.1c0,5.2.4,8.3,1.3,11.2c1.9,5.7,6.4,8.9,12.5,8.9c6.2,0,10.7-3.2,12.6-8.9.9-2.9,1.3-6,1.3-11.2c0-5.1-.4-8.2-1.3-11.1-1.9-5.8-6.4-9-12.6-9Z","fill","none"],["d","M201.7,91.2c-45.9,0-83.1,37.2-83.1,83.1s37.2,83.1,83.1,83.1s83.1-37.2,83.1-83.1-37.2-83.1-83.1-83.1Z","fill","none"],["d","M357.5,112.4c-6.1,0-10.3,2.9-12.1,8.4-.9,2.7-1.3,6.3-1.3,11.8c0,5.4.4,9,1.3,11.6c1.7,5.5,5.9,8.4,12.1,8.4s10.2-2.8,12.1-8.4c.9-2.7,1.3-6.5,1.3-11.7c0-5.3-.4-9-1.3-11.8-1.9-5.4-6-8.3-12.1-8.3Z","fill","none"],["d","M369.5,220.4c-1.8-5.6-5.9-8.4-12.1-8.4-6.1,0-10.3,2.9-12.1,8.4-.9,2.7-1.3,6.3-1.3,11.8c0,5.4.4,9,1.3,11.6c1.7,5.5,5.9,8.4,12.1,8.4s10.2-2.8,12.1-8.4c.9-2.7,1.3-6.5,1.3-11.7s-.4-9-1.3-11.7Z","fill","none"],["id","eYDSlsHxwZX10_to","transform","translate(599.399963,143.848747)"],["id","eYDSlsHxwZX10","d","M616.8,143.9c0,7.5,6.3,9.1,11.6,9.1c8.3,0,13.6-4.2,13.6-10.6v-7.7h-11.8c-9.2-.1-13.4,2.8-13.4,9.2Z","transform","translate(-629.399963,-143.848747)","opacity","0","fill","none",2,"filter","blur(10px)"],["id","eYDSlsHxwZX11_to","transform","translate(327.550003,141.093758)"],["id","eYDSlsHxwZX11","d","M344.1,112.1v-3.7c0-1-.7-1.8-1.7-1.8h-3.5c-1,0-1.8.8-1.8,1.8v66.3c0,1,.7,1.8,1.8,1.8h3.5c1,0,1.7-.8,1.7-1.8v-21.5c3.1,4.4,7.9,6.6,14.5,6.6c8.9,0,14.9-4.2,17.6-12.6c1.3-4.1,1.8-8.6,1.8-14.4c0-5.9-.6-10.4-1.8-14.5-2.7-8.4-8.6-12.6-17.5-12.6-6.7-.2-11.5,2-14.6,6.4Zm25.4,8.8c.9,2.7,1.3,6.5,1.3,11.8c0,5.1-.4,8.9-1.3,11.7-1.8,5.6-5.9,8.4-12.1,8.4-6.1,0-10.3-2.9-12.1-8.4-.9-2.7-1.3-6.3-1.3-11.6c0-5.5.4-9.1,1.3-11.8c1.7-5.5,5.9-8.4,12.1-8.4c6.2-.2,10.3,2.7,12.1,8.3Z","transform","translate(-357.550003,-141.093758)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX12_to","transform","translate(378.049988,132.599998)"],["id","eYDSlsHxwZX12","d","M408,105.5c-9.4,0-16.4,5-19.2,13.7-1.2,3.9-1.7,7.8-1.7,13.4s.5,9.5,1.7,13.5v0c2.8,8.7,9.8,13.6,19.2,13.6c9.5,0,16.5-5,19.3-13.7c1.2-3.9,1.7-7.8,1.7-13.5c0-5.6-.5-9.4-1.7-13.4-2.8-8.7-9.8-13.6-19.3-13.6Zm12.6,38.2c-1.9,5.8-6.4,8.9-12.6,8.9-6,0-10.6-3.3-12.5-8.9-.9-2.9-1.3-6.1-1.3-11.2s.4-8.2,1.3-11.1c1.9-5.7,6.4-8.9,12.5-8.9c6.2,0,10.7,3.2,12.6,8.9.9,2.9,1.3,6,1.3,11.1c0,5.2-.3,8.3-1.3,11.2Z","transform","translate(-408.049988,-132.599998)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX13_to","transform","translate(426.387512,132.500011)"],["id","eYDSlsHxwZX13","d","M476.5,143.1c0-8.4-5.2-13.3-15-14.3l-5-.5c-9-.9-10.8-3.8-10.8-7.8c0-5.4,3.9-8.3,10.9-8.3c5.1,0,10.3,2,13.4,3.8.8.5,1.9.3,2.4-.5l1.9-2.6c.6-.8.4-1.9-.4-2.5-4.8-3.2-10.9-5-17-5-11.4,0-18.2,5.8-18.2,15.5c0,8.1,5.4,13.2,15.1,14.2l5,.5c9,1,10.7,3.7,10.7,8.2c0,5.7-4.4,9.1-12.2,9.1-7.2,0-12.5-3.1-15.8-5.8-.7-.5-1.7-.6-2.4.1l-2.3,2.6c-.7.7-.7,1.8,0,2.5v0c3.2,2.7,10.1,7.3,19.9,7.3c12.4,0,19.8-6.1,19.8-16.5Z","transform","translate(-456.387512,-132.500011)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX14_to","transform","translate(426.847961,9
11.250004)"],["id","eYDSlsHxwZX14","d","M453.3,98.1c.7.9,1.3,1.3,2.3,1.3h2.4c1.1,0,1.6-.4,2.2-1.2l9.5-12.9c.4-.5.5-1.1.3-1.5s-.7-.7-1.2-.7h-2.8c-1.2,0-1.6.4-2.3,1.3l-7,8.5-6.9-8.5c-.8-.9-1.3-1.3-2.3-1.3h-2.6c-.6,0-1,.3-1.2.7-.2.5-.1,1,.2,1.5l9.4,12.8Z","transform","translate(-456.847961,-91.250004)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX15_to","transform","translate(465.750015,124.599995)"],["id","eYDSlsHxwZX15","d","M503.8,158.9h2.7c1,0,1.7-.8,1.7-1.8v-3.4c0-1-.8-1.8-1.7-1.8h-2c-5.1,0-7.3-1.1-7.3-7.8v-31.1h9.3c1,0,1.7-.7,1.7-1.8v-3c0-1-.8-1.8-1.7-1.8h-9.3v-14.3c0-1-.8-1.8-1.8-1.8h-3.5c-1,0-1.8.8-1.8,1.8v14.5h-5.1c-1,0-1.7.8-1.7,1.8v3c0,1,.7,1.8,1.7,1.8h5.1v31.4c.1,10.3,3.9,14.3,13.7,14.3Z","transform","translate(-495.750015,-124.599995)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX16_to","transform","translate(504.899994,132.500004)"],["id","eYDSlsHxwZX16","d","M554.2,146c1.2-3.9,1.7-7.8,1.7-13.5c0-5.6-.5-9.4-1.7-13.4-2.8-8.7-9.9-13.7-19.4-13.7-9.4,0-16.4,5-19.2,13.7-1.2,3.9-1.7,7.8-1.7,13.4c0,5.7.5,9.6,1.7,13.5v0c2.8,8.7,9.8,13.6,19.2,13.6c9.5,0,16.6-4.9,19.4-13.6Zm-6.8-2.3c-1.9,5.8-6.4,8.9-12.6,8.9-6,0-10.6-3.3-12.5-8.9-1-2.9-1.3-6-1.3-11.2c0-5.1.4-8.2,1.3-11.1c1.9-5.7,6.4-9,12.5-9c6.2,0,10.7,3.2,12.6,9c.9,2.9,1.3,6,1.3,11.1c0,5.2-.4,8.3-1.3,11.2Z","transform","translate(-534.899994,-132.500004)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX17_to","transform","translate(552.382324,132.550003)"],["id","eYDSlsHxwZX17","d","M602.5,106.5h-3.9c-1.2,0-1.7.7-2,1.5l-14.1,38.9L568.1,108c-.3-.8-.8-1.5-2-1.5h-3.9c-.8,0-1.2.4-1.3.6-.3.4-.3.9-.1,1.4l18,48.5c.1.4.5,1.6,1.9,1.6h3.3c.9,0,1.6-.6,1.9-1.5L604,108.6c.2-.5.1-1-.2-1.4-.2-.4-.7-.7-1.3-.7Z","transform","translate(-582.382324,-132.550003)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX18_to","transform","translate(604.786499,91.099998)"],["id","eYDSlsHxwZX18","d","M628.3,99.4h2.6c1.1,0,1.7-.5,2.4-1.4l9.2-12.9c.4-.5.4-1,.2-1.5s-.7-.8-1.3-.8h-4c-1.1,0-1.9.5-2.4,1.4l-8.1,13c-.3.7-.1,1.2,0,1.5.4.4.8.7,1.4.7Z","transform","translate(-634.786499,-91.099998)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX19_to","transform","translate(599.400665,132.599998)"],["id","eYDSlsHxwZX19","d","M630.1,105.5c-6.9,0-12.5,1.8-16.3,5-.8.6-1,1.6-.5,2.5l1.8,2.7c.7.8,1.7.9,2.6.2v0c3.1-2.5,6.6-3.6,12.1-3.6c10.3,0,12.2,3.7,12.2,10.9v5.1h-12.5c-12.8,0-19.6,5.4-19.6,15.7c0,9.8,6.5,15.7,17.4,15.7c6.6,0,12-2.1,14.8-5.8v3c0,1,.8,1.8,1.7,1.8h3.3c1,0,1.8-.8,1.8-1.8v-33.9c.1-12.6-5.2-17.5-18.8-17.5ZM642,142.3c0,6.5-5.3,10.6-13.6,10.6-5.3,0-11.6-1.6-11.6-9.1c0-6.4,4.1-9.2,13.4-9.2h11.8v7.7Z","transform","translate(-629.400665,-132.599998)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX20_to","transform","translate(327.650009,222.649994)"],["id","eYDSlsHxwZX20","d","M376.2,217.6c-2.7-8.4-8.6-12.6-17.5-12.6-6.6,0-11.5,2.2-14.5,6.6v-23.8c0-1-.7-1.8-1.7-1.8h-3.5c-1,0-1.8.7-1.8,1.8v68.6c0,1,.7,1.8,1.8,1.8h3.5c1,0,1.7-.8,1.7-1.8v-3.7c3.1,4.4,7.9,6.6,14.5,6.6c8.9,0,14.9-4.2,17.6-12.6c1.3-4.1,1.8-8.6,1.8-14.4-.1-6.1-.6-10.5-1.9-14.7Zm-6.7,26.2c-1.8,5.6-5.9,8.4-12.1,8.4-6.1,0-10.3-2.9-12.1-8.4-.9-2.7-1.3-6.3-1.3-11.6c0-5.5.4-9.1,1.3-11.8c1.7-5.5,5.9-8.4,12.1-8.4s10.2,2.8,12.1,8.4c.9,2.7,1.3,6.5,1.3,11.8c0,5.1-.4,8.9-1.3,11.6Z","transform","translate(-357.650009,-222.649994)","opacity","0","fill","#575756","stroke-width","0",2,"filter","blur(10px)"],["d","M545,243.4c0,7.5,6.3,9,11.6,9c8.2,0,13.6-4.2,13.6-10.6v-7.6h-11.8c-9.2,0-13.4,2.8-13.4,9.2Z","fill","none"],["id","eYDSlsHxwZX22_to","transform","translate(376.449997,232.100006)"],["id","eYDSlsHxwZX22","d","M407.1,205c-6.8,0-12.5,1.7-16.3,5-.8.6-1,1.6-.4,2.5l1.8,2.7c.7.8,1.7.9,2.6.2c3.1-2.6,6.7-3.7,12.1-3.7c10.3,0,12.2,3.7,12.2,11v5.1h-12.6c-12.8,0-19.6,5.4-19.6,15.7c0,9.8,6.5,15.7,17.4,15.7c6.6,0,12-2.1,14.8-5.8v3c0,1,.7,1.8,1.8,1.8h3.3c1,0,1.8-.8,1.8-1.8v-33.8c0-12.7-5.3-17.6-18.9-17.6ZM419,241.8c0,6.5-5.3,10.6-13.6,10.6-5.3,0-11.6-1.6-11.6-9c0-6.4,4.1-9.2,13.4-9.2h11.8v7.6Z","transform","translate(-406.449997,-232.100006)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX23_to","transform","translate(429.049973,231.549988)"],["id","eYDSlsHxwZX23","d","M460.5,205c-6.1,0-11.1,2.3-14.1,6.5v-3.7c0-1-.7-1.8-1.7-1.8h-3.5c-1,0-1.8.8-1.8,1.8v48.5c0,1,.7,1.8,1.8,1.8h3.5c1,0,1.7-.8,1.7-1.8v-31c0-8,5.2-13.4,12.9-13.4c8.3,0,12.3,4.7,12.3,14.4v29.9c0,1,.7,1.8,1.8,1.8h3.5c1,0,1.8-.8,1.8-1.8v-31.3c-.1-12.6-6.7-19.9-18.2-19.9Z","transform","translate(-459.049973,-231.549988)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX24_to","transform","translate(481.994629,221.999985)"],["id","eYDSlsHxwZX24","d","M513.6,225.6l14.3-17.3c.4-.4.5-.9.3-1.4s-.7-.9-1.3-.9h-4.3c-1.2,0-1.7.6-2.3,1.3L499,232.9v-45.2c0-1-.7-1.8-1.8-1.8h-3.5c-1,0-1.7.7-1.7,1.8v68.6c0,1,.8,1.8,1.7,1.8h3.5c1,0,1.8-.8,1.8-1.8v-13.2l9.8-11.8l15.3,25.4c.6.9,1.1,1.4,2.1,1.4h4.3c.6,0,1.1-.3,1.3-.7.3-.4.2-1,0-1.5l-18.2-30.3Z","transform","translate(-511.994629,-221.999985)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX25_to","transform","translate(527.502716,232.100006)"],["id","eYDSlsHxwZX25","d","M558.3,205c-6.9,0-12.5,1.7-16.3,5-.8.6-1,1.6-.5,2.5l1.8,2.7c.6.8,1.7.9,2.5.2c3.1-2.6,6.7-3.7,12.1-3.7c10.3,0,12.2,3.7,12.2,11v5.1h-12.5c-12.8,0-19.6,5.4-19.6,15.7c0,9.8,6.5,15.7,17.4,15.7c6.6,0,12-2.1,14.8-5.8v3c0,1,.8,1.8,1.8,1.8h3.3c1,0,1.7-.8,1.7-1.8v-33.8c.2-12.7-5.1-17.6-18.7-17.6Zm11.9,36.8c0,6.5-5.3,10.6-13.6,10.6-
15.3,0-11.6-1.6-11.6-9c0-6.4,4.1-9.2,13.4-9.2h11.8v7.6Z","transform","translate(-557.502716,-232.100006)","opacity","0","fill","#575756",2,"filter","blur(10px)"],["id","eYDSlsHxwZX28","rx","110","ry","110","transform","matrix(-.671793-.563701 0.563701-.671793 201.833115 174.833115)","opacity","0","fill","none","stroke","url(#eYDSlsHxwZX28-stroke)","stroke-width","30","stroke-linecap","round","stroke-dashoffset","691.15","stroke-dasharray","691.15"]],template:function(a,o){1&a&&(t.EFF(0,"\n"),t.qSk(),t.j41(1,"svg",0)(2,"style"),t.EFF(3,"<![CDATA[#eYDSlsHxwZX10_to {animation: eYDSlsHxwZX10_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX10_to__to { 0% {transform: translate(599.399963px,143.848747px)} 16.666667% {transform: translate(629.399963px,143.848747px)} 100% {transform: translate(629.399963px,143.848747px)}} #eYDSlsHxwZX10 {animation-name: eYDSlsHxwZX10_c_o, eYDSlsHxwZX10__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX10_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX10__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX11_to {animation: eYDSlsHxwZX11_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX11_to__to { 0% {transform: translate(327.550003px,141.093758px)} 16.666667% {transform: translate(357.550003px,141.093758px)} 100% {transform: translate(357.550003px,141.093758px)}} #eYDSlsHxwZX11 {animation-name: eYDSlsHxwZX11_c_o, eYDSlsHxwZX11__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX11_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX11__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX12_to {animation: eYDSlsHxwZX12_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX12_to__to { 0% {transform: translate(378.049988px,132.599998px)} 16.666667% {transform: translate(408.049988px,132.599998px)} 100% {transform: translate(408.049988px,132.599998px)}} #eYDSlsHxwZX12 {animation-name: eYDSlsHxwZX12_c_o, eYDSlsHxwZX12__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX12_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX12__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX13_to {animation: eYDSlsHxwZX13_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX13_to__to { 0% {transform: translate(426.387512px,132.500011px)} 16.666667% {transform: translate(456.387512px,132.500011px)} 100% {transform: translate(456.387512px,132.500011px)}} #eYDSlsHxwZX13 {animation-name: eYDSlsHxwZX13_c_o, eYDSlsHxwZX13__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX13_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX13__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX14_to {animation: eYDSlsHxwZX14_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX14_to__to { 0% {transform: translate(426.847961px,91.250004px)} 16.666667% {transform: translate(456.847961px,91.250004px)} 100% {transform: translate(456.847961px,91.250004px)}} #eYDSlsHxwZX14 {animation-name: eYDSlsHxwZX14_c_o, eYDSlsHxwZX14__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX14_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX14__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX15_to {animation: eYDSlsHxwZX15_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX15_to__to { 0% {transform: translate(465.750015px,124.599995px)} 16.666667% {transform: translate(495.750015px,124.599995px)} 100% {transform: translate(495.750015px,124.599995px)}} #eYDSlsHxwZX15 {animation-name: eYDSlsHxwZX15_c_o, eYDSlsHxwZX15__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX15_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX15__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX16_to {animation: eYDSlsHxwZX16_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX16_to__to { 0% {transform: translate(504.899994px,132.500004px)} 16.666667% {transform: translate(534.899994px,132.500004px)} 100% {transform: translate(534.899994px,132.500004px)}} #eYDSlsHxwZX16 {animation-name: eYDSlsHxwZX16_c_o, eYDSlsHxwZX16__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX16_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX16__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX17_to {animation: eYDSlsHxwZX17_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX17_to__to { 0% {transform: translate(552.382324px,132.550003px)} 16.666667% {transform: translate(582.382324px,132.550003px)} 100% {transform: translate(582.382324px,132.550003px)}} #eYDSlsHxwZX17 {animation-name: eYDSlsHxwZX17_c_o, eYDSlsHxwZX17__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX17_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX17__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX18_to {animation: eYDSlsHxwZX18_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX18_to__to { 0% {transform: translate(604.786499px,91.099998px)} 16.666667% {transform: translate(634.786499px,91.099998px)} 100% {transform: translate(634.786499px,91.099998px)}} #eYDSlsHxwZX18 {animation-name: eYDSlsHxwZX18_c_o, eYDSlsHxwZX18__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX18_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX18__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX19_to {animation: eYDSlsHxwZX19_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX19_to__to { 0% {transform: translate(599.400665px,132.599998px)} 16.666667% {transform: translate(629.400665px,132.599998px)} 100% {transform: translate(629.400665px,132.599998px)}} #eYDSlsHxwZX19 {animation-name: eYDSlsHxwZX19_c_o, eYDSlsHxwZX19__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX19_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX19__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX20_to {animation: eYDSlsHxwZX20_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX20_to__to { 0% {transform: translate(327.650009px,222.649994px)} 16.666667% {transform: translate(327.650009px,222.649994px)} 33.333333% {transform: translate(357.650009px,222.649994px)} 100% {transform: translate(357.650009px,222.649994px)}} #eYDSlsHxwZX20 {animation-name: eYDSlsHxwZX20_c_o, eYDSlsHxwZX20__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX20_c_o { 0% {opacity: 0} 16.666667% {opacity: 0} 33.333333% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX20__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(10px)} 33.333333% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX22_to {animation: eYDSlsHxwZX22_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX22_to__to { 0% {transform: translate(376.449997px,232.100006px)} 16.666667% {transform: translate(376.449997px,232.100006px)} 33.333333% {transform: translate(406.449997px,232.100006px)} 100% {transform: translate(406.449997px,232.100006px)}} #eYDSlsHxwZX22 {animation-name: eYDSlsHxwZX22_c_o, eYDSlsHxwZX22__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX22_c_o { 0% {opacity: 0} 16.666667% {opacity: 0} 33.333333% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX22__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(10px)} 33.333333% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX23_to {animation: eYDSlsHxwZX23_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX23_to__to { 0% {transform: translate(429.049973px,231.549988px)} 16.666667% {transform: translate(429.049973px,231.549988px)} 33.333333% {transform: translate(459.049973px,231.549988px)} 100% {transform: translate(459.049973px,231.549988px)}} #eYDSlsHxwZX23 {animation-name: eYDSlsHxwZX23_c_o, eYDSlsHxwZX23__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX23_c_o { 0% {opacity: 0} 16.666667% {opacity: 0} 33.333333% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX23__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(10px)} 33.333333% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX24_to {animation: eYDSlsHxwZX24_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX24_to__to { 0% {transform: translate(481.994629px,221.999985px)} 16.666667% {transform: translate(481.994629px,221.999985px)} 33.333333% {transform: translate(511.994629px,221.999985px)} 100% {transform: translate(511.994629px,221.999985px)}} #eYDSlsHxwZX24 {animation-name: eYDSlsHxwZX24_c_o, eYDSlsHxwZX24__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX24_c_o { 0% {opacity: 0} 16.666667% {opacity: 0} 33.333333% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX24__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(10px)} 33.333333% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX25_to {animation: eYDSlsHxwZX25_to__to 3000ms linear 1 normal forwards}@keyframes eYDSlsHxwZX25_to__to { 0% {transform: translate(527.502716px,232.100006px)} 16.666667% {transform: translate(527.502716px,232.100006px)} 33.333333% {transform: translate(557.502716px,232.100006px)} 100% {transform: translate(557.502716px,232.100006px)}} #eYDSlsHxwZX25 {animation-name: eYDSlsHxwZX25_c_o, eYDSlsHxwZX25__fl;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX25_c_o { 0% {opacity: 0} 16.666667% {opacity: 0} 33.333333% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX25__fl { 0% {filter: blur(10px)} 16.666667% {filter: blur(10px)} 33.333333% {filter: blur(0px)} 100% {filter: blur(0px)}} #eYDSlsHxwZX28 {animation-name: eYDSlsHxwZX28_c_o, eYDSlsHxwZX28_s_do;animation-duration: 3000ms;animation-fill-mode: forwards;animation-timing-function: linear;animation-direction: normal;animation-iteration-count: 1;}@keyframes eYDSlsHxwZX28_c_o { 0% {opacity: 0} 16.666667% {opacity: 1} 100% {opacity: 1}}@keyframes eYDSlsHxwZX28_s_do { 0% {stroke-dashoffset: 691.15} 16.666667% {stroke-dashoffset: 0} 100% {stroke-dashoffset: 0}}]]>"),t.k0s(),t.j41(4,"defs")(5,"linearGradient",1),t.nrm(6,"stop",2)(7,"stop",3)(8,"stop",4),t.k0s()(),t.j41(9,"g",5),t.nrm(10,"path",6)(11,"path",7)(12,"path",8)(13,"path",9)(14,"path",10)(15,"path",11),t.j41(16,"g",12),t.nrm(17,"path",13),t.k0s(),t.j41(18,"g",14),t.nrm(19,"path",15),t.k0s(),t.j41(20,"g",16),t.nrm(21,"path",17),t.k0s(),t.j41(22,"g",18),t.nrm(23,"path",19),t.k0s(),t.j41(24,"g",20),t.nrm(25,"path",21),t.k0s(),t.j41(26,"g",22),t.nrm(27,"path",23),t.k0s(),t.j41(28,"g",24),t.nrm(29,"path",25),t.k0s(),t.j41(30,"g",26),t.nrm(31,"path",27),t.k0s(),t.j41(32,"g",28),t.nrm(33,"path",29),t.k0s(),t.j41(34,"g",30),t.nrm(35,"path",31),t.k0s(),t.j41(36,"g",32),t.nrm(37,"path",33),t.k0s(),t.nrm(38,"path",34),t.j41(39,"g",35),t.nrm(40,"path",36),t.k0s(),t.j41(41,"g",37),t.nrm(42,"path",38),t.k0s(),t.j41(43,"g",39),t.nrm(44,"path",40),t.k0s(),t.j41(45,"g",41),t.nrm(46,"path",42),t.k0s()(),t.j41(47,"g",5),t.nrm(48,"ellipse",43),t.k0s()(),t.EFF(49,"\n"))}})}}return n})();var Xt=v(7862);const cr=["elItem"];function pr(n,i){if(1&n){const e=t.RV6();t.j41(0,"li",10,0),t.EFF(2,"\n      "),t.j41(3,"a",11),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.pabkGeneralService.closeBurgerMenu())}),t.EFF(4,"\n\n      "),t.k0s(),t.EFF(5,"\n    "),t.k0s()}if(2&n){const e=i.$implicit;t.R7$(3),t.Y8G("href",null==e.fields||null==e.fields.contentPicker?null:e.fields.contentPicker.url,t.B4B)("target",null==e.fields||null==e.fields.contentPicker?null:e.fields.contentPicker.target)("innerText",null==e.fields||null==e.fields.contentPicker?null:e.fields.contentPicker.name)}
1}function mr(n,i){if(1&n&&(t.j41(0,"li",13),t.EFF(1,"\n        "),t.j41(2,"a",14),t.EFF(3,"\n          "),t.qSk(),t.j41(4,"svg",15),t.EFF(5,"\n            "),t.nrm(6,"use"),t.EFF(7,"\n          "),t.k0s(),t.EFF(8,"\n          "),t.joV(),t.nrm(9,"span",16),t.EFF(10,"\n        "),t.k0s(),t.EFF(11,"\n      "),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.R7$(2),t.ZvI("flex justify-center items-center uppercase text-white bg-orange px-6 py-3 border-2 border-orange rounded transition-all duration-150 hover:text-orange hover:bg-transparent xl:mr-6 headerTopButton",a.pabkGeneralService.getIdentForClass(null==e||null==e.fields||null==e.fields.link?null:e.fields.link.name),""),t.Y8G("href",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.url,t.B4B)("target",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.target)("componentName",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.name),t.R7$(4),t.BMQ("href","assets/images/icons.svg#"+e.fields.icon,null,"xlink"),t.R7$(3),t.Y8G("innerText",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.name)}}function ur(n,i){if(1&n&&(t.EFF(0,"\n      "),t.DNE(1,mr,12,8,"li",12),t.EFF(2,"\n    ")),2&n){const e=i.$implicit;t.R7$(),t.Y8G("ngIf","PABKElementsHeaderClassicButtonItem"===(null==e?null:e.componentType))}}function dr(n,i){if(1&n){const e=t.RV6();t.j41(0,"li",17),t.EFF(1,"\n      "),t.j41(2,"a",18),t.bIt("click",function(o){const r=t.eBV(e).$implicit,c=t.XpG(2);return t.Njj(c.getClickAction(r.fields.link,o))}),t.EFF(3,"\n        "),t.qSk(),t.j41(4,"svg",19),t.EFF(5,"\n          "),t.nrm(6,"use"),t.EFF(7,"\n        "),t.k0s(),t.EFF(8,"\n        "),t.joV(),t.nrm(9,"span",20),t.EFF(10,"\n      "),t.k0s(),t.EFF(11,"\n    "),t.k0s()}if(2&n){const e=i.$implicit,a=t.XpG(2);t.R7$(2),t.Y8G("href",a.getUrl(e.fields.link),t.B4B)("componentName",e.fields.link.name),t.R7$(4),t.BMQ("href","assets/images/icons.svg#"+e.fields.icon,null,"xlink"),t.R7$(3),t.Y8G("innerText",e.fields.link.name)}}function fr(n,i){if(1&n){const e=t.RV6();t.j41(0,"nav",2),t.EFF(1,"\n  "),t.j41(2,"button",3),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.pabkGeneralService.closeBurgerMenu())}),t.EFF(3,"\n    "),t.qSk(),t.j41(4,"svg",4),t.EFF(5,"\n      "),t.nrm(6,"use",5),t.EFF(7,"\n    "),t.k0s(),t.EFF(8,"\n  "),t.k0s(),t.EFF(9,"\n  "),t.joV(),t.j41(10,"ul",6),t.EFF(11,"\n    "),t.DNE(12,pr,6,3,"li",7),t.EFF(13,"\n\n    "),t.DNE(14,ur,3,1,"ng-template",8),t.EFF(15,"\n\n    "),t.DNE(16,dr,12,4,"li",9),t.EFF(17,"\n  "),t.k0s(),t.EFF(18,"\n"),t.k0s()}if(2&n){const e=t.XpG();t.R7$(12),t.Y8G("ngForOf",e.mainNavigation.fields.elements),t.R7$(2),t.Y8G("ngForOf",e.pabkGeneralService.headerData.headerItems),t.R7$(2),t.Y8G("ngForOf",e.floatingPanelData.items)}}let hr=new S.Vy("MainNavigationComponent"),Fr=(()=>{class n{constructor(e,a,o,r,c,f,h){this.pageService=e,this.generalHelper=a,this.pabkGeneralService=o,this.elmenetRef=r,this.renderer=c,this._doc=f,this.genesysChatService=h,this.typeHeader="",this.headerSubmenuExtraClasses=["top-160","lg:top-80","sm:top-60"],this.mainNavigation=null,this.mediaUrl=L.c.apiSettings.endpoint.media,this.animationState="out",this.floatingPanelData=new Ca}clickOut(e){this.elmenetRef.nativeElement.contains(e.target)||this.closeMenuGeneral()}ngOnInit(){if(this.loadData(),this.pageDataSubscriber=this.pageService.pageDataChange.subscribe(()=>{this.loadData()}),this.typeHeader)switch(this.typeHeader){case"":case"default":this.headerSubmenuExtraClasses=["top-160","lg:top-80","sm:top-60"];break;case"simple":this.headerSubmenuExtraClasses=["top-100","lg:top-80","sm:top-60"]}}ngOnDestroy(){this.pageDataSubscriber.unsubscribe(),this._doc.getElementsByTagName("html")[0].classList.remove("noscroll")}loadData(){let e=this.pageService.pageData.fields.GetProperty("mainNavigation");this.floatingPanelData.items=this.pageService.pageData.fields.GetProperty("globalFloatingPanel"),this.mainNavigation=e?e[0]:null}toggleSubMenu(e,a,o){if(null!==o)return this.generalHelper.goToUrl(o),void this.closeMenuGeneral();window.matchMedia("(min-width: 992px)").matches?e.classList.contains("headerMenuItemActive")?this.closeMenu(e):(Array.from(this._doc.getElementsByClassName("headerMenuItem")).forEac
1h(r=>{this.closeMenu(r)}),this.openMenu(e)):e.classList.contains("headerMenuItemActive")?(e.getElementsByClassName("headerSubmenu")[0].style.transform="translateX(100vw)",e.classList.remove("headerMenuItemActive")):(e.getElementsByClassName("headerSubmenu")[0].style.transform="translateX(0)",e.classList.add("headerMenuItemActive"))}openMenu(e){let a=this._doc.getElementsByClassName("headerSubmenu");Array.from(a).forEach(r=>{r.classList.add("hidden")});let o=this._doc.getElementsByClassName("headerMenuItemLine");Array.from(o).forEach(r=>{r.classList.add("hidden")}),e.classList.add("headerMenuItemActive"),e.getElementsByClassName("headerMenuItemLine")[0].classList.remove("none"),this.animationState="in"}closeMenu(e){e.getElementsByClassName("headerMenuItemLine")[0].classList.add("none"),e.classList.remove("headerMenuItemActive"),this.animationState="out"}closeMenuGeneral(){let e=this._doc.documentElement.getElementsByClassName("headerMenuItemActive");e&&e.length>0&&this.closeMenu(this._doc.documentElement.getElementsByClassName("headerMenuItemActive")[0])}isOpenSubmenu(e){return e.classList.contains("headerMenuItemActive")}getUrl(e){return e.url.indexOf("open-chat")>0?null:e.url}getClickAction(e,a){if(-1==e.url.indexOf("open-chat"))return this.closeMenuGeneral(),null;a.stopPropagation(),a.preventDefault(),hr.warn("Opening chat...."),this.genesysChatService.triggerOpenChat(),this.closeMenuGeneral()}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(va.f),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(m.qQ),t.rXU(Pn.i))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-main-navigation"]],viewQuery:function(a,o){if(1&a&&t.GBs(cr,5),2&a){let r;t.mGM(r=t.lsd())&&(o.elItem=r.first)}},hostBindings:function(a,o){1&a&&t.bIt("click",function(c){return o.clickOut(c)},!1,t.EBC)},inputs:{typeHeader:"typeHeader"},decls:62,vars:1,consts:[["elItem",""],["class","relative xl:fixed xl:top-0 xl:right-0 xl:bottom-0 xl:w-96 xl:bg-white xl:shadow-lg xl:transition xl:duration-500 xl:transform xl:translate-x-full xl:z-50 sm:w-full sm:overflow-x-hidden sm:overflow-y-auto navMenu",4,"ngIf"],[1,"relative","xl:fixed","xl:top-0","xl:right-0","xl:bottom-0","xl:w-96","xl:bg-white","xl:shadow-lg","xl:transition","xl:duration-500","xl:transform","xl:translate-x-full","xl:z-50","sm:w-full","sm:overflow-x-hidden","sm:overflow-y-auto","navMenu"],["type","button",1,"absolute","top-6","right-6","text-gray-400","z-10","transition-all","duration-150","hover:text-orange","hover:rotate-90","hidden","xl:block","navClose",3,"click"],["aria-hidden","true","focusable","false",1,"w-6","h-6","fill-current","sm:w-5","sm:h-5"],[0,"xlink","href","/assets/images/icons.svg#close"],[1,"flex","items-center","xl:flex-col","xl:px-9","xl:py-12","xl:items-start","sm:px-6"],["class","relative px-6 2xl:px-4 xl:py-3 sm:px-0",4,"ngFor","ngForOf"],["ngFor","",3,"ngForOf"],["class","px-4 py-3 hidden xl:block sm:px-0",4,"ngFor","ngForOf"],[1,"relative","px-6","2xl:px-4","xl:py-3","sm:px-0"],[1,"inline-flex","items-center","w-full","h-[6.25rem]","text-lg","font-bold","text-center","text-gray-400","after:absolute","after:left-0","after:bottom-0","after:w-0","after:h-1.5","after:bg-orange","after:transition-all","after:duration-150","hover:after:w-full","xl:h-auto","xl:text-2xl","xl:after:h-0",3,"click","href","target","innerText"],["class","px-4 py-3 hidden sm:block sm:px-0",4,"ngIf"],[1,"px-4","py-3","hidden","sm:block","sm:px-0"],["role","button","Ga4Tracking","","eventType","select_cta","componentType","button",3,"href","target","componentName"],["aria-hidden","true","focusable","false",1,"w-6","h-6","fill-current","mr-4"],[1,"font-bold","uppercase","whitespace-nowrap",3,"innerText"],[1,"px-4","py-3","hidden","xl:block","sm:px-0"],["role","button","Ga4Tracking","","eventType","select_floating_icon","componentType","floating_button",1,"flex","items-center","transition-colors","duration-150",3,"click","href","componentName"],["aria-hidden","true","focusable","false",1,"w-8","h-8","fill-current","text-orange","mr-4","transition-colors","duration-150"],[1,"font-bold","uppercase","text-center","text-gray-400","transition-colors","duration-150",3,"innerText"]],template:function(a,o){1&a&&(t.DNE(0,fr,19,3,"nav",1),t.EFF(1,"\n\n\n\n\n"),t.EFF(2,"\n"),t.EFF(3,"\n"),t.EFF(4,"\n"),t.EFF(5,"\n"),t.EFF(6,"\n"),t.EFF(7,"\n"),t.EFF(8,"\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.EFF(11,"\n"),t.EFF(12,"\n"),t.EFF(13,"\n"),t.EFF(14,"\n"),t.EFF(15,"\n"),t.EFF(16,"\n"),t.EFF(17,"\n"),t.EFF(18,"\n"),t.EFF(19,"\n"),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n"),t.EFF(23,"\n"),t.EFF(24,"\n"),t.EFF(25,"\n"),t.EFF(26,"\n"),t.EFF(27,"\n"),t.EFF(28,"\n"),t.EFF(29,"\n"),t.EFF(30,"\n"),t.EFF(31,"\n"),t.EFF(32,"\n"),t.EFF(33,"\n"),t.EFF(34,"\n"),t.EFF(35,"\n"),t.EFF(36,"\n"),t.EFF(37,"\n"),t.EFF(38,"\n"),t.EFF(39,"\n"),t.EFF(40,"\n"),t.EFF(41,"\n\n"),t.EFF(42,"\n"),t.EFF(43,"\n"),t.EFF(44,"\n"),t.EFF(45,"\n"),t.EFF(46,"\n"),t.EFF(47,"\n"),t.EFF(48,"\n"),t.EFF(49,"\n"),t.EFF(50,"\n"),t.EFF(51,"\n"),t.EFF(52,"\n"),t.EFF(53,"\n"),t.EFF(54,"\n"),t.EFF(55,"\n"),t.EFF(56,"\n"),t.EFF(57,"\n"),t.EFF(58,"\n"),t.EFF(59,"\n"),t.EFF(60,"\n"),t.EFF(61,"\n")),2&a&&t.Y8G("ngIf",o.mainNavigation)},dependencies:[m.Sq,m.bT,Lt,H.A],data:{animation:[ve]}})}}return n})(),tn=(()=>{class n{constructor(e){this.generalHelperServiceService=e}transform(e){return this.generalHelperServiceService.getUmbracoFileSrc(e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r,16))}}static{this.\u0275pipe=t.EJ8({name:"umbracoFileSrc",type:n,pure:!0})}}return n})();const gr=["headerMenu"],br=["burgerMenuButton"],xr=["headerSectionSelectorButton"],_r=["headerSectionSelectorMenu"];function Er(n,i){1&n&&t.nrm(0,"app-logo")}function kr(n,i){if(1&n&&(t.nrm(0,"img",7),t.nI1(1,"umbracoFileSrc")),2&n){const e=t.XpG();t.Y8G("src",e.mediaUrl+t.bMT(1,3,null==e.headerData.headerLogo||null==e.headerData.headerLogo.fields?null:e.headerData.headerLogo.fields.umbracoFile),t.B4B)("alt",e.headerData.getHeaderLogoName())("title",e.headerData.getHeaderLogoName())}}function yr(n,i){if(1&n&&(t.j41(0,"li"),t.EFF(1,"\n          "),t.j41(2,"a",11),t.EFF(3,"\n            "),t.qSk(),t.j41(4,"svg",12),t.EFF(5,"\n              "),t.nrm(6,"use"),t.EFF(7,"\n            "),t.k0s(),t.EFF(8,"\n            "),t.joV(),t.nrm(9,"span",13),t.EFF(10,"\n          "),t.k0s(),t.EFF(11,"\n        "),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.R7$(2),t.ZvI("flex justify-center items-center uppercase text-white bg-orange px-6 py-3 border-2 border-orange rounded transition-all duration-150 hover:text-orange hover:bg-transparent xl:mr-6 sm:hidden ml-2 headerTopButton",a.getIdentForClass(null==e||null==e.fields||null==e.fields.link?null:e.fields.link.name),""),t.Y8G("href",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.url,t.B4B)("target",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.target)("componentName",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.name),t.R7$(4),t.BMQ("href","assets/images/icons.svg#"+e.fields.icon,null,"xlink"),t.R7$(3),t.Y8G("innerText",null==e||null==e.fields||null==e.fields.link?null:e.fields.link.name)}}function Cr(n,i){if(1&n&&(t.EFF(0,"\n        "),t.DNE(1,yr,12,8,"li",4),t.EFF(2,"\n      ")),2&n){const e=i.$implicit;t.R7$(),t.Y8G("ngIf","PABKElementsHeaderClassicButtonItem"===(null==e?null:e.componentType))}}function vr(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",14,0),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.pabkGeneralService.openBurgerMenu())}),t.EFF(2,"\n          "),t.qSk(),t.j41(3,"svg",15),t.EFF(4,"\n            "),t.nrm(5,"use",16),t.EFF(6,"\n          "),t.k0s(),t.EFF(7,"\n        "),t.k0s()}}function wr(n,i){if(1&n&&(t.j41(0,"ul",8),t.EFF(1,"\n      "),t.DNE(2,Cr,3,1,"ng-template",9),t.EFF(3,"\n      "),t.j41(4,"li"),t.EFF(5,"\n        "),t.DNE(6,vr,8,0,"button",10),t.EFF(7,"\n      "),t.k0s(),t.EFF(8,"\n    "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngForOf",e.pabkGeneralService.headerData.headerItems),t.R7$(4),t.Y8G("ngIf",e.showElements.burger)}}let Sr=new S.Vy("DefaultHeaderComponent"),Dr=(()=>{class n{constructor(e,a,o,r,c,f){this.pageService=e,this.generalHelper=a,this.pabkGeneralService=o,this.renderer2=r,this._doc=c,this.genesysChatService=f,this.headerData=new sr.Zs,this.headerItemsDropdown=[],this.mediaUrl=L.c.apiSettings.endpoint.media,this.showElements={nav:!0,burger:!0}
1,this.animationState="out",this.showNav="in",this.showNavBreakpoint=100,this.scrollTopPosition=0,this.scrollTopPositionLast=0,this.floatingPanelData=new Ca}ngOnInit(){this.init(),this.pageDataSubscriber=this.pageService.pageDataChange.subscribe(e=>{this.init()})}init(){(0,jt.A)(this.headerData,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.headerData))),this.floatingPanelData.items=this.pageService.pageData.fields.GetProperty("globalFloatingPanel")}ngOnDestroy(){this.pageDataSubscriber?.unsubscribe()}toggleBurgerMenu(){}getUrl(e){return e.url.indexOf("open-chat")>0?null:e.url}getClickAction(e,a){if(-1==e.url.indexOf("open-chat"))return this.toggleBurgerMenu(),null;a.stopPropagation(),a.preventDefault(),Sr.warn("Opening chat...."),this.genesysChatService.triggerOpenChat(),this.toggleBurgerMenu()}getIdentForClass(e){return this.generalHelper.stringToCamelCase(e,!0,!0)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(va.f),t.rXU(t.sFG),t.rXU(m.qQ),t.rXU(Pn.i))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-default-header"]],viewQuery:function(a,o){if(1&a&&(t.GBs(gr,5),t.GBs(br,5),t.GBs(xr,5),t.GBs(_r,5)),2&a){let r;t.mGM(r=t.lsd())&&(o.headerMenu=r.first),t.mGM(r=t.lsd())&&(o.burgerMenuButton=r.first),t.mGM(r=t.lsd())&&(o.headerSectionSelectorButton=r.first),t.mGM(r=t.lsd())&&(o.headerSectionSelectorMenu=r.first)}},inputs:{inputData:"inputData"},decls:81,vars:5,consts:[["burgerMenuButton",""],["itemscope","","itemtype","http://schema.org/Organization",1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"flex","justify-between","items-center","w-full","h-[6.25rem]","sm:h-16"],["itemprop","url",3,"href","target"],[4,"ngIf"],["class","flex-shrink-0 w-40 h-auto sm:w-28",3,"src","alt","title",4,"ngIf"],["class","flex items-center",4,"ngIf"],[1,"flex-shrink-0","w-40","h-auto","sm:w-28",3,"src","alt","title"],[1,"flex","items-center"],["ngFor","",3,"ngForOf"],["type","button","class","text-gray-400 transition-colors duration-150 hover:text-orange hidden xl:block navOpen",3,"click",4,"ngIf"],["role","button","Ga4Tracking","","eventType","select_cta","componentType","button",3,"href","target","componentName"],["aria-hidden","true","focusable","false",1,"w-6","h-6","fill-current","mr-4"],[1,"font-bold","uppercase","whitespace-nowrap",3,"innerText"],["type","button",1,"text-gray-400","transition-colors","duration-150","hover:text-orange","hidden","xl:block","navOpen",3,"click"],["aria-hidden","true","focusable","false",1,"w-6","h-6","fill-current"],[0,"xlink","href","/assets/images/icons.svg#menu"]],template:function(a,o){1&a&&(t.j41(0,"div",1),t.EFF(1,"\n  "),t.j41(2,"div",2),t.EFF(3,"\n    "),t.j41(4,"a",3),t.EFF(5,"\n      "),t.DNE(6,Er,1,0,"app-logo",4),t.EFF(7,"\n"),t.EFF(8,"\n      "),t.DNE(9,kr,2,5,"img",5),t.EFF(10,"\n    "),t.k0s(),t.EFF(11,"\n    "),t.nrm(12,"app-main-navigation"),t.EFF(13,"\n    "),t.DNE(14,wr,9,2,"ul",6),t.EFF(15,"\n  "),t.k0s(),t.EFF(16,"\n"),t.k0s(),t.EFF(17,"\n\n\n"),t.EFF(18,"\n"),t.EFF(19,"\n"),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n"),t.EFF(23,"\n"),t.EFF(24,"\n"),t.EFF(25,"\n"),t.EFF(26,"\n"),t.EFF(27,"\n"),t.EFF(28,"\n"),t.EFF(29,"\n\n"),t.EFF(30,"\n"),t.EFF(31,"\n"),t.EFF(32,"\n"),t.EFF(33,"\n"),t.EFF(34,"\n"),t.EFF(35,"\n"),t.EFF(36,"\n"),t.EFF(37,"\n"),t.EFF(38,"\n"),t.EFF(39,"\n"),t.EFF(40,"\n"),t.EFF(41,"\n"),t.EFF(42,"\n"),t.EFF(43,"\n"),t.EFF(44,"\n"),t.EFF(45,"\n"),t.EFF(46,"\n"),t.EFF(47,"\n"),t.EFF(48,"\n"),t.EFF(49,"\n"),t.EFF(50,"\n"),t.EFF(51,"\n"),t.EFF(52,"\n"),t.EFF(53,"\n"),t.EFF(54,"\n"),t.EFF(55,"\n"),t.EFF(56,"\n\n"),t.EFF(57,"\n"),t.EFF(58,"\n"),t.EFF(59,"\n"),t.EFF(60,"\n"),t.EFF(61,"\n"),t.EFF(62,"\n"),t.EFF(63,"\n"),t.EFF(64,"\n"),t.EFF(65,"\n"),t.EFF(66,"\n"),t.EFF(67,"\n\n"),t.EFF(68,"\n"),t.EFF(69,"\n"),t.EFF(70,"\n"),t.EFF(71,"\n"),t.EFF(72,"\n"),t.EFF(73,"\n"),t.EFF(74,"\n"),t.EFF(75,"\n"),t.EFF(76,"\n"),t.EFF(77,"\n"),t.EFF(78,"\n"),t.EFF(79,"\n"),t.EFF(80,"\n\n")),2&a&&(t.R7$(4),t.Y8G("href",o.headerData.getHeaderLogoUrl(),t.B4B)("target",o.headerData.getHeaderLogoTarget()),t.R7$(2),t.Y8G("ngIf",!o.headerData.headerLogo),t.R7$(3),t.Y8G("ngIf",o.headerData.headerLogo),t.R7$(5),t.Y8G("ngIf",o.pabkGeneralService.headerData.headerItems&&o.pabkGeneralService.headerData.headerItems.length>0))},dependencies:[m.Sq,m.bT,Lt,lr,H.A,Xt.D,Fr,tn],data:{animation:[ve]}})}}return n})();const Tr=n=>[n];function Gr(n,i){1&n&&t.nrm(0,"app-default-header")}let Br=new S.Vy("DefaultLayoutHeaderComponent"),Ir=(()=>{class n{constructor(e,a,o,r){this.pageService=e,this.generalHelper=a,this.renderer2=o,this._doc=r,this.mediaUrl=L.c.apiSettings.endpoint.media,this.showAlertBar=!1,this.showHeaderType="default",this.headerExtraClasse
1sByHeaderType=""}ngOnInit(){this.pageDataSubscriber=this.pageService.pageDataChange.subscribe(e=>{e.fields.GetProperty("globalAlertNotice")&&(this.showAlertBar="true"==e.fields.GetProperty("globalAlertNotice")),this.parseShowHeaderType()}),this.alertBarSubscriber=this.generalHelper.isAlertBarChange.subscribe(e=>{this.parseShowHeaderType()})}ngOnDestroy(){this.pageDataSubscriber?.unsubscribe(),this.alertBarSubscriber?.unsubscribe()}parseShowHeaderType(){Br.debug("Setting extra classes by header type to main element: ",this.pageService.pageData.fields.headerType),this.showHeaderType="default",this.generalHelper.mainElementExtraClassesByHeaderTypeChange.next("mt-[6.25rem] sm:mt-16"),this.headerExtraClassesByHeaderType="fixed top-0 left-0 right-0 bg-white border-b border-gray-100 z-40 header"}getClasses(){return this.headerExtraClassesByHeaderType}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(t.sFG),t.rXU(m.qQ))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-default-layout-header"]],decls:19,vars:4,consts:[["href","#main",1,"sr-only"],[1,"",3,"ngClass"],[4,"ngIf"]],template:function(a,o){1&a&&(t.EFF(0,"\n"),t.EFF(1,"\n"),t.EFF(2,"\n"),t.EFF(3,"\n"),t.EFF(4,"\n"),t.EFF(5,"\n"),t.EFF(6,"\n"),t.EFF(7,"\n"),t.EFF(8,"\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.j41(11,"a",0),t.EFF(12,"Presko\u010di\u0165 na hlavn\xfd obsah"),t.k0s(),t.EFF(13,"\n"),t.j41(14,"header",1),t.EFF(15,"\n  "),t.DNE(16,Gr,1,0,"app-default-header",2),t.EFF(17,"\n"),t.k0s(),t.EFF(18,"\n")),2&a&&(t.R7$(14),t.Y8G("ngClass",t.eq3(2,Tr,o.getClasses())),t.R7$(2),t.Y8G("ngIf","default"==o.showHeaderType))},dependencies:[H.A,Dr,m.YU,m.bT],data:{animation:[ve]}})}}return n})();class jr{constructor(i,e,a,o,r,c,f,h,b,w){this.footerShowWebsiteLastUpdate=!1,this.allowFooterBasic=!1,this.allowFooterAdvanced=!1,this.allowFooterBig=!1,this.footerCopyrightText=i,this.footerCopyrightLinks=e,this.footerLogo=a,this.footerText=o,this.footerAppButtons=r,this.footerBigElements=c,this.footerShowWebsiteLastUpdate=w}}class Rr{constructor(i,e){this.headline=i,this.content=e}}class Pr{constructor(i,e){this.headline=i,this.urls=e}}class Yr extends jr{constructor(i){super(),this.footerSocialIcons=i}}class rt{constructor(){this.text="",this.background="",this.iconColor="",this.headlineBackground="",this.headlineText="",this.bulletColor="",this.documentBackground="",this.documentContent="",this.button="",this.buttonText=""}isSetClass(i){return this[i].length>0}getHexIfClassEmpty(i,e){return this.isSetClass(i)?null:e}}class $r{constructor(){this.Text_Odd="",this.Text_Even="",this.BG_Odd="",this.BG_Even="",this.Headline_BG_Odd="",this.Headline_BG_Even="",this.Headline_Text_Odd="",this.Headline_Text_Even="",this.Button_Odd="",this.Button_Even=""}isSetClass(i){return this[i].length>0}getHexIfClassEmpty(i,e){return this.isSetClass(i)?null:e}}let we=(()=>{class n{constructor(){this.hexToClassTable={"45DBCC":"mint","004155":"dark-sea-blue",808287:"dark-gray",F4F6F9:"light",D4CDFF:"lavender",371937:"eggplant",FFAFCD:"piggy",FFF482:"chick",F0004B:"red",FFF:"white",FFFFFF:"white"},this.fieldTPrefixClass={text:"color-",background:"bg-",iconColor:"fill-",headlineBackground:"title-",headlineText:"color-",bulletColor:"fill-",documentBackground:"bg-",documentContent:"btn-",button:"btn-"}}parseColors(e){let a=new rt;return e.colors.forEach(o=>{o.field in a&&(a[o.field]=this.setPrefixToClassByField(this.transformHexToPartialClass(o.hex),o.field),o.classPostfix&&(a[o.field]+=o.classPostfix))}),a}parseColorsForArticles(e){let a=new $r;return e.colors.forEach(o=>{o.id in a&&(a[o.id]=this.setPrefixToClassByField(this.transformHexToPartialClass(o.hex),o.field),o.classPostfix&&(a[o.field]+=o.classPostfix))}),a}transformHexToPartialClass(e){return e.toUpperCase()in this.hexToClassTable?this.hexToClassTable[e.toUpperCase()]:""}setPrefixToClassByField(e,a,o=!0){if(a in this.fieldTPrefixClass){let r=this.fieldTPrefixClass[a];return o?r+e:r}return""}getColorClassesDefault(e="bg-off-white"){let a=new rt;return a.text="color-dark-sea-blue",a.background=e,a.headlineBackground="title-dark-sea-blue",a.headlineText="",a.iconColor="",a.bulletColor="fill-mint",a.button="btn-mint",a.buttonText="",a.documentContent="",a.documentBackgroun
1d="bg-mint",a}getColorClassesError(){let e=new rt;return e.text="color-eggplant",e.background="bg-piggy",e.headlineBackground="title-dark-sea-blue",e.headlineText="",e.iconColor="",e.bulletColor="fill-mint",e.button="btn-mint",e.buttonText="",e.documentContent="",e.documentBackground="bg-mint",e}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Nr=(n,i)=>[n,i,"storeButtons"];function Hr(n,i){if(1&n&&(t.j41(0,"li",3),t.EFF(1,"\n    "),t.j41(2,"a",4),t.EFF(3,"\n      "),t.qSk(),t.j41(4,"svg",5),t.EFF(5,"\n        "),t.nrm(6,"use"),t.EFF(7,"\n      "),t.k0s(),t.EFF(8,"\n    "),t.k0s(),t.EFF(9,"\n  "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(2);t.R7$(2),t.ZvI("flex px-6 py-2 border-2 rounded-full transition-colors duration-150  storeButton",a.getIdentForClass(e.fields.icon),""),t.Y8G("ngClass",a.colorClasses.join(" "))("href",e.fields.link.url,t.B4B)("target",e.fields.link.target),t.BMQ("aria-label",e.fields.link.name),t.R7$(4),t.BMQ("href","/assets/images/icons.svg#"+e.fields.icon,null,"xlink")}}function Lr(n,i){if(1&n&&(t.j41(0,"ul",1),t.EFF(1,"\n  "),t.DNE(2,Hr,10,8,"li",2),t.EFF(3,"\n"),t.k0s()),2&n){const e=t.XpG();t.Y8G("ngClass",t.l_i(2,Nr,e.defaultClasses.join(" "),e.extraClasses.join(" "))),t.R7$(2),t.Y8G("ngForOf",e.data)}}new S.Vy("StoresButtonComponent");let wa=(()=>{class n{constructor(e,a){this.pageService=e,this.generalHelper=a,this.colorClasses=["text-orange","bg-white","hover:text-white","hover:bg-transparent","border-white"],this.extraClasses=[],this.defaultClasses=[],this.data=new Array}ngOnInit(){this.setData()}setData(){let e=this.pageService.pageData.fields.GetProperty("globalStoreButtons");Object.assign(this.data,e)}getIdentForClass(e){return this.generalHelper.stringToCamelCase(e,!0)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-stores-button"]],inputs:{colorClasses:"colorClasses",extraClasses:"extraClasses",defaultClasses:"defaultClasses"},decls:2,vars:1,consts:[["class","flex flex-wrap items-center -m-1 lg:justify-center",3,"ngClass",4,"ngIf"],[1,"flex","flex-wrap","items-center","-m-1","lg:justify-center",3,"ngClass"],["class","p-1",4,"ngFor","ngForOf"],[1,"p-1"],[3,"ngClass","href","target"],["aria-hidden","true","focusable","false",1,"w-32","h-8","fill-current"]],template:function(a,o){1&a&&(t.DNE(0,Lr,4,5,"ul",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.data.length>0)},dependencies:[m.YU,m.Sq,m.bT,H.A]})}}return n})();var W=v(9713);function Mr(n,i){1&n&&(t.qSk(),t.j41(0,"svg",4),t.EFF(1,"\n    "),t.nrm(2,"use",5),t.EFF(3,"\n  "),t.k0s())}function Or(n,i){if(1&n&&(t.j41(0,"h3",1),t.EFF(1,"\n  "),t.nrm(2,"span",2),t.EFF(3,"\n  "),t.DNE(4,Mr,4,0,"svg",3),t.EFF(5,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("innerHTML",e.headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("ngIf",e.showIcon)}}new S.Vy("FooterBoxHeaderComponent");let Eo=(()=>{class n{constructor(){this.showIcon=!1}ngOnInit(){this.inputData&&(this.headline=this.inputData)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-footer-box-header"]],inputs:{inputData:"inputData",showIcon:"showIcon"},decls:2,vars:1,consts:[["class","flex justify-between items-center text-white pb-6 xl:pb-3 xl:cursor-pointer footerToggleBtn",4,"ngIf"],[1,"flex","justify-between","items-center","text-white","pb-6","xl:pb-3","xl:cursor-pointer","footerToggleBtn"],[1,"text-xl","font-bold","text-orange","sm:text-lg",3,"innerHTML"],["aria-hidden","true","focusable","false","class","w-4 h-2 fill-current transform transition-all duration-150 hidden xl:block footerToggleIcon",4,"ngIf"],["aria-hidden","true","focusable","false",1,"w-4","h-2","fill-current","transform","transition-all","duration-150","hidden","xl:block","footerToggleIcon"],["href","/assets/images/icons.svg#caret-down"]],template:function(a,o){1&a&&(t.DNE(0,Or,6,2,"h3",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.headline)},dependencies:[m.bT]})}}return n})();var He=v(345);let Sa=(()=>{class n{constructor(e){this.sanitized=e}transform(e){return this.sanitized.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(He.up,16))}}static{this.\u0275pipe=t.EJ8({name:"safeHtml",type:n,pure:!0})}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),Ar=(new S.Vy("FooterContentBoxComponent"),(()=>{class n{constructor(){this.animationState="in",window.matchMedia("(min-width: 992px)").matches||(this.animationState="out")}ngOnInit(){this.inputData&&(this.data=new Rr,(0,jt.A)(this.data,(0,Rt.A)(this.inputData,(0,Pt.A)(this.data))))}toggleContent(){}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-footer-content-box"]],inputs:{inputData:"inputData"},decls:5,vars:4,consts:[[3,"click","inputData"],[1,"text-3xl","leading-normal","text-white","pb-12","sm:text-2xl","sm:pb-6",3,"innerHTML"]],template:function(a,o){1&a&&(t.j41(0,"app-footer-box-header",0),t.bIt("click",function(){return o.toggleContent()}),t.k0s(),t.EFF(1,"\n"),t.nrm(2,"div",1),t.nI1(3,"safeHtml"),t.EFF(4,"\n")),2&a&&(t.Y8G("inputData",o.data.headline),t.R7$(2),t.Y8G("innerHTML",t.bMT(3,2,o.data.content),t.npT))},dependencies:[Eo,Sa],data:{animation:[ve]}})}}return n})());const Xr=["toggleContentElement"];function Vr(n,i){if(1&n&&(t.j41(0,"li",5),t.EFF(1,"\n    "),t.nrm(2,"a",6),t.EFF(3,"\n  "),t.k0s()),2&n){const e=i.$implicit;t.Y8G("ngClass",i.last?"":"pb-2"),t.R7$(2),t.Y8G("href",e.url,t.B4B)("target",e.target)("innerText",e.name)}}function Ur(n,i){if(1&n&&(t.j41(0,"ul",3,0),t.EFF(2,"\n  "),t.DNE(3,Vr,4,4,"li",4),t.EFF(4,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.Y8G("ngForOf",e.data.urls)}}new S.Vy("FooterUrlBoxComponent");let qr=(()=>{class n{constructor(){this.animationState="in"}ngOnInit(){this.inputData&&(this.data=new Pr,(0,jt.A)(this.data,(0,Rt.A)(this.inputData,(0,Pt.A)(this.data))))}toggleContent(e){this.toggleContentElement.nativeElement.style.height=this.toggleContentElement.nativeElement.style.height!=this.toggleContentElement.nativeElement.scrollHeight+"px"?this.toggleContentElement.nativeElement.scrollHeight+"px":"0",e.currentTarget.querySelector(".footerToggleIcon").classList.toggle("rotate-180")}
1static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-footer-url-box"]],viewQuery:function(a,o){if(1&a&&t.GBs(Xr,5),2&a){let r;t.mGM(r=t.lsd())&&(o.toggleContentElement=r.first)}},inputs:{inputData:"inputData"},decls:4,vars:3,consts:[["toggleContentElement",""],[3,"click","inputData","showIcon"],["class","xl:h-0 xl:transform xl:transition-all xl:duration-150 xl:overflow-hidden footerToggleMain",4,"ngIf"],[1,"xl:h-0","xl:transform","xl:transition-all","xl:duration-150","xl:overflow-hidden","footerToggleMain"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"text-white","transition-colors","duration-150","hover:text-orange",3,"href","target","innerText"]],template:function(a,o){1&a&&(t.j41(0,"app-footer-box-header",1),t.bIt("click",function(c){return o.toggleContent(c)}),t.k0s(),t.EFF(1,"\n"),t.DNE(2,Ur,5,1,"ul",2),t.EFF(3,"\n")),2&a&&(t.Y8G("inputData",o.data.headline)("showIcon",!0),t.R7$(2),t.Y8G("ngIf",o.data.urls))},dependencies:[m.YU,m.Sq,m.bT,H.A,Eo],data:{animation:[ve]}})}}return n})();var tt=v(4842);const zr=()=>["flex flex-wrap justify-center items-center lg:pb-6 -m-1"],Zr=()=>[],Jr=()=>["text-gray-400","bg-white","hover:text-white","hover:bg-transparent","border-white"],Wr=n=>({datetime:n});function Kr(n,i){if(1&n&&t.nrm(0,"app-footer-content-box",9),2&n){const e=t.XpG().$implicit;t.Y8G("inputData",e.fields)}}function Qr(n,i){if(1&n&&t.nrm(0,"app-footer-url-box",9),2&n){const e=t.XpG().$implicit;t.Y8G("inputData",e.fields)}}function ts(n,i){if(1&n&&(t.j41(0,"div",7),t.EFF(1,"\n          "),t.DNE(2,Kr,1,1,"app-footer-content-box",8),t.EFF(3,"\n\n          "),t.DNE(4,Qr,1,1,"app-footer-url-box",8),t.EFF(5,"\n        "),t.k0s()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngIf","PABKElementsFooterContentBox"==e.componentType),t.R7$(2),t.Y8G("ngIf","PABKElementsFooterUrlBox"==e.componentType)}}function es(n,i){if(1&n&&(t.j41(0,"section",4),t.EFF(1,"\n      "),t.j41(2,"div",5),t.EFF(3,"\n        "),t.DNE(4,ts,6,2,"div",6),t.EFF(5,"\n      "),t.k0s(),t.EFF(6,"\n    "),t.k0s()),2&n){const e=t.XpG();t.R7$(4),t.Y8G("ngForOf",e.footerData.footerBigElements)}}function ns(n,i){1&n&&t.nrm(0,"app-stores-button",17),2&n&&t.Y8G("defaultClasses",t.lJ4(3,zr))("extraClasses",t.lJ4(4,Zr))("colorClasses",t.lJ4(5,Jr))}function as(n,i){if(1&n&&(t.j41(0,"li",20),t.EFF(1,"\n            "),t.j41(2,"a",21),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",22),t.EFF(5,"\n                "),t.nrm(6,"use"),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n            "),t.k0s(),t.EFF(9,"\n          "),t.k0s()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("href",e.fields.socialURL,t.B4B)("title",e.fields.socialTitle),t.R7$(4),t.BMQ("href","/assets/images/icons.svg#"+e.fields.socialIcon,null,"xlink")}}function os(n,i){if(1&n&&(t.j41(0,"ul",18),t.EFF(1,"\n          "),t.DNE(2,as,10,3,"li",19),t.EFF(3,"\n        "),t.k0s()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngForOf",e.pabkGeneralService.socials)}}function is(n,i){if(1&n&&(t.j41(0,"div",13),t.EFF(1,"\n        "),t.nrm(2,"img",14),t.nI1(3,"umbracoFileSrc"),t.EFF(4,"\n        "),t.DNE(5,ns,1,6,"app-stores-button",15),t.EFF(6,"\n        "),t.DNE(7,os,4,1,"ul",16),t.EFF(8,"\n      "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("src",e.mediaUrl+t.bMT(3,3,null==e.footerData.footerLogo||null==e.footerData.footerLogo.fields?null:e.footerData.footerLogo.fields.umbracoFile),t.B4B),t.R7$(3),t.Y8G("ngIf",e.footerData.footerAppButtons),t.R7$(2),t.Y8G("ngIf",e.footerData.footerSocialIcons)}}
1function rs(n,i){if(1&n&&(t.nrm(0,"p",26),t.nI1(1,"date")),2&n){const e=t.XpG(3);t.Y8G("translate","generalItemsFooterLastUpdateWebsite")("translateParams",t.eq3(5,Wr,t.i5U(1,2,e.lastUpdateDatetime,"dd.MM.YYYY HH:mm")))}}function ss(n,i){1&n&&(t.j41(0,"span",31),t.EFF(1,"|"),t.k0s())}function ls(n,i){if(1&n&&(t.j41(0,"li"),t.EFF(1,"\n            "),t.j41(2,"a",29),t.EFF(3),t.k0s(),t.EFF(4,"\n            "),t.DNE(5,ss,2,0,"span",30),t.EFF(6,"\n          "),t.k0s()),2&n){const e=i.$implicit,a=i.last;t.R7$(2),t.Y8G("href",e.url,t.B4B)("target",e.target),t.R7$(),t.SpI("\n              ",e.name,"\n            "),t.R7$(2),t.Y8G("ngIf",!a)}}function cs(n,i){if(1&n&&(t.j41(0,"ul",27),t.EFF(1,"\n          "),t.DNE(2,ls,7,4,"li",28),t.EFF(3,"\n        "),t.k0s()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngForOf",e.footerData.footerCopyrightLinks)}}function ps(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n        "),t.nrm(2,"div",23),t.EFF(3,"\n        "),t.DNE(4,rs,2,7,"p",24),t.EFF(5,"\n        "),t.DNE(6,cs,4,1,"ul",25),t.EFF(7,"\n      "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("b3655WysiwygHtml",e.generalHelper.removeEncapsulatedTag(e.footerData.footerCopyrightText,"p")),t.R7$(2),t.Y8G("ngIf",e.footerData.footerShowWebsiteLastUpdate),t.R7$(2),t.Y8G("ngIf",e.footerData.footerCopyrightLinks)}}function ms(n,i){if(1&n&&(t.j41(0,"section",10),t.EFF(1,"\n      "),t.DNE(2,is,9,5,"div",11),t.EFF(3,"\n      "),t.DNE(4,ps,8,3,"ng-container",12),t.EFF(5,"\n\n    "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngIf",e.footerData.allowFooterAdvanced),t.R7$(2),t.Y8G("ngIf",e.footerData.allowFooterBasic)}}let us=new S.Vy("DefaultLayoutFooterComponent"),ds=(()=>{class n{constructor(e,a,o,r){this.pageService=e,this.generalHelper=a,this.colorPaletteService=o,this.pabkGeneralService=r,this.footerData=new Yr,this.mediaUrl=L.c.apiSettings.endpoint.media,this.animationStateNewsletter="in",window.matchMedia("(min-width: 992px)")?.matches||(this.animationStateNewsletter="out")}ngOnInit(){us.debug("ngOnInit"),this.processData()}ngOnDestroy(){this.pageDataSubscriber?.unsubscribe()}processData(){(0,jt.A)(this.footerData,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.footerData))),this.pageService.pageData.fields.GetProperty("_websiteContentLastUpdate")&&(this.lastUpdateDatetime=new Date(this.pageService.pageData.fields.GetProperty("_websiteContentLastUpdate")))}toggleNewsletter(){this.animationStateNewsletter="out"===this.animationStateNewsletter?"in":"out"}getColorClassesForStoreButtons(){return this.colorPaletteService.getColorClassesDefault()}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(we),t.rXU(va.f))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-default-layout-footer"]],decls:57,vars:2,consts:[[1,"bg-gray-200"],[1,"max-w-8xl","w-full","px-4","mx-auto"],["class","py-18 border-b border-gray-300 sm:py-12",4,"ngIf"],["class","py-12 sm:py-6",4,"ngIf"],[1,"py-18","border-b","border-gray-300","sm:py-12"],[1,"flex","flex-wrap","-m-6","xl:-m-4","sm:-m-2"],["class","w-1/5 p-6 xl:w-full xl:p-4 sm:p-2",4,"ngFor","ngForOf"],[1,"w-1/5","p-6","xl:w-full","xl:p-4","sm:p-2"],["class","lg:w-100p",3,"inputData",4,"ngIf"],[1,"lg:w-100p",3,"inputData"],[1,"py-12","sm:py-6"],["class","flex justify-between items-center pb-6 lg:flex-col lg:justify-start",4,"ngIf"],[4,"ngIf"],[1,"flex","justify-between","items-center","pb-6","lg:flex-col","lg:justify-start"],["alt","Logo",1,"w-40","h-auto","fill-current","text-white","lg:mb-6","sm:w-28",3,"src"],["class","flex flex-wrap items-center flex-shrink-0 lg:justify-center",3,"defaultClasses","extraClasses","colorClasses",4,"ngIf"],["class","flex items-center -m-1",4,"ngIf"],[1,"flex","flex-wrap","items-center","flex-shrink-0","lg:justify-center",3,"defaultClasses","extraClasses","colorClasses"],[1,"flex","items-center","-m-1"],["class","p-1",4,"ngFor","ngForOf"],[1,"p-1"],["target","_blank","rel","noopener",1,"inline-block","text-white","transition-all","duration-150","hover:opacity-80","hover:shadow-lg",3,"href","title"],["aria-hidden","true","focusable","false",1,"w-10","h-10","fill-current"],[1,"flex","justify-center","text-xs","text-white",3,"b3655WysiwygHtml"],["class","flex justify-center text-xs text-white mt-2",3,"translate","translateParams",4,"ngIf"],["class","flex justify-center text-xs text-white mt-2",4,"ngIf"],[1,"flex","justify-center","text-xs","text-white","mt-2",3,"translate","translateParams"],[1,"flex","justify-center","text-xs","text-white","mt-2"],[4,"ngFor","ngForOf"],[1,"hover:underline","tracking-loose","text-white",3,"href","target"],["class","text-white pr-10 pl-10 xs:none",4,"ngIf"],[1,"text-white","pr-10","pl-10","xs:none"]],template:function(a,o){1&a&&(t.EFF(0,"\n"),t.EFF(1,"\n"),t.EFF(2,"\n\n"),t.EFF(3,"\n\n"),t.EFF(4,"\n\n"),t.EFF(5,"\n\n"),t.EFF(6,"\n\n"),t.EFF(7,"\n\n"),t.EFF(8,"\n\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.EFF(11,"\n"),t.EFF(12,"\n"),t.EFF(13,"\n"),t.EFF(14,"\n\n"),t.EFF(15,"\n"),t.EFF(16,"\n"),t.EFF(17,"\n"),t.EFF(18,"\n"),t.EFF(19,"\n"),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n"),t.EFF(23,"\n"),t.EFF(24,"\n"),t.EFF(25,"\n"),t.EFF(26,"\n"),t.EFF(27,"\n"),t.EFF(28,"\n"),t.EFF(29,"\n"),t.EFF(30,"\n"),t.EFF(31,"\n"),t.EFF(32,"\n"),t.EFF(33,"\n"),t.EFF(34,"\n"),t.EFF(35,"\n"),t.EFF(36,"\n"),t.EFF(37,"\n"),t.EFF(38,"\n"),t.EFF(39,"\n"),t.EFF(40,"\n"),t.EFF(41,"\n"),t.EFF(42,"\n"),t.EFF(43,"\n"),t.EFF(44,"\n"),t.EFF(45,"\n"),t.EFF(46,"\n"),t.j41(47,"footer",0),t.EFF(48,"\n  "),t.j41(49,"div",1),t.EFF(50,"\n    "),t.DNE(51,es,7,1,"section",2),t.EFF(52,"\n\n    "),t.DNE(53,ms,6,2,"section",3),t.EFF(54,"\n  "),t.k0s(),t.EFF(55,"\n"),t.k0s(),t.EFF(56,"\n")),2&a&&(t.R
17$(51),t.Y8G("ngIf",o.footerData.allowFooterBig),t.R7$(2),t.Y8G("ngIf",o.footerData.allowFooterBasic||o.footerData.allowFooterAdvanced))},dependencies:[wa,Xt.D,W.k,H.A,Ar,qr,tt.Mm,m.Sq,m.bT,tn,m.vh],data:{animation:[ve]}})}}return n})();class fs{constructor(i,e,a,o,r,c,f,h,b,w,$){this.globalCookiesEnabled=i,this.globalCookiesExpiration=e,this.globalCookiesButtonAcceptAll=a,this.globalCookiesButtonSettings=o,this.globalCookiesButtonSettingsSave=r,this.globalCookiesPurposeList=c,this.globalCookiesStep1Headline=f,this.globalCookiesStep1Content=h,this.globalCookiesStep2Headline=b,this.globalCookiesStep2TopContent=w,this.globalCookiesStep2BottomContent=$}}var hs=v(2247),d=v(9417);function Fs(n,i){if(1&n){const e=t.RV6();t.EFF(0,"\n    "),t.j41(1,"div",2),t.EFF(2,"\n      "),t.j41(3,"div",3),t.EFF(4,"\n        "),t.nrm(5,"h2",4),t.EFF(6,"\n        "),t.nrm(7,"p",5),t.EFF(8,"\n        "),t.j41(9,"div",6),t.EFF(10,"\n          "),t.j41(11,"div",7),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.acceptContest())}),t.k0s(),t.EFF(12,"\n          "),t.j41(13,"div",8),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.clickChangeCookieSettings())}),t.k0s(),t.EFF(14,"\n        "),t.k0s(),t.EFF(15,"\n      "),t.k0s(),t.EFF(16,"\n    "),t.k0s(),t.EFF(17,"\n  ")}if(2&n){const e=t.XpG(2);t.R7$(5),t.Y8G("innerHtml",e.cookiesData.globalCookiesStep1Headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.cookiesData.globalCookiesStep1Content),t.R7$(4),t.Y8G("innerHTML",e.cookiesData.globalCookiesButtonAcceptAll,t.npT),t.R7$(2),t.Y8G("innerHTML",e.cookiesData.globalCookiesButtonSettings,t.npT)}}function gs(n,i){if(1&n){const e=t.RV6();t.j41(0,"li",17),t.EFF(1,"\n              "),t.j41(2,"input",18),t.mxI("ngModelChange",function(o){const r=t.eBV(e).$implicit;return t.DH7(r.active,o)||(r.active=o),t.Njj(o)}),t.k0s(),t.EFF(3,"\n              "),t.nrm(4,"label",19),t.EFF(5,"\n            "),t.k0s()}if(2&n){const e=i.$implicit;t.Y8G("ngClass",i.last?"":"pb-4"),t.R7$(2),t.Y8G("name",e.ident)("id","check_"+e.ident)("checked",e.active),t.R50("ngModel",e.active),t.R7$(2),t.Y8G("innerHTML",e.text,t.npT),t.BMQ("for","check_"+e.ident)}}function bs(n,i){if(1&n&&(t.j41(0,"div",13),t.EFF(1,"\n          "),t.nrm(2,"h3",14),t.EFF(3,"\n          "),t.j41(4,"ul",15),t.EFF(5,"\n            "),t.DNE(6,gs,6,7,"li",16),t.EFF(7,"\n          "),t.k0s(),t.EFF(8,"\n        "),t.k0s()),2&n){const e=i.$implicit;t.Mz_("id","tab_btn_",e.id,""),t.BMQ("aria-selected",e.active)("aria-controls","tab_panel_"+e.id),t.R7$(2),t.Y8G("innerHTML",e.tabName,t.npT),t.R7$(4),t.Y8G("ngForOf",e.items)}}function xs(n,i){if(1&n){const e=t.RV6();t.EFF(0,"\n    "),t.j41(1,"div",2),t.EFF(2,"\n      "),t.j41(3,"div",3),t.EFF(4,"\n        "),t.nrm(5,"h2",9),t.EFF(6,"\n        "),t.nrm(7,"p",5),t.EFF(8,"\n        "),t.DNE(9,bs,9,6,"div",10),t.EFF(10,"\n        "),t.j41(11,"div",11),t.EFF(12,"\n          "),t.j41(13,"div",7),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.acceptContest())}),t.k0s(),t.EFF(14,"\n          "),t.j41(15,"div",12),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.acceptContest(!0))}),t.k0s(),t.EFF(16,"\n        "),t.k0s(),t.EFF(17,"\n      "),t.k0s(),t.EFF(18,"\n    "),t.k0s(),t.EFF(19,"\n  ")}if(2&n){const e=t.XpG(2);t.R7$(5),t.Y8G("innerHtml",e.cookiesData.globalCookiesStep2Headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.cookiesData.globalCookiesStep2TopContent),t.R7$(2),t.Y8G("ngForOf",e.steps),t.R7$(4),t.Y8G("innerHTML",e.cookiesData.globalCookiesButtonAcceptAll,t.npT),t.R7$(2),t.Y8G("innerHTML",e.cookiesData.globalCookiesButtonSettingsSave,t.npT)}}function _s(n,i){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n  "),t.EFF(2,"\n  "),t.DNE(3,Fs,18,4,"ng-template",1),t.EFF(4,"\n  "),t.EFF(5,"\n  "),t.DNE(6,xs,20,5,"ng-template",1),t.EFF(7,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.Y8G("ngIf",1==e.step),t.R7$(3),t.Y8G("ngIf",2==e.step)}}let Es=new S.Vy("CookiesComponent"),ks=(()=>{class n{constructor(e,a){this.cookieService=e,this.pageService=a,this.showCookieContest=!1,this.subscribers=[],this.step=this.cookieService.showCookieContestStep,this.dataPurpose=[{ident:"basic",active:!0,text:"Z\xe1kladn\xe9 s\xfabory cookies",helpUrl:""},{ident:"marketing",active:!1,text:"Marketingov\xe9 s\xfabory cookies",helpUrl:""},{ident:"analytics",active:!1,text:"\u0160tatistick\xe9 a analytick\xe9 s\xfabory cookies",helpUrl:""}],this.steps=[],this.cookiesData=new fs}ngOnInit(){this.initData(),this.setSteps(),this.subscribers.push(this.cookieService.showCookieContestStepCh
1ange.subscribe(e=>{this.step=e})),this.subscribers.push(this.cookieService.showCookieContestChange.subscribe(e=>{this.showCookieContest=e})),this.showCookieContest=!1,this.cookieService.loadAnswersFromStorage(this.dataPurpose),this.cookieService.verifyContest()}ngOnDestroy(){this.subscribers&&this.subscribers.forEach(e=>{e.unsubscribe()})}initData(){(0,jt.A)(this.cookiesData,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.cookiesData))),this.cookiesData.globalCookiesEnabled=this.cookiesData.globalCookiesEnabled?JSON.parse(this.cookiesData.globalCookiesEnabled.toString().toLowerCase()):this.cookiesData.globalCookiesEnabled,this.showCookieContest||this.cookieService.loadAnswersFromStorage(this.cookiesData.globalCookiesPurposeList),this.dataPurpose=this.cookiesData.globalCookiesPurposeList,this.cookieService.expirationTime=Number(this.cookiesData.globalCookiesExpiration),this.isNinjaMode()}setSteps(){this.steps=[{id:1,tabName:"Zoznam \xfa\u010delov",active:!0,items:this.dataPurpose}]}acceptContest(e=!1){this.cookieService.setContestAnswer(!0,e?this.getSelectedPurpose():this.getAndAcceptAllPurpose())}declineContest(){this.cookieService.setContestAnswer(!1)}clickChangeCookieSettings(){this.step=2}getSelectedPurpose(){let e=[];return this.dataPurpose.forEach(a=>{e[a.ident]=a.active}),e}getAndAcceptAllPurpose(){let e=[];return this.dataPurpose.forEach(a=>{a.active=!0,e[a.ident]=a.active}),e}isNinjaMode(){this.cookieService.checkNinjaMode()&&(this.cookiesData.globalCookiesEnabled=!0,Es.warn("NINJA COOKIE MODE ACTIVATED!!"))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(hs.r),t.rXU(z.b))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-cookies"]],decls:2,vars:1,consts:[[4,"ngIf"],[3,"ngIf"],[1,"fixed","top-0","left-0","right-0","bottom-0","flex","justify-center","items-center","bg-black","bg-opacity-60","overflow-x-hidden","overflow-y-auto","z-50","sm:items-start"],[1,"max-w-3xl","w-full","bg-white","px-12","py-24","m-4","rounded","sm:px-6","sm:py-12"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-6","sm:text-3xl",3,"innerHtml"],[1,"leading-relaxed","text-gray-400","pb-9","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[1,"flex","justify-center","items-center","sm:flex-col","sm:justify-start","sm:items-start"],["role","button","tabindex","0",1,"font-bold","uppercase","text-center","text-white","bg-orange","px-6","py-3","mr-2","border-2","border-orange","rounded","whitespace-nowrap","transition-all","duration-150","hover:text-orange","hover:bg-transparent","sm:w-full","sm:mr-0","sm:mb-2","sm:text-sm","cursor-pointer","acceptContest",3,"click","innerHTML"],["role","button","tabindex","0",1,"font-bold","uppercase","text-center","text-gray-400","px-6","py-3","border-2","border-orange","rounded","whitespace-nowrap","transition-all","duration-150","hover:text-white","hover:bg-orange","sm:w-full","sm:text-sm","cursor-pointer",3,"click","innerHTML"],[1,"text-4xl","font-bold","leading-tight","text-orange","pb-6","sm:text-3xl",3,"innerHtml"],["role","tab",3,"id",4,"ngFor","ngForOf"],[1,"flex","items-center","sm:flex-col","sm:items-start"],["role","button","tabindex","0",1,"font-bold","uppercase","text-center","text-gray-400","px-6","py-3","border-2","border-orange","rounded","whitespace-nowrap","transition-all","duration-150","hover:text-white","hover:bg-orange","sm:w-full","sm:text-sm","cursor-pointer","acceptContestCustom",3,"click","innerHTML"],["role","tab",3,"id"],[1,"text-xl","font-bold","leading-tight","text-orange","pb-6","sm:text-lg",3,"innerHTML"],[1,"pb-12"],["class","flex items-center",3,"ngClass",4,"ngFor","ngForOf"],[1,"flex","items-center",3,"ngClass"],["type","checkbox",1,"w-6","h-6","text-orange","mr-4","transition-colors","duration-150","focus:ring-2","focus:ring-orange","focus:ring-opacity-60","focus:ring-offset-2",3,"ngModelChange","name","id","checked","ngModel"],[1,"text-gray-400",3,"innerHTML"]],template:function(a,o){1&a&&(t.DNE(0,_s,8,2,"div",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.cookiesData.globalCookiesEnabled&&o.showCookieContest)},dependencies:[W.k,d.Zm,d.BC,d.vS,m.YU,m.Sq,m.bT]})}}return n})();function ys(n,i){1&n&&t.nrm(0,"app-default-layout-header")}function Cs(n,i){1&n&&t.nrm(0,"app-cookies")}function vs(n,i){1&n&&t.nrm(0,"app-default-layout-footer")}let ws=(()=>{class n{constructor(e,a){this.activatedRoute=e,this.generalHelperService=a,this.showHeader=!0,this.show
1Footer=!0,this.showCookies=!0}ngOnInit(){const e=this.activatedRoute.snapshot.queryParamMap.get("mobile");e&&"1"==e&&(this.showCookies=!1,this.showFooter=!1,this.showHeader=!1,this.generalHelperService.breadcrumbsForceHiddenChange.next(!0))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Et.nX),t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-default-layout"]],decls:8,vars:3,consts:[[4,"ngIf"]],template:function(a,o){1&a&&(t.DNE(0,ys,1,0,"app-default-layout-header",0),t.EFF(1,"\n"),t.nrm(2,"router-outlet"),t.EFF(3,"\n"),t.DNE(4,Cs,1,0,"app-cookies",0),t.EFF(5,"\n"),t.DNE(6,vs,1,0,"app-default-layout-footer",0),t.EFF(7,"\n")),2&a&&(t.Y8G("ngIf",o.showHeader),t.R7$(4),t.Y8G("ngIf",o.showCookies),t.R7$(2),t.Y8G("ngIf",o.showFooter))},dependencies:[m.bT,Et.n3,Ir,ds,ks]})}}return n})(),Ss=(()=>{class n{constructor(e){this.ps=e}ngOnInit(){this.ps.getPageData()}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-master"]],decls:3,vars:0,template:function(a,o){1&a&&(t.EFF(0,"\n"),t.nrm(1,"app-default-layout"),t.EFF(2,"\n"))},dependencies:[ws]})}}return n})();var re=v(467),Ts=v(3625),Gs=v(4501);var js=v(2806);class Rs{}class Ps{}class Ys{}function $s(n,i){if(1&n&&t.nrm(0,"h2",3),2&n){const e=t.XpG(2);t.Y8G("innerHtml",e.data.fields.headline.join("<br />"),t.npT)}}function Ns(n,i){if(1&n&&(t.EFF(0,"\n  "),t.DNE(1,$s,1,1,"h2",1),t.EFF(2,"\n  "),t.nrm(3,"div",2),t.EFF(4,"\n")),2&n){const e=t.XpG();t.R7$(),t.Y8G("ngIf",e.data.fields.headline.length>0),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.data.fields.content)}}new S.Vy("ContentBlockTypeContentComponent");let Hs=(()=>{class n{constructor(e){this.generalHelper=e,this.colorClasses=new rt,this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){this.inputData&&(this.data=new Ps,Object.assign(this.data,this.inputData))}fixColorClasses(){}ngAfterContentInit(){}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-content-block-type-content"]],inputs:{inputData:"inputData",inputColorClasses:[t.Mj6.None,"colorClasses","inputColorClasses"]},decls:2,vars:1,consts:[[3,"ngIf"],["class","text-4xl font-bold leading-tight text-orange pb-12 sm:text-3xl sm:text-center sm:pb-6",3,"innerHtml",4,"ngIf"],[1,"leading-relaxed","text-gray-400","pb-6","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[1,"text-4xl","font-bold","leading-tight","text-orange","pb-12","sm:text-3xl","sm:text-center","sm:pb-6",3,"innerHtml"]],template:function(a,o){1&a&&(t.DNE(0,Ns,5,2,"ng-template",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.data)},dependencies:[m.bT,W.k]})}}return n})();function Ls(n,i){if(1&n&&(t.EFF(0,"\n  "),t.nrm(1,"img",1),t.EFF(2,"\n")),2&n){const e=t.XpG();t.R7$(),t.Y8G("src",e.generalHelper.getResponsiveImageUrl(e.mediaUrl+e.generalHelper.getUmbracoFileSrc(e.data.fields.image.fields.umbracoFile),"contentBlockMedia"),t.B4B)}}new S.Vy("ContentBlockTypeMediaComponent");let Ms=(()=>{class n{constructor(e){this.generalHelper=e,this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){this.inputData&&(this.data=new Ys,Object.assign(this.data,this.inputData))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-content-block-type-media"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[[3,"ngIf"],["alt","",3,"src"]],template:function(a,o){1&a&&(t.DNE(0,Ls,3,1,"ng-template",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.data)},dependencies:[m.bT,Xt.D]})}}return n})();const Os=()=>["items-center"],As=()=>[];function Xs(n,i){if(1&n&&t.nrm(0,"app-content-block-type-content",6),2&n){const e=t.XpG().$implicit,a=t.XpG();t.Y8G("colorClasses",a.data.colorClasses)("inputData",a.itemType(e))}}function Vs(n,i){if(1&n&&t.nrm(0,"app-content-block-type-media",7),2&n){const e=t.XpG().$implicit,a=t.XpG();t.Y8G("inputData",a.itemType(e))}}function Us(n,i){if(1&n&&(t.EFF(0,"\n        "),t.DNE(1,Xs,1,2,"app-content-block-type-content",4),t.EFF(2,"\n        "),t.DNE(3,Vs,1,1,"app-content-block-type-media",5),t.EFF(4,"\n"),t.EFF(5,"\n      ")),2&n){const e=i.$implicit,a=t.XpG();t.R7$(),t.Y8G("ngIf","PABKCompositionsBlocksContentBlockContentSide"==a.itemType(e).
1componentType),t.R7$(2),t.Y8G("ngIf","PABKCompositionsBlocksContentBlockMediaSide"==a.itemType(e).componentType)}}new S.Vy("ContentBlockComponent");let qs=(()=>{class n{constructor(e){this.generalHelper=e,this.itemType=a=>a,this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){this.inputData&&(this.data=new Rs,Object.assign(this.data,this.inputData))}setColors(){}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-content-block"]],inputs:{inputData:"inputData"},decls:11,vars:4,consts:[[1,"pt-24","pb-12","sm:pt-12","sm:pb-6"],[1,"max-w-7xl","w-full","px-4","mx-auto"],[1,"flex","flex-wrap","-m-8",3,"ngClass"],["ngFor","",3,"ngForOf"],["class","w-1/2 p-8 lg:w-full",3,"colorClasses","inputData",4,"ngIf"],["class","w-1/2 p-8 lg:w-full",3,"inputData",4,"ngIf"],[1,"w-1/2","p-8","lg:w-full",3,"colorClasses","inputData"],[1,"w-1/2","p-8","lg:w-full",3,"inputData"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.j41(4,"div",2),t.EFF(5,"\n      "),t.DNE(6,Us,6,2,"ng-template",3),t.EFF(7,"\n\n\n    "),t.k0s(),t.EFF(8,"\n  "),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n")),2&a&&(t.R7$(4),t.Y8G("ngClass",o.data.itemsVerticalCenter?t.lJ4(2,Os):t.lJ4(3,As)),t.R7$(2),t.Y8G("ngForOf",o.data.items))},dependencies:[m.YU,m.Sq,m.bT,Hs,Ms]})}}return n})();class zs{}class Zs{}let Vt=(()=>{class n{constructor(){this.hexToClassTable={"#FFFFFF":"white","#111111":"black","#C5091F":"red","#FF4D00":"orange","#64409E":"purple-50","#56007D":"purple-100","#450064":"purple-200","#FFCC00":"yellow","#00C6CD":"blue","#F5F5F5":"gray-50","#EBEBEB":"gray-100","#444444":"gray-200","#4c4c4c":"gray-300","#595A58":"gray-400"},this.fieldTPrefixClass={text:"text-",background:"bg-",iconColor:"fill-",headlineText:"text-",bulletColor:"before:bg-",documentBackground:"bg-",documentContent:"text-",button:"bg-",buttonText:"text-"},this.preGenerateClasses=["bg-purple-50","bg-purple-100","bg-purple-200","fill-purple-50","fill-purple-100","fill-purple-200","bg-gray-50","bg-gray-100","bg-gray-200","bg-gray-300","bg-gray-400","fill-gray-50","fill-gray-100","fill-gray-200","fill-gray-300","fill-gray-400","","fill-white","fill-black","fill-red","fill-orange","fill-yellow","fill-blue","","bg-white","bg-black","bg-red","bg-orange","bg-yellow","bg-blue","","text-white","text-black","text-red","text-orange","text-yellow","text-blue","","text-gray-50","text-gray-100","text-gray-200","text-gray-300","text-gray-400"]}parseColors(e){let a=new rt;return Object.keys(e).forEach(o=>{if(o in a){let r=this.transformHexToPartialClass(e[o]);r.length>0&&(a[o]=this.setPrefixToClassByField(r,o))}}),a}transformHexToPartialClass(e){return e.toUpperCase()in this.hexToClassTable?this.hexToClassTable[e.toUpperCase()]:""}setPrefixToClassByField(e,a,o=!0){if(a in this.fieldTPrefixClass){let r=this.fieldTPrefixClass[a];return o?r+e:r}return""}getColorClassesDefault(e="bg-off-white"){let a=new rt;return a.text="text-gray-400",a.background=e,a.headlineBackground="",a.headlineText="text-orange",a.iconColor="fill-current",a.bulletColor="before:bg-orange",a.button="bg-orange",a.buttonText="text-white",a.documentContent="text-gray-400",a.documentBackground="",a}getColorClassesError(){let e=new rt;return e.text="text-gray-400",e.background="",e.headlineBackground="",e.headlineText="text-orange",e.iconColor="",e.bulletColor="fill-mint",e.button="btn-mint",e.buttonText="",e.documentContent="",e.documentBackground="bg-mint",e}convertToAnotherPrefixClass(e,a,o){let r=e.split("-"),c="";return c=a&&a.length>0?this.fieldTPrefixClass[a]:o,r[0]=c,r.join("-")}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),ne=(()=>{class n{constructor(e,a){this.nativeElement=e,this.colorService=a,this.pabkSetColors=[],this.pabkSetColorsStyles=[],this.pabkSetColorsBorder=[],this.pabkSetColorsBefore=[],this.pabkSetType="",this.pabkSetColorsData=null}ngOnInit(){this.pabkSetColors.forEach(e=>{e.length>0&&this.nativeElement.nativeElement.classList.add(e)}
1),this.pabkSetColorsStyles.forEach(e=>{this.setColorClassIfIsSet(e)||this.setColorStyle(e),this.setBorderColors(e),this.setBeforeColors(e)})}setColorClassIfIsSet(e){return null!=this.pabkSetColorsData&&null!=this.pabkSetColorsData.colorsClasses&&null!=this.pabkSetColorsData.colorsClasses[e]&&this.pabkSetColorsData.colorsClasses[e].length>0&&(this.nativeElement.nativeElement.classList.add(this.pabkSetType.length>0?this.colorService.convertToAnotherPrefixClass(this.pabkSetColorsData.colorsClasses[e],this.pabkSetType):this.pabkSetColorsData.colorsClasses[e]),!0)}setColorStyle(e){if(this.pabkSetColorsData.colors&&"object"==typeof this.pabkSetColorsData.colors&&e in this.pabkSetColorsData.colors&&this.pabkSetColorsData.colors[e].length>0)switch(this.pabkSetType||e){case"text":case"headlineText":case"documentContent":case"buttonText":this.setStyle("color",this.pabkSetColorsData.colors[e]);break;case"background":case"bulletColor":case"documentBackground":case"button":this.setStyle("background",this.pabkSetColorsData.colors[e]);break;case"iconColor":this.setStyle("fill",this.pabkSetColorsData.colors[e])}}setStyle(e,a){this.nativeElement.nativeElement&&this.nativeElement.nativeElement.style&&(this.nativeElement.nativeElement.style[e]=a)}setBorderColors(e){if(this.pabkSetColorsBorder.indexOf(e)>-1){if(!this.pabkSetColorsData.colors)return;this.setStyle("border-color",this.pabkSetColorsData.colors[e])}}setBeforeColors(e){this.pabkSetColorsBefore.indexOf(e)>-1&&this.nativeElement.nativeElement.style.setProperty("--color-custom",this.pabkSetColorsData.colors[e])}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(t.aKT),t.rXU(Vt))}}static{this.\u0275dir=t.FsC({type:n,selectors:[["","pabkSetColors",""]],inputs:{pabkSetColors:"pabkSetColors",pabkSetColorsStyles:"pabkSetColorsStyles",pabkSetColorsBorder:"pabkSetColorsBorder",pabkSetColorsBefore:"pabkSetColorsBefore",pabkSetType:"pabkSetType",pabkSetColorsData:"pabkSetColorsData"}})}}return n})();var Js=v(8810),Ws=v(6354),ko=v(9437),Yn=v(1626);const Ks=["*"];let Qs=(()=>{class n{constructor(e,a,o){this._doc=e,this.elRef=a,this.http=o,this.src="",this.dataStyle="",this.elClass=""}ngOnInit(){this.http.get(this.src,{responseType:"text"}).pipe((0,Ws.T)(e=>{this.elRef.nativeElement.innerHTML=e;let a=window.document.createElement("style");a.innerHTML=this.dataStyle;let o=this.elRef.nativeElement.querySelectorAll("svg")[0];this.elRef.nativeElement.append(a),this.elRef.nativeElement.classList.forEach(r=>{0==r.indexOf("fill")&&o.classList.add(r.replace("fill","text"))}),this.elRef.nativeElement.style.cssText&&(o.style.cssText=this.elRef.nativeElement.style.cssText.replaceAll("fill","color"))}),(0,ko.W)(this.handleError)).subscribe()}handleError(e){let a="";return a=e.error instanceof ErrorEvent?e.error.message:`Error Code: ${e.status}\nMessage: ${e.message}`,console.error(a),(0,Js.$)(()=>a)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(m.qQ),t.rXU(t.aKT),t.rXU(Yn.Qq))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["load-file"]],inputs:{src:"src",dataStyle:[t.Mj6.None,"data-style","dataStyle"],elClass:[t.Mj6.None,"class","elClass"]},ngContentSelectors:Ks,decls:2,vars:0,template:function(a,o){1&a&&(t.NAR(),t.SdG(0),t.EFF(1,"\n"))}})}}return n})();const Ut=n=>[n],tl=()=>["background"],en=()=>["iconColor"],yo=()=>["headlineText"],Da=()=>["text"],el=(n,i)=>[n,i],nl=()=>["buttonText","button"],al=()=>["button"];function ol(n,i){1&n&&t.eu8(0)}function il(n,i){if(1&n&&(t.j41(0,"a",3),t.EFF(1,"\n  "),t.DNE(2,ol,1,0,"ng-container",4),t.EFF(3,"\n"),t.k0s()),2&n){let e;const a=t.XpG(),o=t.sdS(5);t.Y8G("href",a.data.fields.boxClickTarget.url,t.B4B)("target",null!==(e=a.data.fields.boxClickTarget.target)&&void 0!==e?e:"_self")("componentName",a.data.fields.boxClickTarget.name),t.R7$(2),t.Y8G("ngTemplateOutlet",o)}}function rl(n,i){1&n&&t.eu8(0)}function sl(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n  "),t.DNE(2,rl,1,0,"ng-container",4),t.EFF(3,"\n"),t.bVm()),2&n){t.XpG();const e=t.sdS(5);t.R7$(2),t.Y8G("ngTemplateOutlet",e)}}function ll(n,i){if(1&n&&(t.j41(0,"div",14),t.EFF(1,"\n          "),t.nrm(2,"img",15),t.EFF(3,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("ngClass",e.data.fields.headImageOverflow?"":"overflow-hidden"),t.R7$(2),t.Y8G("src",e.generalHelper.getResponsiveImageUrl(e.mediaUrl+e.generalHelper.getUmbracoFileSrc(e.data.fields.headImage.fields.umbracoFile),"productBox"),t.B4B)("ngClass",e.data.fields.headImageOverflow?"max-h-[20rem] px-6 -mt-12 mx-auto lg:-mt-16":"absolute top-1/2 left-1/2 max-w-none min-w-full min-h-full transform -translate-x-1/2 -translate-y-1/2 transition-all duration-300 hover:scale-105")}}function cl(n,i){if(1&n&&(t.j41(0,"span",16),t.EFF(1,"\n"),t.EFF(2,"\n            "),t.EFF(3,"\n            "),t.EFF(4,"\n            "),t.EFF(5,"\n            "),t.EFF(6,"\n\n            "),t.j41(7,"load-file",17),t.EFF(8,"\n            "),t.k0s(),t.EFF(9,"\n          "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(7),t.AVh("fill-current",!(null!=e.data.fields.colors&&e.data.fields.colors.iconColor)),t.FS9("src",e.generalHelper.getResponsiveImageUrl(e.mediaUrl+e.generalHelper.getUmbracoFileSrc(e.data.fields.headIcon.fields.umbracoFile),"productBox")),t.Y8G("pabkSetColors",t.eq3(6,Ut,e.data.fields.colorsClasses.iconColor))("pabkSetColorsData",e.data.fields)("pabkSetColorsStyles",t.lJ4(8,en))}}function pl(n,i){if(1&n&&(t.j41(0,"span",18),t.EFF(1,"\n            "),t.qSk(),t.j41(2,"svg",19),t.EFF(3,"\n              "),t.nrm(4,"use"),t.EFF(5,"\n            "),t.k0s(),t.EFF(6,"\n          "),t.k0s()),2&n){const e=t.XpG(2);t.AVh("fill-current",!(null!=e.data.fields.colors&&e.data.fields.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(6,Ut,e.data.fields.colorsClasses.iconColor))("pabkSetColorsData",e.data.fields)("pabkSetColorsStyles",t.lJ4(8,en)),t.R7$(4),t.BMQ("href","/assets/images/icons.svg#"+e.data.fields.headIconSvg,null,"xlink")}}function ml(n,i){if(1&n&&(t.nrm(0,"a",20),t.nI1(1,"safeHtml")),2&n){const e=t.XpG(2);t.Y8G("href",null==e.data.fields.headlineUrl?null:e.data.fields.headlineUrl.url,t.B4B)("target",null==e.data.fields.headlineUrl?null:e.data.fields.headlineUrl.target)("pabkSetColors",t.eq3(8,Ut,e.data.fields.colorsClasses.headlineText))("pabkSetColorsData",e.data.fields)("pabkSetColorsStyles",t.lJ4(10,yo))("innerHtml",t.bMT(1,6,e.data.fields.headline.join("<br />")),t.npT)}}function ul(n,i){if(1&n&&(t.nrm(0,"div",21),t.nI1(1,"safeHtml")),2&n){const e=t.XpG(2);t.Y8G("pabkSetColors",t.eq3(6,Ut,e.data.fields.colorsClasses.headlineText))("pabkSetColorsData",e.data.fields)("pabkSetColorsStyles",t.lJ4(8,yo))("innerHtml",t.bMT(1,4,e.data.fields.headline.join("<br />")),t.npT)}}function dl(n,i){if(1&n&&t.nrm(0,"p",25),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("b3655WysiwygHtml",null==e||null==e.fields?null:e.fields.rte)("pabkSetColors",t.eq3(4,Ut,a.data.fields.colorsClasses.text))("pabkSetColorsData",a.data.fields)("pabkSetColorsStyles",t.lJ4(6,Da))}}function fl(n,i){if(1&n&&t.nrm(0,"li",28),2&n){const e=i.$implicit,a=i.last,o=t.XpG(4);t.Y8G("ngClass",a?"":"pb-3")("pabkSetColors",t.eq3(6,Ut,o.data.fields.colorsClasses.iconColor))("pabkSetColorsData",o.data.fields)("pabkSetColorsStyles",t.lJ4(8,en))("pabkSetColorsBefore",t.lJ4(9,en))("b3655WysiwygHtml",e)}}function hl(n,i){if(1&n&&(t.j41(0,"ul",26),t.EFF(1,"\n              "),t.DNE(2,fl,1,10,"li",27),t.EFF(3,"\n            "),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("pabkSetColors",t.eq3(4,Ut,a.data.fields.colorsClasses.text))("pabkSetColorsData",a.data.fields)("pabkSetColorsStyles",t.lJ4(6,Da)),t.R7$(2),t.Y8G("ngForOf",null==e||null==e.fields?null:e.fields.list)}}function Fl(n,i){if(1&n){const e=t.RV6();t.j41(0,"a",30),t.bIt("mouseenter",function(o){t.eBV(e);const r=t.XpG(4);return t.Njj(r.onMouseEnter(o))})("mouseleave",function(o){t.eBV(e);const r=t.XpG(4);return t.Njj(r.onMouseLeave(o))}),t.EFF(1,"\n                "),t.qSk(),t.j41(2,"svg",31),t.EFF(3,"\n                  "),t.nrm(4,"use",32),t.EFF(5,"\n                "),t.k0s(),t.EFF(6,"\n                "),t.joV(),t.j41(7,"span",33),t.EFF(8),t.k0s(),t.EFF(9,"\n              "),t.k0s()}if(2&n){const e=i.$implicit,a=i.last,o=t.XpG(4);t.Y8G("href",o.getDocUrl(e),t.B4B)("ngClass",a?"":"mb-4")("pabkSetColors",t.eq3(12,Ut,o.data.fields.colorsClasses.text))("pabkSetColorsData",o.data.fields)("pabkSetColorsStyles",t.lJ4(14,Da))("componentName",e.name),t.R7$(2),t.AVh("fill-current",!(null!=o.data.fields.colors&&o.data.fields.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(15,Ut,o.data.fields.colorsClasses.iconColor))("pabkSetColorsData",o.data.fields)("pabkSetColorsStyles",t.lJ4(17,en)),t.R7$(6),t.SpI("",e.name," ")}}function gl(n,i){if(1&n&&(t.EFF(0,"\n              "),t.DNE(1,Fl,10,18,"a",29),t.EFF(2,"\n            ")),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("ngForOf",null==e||null==e.fields?null:e.fields.docs)}}function bl(n,i){if(1&n&&(t.EFF(0,"\n            "),t.DNE(1,dl,1,7,"p",22),t.EFF(2,"\n\n            "),t.DNE(3,hl,4,7,"ul",23),t.EFF(4,"\n\n            "),t.DNE(5,gl,3,1,"ng-template",24),t.EFF(6,"\n          ")),2&n){const e=i.$implicit;t.R7$(),t.Y8G("ngIf","PABKCompositionsRTE"==(null==e?null:e.componentType)),t.R7$(2),t.Y8G("ngIf","PABKCompositionsList"==(null==e?null:e.componentType)),t.R7$(2),t.Y8G("ngIf","PABKCompositionsDocs"==(null==e?null:e.componentType))}}function xl(n,i){if(1&n&&(t.j41(0,"a",34),t.EFF(1,"\n          "),t.nrm(2,"span",35),t.EFF(3,"\n            "),t.qSk(),t.j41(4,"svg",36),t.EFF(5,"\n              "),t.nrm(6,"use",37),t.EFF(7,"\n            "),t.k0s(),t.EFF(8,"\n            "),t.j41(9,"svg",38),t.EFF(10,"\n              "),t.nrm(11,"use",37),t.EFF(12,"\n            "),t.k0s(),t.EFF(13,"\n          "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.data.fields.buttons[0].url,t.B4B)("target",e.data.fields.buttons[0].target)("pabkSetColors",t.l_i(8,el,e.data.fields.colorsClasses.button,e.data.fields.colorsClasses.buttonText))("pabkSetColorsData",e.data.fields)("pabkSetColorsStyles",t.lJ4(11,nl))("pabkSetColorsBorder",t.lJ4(12,al))("componentName",e.data.fields.buttons[0].name),t.R7$(2),t.Y8G("innerText",e.data.fields.buttons[0].name)}}function _l(n,i){if(1&n&&(t.EFF(0,"\n  "),t.j41(1,"article",5),t.EFF(2,"\n"),t.EFF(3,"\n"),t.EFF(4,"\n\n        "),t.DNE(5,ll,4,3,"div",6),t.EFF(6,"\n\n        "),t.j41(7,"div",7),t.EFF(8,"\n          "),t.DNE(9,cl,10,9,"span",8),t.EFF(10,"\n          "),t.DNE(11,pl,7,9,"span",9),t.EFF(12,"\n          "),t.j41(13,"h3"),t.EFF(14,"\n            "),t.DNE(15,ml,2,11,"a",10),t.EFF(16,"\n            "),t.DNE(17,ul,2,9,"div",11),t.EFF(18,"\n          "),t.k0s(),t.EFF(19,"\n\n\n\n          "),t.DNE(20,bl,7,3,"ng-template",12),t.EFF(21,"\n\n          "),t.DNE(22,xl,14,13,"a",13),t.EFF(23,"\n\n        "),t.k0s(),t.EFF(24,"\n"),t.EFF(25,"\n  "),t.k0s(),t.EFF(26,"\n")),2&n){const e=t.XpG();t.R7$(),t.Y8G("pabkSetColors",t.eq3(11,Ut,e.data.fields.colorsClasses.background))("pabkSetColorsData",e.data.fields)("pabkSetColorsStyles",t.lJ4(13,tl)),t.R7$(4),t.Y8G("ngIf",e.data.fields.headImage),t.R7$(2),t.Y8G("ngClass",e.data.fields.headImage?"relative h-full text-center pt-9 px-6 pb-32":"relative h-full text-center pt-16 px-6 pb-36 sm:pt-9"),t.R7$(2),t.Y8G("ngIf",e.data.fields.headIcon),t.R7$(2),t.Y8G("ngIf",e.data.fields.headIconSvg),t.R7$(4),t.Y8G("ngIf",e.data.fields.headlineUrl),t.R7$(2),t.Y8G("ngIf",!e.data.fields.headlineUrl),t.R7$(3),t.Y8G("ngForOf",e.data.fields.content),t.R7$(2),t.Y8G("ngIf",e.data.fields.buttons&&e.data.fields.buttons.length>0)}}
1new S.Vy("ProductBoxItemTypeOneComponent");let El=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorService=a,this.typeButtons="default",this.mediaUrl=L.c.apiSettings.endpoint.media,this.footerImageClasses=[]}ngOnInit(){this.inputData&&(this.data=new Zs,Object.assign(this.data,this.inputData),this.inputData.fields.buttons&&!Array.isArray(this.inputData.fields.buttons)&&(this.data.fields.buttons=[this.inputData.fields.buttons]),this.setColors())}setColors(){this.data.fields.colorsClasses=new rt,null!=this.data.fields.colors&&(this.data.fields.colorsClasses=this.colorService.parseColors(this.data.fields.colors))}getDocUrl(e){return"media"==e.type.toString().toLowerCase()?L.c.apiSettings.endpoint.media+e.url:e.url}downloadDoc(e){window.open(this.getDocUrl(e),"_blank")}onMouseEnter(e){e.target.classList.remove("text-gray-400"),e.target.classList.add("text-white","bg-orange"),e.target.querySelector("svg").classList.remove("text-orange"),e.target.querySelector("svg").classList.add("text-white")}onMouseLeave(e){e.target.classList.remove("text-white","bg-orange"),e.target.classList.add("text-gray-400"),e.target.querySelector("svg").classList.remove("text-white"),e.target.querySelector("svg").classList.add("text-orange")}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(Vt))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-product-box-item-type-one"]],inputs:{inputData:"inputData",typeButtons:"typeButtons"},decls:7,vars:2,consts:[["content",""],["role","button","Ga4Tracking","","eventType","select_box","componentType","button_box",3,"href","target","componentName",4,"ngIf"],[4,"ngIf"],["role","button","Ga4Tracking","","eventType","select_box","componentType","button_box",3,"href","target","componentName"],[4,"ngTemplateOutlet"],[1,"flex","flex-col","w-full","h-full","border","border-gray-100","rounded",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["class","relative flex-shrink-0 w-full h-64",3,"ngClass",4,"ngIf"],[3,"ngClass"],["class","inline-flex justify-center items-center w-28 h-28 text-orange mb-12 sm:w-24 sm:h-24",4,"ngIf"],["class","inline-flex justify-center items-center w-28 h-28 text-orange mb-12 sm:w-24 sm:h-24",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","fill-current",4,"ngIf"],["class","block text-xl font-bold mb-6",3,"href","target","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHtml",4,"ngIf"],["class","block text-xl font-bold mb-6",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHtml",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","button","class","absolute left-1/2 bottom-9 flex justify-center items-center pl-6 py-3 pr-14 border-2 rounded transform -translate-x-1/2 btn-arrow","Ga4Tracking","","eventType","select_cta","componentType","button",3,"href","target","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","pabkSetColorsBorder","componentName",4,"ngIf"],[1,"relative","flex-shrink-0","w-full","h-64",3,"ngClass"],["alt","",1,"",3,"src","ngClass"],[1,"inline-flex","justify-center","items-center","w-28","h-28","text-orange","mb-12","sm:w-24","sm:h-24"],["data-style","svg { color: inherit; } path { fill: currentColor; }",2,"width","100%",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","src"],[1,"inline-flex","justify-center","items-center","w-28","h-28","text-orange","mb-12","sm:w-24","sm:h-24",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["aria-hidden","true","focusable","false",1,"w-28","h-28","sm:w-24","sm:h-24"],[1,"block","text-xl","font-bold","mb-6",3,"href","target","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHtml"],[1,"block","text-xl","font-bold","mb-6",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHtml"],["class","leading-relaxed sm:text-sm pb-6 sm:leading-relaxed",3,"b3655WysiwygHtml","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles",4,"ngIf"],["class","sm:text-sm",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles",4,"ngIf"],[3,"ngIf"],[1,"leading-relaxed","sm:text-sm","pb-6","sm:leading-relaxed",3,"b3655WysiwygHtml","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"sm:text-sm",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["class","relative text-left pl-6 before:absolute before:top-2 before:left-0 before:w-2.5 before:h-2.5 BeforeColor before:rounded-full sm:before:top-1.5",3,"ngClass","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","pabkSetColorsBefore","b3655WysiwygHtml",4,"ngFor","ngForOf"],[1,"relative","text-left","pl-6","before:absolute","before:top-2","before:left-0","before:w-2.5","before:h-2.5","BeforeColor","before:rounded-full","sm:before:top-1.5",3,"ngClass","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","pabkSetColorsBefore","b3655WysiwygHtml"],["class","flex items-center border border-orange rounded p-3 transition-colors duration-150 downloadBox","target","_blank","role","button","Ga4Tracking","","eventType","doc_download","componentType","doc",3,"href","ngClass","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","componentName","mouseenter","mouseleave",4,"ngFor","ngForOf"],["target","_blank","role","button","Ga4Tracking","","eventType","doc_download","componentType","doc",1,"flex","items-center","border","border-orange","rounded","p-3","transition-colors","duration-150","downloadBox",3,"mouseenter","mouseleave","href","ngClass","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","componentName"],["aria-hidden","true","focusable","false",1,"flex-shrink-0","w-5","h-5","mr-4","transition-colors","duration-150",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["href","/assets/images/icons.svg#download"],[1,"leading-relaxed","text-left","sm:text-sm","sm:leading-relaxed"],["role","button","Ga4Tracking","","eventType","select_cta","componentType","button",1,"absolute","left-1/2","bottom-9","flex","justify-center","items-center","pl-6","py-3","pr-14","border-2","rounded","transform","-translate-x-1/2","btn-arrow",3,"href","target","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","pabkSetColorsBorder","componentName"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2",2,"animation-name","animateBtn1Out","animation-duration","0.4s","animation-fill-mode","forwards"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2",2,"animation-name","animateBtn2Out","animation-duration","0.4s","animation-fill-mode","forwards"]],template:function(a,o){1&a&&(t.DNE(0,il,4,4,"a",1),t.EFF(1,"\n"),t.DNE(2,sl,4,1,"ng-container",2),t.EFF(3,"\n\n"),t.DNE(4,_l,27,14,"ng-template",null,0,t.C5r),t.EFF(6,"\n")),2&a&&(t.Y8G("ngIf",o.data.fields.boxClickTarget),t.R7$(2),t.Y8G("ngIf",!o.data.fields.boxClickTarget))},dependencies:[m.YU,m.Sq,m.bT,m.T3,Lt,W.k,H.A,Xt.D,ne,Qs,Sa],styles:[".BeforeColor[_ngcontent-%COMP%]{--color-custom: black}.BeforeColor[_ngcontent-%COMP%]:before{content:var(--tw-content);background-color:var(--color-custom)}"]})}}return n})();const kl=n=>["p-2 lg:w-full",n];function yl(n,i){if(1&n&&(t.j41(0,"app-product-box-item-type-one",8),t.EFF(1,"\n      "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(2);t.AVh("lg:mt-16",e.fields.headImageOverflow),t.Y8G("inputData",e)("ngClass",t.eq3(5,kl,"w-1/"+a.data.itemsInRow))("typeButtons",a.data.boxes.length<=2?"big":"default")}}function Cl(n,i){if(1&n&&(t.j41(0,"section",1),t.EFF(1,"\n  "),t.j41(2,"div",2),t.EFF(3,"\n    "),t.j41(4,"div",3),t.EFF(5,"\n      "),t.nrm(6,"h2",4),t.EFF(7,"\n      "),t.nrm(8,"div",5),t.EFF(9,"\n    "),t.k0s(),t.EFF(10,"\n    "),t.j41(11,"div",6),t.EFF(12,"\n      "),t.DNE(13,yl,2,7,"app-product-box-item-type-one",7),t.EFF(14,"\n    "),t.k0s(),t.EFF(15,"\n  "),t.k0s(),t.EFF(16,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(4),t.AVh("pb-32",e.data.boxes.length>0&&(e.data.headline.length>0||e.data.description.length>0)),t.R7$(2),t.Y8G("innerHtml",e.data.headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.data.description),t.R7$(5),t.Y8G("ngForOf",e.data.boxes)}}new S.Vy("ProductBlockSimpleComponent");let vl=(()=>{class n{constructor(e){this.generalHelper=e,this.mediaUrl=L.c.apiSettings.endpoint.media,this.itemsClasses=[],this.boxSizes={1:["w-100p"],2:["w-50p","md:w-100p"],3:["w-33p","lg:w-100p "],4:["w-25p","xl:w-33p","md:w-50
1p","sm:w-100p"],5:["w-20p","xl:w-33p","md:w-50p","sm:w-100p"]}}ngOnInit(){this.inputData&&(this.data=new zs,Object.assign(this.data,this.inputData),this.processData())}processData(){this.itemsClasses=this.boxSizes[this.data.itemsInRow.toString()]}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-product-block-simple"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[["class","py-12",4,"ngIf"],[1,"py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"max-w-4xl","text-center","mx-auto","sm:pb-12"],[1,"text-4xl","font-bold","leading-tight","text-orange","pb-6","sm:text-3xl",3,"innerHtml"],[1,"text-lg","leading-relaxed","text-gray-400","sm:text-base",3,"b3655WysiwygHtml"],[1,"flex","flex-wrap","-m-2"],[3,"inputData","ngClass","lg:mt-16","typeButtons",4,"ngFor","ngForOf"],[3,"inputData","ngClass","typeButtons"]],template:function(a,o){1&a&&(t.DNE(0,Cl,17,5,"section",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.data)},dependencies:[m.YU,m.Sq,m.bT,W.k,El]})}}return n})();class wl{}const Co=n=>[n],vo=(n,i)=>({colors:n,colorsClasses:i}),Sl=()=>["headlineText"],Dl=()=>["iconColor"];function Tl(n,i){if(1&n&&t.nrm(0,"div",5),2&n){const e=t.XpG();t.Y8G("b3655WysiwygHtml",e.data.description)}}function Gl(n,i){if(1&n&&(t.j41(0,"small",12),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\xfa\u010dinn\xe9 od ",t.i5U(2,1,null==e.properties?null:e.properties.effectiveFrom,"dd.MM.yyyy"),"")}}function Bl(n,i){if(1&n&&(t.j41(0,"li",6),t.EFF(1,"\n        "),t.j41(2,"a",7),t.EFF(3,"\n          "),t.qSk(),t.j41(4,"svg",8),t.EFF(5,"\n            "),t.nrm(6,"use",9),t.EFF(7,"\n          "),t.k0s(),t.EFF(8,"\n          "),t.joV(),t.j41(9,"span"),t.EFF(10,"\n\t\t\t\t\t\t\t"),t.nrm(11,"span",10),t.EFF(12,"\n"),t.EFF(13,"\n\t\t\t\t\t\t\t"),t.DNE(14,Gl,3,4,"small",11),t.EFF(15,"\n\t\t\t\t\t\t"),t.k0s(),t.EFF(16,"\n        "),t.k0s(),t.EFF(17,"\n      "),t.k0s()),2&n){const e=i.$implicit,a=i.last,o=t.XpG();t.Y8G("ngClass",a?"":"pb-4"),t.R7$(2),t.Y8G("href",e.url,t.B4B),t.R7$(2),t.AVh("fill-current",!(null!=o.data.colors&&o.data.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(9,Co,o.data.colorsClasses.iconColor))("pabkSetColorsData",t.l_i(11,vo,o.data.colors,o.data.colorClasses))("pabkSetColorsStyles",t.lJ4(14,Dl)),t.R7$(7),t.Y8G("innerText",e.name),t.R7$(3),t.Y8G("ngIf",o.isSetEffectiveFromDate(null==e.properties?null:e.properties.effectiveFrom))}}new S.Vy("DocsBlockComponent");let Il=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorService=a}ngOnInit(){this.inputData&&(this.data=new wl,Object.assign(this.data,this.inputData),this.setColors())}setColors(){this.data.colorsClasses=new rt,null!=this.data.colors&&(this.data.colorsClasses=this.colorService.parseColors(this.data.colors))}getDocTypeIcon(e){let a="";if(0==e.type)return"#doc-external";switch(e.extension){case"doc":case"docx":a="#doc-word";break;case"xls":case"xlsx":a="#doc-excel";break;case"pdf":a="#pdf"}return a}isSetEffectiveFromDate(e){return Date.parse(e)>0}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(Vt))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-docs-block"]],inputs:{inputData:"inputData"},decls:15,vars:12,consts:[[1,"pt-12","pb-24","sm:pt-6","sm:pb-12"],[1,"max-w-4xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","pb-12","sm:text-3xl","sm:pb-6",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHtml"],["class","leading-relaxed text-gray-400 pb-6 sm:text-sm sm:leading-relaxed",3,"b3655WysiwygHtml",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"leading-relaxed","text-gray-400","pb-6","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[3,"ngClass"],["target","_blank",1,"inline-flex","items-center","text-blue","transition-colors","duration-150","hover:text-orange",3,"href"],["aria-hidden","true","focusable","false",1,"flex-shrink-0","w-5","h-5","fill-current","mr-4","transition-colors","duration-150",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["href","/assets/images/icons.svg#download"],[1,"leading-relaxed","underline","sm:text-sm","sm:leading-relaxed",3,"innerText"],["class","text-sm text-gray-400",4,"ngIf"],[1,"text-sm","text-gray-400"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.nrm(4,"h2",2),t.EFF(5,"\n    "),t.DNE(6,Tl,1,1,"div",3),t.EFF(7,"\n    "),t.j41(8,"ul"),t.EFF(9,"\n      "),t.DNE(10,Bl,18,15,"li",4),t.EFF(11,"\n    "),t.k0s(),t.EFF(12,"\n  "),t.k0s(),t.EFF(13,"\n"),t.k0s(),t.EFF(14,"\n")),2&a&&(t.R
17$(4),t.Y8G("pabkSetColors",t.eq3(6,Co,o.data.colorsClasses.headlineText))("pabkSetColorsData",t.l_i(8,vo,o.data.colors,o.data.colorClasses))("pabkSetColorsStyles",t.lJ4(11,Sl))("innerHtml",o.data.headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("ngIf",(null==o.data.description?null:o.data.description.length)>0),t.R7$(4),t.Y8G("ngForOf",o.data.docs))},dependencies:[m.YU,m.Sq,m.bT,W.k,H.A,ne,m.vh]})}}return n})();class jl{}class Rl{}const Pl=["toggleElement"];new S.Vy("FaqItemComponent");let Yl=(()=>{class n{constructor(e){this.generalHelper=e,this.openState=!1}ngOnInit(){this.inputOpenState&&(this.openState=this.inputOpenState),this.inputData&&(this.data=new Rl,Object.assign(this.data,this.inputData))}toggle(e){this.openState=!this.openState,e.preventDefault(),this.toggleElement.nativeElement.classList.toggle("toggleActive"),this.toggleElement.nativeElement.classList.toggle("pb-6"),this.toggleElement.nativeElement.querySelector(".toggleIcon").classList.toggle("rotate-180"),this.toggleElement.nativeElement.nextElementSibling.style.height=this.toggleElement.nativeElement.classList.contains("toggleActive")?this.toggleElement.nativeElement.nextElementSibling.scrollHeight+"px":0}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-faq-item"]],viewQuery:function(a,o){if(1&a&&t.GBs(Pl,5),2&a){let r;t.mGM(r=t.lsd())&&(o.toggleElement=r.first)}},inputs:{inputData:"inputData",inputOpenState:"inputOpenState"},decls:16,vars:4,consts:[["toggleElement",""],[1,"p-6","mb-4","border","border-purple-100","rounded","sm:p-4"],[1,"flex","justify-between","items-center","text-purple-100","transition-all","duration-150","toggleBtn","cursor-pointer",3,"click"],[1,"font-bold","leading-relaxed","sm:text-sm","sm:leading-relaxed",3,"innerHTML"],["aria-hidden","true","focusable","false",1,"flex-shrink-0","w-4","h-3","fill-current","transition-all","duration-150","toggleIcon"],["href","/assets/images/icons.svg#caret-down"],[1,"h-0","leading-relaxed","text-gray-400","transform","transition-all","duration-150","overflow-hidden","sm:text-sm","sm:leading-relaxed","toggleMain",2,"height","0px",3,"b3655WysiwygHtml"]],template:function(a,o){if(1&a){const r=t.RV6();t.j41(0,"li",1),t.EFF(1,"\n  "),t.j41(2,"div",2,0),t.bIt("click",function(f){return t.eBV(r),t.Njj(o.toggle(f))}),t.EFF(4,"\n    "),t.nrm(5,"span",3),t.EFF(6,"\n    "),t.qSk(),t.j41(7,"svg",4),t.EFF(8,"\n      "),t.nrm(9,"use",5),t.EFF(10,"\n    "),t.k0s(),t.EFF(11,"\n  "),t.k0s(),t.EFF(12,"\n  "),t.joV(),t.nrm(13,"div",6),t.EFF(14,"\n"),t.k0s(),t.EFF(15,"\n")}2&a&&(t.R7$(2),t.AVh("toggleActive",o.openState),t.R7$(3),t.Y8G("innerHTML",o.data.question,t.npT),t.R7$(8),t.Y8G("b3655WysiwygHtml",o.data.answer))},dependencies:[W.k],styles:[".animate_300_ease-in-out[_ngcontent-%COMP%], .animate_500_ease-in-out[_ngcontent-%COMP%]{transition:all .5s ease-in-out}"]})}}return n})();function $l(n,i){1&n&&t.nrm(0,"app-faq-item",4),2&n&&t.Y8G("inputData",i.$implicit.fields)}new S.Vy("FaqBlockComponent");let Nl=(()=>{class n{constructor(e){this.generalHelper=e}ngOnInit(){this.inputData&&(this.data=new jl,Object.assign(this.data,this.inputData))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-faq-block"]],inputs:{inputData:"inputData"},decls:13,vars:2,consts:[[1,"py-12","sm:py-6"],[1,"max-w-4xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6",3,"innerHtml"],[3,"inputData",4,"ngFor","ngForOf"],[3,"inputData"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.nrm(4,"h2",2),t.EFF(5,"\n    "),t.j41(6,"ul"),t.EFF(7,"\n      "),t.DNE(8,$l,1,1,"app-faq-item",3),t.EFF(9,"\n    "),t.k0s(),t.EFF(10,"\n  "),t.k0s(),t.EFF(11,"\n"),t.k0s(),t.EFF(12,"\n")),2&a&&(t.R7$(4),t.Y8G("innerHtml",o.data.headline.join("<br />"),t.npT),t.R7$(4),t.Y8G("ngForOf",o.data.faqs))},dependencies:[m.Sq,Yl]})}}return n})();class Hl{}function Ll(n,i){if(1&n&&(t.j41(0,"h2",6),t.EFF(1,"\n      "),t.nrm(2,"span",7),t.EFF(3,"\n    "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("innerHtml",e.data.headline.join("<br />"),t.npT)}}function Ml(n,i){if(1&n&&(t.j41(0,"article",9),t.EFF(1,"\n          "),t.j41(2,"div",10),t.EFF(3,"\n            "),t.j41(4,"span",11),t.EFF(5,"\n              "),t.qSk(),t.j41(6,"svg",12),t.EFF(7,"\n                "),t.nrm(8,"use"),t.EFF(9,"\n              "),t.k0s(),t.EFF(10,"\n            "),t.k0s(),t.EFF(11,"\n            "),t.joV(),t.j41(12,"h3"),t.EFF(13,"\n              "),t.nrm(14,"span",13),t.EFF(15,"\n            "),t.k0s(),t.EFF(16,"\n            "),t.nrm(17,"p",14),t.EFF(18,"\n          "),t.k0s(),t.EFF(19,"\n        "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG().$implicit,o=t.XpG(2);t.Y8G("ngClass",o.boxSizes[a.fields.boxes.length]),t.R7$(8),t.BMQ("href","/assets/images/icons.svg#"+e.fields.headIcon,null,"xlink"),t.R7$(6),t.Y8G("innerHtml",e.fields.headline.join("<br />"),t.npT),t.R7$(3),t.Y8G("b3655WysiwygHtml",o.generalHelper.removeEncapsulatedTag(e.fields.content,"p"))}}function Ol(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n        "),t.DNE(2,Ml,20,4,"article",8),t.EFF(3,"\n      "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngForOf",e.fields.boxes)}}function Al(n,i){if(1&n&&(t.j41(0,"section",1),t.EFF(1,"\n  "),t.j41(2,"div",2),t.EFF(3,"\n    "),t.DNE(4,Ll,4,1,"h2",3),t.EFF(5,"\n    "),t.j41(6,"div",4),t.EFF(7,"\n      "),t.DNE(8,Ol,4,1,"ng-container",5),t.EFF(9,"\n    "),t.k0s(),t.EFF(10,"\n  "),t.k0s(),t.EFF(11,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(4),t.Y8G("ngIf",e.data.headline.length>0),t.R7$(4),t.Y8G("ngForOf",e.data.rows)}}
1new S.Vy("FlexboxBlockComponent");let Xl=(()=>{class n{constructor(e){this.generalHelper=e,this.rowClasses={1:[""],2:[""],3:[""],4:[""]},this.boxSizes={1:[""],2:["w-1/3"],3:["w-1/3"],4:["w-1/4"]}}ngOnInit(){this.inputData&&(this.data=new Hl,Object.assign(this.data,this.inputData))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-flexbox-block"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[["class","py-12",4,"ngIf"],[1,"py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],["class","text-4xl leading-tight text-center text-orange pb-12 sm:text-3xl sm:pb-6",4,"ngIf"],[1,"flex","justify-center","flex-wrap","-m-8","sm:-m-4"],[4,"ngFor","ngForOf"],[1,"text-4xl","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6"],[3,"innerHtml"],["class","p-8 xl:w-1/2 md:w-full sm:p-4",3,"ngClass",4,"ngFor","ngForOf"],[1,"p-8","xl:w-1/2","md:w-full","sm:p-4",3,"ngClass"],[1,"text-center"],[1,"inline-flex","justify-center","items-center","w-20","h-20","text-orange","mb-6"],["aria-hidden","true","focusable","false",1,"w-16","h-16","fill-current"],[1,"block","text-xl","font-bold","text-orange","pb-6","sm:text-lg",3,"innerHtml"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"]],template:function(a,o){1&a&&(t.DNE(0,Al,12,2,"section",0),t.EFF(1,"\n\n\n\n\n")),2&a&&t.Y8G("ngIf",o.data)},dependencies:[m.YU,m.Sq,m.bT,W.k]})}}return n})();class Vl{}const Ul=["slider"],wo=n=>[n],ql=()=>["headlineText"],zl=()=>["text"];function Zl(n,i){if(1&n&&t.nrm(0,"h1",5),2&n){const e=t.XpG(2);t.Y8G("innerHtml",e.data.headline.join("<br />"),t.npT)}}function Jl(n,i){if(1&n&&t.nrm(0,"p",6),2&n){const e=t.XpG(2);t.Y8G("innerHtml",e.data.description,t.npT)}}function Wl(n,i){if(1&n&&(t.j41(0,"div",12),t.EFF(1,"\n          "),t.nrm(2,"img",13),t.EFF(3,"\n        "),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.R7$(2),t.Y8G("src",a.mediaUrl+a.generalHelper.getUmbracoFileSrc(e.fields.image.fields.umbracoFile),t.B4B)}}function Kl(n,i){if(1&n&&(t.j41(0,"li",7),t.EFF(1,"\n        "),t.j41(2,"div",8),t.EFF(3,"\n          "),t.nrm(4,"div",9),t.EFF(5,"\n          "),t.nrm(6,"div",10),t.EFF(7,"\n        "),t.k0s(),t.EFF(8,"\n\n        "),t.DNE(9,Wl,4,1,"div",11),t.EFF(10,"\n      "),t.k0s()),2&n){const e=i.$implicit;t.Y8G("ngClass",!i.last&&e.fields.image?"sm:pb-12 pb-24":""),t.R7$(2),t.Y8G("ngClass",e.fields.image?"w-1/2":""),t.R7$(2),t.Y8G("pabkSetColors",t.eq3(11,wo,e.fields.colors.headlineText))("pabkSetColorsData",e.fields)("pabkSetColorsStyles",t.lJ4(13,ql))("innerHTML",e.fields.headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("pabkSetColors",t.eq3(14,wo,e.fields.colors.text))("pabkSetColorsData",e.fields)("pabkSetColorsStyles",t.lJ4(16,zl))("innerHTML",e.fields.content,t.npT),t.R7$(3),t.Y8G("ngIf",e.fields.image)}}function Ql(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n  "),t.DNE(2,Zl,1,1,"h1",1),t.EFF(3,"\n    "),t.DNE(4,Jl,1,1,"p",2),t.EFF(5,"\n    "),t.j41(6,"ul",3),t.EFF(7,"\n      "),t.DNE(8,Kl,11,17,"li",4),t.EFF(9,"\n    "),t.k0s(),t.EFF(10,"\n"),t.bVm()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngIf",e.data.headline.length>0),t.R7$(2),t.Y8G("ngIf",e.data.description.length>0),t.R7$(4),t.Y8G("ngForOf",e.data.boxes)}}new S.Vy("ContentStepsBlockComponent");let So=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorService=a,this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){this.inputData&&(this.data=new Vl,Object.assign(this.data,this.inputData),this.setColors())}setColors(){this.data.boxes.forEach(e=>{e.fields.colorsClasses=this.colorService.parseColors(e.fields.colors)})}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(Vt))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-content-steps-block"]],viewQuery:function(a,o){if(1&a&&t.GBs(Ul,5),2&a){let r;t.mGM(r=t.lsd())&&(o.elSlider=r.first)}},inputs:{inputData:"inputData"},decls:2,vars:1,consts:[[4,"ngIf"],["class","text-4xl font-bold text-orange leading-tight pb-12 sm:text-3xl",3,"innerHtml",4,"ngIf"],["class","pb-12 text-gray-400",3,"innerHtml",4,"ngIf"],[1,"pb-24","sm:pb-12"],["class","flex flex-wrap -m-8",3,"ngClass",4,"ngFor","ngForOf"],[1,"text-4xl","font-bold","text-orange","leading-tight","pb-12","sm:text-3xl",3,"innerHtml"],[1,"pb-12","text-gray-400",3,"innerHtml"],[1,"flex","flex-wrap","-m-8",3,"ngClass"],[1,"p-8","lg:w-full",3,"ngClass"],[1,"text-lg","font-bold",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHTML"],[1,"wysiwyg",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHTML"],["class","w-1/2 p-8 lg:w-full",4,"ngIf"],[1,"w-1/2","p-8","lg:w-full"],["alt","",1,"w-auto","max-h-[20rem]",3,"src"]],template:function(a,o){1&a&&(t.DNE(0,Ql,11,3,"ng-container",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.data)},dependencies:[m.YU,m.Sq,m.bT,Xt.D,ne]})}}return n})();class tc{}const ec=["headlineElement"],nc=n=>[n];let ac=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorService=a,this.headlineType="h1",this.headlineClassSize={h1:["text-5xl sm:text-4xl"],h2:["text-4xl sm:text-3xl"],h3:["text-xl sm:text-lg"],h4:[""],h5:[""],h6:[""]}}ngOnInit(){this.setColors(),this.setHeadlineClassSize(),this.headlineSize&&(this.headlineType=this.headlineSize)}ngAfterViewInit(){this.changeHeadlineType()}setColors(){this.colorsClasses=new rt,null!=this.colors&&this.colors&&(this.colorsClasses=this.colorService.parseColors(this.colors))}
1setHeadlineClassSize(){this.extraClasses=this.headlineClassSize[this.headlineSize]}changeHeadlineType(e=this.headlineType){this.headlineElement.nativeElement.outerHTML=this.headlineElement.nativeElement.outerHTML.replace("h1",e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(Vt))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-headline-element"]],viewQuery:function(a,o){if(1&a&&t.GBs(ec,5),2&a){let r;t.mGM(r=t.lsd())&&(o.headlineElement=r.first)}},inputs:{headline:"headline",headlineSize:"headlineSize",colorClasses:"colorClasses",colors:"colors",colorsClasses:[t.Mj6.None,"colorClasses","colorsClasses"],extraClasses:"extraClasses"},decls:4,vars:4,consts:[["headlineElement",""],[1,"",3,"ngClass","innerHtml"]],template:function(a,o){1&a&&(t.j41(0,"h1",1,0),t.EFF(2,"\n"),t.k0s(),t.EFF(3,"\n")),2&a&&t.Y8G("ngClass",t.eq3(2,nc,o.extraClasses?o.extraClasses.join(" "):""))("innerHtml",o.headline.join("<br />"),t.npT)},dependencies:[m.YU]})}}return n})();const oc=n=>[n],ic=()=>["headlineText"];new S.Vy("HeadlineComponent");let Do=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorService=a,this.headlineType="h1",this.headlineClassSize=""}ngOnInit(){this.inputData&&(this.data=new tc,Object.assign(this.data,this.inputData),this.data.headlineSize&&this.data.headlineSize.length>0&&this.data.headlineSize.startsWith("h")&&(this.headlineType=this.data.headlineSize),this.setColors())}ngAfterViewInit(){}setColors(){this.data.colorsClasses=new rt,null!=this.data.colors&&this.data.colors&&(this.data.colorsClasses=this.colorService.parseColors(this.data.colors))}getBlockPadding(){let e=[];switch(this.data.blockPadding){case"50":e=["py-12"];break;case"100":e=["py-24"];break;case"150":e=["py-32"];break;default:e=["py-6"]}return e}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(Vt))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-headline-block"]],inputs:{inputData:"inputData"},decls:11,vars:13,consts:[[1,"",3,"ngClass"],[1,"text-center","max-w-8xl","w-full","px-4","mx-auto"],[3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","headline","headlineSize"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n        "),t.EFF(4,"\n        "),t.EFF(5,"\n        "),t.EFF(6,"\n        "),t.nrm(7,"app-headline-element",2),t.EFF(8,"\n  "),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n")),2&a&&(t.Y8G("ngClass",o.getBlockPadding()),t.R7$(2),t.AVh("text-center","center"==o.data.headlineAlign)("text-right","right"==o.data.headlineAlign),t.R7$(5),t.Y8G("pabkSetColors",t.eq3(10,oc,o.data.colorsClasses.headlineText))("pabkSetColorsData",o.data)("pabkSetColorsStyles",t.lJ4(12,ic))("headline",o.data.headline)("headlineSize",o.headlineType))},dependencies:[m.YU,ac,ne]})}}return n})();class rc{}class sc{constructor(){this.pageName="",this.categoryDescription="",this.articlesArrangement="default",this.categoryPanelTitle="",this.categoryPanelLinks=[],this.mostReadPanelTitle="",this.mostReadPanelLinks=[],this.articles=[],this.blogPanels=[],this.articlesPerPage=0}}class lc{constructor(){this.links=[]}}class To{}var $n=typeof window>"u"?{}:window,se=$n.requestAnimationFrame||$n.webkitRequestAnimationFrame||$n.mozRequestAnimationFrame||$n.msRequestAnimationFrame||function(n){return setTimeout(n,16)},Go=typeof window>"u"?{}:window,Ta=Go.cancelAnimationFrame||Go.mozCancelAnimationFrame||function(n){clearTimeout(n)};function Ga(){for(var n,i,e,a=arguments[0]||{},o=1,r=arguments.length;o<r;o++)if(null!==(n=arguments[o]))for(i in n)a!==(e=n[i])&&void 0!==e&&(a[i]=e);return a}function Mt(n){return["true","false"].indexOf(n)>=0?JSON.parse(n):n}function Ot(n,i,e,a){if(a)try{n.setItem(i,e)}catch{}return e}function Nn(){var n=typeof document>"u"?{}:document,i=n.body;return i||((i=n.createElement("body")).fake=!0),i}var nn=typeof document>"u"?{}:document.documentElement;function Hn(n){var i="";return n.fake&&(i=nn.style.overflow,n.style.background="",n.style.overflow=nn.style.overflow="hidden",nn.appendChild(n)),i}function Ln(n,i){n.fake&&(n.remove(),nn.style.overflow=i)}function ae(n,i,e,a){"insertRule"in n?n.insertRule(i+"{"+e+"}",a):n.addRule(i,e,a)}function qt(n){return("insertRule"in n?n.cssRules:n.rules).length}function le(n,i,e){for(var a=0,o=n.length;a<o;a++)i.call(e,n[a],a)}var Ba=typeof document>"u"?null:"classList"in document.createElement("_"),Le=Ba?function(n,i){return n.classList.contains(i)}:function(n,i){return n.className.indexOf(i)>=0},K=Ba?function(n,i){Le(n,i)||n.classList.add(i)}:function(n,i){Le(n,i)||(n.className+=" "+i)},kt=Ba?function(n,i){Le(n,i)&&n.classList.remove(i)}:function(n,i){Le(n,i)&&(n.className=n.className.replace(i,""))};function an(n,i){return n.hasAttribute(i)}function Mn(n,i){return n.getAttribute(i)}function Bo(n){return typeof n.item<"u"}function St(n,i){if(n=Bo(n)||n instanceof Array?n:[n],"[object Object]"===Object.prototype.toString.call(i))for(var e=n.length;e--;)for(var a in i)n[e].setAttribute(a,i[a])}function ce(n,i){n=Bo(n)||n instanceof Array?n:[n];for(var e=(i=i instanceof Array?i:[i]).length,a=n.length;a--;)for(var o=e;o--;)n[a].removeAttribute(i[o])}function Io(n){for(var i=[],e=0,a=n.length;e<a;e++)i.push(n[e]);return i}function Dt(n,i){"none"!==n.style.display&&(n.style.display="none")}function Tt(n,i){"none"===n.style.display&&(n.style.display="")}function jo(n){return"none"!==window.getComputedStyle(n).display}function on(n){if("string"==typeof n){var i=[n],e=n.charAt(0).toUpperCase()+n.substr(1);["Webkit","Moz","ms","O"].forEach(function(h){("ms"!==h||"transform"===n)&&i.push(h+e)}),n=i}if(typeof document>"u")return!1;for(var o=document.createElement("fakeelement"),c=0;c<n.length;c++){var f=n[c];if(void 0!==o.style[f])return f}return!1}function Ro(n,i){var e=!1;return/^Webkit/.test(n)?e="webkit"+i+"End":/^O/.test(n)?e="o"+i+"End":n&&(e=i.toLowerCase()+"end"),e}var Po=!1;try{var bc=Object.defineProperty({},"passive",{get:function(){Po=!0}});window.addEventListener("test",null,bc)}catch{}var Yo=!!Po&&{passive:!0};function Z(n,i,e){for(var a in i){var o=["touchstart","touchmove"].indexOf(a)>=0&&!e&&Yo;n.addEventListener(a,i[a],o)}}function st(n,i){for(var e in i){var a=["touchstart","touchmove"].indexOf(e)>=0&&Yo;n.removeEventListener(e,i[e],a)}}function xc(){return{topics:{},on:function(n,i){this.topics[n]=this.topics[n]||[],this.topics[n].push(i)}
1,off:function(n,i){if(this.topics[n])for(var e=0;e<this.topics[n].length;e++)if(this.topics[n][e]===i){this.topics[n].splice(e,1);break}},emit:function(n,i){i.type=n,this.topics[n]&&this.topics[n].forEach(function(e){e(i,n)})}}}Object.keys||(Object.keys=function(n){var i=[];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&i.push(e);return i}),typeof Element<"u"&&!("remove"in Element.prototype)&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});var $o=function(n){n=Ga({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0,nonce:!1},n||{});var i=typeof window>"u",e=i?{}:document,a=i?{}:window,o={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},r={},c=n.useLocalStorage;if(c){var f=navigator.userAgent,h=new Date;try{(r=a.localStorage)?(r.setItem(h,h),c=r.getItem(h)==h,r.removeItem(h)):c=!1,c||(r={})}catch{c=!1}c&&(r.tnsApp&&r.tnsApp!==f&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach(function(s){r.removeItem(s)}),localStorage.tnsApp=f)}var b=r.tC?Mt(r.tC):Ot(r,"tC",function pc(){var n=typeof document>"u"?{}:document,i=Nn(),e=Hn(i),a=n.createElement("div"),o=!1;i.appendChild(a);try{for(var f,r="(10px * 10)",c=["calc"+r,"-moz-calc"+r,"-webkit-calc"+r],h=0;h<3;h++)if(a.style.width=f=c[h],100===a.offsetWidth){o=f.replace(r,"");break}}catch{}return i.fake?Ln(i,e):a.remove(),o}(),c),w=r.tPL?Mt(r.tPL):Ot(r,"tPL",function mc(){if(typeof document>"u")return null;var n=typeof document>"u"?{}:document,i=Nn(),e=Hn(i),a=n.createElement("div"),o=n.createElement("div"),r="",h=!1;a.className="tns-t-subp2",o.className="tns-t-ct";for(var b=0;b<70;b++)r+="<div></div>";o.innerHTML=r,a.appendChild(o),i.appendChild(a);try{h=Math.abs(a.getBoundingClientRect().left-o.children[67].getBoundingClientRect().left)<2}catch(w){console.error(w)}return i.fake?Ln(i,e):a.remove(),h}(),c),$=r.tMQ?Mt(r.tMQ):Ot(r,"tMQ",function uc(){if(window.matchMedia||window.msMatchMedia)return!0;var c,n=typeof document>"u"?{}:document,i=Nn(),e=Hn(i),a=n.createElement("div"),o=n.createElement("style"),r="@media all and (min-width:1px){.tns-mq-test{position:absolute}}";return o.type="text/css",a.className="tns-mq-test",i.appendChild(o),i.appendChild(a),o.styleSheet?o.styleSheet.cssText=r:o.appendChild(n.createTextNode(r)),c=window.getComputedStyle?window.getComputedStyle(a).position:a.currentStyle.position,i.fake?Ln(i,e):a.remove(),"absolute"===c}(),c),J=r.tTf?Mt(r.tTf):Ot(r,"tTf",on("transform"),c),mt=r.t3D?Mt(r.t3D):Ot(r,"t3D",function gc(n){if(!n||!window.getComputedStyle)return!1;var r,i=typeof document>"u"?{}:document,e=Nn(),a=Hn(e),o=i.createElement("p"),c=n.length>9?"-"+n.slice(0,-9).toLowerCase()+"-":"";return c+="transform",e.insertBefore(o,null),o.style[n]="translate3d(1px,1px,1px)",r=window.getComputedStyle(o).getPropertyValue(c),e.fake?Ln(e,a):o.remove(),void 0!==r&&r.length>0&&"none"!==r}(J),c),G=r.tTDu?Mt(r.tTDu):Ot(r,"tTDu",on("transitionDuration"),c),M=r.tTDe?Mt(r.tTDe):Ot(r,"tTDe",on("transitionDelay"),c),Q=r.tADu?Mt(r.tADu):Ot(r,"tADu",on("animationDuration"),c),zt=r.tADe?Mt(r.tADe):Ot(r,"tADe",on("animationDelay"),c),bt=r.tTE?Mt(r.tTE):Ot(r,"tTE",Ro(G,"Transition"),c),Ae=r.tAE?Mt(r.tAE):Ot(r,"tAE",Ro(Q,"Animation"),c),Se=a.console&&"function"==typeof a.console.warn,De=["container","controlsContainer","prevButton","
1nextButton","navContainer","autoplayButton"],si={};if(De.forEach(function(s){if("string"==typeof n[s]){var l=n[s],p=e.querySelector(l);if(si[s]=l,!p||!p.nodeName)return void(Se&&console.warn("Can't find",n[s]));n[s]=p}}),!(n.container.children.length<1)){var X=n.responsive,Xe=n.nested,x="carousel"===n.mode;if(X){0 in X&&(n=Ga(n,X[0]),delete X[0]);var Na={};for(var li in X){var un=X[li];Na[li]=un="number"==typeof un?{items:un}:un}X=Na,Na=null}if(x||function ci(s){for(var l in s)x||("slideBy"===l&&(s[l]="page"),"edgePadding"===l&&(s[l]=!1),"autoHeight"===l&&(s[l]=!1)),"responsive"===l&&ci(s[l])}(n),!x){n.axis="horizontal",n.slideBy="page",n.edgePadding=!1;var me=n.animateIn,Zn=n.animateOut,Ha=n.animateDelay,Zt=n.animateNormal}var yt,dn,Y="horizontal"===n.axis,xt=e.createElement("div"),_t=e.createElement("div"),k=n.container,La=k.parentNode,pi=k.outerHTML,R=k.children,y=R.length,Jn=ki(),fn=!1;X&&Ri(),x&&(k.className+=" tns-vpfix");var et,Za,Ja,D=n.autoWidth,_=C("fixedWidth"),U=C("edgePadding"),j=C("gutter"),ot=Ci(),ut=C("center"),B=D?1:Math.floor(C("items")),Ve=C("slideBy"),Ma=n.viewportMax||n.fixedWidthViewportWidth,ue=C("arrowKeys"),Yt=C("speed"),hn=n.rewind,dt=!hn&&n.loop,Ct=C("autoHeight"),Jt=C("controls"),de=C("controlsText"),Wt=C("nav"),fe=C("touch"),he=C("mouseDrag"),Ft=C("autoplay"),Oa=C("autoplayTimeout"),Fe=C("autoplayText"),ge=C("autoplayHoverPause"),be=C("autoplayResetOnVisibility"),N=function dc(n,i){if(typeof document>"u")return null;var e=document.createElement("style");return n&&e.setAttribute("media",n),i&&e.setAttribute("nonce",i),document.querySelector("head").appendChild(e),e.sheet?e.sheet:e.styleSheet}(null,C("nonce")),Fn=n.lazyload,yf=n.lazyloadSelector,Ue=[],lt=dt?function Gf(){var s=function Tf(){if(D||_&&!Ma)return y-1;var s=_?"fixedWidth":"items",l=[];if((_||n[s]<y)&&l.push(n[s]),X)for(var p in X){var u=X[p][s];u&&(_||u<y)&&l.push(u)}return l.length||l.push(0),Math.ceil(_?Ma/Math.min.apply(null,l):Math.max.apply(null,l))}(),l=x?Math.ceil((5*s-y)/2):4*s-y;return l=Math.max(s,l),oe("edgePadding")?l+1:l}():0,P=x?y+2*lt:y+lt,mi=!(!_&&!D||dt),qe=_?so():null,Aa=!x||!dt,Te=Y?"left":"top",xe="",ze="",gn=function(){return _?function(){return ut&&!dt?y-1:Math.ceil(-qe/(_+j))}:D?function(){for(var s=0;s<P;s++)if(et[s]>=-qe)return s}:function(){return ut&&x&&!dt?y-1:dt||x?Math.max(0,P-Math.ceil(B)):P-1}}(),F=_i(C("startIndex")),_e=F,Kt=(xi(),0),Gt=D?null:gn(),Wn=n.preventActionWhenRunning,Kn=n.swipeAngle,Qt=!Kn||"?",Ee=!1,Xa=n.onInit,it=new xc,ke=" tns-sli
1der tns-"+n.mode,V=k.id||function cc(){var n=window.tnsId;return window.tnsId=n?n+1:1,"tns"+window.tnsId}(),vt=C("disable"),bn=!1,Qn=n.freezable,$t=!(!Qn||D)&&to(),xn=!1,_n={click:ye,keydown:function Kf(s){s=ie(s);var l=[o.LEFT,o.RIGHT].indexOf(s.keyCode);l>=0&&(0===l?O.disabled||ye(s,-1):A.disabled||ye(s,1))}},Va={click:function Vf(s){if(Ee){if(Wn)return;te()}for(var l=Ke(s=ie(s));l!==ft&&!an(l,"data-nav");)l=l.parentNode;if(an(l,"data-nav")){var p=Be=Number(Mn(l,"data-nav"));jn(wn?p:Math.min(Math.ceil(_||D?p*y/Nt:p*B),y-1),s),It===p&&(wt&&Rn(),Be=-1)}},keydown:function Qf(s){s=ie(s);var l=e.activeElement;if(an(l,"data-nav")){var p=[o.LEFT,o.RIGHT,o.ENTER,o.SPACE].indexOf(s.keyCode),u=Number(Mn(l,"data-nav"));p>=0&&(0===p?u>0&&Qi(Bt[u-1]):1===p?u<Nt-1&&Qi(Bt[u+1]):(Be=u,jn(u,s)))}}},En={mouseover:function Zf(){wt&&(Ea(),ia=!0)},mouseout:function Jf(){ia&&(_a(),ia=!1)}},kn={visibilitychange:function zf(){e.hidden?wt&&(Ea(),ra=!0):ra&&(_a(),ra=!1)}},yn={keydown:function Wf(s){s=ie(s);var l=[o.LEFT,o.RIGHT].indexOf(s.keyCode);l>=0&&ye(s,0===l?-1:1)}},Cn={touchstart:nr,touchmove:ar,touchend:ya,touchcancel:ya},vn={mousedown:nr,mousemove:ar,mouseup:ya,mouseleave:ya},ta=oe("controls"),Ua=oe("nav"),wn=!!D||n.navAsThumbnails,qa=oe("autoplay"),ui=oe("touch"),di=oe("mouseDrag"),za="tns-slide-active",fi="tns-sli
1de-cloned",ea="tns-complete",na={load:function $f(s){Li(Ke(s))},error:function Nf(s){!function Hf(s){K(s,"failed"),oo(s)}(Ke(s))}},Sn="force"===n.preventScrollOnTouch;if(ta)var Dn,Tn,nt=n.controlsContainer,hi=n.controlsContainer?n.controlsContainer.outerHTML:"",O=n.prevButton,A=n.nextButton,vf=n.prevButton?n.prevButton.outerHTML:"",wf=n.nextButton?n.nextButton.outerHTML:"";if(Ua)var Bt,ft=n.navContainer,Fi=n.navContainer?n.navContainer.outerHTML:"",Nt=D?y:ir(),Ge=0,Be=-1,It=Ei(),Ze=It,aa="tns-nav-active",Je="Carousel Page ",Wa=" (Current Slide)";if(qa)var oa,wt,ia,We,ra,gi="forward"===n.autoplayDirection?1:-1,q=n.autoplayButton,bi=n.autoplayButton?n.autoplayButton.outerHTML:"",Gn=["<span class='tns-visually-hidden'>"," animation</span>"];if(ui||di)var sa,Ht,Ie={},At={},je=!1,Ka=Y?function(s,l){return s.x-l.x}:function(s,l){return s.y-l.y};D||la(vt||$t),J&&(Te=J,xe="translate",mt?(xe+=Y?"3d(":"3d(0px, ",ze=Y?", 0px, 0px)":", 0px)"):(xe+=Y?"X(":"Y(",ze=")")),x&&(k.className=k.className.replace("tns-vpfix","")),function If(){if(oe("gutter"),xt.className="tns-outer",_t.className="tns-inner",xt.id=V+"-ow",_t.id=V+"-iw",""===k.id&&(k.id=V),ke+=w||D?" tns-subpixel":" tns-no-subpixel",ke+=b?" tns-calc":" tns-no-calc",D&&(ke+=" tns-autowidth"),k.className+=ke+=" tns-"+n.axis,x?((yt=e.createElement("div")).id=V+"-mw",yt.className="tns-ovh",xt.appendChild(yt),yt.appendChild(_t)):xt.appendChild(_t),Ct&&((yt||_t).className+=" tns-ah"),La.insertBefore(xt,k),_t.appendChild(k),le(R,function(ee,Ye){K(ee,"tns-item"),ee.id||(ee.id=V+"-item"+Ye),!x&&Zt&&K(ee,Zt),St(ee,{"aria-hidden":"true",tabindex:"-1"})}),lt){for(var g=e.createDocumentFragment(),E=e.createDocumentFragment(),I=lt;I--;){var ht=I%y,at=R[ht].cloneNode(!0);if(K(at,fi),ce(at,"id"),E.insertBefore(at,E.firstChild),x){var ct=R[y-1-ht].cloneNode(!0);K(ct,fi),ce(ct,"id"),g.appendChild(ct)}}k.insertBefore(g,k.firstChild),k.appendChild(E),R=k.children}}(),function jf(){if(!x)for(var s=F,l=F+Math.min(y,B);s<l;s++){var p=R[s];p.style.left=100*(s-F)/B+"%",K(p,me),kt(p,Zt)}if(Y&&(w||D?(ae(N,"#"+V+" > .tns-item","font-size:"+a.getComputedStyle(R[0]).fontSize+";",qt(N)),ae(N,"#"+V,"font-size:0;",qt(N))):x&&le(R,function(ho,Fo){ho.style.marginLeft=function Bf(s){return b?b+"("+100*s+"% / "+P+")":100*s/P+"%"}(Fo)}
1)),$){if(G){var u=yt&&n.autoHeight?Re(n.speed):"";ae(N,"#"+V+"-mw",u,qt(N))}u=pa(n.edgePadding,n.gutter,n.fixedWidth,n.speed,n.autoHeight),ae(N,"#"+V+"-iw",u,qt(N)),x&&(u=Y&&!D?"width:"+ma(n.fixedWidth,n.gutter,n.items)+";":"",G&&(u+=Re(Yt)),ae(N,"#"+V,u,qt(N))),u=Y&&!D?ua(n.fixedWidth,n.gutter,n.items):"",n.gutter&&(u+=da(n.gutter)),x||(G&&(u+=Re(Yt)),Q&&(u+=wi(Yt))),u&&ae(N,"#"+V+" > .tns-item",u,qt(N))}else(function Lf(){x&&Ct&&(yt.style[G]=Yt/1e3+"s")})(),_t.style.cssText=pa(U,j,_,Ct),x&&Y&&!D&&(k.style.width=ma(_,j,B)),u=Y&&!D?ua(_,j,B):"",j&&(u+=da(j)),u&&ae(N,"#"+V+" > .tns-item",u,qt(N));if(X&&$)for(var g in X){g=parseInt(g);var E=X[g],I=(u="",""),ht="",at="",ct="",ee=D?null:C("items",g),Ye=C("fixedWidth",g),$e=C("speed",g),uo=C("edgePadding",g),fo=C("autoHeight",g),Qe=C("gutter",g);G&&yt&&C("autoHeight",g)&&"speed"in E&&(I="#"+V+"-mw{"+Re($e)+"}"),("edgePadding"in E||"gutter"in E)&&(ht="#"+V+"-iw{"+pa(uo,Qe,Ye,$e,fo)+"}"),x&&Y&&!D&&("fixedWidth"in E||"items"in E||_&&"gutter"in E)&&(at="width:"+ma(Ye,Qe,ee)+";"),G&&"speed"in E&&(at+=Re($e)),at&&(at="#"+V+"{"+at+"}"),("fixedWidth"in E||_&&"gutter"in E||!x&&"items"in E)&&(ct+=ua(Ye,Qe,ee)),"gutter"in E&&(ct+=da(Qe)),!x&&"speed"in E&&(G&&(ct+=Re($e)),Q&&(ct+=wi($e))),ct&&(ct="#"+V+" > .tns-item{"+ct+"}"),(u=I+ht+at+ct)&&N.insertRule("@media (min-width: "+g/16+"em) {"+u+"}",N.cssRules.length)}}(),Si();var eo=function(){return dt?x?function(){var s=Kt,l=Gt;s+=Ve,l-=Ve,U?(s+=1,l-=1):_&&(ot+j)%(_+j)&&(l-=1),lt&&(F>l?F-=y:F<s&&(F+=y))}:function(){if(F>Gt)for(;F>=Kt+y;)F-=y;else if(F<Kt)for(;F<=Gt-y;)F+=y}:function(){F=Math.max(Kt,Math.min(Gt,F))}}(),Xf=function(){return x?function(){ba(k,""),G||!Yt?(lo(),(!Yt||!jo(k))&&te()):function _c(n,i,e,a,b,r,c){var f=Math.min(r,10),h=b.indexOf("%")>=0?"%":"px",w=(b=b.replace(h,""),Number(n.style[i].replace(e,"").replace(a,"").replace(h,""))),$=(b-w)/r*f;setTimeout(function mt(){r-=f,n.style[i]=e+(w+=$)+h+a,r>0?setTimeout(mt,f):c()},f)}(k,Te,xe,ze,xa(),Yt,te),Y||po()}:function(){Ue=[];var s={};s[bt]=s[Ae]=te,st(R[_e],s),Z(R[F],s),Zi(_e,me,Zn,!0),Zi(F,Zt,me),(!bt||!Ae||!Yt||!jo(k))&&te()}}();return{version:"2.9.3",getInfo:gt,events:it,goTo:jn,play:function Uf(){Ft&&!wt&&(ka(),We=!1)},pause:function qf(){wt&&(Rn(),We=!0)},isOn:fn,updateSliderHeight:Ai,refresh:Si,destroy:function Rf(){if(N.disabled=!0,N.ownerNode&&N.ownerNode.remove(),st(a,{resize:Ii}),ue&&st(e,yn),nt&&st(nt,_n),ft&&st(ft,Va),st(k,En),st(k,kn),q&&st(q,{click:Ki}),Ft&&clearInterval(oa),x&&bt){var s={};s[bt]=te,st(k,s)}fe&&st(k,Cn),he&&st(k,vn);var l=[pi,hi,vf,wf,Fi,bi];for(var p in De.forEach(function(u,g){var E="container"===u?xt:n[u];if("object"==typeof E&&E){var I=!!E.previousElementSibling&&E.previousElementSibling,ht=E.parentNode;E.outerHTML=l[g],n[u]=I?I.nextElementSibling:ht.firstElementChild}}),De=me=Zn=Ha=Zt=Y=xt=_t=k=La=pi=R=y=dn=Jn=D=_=U=j=ot=B=Ve=Ma=ue=Yt=hn=dt=Ct=N=Fn=et=Ue=lt=P=mi=qe=Aa=Te=xe=ze=gn=F=_e=Kt=Gt=Kn=Qt=Ee=Xa=it=ke=V=vt=bn=Qn=$t=xn=_n=Va=En=kn=yn=Cn=vn=ta=Ua=wn=qa=ui=di=za=ea=na=Za=Jt=de=nt=hi=O=A=Dn=Tn=Wt=ft=Fi=Bt=Nt=Ge=Be=It=Ze=aa=Je=Wa=Ft=Oa=gi=Fe=ge=q=bi=be=Gn=oa=wt=ia=We=ra=Ie=At=sa=je=Ht=Ka=fe=he=null,this)"rebuild"!==p&&(this[p]=null);fn=!1},rebuild:function(){return $o(Ga(n,si))}}}function la(s){s&&(Jt=Wt=fe=he=ue=Ft=ge=be=!1)}function xi(){for(var s=x?F-lt:F;s<0;)s+=y;return s%y+1}function _i(s){return s=s?Math.max(0,Math.min(dt?y-1:y-B,s)):0,x?s+lt:s}function ca(s){for(null==s&&(s=F),x&&(s-=lt);s<0;)s+=y;return Math.floor(s%y)}function Ei(){var l,s=ca();return l=wn?s:_||D?Math.ceil((s+1)*Nt/y-1):Math.floor(s/B),!dt&&x&&F===Gt&&(l=Nt-1),l}function ki(){return a.innerWidth||e.documentElement.clientWidth||e.body.clientWidth}function Qa(s){return"top"===s?"afterbegin":"beforeend"}function yi(s){if(null!=s){var p,u,l=e.createElement("div");return s.appendChild(l),u=(p=l.getBoundingClientRect()).right-p.left,l.remove(),u||yi(s.parentNode)}}function Ci(){var s=U?2*U-j:0;return yi(La)-s}function oe(s){if(n[s])return!0;if(X)for(var l in X)if(X[l][s])return!0;return!1}function C(s,l){if(null==l&&(l=Jn),"items"===s&&_)return Math.floor((ot+j)/(_+j))||1;var p=n[s];if(X)for(var u in X)l>=parseInt(u)&&s in X[u]&&(p=X[u][s]);return"slideBy"===s&&"page"===p&&(p=C("items")),!x&&("slideBy"===s||"items"===s)&&(p=Math.floor(p)),p}function pa(s,l,p,u,g){var E="";if(void 0!==s){var I=s;l&&(I-=l),E=Y?"margin: 0 "+I+"px 0 "+s+"px;":"margin: "+s+"px 0 "+I+"px 0;"}else if(l&&!p){var ht="-"+l+"px";E="margin: 0 "+(Y?ht+" 0 0":"0 "+ht+" 0")+";"}return!x&&g&&G&&u&&(E+=Re(u)),E}function ma(s,l,p){return s?(s+l)*P+"px":b?b+"("+100*P+"% / "+p+")":100*P/p+"%"}function ua(s,l,p){var u;if(s)u=s+l+"px";else{x||(p=Math.floor(p));var g=x?P:p;u=b?b+"(100% / "+g+")":100/g+"%"}return u="width:"+u,"inner"!==Xe?u+";":u+" !important;"}function da(s){var l="";return!1!==s&&(l=(Y?"padding-":"margin-")+(Y?"right":"bottom")+": "+s+"px;"),l}function vi(s,l){var p=s.substring(0,s.length-l).toLowerCase();return p&&(p="-"+p+"-"),p}function Re(s){return vi(G,18)+"transition-duration:"+s/1e3+"s;"}function wi(s){return vi(Q,17)+"animation-duration:"+s/1e3+"s;"}function Si(){if(oe("autoHeight")||D||!Y){var s=k.querySelectorAll("img");le(s,function(l){var p=l.src;Fn||(p&&p.indexOf("data:image")<0?(l.src="",Z(l,na),K(l,"loading"),l.src=p
1):Li(l))}),se(function(){Fa(Io(s),function(){Za=!0})}),oe("autoHeight")&&(s=io(F,Math.min(F+B-1,P-1))),Fn?Di():se(function(){Fa(Io(s),Di)})}else x&&In(),Gi(),Bi()}function Di(){if(D&&y>1){var s=dt?F:y-1;!function l(){var p=R[s].getBoundingClientRect().left,u=R[s-1].getBoundingClientRect().right;Math.abs(p-u)<=1?Ti():setTimeout(function(){l()},16)}()}else Ti()}function Ti(){(!Y||D)&&(Xi(),D?(qe=so(),Qn&&($t=to()),Gt=gn(),la(vt||$t)):po()),x&&In(),Gi(),Bi()}function Gi(){if(ro(),xt.insertAdjacentHTML("afterbegin",'<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">'+Hi()+"</span>  of "+y+"</div>"),Ja=xt.querySelector(".tns-liveregion .current"),qa){var s=Ft?"stop":"start";q?St(q,{"data-action":s}):n.autoplayButtonOutput&&(xt.insertAdjacentHTML(Qa(n.autoplayPosition),'<button type="button" data-action="'+s+'">'+Gn[0]+s+Gn[1]+Fe[0]+"</button>"),q=xt.querySelector("[data-action]")),q&&Z(q,{click:Ki}),Ft&&(ka(),ge&&Z(k,En),be&&Z(k,kn))}if(Ua){if(ft)St(ft,{"aria-label":"Carousel Pagination"}),le(Bt=ft.children,function(ht,at){St(ht,{"data-nav":at,tabindex:"-1","aria-label":Je+(at+1),"aria-controls":V})});else{for(var p="",u=wn?"":'style="display:none"',g=0;g<y;g++)p+='<button type="button" data-nav="'+g+'" tabindex="-1" aria-controls="'+V+'" '+u+' aria-label="'+Je+(g+1)+'"></button>';p='<div class="tns-nav" aria-label="Carousel Pagination">'+p+"</div>",xt.insertAdjacentHTML(Qa(n.navPosition),p),ft=xt.querySelector(".tns-nav"),Bt=ft.children}if(mo(),G){var E=G.substring(0,G.length-18).toLowerCase(),I="transition: all "+Yt/1e3+"s";E&&(I="-"+E+"-"+I),ae(N,"[aria-controls^="+V+"-item]",I,qt(N))}St(Bt[It],{"aria-label":Je+(It+1)+Wa}),ce(Bt[It],"tabindex"),K(Bt[It],aa),Z(ft,Va)}ta&&(!nt&&(!O||!A)&&(xt.insertAdjacentHTML(Qa(n.controlsPosition),'<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button type="button" data-controls="prev" tabindex="-1" aria-controls="'+V+'">'+de[0]+'</button><button type="button" data-controls="next" tabindex="-1" aria-controls="'+V+'">'+de[1]+"</button></div>"),nt=xt.querySelector(".tns-controls")),(!O||!A)&&(O=nt.children[0],A=nt.children[1]),n.controlsContainer&&St(nt,{"aria-label":"Carousel Navigation",tabindex:"0"}),(n.controlsContainer||n.prevButton&&n.nextButton)&&St([O,A],{"aria-controls":V,tabindex:"-1"}),(n.controlsContainer||n.prevButton&&n.nextButton)&&(St(O,{"data-controls":"prev"}),St(A,{"data-controls":"next"})),Dn=Ui(O),Tn=Ui(A),zi(),nt?Z(nt,_n):(Z(O,_n),Z(A,_n))),no()}function Bi(){if(x&&bt){var s={};s[bt]=te,Z(k,s)}fe&&Z(k,Cn,n.preventScrollOnTouch),he&&Z(k,vn),ue&&Z(e,yn),"inner"===Xe?it.on("outerResized",function(){ji(),it.emit("innerLoaded",gt())}):(X||_||D||Ct||!Y)&&Z(a,{resize:Ii}),Ct&&("outer"===Xe?it.on("innerLoaded",ha):vt||ha()),ao(),vt?$i():$t&&Yi(),it.on("indexChanged",Mi),"inner"===Xe&&it.emit("innerLoaded",gt()),"function"==typeof Xa&&Xa(gt()),fn=!0}function Ii(s){se(function(){ji(ie(s))})}function ji(s){if(fn){"outer"===Xe&&it.emit("outerResized",gt(s)),Jn=ki();var l,p=dn,u=!1;X&&(Ri(),(l=p!==dn)&&it.emit("newBreakpointStart",gt(s)));var g,E,I=B,ht=vt,at=$t,ct=ue,ee=Jt,Ye=Wt,$e=fe,uo=he,fo=Ft,Qe=ge,ho=be,Fo=F;if(l){var th=_,eh=Ct,nh=de,ah=ut,go=Fe;if(!$)var oh=j,ih=U}if(ue=C("arrowKeys"),Jt=C("controls"),Wt=C("nav"),fe=C("touch"),ut=C("center"),he=C("mouseDrag"),Ft=C("autoplay"),ge=C("autoplayHoverPause"),be=C("autoplayResetOnVisibility"),l&&(vt=C("disable"),_=C("fixedWidth"),Yt=C("speed"),Ct=C("autoHeight"),de=C("controlsText"),Fe=C("autoplayText"),Oa=C("autoplayTimeout"),$||(U=C("edgePadding"),j=C("gutter"))),la(vt),ot=Ci(),(!Y||D)&&!vt&&(Xi(),Y||(po(),u=!0)),(_||D)&&(qe=so(),Gt=gn()),(l||_)&&(B=C("items"),Ve=C("slideBy"),(E=B!==I)&&(!_&&!D&&(Gt=gn()),eo())),l&&vt!==ht&&(vt?$i():function Yf(){if(bn){if(N.disabled=!1,k.className+=ke,In(),dt)for(var s=lt;s--;)x&&Tt(R[s]),Tt(R[P-s-1]);if(!x)for(var l=F,p=F+y;l<p;l++){var u=R[l],g=l<F+B?me:Zt;u.style.left=100*(l-F)/B+"%",K(u,g)}Pi(),bn=!1}}()),Qn&&(l||_||D)&&($t=to())!==at&&($t?(lo(xa(_i(0))),Yi()):(function Pf(){if(xn){if(U&&$&&(_t.style.margin=""),lt)for(var s="tns-transparent",l=lt;l--;)x&&kt(R[l],s),kt(R[P-l-1],s);Pi(),xn=!1}}(),u=!0)),la(vt||$t),Ft||(ge=be=!1),ue!==ct&&(ue?Z(e,yn):st(e,yn)),Jt!==ee&&(Jt?nt?Tt(nt):(O&&Tt(O),A&&Tt(A)):nt?Dt(nt):(O&&Dt(O),A&&Dt(A))),Wt!==Ye&&(Wt?(Tt(ft),mo()):Dt(ft)),fe!==$e&&(fe?Z(k,Cn,n.preventScrollOnTouch):st(k,Cn)),he!==uo&&(he?Z(k,vn):st(k,vn)),Ft!==fo&&(Ft?(q&&Tt(q),!wt&&!We&&ka()):(q&&Dt(q),wt&&Rn())),ge!==Qe&&(ge?Z(k,En):st(k,En)),be!==ho&&
1(be?Z(e,kn):st(e,kn)),l){if((_!==th||ut!==ah)&&(u=!0),Ct!==eh&&(Ct||(_t.style.height="")),Jt&&de!==nh&&(O.innerHTML=de[0],A.innerHTML=de[1]),q&&Fe!==go){var bo=Ft?1:0,xo=q.innerHTML,rr=xo.length-go[bo].length;xo.substring(rr)===go[bo]&&(q.innerHTML=xo.substring(0,rr)+Fe[bo])}}else ut&&(_||D)&&(u=!0);if((E||_&&!D)&&(Nt=ir(),mo()),(g=F!==Fo)?(it.emit("indexChanged",gt()),u=!0):E?g||Mi():(_||D)&&(ao(),ro(),Ni()),E&&!x&&function Mf(){for(var s=F+Math.min(y,B),l=P;l--;){var p=R[l];l>=F&&l<s?(K(p,"tns-moving"),p.style.left=100*(l-F)/B+"%",K(p,me),kt(p,Zt)):p.style.left&&(p.style.left="",K(p,Zt),kt(p,me)),kt(p,Zn)}setTimeout(function(){le(R,function(u){kt(u,"tns-moving")})},300)}(),!vt&&!$t){if(l&&!$&&((U!==ih||j!==oh)&&(_t.style.cssText=pa(U,j,_,Yt,Ct)),Y)){x&&(k.style.width=ma(_,j,B));var rh=ua(_,j,B)+da(j);(function fc(n,i){"deleteRule"in n?n.deleteRule(i):n.removeRule(i)})(N,qt(N)-1),ae(N,"#"+V+" > .tns-item",rh,qt(N))}Ct&&ha(),u&&(In(),_e=F)}l&&it.emit("newBreakpointEnd",gt(s))}}function to(){if(!_&&!D)return y<=(ut?B-(B-1)/2:B);var p=U?ot+2*U:ot+j;return ut&&(p-=_?(ot-_)/2:(ot-(et[F+1]-et[F]-j))/2),(_?(_+j)*y:et[y])<=p}function Ri(){for(var s in dn=0,X)s=parseInt(s),Jn>=s&&(dn=s)}function no(){!Ft&&q&&Dt(q),!Wt&&ft&&Dt(ft),Jt||(nt?Dt(nt):(O&&Dt(O),A&&Dt(A)))}function Pi(){Ft&&q&&Tt(q),Wt&&ft&&Tt(ft),Jt&&(nt?Tt(nt):(O&&Tt(O),A&&Tt(A)))}function Yi(){if(!xn){if(U&&(_t.style.margin="0px"),lt)for(var s="tns-transparent",l=lt;l--;)x&&K(R[l],s),K(R[P-l-1],s);no(),xn=!0}}function $i(){if(!bn){if(N.disabled=!0,k.className=k.className.replace(ke.substring(1),""),ce(k,["style"]),dt)for(var s=lt;s--;)x&&Dt(R[s]),Dt(R[P-s-1]);if((!Y||!x)&&ce(_t,["style"]),!x)for(var l=F,p=F+y;l<p;l++){var u=R[l];ce(u,["style"]),kt(u,me),kt(u,Zt)}no(),bn=!0}}function Ni(){var s=Hi();Ja.innerHTML!==s&&(Ja.innerHTML=s)}function Hi(){var s=fa(),l=s[0]+1,p=s[1]+1;return l===p?l+"":l+" to "+p}function fa(s){null==s&&(s=xa());var p,u,g,l=F;if(ut||U?(D||_)&&(u=-(parseFloat(s)+U),g=u+ot+2*U):D&&(g=(u=et[F])+ot),D)et.forEach(function(at,ct){ct<P&&((ut||U)&&at<=u+.5&&(l=ct),g-at>=.5&&(p=ct))});else{if(_){var E=_+j;ut||U?(l=Math.floor(u/E),p=Math.ceil(g/E-1)):p=l+Math.ceil(ot/E)-1}else if(ut||U){var I=B-1;if(ut?(l-=I/2,p=F+I/2):p=F+I,U){var ht=U*B/ot;l-=ht,p+=ht}l=Math.floor(l),p=Math.ceil(p)}else p=l+B-1;l=Math.max(l,0),p=Math.min(p,P-1)}return[l,p]}function ao(){if(Fn&&!vt){var s=fa();s.push(yf),io.apply(null,s).forEach(function(l){if(!Le(l,ea)){var p={};p[bt]=function(g){g.stopPropagation()},Z(l,p),Z(l,na),l.src=Mn(l,"data-src");var u=Mn(l,"data-srcset");u&&(l.srcset=u),K(l,"loading")}})}}function Li(s){K(s,"loaded"),oo(s)}function oo(s){K(s,ea),kt(s,"loading"),st(s,na)}function io(s,l,p){var u=[];for(p||(p="img");s<=l;)le(R[s].querySelectorAll(p),function(g){u.push(g)}),s++;return u}function ha(){var s=io.apply(null,fa());se(function(){Fa(s,Ai)})}function Fa(s,l){if(Za||(s.forEach(function(p,u){!Fn&&p.complete&&oo(p),Le(p,ea)&&s.splice(u,1)}),!s.length))return l();se(function(){Fa(s,l)})}function Mi(){ao(),ro(),Ni(),zi(),function Of(){if(Wt&&(It=Be>=0?Be:Ei(),Be=-1,It!==Ze)){var s=Bt[Ze],l=Bt[It];St(s,{tabindex:"-1","aria-label":Je+(Ze+1)}),kt(s,aa),St(l,{"aria-label":Je+(It+1)+Wa}),ce(l,"tabindex"),K(l,aa),Ze=It}}()}function Oi(s,l){for(var p=[],u=s,g=Math.min(s+l,P);u<g;u++)p.push(R[u].offsetHeight);return Math.max.apply(null,p)}function Ai(){var s=Ct?Oi(F,B):Oi(lt,y),l=yt||_t;l.style.height!==s&&(l.style.height=s+"px")}function Xi(){et=[0];var s=Y?"left":"top",l=Y?"right":"bottom",p=R[0].getBoundingClientRect()[s];le(R,function(u,g){g&&et.push(u.getBoundingClientRect()[s]-p),g===P-1&&et.push(u.getBoundingClientRect()[l]-p)})}function ro(){var s=fa(),l=s[0],p=s[1];le(R,function(u,g){g>=l&&g<=p?an(u,"aria-hidden")&&(ce(u,["aria-hidden","tabindex"]),K(u,za)):an(u,"aria-hidden")||(St(u,{"aria-hidden":"true",tabindex:"-1"}),kt(u,za))})}function Vi(s){return s.nodeName.toLowerCase()}function Ui(s){return"button"===Vi(s)}function qi(s){return"true"===s.getAttribute("aria-disabled")}function ga(s,l,p){s?l.disabled=p:l.setAttribute("aria-disabled",p.toString())}function zi(){if(Jt&&!hn&&!dt){var s=Dn?O.disabled:qi(O),l=Tn?A.disabled:qi(A),p=F<=Kt,u=!hn&&F>=Gt;p&&!s&&ga(Dn,O,!0),!p&&s&&ga(Dn,O,!1),u&&!l&&ga(Tn,A,!0),!u&&l&&ga(Tn,A,!1)}}function ba(s,l){G&&(s.style[G]=l)}function Bn(s){return null==s&&(s=F),D?(ot-(U?j:0)-(et[s+1]-et[s]-j))/2:_?(ot-_)/2:(B-1)/2}function so(){var l=ot+(U?j:0)-function Af(){return _?(_+j)*P:et[P]}
1();return ut&&!dt&&(l=_?-(_+j)*(P-1)-Bn():Bn(P-1)-et[P-1]),l>0&&(l=0),l}function xa(s){var l;if(null==s&&(s=F),Y&&!D)if(_)l=-(_+j)*s,ut&&(l+=Bn());else{var p=J?P:B;ut&&(s-=Bn()),l=100*-s/p}else l=-et[s],ut&&D&&(l+=Bn());return mi&&(l=Math.max(l,qe)),l+(!Y||D||_?"px":"%")}function In(s){ba(k,"0s"),lo(s)}function lo(s){null==s&&(s=xa()),k.style[Te]=xe+s+ze}function Zi(s,l,p,u){var g=s+B;dt||(g=Math.min(g,P));for(var E=s;E<g;E++){var I=R[E];u||(I.style.left=100*(E-F)/B+"%"),Ha&&M&&(I.style[M]=I.style[zt]=Ha*(E-s)/1e3+"s"),kt(I,l),K(I,p),u&&Ue.push(I)}}function co(s,l){Aa&&eo(),(F!==_e||l)&&(it.emit("indexChanged",gt()),it.emit("transitionStart",gt()),Ct&&ha(),wt&&s&&["click","keydown"].indexOf(s.type)>=0&&Rn(),Ee=!0,Xf())}function Ji(s){return s.toLowerCase().replace(/-/g,"")}function te(s){if(x||Ee){if(it.emit("transitionEnd",gt(s)),!x&&Ue.length>0)for(var l=0;l<Ue.length;l++){var p=Ue[l];p.style.left="",zt&&M&&(p.style[zt]="",p.style[M]=""),kt(p,Zn),K(p,Zt)}if(!s||!x&&s.target.parentNode===k||s.target===k&&Ji(s.propertyName)===Ji(Te)){if(!Aa){var u=F;eo(),F!==u&&(it.emit("indexChanged",gt()),In())}"inner"===Xe&&it.emit("innerLoaded",gt()),Ee=!1,_e=F}}}function jn(s,l){if(!$t)if("prev"===s)ye(l,-1);else if("next"===s)ye(l,1);else{if(Ee){if(Wn)return;te()}var p=ca(),u=0;if("first"===s?u=-p:"last"===s?u=x?y-B-p:y-1-p:("number"!=typeof s&&(s=parseInt(s)),isNaN(s)||(l||(s=Math.max(0,Math.min(y-1,s))),u=s-p)),!x&&u&&Math.abs(u)<B){var g=u>0?1:-1;u+=F+u-y>=Kt?y*g:2*y*g*-1}F+=u,x&&dt&&(F<Kt&&(F+=y),F>Gt&&(F-=y)),ca(F)!==ca(_e)&&co(l)}}function ye(s,l){if(Ee){if(Wn)return;te()}var p;if(!l){for(var u=Ke(s=ie(s));u!==nt&&[O,A].indexOf(u)<0;)u=u.parentNode;var g=[O,A].indexOf(u);g>=0&&(p=!0,l=0===g?-1:1)}if(hn){if(F===Kt&&-1===l)return void jn("last",s);if(F===Gt&&1===l)return void jn("first",s)}l&&(F+=Ve*l,D&&(F=Math.floor(F)),co(p||s&&"keydown"===s.type?s:null))}function _a(){oa=setInterval(function(){ye(null,gi)},Oa),wt=!0}function Ea(){clearInterval(oa),wt=!1}function Wi(s,l){St(q,{"data-action":s}),q.innerHTML=Gn[0]+s+Gn[1]+l}function ka(){_a(),q&&Wi("stop",Fe[1])}function Rn(){Ea(),q&&Wi("start",Fe[0])}function Ki(){wt?(Rn(),We=!0):(ka(),We=!1)}function Qi(s){s.focus()}function ie(s){return Pe(s=s||a.event)?s.changedTouches[0]:s}function Ke(s){return s.target||a.event.srcElement}function Pe(s){return s.type.indexOf("touch")>=0}function tr(s){s.preventDefault?s.preventDefault():s.returnValue=!1}function er(){return function Fc(n,i){var e=!1,a=Math.abs(90-Math.abs(n));return a>=90-i?e="horizontal":a<=i&&(e="vertical"),e}(function hc(n,i){return Math.atan2(n,i)*(180/Math.PI)}(At.y-Ie.y,At.x-Ie.x),Kn)===n.axis}function nr(s){if(Ee){if(Wn)return;te()}Ft&&wt&&Ea(),je=!0,Ht&&(Ta(Ht),Ht=null);var l=ie(s);it.emit(Pe(s)?"touchStart":"dragStart",gt(s)),!Pe(s)&&["img","a"].indexOf(Vi(Ke(s)))>=0&&tr(s),At.x=Ie.x=l.clientX,At.y=Ie.y=l.clientY,x&&(sa=parseFloat(k.style[Te].replace(xe,"")),ba(k,"0s"))}function ar(s){if(je){var l=ie(s);At.x=l.clientX,At.y=l.clientY,x?Ht||(Ht=se(function(){or(s)})):("?"===Qt&&(Qt=er()),Qt&&(Sn=!0)),("boolean"!=typeof s.cancelable||s.cancelable)&&Sn&&s.preventDefault()}}function or(s){if(Qt){if(Ta(Ht),je&&(Ht=se(function(){or(s)})),"?"===Qt&&(Qt=er()),Qt){!Sn&&Pe(s)&&(Sn=!0);try{s.type&&it.emit(Pe(s)?"touchMove":"dragMove",gt(s))}catch{}var l=sa,p=Ka(At,Ie);!Y||_||D?(l+=p,l+="px"):(l+=J?p*B*100/((ot+j)*P):100*p/(ot+j),l+="%"),k.style[Te]=xe+l+ze}}else je=!1}function ya(s){if(je){Ht&&(Ta(Ht),Ht=null),x&&ba(k,""),je=!1;var l=ie(s);At.x=l.clientX,At.y=l.clientY;var p=Ka(At,Ie);if(Math.abs(p)){if(!Pe(s)){var u=Ke(s);Z(u,{click:function g(E){tr(E),st(u,{click:g})}})}x?Ht=se(function(){if(Y&&!D){var g=-p*B/(ot+j);g=p>0?Math.floor(g):Math.ceil(g),F+=g}else{var E=-(sa+p);if(E<=0)F=Kt;else if(E>=et[P-1])F=Gt;else for(var I=0;I<P&&E>=et[I];)F=I,E>et[I]&&p<0&&(F+=1),I++}co(s,p),it.emit(Pe(s)?"touchEnd":"dragEnd",gt(s))}):Qt&&ye(s,p>0?-1:1)}}"auto"===n.preventScrollOnTouch&&(Sn=!1),Kn&&(Qt="?"),Ft&&!wt&&_a()}function po(){(yt||_t).style.height=et[F+B]-et[F]+"px"}function ir(){return Math.min(Math.ceil(_?(_+j)*y/ot:y/B),y)}function mo(){if(Wt&&!wn&&Nt!==Ge){var s=Ge,l=Nt,p=Tt;for(Ge>Nt&&(s=Nt,l=Ge,p=Dt);s<l;)p(Bt[s]),s++;Ge=Nt}}function gt(s){return{container:k,slideItems:R,navContainer:ft,navItems:Bt,controlsContainer:nt,hasControls:ta,prevButton:O,nextButton:A,items:B,slideBy:Ve,cloneCount:lt,slideCount:y,slideCountNew:P,index:F,indexCached:_e,displayIndex:xi(),navCurrentIndex:It,navCurrentIndexCached:Ze,pages:Nt,pagesCached:Ge,sheet:N,isOn:fn,event:s||{}}}Se&&console.warn("No slides found in",n.container)};let Ec=new S.Vy("TinySliderService"),No=(()=>{class n{constructor(){this.sliders={topSlider:{instances:[],settings:{container:".topSl
1ider",items:1,slideBy:"page",mouseDrag:!0,loop:!1,nav:!1,controls:!1,arrowKeys:!0,autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplayButtonOutput:!1,prevButton:".topSliderPrev",nextButton:".topSliderNext"}},refSlider:{instances:[],settings:{container:".refSlider",mouseDrag:!0,loop:!1,nav:!1,controls:!1,gutter:20,autoplay:!1,responsive:{0:{items:1},576:{items:2},992:{items:3}}}},noticeSlider:{instances:[],settings:{container:".noticeSlider",items:1,slideBy:"page",mouseDrag:!0,loop:!1,nav:!1,controls:!1,autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplayButtonOutput:!1}},appSlider:{instances:[],settings:{container:".appSlider",slideBy:"page",items:1,mouseDrag:!0,loop:!1,nav:!1,controls:!1,autoplay:!1}},calcHypoRef:{instances:[],settings:{container:".calcSliderSlides",loop:!1,nav:!1,controls:!1,autoplay:!1,gutter:20,responsive:{0:{items:1.6,slideBy:1,mouseDrag:!0},576:{items:3,slideBy:3,mouseDrag:!1},768:{items:4,slideBy:4,mouseDrag:!1}}}},pabkNoticeSlider:{instances:[],settings:{container:".noticeSlider",items:1,mouseDrag:!0,loop:!0,nav:!1,controls:!1}},pabkNewsSlider:{instances:[],settings:{container:".newsSlider",items:1,mouseDrag:!0,loop:!0,nav:!1,controls:!1,autoplay:!0,autoplayTimeout:5e3,autoplayHoverPause:!0}},pabkCalcCreditRef:{instances:[],settings:{container:".calcSlider",loop:!1,nav:!1,controls:!1,autoplay:!1,gutter:20,responsive:{0:{items:1.6,slideBy:1,mouseDrag:!0},576:{items:3,slideBy:3,mouseDrag:!1},768:{items:4,slideBy:4,mouseDrag:!1}}}}},this.checkerMaxIterate=10,this.checkerTimeout=100}getNextSliderNumber(e){return this.sliders[e]?Object.keys(this.sliders[e].instances).length:0}getSliderInstance(e,a){return this.sliders[e].instances[a]}sliderInit(e,a,o,r=0,c=!1){let f=this.sliders[e].settings;r&&r>0&&(f.autoplay=!0,f.autoplayTimeout=r),f.loop=c,f.container=o,this.sliders[e].instances[a]=$o(f)}sliderDestroy(e,a){try{this.sliders[e].instances[a].destroy()}catch(o){Ec.error(o)}delete this.sliders[e].instances[a]}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const kc=["slider"],yc=n=>({time:n});function Cc(n,i){if(1&n&&(t.j41(0,"div",20),t.EFF(1,"\n              "),t.j41(2,"div",21),t.EFF(3,"\n                "),t.nrm(4,"h3",22),t.EFF(5,"\n                "),t.nrm(6,"p",23),t.EFF(7,"\n                "),t.j41(8,"a",24),t.EFF(9,"\n                  "),t.nrm(10,"span",25),t.EFF(11,"\n                  "),t.qSk(),t.j41(12,"svg",26),t.EFF(13,"\n                    "),t.nrm(14,"use",19),t.EFF(15,"\n                  "),t.k0s(),t.EFF(16,"\n                  "),t.j41(17,"svg",27),t.EFF(18,"\n                    "),t.nrm(19,"use",19),t.EFF(20,"\n                  "),t.k0s(),t.EFF(21,"\n                "),t.k0s(),t.EFF(22,"\n              "),t.k0s(),t.EFF(23,"\n            "),t.k0s()),2&n){const e=i.$implicit;t.Mz_("id","tns1-item",i.index,""),t.R7$(4),t.Y8G("innerHtml",e.name.join("<br />"),t.npT),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.perex),t.R7$(2),t.Y8G("href",e.url,t.B4B),t.R7$(2),t.Y8G("translate","latestArticlesReadMoreBtn")}}function vc(n,i){if(1&n){const e=t.RV6();t.j41(0,"article",10),t.EFF(1,"\n        "),t.j41(2,"div",11),t.EFF(3,"\n          "),t.j41(4,"div",12,0),t.EFF(6,"\n            "),t.DNE(7,Cc,24,6,"div",13),t.EFF(8,"\n          "),t.k0s(),t.EFF(9,"\n          "),t.j41(10,"div",14),t.EFF(11,"\n            "),t.j41(12,"button",15),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.sliderInstance.goTo("prev"))}),t.EFF(13,"\n              "),t.EFF(14,"\n              "),t.qSk(),t.j41(15,"svg",16),t.EFF(16,"\n                "),t.nrm(17,"use",17),t.EFF(18,"\n              "),t.k0s(),t.EFF(19,"\n            "),t.k0s(),t.EFF(20,"\n            "),t.joV(),t.j41(21,"button",18),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.sliderInstance.goTo("next"))}),t.EFF(22,"\n              "),t.qSk(),t.j41(23,"svg",16),t.EFF(24,"\n                "),t.nrm(25,"use",19),t.EFF(26,"\n              "),t.k0s(),t.EFF(27,"\n            "),t.k0s(),t.EFF(28,"\n          "),t.k0s(),t.EFF(29,"\n        "),t.k0s(),t.EFF(30,"\n      "),t.k0s()}if(2&n){const e=t.XpG(2);t.R7$(7),t.Y8G("ngForOf",e.data.smallBoxFromBlogNode[0].articles)}}
1function wc(n,i){if(1&n&&(t.j41(0,"article",10),t.EFF(1,"\n          "),t.j41(2,"div",29),t.EFF(3,"\n            "),t.j41(4,"a",30),t.EFF(5,"\n              "),t.nrm(6,"img",31),t.EFF(7,"\n            "),t.k0s(),t.EFF(8,"\n            "),t.j41(9,"div",32),t.EFF(10,"\n              "),t.j41(11,"div",33),t.EFF(12),t.nI1(13,"date"),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n              "),t.j41(16,"h3"),t.EFF(17,"\n                "),t.nrm(18,"a",34),t.EFF(19,"\n              "),t.k0s(),t.EFF(20,"\n              "),t.nrm(21,"p",35),t.EFF(22,"\n              "),t.j41(23,"a",36),t.EFF(24,"\n                "),t.nrm(25,"span",25),t.EFF(26,"\n                "),t.qSk(),t.j41(27,"svg",26),t.EFF(28,"\n                  "),t.nrm(29,"use",37),t.EFF(30,"\n                "),t.k0s(),t.EFF(31,"\n                "),t.j41(32,"svg",27),t.EFF(33,"\n                  "),t.nrm(34,"use",37),t.EFF(35,"\n                "),t.k0s(),t.EFF(36,"\n              "),t.k0s(),t.EFF(37,"\n            "),t.k0s(),t.EFF(38,"\n          "),t.k0s(),t.EFF(39,"\n        "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(3);t.R7$(4),t.Y8G("href",e.url,t.B4B),t.R7$(2),t.Y8G("src",a.getArticleImage(e),t.B4B)("alt",e.name),t.R7$(6),t.Lme("",t.i5U(13,10,a.getPublishedDate(e.published),"dd. MMMM YYYY")," | ",t.i5U(14,13,"latestArticlesReadTime",t.eq3(16,yc,e.readTime)),""),t.R7$(6),t.Y8G("routerLink",e.url)("innerHtml",e.name.join("<br />"),t.npT),t.R7$(3),t.Y8G("b3655WysiwygHtml",e.perex),t.R7$(2),t.Y8G("routerLink",e.url),t.R7$(2),t.Y8G("translate","latestArticlesReadMoreBtn")}}function Sc(n,i){if(1&n&&(t.EFF(0,"\n        "),t.DNE(1,wc,40,18,"article",28),t.EFF(2,"\n      ")),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",e.data.largeBoxFromBlogNode[0].articles)}}function Dc(n,i){if(1&n&&(t.j41(0,"div",7),t.EFF(1,"\n      "),t.DNE(2,vc,31,1,"article",8),t.EFF(3,"\n      "),t.DNE(4,Sc,3,1,"ng-template",9),t.EFF(5,"\n    "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngIf",e.data.smallBoxFromBlogNode[0].articles.length>0),t.R7$(2),t.Y8G("ngIf",(null==e.data.largeBoxFromBlogNode?null:e.data.largeBoxFromBlogNode.length)>0)}}new S.Vy("LatestArticlesBlockComponent");let Tc=(()=>{class n{constructor(e,a){this.generalHelper=e,this.tinySliderService=a,this.mediaUrl=L.c.apiSettings.endpoint.media,this.defaultArticlePhoto="https://satyr.io/360x286",this.sliderIdent="pabkNewsSlider",this.sliderId="slider-",this.actualSlideNum=0,this.slidesCount=0,this.sliderId="slider-"+a.getNextSliderNumber(this.sliderIdent)}ngOnInit(){this.inputData&&(this.data=new rc,Object.assign(this.data,this.inputData),void 0!==this.data.smallBoxFromBlogNode&&this.data.smallBoxFromBlogNode.length>0&&(this.data.smallBoxFromBlogNode[0].articles=[],this.data.smallBoxFromBlogNode.forEach(e=>{e?.fields?.articles.forEach(a=>{let o=new To;Object.assign(o,a),this.data.smallBoxFromBlogNode[0].articles.push(o)})})),void 0!==this.data.largeBoxFromBlogNode&&this.data.largeBoxFromBlogNode.length>0&&(this.data.largeBoxFromBlogNode[0].articles=[],this.data.largeBoxFromBlogNode.forEach(e=>{e?.fields?.articles.forEach(a=>{let o=new To;Object.assign(o,a),this.data.largeBoxFromBlogNode[0].articles.push(o)})}),this.actualSlideNum=1,this.slidesCount=this.data.smallBoxFromBlogNode[0].articles.length))}ngOnDestroy(){this.data.smallBoxFromBlogNode&&this.data.smallBoxFromBlogNode[0].articles.length>0&&this.sliderInstance.events.off("indexChanged",()=>{}),this.tinySliderService.sliderDestroy(this.sliderIdent,this.sliderId)}ngAfterViewInit(){this.data.smallBoxFromBlogNode&&this.data.smallBoxFromBlogNode[0].articles.length>0&&(this.tinySliderService.sliderInit(this.sliderIdent,this.sliderId,this.elSlider.nativeElement),this.sliderInstance=this.tinySliderService.getSliderInstance(this.sliderIdent,this.sliderId),this.sliderInstance.events.on("indexChanged",e=>{this.setSliderCounter()}))}setSliderCounter(){let e=this.sliderInstance.getInfo();this.actualSlideNum=e.index+1,this.slidesCount=e.slideCount}getPublishedDate(e){let a=new Date(e);return this.generalHelper.isValidDate(a)?a:null}getArticleImage(e){if(!e.image)return this.defaultArticlePhoto;if(e.image.crop.hasOwnProperty("article-small")){let a=e.image.crop["article-small"];if((a.match(/media/g)||[]).length>1){let o=a.split("media/");o.length>2&&(a="/media/"+o.slice(2).join("media/"))}return this.mediaUrl+a}return this.mediaUrl+e.image?.src}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(No))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-latest-articles-block"]],viewQuery:function(a,o){if(1&a&&t.GBs(kc,5),2&a){let r;t.mGM(r=t.lsd())&&(o.elSlider=r.first)}},inputs:{inputData:"inputData"},decls:17,vars:2,consts:[["slider",""],[1,"py-12","pb-24","sm:py-6","sm:pb-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-center","pb-18","sm:pb-12"],[1,"text-4xl","font-bold","leading-tight","text-orange","sm:text-3xl"],[3,"innerHtml"],["class","flex flex-wrap -m-2",4,"ngIf"],[1,"flex","flex-wrap","-m-2"],["class","w-1/3 p-2 lg:w-full",4,"ngIf"],[3,"ngIf"],[1,"w-1/3","p-2","lg:w-full"],[1,"relative"],[1,"bg-orange","border","border-orange","newsSlider"],["class","flex flex-col w-full",3,"id",4,"ngFor","ngForOf"],[1,"absolute","right-6","bottom-6","flex","items-center"],["aria-label","Previous slide","type","button",1,"flex","justify-center","items-center","w-10","h-10","text-orange","bg-white","mr-2","border","border-white","rounded-full","transition-colors","duration-150","hover:text-white","hover:bg-transparent","newsSliderPrev",3,"click"],["aria-hidden","true","focusable","false",1,"w-2","h-4","fill-current"],["href","/assets/images/icons.svg#caret-left"],["aria-label","Next slide","type","button",1,"flex","justify-center","items-center","w-10","h-10","text-orange","bg-white","border","border-white","rounded-full","transition-colors","duration-150","hover:text-white","hover:bg-transparent","newsSliderNext",3,"click"],["href","/assets/images/icons.svg#caret-right"],[1,"flex","flex-col","w-full",3,"id"],[1,"relative","h-full","pt-9","px-6","pb-24"],[1,"text-xl","font-bold","text-white","pb-6",3,"innerHtml"],[1,"leading-relaxed","text-white","pb-12","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[1,"relative","inline-flex","items-center","text-white","bg-purple-100","pl-6","py-3","pr-14","rounded","btn-arrow",3,"href"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"translate"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],["class","w-1/3 p-2 lg:w-full",4,"ngFor","ngForOf"],[1,"flex","flex-col","w-full","h-full","border","border-gray-100","rounded","overflow-hidden"],[1,"relative","flex-shrink-0","w-full","h-64","overflow-hidden","sm:h-48",3,"href"],[1,"absolute","top-1/2","left-1/2","max-w-none","min-w-full","min-h-full","transform","-translate-x-1/2","-translate-y-1/2","transition-all","duration-300","hover:scale-105",3,"src","alt"],[1,"relative","h-full","pt-9","px-6","pb-36","sm:pb-28"],[1,"text-sm","text-gray-400","pb-6"],[1,"block","text-xl","font-bold","text-orange","mb-3",3,"routerLink","innerHtml"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[1,"absolute","bottom-9","flex","justify-center","items-center","text-white","bg-purple-100","pl-6","py-3","pr-14","rounded","btn-arrow",3,"routerLink"],["href","assets/images/icons.svg#caret-right"]],template:function(a,o){1&a&&(t.j41(0,"section",1),t.EFF(1,"\n  "),t.j41(2,"div",2),t.EFF(3,"\n    "),t.j41(4,"div",3),t.EFF(5,"\n      "),t.j41(6,"h2",4),t.EFF(7,"\n        "),t.nrm(8,"span",5),t.EFF(9,"\n      "),t.k0s(),t.EFF(10,"\n      "),t.EFF(11,"\n    "),t.k0s(),t.EFF(12,"\n    "),t.DNE(13,Dc,6,2,"div",6),t.EFF(14,"\n  "),t.k0s(),t.EFF(15,"\n"),t.k0s(),t.EFF(16,"\n")),2&a&&(t.R
17$(8),t.Y8G("innerHtml",o.data.headline.join("<br />"),t.npT),t.R7$(5),t.Y8G("ngIf",(null==o.data.smallBoxFromBlogNode?null:o.data.smallBoxFromBlogNode.length)>0))},dependencies:[m.Sq,m.bT,Et.Wk,tt.Mm,W.k,H.A,Xt.D,m.vh,tt.D9]})}}return n})();class Gc{constructor(i,e=[],a){this.headline=i,this.boxes=e,this.button=a}}var Ho=v(7673);let Ic=new S.Vy("ExchangeRateService"),jc=(()=>{class n{constructor(e){this.http=e,this.apiEndpoint="exchangeRate/",this.apiEndpointList="getRates",this.apiEndpoint=L.c.apiSettings.endpoint.general+this.apiEndpoint}getAllXE(){return this.http.get(this.apiEndpoint+this.apiEndpointList).pipe()}getXeByDate(e){return this.http.get(this.apiEndpoint+this.apiEndpointList+"?date="+this.parseDateToFilteredDateFormat(e)).pipe()}handleError(e="operation",a){return o=>(console.error(o),Ic.warn(`${e} failed: ${o.message}`),(0,Ho.of)(a))}parseDateToFilteredDateFormat(e){return e.getDate()+"."+(e.getMonth()+1)+"."+e.getFullYear()}parseFilterDateFormatToDate(e){let a=e.split(".");return 3==a.length?new Date(Date.parse(a[1]+"/"+a[0]+"/"+a[2])):new Date}static{this.\u0275fac=function(a){return new(a||n)(t.KVO(Yn.Qq))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Rc=(()=>{class n{constructor(e){this.http=e,this.apiEndpoint="fund/",this.apiEndpointList="GetFunds",this.apiEndpointAllParametersPerformance="PerformanceAllParameters",this.apiEndpointAllPerformance="PerformanceAllFunds",this.apiEndpointPerformanceEra="performanceEra",this.apiEndpoint=L.c.apiSettings.endpoint.general+this.apiEndpoint}get(e){return this.http.post(this.apiEndpoint+this.apiEndpointList+this.getOptions(e),null).pipe()}getOptions(e){return e?"?"+new URLSearchParams(e).toString():""}getPerformanceAllForFund(e){return this.http.post(this.apiEndpoint+this.apiEndpointAllParametersPerformance+"?fondId="+e,null).pipe()}getPerformanceAllForFunds(){return this.http.post(this.apiEndpoint+this.apiEndpointAllPerformance,null).pipe()}getPerformanceEra(e){return this.http.post(this.apiEndpoint+this.apiEndpointPerformanceEra+this.getOptions(e),null).pipe()}static{this.\u0275fac=function(a){return new(a||n)(t.KVO(Yn.Qq))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Ia=n=>[n],Pc=()=>["background"],Yc=()=>["bg-center","bg-[length:10rem]","border","border-gray-100","rounded"],$c=()=>["bg-bottom","bg-contain"],Nc=()=>["headlineText"],Hc=(n,i)=>[n,i],Lc=()=>["buttonText","button"],Mc=()=>["button"];function Oc(n,i){if(1&n&&(t.j41(0,"article",6),t.EFF(1,"\n        "),t.j41(2,"div",7),t.EFF(3,"\n          "),t.nrm(4,"img",8),t.nI1(5,"umbracoFileSrc"),t.EFF(6,"\n          "),t.j41(7,"h3"),t.EFF(8,"\n            "),t.nrm(9,"a",9),t.nI1(10,"safeHtml"),t.EFF(11,"\n          "),t.k0s(),t.EFF(12,"\n          "),t.j41(13,"a",10),t.EFF(14,"\n            "),t.nrm(15,"span",11),t.EFF(16,"\n            "),t.qSk(),t.j41(17,"svg",12),t.EFF(18,"\n              "),t.nrm(19,"use",13),t.EFF(20,"\n            "),t.k0s(),t.EFF(21,"\n            "),t.j41(22,"svg",14),t.EFF(23,"\n              "),t.nrm(24,"use",13),t.EFF(25,"\n            "),t.k0s(),t.EFF(26,"\n          "),t.k0s(),t.EFF(27,"\n        "),t.k0s(),t.EFF(28,"\n      "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG();t.Y8G("ngClass",t.eq3(21,Ia,"w-1/"+a.data.boxes.length)),t.R7$(2),t.Y8G("pabkSetColors",t.eq3(23,Ia,e.fields.colorsClasses.background))("pabkSetColorsData",e.fields)("pabkSetColorsStyles",t.lJ4(25,Pc))("ngClass",e.fields.imageCenter?t.lJ4(26,Yc):t.lJ4(27,$c)),t.R7$(2),t.Y8G("src",a.mediaUrl+t.bMT(5,17,e.fields.image.fields.umbracoFile),t.B4B),t.R7$(5),t.Y8G("pabkSetColors",t.eq3(28,Ia,e.fields.colorsClasses.headlineText))("pabkSetColorsData",e.fields)("pabkSetColorsStyles",t.lJ4(30,Nc))("href",null==e.fields.link?null:e.fields.link.url,t.B4B)("innerHtml",t.bMT(10,19,e.fields.headline.join("<br />")),t.npT),t.R7$(4),t.Y8G("pabkSetColors",t.l_i(31,Hc,e.fields.colorsClasses.button,e.fields.colorsClasses.buttonText))("pabkSetColorsData",e.fields)("pabkSetColorsStyles",t.lJ4(34,Lc))("pabkSetColorsBorder",t.lJ4(35,Mc))("href",null==e.fields.link?null:e.fields.link.url,t.B4B),t.R7$(2),t.Y8G("innerText",e.fields.link.name)}}new S.Vy("SpecialBlockComponent");let Ac=(()=>{class n{constructor(e,a,o,r,c){this.generalHelper=e,this.colorService=a,this.exchangeRateService=o,this.fundsService=r,this.translate=c,this.mediaUrl=L.c.apiSettings.endpoint.media,this.generateCssClass=["w-1/4","w-1/3","w-1/2","w-1/1","xl:w-1/2","xl:w-1/3","xl:w-1/2","xl:w-1/1"]}ngOnInit(){this.inputData&&(this.data=new Gc,Object.assign(this.data,this.inputData),this.setColors())}ngOnDestroy(){}
1setColors(){this.data.boxes.forEach(e=>{e.fields.colorsClasses=new rt,null!=e.fields.colors&&(e.fields.colorsClasses=this.colorService.parseColors(e.fields.colors))})}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(Vt),t.rXU(jc),t.rXU(Rc),t.rXU(tt.c$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-special-block"]],inputs:{inputData:"inputData"},decls:17,vars:4,consts:[[1,"pt-12","pb-24","sm:pt-6","sm:pb-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-center","pb-18","sm:pb-12"],[1,"text-4xl","font-bold","leading-tight","text-orange","sm:text-3xl",3,"innerHtml"],[1,"flex","flex-wrap","-m-2"],["class","p-2 xl:w-1/2 sm:w-full",3,"ngClass",4,"ngFor","ngForOf"],[1,"p-2","xl:w-1/2","sm:w-full",3,"ngClass"],[1,"relative","w-full","h-96","text-center","px-6","py-9",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","ngClass"],["alt","",1,"absolute","left-1/2","bottom-0","min-w-full","transform","-translate-x-1/2",3,"src"],[1,"block","text-xl","font-bold",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","href","innerHtml"],[1,"absolute","left-1/2","bottom-9","flex","justify-center","items-center","pl-6","py-3","pr-14","border-2","rounded","transform","-translate-x-1/2","btn-arrow",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","pabkSetColorsBorder","href"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2",2,"animation-name","btn-arrow-1-out","animation-duration","0.4s","animation-fill-mode","forwards"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2",2,"animation-name","btn-arrow-2-out","animation-duration","0.4s","animation-fill-mode","forwards"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.j41(4,"div",2),t.EFF(5,"\n      "),t.nrm(6,"h2",3),t.nI1(7,"safeHtml"),t.EFF(8,"\n    "),t.k0s(),t.EFF(9,"\n    "),t.j41(10,"div",4),t.EFF(11,"\n      "),t.DNE(12,Oc,29,36,"article",5),t.EFF(13,"\n    "),t.k0s(),t.EFF(14,"\n  "),t.k0s(),t.EFF(15,"\n"),t.k0s(),t.EFF(16,"\n")),2&a&&(t.R7$(6),t.Y8G("innerHtml",t.bMT(7,2,o.data.headline.join("<br />")),t.npT),t.R7$(6),t.Y8G("ngForOf",o.data.boxes))},dependencies:[m.YU,m.Sq,H.A,Xt.D,ne,Sa,tn]})}}return n})();class Xc{}var Lo=v(4215);const Vc=()=>["pb-6"],Uc=()=>["pb-12"];
1function qc(n,i){if(1&n&&t.nrm(0,"h3",8),2&n){const e=t.XpG();t.Y8G("innerHtml",e.data.subHeadline.join("<br />"),t.npT)}}function zc(n,i){if(1&n&&(t.j41(0,"a",13),t.EFF(1,"\n          "),t.nrm(2,"span",14),t.EFF(3,"\n          "),t.qSk(),t.j41(4,"svg",15),t.EFF(5,"\n            "),t.nrm(6,"use",16),t.EFF(7,"\n          "),t.k0s(),t.EFF(8,"\n          "),t.j41(9,"svg",17),t.EFF(10,"\n            "),t.nrm(11,"use",16),t.EFF(12,"\n          "),t.k0s(),t.EFF(13,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.data.sideButton.url,t.B4B)("target",e.data.sideButton.target),t.R7$(2),t.Y8G("innerText",e.data.sideButton.name)}}function Zc(n,i){if(1&n&&(t.j41(0,"div",9),t.EFF(1,"\n        "),t.nrm(2,"h2",10),t.EFF(3,"\n\n        "),t.nrm(4,"p",11),t.EFF(5,"\n\n        "),t.DNE(6,zc,14,3,"a",12),t.EFF(7,"\n      "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("innerHtml",e.data.sideHeadline.join("<br />"),t.npT),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.data.sideContent),t.R7$(2),t.Y8G("ngIf",e.data.sideButton)}}new S.Vy("FormBlockComponent");let Jc=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorPalette=a}ngOnInit(){this.inputData&&(this.data=new Xc,Object.assign(this.data,this.inputData),this.setColors())}setColors(){this.data.colorClasses=new rt,null!=this.data.colorPalette&&this.data.colorPalette&&(this.data.colorClasses=this.colorPalette.parseColors(this.data.colorPalette.colorSets[0]))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(we))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-form-block"]],inputs:{inputData:"inputData"},decls:20,vars:9,consts:[[1,"py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-orange","sm:text-3xl",3,"ngClass","innerHtml"],["class","text-xl font-bold leading-tight text-gray-400 pb-12 sm:text-lg",3,"innerHtml",4,"ngIf"],[1,"flex","flex-wrap"],[1,"lg:w-full","max-w-xl","w-1/2"],[3,"formSettings"],["class","lg:w-full max-w-xl w-1/2 pl-8",4,"ngIf"],[1,"text-xl","font-bold","leading-tight","text-gray-400","pb-12","sm:text-lg",3,"innerHtml"],[1,"lg:w-full","max-w-xl","w-1/2","pl-8"],[1,"text-4xl","font-bold","leading-tight","text-orange","pb-12","sm:text-3xl",3,"innerHtml"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],["class","relative inline-flex justify-center items-center text-white bg-orange pl-6 py-3 pr-14 mt-12 rounded btn-arrow",3,"href","target",4,"ngIf"],[1,"relative","inline-flex","justify-center","items-center","text-white","bg-orange","pl-6","py-3","pr-14","mt-12","rounded","btn-arrow",3,"href","target"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2",2,"animation-name","btn-arrow-1-out","animation-duration","0.4s","animation-fill-mode","forwards"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2",2,"animation-name","btn-arrow-2-out","animation-duration","0.4s","animation-fill-mode","forwards"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.nrm(4,"h2",2),t.EFF(5,"\n    "),t.DNE(6,qc,1,1,"h3",3),t.EFF(7,"\n    "),t.j41(8,"div",4),t.EFF(9,"\n      "),t.j41(10,"div",5),t.EFF(11,"\n        "),t.nrm(12,"app-default-form",6),t.EFF(13,"\n      "),t.k0s(),t.EFF(14,"\n      "),t.DNE(15,Zc,8,3,"div",7),t.EFF(16,"\n    "),t.k0s(),t.EFF(17,"\n  "),t.k0s(),t.EFF(18,"\n"),t.k0s(),t.EFF(19,"\n")),2&a&&(t.R7$(4),t.Y8G("ngClass",o.data.subHeadline.length>0?t.lJ4(7,Vc):t.lJ4(8,Uc))("innerHtml",o.data.headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("ngIf",o.data.subHeadline.length>0),t.R7$(4),t.AVh("pr-8",o.data.sideEnabled),t.R7$(2),t.Y8G("formSettings",o.data.form),t.R7$(3),t.Y8G("ngIf",o.data.sideEnabled))},dependencies:[m.YU,m.bT,W.k,H.A,Lo.F]})}}return n})();function Wc(n,i){if(1&n&&(t.j41(0,"li",7),t.EFF(1,"\n      "),t.j41(2,"a",8),t.EFF(3,"\n      "),t.k0s(),t.EFF(4,"\n      "),t.nrm(5,"meta",9),t.EFF(6,"\n    "),t.k0s()),2&n){const e=i.$implicit,a=i.index;t.Y8G("ngClass",i.last?"":"after:content-['>'] after:px-2 after:text-orange"),t.R7$(2),t.Y8G("routerLink",e.url)("innerText",e.name),t.R7$(3),t.FS9("content",a+2)}}
1function Kc(n,i){if(1&n&&(t.j41(0,"div",1),t.EFF(1,"\n  "),t.j41(2,"ol",2),t.EFF(3,"\n    "),t.j41(4,"li",3),t.EFF(5,"\n      "),t.nrm(6,"a",4),t.nI1(7,"translate"),t.EFF(8,"\n      "),t.nrm(9,"meta",5),t.EFF(10,"\n    "),t.k0s(),t.EFF(11,"\n    "),t.DNE(12,Wc,7,4,"li",6),t.EFF(13,"\n  "),t.k0s(),t.EFF(14,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(6),t.Y8G("translate","breadcrumbsHomeText"),t.BMQ("aria-label",t.bMT(7,3,"breadcrumbsHomeText")),t.R7$(6),t.Y8G("ngForOf",e.data)}}let Qc=(()=>{class n{constructor(e,a,o){this.pageService=e,this.generalHelper=a,this.colorPaletteService=o,this.data=[],this.allowComponentsList=["default","heroBanner","fundDetail"],this.defaultClasses=["font-14","font-light","leading-normal","text-left","pb-25"],this.heroBannerClasses=["absolute","top-25","flex","items-center","font-14","font-light","leading-none","lg:relative","lg:top-auto","lg:pt-50","sm:pt-25"]}ngOnInit(){void 0===this.colorClasses&&(this.colorClasses=this.colorPaletteService.getColorClassesDefault()),this.fixColorClasses(),setTimeout(()=>{this.generalHelper.showBreadcrumbs(this.pageService.pageData)&&!this.generalHelper.breadcrumbsInBLock&&!this.generalHelper.breadcrumbsForceHidden&&this.setBreadcrumbs(),this.showFromComponent?this.generalHelper.breadcrumbsInBLockChange.next(!0):this.showFromComponent=this.allowComponentsList[0]},0)}fixColorClasses(){}getOlCLasses(){let e;switch(this.showFromComponent){case"default":default:e=this.defaultClasses;break;case"heroBanner":e=this.heroBannerClasses}return e}setBreadcrumbs(){let e=this.pageService.pageData.fields.GetProperty("breadcrumbsList");Object.assign(this.data,e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(we))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-breadcrumbs"]],inputs:{showFromComponent:"showFromComponent",data:[t.Mj6.None,"inputData","data"],colorClasses:"colorClasses"},decls:3,vars:1,consts:[["class","relative -mr-4 after:absolute after:top-px after:right-0 after:bottom-px after:w-10 after:bg-gradient-to-r after:from-transparent after:to-white py-2",4,"ngIf"],[1,"relative","-mr-4","after:absolute","after:top-px","after:right-0","after:bottom-px","after:w-10","after:bg-gradient-to-r","after:from-transparent","after:to-white","py-2"],["role","navigation","itemscope","","itemtype","https://schema.org/BreadcrumbList",1,"flex","items-center","pr-4","pb-4","overflow-x-auto"],["itemprop","itemListElement","itemscope","","itemtype","https://schema.org/ListItem",1,"text-sm","whitespace-nowrap","after:content-['>']","after:px-2","after:text-orange"],["itemprop","item","role","button","routerLink","/",1,"text-gray-400","transition-colors","duration-150","hover:text-orange",3,"translate"],["itemprop","position","content","1"],["itemprop","itemListElement","itemscope","","itemtype","https://schema.org/ListItem","class","text-sm whitespace-nowrap",3,"ngClass",4,"ngFor","ngForOf"],["itemprop","itemListElement","itemscope","","itemtype","https://schema.org/ListItem",1,"text-sm","whitespace-nowrap",3,"ngClass"],["role","button","itemprop","item",1,"text-gray-400","transition-colors","duration-150","hover:text-orange",3,"routerLink","innerText"],["itemprop","position",3,"content"]],template:function(a,o){1&a&&(t.EFF(0,"\n"),t.DNE(1,Kc,15,5,"div",0),t.EFF(2,"\n")),2&a&&(t.R7$(),t.Y8G("ngIf",o.data.length>0))},dependencies:[m.YU,m.Sq,m.bT,Et.Wk,tt.Mm,tt.D9]})}}return n})();function tp(n,i){if(1&n&&(t.j41(0,"section",1),t.EFF(1,"\n"),t.EFF(2,"\n  "),t.j41(3,"div",2),t.EFF(4,"\n    "),t.nrm(5,"app-breadcrumbs",3),t.EFF(6,"\n  "),t.k0s(),t.EFF(7,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(5),t.Y8G("showFromComponent",e.showFromComponent)}}let ep=(()=>{class n{constructor(e,a){this.pageService=e,this.generalHelper=a,this.containerSize=T.c.c1420,this.showBreadcrumbs=!0}ngOnInit(){this.showBreadcrumbs=this.generalHelper.showBreadcrumbs(this.pageService.pageData)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-breadcrumbs-block"]],inputs:{showFromComponent:"showFromComponent",containerSize:"containerSize"},decls:2,vars:1,consts:[["class","",4,"ngIf"],[1,""],[1,"max-w-8xl","w-full","px-4","mx-auto"],[3,"showFromComponent"]],template:function(a,o){1&a&&(t.DNE(0,tp,8,1,"section",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.showBreadcrumbs&&!o.generalHelper.breadcrumbsInBLock)},dependencies:[m.bT,Qc]})}}return n})();
1class np{constructor(i,e,a,o,r,c,f){this.headline=i,this.content=e,this.numChildrenUrlsShow=a,this.nodes=o,this.colorPalette=r,this.colorClasses=c,this.colors=f||new rt}}const On=n=>[n],Mo=()=>["headlineText"],Oo=()=>["text"],ap=(n,i)=>[n,i],op=()=>["button","buttonText"];function ip(n,i){if(1&n&&(t.j41(0,"li",10),t.EFF(1,"\n          "),t.j41(2,"h3",11),t.EFF(3),t.k0s(),t.EFF(4,"\n          "),t.j41(5,"p",12),t.EFF(6),t.nrm(7,"a",13),t.EFF(8,"\n          "),t.k0s(),t.EFF(9,"\n        "),t.k0s()),2&n){const e=i.$implicit,a=i.index,o=t.XpG();t.Y8G("ngClass",a+1>o.data.numChildrenUrlsShow?"hidden":""),t.R7$(2),t.Y8G("pabkSetColors",t.eq3(11,On,o.data.colorsClasses.headlineText))("pabkSetColorsData",o.data)("pabkSetColorsStyles",t.lJ4(13,Mo)),t.R7$(),t.JRh(e.name),t.R7$(2),t.Y8G("pabkSetColors",t.eq3(14,On,o.data.colorsClasses.text))("pabkSetColorsData",o.data)("pabkSetColorsStyles",t.lJ4(16,Oo)),t.R7$(),t.SpI("\n            ",e.description,"\n            "),t.R7$(),t.Y8G("href",e.url,t.B4B)("innerHTML",o.data.showMoreButtonText,t.npT)}}function rp(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",14),t.bIt("click",function(o){t.eBV(e);const r=t.XpG(),c=t.sdS(15);return t.Njj(r.showAllChildInContainer(c,o))}),t.EFF(1,"\n      "),t.j41(2,"a",15),t.EFF(3,"\n        "),t.nrm(4,"span",16),t.EFF(5,"\n        "),t.qSk(),t.j41(6,"svg",17),t.EFF(7,"\n          "),t.nrm(8,"use",18),t.EFF(9,"\n        "),t.k0s(),t.EFF(10,"\n        "),t.j41(11,"svg",19),t.EFF(12,"\n          "),t.nrm(13,"use",18),t.EFF(14,"\n        "),t.k0s(),t.EFF(15,"\n      "),t.k0s(),t.EFF(16,"\n    "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(2),t.Y8G("pabkSetColors",t.l_i(4,ap,e.data.colorsClasses.button,e.data.colorsClasses.buttonText))("pabkSetColorsData",e.data)("pabkSetColorsStyles",t.lJ4(7,op)),t.R7$(2),t.Y8G("innerHTML",e.data.showAllButtonText,t.npT)}}new S.Vy("ShowNodeChildrenComponent");let sp=(()=>{class n{constructor(e,a,o){this.pageService=e,this.generalHelper=a,this.colorService=o}ngOnInit(){this.inputData&&(this.data=new np,Object.assign(this.data,this.inputData),this.data.nodes=[],Object.assign(this.data.nodes,this.pageService.pageData.fields.GetProperty("children")),this.setColors())}setColors(){this.data.colorsClasses=new rt,null!=this.data.colors&&this.data.colors&&(this.data.colorsClasses=this.colorService.parseColors(this.data.colors))}showAllChildInContainer(e,a){for(let o=0;o<e.children.length;o++)e.children[o].classList.remove("hidden");a.target.parentElement.classList.add("hidden")}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(Vt))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-show-node-children"]],inputs:{inputData:"inputData"},decls:25,vars:16,consts:[["childContainer",""],[1,"py-24","sm:py-12"],[1,"max-w-7xl","w-full","px-4","mx-auto"],[1,"max-w-4xl","w-full","pb-16","mx-auto","sm:pb-12"],[1,"text-center","pb-12"],[1,"text-4xl","font-bold","leading-tight","text-center","pb-12","sm:text-3xl",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"text-lg","leading-relaxed","sm:text-base",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHTML"],[1,"pb-12"],["class","pb-12",3,"ngClass",4,"ngFor","ngForOf"],["class","flex justify-center cursor-pointer",3,"click",4,"ngIf"],[1,"pb-12",3,"ngClass"],[1,"text-xl","font-bold","pb-6","sm:text-lg","sm:pb-3",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"leading-relaxed","sm:text-sm","sm:leading-relaxed",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"underline","text-blue","transition-colors","duration-150","hover:text-orange",3,"href","innerHTML"],[1,"flex","justify-center","cursor-pointer",3,"click"],[1,"relative","inline-flex","justify-center","items-center","pl-6","py-3","pr-14","rounded","btn-arrow",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerHTML"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"]],template:function(a,o){1&a&&(t.j41(0,"section",1),t.EFF(1,"\n  "),t.j41(2,"div",2),t.EFF(3,"\n    "),t.j41(4,"div",3),t.EFF(5,"\n      "),t.j41(6,"div",4),t.EFF(7,"\n        "),t.j41(8,"h1",5),t.EFF(9),t.k0s(),t.EFF(10,"\n        "),t.nrm(11,"p",6),t.EFF(12,"\n      "),t.k0s(),t.EFF(13,"\n      "),t.j41(14,"ul",7,0),t.EFF(16,"\n        "),t.DNE(17,ip,10,17,"li",8),t.EFF(18,"\n      "),t.k0s(),t.EFF(19,"\n    "),t.k0s(),t.EFF(20,"\n    "),t.DNE(21,rp,17,8,"div",9),t.EFF(22,"\n  "),t.k0s(),t.EFF(23,"\n"),t.k0s(),t.EFF(24,"\n")),2&a&&(t.R
17$(8),t.Y8G("pabkSetColors",t.eq3(10,On,o.data.colorsClasses.headlineText))("pabkSetColorsData",o.data)("pabkSetColorsStyles",t.lJ4(12,Mo)),t.R7$(),t.JRh(o.data.headline),t.R7$(2),t.Y8G("pabkSetColors",t.eq3(13,On,o.data.colorsClasses.text))("pabkSetColorsData",o.data)("pabkSetColorsStyles",t.lJ4(15,Oo))("innerHTML",o.data.content,t.npT),t.R7$(6),t.Y8G("ngForOf",o.data.nodes),t.R7$(4),t.Y8G("ngIf",o.data.showAllButtonText&&o.data.showAllButtonText.length>0))},dependencies:[m.YU,m.Sq,m.bT,H.A,ne]})}}return n})();class lp{constructor(i,e,a=[],o=!1){this.neighbors=[],this.hideVoteBlock=!1,this.headline=i,this.description=e,this.steps=a,this.hideVoteBlock=o}}const cp=()=>["../"],pp=()=>["text-bold","text-orange","cursor-default"],mp=()=>["underline","text-blue","hover:text-orange"];function up(n,i){if(1&n&&(t.j41(0,"li",14),t.EFF(1,"\n              "),t.j41(2,"a",15),t.EFF(3),t.k0s(),t.EFF(4,"\n            "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG();t.R7$(2),t.Y8G("ngClass",a.isThisCurrentViewed(e.url)?t.lJ4(3,pp):t.lJ4(4,mp))("href",e.url,t.B4B),t.R7$(),t.SpI("\n                ",e.name,"\n              ")}}function dp(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n              "),t.nrm(2,"app-content-steps-block",18),t.EFF(3,"\n            "),t.bVm()),2&n){const e=t.XpG().$implicit,a=t.XpG();t.R7$(2),t.Y8G("inputData",a.getStepContentStepsBlock(e))}}function fp(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n          "),t.j41(2,"ng-switch",16),t.EFF(3,"\n            "),t.DNE(4,dp,4,1,"ng-container",17),t.EFF(5,"\n          "),t.k0s(),t.EFF(6,"\n        "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngSwitch",e.componentType),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsContentSteps")}}
1function hp(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",19),t.EFF(1,"\n\n          "),t.nrm(2,"div",20),t.EFF(3,"\n            "),t.j41(4,"div",21),t.EFF(5,"\n              "),t.j41(6,"span",22),t.EFF(7,"\n                "),t.j41(8,"a",23),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.sendUsefulnessAnswer("ano"))}),t.EFF(9,"\n                  "),t.j41(10,"span",24),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n                  "),t.qSk(),t.j41(14,"svg",25),t.EFF(15,"\n                    "),t.nrm(16,"use",26),t.EFF(17,"\n                  "),t.k0s(),t.EFF(18,"\n                  "),t.j41(19,"svg",27),t.EFF(20,"\n                    "),t.nrm(21,"use",26),t.EFF(22,"\n                  "),t.k0s(),t.EFF(23,"\n                "),t.k0s(),t.EFF(24,"\n              "),t.k0s(),t.EFF(25,"\n              "),t.joV(),t.j41(26,"span",22),t.EFF(27,"\n                "),t.j41(28,"a",28),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.sendUsefulnessAnswer("nie"))}),t.EFF(29,"\n                  "),t.j41(30,"span",24),t.EFF(31),t.nI1(32,"translate"),t.k0s(),t.EFF(33,"\n                  "),t.qSk(),t.j41(34,"svg",25),t.EFF(35,"\n                    "),t.nrm(36,"use",26),t.EFF(37,"\n                  "),t.k0s(),t.EFF(38,"\n                  "),t.j41(39,"svg",27),t.EFF(40,"\n                    "),t.nrm(41,"use",26),t.EFF(42,"\n                  "),t.k0s(),t.EFF(43,"\n                "),t.k0s(),t.EFF(44,"\n              "),t.k0s(),t.EFF(45,"\n            "),t.k0s(),t.EFF(46,"\n          "),t.k0s()}2&n&&(t.R7$(2),t.Y8G("translate","helpPageBlockHelpClaim"),t.R7$(9),t.SpI(" ",t.bMT(12,3,"helpPageBlockHelpClaimAnswerYes"),""),t.R7$(20),t.SpI(" ",t.bMT(32,5,"helpPageBlockHelpClaimAnswerNo"),""))}function Fp(n,i){1&n&&(t.j41(0,"div",19),t.EFF(1,"\n            "),t.nrm(2,"span",20),t.EFF(3,"\n          "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("translate","helpPageBlockHelpClaimAnswerThx"))}new S.Vy("HelpPageBlockComponent");let gp=(()=>{class n{constructor(e,a,o,r){this.pageService=e,this.generalHelper=a,this.colorPalette=o,this.router=r,this.usefulnessAnswerSend=!1}ngOnInit(){this.inputData&&(this.data=new lp,Object.assign(this.data,this.inputData),this.data.neighbors=[],Object.assign(this.data.neighbors,this.pageService.pageData.fields.GetProperty("neighbors")),this.lastUpdateDate=Date.parse(this.pageService.pageData.system.editedAt))}isThisCurrentViewed(e){return e==this.router.url||e.slice(0,-1)==this.router.url}getStepContentStepsBlock(e){return e.fields}getStepsStepBlock(e){return e.fields}sendUsefulnessAnswer(e){this.usefulnessAnswerSend=!0}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(we),t.rXU(Et.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-help-page-block"]],inputs:{inputData:"inputData"},decls:42,vars:11,consts:[[1,"py-24","sm:py-12"],[1,"max-w-7xl","w-full","px-4","mx-auto"],[1,"flex","-m-8"],[1,"flex-shrink-0","w-80","p-8","lg:hidden"],[1,"inline-flex","items-center","text-gray-400","pb-6","transition-colors","duration-150","hover:text-orange",3,"routerLink"],["aria-hidden","true","focusable","false",1,"w-2","h-4","fill-current","text-orange","mr-4"],["href","assets/images/icons.svg#caret-left"],[1,"flex","flex-col","-m-2","lg:flex-row","lg:flex-wrap","sm:-m-1"],["class","p-2 sm:p-1",4,"ngFor","ngForOf"],[1,"w-full","p-8","lg:w-full"],[1,"text-4xl","font-bold","leading-tight","text-orange","pb-12","sm:text-3xl",3,"innerHtml"],[1,"text-gray-400","pb-12",3,"b3655WysiwygHtml"],[4,"ngFor","ngForOf"],["class","flex justify-between items-center bg-gray-50 p-9 rounded md:flex-col md:justify-start",4,"ngIf"],[1,"p-2","sm:p-1"],[1,"transition-colors","duration-150",3,"ngClass","href"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"inputData"],[1,"flex","justify-between","items-center","bg-gray-50","p-9","rounded","md:flex-col","md:justify-start"],[1,"text-gray-400","md:pb-6",3,"translate"],[1,"flex","-m-1"],[1,"p-1"],[1,"cursor-pointer","relative","inline-flex","justify-center","items-center","text-white","bg-purple-100","pl-6","py-3","pr-14","border-2","border-purple-100","rounded","btn-arrow",3,"click"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],[1,"curs
1or-pointer","relative","inline-flex","justify-center","items-center","text-purple-100","pl-6","py-3","pr-14","border-2","border-purple-100","rounded","btn-arrow",3,"click"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.j41(4,"div",2),t.EFF(5,"\n      "),t.j41(6,"div",3),t.EFF(7,"\n        "),t.j41(8,"a",4),t.EFF(9,"\n          "),t.qSk(),t.j41(10,"svg",5),t.EFF(11,"\n            "),t.nrm(12,"use",6),t.EFF(13,"\n          "),t.k0s(),t.EFF(14,"\n          "),t.joV(),t.j41(15,"span"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n        "),t.k0s(),t.EFF(19,"\n        "),t.j41(20,"ul",7),t.EFF(21,"\n            "),t.DNE(22,up,5,5,"li",8),t.EFF(23,"\n        "),t.k0s(),t.EFF(24,"\n      "),t.k0s(),t.EFF(25,"\n      "),t.j41(26,"div",9),t.EFF(27,"\n        "),t.nrm(28,"h1",10),t.EFF(29,"\n        "),t.nrm(30,"p",11),t.EFF(31,"\n        "),t.DNE(32,fp,7,2,"ng-container",12),t.EFF(33,"\n        "),t.DNE(34,hp,47,7,"div",13),t.EFF(35,"\n          "),t.DNE(36,Fp,4,1,"div",13),t.EFF(37,"\n        "),t.k0s(),t.EFF(38,"\n      "),t.k0s(),t.EFF(39,"\n  "),t.k0s(),t.EFF(40,"\n"),t.k0s(),t.EFF(41,"\n")),2&a&&(t.R7$(8),t.Y8G("routerLink",t.lJ4(10,cp)),t.R7$(8),t.JRh(t.bMT(17,8,"helpPageBlockGoBackBtn")),t.R7$(6),t.Y8G("ngForOf",o.data.neighbors),t.R7$(6),t.Y8G("innerHtml",o.data.headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("b3655WysiwygHtml",o.data.description),t.R7$(2),t.Y8G("ngForOf",o.data.steps),t.R7$(2),t.Y8G("ngIf",!o.usefulnessAnswerSend),t.R7$(2),t.Y8G("ngIf",o.usefulnessAnswerSend))},dependencies:[m.YU,m.Sq,m.bT,m.ux,m.e1,Et.Wk,tt.Mm,W.k,H.A,So,tt.D9]})}}return n})();class Ao{constructor(i){this.children=[],this.headline=i}}const bp=["tabsControlPanel"];function xp(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",8),t.bIt("click",function(o){t.eBV(e);const r=t.XpG().$implicit,c=t.XpG(2);return t.Njj(c.tabClick(o,r.name))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n          ",e.name,"\n        ")}}function _p(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n        "),t.DNE(2,xp,2,1,"div",7),t.EFF(3,"\n      "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngIf",e.children)}}function Ep(n,i){if(1&n&&(t.j41(0,"div",6,0),t.EFF(2,"\n      "),t.DNE(3,_p,4,1,"ng-container",5),t.EFF(4,"\n    "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.Y8G("ngForOf",e.data.children)}}function kp(n,i){if(1&n&&(t.j41(0,"ul"),t.EFF(1,"\n        "),t.j41(2,"li",11),t.EFF(3,"\n          "),t.j41(4,"h3",12),t.EFF(5,"\n            "),t.j41(6,"a",13),t.EFF(7),t.k0s(),t.EFF(8,"\n          "),t.k0s(),t.EFF(9,"\n        "),t.k0s(),t.EFF(10,"\n      "),t.k0s()),2&n){const e=i.$implicit;t.R7$(6),t.Y8G("href",e.url,t.B4B),t.R7$(),t.JRh(e.name)}}function yp(n,i){if(1&n&&(t.j41(0,"div",10),t.EFF(1,"\n      "),t.DNE(2,kp,11,2,"ul",5),t.EFF(3,"\n    "),t.k0s()),2&n){const e=t.XpG(),a=e.$implicit,o=e.index;t.ZvI("pt-12 tabsPanel letter-",a.name,""),t.Y8G("id","tab_panel_"+(o+1)),t.BMQ("aria-labelledby","tab_btn_"+(o+1)),t.R7$(2),t.Y8G("ngForOf",a.children)}}function Cp(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n    "),t.DNE(2,yp,4,6,"div",9),t.EFF(3,"\n  "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngIf",e.children)}}let Xo=new S.Vy("DictionaryBlockComponent"),vp=(()=>{class n{constructor(e,a,o){this.pageService=e,this.generalHelper=a,this.renderer=o,this.data=new Ao}ngOnInit(){this.inputData&&(this.data=new Ao,Object.assign(this.data,this.inputData),Xo.debug(this.data,this.inputData),(0,jt.A)(this.data,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.data))),Xo.debug(this.data,this.inputData))}tabClick(e,a){const o=this.tabsControlPanel.nativeElement.parentElement.getElementsByClassName("tabsPanel"),r=this.tabsControlPanel.nativeElement.parentElement.getElementsByClassName("tabsBtn"),f=this.tabsControlPanel.nativeElement.parentElement.getElementsByClassName("letter-"+a);for(let b of r)b.classList.remove("after:w-full"),b.classList.add("after:w-0");let h=e.currentTarget;h.classList.add("after:w-full"),h.classList.remove("after:w-0");for(let b of o)b.classList.add("hidden");for(let b of f)b.classList.remove("hidden")}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(t.sFG))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-dictionary-block"]],viewQuery:function(a,o){if(1&a&&t.GBs(bp,5),2&a){let r;t.mGM(r=t.lsd())&&(o.tabsControlPanel=r.first)}},inputs:{inputData:"inputData"},decls:12,vars:3,consts:[["tabsControlPanel",""],[1,"py-24","sm:py-12"],[1,"max-w-7xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6",3,"innerHtml"],["class","flex justify-center items-center border-b border-gray-100 xl:justify-start xl:overflow-x-auto xl:overflow-y-hidden",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center","border-b","border-gray-100","xl:justify-start","xl:overflow-x-auto","xl:overflow-y-hidden"],["aria-selected","false","class","relative text-gray-400 p-4 after:absolute after:left-0 after:-bottom-px after:w-0 after:h-1 after:bg-orange after:transition-all after:duration-150 hover:after:w-full tabsBtn","role","tab",3,"click",4,"ngIf"],["aria-selected","false","role","tab",1,"relative","text-gray-400","p-4","after:absolute","after:left-0","after:-bottom-px","after:w-0","after:h-1","after:bg-orange","after:transition-all","after:duration-150","hover:after:w-full","tabsBtn",3,"click"],["role","tabpanel",3,"id","class",4,"ngIf"],["role","tabpanel",3,"id"],[1,"pb-6"],[1,"text-xl","font-bold","text-orange","sm:text-lg","sm:pb-3"],[3,"href"]],template:function(a,o){1&a&&(t.j41(0,"section",1),t.EFF(1,"\n  "),t.j41(2,"div",2),t.EFF(3,"\n    "),t.nrm(4,"h1",3),t.EFF(5,"\n    "),t.DNE(6,Ep,5,1,"div",4),t.EFF(7,"\n  "),t.DNE(8,Cp,4,1,"ng-container",5),t.EFF(9,"\n  "),t.k0s(),t.EFF(10,"\n"),t.k0s(),t.EFF(11,"\n")),2&a&&(t.R
17$(4),t.Y8G("innerHtml",o.data.headline.join("<br />"),t.npT),t.R7$(2),t.Y8G("ngIf",o.data),t.R7$(2),t.Y8G("ngForOf",o.data.children))},dependencies:[m.Sq,m.bT,H.A]})}}return n})();class wp{constructor(i,e,a,o,r,c,f,h,b){this.size=i,this.textPosition=e,this.title=a,this.description=o,this.content=r,this.showStoreButtons=c,this.buttons=f,this.backgroundImage=h,this.colors=b||new rt}}const Vo=(n,i)=>[n,i],Sp=()=>["background","text"],rn=n=>[n],Dp=()=>["headlineText"],Uo=()=>["text"],Tp=()=>["pt-12","justify-center"],Gp=()=>["pt-12"],Bp=()=>["button","buttonText"],qo=()=>["iconColor"];function Ip(n,i){if(1&n&&t.nrm(0,"h1",9),2&n){const e=t.XpG();t.Y8G("pabkSetColors",t.eq3(4,rn,e.data.colorsClasses.headlineText))("pabkSetColorsData",e.data)("pabkSetColorsStyles",t.lJ4(6,Dp))("innerHTML",e.data.title,t.npT)}}function jp(n,i){if(1&n&&t.nrm(0,"p",10),2&n){const e=t.XpG();t.Y8G("pabkSetColors",t.eq3(4,rn,e.data.colorsClasses.text))("pabkSetColorsData",e.data)("pabkSetColorsStyles",t.lJ4(6,Uo))("b3655WysiwygHtml",e.data.description)}}function Rp(n,i){if(1&n&&t.nrm(0,"p",10),2&n){const e=t.XpG();t.Y8G("pabkSetColors",t.eq3(4,rn,e.data.colorsClasses.text))("pabkSetColorsData",e.data)("pabkSetColorsStyles",t.lJ4(6,Uo))("b3655WysiwygHtml",e.finalText)}}function Pp(n,i){if(1&n&&t.nrm(0,"app-stores-button",11),2&n){const e=t.XpG();t.Y8G("extraClasses","center"==e.data.textPosition?t.lJ4(1,Tp):t.lJ4(2,Gp))}}function Yp(n,i){if(1&n&&(t.j41(0,"a",12),t.EFF(1,"\n          "),t.nrm(2,"span",13),t.EFF(3,"\n          "),t.qSk(),t.j41(4,"svg",14),t.EFF(5,"\n            "),t.nrm(6,"use",15),t.EFF(7,"\n          "),t.k0s(),t.EFF(8,"\n          "),t.j41(9,"svg",16),t.EFF(10,"\n            "),t.nrm(11,"use",15),t.EFF(12,"\n          "),t.k0s(),t.EFF(13,"\n        "),t.k0s()),2&n){const e=i.$implicit,a=i.first,o=i.last,r=t.XpG();t.AVh("mr-4",!o)("mt-12",a)("mt-4",!a),t.Y8G("href",e.url,t.B4B)("target",e.target)("pabkSetColors",t.l_i(22,Vo,r.data.colorsClasses.button,r.data.colorsClasses.buttonText))("pabkSetColorsData",r.data)("pabkSetColorsStyles",t.lJ4(25,Bp)),t.R7$(2),t.Y8G("innerHtml",e.name,t.npT),t.R7$(2),t.AVh("fill-current",!(null!=r.data.colors&&r.data.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(26,rn,r.data.colorsClasses.iconColor))("pabkSetColorsData",r.data)("pabkSetColorsStyles",t.lJ4(28,qo)),t.R7$(5),t.AVh("fill-current",!(null!=r.data.colors&&r.data.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(29,rn,r.data.colorsClasses.iconColor))("pabkSetColorsData",r.data)("pabkSetColorsStyles",t.lJ4(31,qo))}}function $p(n,i){if(1&n&&(t.nrm(0,"img",17),t.nI1(1,"umbracoFileSrc")),2&n){const e=t.XpG();t.Y8G("src",e.mediaUrl+t.bMT(1,2,null==e.data.backgroundImage||null==e.data.backgroundImage.fields?null:e.data.backgroundImage.fields.umbracoFile),t.B4B)("ngClass",e.getClassesForImgPosition())}}let An=new S.Vy("BigBannerBlockTypeHeroComponent"),Np=(()=>{class n{constructor(e){this.route=e,this.finalText="",this.urlParams=this.readParams(),this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){"object"==typeof this.data.textPosition&&this.data.textPosition&&(this.data.textPosition=this.data.textPosition[0]),this.generateVariablesFromQueries(),this.finalText=this.replaceAll(this.data.content,{},this.getSnapShot()),An.debug(this.finalText)}readParams(){return this.route.queryParams.subscribe(e=>{this.params=e}),this.params}generateVariablesFromQueries(){return this.route.queryParamMap.subscribe(e=>{this.paramsObject={...e.keys,...e},An.debug(this.paramsObject)}),this.paramsObject}replaceAll(e,a,o){return e.replace(/\{\{[^}]+\}\}/g,function(c){if(c){let f=c,h=f.includes("||")?f.split("{{").pop().split(" ||")[0]:f.replace("{{","").replace("}}",""),b=f.includes("||")?f.split("||").pop().split("}}")[0]:f,w=o.queryParams[h]?o.queryParams[h]:b;return o.queryParams[h]&&An.debug(o.queryParams[h]),An.debug(w),a[f]=w.includes("{{")?"":w}})}getSnapShot(){return this.route.snapshot}getClassesForTextPosition(){let e=[];switch(this.data.textPosition){case"left":default:e.push("max-w-xl w-full");break;case"right":e.push("max-w-xl self-end lg:self-auto");break;case"center":e.push("max-w-xl m-auto")}return e}getClassesForImgPosition(){let e=[];switch(this.data.textPosition){case"left":case"center":default:e.push("right-4 2xl:right-60 xl:right-0");break;case"right":e.push("")}return e}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Et.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-big-banner-block-type-hero"]],inputs:{data:[t.Mj6.None,"inputData","data"]},decls:24,vars:16,consts:[[1,"relative","flex","flex-col","justify-center","w-full","h-[32rem]","lg:h-auto","lg:py-24","sm:py-12",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"relative","flex","flex-col","lg:items-center","lg:text-center"],[1,"lg:pb-24","sm:pb-12","sm:w-auto","sm:pr-0","lg:pr-20","xl:pr-20","2xl:pr-20",3,"ngClass"],["class","text-5xl font-bold leading-tight pb-6 sm:text-4xl",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHTML",4,"ngIf"],["class","sm:text-sm sm:leading-relaxed",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","b3655WysiwygHtml",4,"ngIf"],[3,"extraClasse
1s",4,"ngIf"],["class","relative inline-flex justify-center items-center no-underline pl-6 py-3 pr-14 border-2 border-white rounded btn-arrow",3,"href","target","mr-4","mt-12","mt-4","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles",4,"ngFor","ngForOf"],["alt","","class","absolute top-1/2 w-auto h-[28rem] transform -translate-y-1/2 lg:relative lg:top-auto lg:right-auto lg:transform-none sm:h-80",3,"src","ngClass",4,"ngIf"],[1,"text-5xl","font-bold","leading-tight","pb-6","sm:text-4xl",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","innerHTML"],[1,"sm:text-sm","sm:leading-relaxed",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","b3655WysiwygHtml"],[3,"extraClasses"],[1,"relative","inline-flex","justify-center","items-center","no-underline","pl-6","py-3","pr-14","border-2","border-white","rounded","btn-arrow",3,"href","target","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerHtml"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","opacity-0","transform","-translate-y-1/2",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","transform","-translate-y-1/2",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["alt","",1,"absolute","top-1/2","w-auto","h-[28rem]","transform","-translate-y-1/2","lg:relative","lg:top-auto","lg:right-auto","lg:transform-none","sm:h-80",3,"src","ngClass"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.j41(4,"div",2),t.EFF(5,"\n      "),t.j41(6,"div",3),t.EFF(7,"\n        "),t.DNE(8,Ip,1,7,"h1",4),t.EFF(9,"\n        "),t.DNE(10,jp,1,7,"p",5),t.EFF(11,"\n        "),t.DNE(12,Rp,1,7,"p",5),t.EFF(13,"\n\n        "),t.DNE(14,Pp,1,3,"app-stores-button",6),t.EFF(15,"\n\n        "),t.DNE(16,Yp,14,32,"a",7),t.EFF(17,"\n      "),t.k0s(),t.EFF(18,"\n      "),t.DNE(19,$p,2,4,"img",8),t.EFF(20,"\n    "),t.k0s(),t.EFF(21,"\n  "),t.k0s(),t.EFF(22,"\n"),t.k0s(),t.EFF(23,"\n")),2&a&&(t.Y8G("pabkSetColors",t.l_i(12,Vo,o.data.colorsClasses.background,o.data.colorsClasses.text))("pabkSetColorsData",o.data)("pabkSetColorsStyles",t.lJ4(15,Sp)),t.R7$(4),t.AVh("text-center","center"==o.data.textPosition),t.R7$(2),t.Y8G("ngClass",o.getClassesForTextPosition()),t.R7$(2),t.Y8G("ngIf",o.data.title),t.R7$(2),t.Y8G("ngIf",o.data.description),t.R7$(2),t.Y8G("ngIf",o.data.content),t.R7$(2),t.Y8G("ngIf",o.data.showStoreButtons),t.R7$(2),t.Y8G("ngForOf",o.data.buttons),t.R7$(3),t.Y8G("ngIf",o.data.backgroundImage))},dependencies:[m.YU,m.Sq,m.bT,W.k,H.A,wa,Xt.D,ne,tn]})}}return n})();const Xn=n=>[n],Hp=()=>["headlineText"],Lp=()=>["text"],Mp=(n,i)=>[n,i],Op=()=>["button","buttonText"],zo=()=>["iconColor"];function Ap(n,i){1&n&&t.nrm(0,"app-stores-button")}function Xp(n,i){if(1&n&&(t.j41(0,"a",8),t.EFF(1,"\n          "),t.nrm(2,"span",9),t.EFF(3,"\n          "),t.qSk(),t.j41(4,"svg",10),t.EFF(5,"\n            "),t.nrm(6,"use",11),t.EFF(7,"\n          "),t.k0s(),t.EFF(8,"\n          "),t.j41(9,"svg",12),t.EFF(10,"\n            "),t.nrm(11,"use",11),t.EFF(12,"\n          "),t.k0s(),t.EFF(13,"\n        "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(2);t.Y8G("ngClass",a.data.showStoreButtons?"mt-12":"")("href",e.url,t.B4B)("target",e.target)("pabkSetColors",t.l_i(17,Mp,a.data.colorsClasses.button,a.data.colorsClasses.buttonText))("pabkSetColorsData",a.data)("pabkSetColorsStyles",t.lJ4(20,Op)),t.R7$(2),t.Y8G("innerHtml",e.name,t.npT),t.R7$(2),t.AVh("fill-current",!(null!=a.data.colors&&a.data.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(21,Xn,a.data.colorsClasses.iconColor))("pabkSetColorsData",a.data)("pabkSetColorsStyles",t.lJ4(23,zo)),t.R7$(5),t.AVh("fill-current",!(null!=a.data.colors&&a.data.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(24,Xn,a.data.colorsClasses.iconColor))("pabkSetColorsData",a.data)("pabkSetColorsStyles",t.lJ4(26,zo))}}function Vp(n,i){if(1&n&&(t.j41(0,"section",2),t.nI1(1,"umbracoFileSrc"),t.EFF(2,"\n  "),t.j41(3,"div",3),t.EFF(4,"\n    "),t.j41(5,"div",3),t.EFF(6,"\n      "),t.j41(7,"div",3),t.EFF(8,"\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.EFF(11,"\n"),t.EFF(12,"\n        "),t.nrm(13,"h2",4),t.EFF(14,"\n\n        "),t.nrm(15,"p",5),t.EFF(16,"\n\n        "),t.DNE(17,Ap,1,0,"app-stores-button",6),t.EFF(18,"\n\n        "),t.DNE(19,Xp,14,27,"a",7),t.EFF(20,"\n      "),t.k0s(),t.EFF(21,"\n    "),t.k0s(),t.EFF(22,"\n  "),t.k0s(),t.EFF(23,"\n"),t.k0s()),2&n){const e=t.XpG();t.xc7("background-image","url("+e.mediaUrl+t.bMT(1,16,null==e.data.backgroundImage||null==e.data.backgroundImage.fields?null:e.data.backgroundImage.fields.umbracoFile)+")"),t.Y8G("ngClass","big"==e.data.size?e.sizes.level0.big:e.sizes.level0.normal),t.R7$(3),t.Y8G("ngClass","big"==e.data.size?e.sizes.level1.big:e.sizes.level1.normal),t.R7$(2),t.Y8G("ngClass","big"==e.data.size?e.sizes.level2.big:e.sizes.level2.normal),t.R7$(2),t.Y8G("ngClass","big"==e.data.size?e.sizes.level3.big:e.sizes.level3.normal),t.R7$(6),t.Y8G("pabkSetColors",t.eq3(18,Xn,e.data.colorsClasses.headlineText))("pabkSetColorsData",e.data)("pabkSetColorsStyles",t.lJ4(20,Hp))("b3655WysiwygHtml",e.data.description),t.R7$(2),t.Y8G("pabkSetColors",t.eq3(21,Xn,e.data.colorsClasses.text))("pabkSetColorsData",e.data)("pabkSetColorsStyles",t.lJ4(23,Lp))("b3655WysiwygHtml",e.finalText),t.R7$(2),t.Y8G("ngIf",e.data.showStoreButtons),t.R7$(2),t.Y8G("ngForOf",e.data.buttons)}}
1function Up(n,i){if(1&n&&t.nrm(0,"app-big-banner-block-type-hero",13),2&n){const e=t.XpG();t.Y8G("inputData",e.data)}}let Vn=new S.Vy("BigBannerBlockComponent"),qp=(()=>{class n{constructor(e,a,o){this.colorPalette=e,this.colorService=a,this.route=o,this.finalText="",this.urlParams=this.readParams(),this.sizes={level0:{normal:["text-white bg-purple-100 bg-cover bg-right bg-no-repeat lg:bg-bottom banner2"],big:["flex flex-col justify-center w-full h-[36rem] bg-cover bg-right bg-no-repeat lg:text-center sm:h-96"]},level1:{normal:["max-w-8xl w-full px-4 mx-auto"],big:["max-w-8xl w-full px-4 mx-auto"]},level2:{normal:["flex items-center w-full h-96 lg:items-start lg:h-[44rem] lg:py-24 sm:h-[36rem]"],big:["max-w-xl"]},level3:{normal:["w-1/2 lg:w-full lg:text-center"],big:[""]}},this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){this.inputData&&(this.data=new wp,Object.assign(this.data,this.inputData),this.setColors()),this.generateVariablesFromQueries(),this.finalText=this.replaceAll(this.data.content,{},this.getSnapShot()),Vn.debug(this.finalText)}readParams(){return this.route.queryParams.subscribe(e=>{this.params=e}),this.params}generateVariablesFromQueries(){return this.route.queryParamMap.subscribe(e=>{this.paramsObject={...e.keys,...e},Vn.debug(this.paramsObject)}),this.paramsObject}replaceAll(e,a,o){return e.replace(/\{\{[^}]+\}\}/g,function(c){if(c){let f=c,h=f.includes("||")?f.split("{{").pop().split(" ||")[0]:f.replace("{{","").replace("}}",""),b=f.includes("||")?f.split("||").pop().split("}}")[0]:f,w=o.queryParams[h]?o.queryParams[h]:b;return o.queryParams[h]&&Vn.debug(o.queryParams[h]),Vn.debug(w),a[f]=w.includes("{{")?"":w}})}getSnapShot(){return this.route.snapshot}setColors(){this.data.colorsClasses=new rt,null!=this.data.colors&&this.data.colors&&(this.data.colorsClasses=this.colorService.parseColors(this.data.colors))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(we),t.rXU(Vt),t.rXU(Et.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-big-banner-block"]],inputs:{inputData:"inputData"},decls:4,vars:2,consts:[["class","bg-right bg-cover lg:bg-bottom",3,"background-image","ngClass",4,"ngIf"],[3,"inputData",4,"ngIf"],[1,"bg-right","bg-cover","lg:bg-bottom",3,"ngClass"],[1,"",3,"ngClass"],[1,"text-4xl","leading-normal","pb-12","sm:text-3xl","sm:leading-normal",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","b3655WysiwygHtml"],[1,"leading-relaxed","pb-12","sm:text-sm","sm:leading-relaxed","sm:pb-6",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles","b3655WysiwygHtml"],[4,"ngIf"],["class","relative inline-flex items-center pl-6 py-3 pr-14 rounded btn-arrow",3,"ngClass","href","target","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles",4,"ngFor","ngForOf"],[1,"relative","inline-flex","items-center","pl-6","py-3","pr-14","rounded","btn-arrow",3,"ngClass","href","target","pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerHtml"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","opacity-0","transform","-translate-y-1/2",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","transform","-translate-y-1/2",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],[3,"inputData"]],template:function(a,o){1&a&&(t.DNE(0,Vp,24,24,"section",0),t.EFF(1,"\n\n"),t.DNE(2,Up,1,1,"app-big-banner-block-type-hero",1),t.EFF(3,"\n")),2&a&&(t.Y8G("ngIf",o.data&&("big"==o.data.size||"normal"==o.data.size)),t.R7$(2),t.Y8G("ngIf",o.data&&"hero"==o.data.size))},dependencies:[m.YU,m.Sq,m.bT,W.k,H.A,wa,ne,Np,tn]})}}return n})();class Zo{parseSettingFromJson(){if("string"==typeof this.calculatorSettings[0].fields.jsonSettings)try{return this.repairJsonData(JSON.parse(this.calculatorSettings[0].fields.jsonSettings))}catch(i){console.error(i)}return this.repairJsonData(this.calculatorSettings[0].fields.jsonSettings)}repairJsonData(i){return this.traverse(i,this.repairJsonDataProcess),i}repairJsonDataProcess(i,e){return"string"==typeof e&&""!==e&&!isNaN(Number(e))&&(e=Number(e)),e}traverse(i,e){for(let a in i)i[a]=e.apply(this,[a,i[a]]),null!==i[a]&&"object"==typeof i[a]&&this.traverse(i[a],e)}}class Un extends Zo{constructor(i){super(),this.calculatorSettings=i}getSettings(){return this.calculatorSettings[0].fields}}var pt=v(7747);class sn{mergeFromCms(i){}}class zp extends sn{constructor(i){super(),(0,pt.A)(this,i)}mergeFromCms(i){let e={loanInterest:5.99,feePercentage:.01,tooltip_heading:"Chcel by som si po\u017ei\u010da\u0165",tooltip_text:"Fruitcake jelly beans tootsie roll pastry danish danish cake cookie. Cake muffin croissant cheesecake sweet candy canes.",tooltip_text_bottom:"Chcel by som si po\u017ei\u010da\u0165",insurance:{without:0,withoutText:"Bez poistenia ",basic:.12,basicText:"Z\xe1kladn\xfd s\xfabor ",basicTextAdditional:"Lorem ipsum dolor sit",complex:.14,complexText:"Komplexn\xfd s\xfabor ",complexTextAdditional:"Lorem ipsum dolor sit amet consectetur."},loan_input:{ariaLabel:"V\xfd\u0161ka \xfaveru",label:"V\xfd\u0161ka \xfaveru",max:3e4,min:300,default:6e3},loan_duration_input:{ariaLabel:"Splatnos\u0165",label:"Splatnos\u0165",max:8,max_lower:5,min:1,default:7,breakpoint:799},additional_text:{heading:"Reprezentat\xedvny pr\xedklad",frist_p:"Reprezentat\xedvny pr\xedklad RPMN: Klient z\xedskal \xfaver 16 000 \u20ac. Spl\xe1ca\u0165 ho bude 6 rokov. Uhrad\xed 72 spl\xe1tok vo v\xfd\u0161ke 281,6 \u20ac. V mesa\u010dnej spl\xe1tke je zahrnut\xfd poplatok za poistenie k \xfaveru 17,19 \u20ac. \xdarokov\xe1 sadzba \xfaveru je 5,9 % ro\u010dne. Ro\u010dn\xe1 percentu\xe1lna miera n\xe1kladov je 8,45 %. Z\u013eava z poplatku za poskytnutie \xfaveru je vo v\xfd\u0161ke 100 %. Celkov\xe1 \u010diastka spojen\xe1 s \xfaverom je 20 275,2 \u20ac.",second_p:"V\xfdpo\u010det je ur\u010den\xfd len na informat\xedvne \xfa\u010dely. V\xfd\u0161ka \xfarokovej sadzby je len informat\xedvna a z\xe1vis\xed od pos\xfadenia celkovej bonity klienta. Pre produkt spotrebn\xfd \xfaver je minim\xe1lna doba splatnosti 1 rok, maxim\xe1lna doba splatnosti 8 rokov."}
1,review:{side_description:"Orienta\u010dn\xe1 spl\xe1tka",loan:"V\xfd\u0161ka \xfaveru:",monthly:"Vyska mesacnej splatky:",due:"Doba splatnosti:",interest:"Urokova sadzba:",interest_unit:"p.a.",interest_unit_superscripted:"1",insurance:"Mes. naklady poistenie:",price:"Poplatok za poskytnutie:",total:"Celkova suma:"},rpmn:i.getSettings().rpmn},a=i.parseSettingFromJson();(0,pt.A)(this,e,a)}}var Zp=v(6697);let ln=(()=>{class n extends d.J3{constructor(e,a,o,r){super(a,o,r),this.trackInput=e,this.trackInputDefData={eventType:"touch_calculator",componentType:"calculator"},this.handleG4Tracking()}handleG4Tracking(){const e=Object.assign(this.trackInputDefData,this.trackInput);e.componentId||(e.componentId="clc-"+e.componentName.replace(/_/g,"-")),this.statusChanges.pipe((0,Zp.s)(1)).subscribe(a=>{this.trackInput.analyticService.GA4TrackCalculator(e.eventType,e.componentType,e.componentName,e.componentId)})}static{this.\u0275fac=function(a){t.QTQ()}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),Me=(()=>{class n{constructor(){}formatSymbol(e,a,o){let r=this.selectSymbol(e,a);return o?"\u20ac"===a?this.formatPrice(e,"whole-price"):e+" "+r:r}selectSymbol(e,a){return"month"===a?1==e?" mesiac":e>0&&e<5?" mesiace":" mesiacov":"year"===a?1==e?" rok":e>0&&e<5?" roky":" rokov":a}formatPrice(e,a){switch(a){case"whole-price":return e.toLocaleString("fi-FI",{minimumFractionDigits:0,maximumFractionDigits:0,style:"currency",currency:"EUR"});case"classic-price":return e.toLocaleString("fi-FI",{style:"currency",currency:"EUR"})}return e}formatPercentage(e,a){return parseFloat((a?100*e:e).toFixed(2))+" % ro\u010dne"}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Jp=v(5951);let ja=(()=>{class n{static{this._storageFormKey="FormDataFromCalc"}constructor(e,a){this.route=e,this.storageService=a,this.readParams()}readParams(){this.route.queryParams.subscribe(e=>{this.params=e})}getValueFormUrl(e,a=0){return e in this.params?this.params[e]:a}calculateRPMN(e,a,o,r){console.log("loanamount "+e),console.log("numpayments "+a),console.log("loanInterest "+o),console.log("monthlyPayment "+r);var c=1,f=-e,h=0,b=o,w=0,$=e,G=0,M=0,Q=r,zt=a;for(let Se=0;Se<50;Se++){var bt=0,Ae=0;h=0,bt+=f/Math.pow(1+c,h);for(let De=0;De<zt;De++)w=Math.round($*b*31/365)/100,G=Math.round(100*(Q-w))/100,h=De/12,$=Math.round(100*($-G))/100,Ae+=(w+G)/Math.pow(1+c,h),$<Q&&0<$&&(M=$);bt+Ae<0?c-=Math.pow(.5,Se):c+=Math.pow(.5,Se)}return[(100*c).toFixed(2),M,Q*(zt-1)+M]}saveDataForForm(e,a){let o;try{o=JSON.parse(this.storageService.getItem(n._storageFormKey))}catch(r){console.error(r),o={}}o||(o={}),o[e]=a,this.storageService.setItem(n._storageFormKey,JSON.stringify(o))}getDataForForm(){return this.storageService.getItem(n._storageFormKey)}clearDataForForm(){this.storageService.removeItem(n._storageFormKey)}static{this.\u0275fac=function(a){return new(a||n)(t.KVO(Et.nX),t.KVO(Jp.n))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Wp(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"h3",4),t.EFF(3),t.k0s(),t.EFF(4,"\n    "),t.EFF(5,"\n  "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(e.toolTipHeading)}}function Kp(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.j41(2,"div",8),t.EFF(3,"\n                    "),t.nrm(4,"input",9),t.EFF(5,"\n                    "),t.j41(6,"label",10),t.EFF(7),t.j41(8,"span",11),t.EFF(9),t.k0s()(),t.EFF(10,"\n                "),t.k0s(),t.EFF(11,"\n            "),t.bVm()),2&n){const e=t.XpG(2),a=e.$implicit,o=e.index,r=t.XpG(2);t.R7$(4),t.FS9("name",a.formName),t.FS9("formControlName",a.formName),t.FS9("id",r.idPrefix+"__"+o+"_ID_"+a.formName),t.Y8G("value",a.value)("checked",r.current==a.value),t.R7$(2),t.FS9("for",r.idPrefix+"__"+o+"_ID_"+a.formName),t.R7$(),t.SpI(" ",a.label," "),t.R7$(2),t.JRh(a.label_additional)}}function Qp(n,i){if(1&n&&(t.qex(0,6),t.EFF(1,"\n            "),t.DNE(2,Kp,12,8,"ng-container",7),t.EFF(3,"\n        "),t.bVm()),2&n){const e=t.XpG(3);t.Y8G("ngSwitch",e.type),t.R7$(2),t.Y8G("ngSwitchCase","round")}}function tm(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n        "),t.DNE(2,Qp,4,2,"ng-container",5),t.EFF(3,"\n    "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngIf",e.label.length>0&&(void 0===e.hiddenConditions||!0===e.hiddenConditions))}}function em(n,i){if(1&n&&(t.qex(0,1),t.EFF(1,"\n  "),t.DNE(2,Wp,6,1,"ng-container",2),t.EFF(3,"\n    "),t.DNE(4,tm,4,1,"ng-container",3),t.EFF(5,"\n"),t.bVm()),2&n){const e=t.XpG();t.Y8G("formGroup",e.form),t.R7$(2),t.Y8G("ngIf",e.toolTipHeading&&e.toolTipText),t.R7$(2),t.Y8G("ngForOf",e.options)}}let qn=(()=>{class n{constructor(){this.gridded=!1,this.type="round",this.idPrefix="p-"+Math.random(),this.hidden=!1}ngOnInit(){}showTooltip(e){const{target:a}=e;a.setAttribute("aria-expanded",!0),a.nextElementSibling.hidden=!1}hideTooltip(e){const{target:a}=e;a.setAttribute("aria-expanded",!1),a.nextElementSibling.hidden=!0}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["pabk-clc-radio"]],inputs:{current:"current",form:"form",options:"options",gridded:"gridded",gridClass:"gridClass",gridContainerClass:"gridContainerClass",type:"type",toolTipHeading:"toolTipHeading",toolTipText:"toolTipText",idPrefix:"idPrefix",hidden:"hidden"},decls:2,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"text-xl","font-bold","text-orange","pb-6"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"flex","items-center","pb-4"],["type","radio",1,"w-6","h-6","text-orange","transition-colors","duration-150","focus:outline-none","focus:ring-2","focus:ring-orange","focus:ring-offset-2","focus:ring-opacity-60",3,"name","formControlName","value","id","checked"],[1,"font-bold","text-gray-400","pl-4","sm:text-sm",3,"for"],[1,"font-medium"]],template:function(a,o){1&a&&(t.DNE(0,em,6,3,"ng-container",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.options)},dependencies:[m.Sq,m.bT,m.ux,m.e1,d.me,d.Fm,d.BC,d.cb,d.j4,d.JD]})}}return n})();var nm=v(9172),am=v(9974),om=v(4360);let rm=(()=>{class n{constructor(e){this.formatService=e,this.whiteColor=!1,this.minValue=0,this.maxValue=0,this.step=1,this.symbol="\u20ac",this.form=new d.J3({}),this.formName="",this.inputValue="0"}ngOnInit(){}formatSymbol(e){return this.formatService.formatSymbol(e,this.symbol,!0)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Me))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["pabk-clc-slider"]],inputs:{whiteColor:"whiteColor",minValue:"minValue",maxValue:"maxValue",step:"step",symbol:"symbol",form:"form",formName:"formName"},decls:11,vars:8,consts:[[1,"",3,"formGroup"],["type","range",1,"w-full","range",3,"min","max","formControlName","name","step"],[1,"absolute","left-12","-bottom-10","text-gray-400","md:left-0"],[1,"absolute","right-12","-bottom-10","text-gray-400","md:right-0"]],template:function(a,o){1&a&&(t.j41(0,"div",0),t.EFF(1,"\n    "),t.nrm(2,"input",1),t.EFF(3,"\n    "),t.j41(4,"span",2),t.EFF(5),t.k0s(),t.EFF(6,"\n    "),t.j41(7,"span",3),t.EFF(8),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n")),2&a&&(t.Y8G("formGroup",o.form),t.R7$(2),t.Y8G("min",o.minValue)("max",o.maxValue)("formControlName",o.formName)("name",o.formName)("step",o.step),t.R7$(3),t.JRh(o.formatSymbol(o.minValue)),t.R7$(3),t.JRh(o.formatSymbol(o.maxValue)))},dependencies:[d.me,d.MR,d.BC,d.cb,d.j4,d.JD],styles:["input[_ngcontent-%COMP%]:disabled{opacity:.7}input[_ngcontent-%COMP%]:disabled ~ span[_ngcontent-%COMP%]{opacity:.7}"]})}}return n})(),Jo=(()=>{class n{constructor(e){this.formatService=e,this.symbol="\u20ac",this.widthInput="",this.form=new d.J3({}),this.formName="",this.readonly=!1}ngOnInit(){this.form.controls[this.formName].statusChanges.subscribe(e=>{if("INVALID"===e)if(this.form.controls[this.formName].errors?.max){const{max:a}=this.form.controls[this.formName].errors?.max;this.form.controls[this.formName].setValue(a)}else if(this.form.controls[this.formName].errors?.min){const{min:a}=this.form.controls[this.formName].errors?.min;this.form.controls[this.formName].setValue(a)}else this.form.controls[this.formName].errors?.required&&this.form.controls[this.formName].setValue(0)})}formatSymbol(){return this.formatService.formatSymbol(this.form.controls[this.formName].value,this.symbol,!1)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Me))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["pabk-clc-input"]],inputs:{symbol
1:"symbol",widthInput:"widthInput",form:"form",formName:"formName",readonly:"readonly"},decls:8,vars:7,consts:[[1,"",3,"formGroup"],["type","number","lang","de-DE",1,"text-gray-400","bg-transparent","pl-3","py-3","pr-12","border-0","appearance-none",3,"formControlName","name","readonly"]],template:function(a,o){1&a&&(t.j41(0,"div",0),t.EFF(1,"\n    "),t.nrm(2,"input",1),t.EFF(3,"\n    "),t.j41(4,"span"),t.EFF(5),t.k0s(),t.EFF(6,"\n"),t.k0s(),t.EFF(7,"\n")),2&a&&(t.Y8G("formGroup",o.form),t.R7$(2),t.Y8G("formControlName",o.formName)("name",o.formName)("readonly",o.readonly),t.R7$(2),t.HbH("absolute top-0 right-0 flex justify-center items-center h-12 text-gray-400 "+o.widthInput),t.R7$(),t.JRh(o.formatSymbol()))},dependencies:[d.me,d.Q0,d.BC,d.cb,d.j4,d.JD],styles:["input[_ngcontent-%COMP%]::-webkit-outer-spin-button, input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}input[_ngcontent-%COMP%]:disabled{opacity:.7}input[_ngcontent-%COMP%]:disabled ~ span[_ngcontent-%COMP%]{opacity:.7}"]})}}return n})();function sm(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n        "),t.j41(2,"div"),t.EFF(3,"\n          "),t.j41(4,"span",2),t.EFF(5),t.k0s(),t.EFF(6,"\n            "),t.nrm(7,"pabk-clc-slider",3),t.EFF(8,"\n            "),t.nrm(9,"pabk-clc-input",4),t.EFF(10,"\n        "),t.k0s(),t.EFF(11,"\n    "),t.bVm()),2&n){const e=t.XpG();t.R7$(2),t.HbH("flex items-center md:flex-col md:items-start "+e.addClass),t.R7$(3),t.JRh(e.label),t.R7$(2),t.Y8G("minValue",e.minValue)("maxValue",e.maxValue)("step",e.step)("form",e.form)("formName",e.formSliderName)("symbol",e.symbol),t.R7$(2),t.AVh("none",e.hideInput),t.Y8G("widthInput",e.widthInput)("readonly",e.readonlyInput)("form",e.form)("formName",e.formInputName)("symbol",e.symbol)}}let cn=(()=>{class n{constructor(){this.minValue=0,this.maxValue=0,this.step=1,this.round=!1,this.symbol="\u20ac",this.label="",this.textInputLabel="",this.addClass="",this.widthInput="",this.sliderType="row",this.months={possibleMonths:[],maxMonths:0},this.versionWhite=!1,this.form=new d.J3({}),this.formSliderName="",this.formInputName="",this.hideInput=!1,this.readonlyInput=!1}ngOnInit(){this.form.controls[this.formSliderName].valueChanges.subscribe(e=>{if(this.months.possibleMonths.length>0){const a=this.monthsInput(e);e!=a&&this.form.controls[this.formSliderName].setValue(a),this.form.controls[this.formInputName].setValue(a)}else this.form.controls[this.formInputName].setValue(e)}),this.form.controls[this.formInputName].valueChanges.pipe((0,nm.Z)(0),function im(){return(0,am.N)((n,i)=>{let e,a=!1;n.subscribe((0,om._)(i,o=>{const r=e;e=o,a&&i.next([r,o]),a=!0}))})}()).subscribe(([e,a])=>{if(this.months.possibleMonths.length>0){const o=this.monthsInput(a);a!=o&&this.form.controls[this.formInputName].setValue(o),this.form.controls[this.formSliderName].setValue(o,{onlySelf:!0,emitEvent:!1})}else if(this.form.controls[this.formInputName].errors?.max){const{max:o}=this.form.controls[this.formInputName].errors?.max;this.form.controls[this.formSliderName].setValue(o,{onlySelf:!0,emitEvent:!1})}else this.round&&a!==e&&0!==a&&a>=this.minValue&&a<this.maxValue?(this.form.controls[this.formInputName].setValue(this.step*Math.ceil(a/this.step)),this.form.controls[this.formSliderName].setValue(this.step*Math.ceil(a/this.step),{onlySelf:!0,emitEvent:!1})):this.form.controls[this.formSliderName].setValue(a,{onlySelf:!0,emitEvent:!1})})}monthsInput(e){return(isNaN(e)||!e)&&(e=0),this.months.possibleMonths.reduce(function(o,r){return Math.abs(r-e)<Math.abs(o-e)?r:o})}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["pabk-clc-slider-container"]],inputs:{minValue:"minValue",maxValue:"maxValue",step:"step",round:"round",symbol:"symbol",label:"label",textInputLabel:"textInputLabel",addClass:"addClass",widthInput:"widthInput",sliderType:"sliderType",months:"months",versionWhite:"versionWhite",form:"form",formSliderName:"formSliderName",formInputName:"formInputName",hideInput:"hideInput",readonlyInput:"readonlyInput"},decls:5,vars:2,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"w-40","text-gray-400"],[1,"relative","w-full","px-12","md:px-0","md:mt-6","md:mb-16",3,"minValue","maxValue","step","form","formName","symbol"],[1,"relative","flex-shrink-0","w-40","bg-gray-50","border","border-gray-100","rounded","overflow-hidden","sm:w-full",3,"widthInput","readonly","form","formName","symbol"]],template:function(a,o){1&a&&(t.qex(0,0),t.EFF(1,"\n    "),t.DNE(2,sm,12,16,"ng-container",1),t.EFF(3,"\n"),t.bVm(),t.EFF(4,"\n")),2&a&&(t.Y8G("ngSwitch",o.sliderType),t.R7$(2),t.Y8G("ngSwitchCase","row"))},dependencies:[m.ux,m.e1,rm,Jo]})}}return n})();function lm(n,i){if(1&n&&(t.j41(0,"h3",23),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.goodLoanCalculator.tooltip_heading)}}function cm(n,i){if(1&n&&(t.j41(0,"div",24),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.goodLoanCalculator.tooltip_text)}}function pm(n,i){if(1&n&&(t.j41(0,"a",25),t.EFF(1,"\n              "),t.nrm(2,"span",26),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",27),t.EFF(5,"\n                "),t.nrm(6,"use",28),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",29),t.EFF(10,"\n                "),t.nrm(11,"use",28),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonInterested.url,t.B4B)("target",e.inputData.buttonInterested.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonInterested.name)}}function mm(n,i){if(1&n&&(t.j41(0,"a",30),t.EFF(1,"\n              "),t.nrm(2,"span",26),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",27),t.EFF(5,"\n                "),t.nrm(6,"use",28),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",29),t.EFF(10,"\n                "),t.nrm(11,"use",28),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonVisit.url,t.B4B)("target",e.inputData.buttonVisit.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonVisit.name)}}function um(n,i){if(1&n&&(t.j41(0,"div",31),t.EFF(1,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("innerHtml",e.RenderHtml(e.goodLoanCalculator.rpmn),t.npT)}}function dm(n,i){if(1&n&&(t.j41(0,"div",1),t.EFF(1,"\n  "),t.j41(2,"section",2),t.EFF(3,"\n    "),t.j41(4,"div",3),t.EFF(5,"\n      "),t.nrm(6,"h2",4),t.EFF(7,"\n      "),t.j41(8,"div",5),t.EFF(9,"\n        "),t.j41(10,"div",6),t.EFF(11,"\n          "),t.DNE(12,lm,2,1,"h3",7),t.EFF(13,"\n          "),t.DNE(14,cm,2,1,"div",8),t.EFF(15,"\n\n          "),t.j41(16,"pabk-clc-slider-container",9),t.EFF(17,"\n          "),t.k0s(),t.EFF(18,"\n          "),t.j41(19,"pabk-clc-slider-container",10),t.EFF(20,"\n          "),t.k0s(),t.EFF(21,"\n          "),t.j41(22,"pabk-clc-radio",11),t.EFF(23,"\n          "),t.k0s(),t.EFF(24,"\n        "),t.k0s(),t.EFF(25,"\n        "),t.j41(26,"div",12),t.EFF(27,"\n          "),t.j41(28,"div",13),t.EFF(29),t.k0s(),t.EFF(30,"\n          "),t.j41(31,"div",14),t.EFF(32),t.k0s(),t.EFF(33,"\n          "),t.j41(34,"div",15),t.EFF(35,"\n            "),t.j41(36,"span"),t.EFF(37),t.k0s(),t.EFF(38,"\n            "),t.j41(39,"span",16),t.EFF(40),t.k0s(),t.EFF(41,"\n          "),t.k0s(),t.EFF(42,"\n          "),t.j41(43,"div",15),t.EFF(44,"\n            "),t.j41(45,"span"),t.EFF(46),t.k0s(),t.EFF(47,"\n            "),t.j41(48,"span",16),t.EFF(49),t.k0s(),t.EFF(50,"\n          "),t.k0s(),t.EFF(51,"\n          "),t.j41(52,"div",15),t.EFF(53,"\n            "),t.j41(54,"span"),t.EFF(55),t.k0s(),t.EFF(56,"\n            "),t.j41(57,"span",16),t.EFF(58),t.k0s(),t.EFF(59,"\n          "),t.k0s(),t.EFF(60,"\n          "),t.j41(61,"div",15),t.EFF(62,"\n            "),t.j41(63,"span"),t.EFF(64),t.k0s(),t.EFF(65,"\n            "),t.j41(66,"span",16),t.EFF(67),t.k0s(),t.EFF(68,"\n          "),t.k0s(),t.EFF(69,"\n          "),t.j41(70,"div",15),t.EFF(71,"\n            "),t.j41(72,"span"),t.EFF(73),t.k0s(),t.EFF(74,"\n            "),t.j41(75,"span",16),t.EFF(76),t.k0s(),t.EFF(77,"\n          "),t.k0s(),t.EFF(78,"\n          "),t.j41(79,"div",15),t.EFF(80,"\n            "),t.j41(81,"span"),t.EFF(82),t.k0s(),t.EFF(83,"\n            "),t.j41(84,"span",16),t.EFF(85),t.k0s(),t.EFF(86,"\n          "),t.k0s(),t.EFF(87,"\n          "),t.j41(88,"div",17),t.EFF(89,"\n            "),t.j41(90,"span"),t.EFF(91),t.k0s(),t.EFF(92,"\n            "),t.j41(93,"span",16),t.EFF(94),t.k0s(),t.EFF(95,"\n          "),t.k0s(),t.EFF(96,"\n          "),t.j41(97,"div",18),t.EFF(98,"\n            "),t.DNE(99,pm,14,3,"a",19),t.EFF(100,"\n            "),t.DNE(101,mm,14,3,"a",20),t.EFF(102,"\n          "),t.k0s(),t.EFF(103,"\n        "),t.k0s(),t.EFF(104,"\n      "),t.k0s(),t.EFF(105,"\n      "),t.EFF(106,"\n      "),t.j41(107,"div",21),t.EFF(108,"\n        "),t.DNE(109,um,2,1,"div",22),t.EFF(110,"\n      "),t.k0s(),t.EFF(111,"\n    "),t.k0s(),t.EFF(112,"\n  "),t.k0s(),t.EFF(113,"\n"),t.k0s()),2&n){const e=t.XpG();t.Y8G("formGroup",e.credit),t.R7$(6),t.Y8G("innerHTML",e.inputData.headline.join("<br />"),t.npT),t.R7$(6),t.Y8G("ngIf",e.goodLoanCalculator.tooltip_heading),t.R7$(2),t.Y8G("ngIf",e.goodLoanCalculator.tooltip_text),t.R7$(2),t.Y8G("label",e.goodLoanCalculator.loan_input.label)("minValue",e.goodLoanCalculator.loan_input.min)("maxValue",e.goodLoanCalculator.loan_input.max)("form",e.credit)("step",100)("round",!0),t.R7$(3),t.Y8G("label",e.goodLoanCalculator.loan_duration_input.label)("minValue",e.goodLoanCalculator.loan_duration_input.min)("maxValue",e.setMaxMonths())("form",e.credit),t.R7$(3),t.Y8G("options",e.radioOptions)("form",e.credit)("current",e.insurance)("toolTipHeading",e.goodLoanCalculator.tooltip_heading_bottom)("toolTipText",e.goodLoanCalculator.tooltip_text),t.R7$(7),t.JRh(e.goodLoanCalculator.review.side_description),t.R7$(3),t.JRh(e.formatMonths(e.monthlyPayment)),t.R7$(5),t.JRh(e.goodLoanCalculator.review.loan),t.R7$(3),t.JRh(e.format(e.loan,"whole-price")),t.R7$(6),t.JRh(e.goodLoanCalculator.review.monthly),t.R7$(3),t.JRh(e.format(e.monthlyPayment,"classic-price")),t.R7$(6),t.JRh(e.goodLoanCalculator.review.due),t.R7$(3),t.JRh(e.formatYears(e.duration)),t.R7$(6),t.JRh(e.goodLoanCalculator.review.interest),t.R7$(3),t.JRh(e.formatPercentage(e.goodLoanCalculator.loanInterest||4)),t.R7$(6),t.JRh(e.goodLoanCalculator.review.insurance),t.R7$(3),t.JRh(e.format(e.monthlyFee,"classic-price")),t.R7$(6),t.JRh(e.goodLoanCalculator.review.price),t.R7$(3),t.JRh(e.format(e.creditFee,"whole-price")),t.R7$(6),t.JRh(e.goodLoanCalculator.review.total),t.R7$(3),t.JRh(e.format(e.total,"whole-price")),t.R7$(5),t.Y8G("ngIf",e.inputData.buttonInterested),t.R7$(2),t.Y8G("ngIf",e.inputData.buttonVisit),t.R7$(8),t.Y8G("ngIf",e.goodLoanCalculator.rpmn)}}let fm=new S.Vy("PabkCalcGoodLoanComponent"),hm=(()=>{class n{constructor(e,a,o,r,c,f){this.formatService=e,this.generalHelper=a,this.calcService=o,this.sanitized=r,this._doc=c,this.analyticService=f,this.goodLoanCalculator=new zp,this.totalSum=0,this.inputToStorage={loanInput
1:"Vyska uveru",durationInput:"Vyska mesacnej splatky"}}ngOnInit(){if(this.inputData){let e=new Un;(0,pt.A)(e,this.inputData),this.goodLoanCalculator.mergeFromCms(e),fm.warn(this.inputData),this.rpmnData=this.goodLoanCalculator.rpmn,this.totalSum=Number(this.calcService.getValueFormUrl("suma",this.goodLoanCalculator.loan_input.default)),this.init()}this.calculate(),this.credit.valueChanges.subscribe(e=>{this.loanValue=this.loan,e.durationInput>this.setMaxMonths()&&this.credit.controls.durationInput.setValue(this.setMaxMonths()),this.calculate(),this.rpmn()})}ngAfterViewInit(){this.rpmn()}rpmn(){var a=this.calcService.calculateRPMN(this.loan,12*this.duration,this.goodLoanCalculator.loanInterest,this.monthlyPayment+12*this.duration*(this.insurance/100)*this.loan/(12*this.duration)),o={"{{calcRange}}":this.loan.toString(),"{{calcDuration}}":this.formatYears(this.duration),"{{calcInterest}}":this.goodLoanCalculator.loanInterest.toString()+" %","{{calcDurationInMonth}}":(12*this.duration).toString(),"{{calcRpmn}}":a[0]+" %","{{calcDurationInMonth1}}":(12*this.duration-1).toString(),"{{calcReviewInterest}}":this.format(this.monthlyPayment,"classic-price"),"{{calcDurationInMonth2}}":(12*this.duration).toString(),"{{calcInterestLast}}":this.format(a[1],"classic-price").toString(),"{{calcTotalValue}}":this.format(a[2],"classic-price").toString()};this.goodLoanCalculator.rpmn=function r(c,f){return c.replace(/\{\{[^}]+\}\}/g,function(b){return f[b]})}(this.rpmnData,o)}init(){this.credit=new ln({analyticService:this.analyticService,componentName:"dobra_pozicka"},{loanInput:new d.hs(this.totalSum,{validators:[d.k0.max(this.goodLoanCalculator.loan_input.max),d.k0.min(this.goodLoanCalculator.loan_input.min),d.k0.required]}),loanRange:new d.hs(this.totalSum,{validators:[d.k0.max(this.goodLoanCalculator.loan_input.max)],updateOn:"change"}),durationInput:new d.hs(this.goodLoanCalculator.loan_duration_input.default,{validators:[e=>d.k0.max(this.setMaxMonths())(e),d.k0.min(this.goodLoanCalculator.loan_duration_input.min),d.k0.required]}),durationRange:new d.hs(this.goodLoanCalculator.loan_duration_input.default,{validators:[e=>d.k0.max(this.setMaxMonths())(e)],updateOn:"change"}),creditInsurance:new d.hs(0,{updateOn:"change"})},{updateOn:"blur"}),this.radioOptions=[{label:this.goodLoanCalculator.insurance.withoutText,value:this.goodLoanCalculator.insurance.without,formName:"creditInsurance"},{label:this.goodLoanCalculator.insurance.basicText,label_additional:this.goodLoanCalculator.insurance.basicTextAdditional,value:this.goodLoanCalculator.insurance.basic,formName:"creditInsurance"},{label:this.goodLoanCalculator.insurance.complexText,label_additional:this.goodLoanCalculator.insurance.complexTextAdditional,value:this.goodLoanCalculator.insurance.complex,formName:"creditInsurance"}],this.monthlyPayment=0,this.creditFee=0,this.monthlyFee=0,this.total=0,this.loanValue=this.goodLoanCalculator.loan_input.default}calculate(){const e=this.loan,o=12*this.duration;let r=0,c=0;c=this.getInterest(e),r=this.roundToTwoDecimal(Math.abs(this.pmt(c/100/12,o,e,0,0)));let f=this.insurance/100*e;if(this.creditFee=e*this.goodLoanCalculator.feePercentage,this.monthlyFee=f,this.monthlyPayment=r,this.total=this.roundToWhole(o*r+o*f+this.creditFee),this.credit.dirty){let b={};Object.keys(this.credit.getRawValue()).forEach(w=>{w in this.inputToStorage&&(b[this.inputToStorage[w]]=this.credit.controls[w].value)}),b["Vyska mesacnej splatky"]=this.formatMonths(this.monthlyPayment),b["Urokova sadzba"]=this.formatPercentage(this.goodLoanCalculator.loanInterest||4),b["Mesacne naklady poistenie"]=this.format(this.monthlyFee,"classic-price"),b["Poplatok za poskytnu"]=this.format(this.creditFee,"whole-price"),b["Celkova ciastka"]=this.format(this.total,"whole-price"),this.calcService.saveDataForForm("dobra_pozicka",b)}}pmt(e,a,o,r,c){if(0!=e){const f=Math.pow(1+e,a);return-e*(r+f*o)/((-1+f)*(1+e*c))}return 0!=a?-(r+o)/a:0}getInterest(e){return e||(e=300),this.goodLoanCalculator.loanInterest||4}setMaxMonths(){return this.loanValue>this.goodLoanCalculator.loan_duration_input.breakpoint?this.goodLoanCalculator.loan_duration_input.max:this.goodLoanCalculator.loan_duration_input.max_lower}getMonths(e){return 12*e+" mesiacov"}roundToTwoDecimal(e){return parseFloat(e.toFixed(2))}formatMonthsWithText(e){return 1==e?e+" mesiac":e>0&&e<5?e+" mesiace":e+" mesiacov"}roundToWhole(e){return Math.round(e)}format(e,a){return this.formatService.formatPrice(e,a)}formatMonths(e){return this.formatService.formatPrice(e,"whole-price")+" / mesiac"}formatYears(e){return 1==e?e+" rok":e>0&&e<5?e+" roky":e+" rokov"}formatPercentage(e){return parseFloat(e.toFixed(2)).toString().replace(".",",")+" p.a."}get loan(){return parseInt(this.credit.get("loanInput")?.value)}get duration(){return parseInt(this.credit.get("durationInput")?.value)}get insurance(){return parseFloat(this.credit.get("creditInsurance")?.value)}RenderHtml(e){return this.sanitized.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Me),t.rXU(T.r),t.rXU(ja),t.rXU(He.up),t.rXU(m.qQ),t.rXU(Ne.iu))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-pabk-calc-good-loan"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"py-12","sm:py-6"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6",3,"innerHTML"],[1,"flex","pb-12","xl:flex-col","sm:pb-6"],[1,"w-full","p-9","border-l","border-y","border-gray-100","rounded-tl","rounded-bl","xl:border-r","xl:border-b-0","xl:rounded-bl-none","xl:rounded-tr"],["class","text-xl font-bold text-orange pb-12 sm:pb-6",4,"ngIf"],["class","text-gray-400 pb-12 sm:pb-6",4,"ngIf"],["addClass","pb-16","widthInput","w-12","formInputName","loanInput","formSliderName","loanRange",3,"label","minValue","maxValue","form","step","round"],["addClass","pb-24 sm:pb-12","
1widthInput","w-20","symbol","year","formInputName","durationInput","formSliderName","durationRange",3,"label","minValue","maxValue","form"],["type","round",3,"options","form","current","toolTipHeading","toolTipText"],[1,"flex","flex-col","flex-shrink-0","w-[28rem]","bg-gray-50","p-9","border","border-gray-50","rounded-tr","rounded-br","xl:w-full","xl:rounded-tr-none","xl:rounded-bl"],[1,"text-gray-400","pb-2"],[1,"text-3xl","font-bold","text-orange","pb-12"],[1,"flex","justify-between","items-center","text-gray-400","pb-3","mb-3","border-b","border-gray-100","sm:text-sm"],[1,"font-bold"],[1,"flex","justify-between","items-center","text-gray-400","pb-12"],[1,"flex","flex-col","items-center"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","dobra_pozicka","class","relative inline-flex justify-center items-center w-60 text-white bg-purple-100 pl-6 py-3 pr-14 mb-4 border-2 border-purple-100 rounded sm:w-full  btn-arrow",3,"href","target",4,"ngIf"],["class","relative inline-flex justify-center items-center w-60 text-purple-100 pl-6 py-3 pr-14 border-2 border-purple-100 rounded sm:w-full btn-arrow",3,"href","target",4,"ngIf"],[1,"container-960"],["class","overflow-x-auto lg:-mr-15 mb-50",3,"innerHtml",4,"ngIf"],[1,"text-xl","font-bold","text-orange","pb-12","sm:pb-6"],[1,"text-gray-400","pb-12","sm:pb-6"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","dobra_pozicka",1,"relative","inline-flex","justify-center","items-center","w-60","text-white","bg-purple-100","pl-6","py-3","pr-14","mb-4","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],[1,"relative","inline-flex","justify-center","items-center","w-60","text-purple-100","pl-6","py-3","pr-14","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"overflow-x-auto","lg:-mr-15","mb-50",3,"innerHtml"]],template:function(a,o){1&a&&(t.DNE(0,dm,114,38,"div",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.goodLoanCalculator)},dependencies:[m.bT,d.cb,d.j4,qn,cn,Lt,H.A]})}}return n})();class Fm extends sn{constructor(i){super(),(0,pt.A)(this,i)}mergeFromCms(i){let e={rpmn:i.getSettings().rpmn},a=i.parseSettingFromJson();(0,pt.A)(this,e,a)}}let gm=(()=>{class n{constructor(){this.title="",this.symbol="\u20ac",this.titleWhite=!1,this.widthInput="",this.addClass="",this.form=new d.J3({}),this.formName=""}ngOnInit(){}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["pabk-clc-input-container"]],inputs:{title:"title",symbol:"symbol",titleWhite:"titleWhite",widthInput:"widthInput",addClass:"addClass",form:"form",formName:"formName"},decls:9,vars:7,consts:[[1,"w-full","text-gray-400","mr-12","md:mr-0","md:mb-6"],[1,"relative","flex-shrink-0","w-40","bg-gray-50","border","border-gray-100","rounded","overflow-hidden","sm:w-full",3,"widthInput","symbol","form","formName"]],template:function(a,o){1&a&&(t.j41(0,"div"),t.EFF(1,"\n    "),t.j41(2,"span",0),t.EFF(3),t.k0s(),t.EFF(4,"\n    "),t.j41(5,"pabk-clc-input",1),t.EFF(6,"\n    "),t.k0s(),t.EFF(7,"\n"),t.k0s(),t.EFF(8,"\n")),2&a&&(t.HbH("flex justify-between items-center md:flex-col md:items-start sm:pb-12 "+o.addClass),t.R7$(3),t.JRh(o.title),t.R7$(2),t.Y8G("widthInput",o.widthInput)("symbol",o.symbol)("form",o.form)("formName",o.formName))},dependencies:[Jo]})}}return n})();function bm(n,i){if(1&n&&(t.j41(0,"h3",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.betterPaymentCalculator.tooltip_heading)}}function xm(n,i){if(1&n&&(t.j41(0,"div",28),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.betterPaymentCalculator.tooltip_text)}}function _m(n,i){if(1&n&&(t.j41(0,"div",29),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.betterPaymentCalculator.review.side_description_first)}}function Em(n,i){if(1&n&&(t.j41(0,"div",30),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme("",e.betterPaymentCalculator.monthly_saved_before," ",e.safedByMonth," \u20ac")}}function km(n,i){if(1&n&&(t.j41(0,"div",31),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.betterPaymentCalculator.monthly_saved_after)}}function ym(n,i){if(1&n&&(t.j41(0,"a",32),t.EFF(1,"\n              "),t.nrm(2,"span",33),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",34),t.EFF(5,"\n                "),t.nrm(6,"use",35),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",36),t.EFF(10,"\n                "),t.nrm(11,"use",35),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonInterested.url,t.B4B)("target",e.inputData.buttonInterested.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonInterested.name)}}function Cm(n,i){if(1&n&&(t.j41(0,"a",37),t.EFF(1,"\n              "),t.nrm(2,"span",33),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",34),t.EFF(5,"\n                "),t.nrm(6,"use",35),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",36),t.EFF(10,"\n                "),t.nrm(11,"use",35),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonVisit.url,t.B4B)("target",e.inputData.buttonVisit.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonVisit.name)}}function vm(n,i){if(1&n&&(t.j41(0,"div",38),t.EFF(1,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("innerHtml",e.RenderHtml(e.betterPaymentCalculator.rpmn),t.npT)}}function wm(n,i){if(1&n&&(t.j41(0,"div",1),t.EFF(1,"\n  "),t.j41(2,"section",2),t.EFF(3,"\n    "),t.j41(4,"div",3),t.EFF(5,"\n      "),t.nrm(6,"h2",4),t.EFF(7,"\n      "),t.j41(8,"div",5),t.EFF(9,"\n        "),t.j41(10,"div",6),t.EFF(11,"\n          "),t.DNE(12,bm,2,1,"h3",7),t.EFF(13,"\n          "),t.DNE(14,xm,2,1,"div",8),t.EFF(15,"\n          "),t.nrm(16,"pabk-clc-input-container",9),t.EFF(17,"\n          "),t.nrm(18,"pabk-clc-input-container",10),t.EFF(19,"\n          "),t.j41(20,"pabk-clc-slider-container",11),t.EFF(21,"\n          "),t.k0s(),t.EFF(22,"\n          "),t.j41(23,"pabk-clc-slider-container",12),t.EFF(24,"\n          "),t.k0s(),t.EFF(25,"\n          "),t.j41(26,"pabk-clc-radio",13),t.EFF(27,"\n          "),t.k0s(),t.EFF(28,"\n        "),t.k0s(),t.EFF(29,"\n        "),t.j41(30,"div",14),t.EFF(31,"\n          "),t.DNE(32,_m,2,1,"div",15),t.EFF(33,"\n          "),t.j41(34,"div",16),t.EFF(35),t.k0s(),t.EFF(36,"\n          "),t.DNE(37,Em,2,2,"div",17),t.EFF(38,"\n          "),t.DNE(39,km,2,1,"div",18),t.EFF(40,"\n\n          "),t.j41(41,"div",19),t.EFF(42,"\n            "),t.j41(43,"span"),t.EFF(44),t.k0s(),t.EFF(45,"\n            "),t.EFF(46,"\n            "),t.j41(47,"span",20),t.EFF(48),t.k0s(),t.EFF(49,"\n          "),t.k0s(),t.EFF(50,"\n          "),t.j41(51,"div",19),t.EFF(52,"\n            "),t.j41(53,"span"),t.EFF(54),t.k0s(),t.EFF(55,"\n            "),t.j41(56,"span",20),t.EFF(57),t.k0s(),t.EFF(58,"\n          "),t.k0s(),t.EFF(59,"\n          "),t.j41(60,"div",19),t.EFF(61,"\n            "),t.j41(62,"span"),t.EFF(63),t.k0s(),t.EFF(64,"\n            "),t.j41(65,"span",20),t.EFF(66),t.k0s(),t.EFF(67,"\n          "),t.k0s(),t.EFF(68,"\n          "),t.j41(69,"div",19),t.EFF(70,"\n            "),t.j41(71,"span"),t.EFF(72),t.k0s(),t.EFF(73,"\n            "),t.j41(74,"span",20),t.EFF(75),t.k0s(),t.EFF(76,"\n          "),t.k0s(),t.EFF(77,"\n          "),t.j41(78,"div",19),t.EFF(79,"\n            "),t.j41(80,"span"),t.EFF(81),t.k0s(),t.EFF(82,"\n            "),t.j41(83,"span",20),t.EFF(84),t.k0s(),t.EFF(85,"\n          "),t.k0s(),t.EFF(86,"\n          "),t.j41(87,"div",21),t.EFF(88,"\n            "),t.j41(89,"span"),t.EFF(90),t.k0s(),t.EFF(91,"\n            "),t.j41(92,"span",20),t.EFF(93),t.k0s(),t.EFF(94,"\n          "),t.k0s(),t.EFF(95,"\n          "),t.j41(96,"div",22),t.EFF(97,"\n            "),t.DNE(98,ym,14,3,"a",23),t.EFF(99,"\n            "),t.DNE(100,Cm,14,3,"a",24),t.EFF(101,"\n          "),t.k0s(),t.EFF(102,"\n        "),t.k0s(),t.EFF(103,"\n      "),t.k0s(),t.EFF(104,"\n      "),t.EFF(105,"\n\n      "),t.j41(106,"div",25),t.EFF(107,"\n        "),t.DNE(108,vm,2,1,"div",26),t.EFF(109,"\n      "),t.k0s(),t.EFF(110,"\n    "),t.k0s(),t.EFF(111,"\n  "),t.k0s(),t.EFF(112,"\n"),t.k0s()),2&n){const e=t.XpG();t.Y8G("formGroup",e.credit),t.R7$(6),t.Y8G("innerHTML",e.inputData.headline.join("<br />"),t.npT),t.R7$(6),t.Y8G("ngIf",e.betterPaymentCalculator.tooltip_heading),t.R7$(2),t.Y8G("ngIf",e.betterPaymentCalculator.tooltip_text),t.R7$(2),t.Y8G("title",e.betterPaymentCalculator.loan_input.label)("form",e.credit),t.R7$(2),t.Y8G("title",e.betterPaymentCalculator.payment_input.label)("form",e.credit),t.R7$(2),t.Y8G("label",e.betterPaymentCalculator.additional_loan_input.label)("minValue",e.betterPaymentCalculator.additional_loan_input.min)("maxValue",e.maxAdditionalLoan)("form",e.credit)("step",500)("round",!0),t.R7$(3),t.Y8G("label",e.betterPaymentCalculator.loan_duration_input.label)("minValue",e.betterPaymentCalculator.loan_duration_input.min)("maxValue",e.betterPaymentCalculator.loan_duration_input.max)("form",e.credit)("step",6),t.R7$(3),t.Y8G("options",e.radioOptions)("form",e.credit)("current",e.insurance)("toolTipHeading",e.betterPaymentCalculator.tooltip_heading_bottom)("toolTipText",e.betterPaymentCalculator.tooltip_text),t.R7$(6),t.Y8G("ngIf",!e.yourLoanIsFavorable),t.R7$(3),t.JRh(e.checkFavourableness()),t.R7$(2),t.Y8G("ngIf",!e.yourLoanIsFavorable),t.R7$(2),t.Y8G("ngIf",!e.yourLoanIsFavorable),t.R7$(5),t.JRh(e.betterPaymentCalculator.review.monthly),t.R7$(4),t.JRh(e.format(e.betterMonthlyPayment,"whole-price")),t.R7$(6),t.JRh(e.betterPaymentCalculator.review.due),t.R7$(3),t.JRh(e.formatYears(e.duration/12)),t.R7$(6),t.JRh(e.betterPaymentCalculator.review.interest),t.R7$(3),t.JRh(e.formatPercentage(e.betterPaymentCalculator.loanInterest||4)),t.R7$(6),t.JRh(e.betterPaymentCalculator.review.insurance),t.R7$(3),t.JRh(e.format(e.monthlyFee,"classic-price")),t.R7$(6),t.JRh(e.betterPaymentCalculator.review.price),t.R7$(3),t.JRh(e.format(e.creditFee,"whole-price")),t.R7$(6),t.JRh(e.betterPaymentCalculator.review.total),t.R7$(3),t.JRh(e.format(e.total,"whole-price")),t.R7$(5),t.Y8G("ngIf",e.inputData.buttonInterested),t.R7$(2),t.Y8G("ngIf",e.inputData.buttonVisit),t.R7$(8),t.Y8G("ngIf",e.betterPaymentCalculator.rpmn)}}new S.Vy("PabkCalcBetterPaymentComponent");let Sm=(()=>{class n{constructor(e,a,o,r,c,f){this.formatService=e,this.generalHelper=a,this.calcService=o,this.sanitized=r,this._doc=c,this.analyticService=f,this.betterPaymentCalculator=new Fm,this.totalSum=0,this.monthlyPayments=0,this.inputToStorage={loanInput
1:"Vyska uveru",durationInput:"Vyska mesacnej splatky"}}ngOnInit(){if(this.inputData){let e=new Un;(0,pt.A)(e,this.inputData),this.betterPaymentCalculator.mergeFromCms(e),this.rpmnData=this.betterPaymentCalculator.rpmn,this.totalSum=Number(this.calcService.getValueFormUrl("suma",this.betterPaymentCalculator.loan_input.default)),this.monthlyPayments=Number(this.calcService.getValueFormUrl("month",this.betterPaymentCalculator.payment_input.default)),this.init()}this.calculate(!1),this.calcAdditionalLoanMax(),this.credit.controls.currentLoan.valueChanges.subscribe(e=>{this.calcAdditionalLoanMax(),this.calculate(!0),this.rpmn()}),this.credit.controls.monthlyPayment.valueChanges.subscribe(e=>{this.calculate(!0),this.rpmn()}),this.credit.controls.additionalLoanInput.valueChanges.subscribe(e=>{this.calcAdditionalLoanMax(),this.calculate(!1),this.rpmn()}),this.credit.controls.durationInput.valueChanges.subscribe(e=>{this.calculate(!1),this.rpmn()}),this.credit.controls.additionalLoanRange.valueChanges.subscribe(e=>{this.calcAdditionalLoanMax(),this.calculate(!1)}),this.credit.controls.durationRange.valueChanges.subscribe(e=>{this.calculate(!1),this.rpmn()}),this.credit.controls.creditInsurance.valueChanges.subscribe(e=>{this.calculate(!1),this.rpmn()})}ngAfterViewInit(){this.rpmn()}rpmn(){var e=Math.floor(this.duration/12),a=this.currentLoan+this.additionalLoan,r=this.calcService.calculateRPMN(a,this.duration,this.betterPaymentCalculator.loanInterest,this.betterMonthlyPayment+this.duration*(this.insurance/100)*a/this.duration),c={"{{calcRange}}":a+" \u20ac","{{calcDuration}}":this.formatMonthsWithText(this.duration)+" ("+this.formatYears(e)+", "+this.formatMonthsWithText(this.duration%12)+")","{{calcInterest}}":this.betterPaymentCalculator.loanInterest.toString()+" %","{{calcDurationInMonth}}":this.duration.toString(),"{{calcRpmn}}":r[0]+" %","{{calcDurationInMonth1}}":(this.duration-1).toString(),"{{calcReviewInterest}}":this.format(this.betterMonthlyPayment,"classic-price"),"{{calcDurationInMonth2}}":this.duration.toString(),"{{calcInterestLast}}":this.format(r[1],"classic-price").toString(),"{{calcTotalValue}}":this.format(r[2],"classic-price").toString()};this.betterPaymentCalculator.rpmn=function f(h,b){return h.replace(/\{\{[^}]+\}\}/g,function($){return b[$]})}(this.rpmnData,c)}init(){this.credit=new ln({analyticService:this.analyticService,componentName:"lepsia_splatka"},{currentLoan:new d.hs(this.totalSum,{validators:[d.k0.max(this.betterPaymentCalculator.loan_input.max),d.k0.min(this.betterPaymentCalculator.loan_input.min),d.k0.required]}),monthlyPayment:new d.hs(this.monthlyPayments,{validators:[d.k0.max(this.betterPaymentCalculator.payment_input.max),d.k0.min(this.betterPaymentCalculator.payment_input.min),d.k0.required]}),additionalLoanInput:new d.hs({value:this.betterPaymentCalculator.additional_loan_input.default,disabled:!1},{validators:[e=>d.k0.max(this.maxAdditionalLoan)(e),d.k0.min(this.betterPaymentCalculator.additional_loan_input.min),d.k0.required]}),additionalLoanRange:new d.hs({value:this.betterPaymentCalculator.additional_loan_input.default,disabled:!1},{validators:[e=>d.k0.max(this.maxAdditionalLoan)(e)],updateOn:"change"}),loanInput:new d.hs(this.totalSum,{validators:[d.k0.max(this.betterPaymentCalculator.loan_input.max),d.k0.min(this.betterPaymentCalculator.loan_input.min),d.k0.required]}),durationInput:new d.hs(this.betterPaymentCalculator.loan_duration_input.default,{validators:[e=>d.k0.max(this.setMaxMonths())(e),d.k0.min(this.betterPaymentCalculator.loan_duration_input.min),d.k0.required]}),durationRange:new d.hs(this.betterPaymentCalculator.loan_duration_input.default,{validators:[e=>d.k0.max(this.setMaxMonths())(e)],updateOn:"change"}),creditInsurance:new d.hs(0,{updateOn:"change"})},{updateOn:"blur"}),this.radioOptions=[{label:this.betterPaymentCalculator.insurance.withoutText,value:this.betterPaymentCalculator.insurance.without,formName:"creditInsurance"},{label:this.betterPaymentCalculator.insurance.basicText,label_additional:this.betterPaymentCalculator.insurance.basicTextAdditional,value:this.betterPaymentCalculator.insurance.basic,formName:"creditInsurance"},{label:this.betterPaymentCalculator.insurance.complexText,label_additional:this.betterPaymentCalculator.insurance.complexTextAdditional,value:this.betterPaymentCalculator.insurance.complex,formName:"creditInsurance"}],this.betterMonthlyPayment=0,this.safedByMonth=0,this.creditFee=0,this.monthlyFee=0,this.total=0,this.loanInterest=this.betterPaymentCalculator.loanInterest,this.loanValue=this.betterPaymentCalculator.loan_input.default,this.maxAdditionalLoan=this.betterPaymentCalculator.additional_loan_input.max}calculate(e){const a=this.duration;let o=0,r=0,c=this.currentLoan+this.additionalLoan;r=this.getInterest(c),o=this.roundToTwoDecimal(Math.abs(this.pmt(r/100/12,a,c,0,0)));let f=this.insurance/100*c;c+=f*this.duration;let b=this.currentLoan+this.insurance/100*this.currentLoan*this.duration;const w=this._calculatebyLoanAmount(b,this.duration),$=this._calculatebyLoanAmount(c,this.duration),J=this.monthlyPayment-w;
1if(this.betterMonthlyPayment=$,this.safedByMonth=J>0?J:0,J<=0&&e){const G=this.incrementByMonths(this.duration,b,c,this.monthlyPayment,w,$,J);this.betterMonthlyPayment=G.finalBetterMonthlyPayment,this.safedByMonth=G.difference,this.credit.controls.durationInput.setValue(G.duration),this.setFavourableness(G.difference)}else this.setFavourableness(J);if(this.creditFee=c*this.betterPaymentCalculator.feePercentage,this.monthlyFee=f,this.betterMonthlyPayment=o,this.total=this.roundToWhole(a*o+a*f+this.creditFee),this.credit.dirty){let G={};Object.keys(this.credit.getRawValue()).forEach(M=>{M in this.inputToStorage&&(G[this.inputToStorage[M]]=this.credit.controls[M].value)}),G["Vyska mesacnej splatky"]=this.formatMonths(this.monthlyPayment),G["Urokova sadzba"]=this.formatPercentage(this.betterPaymentCalculator.loanInterest||4),G["Mesacne naklady poistenie"]=this.format(this.monthlyFee,"classic-price"),G["Poplatok za poskytnu"]=this.format(this.creditFee,"whole-price"),G["Celkova ciastka"]=this.format(this.total,"whole-price"),this.calcService.saveDataForForm("lepsia_splatka",G)}}_calculatebyLoanAmount(e,a){const o=this.loanInterest/100/12,r=Math.pow(1+o,a);return Math.round(e*r*o/(r-1))}incrementByMonths(e,a,o,r,c,f,h){return(e+=6)>this.betterPaymentCalculator.loan_duration_input.max&&(e=this.betterPaymentCalculator.loan_duration_input.max),c=this._calculatebyLoanAmount(a,e),f=this._calculatebyLoanAmount(o,e),(h=r-c)<=0&&e+6<this.betterPaymentCalculator.loan_duration_input.max?this.incrementByMonths(e,a,o,r,c,f,h):{finalBetterMonthlyPayment:f,difference:h,duration:e}}pmt(e,a,o,r,c){if(0!=e){const f=Math.pow(1+e,a);return-e*(r+f*o)/((-1+f)*(1+e*c))}return 0!=a?-(r+o)/a:0}getInterest(e){return e||(e=300),this.betterPaymentCalculator.loanInterest||4}setMaxMonths(){return this.loanValue>this.betterPaymentCalculator.loan_duration_input.breakpoint?this.betterPaymentCalculator.loan_duration_input.max:this.betterPaymentCalculator.loan_duration_input.max_lower}formatMonthsWithText(e){return 1==e?e+" mesiac":e>0&&e<5?e+" mesiace":e+" mesiacov"}getMonths(e){return 12*e+" mesiacov"}roundToTwoDecimal(e){return parseFloat(e.toFixed(2))}roundToWhole(e){return Math.round(e)}format(e,a){return this.formatService.formatPrice(e,a)}formatMonths(e){return this.formatService.formatPrice(e,"whole-price")}formatYears(e){return 1==e?e+" rok":e>0&&e<5?e+" roky":e+" rokov"}formatPercentage(e){return this.betterPaymentCalculator.review.interest_unit+parseFloat(e.toFixed(2)).toString().replace(".",",")+" % p.a."}setFavourableness(e){this.yourLoanIsFavorable=e<=0&&0==this.additionalLoan}checkFavourableness(){return this.yourLoanIsFavorable?this.betterPaymentCalculator.yourLoanIsFavorable:this.formatService.formatPrice(this.betterMonthlyPayment,"whole-price")+" / mesiac"}calcAdditionalLoanMax(){this.maxAdditionalLoan=this.betterPaymentCalculator.additional_loan_input.max-this.currentLoan,this.additionalLoan>this.maxAdditionalLoan&&this.maxAdditionalLoan>0&&this.credit.controls.additionalLoanInput.setValue(this.maxAdditionalLoan,{onlySelf:!0,emitEvent:!1}),this.maxAdditionalLoan<0&&this.credit.controls.additionalLoanInput.setValue(0,{onlySelf:!0,emitEvent:!1}),0===this.maxAdditionalLoan?(this.credit.controls.additionalLoanInput.disable({onlySelf:!0,emitEvent:!1}),this.credit.controls.additionalLoanRange.disable({onlySelf:!0,emitEvent:!1})):(this.credit.controls.additionalLoanInput.enable({onlySelf:!0,emitEvent:!1}),this.credit.controls.additionalLoanRange.enable({onlySelf:!0,emitEvent:!1}))}get currentLoan(){return parseInt(this.credit.get("currentLoan")?.value)}get monthlyPayment(){return parseInt(this.credit.get("monthlyPayment")?.value)}get additionalLoan(){return parseInt(this.credit.get("additionalLoanInput")?.value)}get duration(){return parseInt(this.credit.get("durationInput")?.value)}get insurance(){return parseFloat(this.credit.get("creditInsurance")?.value)}RenderHtml(e){return this.sanitized.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Me),t.rXU(T.r),t.rXU(ja),t.rXU(He.up),t.rXU(m.qQ),t.rXU(Ne.iu))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-pabk-calc-better-payment"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"py-12","sm:py-6"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6",3,"innerHTML"],[1,"flex","pb-12","xl:flex-col","sm:pb-6"],[1,"w-full","p-9","border-l","border-y","border-gray-100","rounded-tl","rounded-bl","xl:border-r","xl:border-b-0","xl:rounded-bl-none","xl:rounded-tr"],["class","text-xl font-bold text-orange pb-12 sm:pb-6",4,"ngIf"],["class","text-gray-400 pb-12 sm:pb-6",4,"ngIf"],["addClass","pb-12","widthInput","w-12","formName","currentLoan",3,"title","form"],["addClass","pb-12","widthInput","w-12","formName","monthlyPayment",3,"title","form"],["addClass","pb-16","widthInput","w-12","formInputName","additionalLoanInput","formSliderName","additionalLoanRange",3,"label","minValue","maxValue","form","step","round"],["addClass","pb-24 sm:pb-12","
1widthInput","w-28","symbol","month","formInputName","durationInput","formSliderName","durationRange",3,"label","minValue","maxValue","form","step"],["type","round",3,"options","form","current","toolTipHeading","toolTipText"],[1,"flex","flex-col","flex-shrink-0","w-[28rem]","bg-gray-50","p-9","border","border-gray-50","rounded-tr","rounded-br","xl:w-full","xl:rounded-tr-none","xl:rounded-bl"],["class","text-2xl font-bold text-orange",4,"ngIf"],[1,"text-2xl","font-bold","text-orange","pb-6"],["class","text-2xl font-bold text-purple-100",4,"ngIf"],["class","text-2xl font-bold text-purple-100 pb-12",4,"ngIf"],[1,"flex","justify-between","items-center","text-gray-400","pb-3","mb-3","border-b","border-gray-100","sm:text-sm"],[1,"font-bold"],[1,"flex","justify-between","items-center","text-gray-400","pb-12"],[1,"flex","flex-col","items-center"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","lepsia_splatka_buttonInterested","class","relative inline-flex justify-center items-center w-60 text-white bg-purple-100 pl-6 py-3 pr-14 mb-4 border-2 border-purple-100 rounded sm:w-full  btn-arrow",3,"href","target",4,"ngIf"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","lepsia_splatka_buttonVisit","class","relative inline-flex justify-center items-center w-60 text-purple-100 pl-6 py-3 pr-14 border-2 border-purple-100 rounded sm:w-full btn-arrow",3,"href","target",4,"ngIf"],[1,"container-960"],["class","overflow-x-auto lg:-mr-15 mb-50",3,"innerHtml",4,"ngIf"],[1,"text-xl","font-bold","text-orange","pb-12","sm:pb-6"],[1,"text-gray-400","pb-12","sm:pb-6"],[1,"text-2xl","font-bold","text-orange"],[1,"text-2xl","font-bold","text-purple-100"],[1,"text-2xl","font-bold","text-purple-100","pb-12"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","lepsia_splatka_buttonInterested",1,"relative","inline-flex","justify-center","items-center","w-60","text-white","bg-purple-100","pl-6","py-3","pr-14","mb-4","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","lepsia_splatka_buttonVisit",1,"relative","inline-flex","justify-center","items-center","w-60","text-purple-100","pl-6","py-3","pr-14","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"overflow-x-auto","lg:-mr-15","mb-50",3,"innerHtml"]],template:function(a,o){1&a&&(t.DNE(0,wm,113,43,"div",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.betterPaymentCalculator)},dependencies:[m.bT,d.cb,d.j4,qn,cn,gm,Lt,H.A]})}}return n})();class Dm extends sn{constructor(i){super(),(0,pt.A)(this,i)}mergeFromCms(i){let a=i.parseSettingFromJson();(0,pt.A)(this,{},a)}}var Wo=v(4866);function Tm(n,i){if(1&n&&(t.j41(0,"h3",19),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.termDepositCalculator.tooltip_heading)}}function Gm(n,i){if(1&n&&(t.j41(0,"div",20),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.termDepositCalculator.tooltip_text)}}function Bm(n,i){if(1&n&&(t.j41(0,"div",21),t.EFF(1,"\n                "),t.nrm(2,"span",22),t.EFF(3,"\n              "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("innerText",e.bonusValueToDisplay)}}function Im(n,i){if(1&n&&(t.j41(0,"div",21),t.EFF(1,"\n                "),t.nrm(2,"span",22),t.EFF(3,"\n              "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("innerText",e.bonusTextToDisplay)}}function jm(n,i){if(1&n&&t.nrm(0,"div",12),2&n){const e=t.XpG(2);t.Y8G("innerText",e.termDepositCalculator.aside.bonus_text)}}function Rm(n,i){if(1&n&&(t.j41(0,"a",23),t.EFF(1,"\n                  "),t.nrm(2,"span",24),t.EFF(3,"\n                  "),t.qSk(),t.j41(4,"svg",25),t.EFF(5,"\n                    "),t.nrm(6,"use",26),t.EFF(7,"\n                  "),t.k0s(),t.EFF(8,"\n                  "),t.j41(9,"svg",27),t.EFF(10,"\n                    "),t.nrm(11,"use",26),t.EFF(12,"\n                  "),t.k0s(),t.EFF(13,"\n                "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonInterested.url,t.B4B)("target",e.inputData.buttonInterested.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonInterested.name)}}function Pm(n,i){if(1&n&&t.nrm(0,"strong",30),2&n){const e=t.XpG(3);t.Y8G("innerHTML",e.termDepositCalculator.additional_text.heading,t.npT)}}function Ym(n,i){if(1&n&&t.nrm(0,"span",30),2&n){const e=t.XpG(3);t.Y8G("innerHTML",e.termDepositCalculator.additional_text.first_p,t.npT)}}function $m(n,i){if(1&n&&t.nrm(0,"span",30),2&n){const e=t.XpG(3);t.Y8G("innerHTML",e.termDepositCalculator.additional_text.second_p,t.npT)}}function Nm(n,i){if(1&n&&(t.j41(0,"div",28),t.EFF(1,"\n          "),t.DNE(2,Pm,1,1,"strong",29),t.nrm(3,"br"),t.EFF(4,"\n          "),t.DNE(5,Ym,1,1,"span",29),t.nrm(6,"br")(7,"br"),t.EFF(8,"\n          "),t.DNE(9,$m,1,1,"span",29),t.EFF(10,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngIf",e.termDepositCalculator.additional_text.heading),t.R7$(3),t.Y8G("ngIf",e.termDepositCalculator.additional_text.first_p),t.R7$(4),t.Y8G("ngIf",e.termDepositCalculator.additional_text.second_p)}}function Hm(n,i){if(1&n&&(t.j41(0,"div",1),t.EFF(1,"\n  "),t.j41(2,"section",2),t.EFF(3,"\n    "),t.j41(4,"div",3),t.EFF(5,"\n      "),t.nrm(6,"h2",4),t.EFF(7,"\n          "),t.j41(8,"div",5),t.EFF(9,"\n            "),t.j41(10,"div",6),t.EFF(11,"\n              "),t.DNE(12,Tm,2,1,"h3",7),t.EFF(13,"\n              "),t.DNE(14,Gm,2,1,"div",8),t.EFF(15,"\n                "),t.j41(16,"pabk-clc-slider-container",9),t.EFF(17,"\n\n                "),t.k0s(),t.EFF(18,"\n                "),t.j41(19,"pabk-clc-slider-container",10),t.EFF(20,"\n                "),t.k0s(),t.EFF(21,"\n            "),t.k0s(),t.EFF(22,"\n\n            "),t.j41(23,"div",11),t.EFF(24,"\n              "),t.nrm(25,"div",12),t.EFF(26,"\n              "),t.nrm(27,"div",13),t.EFF(28,"\n              "),t.nrm(29,"div",12),t.EFF(30,"\n\n              "),t.DNE(31,Bm,4,1,"div",14),t.EFF(32,"\n              "),t.DNE(33,Im,4,1,"div",14),t.EFF(34,"\n              "),t.DNE(35,jm,1,1,"div",15),t.EFF(36,"\n\n              "),t.j41(37,"div",16),t.EFF(38,"\n                "),t.DNE(39,Rm,14,3,"a",17),t.EFF(40,"\n              "),t.k0s(),t.EFF(41,"\n          "),t.k0s(),t.EFF(42,"\n        "),t.k0s(),t.EFF(43,"\n        "),t.DNE(44,Nm,11,3,"div",18),t.EFF(45,"\n      "),t.k0s(),t.EFF(46,"\n\n    "),t.k0s(),t.EFF(47,"\n"),t.k0s()),2&n){const e=t.XpG();t.Y8G("formGroup",e.termDepositForm),t.R7$(6),t.Y8G("innerHTML",e.inputData.headline.join("<br />"),t.npT),t.R7$(6),t.Y8G("ngIf",e.termDepositCalculator.tooltip_heading),t.R7$(2),t.Y8G("ngIf",e.termDepositCalculator.tooltip_text),t.R7$(2),t.Y8G("label",e.termDepositCalculator.sliders.deposit_value.label)("minValue",e.termDepositCalculator.sliders.deposit_value.min)("maxValue",e.termDepositCalculator.sliders.deposit_value.max)("form",e.termDepositForm)("step",500)("round",!0)("readonlyInput",!1),t.R7$(3),t.Y8G("label",e.termDepositCalculator.sliders.duration_value.label)("minValue",e.termDepositCalculator.sliders.duration_value.min)("maxValue",e.termDepositCalculator.sliders.duration_value.max)("form",e.termDepositForm)("step",12)("roun
1d",!0)("readonlyInput",!0),t.R7$(6),t.Y8G("innerText",e.termDepositCalculator.aside.top_heading),t.R7$(2),t.Y8G("innerHtml",e.totalSumToDisplay,t.npT),t.R7$(2),t.Y8G("innerText",e.termDepositCalculator.aside.top_text),t.R7$(2),t.Y8G("ngIf",0!=e.bonusValue),t.R7$(2),t.Y8G("ngIf",""!=e.bonusTextToDisplay),t.R7$(2),t.Y8G("ngIf",0!=e.bonusValue),t.R7$(4),t.Y8G("ngIf",e.inputData.buttonInterested),t.R7$(5),t.Y8G("ngIf",e.termDepositCalculator.additional_text.heading||e.termDepositCalculator.additional_text.first_p)}}new S.Vy("PabkTermDepositComponent");let Lm=(()=>{class n{constructor(e,a,o){this.formatService=e,this.calculatorService=a,this.analyticService=o,this.termDepositCalculator=new Dm,this.inputToStorage={depositValueInput:"",durationValueInput:""}}ngOnInit(){if(this.inputData){let e=new Un;(0,pt.A)(e,this.inputData),this.termDepositCalculator.mergeFromCms(e),this.textData=this.termDepositCalculator.aside.bonus_text,this.init()}this.inputToStorage.depositValueInput=this.termDepositCalculator.sliders.deposit_value.label,this.inputToStorage.durationValueInput=this.termDepositCalculator.sliders.duration_value.label,this.curentDurationSetting=this.termDepositCalculator.duration_settings,this.calculate(),this.termDepositForm.valueChanges.subscribe(e=>{this.calculate()})}init(){this.termDepositForm=new ln({analyticService:this.analyticService,componentName:"terminovany_vklad"},{depositValueInput:new d.hs(this.termDepositCalculator.sliders.deposit_value.default,{validators:[d.k0.max(this.termDepositCalculator.sliders.deposit_value.max),d.k0.min(this.termDepositCalculator.sliders.deposit_value.min),d.k0.required]}),depositValueRange:new d.hs(this.termDepositCalculator.sliders.deposit_value.default,{validators:[d.k0.max(this.calcMaxInityieldValue(this.termDepositCalculator.sliders.deposit_value.max))],updateOn:"change"}),durationValueInput:new d.hs(this.termDepositCalculator.sliders.duration_value.default,{validators:[d.k0.max(this.termDepositCalculator.sliders.duration_value.max),d.k0.min(this.termDepositCalculator.sliders.duration_value.min),d.k0.required]}),durationValueRange:new d.hs(this.termDepositCalculator.sliders.duration_value.default,{validators:[d.k0.max(this.termDepositCalculator.sliders.duration_value.max)],updateOn:"change"})},{updateOn:"blur"})}calculate(){this.getCurrentDurationSettings();const e=this.durationValue,a=this.depositValue,o=this.termDepositCalculator.interest,r=this.termDepositCalculator.vat,c=this.termDepositCalculator.aside.top_heading,f=this.termDepositCalculator.aside.top_text,h=this.curentDurationSetting[0],b=a*o*r*e/12,w=a*r*e/12*h.bonus,$=100*(o-h.bonus),J=b-w;if(this.totalSum=b,this.bonusValue=w,this.bonusValueToDisplay=this.formatService.formatPrice(w,"classic-price"),this.bonusTextToDisplay=h.text,this.totalSumToDisplay=this.formatService.formatPrice(this.totalSum,"classic-price"),this.durationToDisplay=this.durationValue,this.termDepositForm.dirty){let M={};Object.keys(this.termDepositForm.getRawValue()).forEach(Q=>{Q in this.inputToStorage&&(M[this.inputToStorage[Q]]=this.termDepositForm.controls[Q].value)}),M[c]=this.totalSumToDisplay,M[f]=this.totalSumToDisplay,this.calculatorService.saveDataForForm(this.termDepositCalculator.form_calculator_name,M)}var mt={"{{percentage}}":this.roundToTwoDecimal($)+" %","{{value}}":this.formatService.formatPrice(J,"classic-price")};this.termDepositCalculator.aside.bonus_text=function G(M,Q){return M.replace(/\{\{[^}]+\}\}/g,function(bt){return Q[bt]})}(this.textData,mt)}getCurrentDurationSettings(){this.curentDurationSetting=[],Object.keys(this.termDepositCalculator.duration_settings).forEach((e,a)=>{"object"==typeof this.termDepositCalculator.duration_settings[e]&&this.termDepositCalculator.duration_settings[e].value===this.durationValue&&this.curentDurationSetting.push({value:this.termDepositCalculator.duration_settings[e].value,text:this.termDepositCalculator.duration_settings[e].text,bonus:this.termDepositCalculator.duration_settings[e].bonus})})}calcMaxInityieldValue(e){const a=this.termDepositCalculator.sliders.duration_value.max;return e>
1a?e:this.roundToThousands(a)}formatMonths(e){return this.formatService.formatPrice(e,"whole-price")+" / mesiac"}roundToThousands(e){return 1e3*Math.ceil(e/1e3)}roundToTwoDecimal(e){return parseFloat(e.toFixed(2))}formatPercentage(e){return this.formatService.formatPercentage(e,!0)}get depositValue(){return parseFloat(this.termDepositForm.get("depositValueInput")?.value)}get durationValue(){return parseFloat(this.termDepositForm.get("durationValueInput")?.value)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Me),t.rXU(Wo.C),t.rXU(Ne.iu))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-pabk-calc-term-deposit"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"py-12","sm:py-6"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6",3,"innerHTML"],[1,"flex","pb-12","xl:flex-col","sm:pb-6"],[1,"w-full","p-9","border-l","border-y","border-gray-100","rounded-tl","rounded-bl","xl:border-r","xl:border-b-0","xl:rounded-bl-none","xl:rounded-tr"],["class","text-xl font-bold text-orange pb-12 sm:pb-6",4,"ngIf"],["class","text-gray-400 pb-12 sm:pb-6",4,"ngIf"],["addClass","pb-12","widthInput","w-12","formInputName","depositValueInput","formSliderName","depositValueRange",3,"label","minValue","maxValue","form","step","round","readonlyInput"],["addClass","pb-12","widthInput","w-28","formInputName","durationValueInput","formSliderName","durationValueRange","symbol","month",3,"label","minValue","maxValue","form","step","round","readonlyInput"],[1,"flex","flex-col","flex-shrink-0","w-[28rem]","bg-gray-50","p-9","border","border-gray-50","rounded-tr","rounded-br","xl:w-full","xl:rounded-tr-none","xl:rounded-bl"],[1,"text-gray-400","pb-2",3,"innerText"],[1,"text-2xl","font-bold","text-orange","pb-6",3,"innerHtml"],["class","text-2xl flex justify-between items-center text-purple-100 mb-3 sm:text-sm pb-2",4,"ngIf"],["class","text-gray-400 pb-2",3,"innerText",4,"ngIf"],[1,"flex","flex-col","items-center"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","terminovany_vklad","class","relative inline-flex justify-center items-center w-60 text-white bg-purple-100 pl-6 py-3 pr-14 mb-4 border-2 border-purple-100 rounded sm:w-full  btn-arrow",3,"href","target",4,"ngIf"],["class","max-w-7xl w-full text-sm leading-relaxed text-gray-400 mx-auto sm:text-xs sm:leading-relaxed",4,"ngIf"],[1,"text-xl","font-bold","text-orange","pb-12","sm:pb-6"],[1,"text-gray-400","pb-12","sm:pb-6"],[1,"text-2xl","flex","justify-between","items-center","text-purple-100","mb-3","sm:text-sm","pb-2"],[1,"font-bold",3,"innerText"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","terminovany_vklad",1,"relative","inline-flex","justify-center","items-center","w-60","text-white","bg-purple-100","pl-6","py-3","pr-14","mb-4","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],[1,"max-w-7xl","w-full","text-sm","leading-relaxed","text-gray-400","mx-auto","sm:text-xs","sm:leading-relaxed"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"]],template:function(a,o){1&a&&(t.DNE(0,Hm,48,26,"div",0),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.termDepositCalculator)},dependencies:[m.bT,d.cb,d.j4,cn,Lt,H.A]})}}return n})();class Mm extends sn{constructor(i){super(),(0,pt.A)(this,i)}mergeFromCms(i){let e={rpmn:i.getSettings().rpmn},a=i.parseSettingFromJson();(0,pt.A)(this,e,a)}}const Om=["slider"],Am=n=>({height:n});function Xm(n,i){if(1&n&&(t.j41(0,"h3",54),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);
1t.R7$(),t.SpI("\n              ",e.creditCalculator.tooltip_heading,"")}}function Vm(n,i){if(1&n&&(t.j41(0,"div",55),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI("\n              ",e.creditCalculator.tooltip_text,"")}}function Um(n,i){if(1&n){const e=t.RV6();t.j41(0,"li",56),t.EFF(1,"\n                  "),t.j41(2,"input",57),t.bIt("click",function(){const o=t.eBV(e).$implicit,r=t.XpG(2);return t.Njj(r.setDuration(o))}),t.k0s(),t.EFF(3,"\n                  "),t.j41(4,"label",58),t.EFF(5,"\n                    "),t.j41(6,"div",37),t.EFF(7),t.k0s(),t.EFF(8,"\n                    "),t.j41(9,"div",59),t.pXf(10,2),t.k0s(),t.EFF(11,"\n                  "),t.k0s(),t.EFF(12,"\n                "),t.k0s()}if(2&n){const e=i.$implicit,a=t.XpG(2);t.R7$(2),t.Mz_("id","m_",e,""),t.Y8G("formControlName","durationInput")("value",e)("name","durationInput"),t.R7$(2),t.Mz_("for","m_",e,""),t.R7$(3),t.SpI("",a.durationToPayment(e)," EUR"),t.R7$(3),t.uP7(a.monthsToYears(e))(a.monthsToYears(e)),t.nnv(10)}}function qm(n,i){if(1&n&&t.nrm(0,"div",60),2&n){const e=t.XpG(2);t.Y8G("innerText",e.creditCalculator.review.side_subscription)}}function zm(n,i){if(1&n&&t.nrm(0,"span",61),2&n){const e=t.XpG(2);t.Y8G("innerText",e.creditCalculator.review.more_button)}}function Zm(n,i){if(1&n&&(t.EFF(0,"\n                "),t.nrm(1,"span",61),t.EFF(2,"\n              ")),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("innerText",e.creditCalculator.review.low_button)}}function Jm(n,i){if(1&n&&(t.j41(0,"div",62),t.EFF(1,"\n            "),t.nrm(2,"h3",63),t.EFF(3,"\n            "),t.nrm(4,"p",64),t.EFF(5,"\n          "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("innerText",e.creditCalculator.additional_text.heading),t.R7$(2),t.Y8G("innerText",e.creditCalculator.additional_text.frist_p)}}function Wm(n,i){if(1&n&&(t.j41(0,"a",65),t.EFF(1,"\n              "),t.nrm(2,"span",66),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",67),t.EFF(5,"\n                "),t.nrm(6,"use",23),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",68),t.EFF(10,"\n                "),t.nrm(11,"use",23),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonInterested.url,t.B4B)("target",e.inputData.buttonInterested.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonInterested.name)}}function Km(n,i){if(1&n&&(t.j41(0,"a",69),t.EFF(1,"\n              "),t.nrm(2,"span",66),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",67),t.EFF(5,"\n                "),t.nrm(6,"use",23),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",68),t.EFF(10,"\n                "),t.nrm(11,"use",23),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonVisit.url,t.B4B)("target",e.inputData.buttonVisit.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonVisit.name)}}function Qm(n,i){if(1&n&&(t.j41(0,"div",70),t.EFF(1,"\n            "),t.nrm(2,"h3",63),t.EFF(3,"\n            "),t.nrm(4,"p",64),t.EFF(5,"\n          "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("innerText",e.creditCalculator.additional_text.heading),t.R7$(2),t.Y8G("innerText",e.creditCalculator.additional_text.frist_p)}}function tu(n,i){if(1&n&&(t.j41(0,"a",71),t.EFF(1,"\n              "),t.nrm(2,"span",66),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",67),t.EFF(5,"\n                "),t.nrm(6,"use",72),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",68),t.EFF(10,"\n                "),t.nrm(11,"use",72),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonInterested.url,t.B4B)("target",e.inputData.buttonInterested.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonInterested.name)}}function eu(n,i){if(1&n&&(t.j41(0,"a",69),t.EFF(1,"\n              "),t.nrm(2,"span",66),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",67),t.EFF(5,"\n                "),t.nrm(6,"use",72),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.j41(9,"svg",68),t.EFF(10,"\n                "),t.nrm(11,"use",72),t.EFF(12,"\n              "),t.k0s(),t.EFF(13,"\n            "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonVisit.url,t.B4B)("target",e.inputData.buttonVisit.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonVisit.name)}}function nu(n,i){if(1&n&&(t.j41(0,"div",73),t.EFF(1,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("innerHtml",e.RenderHtml(e.creditCalculator.rpmn),t.npT)}}function au(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",4),t.EFF(1,"\n  "),t.j41(2,"section",5),t.EFF(3,"\n    "),t.j41(4,"div",6),t.EFF(5,"\n      "),t.nrm(6,"h2",7),t.EFF(7,"\n      "),t.j41(8,"div",8),t.EFF(9,"\n        "),t.j41(10,"div",9),t.EFF(11,"\n          "),t.j41(12,"div",10),t.EFF(13,"\n            "),t.DNE(14,Xm,2,1,"h3",11),t.EFF(15,"\n            "),t.DNE(16,Vm,2,1,"div",12),t.EFF(17,"\n            "),t.j41(18,"pabk-clc-slider-container",13),t.EFF(19,"\n            "),t.k0s(),t.EFF(20,"\n          "),t.k0s(),t.EFF(21,"\n          "),t.j41(22,"div",14),t.EFF(23,"\n            "),t.j41(24,"div",15),t.EFF(25,"\n              "),t.nrm(26,"h3",16),t.EFF(27,"\n              "),t.j41(28,"div",17),t.EFF(29,"\n                "),t.j41(30,"button",18),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return o.sliderInstance.goTo("prev"),t.Njj(o.setCalcSliderCounter())}),t.EFF(31,"\n                  "),t.qSk(),t.j41(32,"svg",19),t.EFF(33,"\n                    "),t.nrm(34,"use",20),t.EFF(35,"\n                  "),t.k0s(),t.EFF(36,"\n                "),t.k0s(),t.EFF(37,"\n                "),t.joV(),t.j41(38,"span",21),t.EFF(39),t.k0s(),t.EFF(40,"\n                "),t.j41(41,"button",22),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return o.sliderInstance.goTo("next"),t.Njj(o.setCalcSliderCounter())}),t.EFF(42,"\n                  "),t.qSk(),t.j41(43,"svg",19),t.EFF(44,"\n                    "),t.nrm(45,"use",23),t.EFF(46,"\n                  "),t.k0s(),t.EFF(47,"\n                "),t.k0s(),t.EFF(48,"\n              "),t.k0s(),t.EFF(49,"\n            "),t.k0s(),t.EFF(50,"\n            "),t.joV(),t.j41(51,"div",24),t.EFF(52,"\n              "),t.nrm(53,"span",25),t.EFF(54,"\n              "),t.j41(55,"ul",26,0),t.EFF(57,"\n                "),t.DNE(58,Um,13,10,"li",27),t.EFF(59,"\n              "),t.k0s(),t.EFF(60,"\n            "),t.k0s(),t.EFF(61,"\n          "),t.k0s(),t.EFF(62,"\n          "),t.j41(63,"pabk-clc-radio",28),t.EFF(64,"\n          "),t.k0s(),t.EFF(65,"\n        "),t.k0s(),t.EFF(66,"\n        "),t.j41(67,"div",29),t.EFF(68,"\n          "),t.j41(69,"div",30),t.EFF(70,"\n            "),t.j41(71,"div",31),t.EFF(72,"\n              "),t.nrm(73,"div",32),t.EFF(74,"\n              "),t.j41(75,"div",33),t.EFF(76),t.k0s(),t.EFF(77,"\n            "),t.k0s(),t.EFF(78,"\n            "),t.j41(79,"div",34),t.EFF(80,"\n              "),t.DNE(81,qm,1,1,"div",35),t.EFF(82,"\n              "),t.j41(83,"div",36),t.EFF(84,"\n                "),t.j41(85,"span"),t.EFF(86),t.k0s(),t.EFF(87,"\n                "),t.j41(88,"span",37),t.EFF(89),t.k0s(),t.EFF(90,"\n              "),t.k0s(),t.EFF(91,"\n              "),t.j41(92,"div",36),t.EFF(93,"\n                "),t.j41(94,"span"),t.EFF(95),t.k0s(),t.EFF(96,"\n                "),t.j41(97,"span",37),t.EFF(98),t.k0s(),t.EFF(99,"\n              "),t.k0s(),t.EFF(100,"\n              "),t.j41(101,"div",36),t.EFF(102,"\n                "),t.j41(103,"span"),t.EFF(104),t.k0s(),t.EFF(105,"\n                "),t.j41(106,"span",37),t.EFF(107),t.k0s(),t.EFF(108,"\n              "),t.k0s(),t.EFF(109,"\n              "),t.j41(110,"div",38),t.EFF(111,"\n                "),t.j41(112,"span"),t.EFF(113),t.k0s(),t.EFF(114,"\n                "),t.j41(115,"span",37),t.EFF(116),t.k0s(),t.EFF(117,"\n              "),t.k0s(),t.EFF(118,"\n            "),t.k0s(),t.EFF(119,"\n            "),t.j41(120,"button",39),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.toggleAccordion())}),t.EFF(121,"\n              "),t.DNE(122,zm,1,1,"span",40),t.EFF(123,"\n              "),t.DNE(124,Zm,3,1,"ng-template",null,1,t.C5r),t.EFF(126,"\n              "),t.j41(127,"span",41),t.EFF(128,"\n                "),t.qSk(),t.j41(129,"svg",42),t.EFF(130,"\n                  "),t.nrm(131,"use",43),t.EFF(132,"\n                "),t.k0s(),t.EFF(133,"\n              "),t.k0s(),t.EFF(134,"\n            "),t.k0s(),t.EFF(135,"\n          "),t.k0s(),t.EFF(136,"\n          "),t.DNE(137,Jm,6,2,"div",44),t.EFF(138,"\n          "),t.joV(),t.j41(139,"div",45),t.EFF(140,"\n            "),t.DNE(141,Wm,14,3,"a",46),t.EFF(142,"\n            "),t.DNE(143,Km,14,3,"a",47),t.EFF(144,"\n          "),t.k0s(),t.EFF(145,"\n        "),t.k0s(),t.EFF(146,"\n        "),t.j41(147,"div",48),t.EFF(148,"\n          "),t.DNE(149,Qm,6,2,"div",49),t.EFF(150,"\n          "),t.j41(151,"div",50),t.EFF(152,"\n            "),t.DNE(153,tu,14,3,"a",51),t.EFF(154,"\n            "),t.DNE(155,eu,14,3,"a",47),t.EFF(156,"\n          "),t.k0s(),t.EFF(157,"\n        "),t.k0s(),t.EFF(158,"\n      "),t.k0s(),t.EFF(159,"\n      "),t.j41(160,"div",52),t.EFF(161,"\n        "),t.DNE(162,nu,2,1,"div",53),t.EFF(163,"\n      "),t.k0s(),t.EFF(164,"\n    "),t.k0s(),t.EFF(165,"\n  "),t.k0s(),t.EFF(166,"\n"),t.k0s()}if(2&n){const e=t.sdS(125),a=t.XpG();t.Y8G("formGroup",a.credit),t.R7$(6),t.Y8G("innerHTML",a.inputData.headline.join("<br />"),t.npT),t.R7$(8),t.Y8G("ngIf",a.creditCalculator.tooltip_heading),t.R7$(2),t.Y8G("ngIf",a.creditCalculator.tooltip_text),t.R7$(2),t.Y8G("label",a.creditCalculator.loan_input.label)("minValue",a.creditCalculator.loan_input.min)("maxValue",a.creditLoanMaxValue)("form",a.credit)("step",100)("round",!0),t.R7$(8),t.Y8G("innerHTML",a.creditCalculator.loan_duration_input.label,t.npT),t.R7$(13),t.Lme("",a.actualSlideNum," / ",a.slidesCount,""),t.R7$(19),t.Y8G("ngForOf",a.creditCalculator.loan_duration_input.months.possibleMonths),t.R7$(5),t.Y8G("options",a.radioOptions)("form",a.credit)("current",a.insurance)("toolTipHeading",a.
1creditCalculator.tooltip_heading_bottom)("toolTipText",a.creditCalculator.tooltip_text),t.R7$(10),t.Y8G("innerText",a.creditCalculator.review.side_description),t.R7$(3),t.JRh(a.formatTextTotalAndMonths(a.loan,a.monthlyPayment2)),t.R7$(3),t.AVh("pt-9",a.isToggleOpen),t.Y8G("ngStyle",t.eq3(46,Am,a.isToggleOpen?a.getHeightOfElement()+"px":"")),t.R7$(2),t.Y8G("ngIf",a.creditCalculator.review.side_subscription),t.R7$(5),t.JRh(a.creditCalculator.review.interest),t.R7$(3),t.JRh(a.formatPercentage(a.creditCalculator.loanInterest||4)),t.R7$(6),t.JRh(a.creditCalculator.review.insurance),t.R7$(3),t.JRh(a.format(a.monthlyFee,"classic-price")),t.R7$(6),t.JRh(a.creditCalculator.review.price),t.R7$(3),t.JRh(a.format(a.creditFee,"whole-price")),t.R7$(6),t.JRh(a.creditCalculator.review.total),t.R7$(3),t.JRh(a.format(a.total,"whole-price")),t.R7$(4),t.AVh("calcToggleActive",a.isToggleOpen),t.R7$(2),t.Y8G("ngIf",a.isToggleOpen)("ngIfElse",e),t.R7$(7),t.AVh("rotate-180",a.isToggleOpen),t.R7$(8),t.Y8G("ngIf",a.creditCalculator.additional_text.heading||a.creditCalculator.additional_text.frist_p),t.R7$(4),t.Y8G("ngIf",a.inputData.buttonInterested),t.R7$(2),t.Y8G("ngIf",a.inputData.buttonVisit),t.R7$(6),t.Y8G("ngIf",a.creditCalculator.additional_text.heading||a.creditCalculator.additional_text.frist_p),t.R7$(4),t.Y8G("ngIf",a.inputData.buttonInterested),t.R7$(2),t.Y8G("ngIf",a.inputData.buttonVisit),t.R7$(7),t.Y8G("ngIf",a.creditCalculator.rpmn)}}let ou=new S.Vy("PabkCalcCreditComponent"),iu=(()=>{class n{constructor(e,a,o,r,c,f,h){this.formatService=e,this.generalHelper=a,this.calcService=o,this.sanitized=r,this.tinySliderService=c,this._doc=f,this.analyticService=h,this.sliderIdent="pabkCalcCreditRef",this.sliderId="slider-",this.actualSlideNum=0,this.slidesCount=0,this.creditCalculator=new Mm,this.durationWithPayment={},this.creditLoanValue=0,this.creditLoanMaxValue=0,this.inputToStorage={currentLoanInput:"input1",loanDurationInput:"input2",loanInsurance:"input3",monthlyPaymentInput:"input4"},this.isToggleOpen=!1,this.sliderId="slider-"+c.getNextSliderNumber(this.sliderIdent)}ngOnInit(){if(this.inputData){let e=new Un;(0,pt.A)(e,this.inputData),this.creditCalculator.mergeFromCms(e),ou.warn(this.inputData),this.rpmnData=this.creditCalculator.rpmn,this.creditLoanMaxValue=Number(this.calcService.getValueFormUrl("vyska",this.creditCalculator.loan_input.max)),this.creditLoanValue=Number(this.calcService.getValueFormUrl("vyska",this.creditCalculator.loan_input.default)),this.creditCalculator.loanInterest=Number(this.calcService.getValueFormUrl("urok",this.creditCalculator.loanInterest)),this.creditCalculator.feePercentage=Number(this.calcService.getValueFormUrl("poplatok",this.creditCalculator.feePercentage)),this.creditCalculator.loan_duration_input.default=Number(this.calcService.getValueFormUrl("splatnost",this.creditCalculator.loan_duration_input.default)),this.init()}this.inputToStorage.currentLoanInput=this.creditCalculator.loan_input.label,this.inputToStorage.loanDurationInput=this.creditCalculator.loan_duration_input.label,this.inputToStorage.loanInsurance=this.creditCalculator.tooltip_heading_bottom,this.inputToStorage.monthlyPaymentInput=this.creditCalculator.review.side_description,this.calculate(),this.credit.valueChanges.subscribe(e=>{this.loanValue=this.loan,this.calculate()})}ngAfterViewInit(){this.tinySliderService.sliderInit(this.sliderIdent,this.sliderId,this.elSlider.nativeElement),this.sliderInstance=this.tinySliderService.getSliderInstance(this.sliderIdent,this.sliderId),this.setCalcSliderCounter(),this.presetCalcSliderFromUrl(),this.credit.get("creditInsurance").setValue(this.radioOptions[this.calcService.getValueFormUrl("poistenie",0)].value)}init(){this.credit=new ln({analyticService:this.analyticService,componentName:"uverova_kalkulacka"},{loanInput:new d.hs(this.creditLoanValue,{validators:[d.k0.max(this.creditLoanMaxValue),d.k0.min(this.creditCalculator.loan_input.min),d.k0.required]}),loanRange:new d.hs(this.creditLoanValue,{validators:[d.k0.max(this.creditLoanMaxValue)],updateOn:"change"}),durationInput:new d.hs(Number(this.calcService.getValueFormUrl("splatnost",this.creditCalculator.loan_duration_input.default)),{validators:[d.k0.max(this.creditCalculator.loan_duration_input.max),d.k0.min(this.creditCalculator.loan_duration_input.min),d.k0.required]}),creditInsurance:new d.hs(0,{updateOn:"change"})},{updateOn:"blur"}),this.radioOptions=[{label:this.creditCalculator.insurance.withoutText,value:this.creditCalculator.insurance.without,formName:"creditInsurance"},{label:this.creditCalculator.insurance.basicText,label_additional:this.creditCalculator.insurance.basicTextAdditional,value:this.creditCalculator.insurance.basic,formName:"creditInsurance"},{label:this.creditCalculator.insurance.complexText,label_additional:this.creditCalculator.insurance.complexTextAdditional,value:this.creditCalculator.insurance.complex,formName:"creditInsurance"}],this.monthlyPayment=0,this.creditFee=0,this.monthlyFee=0,this.total=0,this.loanValue=this.creditCalculator.loan_input.default}calculateByMonths(){this.creditCalculator.loan_duration_input.months.possibleMonths.forEach(e
1=>{let o=this.loan;o+=this.insurance/100*o*e;const c=this._calculatebyLoanAmount(o,e);this.durationWithPayment[e]=c})}calculate(){this.calculateByMonths();const e=this.loan,a=this.duration;let o=0,r=0,c=0;c=this.getInterest(e),o=this._calculatebyLoanAmount(e,a);let f=this.insurance/100*e;this.creditFee=e*this.creditCalculator.feePercentage,this.monthlyFee=f,this.monthlyPayment=o,this.total=this.roundToWhole(a*o+a*f+this.creditFee);let b=this.loan;if(b=e+f*a,r=this._calculatebyLoanAmount(this.loan+f*a,a),this.monthlyPayment2=r,this.credit.dirty){let J={};Object.keys(this.credit.getRawValue()).forEach(mt=>{mt in this.inputToStorage&&(J[this.inputToStorage[mt]]=this.credit.controls[mt].value)}),this.calcService.saveDataForForm(this.creditCalculator.form_calculator_name,J)}}getInterest(e){return e||(e=300),this.creditCalculator.loanInterest||4}setMaxMonths(){return this.loanValue>this.creditCalculator.loan_duration_input.breakpoint?this.creditCalculator.loan_duration_input.max:this.creditCalculator.loan_duration_input.max_lower}getMonths(e){return 12*e+" mesiacov"}roundToTwoDecimal(e){return parseFloat(e.toFixed(2))}formatMonthsWithText(e){return 1==e?e+" mesiac":e>0&&e<5?e+" mesiace":e+" mesiacov"}roundToWhole(e){return Math.round(e)}format(e,a){return this.formatService.formatPrice(e,a)}formatTextTotalAndMonths(e,a){return this.formatService.formatPrice(e,"whole-price")+" za "+this.formatService.formatPrice(a,"whole-price")+" mesa\u010dne"}formatMonths(e){return this.formatService.formatPrice(e,"whole-price")+" / mesiac"}formatYears(e){return 1==e?e+" rok":e>0&&e<5?e+" roky":e+" rokov"}formatPercentage(e){return parseFloat(e.toFixed(2)).toString().replace(".",",")+" % p.a."}get loan(){return parseInt(this.credit.get("loanInput")?.value)}get duration(){return parseInt(this.credit.get("durationInput")?.value)}get insurance(){return parseFloat(this.credit.get("creditInsurance")?.value)}RenderHtml(e){return this.sanitized.bypassSecurityTrustHtml(e)}presetCalcSliderFromUrl(){let e=Object.keys(this.durationWithPayment).map(r=>[Number(r),this.durationWithPayment[r]]),a=e.length-e.findIndex(r=>r[0]==this.creditCalculator.loan_duration_input.default)>4?4:0;this.sliderInstance.goTo(a);let o=this.sliderInstance.getInfo();this.actualSlideNum=Math.floor(o.index/o.slideBy)+1}setCalcSliderCounter(){let e=this.sliderInstance.getInfo();this.actualSlideNum=Math.floor(e.index/e.slideBy)+1,this.slidesCount=Math.ceil(e.slideCount/e.slideBy)}setDuration(e){this.credit.controls.durationInput.setValue(e)}monthsToYears(e){return Math.ceil(e/12)}durationToPayment(e){return e in this.durationWithPayment?this.durationWithPayment[e]:-1}_calculatebyLoanAmount(e,a){const o=this.creditCalculator.loanInterest/100/12,r=Math.pow(1+o,a);return Math.round(e*r*o/(r-1))}getHeightOfElement(){let e=document.getElementById("calcToggleBtn");return e?e.previousElementSibling.scrollHeight:0}toggleAccordion(){this.isToggleOpen=!this.isToggleOpen}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Me),t.rXU(T.r),t.rXU(ja),t.rXU(He.up),t.rXU(No),t.rXU(m.qQ),t.rXU(Ne.iu))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-pabk-calc-credit"]],viewQuery:function(a,o){if(1&a&&t.GBs(Om,5),2&a){let r;t.mGM(r=t.lsd())&&(o.elSlider=r.first)}},inputs:{inputData:"inputData"},decls:2,vars:1,consts:()=>{let e,a;return e=$localize`:␟05c8a395e805cefa5bfccce9f9f97c9ec78b8aa2␟1667421261785449049:{VAR_PLURAL, plural, =1 {rok} =2 {roky} few {rokov} other {rokov}}`,e=t.k04(e,{VAR_PLURAL:"\ufffd1\ufffd"}),a=$localize`:␟702ec417fb7d816a808098e5c776cc32c96d7327␟8314323807917557552:${"\ufffd0\ufffd"}:INTERPOLATION: ${e}:ICU:`,[["slider",""],["templateName",""],a,[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"py-12","sm:py-6"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6",3,"innerHTML"],[1,"flex","pb-12","xl:flex-col","sm:pb-6"],[1,"w-full","p-9","border-l","border-y","border-gray-100","rounded-tl","rounded-bl","xl:order-2","xl:border-r","xl:border-y-0","xl:rounded-t-none","xl:rounded-b-none"],[1,"pb-20","sm:pb-16"],["class","text-xl font-bold text-orange pb-12 sm:pb-6",4,"ngIf"],["class","text-gray-400 pb-12 sm:pb-6",4,"ngIf"],["addClass","pb-16","widthInput","w-12","formInputName","loanInput","formSliderName","loanRange",3,"label","minValue","maxValue","form","step","round"],[1,"pb-12","sm:pb-9","calcSlider"],[1,"flex","justify-between","items-center","pb-6"],[1,"text-xl","font-bold","text-orange",3,"innerHTML"],[1,"flex","items-center","sm:none"],["type","button","aria-label","Predch\xe1dzaj\xfaci slide",1,"curs
1or-pointer","calcSliderPrev",3,"click"],["aria-hidden","true","focusable","false",1,"w-3","h-4","fill-current","text-orange"],["href","assets/images/icons.svg#caret-left"],[1,"w-10","text-center","text-gray-400","calcSliderCount"],["type","button","aria-label","Nasleduj\xfaci slide",1,"cursor-pointer","calcSliderNext",3,"click"],["href","assets/images/icons.svg#caret-right"],[1,"relative","sm:-mr-9"],[1,"hidden","absolute","top-0","right-0","bottom-0","w-12","shadow-[inset_-30px_0_10px_-5px_rgba(255,255,255,1)]","z-10","none","sm:block"],[1,"flex","calcSlider"],["class","radio-5",4,"ngFor","ngForOf"],["type","round",3,"options","form","current","toolTipHeading","toolTipText"],[1,"flex","flex-col","flex-shrink-0","w-[28rem]","bg-gray-50","p-9","border","border-gray-50","rounded-tr","rounded-br","xl:order-1","xl:w-full","xl:pb-12","xl:rounded-t","xl:rounded-b-none"],[1,"relative"],[1,"pb-12","xl:pb-0"],[1,"text-gray-400","pb-2",3,"innerText"],[1,"text-2xl","font-bold","text-orange"],[1,"pb-12","transition-all","duration-150","xl:h-0","xl:pb-0","xl:overflow-hidden","calcToggleMain",3,"ngStyle"],["class","font-bold text-gray-400 pb-4",3,"innerText",4,"ngIf"],[1,"flex","justify-between","items-center","text-gray-400","pb-3","mb-3","border-b","border-gray-100","sm:text-sm"],[1,"font-bold"],[1,"flex","justify-between","items-center","text-gray-400","pb-12"],["type","button","id","calcToggleBtn",1,"hidden","absolute","left-1/2","-bottom-18","flex-col","items-center","w-full","text-center","transform","-translate-x-1/2","transition-all","duration-150","xl:flex","calcToggleBtn",3,"click"],["class","absolute top-0 left-1/2 text-xs text-gray-400 transform -translate-x-1/2 calcToggleBtnText",3,"innerText",4,"ngIf","ngIfElse"],[1,"flex","justify-center","items-end","w-12","h-12","bg-gray-50","rounded-full"],["aria-hidden","true","focusable","false",1,"w-3","h-2","fill-current","text-orange","mb-2.5","transition-all","duration-150","calcToggleBtnIcon"],["href","assets/images/icons.svg#caret-down"],["class","pb-12 xl:hidden",4,"ngIf"],[1,"flex","flex-col","items-center","xl:hidden"],["class","relative inline-flex justify-center items-center w-60 text-white bg-purple-100 pl-6 py-3 pr-14 mb-4 border-2 border-purple-100 rounded sm:w-full  btn-arrow",3,"href","target",4,"ngIf"],["class","relative inline-flex justify-center items-center w-60 text-purple-100 pl-6 py-3 pr-14 border-2 border-purple-100 rounded sm:w-full btn-arrow",3,"href","target",4,"ngIf"],[1,"hidden","flex-col","order-3","w-full","bg-gray-50","p-9","border","border-gray-50","rounded-b","xl:flex"],["class","pb-12 sm:pb-9",4,"ngIf"],[1,"flex","flex-col","items-center"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","uverova_kalkulacka","class","relative inline-flex justify-center items-center w-60 text-white bg-purple-100 pl-6 py-3 pr-14 mb-4 border-2 border-purple-100 rounded sm:w-full  btn-arrow",3,"href","target",4,"ngIf"],[1,"container-960"],["class","overflow-x-auto lg:-mr-15 mb-50",3,"innerHtml",4,"ngIf"],[1,"text-xl","font-bold","text-orange","pb-12","sm:pb-6"],[1,"text-gray-400","pb-12","sm:pb-6"],[1,"radio-5"],["type","radio",1,"hidden","peer",3,"click","formControlName","id","value","name"],[1,"flex","flex-col","text-center","text-gray-400","p-4","border","border-orange","rounded","cursor-pointer","transition-colors","duration-150","peer-checked:text-white","peer-checked:bg-orange",3,"for"],[1,"text-sm"],[1,"font-bold","text-gray-400","pb-4",3,"innerText"],[1,"absolute","top-0","left-1/2","text-xs","text-gray-400","transform","-translate-x-1/2","calcToggleBtnText",3,"innerText"],[1,"pb-12","xl:hidden"],[1,"text-xl","font-bold","text-orange","pb-4",3,"innerText"],[1,"text-gray-400",3,"innerText"],[1,"relative","inline-flex","justify-center","items-center","w-60","text-white","bg-purple-100","pl-6","py-3","pr-14","mb-4","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],[1,"relative","inline-flex","justify-center","items-center","w-60","text-purple-100","pl-6","py-3","pr-14","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"pb-12","sm:pb-9"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","uverova_kalkulacka",1,"relative","inline-flex","justify-center","items-center","w-60","text-white","bg-purple-100","pl-6","py-3","pr-14","mb-4","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],["href","/assets/images/icons.svg#caret-right"],[1,"overflow-x-auto","lg:-mr-15","mb
1-50",3,"innerHtml"]]},template:function(a,o){1&a&&(t.DNE(0,au,167,48,"div",3),t.EFF(1,"\n")),2&a&&t.Y8G("ngIf",o.creditCalculator)},dependencies:[m.Sq,m.bT,m.B3,d.me,d.Fm,d.BC,d.cb,d.j4,d.JD,qn,cn,Lt,H.A]})}}return n})();class ru extends sn{constructor(i){super(),(0,pt.A)(this,i)}mergeFromCms(i){let a=i.parseSettingFromJson();(0,pt.A)(this,{},a)}}class su extends Zo{}let lu=(()=>{class n{constructor(){}formatSymbol(e,a,o){let r=this.selectSymbol(e,a);return o?"\u20ac"===a?this.formatPrice(e,"whole-price"):e+" "+r:r}selectSymbol(e,a){return"month"===a?1==e?" mesiac":e>0&&e<5?" mesiace":" mesiacov":"year"===a?1==e?" rok":e>0&&e<5?" roky":" rokov":a}formatPrice(e,a){switch(a){case"whole-price":return e.toLocaleString("fi-FI",{minimumFractionDigits:0,maximumFractionDigits:0,style:"currency",currency:"EUR"});case"classic-price":return e.toLocaleString("fi-FI",{style:"currency",currency:"EUR"})}return e}formatPercentage(e,a){return parseFloat((a?100*e:e).toFixed(2))+" % ro\u010dne"}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function cu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.j41(2,"div",14),t.EFF(3),t.k0s(),t.EFF(4,"\n                    "),t.j41(5,"div",15),t.EFF(6),t.k0s(),t.EFF(7,"\n                "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(e.termDepositCalculator.aside.favored_plus_text),t.R7$(3),t.SpI("",e.totalFavoredPlusSumToDisplay,"\u20ac")}}function pu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.j41(2,"div",14),t.EFF(3),t.k0s(),t.EFF(4,"\n                    "),t.j41(5,"div",15),t.EFF(6),t.k0s(),t.EFF(7,"\n                "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(e.termDepositCalculator.aside.favored_text),t.R7$(3),t.SpI("",e.totalFavoredSumToDisplay,"\u20ac")}}function mu(n,i){if(1&n&&(t.j41(0,"a",18),t.EFF(1,"\n                    "),t.nrm(2,"span",19),t.EFF(3,"\n                    "),t.qSk(),t.j41(4,"svg",20),t.EFF(5,"\n                      "),t.nrm(6,"use",21),t.EFF(7,"\n                    "),t.k0s(),t.EFF(8,"\n                    "),t.j41(9,"svg",22),t.EFF(10,"\n                      "),t.nrm(11,"use",21),t.EFF(12,"\n                    "),t.k0s(),t.EFF(13,"\n                  "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.inputData.buttonInterested.url,t.B4B)("target",e.inputData.buttonInterested.target),t.R7$(2),t.Y8G("innerText",e.inputData.buttonInterested.name)}}function uu(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n    "),t.j41(2,"section",2),t.EFF(3,"\n      "),t.j41(4,"div",3),t.EFF(5,"\n        "),t.nrm(6,"h2",4),t.EFF(7,"\n            "),t.j41(8,"div",5),t.EFF(9,"\n              "),t.j41(10,"div",6),t.EFF(11,"\n                "),t.EFF(12,"\n                  "),t.j41(13,"pabk-clc-slider-container",7),t.EFF(14,"\n  \n                  "),t.k0s(),t.EFF(15,"\n                  "),t.j41(16,"div",8),t.EFF(17,"\n                    "),t.j41(18,"div",9),t.EFF(19),t.k0s(),t.EFF(20,"\n                    "),t.j41(21,"pabk-clc-radio",10),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.calculate())}),t.EFF(22,"\n                    "),t.k0s(),t.EFF(23,"\n                     \n                  "),t.k0s(),t.EFF(24,"\n              "),t.k0s(),t.EFF(25,"\n  \n              "),t.j41(26,"div",11),t.EFF(27,"\n                "),t.j41(28,"div",12),t.EFF(29),t.k0s(),t.EFF(30,"\n\n                "),t.DNE(31,cu,8,2,"ng-container",13),t.EFF(32,"\n\n                "),t.DNE(33,pu,8,2,"ng-container",13),t.EFF(34,"\n\n                "),t.j41(35,"div",14),t.EFF(36),t.k0s(),t.EFF(37,"\n                "),t.j41(38,"div",15),t.EFF(39),t.k0s(),t.EFF(40,"\n\n                "),t.EFF(41,"\n                "),t.j41(42,"div",16),t.EFF(43,"\n                  "),t.DNE(44,mu,14,3,"a",17),t.EFF(45,"\n                "),t.k0s(),t.EFF(46,"\n              "),t.k0s(),t.EFF(47,"\n          "),t.k0s(),t.EFF(48,"\n          "),t.EFF(49,"\n        "),t.k0s(),t.EFF(50,"\n  \n      "),t.k0s(),t.EFF(51,"\n  "),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("formGroup",e.termDepositForm),t.R7$(6),t.Y8G("innerHTML",e.inputData.headline.join("<br />"),t.npT),t.R7$(7),t.Y8G("label",e.termDepositCalculator.sliders.deposit_value.label)("minValue",e.termDepositCalculator.sliders.deposit_value.min)("maxValue",e.termDepositCalculator.sliders.deposit_value.max)("form",e.termDepositForm)("step",500)("round",!0)("readonlyInput",!1),t.R7$(6),t.JRh(e.termDepositCalculator.fixation.label),t.R7$(2),t.Y8G("options",e.radioOptions)("idPrefix","hypo")("form",e.termDepositForm)("current",e.fix
1ation)("gridded",!0),t.R7$(8),t.JRh(e.termDepositCalculator.aside.heading),t.R7$(2),t.Y8G("ngIf",0!=e.totalFavoredPlusSumToDisplay),t.R7$(2),t.Y8G("ngIf",0!=e.totalFavoredSumToDisplay),t.R7$(3),t.JRh(e.termDepositCalculator.aside.basic_text),t.R7$(3),t.SpI("",e.totalBasicSumToDisplay,"\u20ac"),t.R7$(5),t.Y8G("ngIf",e.inputData.buttonInterested)}}let du=(()=>{class n{constructor(e,a,o){this.formatService=e,this.calculatorService=a,this.analyticService=o,this.termDepositCalculator=new ru,this.indexOfSettings=0,this.inputToStorage={depositValueInput:"",durationValueInput:""}}ngOnInit(){if(this.inputData){let e=new su;(0,pt.A)(e,this.inputData),this.termDepositCalculator.mergeFromCms(e),this.textData=this.termDepositCalculator.aside.bonus_text,this.init()}this.inputToStorage.depositValueInput=this.termDepositCalculator.sliders.deposit_value.label,this.inputToStorage.durationValueInput=this.termDepositCalculator.sliders.duration_value.label,this.calculate(),this.termDepositForm.valueChanges.subscribe(e=>{this.calculate()})}init(){this.termDepositForm=new ln({analyticService:this.analyticService,componentName:"terminovany_vklad"},{depositValueInput:new d.hs(this.termDepositCalculator.sliders.deposit_value.default,{validators:[d.k0.max(this.termDepositCalculator.sliders.deposit_value.max),d.k0.min(this.termDepositCalculator.sliders.deposit_value.min),d.k0.required]}),depositValueRange:new d.hs(this.termDepositCalculator.sliders.deposit_value.default,{validators:[d.k0.max(this.calcMaxInityieldValue(this.termDepositCalculator.sliders.deposit_value.max))],updateOn:"change"}),durationValueInput:new d.hs(this.termDepositCalculator.sliders.duration_value.default,{validators:[d.k0.max(this.termDepositCalculator.sliders.duration_value.max),d.k0.min(this.termDepositCalculator.sliders.duration_value.min),d.k0.required]}),fixationType:new d.hs(function(e){let a=null;return Object.keys(e).forEach((o,r)=>("object"==typeof e[o]&&e[o].default&&(a=Number(r-1)),1)),a}(this.termDepositCalculator.fixation),{updateOn:"change"}),durationValueRange:new d.hs(this.termDepositCalculator.sliders.duration_value.default,{validators:[d.k0.max(this.termDepositCalculator.sliders.duration_value.max)],updateOn:"change"})},{updateOn:"blur"}),Object.keys(this.termDepositCalculator.fixation).length>0&&(this.radioOptions=[]),this.insertRadioFixationData()}insertRadioFixationData(){this.radioOptions=[],Object.keys(this.termDepositCalculator.fixation).forEach((e,a)=>{if("object"!=typeof this.termDepositCalculator.fixation[e])return;let o={label:this.termDepositCalculator.fixation[e].label,label_additional:this.termDepositCalculator.fixation[e].text,formName:"fixationType",value:Number(a-1)};this.radioOptions.push(o)})}calculate(){const e=this.termDepositCalculator.aside.top_heading,a=this.termDepositCalculator.aside.top_text;if(this.calculateBasedOnDuration(),this.termDepositForm.dirty){let o={};Object.keys(this.termDepositForm.getRawValue()).forEach(r=>{r in this.inputToStorage&&(o[this.inputToStorage[r]]=this.termDepositForm.controls[r].value)}),o[e]=this.totalSumToDisplay,o[a]=this.totalSumToDisplay,this.calculatorService.saveDataForForm(this.termDepositCalculator.form_calculator_name,o)}}calculateBasedOnDuration(){const e=this.depositValue,a=this.termDepositCalculator.vat;0==this.fixation?(this.totalBasicSumToDisplay=Number((e*this.termDepositCalculator.fixation.first.basic*(1.015/12)*a).toFixed(2)),this.totalFavoredSumToDisplay=0,this.totalFavoredPlusSumToDisplay=0):1==this.fixation?(this.totalBasicSumToDisplay=Number((e*this.termDepositCalculator.fixation.second.basic*1*a).toFixed(2)),this.totalFavoredSumToDisplay=Number((e*this.termDepositCalculator.fixation.second.favored*1*a).toFixed(2)),this.totalFavoredPlusSumToDisplay=Number((e*this.termDepositCalculator.fixation.second.favored_plus*1*a).toFixed(2))):(this.totalBasicSumToDisplay=Number((e*this.termDepositCalculator.fixation.third.basic*2*a).toFixed(2)),this.totalFavoredSumToDisplay=Number((e*this.termDepositCalculator.fixation.third.favored*2*a).toFixed(2)),this.totalFavoredPlusSumToDisplay=Number((e*this.termDepositCalculator.fixation.third.favored_plus*2*a).toFixed(2)))}calcMaxInityieldValue(e){const a=this.termDepositCalculator.sliders.duration_value.max;return e>
1a?e:this.roundToThousands(a)}formatMonths(e){return this.formatService.formatPrice(e,"whole-price")+" / mesiac"}roundToThousands(e){return 1e3*Math.ceil(e/1e3)}roundToTwoDecimal(e){return parseFloat(e.toFixed(2))}formatPercentage(e){return this.formatService.formatPercentage(e,!0)}get depositValue(){return parseFloat(this.termDepositForm.get("depositValueInput")?.value)}get durationValue(){return parseFloat(this.termDepositForm.get("durationValueInput")?.value)}get fixation(){return this.termDepositForm.get("fixationType")?.value}getFixation(e){switch(e){case 0:default:return this.termDepositCalculator.fixation.first.label;case 1:return this.termDepositCalculator.fixation.second.label;case 2:return this.termDepositCalculator.fixation.third.label}}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(lu),t.rXU(Wo.C),t.rXU(Ne.iu))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-pabk-calc-term-deposit-extended"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"py-12","sm:py-6"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl","sm:pb-6",3,"innerHTML"],[1,"flex","pb-12","xl:flex-col","sm:pb-6"],[1,"w-full","p-9","border-l","border-y","border-gray-100","rounded-tl","rounded-bl","xl:border-r","xl:border-b-0","xl:rounded-bl-none","xl:rounded-tr"],["addClass","pb-12","widthInput","w-12","formInputName","depositValueInput","formSliderName","depositValueRange",3,"label","minValue","maxValue","form","step","round","readonlyInput"],[1,"flex","items-center","lg:flex-wrap","mt-20"],[1,"font-medium","mr-25","lg:w-100p","lg:mr-0","lg:mb-25"],["type","round","gridClass","p-5 md:w-50p xs:w-100p",1,"flex","flex-col","flex-wrap","ml-20",3,"click","options","i
1dPrefix","form","current","gridded"],[1,"flex","flex-col","flex-shrink-0","w-[28rem]","bg-gray-50","p-9","border","border-gray-50","rounded-tr","rounded-br","xl:w-full","xl:rounded-tr-none","xl:rounded-bl"],[1,"text-2xl","font-bold","text-purple-100","pb-2"],[4,"ngIf"],[1,"text-gray-400","pb-2"],[1,"text-3xl","font-bold","text-orange","pb-5"],[1,"flex","flex-col","items-center"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","dobra_pozicka","class","relative inline-flex justify-center items-center w-60 text-white bg-purple-100 pl-6 py-3 pr-14 mb-4 border-2 border-purple-100 rounded sm:w-full  btn-arrow",3,"href","target",4,"ngIf"],["role","button","Ga4Tracking","","eventType","complete_calculator","componentType","calculator","componentName","dobra_pozicka",1,"relative","inline-flex","justify-center","items-center","w-60","text-white","bg-purple-100","pl-6","py-3","pr-14","mb-4","border-2","border-purple-100","rounded","sm:w-full","btn-arrow",3,"href","target"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"]],template:function(a,o){1&a&&(t.DNE(0,uu,52,21,"div",0),t.EFF(1,"\n  ")),2&a&&t.Y8G("ngIf",o.termDepositCalculator)},dependencies:[m.bT,d.cb,d.j4,qn,cn,Lt,H.A]})}}return n})();const fu=["containerFundsBlock"],hu=["containerSimpleGraphBlock"],Fu=["containerExchangeRatePageBlock"],gu=()=>["PABKBlocksElementsProductBlockSimple","PABKBlocksProductBlockSimple"],bu=()=>["PABKBlocksContentBlock","PABKBlocksElementsContentBlock"];function xu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.j41(2,"section",6),t.EFF(3,"\n                  "),t.j41(4,"div",7),t.EFF(5,"\n                    "),t.nrm(6,"div",8),t.EFF(7,"\n                  "),t.k0s(),t.EFF(8,"\n                "),t.k0s(),t.EFF(9,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(6),t.Y8G("b3655WysiwygHtml",null==e.fields?null:e.fields.rte)}}function _u(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"div",9),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("b3655WysiwygHtml",null==e.fields?null:e.fields.html)}}function Eu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"app-big-banner-block",10),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function ku(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"a",11),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("id",null==e.fields?null:e.fields.anchorId)}}function yu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"app-special-block",10),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Cu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"app-docs-block",10),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function vu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"app-faq-block",10),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function wu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-flexbox-block",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Su(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-content-steps-block",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Du(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-headline-block",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Tu(n,i){if(1&n&&t.nrm(0,"app-latest-articles-block",10),2&n){const e=t.XpG(2).$implicit;t.Y8G("inputData",e.fields)}}function Gu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.DNE(2,Tu,1,1,"app-latest-articles-block",12),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngIf",e.generalHelper.isBrowser())}}function Bu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-form-block",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Iu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-show-node-children",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function ju(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-help-page-block",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Ru(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                  "),t.nrm(2,"app-dictionary-block",10),t.EFF(3,"\n                "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Pu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-pabk-calc-good-loan",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Yu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-pabk-calc-better-payment",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function $u(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-pabk-calc-term-deposit",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Nu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-pabk-calc-credit",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Hu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.nrm(2,"app-pabk-calc-term-deposit-extended",10),t.EFF(3,"\n                  "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Lu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.EFF(2,"\n                "),t.nrm(3,"app-product-block-simple",10),t.EFF(4,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.Y8G("inputData",e.fields)}}function Mu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"app-content-block",10),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}function Ou(n,i){if(1&n&&(t.j41(0,"code"),t.EFF(1),t.nI1(2,"json"),t.k0s()),2&n){const e=t.XpG(3).$implicit;t.R7$(),t.JRh(t.bMT(2,1,e))}}function Au(n,i){if(1&n){const e=t.RV6();t.j41(0,"pre"),t.EFF(1,">> Nieco ine, treba doprogramovat "),t.j41(2,"span",14),t.bIt("dblclick",function(){t.eBV(e);
1const o=t.XpG(2).$implicit,r=t.XpG();return t.Njj(r.generalHelper.copyMessage(o.componentType,!0))})("click",function(){t.eBV(e);const o=t.XpG(2).$implicit,r=t.XpG();return t.Njj(r.showMissCode=r.showMissCode==o.componentType?null:o.componentType)}),t.EFF(3),t.k0s(),t.EFF(4," <<\n"),t.DNE(5,Ou,3,3,"code",13),t.EFF(6,"\n          "),t.k0s()}if(2&n){const e=t.XpG(2).$implicit,a=t.XpG();t.R7$(3),t.SpI("[ ",e.componentType," ]"),t.R7$(2),t.Y8G("ngIf",a.showMissCode==e.componentType)}}function Xu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.DNE(2,Au,7,2,"pre",13),t.EFF(3,"\n\n              "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngIf",e.generalHelper.isDevMod())}}function Vu(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n\n      "),t.j41(2,"div",1),t.EFF(3,"\n"),t.EFF(4,"\n\n            "),t.qex(5,2),t.EFF(6,"\n              "),t.DNE(7,xu,10,1,"ng-container",3),t.EFF(8,"\n              "),t.DNE(9,_u,4,1,"ng-container",3),t.EFF(10,"\n              "),t.DNE(11,Eu,4,1,"ng-container",3),t.EFF(12,"\n              "),t.DNE(13,ku,4,1,"ng-container",3),t.EFF(14,"\n"),t.EFF(15,"\n"),t.EFF(16,"\n"),t.EFF(17,"\n              "),t.DNE(18,yu,4,1,"ng-container",3),t.EFF(19,"\n"),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n              "),t.DNE(23,Cu,4,1,"ng-container",3),t.EFF(24,"\n              "),t.DNE(25,vu,4,1,"ng-container",3),t.EFF(26,"\n                  "),t.DNE(27,wu,4,1,"ng-container",3),t.EFF(28,"\n"),t.EFF(29,"\n"),t.EFF(30,"\n"),t.EFF(31,"\n                  "),t.DNE(32,Su,4,1,"ng-container",3),t.EFF(33,"\n                  "),t.DNE(34,Du,4,1,"ng-container",3),t.EFF(35,"\n                  "),t.DNE(36,Gu,4,1,"ng-container",3),t.EFF(37,"\n                  "),t.DNE(38,Bu,4,1,"ng-container",3),t.EFF(39,"\n                  "),t.EFF(40,"\n"),t.EFF(41,"\n"),t.EFF(42,"\n"),t.EFF(43,"\n"),t.EFF(44,"\n"),t.EFF(45,"\n"),t.EFF(46,"\n                  "),t.DNE(47,Iu,4,1,"ng-container",3),t.EFF(48,"\n                  "),t.DNE(49,ju,4,1,"ng-container",3),t.EFF(50,"\n                "),t.DNE(51,Ru,4,1,"ng-container",3),t.EFF(52,"\n"),t.EFF(53,"\n"),t.EFF(54,"\n"),t.EFF(55,"\n"),t.EFF(56,"\n"),t.EFF(57,"\n"),t.EFF(58,"\n"),t.EFF(59,"\n"),t.EFF(60,"\n"),t.EFF(61,"\n"),t.EFF(62,"\n"),t.EFF(63,"\n"),t.EFF(64,"\n"),t.EFF(65,"\n"),t.EFF(66,"\n"),t.EFF(67,"\n"),t.EFF(68,"\n"),t.EFF(69,"\n"),t.EFF(70,"\n                  "),t.DNE(71,Pu,4,1,"ng-container",3),t.EFF(72,"\n                  "),t.DNE(73,Yu,4,1,"ng-container",3),t.EFF(74,"\n                  "),t.DNE(75,$u,4,1,"ng-container",3),t.EFF(76,"\n                  "),t.DNE(77,Nu,4,1,"ng-container",3),t.EFF(78,"\n\n                  "),t.DNE(79,Hu,4,1,"ng-container",3),t.EFF(80,"\n\n"),t.EFF(81,"\n"),t.EFF(82,"\n"),t.EFF(83,"\n"),t.EFF(84,"\n"),t.EFF(85,"\n"),t.EFF(86,"\n              "),t.DNE(87,Lu,5,1,"ng-container",4),t.EFF(88,"\n              "),t.DNE(89,Mu,4,1,"ng-container",4),t.EFF(90,"\n              \n"),t.EFF(91,"\n"),t.EFF(92,"\n"),t.EFF(93,"\n"),t.EFF(94,"\n"),t.EFF(95,"\n"),t.EFF(96,"\n"),t.EFF(97,"\n"),t.EFF(98,"\n              "),t.DNE(99,Xu,4,1,"ng-container",5),t.EFF(100,"\n            "),t.bVm(),t.EFF(101,"\n\n"),t.EFF(102,"\n      "),t.k0s(),t.EFF(103,"\n"),t.bVm()),2&n){const e=i.$implicit,a=i.index;t.R7$(2),t.Y8G("id","pageBlock_"+(a+1)),t.R7$(3),t.Y8G("ngSwitch",e.componentType),t.R7$(2),t.Y8G("ngSwitchCase","PABKCompositionsRTE"),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsGeneralHtmlCode"),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsBigBanner"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsAnchor"),t.R7$(5),t.Y8G("ngSwitchCase","PABKBlocksElementsSpecialBlock"),t.R7$(5),t.Y8G("ngSwitchCase","PABKBlockElementsDocsBlock"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsFaqBlock"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsFlexboxBlock"),t.R7$(5),t.Y8G("ngSwitchCase","PABKBlocksElementsContentSteps"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsHeadline"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsLatestArticles"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksFormsFormBlock"),t.R7$(9),t.Y8G("ngSwitchCase","PABKBlocksElementsShowNodeChildren"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsHelpPageBlock"),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsDictionaryBlock"),t.R7$(20),t.Y8G("ngSwitchCase","PABKElementsCalculatorLoan"),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsCalculatorBetterPayment"),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsCalculatorTermDeposit"),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsCalculatorCredit"),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsBlockCalculatorTermDepositExtended"),t.R7$(8),t.Y8G("b365SwitchCaseMultiple",t.lJ4(24,gu)),t.R7$(2),t.Y8G("b365SwitchCaseMultiple",t.lJ4(25,bu))}}let Uu=(()=>{class n{constructor(e,a,o,r,c){this.pageService=e,this.generalHelper=a,this.cfr=o,this.injector=r,this.compiler=c,this.showMissCode="",a.breadcrumbsInBLockChange.next(!1)}
1ngOnInit(){this.pageService.pageData.fields.pageElements.forEach(e=>{"b365ElementsBlocksFundsBlock"==e.componentType?this.addComponentFundsBlock(e.fields).then(a=>null):"b365BlocksElementsSimpleGraphBlock"==e.componentType?this.addComponentSimpleGraphBlock(e.fields).then(a=>null):"b365ElementsExchangeRatePageBlock"==e.componentType&&this.addComponentExchangeRatePageBlock(e.fields).then(a=>null)})}isObject(e){return"object"==typeof e}whatToShow(e,a){let o;return a.hasOwnProperty("fields")?null!=e?.config&&(o=e?.config["component-type"]):o="short-code"===a.editor.alias?a.value:a?.editor?.alias,o}getFieldContent(e){return function Bs(n,i,e){var a=null==n?void 0:(0,Gs.A)(n,i);return void 0===a?e:a}(this.pageService.pageData.fields,e,null)}getContainerClasses(e){let a="";return a="containerFullWidth"===e.styles?.containerSize?"":"container-fluid",a}getParentItemClasses(e){let a="";switch(e.styles?.containerSize){case"contentMarginWithWhiteBg":a="bg-white pt-10 pb-10 pb-md-20 pt-md-20";break;case"contentMargin":a="pt-10 pb-10 pb-md-20 pt-md-20";break;default:a=""}return a}addComponentFundsBlock(e){var a=this;return(0,re.A)(function*(){yield a.lazyLoadComponentFundsBlock(e)})()}lazyLoadComponentFundsBlock(e){return(0,re.A)(function*(){})()}addComponentSimpleGraphBlock(e){var a=this;return(0,re.A)(function*(){yield a.lazyLoadComponentSimpleGraphBlock(e)})()}lazyLoadComponentSimpleGraphBlock(e){return(0,re.A)(function*(){})()}addComponentExchangeRatePageBlock(e){var a=this;return(0,re.A)(function*(){yield a.lazyLoadComponentExchangeRatePageBlock(e)})()}lazyLoadComponentExchangeRatePageBlock(e){return(0,re.A)(function*(){})()}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(t.OM3),t.rXU(t.zZn),t.rXU(t.Ql9))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-page-grid"]],viewQuery:function(a,o){if(1&a&&(t.GBs(fu,5,t.c1b),t.GBs(hu,5,t.c1b),t.GBs(Fu,5,t.c1b)),2&a){let r;t.mGM(r=t.lsd())&&(o.containerFundsBlock=r.first),t.mGM(r=t.lsd())&&(o.containerSimpleGraphBlock=r.first),t.mGM(r=t.lsd())&&(o.containerExchangeRatePageBlock=r.first)}},decls:30,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"",3,"id"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"b365SwitchCaseMultiple"],[4,"ngSwitchDefault"],[1,"py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[3,"b3655WysiwygHtml"],[3,"inputData"],[3,"id"],[3,"inputData",4,"ngIf"],[4,"ngIf"],[2,"cursor","help",3,"dblclick","click"]],template:function(a,o){1&a&&(t.EFF(0,"\n"),t.EFF(1,"\n"),t.EFF(2,"\n"),t.EFF(3,"\n"),t.EFF(4,"\n"),t.EFF(5,"\n"),t.EFF(6,"\n"),t.EFF(7,"\n"),t.EFF(8,"\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.EFF(11,"\n"),t.EFF(12,"\n"),t.EFF(13,"\n"),t.EFF(14,"\n"),t.EFF(15,"\n"),t.EFF(16,"\n"),t.EFF(17,"\n"),t.EFF(18,"\n"),t.EFF(19,"\n"),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n"),t.EFF(23,"\n"),t.EFF(24,"\n"),t.EFF(25,"\n"),t.nrm(26,"app-breadcrumbs-block"),t.EFF(27,"\n"),t.DNE(28,Vu,104,26,"ng-container",0),t.EFF(29,"\n")),2&a&&(t.R7$(28),t.Y8G("ngForOf",o.pageService.pageData.fields.pageElements))},dependencies:[m.Sq,m.bT,m.ux,m.e1,m.fG,js.M,W.k,qs,vl,Il,Nl,Xl,So,Do,Tc,Ac,Jc,ep,sp,gp,vp,qp,hm,Sm,Lm,iu,du,m.TG]})}}return n})(),qu=(new S.Vy("GenesysChatComponent"),(()=>{class n{constructor(e){this.genesysChatService=e}ngOnInit(){}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(Pn.i))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-genesys-chat"]],decls:0,vars:0,template:function(a,o){},styles:[".cx-widget.cx-theme-365{color:rgb(var(--color-gray-400));background-color:#788081;scrollbar-face-color:var(--color-mint);font-family:GT Walsheim Pro,Verdana,sans-serif;font-size:16px}.cx-widget.cx-theme-365 .cx-overlay{background-color:#788081}.cx-widget.cx-theme-365 .cx-overlay .cx-idle-alert{color:var(--color-white)}.cx-widget.cx-theme-365 .cx-svg-icon-tone1{fill:rgb(var(--color-orange))}.cx-widget.cx-theme-365 .cx-svg-icon-tone2{fill:#8c8c8c}.cx-widget.cx-theme-365 .cx-svg-icon-shadow1{fill:#000;opacity:.2}.cx-widget.cx-theme-365 .cx-svg-icon-shadow2{fill:#000;opacity:.1}.cx-widget.cx-theme-365 *{border-color:rgb(var(--color-orange))!important}
1.cx-widget.cx-theme-365 .cx-titlebar .cx-title{color:var(--color-white)}.cx-widget.cx-theme-365 .cx-buttons-window-control .cx-svg-icon-tone1{fill:rgb(var(--color-white))}.cx-widget.cx-theme-365 .cx-input-icon-overlay .cx-svg-icon-tone1{fill:#98a7b8}.cx-widget.cx-theme-365 .cx-input-group-btn .cx-svg-icon-tone1{fill:#fdfdfd}.cx-widget.cx-theme-365 label{color:rgb(var(--color-gray-400))}.cx-widget.cx-theme-365 a{color:var(--color-dark-sea-blue);text-decoration:none;background-image:linear-gradient(var(--color-mint),var(--color-mint));background-position:0% 100%;background-repeat:no-repeat;background-size:100% 1px;padding-bottom:3px;transition:background-size .6s;font-weight:500}.cx-widget.cx-theme-365 a:hover{color:rgb(var(--color-gray-400))}.cx-widget.cx-theme-365 .as-survey-center a{background:none}.cx-widget.cx-theme-365 .as-survey-center a:first-of-type{margin-right:5px}.cx-widget.cx-theme-365 .cx-dropdown{color:#000}.cx-widget.cx-theme-365 .cx-icon-alert-circle{color:rgb(var(--color-red))}.cx-widget.cx-theme-365 .cx-footer{color:rgb(var(--color-gray-400))}.cx-widget.cx-theme-365 .cx-footer *{fill:rgb(var(--color-gray-400))}.cx-widget.cx-theme-365 .cx-form-control.cx-error{border-color:var(--color-piggy)}.cx-widget.cx-theme-365 .cx-form-control::placeholder{color:#c5ccd6}.cx-widget.cx-theme-365 .cx-form-control:-moz-placeholder{color:#c5ccd6}.cx-widget.cx-theme-365 .cx-form-control::-moz-placeholder{color:#c5ccd6}.cx-widget.cx-theme-365 .cx-form-control:-ms-input-placeholder{color:#c5ccd6}.cx-widget.cx-theme-365 .cx-form-control::-webkit-input-placeholder{color:#c5ccd6}.cx-widget.cx-theme-365 input:focus,.cx-widget.cx-theme-365 textarea:focus,.cx-widget.cx-theme-365 .cx-btn:focus,.cx-widget.cx-theme-365 .cx-button-group button:focus,.cx-widget.cx-theme-365 .cx-form-control:not(.cx-error):focus{box-shadow:none}.cx-widget.cx-theme-365 input[type=text],.cx-widget.cx-theme-365 input[type=email],.cx-widget.cx-theme-365 input[type=tel],.cx-widget.cx-theme-365 select,.cx-widget.cx-theme-365 textarea{background-color:#fdfdfd;color:rgb(var(--color-gray-400));border-color:#94948a}.cx-widget.cx-theme-365 .cx-btn-default{border-color:rgb(var(--color-orange))!important;background-color:rgb(var(--color-white));color:rgb(var(--color-gray-400))!important}.cx-widget.cx-theme-365 .cx-btn-default:hover{color:rgb(var(--color-gray-400))!important}.cx-widget.cx-theme-365 .cx-btn.cx-disabled{background:#ccc}.cx-widget.cx-theme-365 .cx-btn-primary{color:rgb(var(--color-gray-400));border-color:rgb(var(--color-orange))!important;background:rgb(var(--color-white));transition:all .1s ease-in-out}.cx-widget.cx-theme-365 .cx-ac-dropdown-menu{background:#788081;border-color:rgb(var(--color-orange))!important}.cx-widget.cx-theme-365 .cx-ac-suggestion:hover,.cx-widget.cx-theme-365 .cx-ac-suggestion.cx-active{background-color:var(--color-mint);color:#000}.cx-widget.cx-theme-365 ::-webkit-scrollbar-thumb{background:var(--color-mint)}.cx-widget.cx-theme-365 .cx-smokescreen{background-color:#788081;opacity:.7}.cx-widget.cx-theme-365 .cx-dialog-container .cx-dialog{background-color:#788081;border-color:rgb(var(--color-orange))!important}.cx-widget.cx-theme-365 .cx-theme-background{background-color:#788081}.cx-widget.cx-theme-365 .cx-theme-border{border:1px solid rgb(var(--color-orange))!important}.cx-widget.cx-theme-365 .cx-theme-text{color:rgb(var(--color-gray-400))}.cx-widget.cx-theme-365 .cx-theme-icon-interactive1 svg .cx-svg-icon-tone1{fill:#5081e1}.cx-widget.cx-theme-365 .cx-theme-icon-positive svg .cx-svg-icon-tone1{fill:var(--color-mint)}.cx-widget.cx-theme-365 .cx-theme-icon-negative svg .cx-svg-icon-tone1{fill:var(--color-oops)}.cx-widget.cx-theme-365 .cx-theme-icon-warning svg .cx-svg-icon-tone1{fill:#f8a740}.cx-widget.cx-theme-365 .cx-warning{color:rgb(var(--color-red))!important}.cx-widget.cx-theme-365 .cx-warning .cx-icon svg *{fill:rgb(var(--color-red))!important}.cx-widget.cx-theme-365 .cx-countdown{color:var(--color-white)}.cx-widget.cx-theme-365 .cx-countdown .cx-icon svg *{fill:var(--color-mint)}.cx-widget.cx-theme-365 .cx-loading-screen .cx-loading-icon svg g g,.cx-widget.cx-theme-365 .cx-loading-container .cx-loading-icon svg g g{stroke:#2b74ff}.cx-widget.cx-theme-365 .cx-loading-screen .cx-loading-icon svg g:first-child g,.cx-widget.cx-theme-365 .cx-loading-container .cx-loading-icon svg g:first-child g{stroke:#72799d}.cx-widget.cx-theme-365.cx-side-button-group,.cx-widget.cx-theme-365 .cx-side-button-group{z-index:10!important}.cx-widget.cx-theme-365.cx-webchat .cx-powered-by,.cx-widget.cx-theme-365 .cx-webchat .cx-powered-by,.cx-widget.cx-theme-365.cx-common-container .cx-powered-by,.cx-widget.cx-theme-365 .cx-common-container .cx-powered-by{display:none!important}.cx-widget.cx-theme-365 .cx-common-container .cx-buttons-window-control button:focus{border:0px}.cx-widget.cx-theme-365 .cx-common-container .cx-send:focus{outline:0}.cx-widget.cx-theme-365.cx-webchat polygon.cx-right{display:none}.cx-widget.cx-theme-365.cx-webchat polygon.cx-left{display:none}.cx-widget.cx-theme-365.cx-webchat .cx-transcript .cx-message-group>.cx-message.cx-participant.cx-them:first-child .cx-avatar-wrapper{display:none!important}.cx-widget.cx-theme-365.cx-webchat .cx-avatar-wrapper .cx-avatar,.cx-webchat.cx-theme-365 .cx-avatar-wrapper .cx-avatar{display:none!important}.cx-widget.cx-theme-365.cx-webchat .cx-transcript{background-color:var(--color-white)}.cx-widget.cx-theme-365.cx-webchat .cx-transcript .cx-message.cx-them{color:var(--color-dark-sea-blue);font-size:14px;line-height:1.5}.cx-widget.cx-theme-365.cx-webchat .cx-transcript .cx-message.cx-them a{font-weight:500;text-decoration:none;color:inherit;background-image:linear-gradient(var(--color-mint),var(--color-mint));background-position:0% 100%;background-repeat:no-repeat;background-size:100% 1px;padding-bottom:3px;transition:background-size .6s}.cx-widget.cx-theme-365.cx-webchat .cx-message.cx-them .cx-bubble,.cx-webchat.cx-theme-365 .cx-message.cx-them .cx-bubble{background-color:#dde0ef!important;color:rgb(var(--color-black))}.cx-webchat .cx-transcript .cx-message-group>.cx-message.cx-participant .cx-bubble{margin:0 40px 0 0}.cx-webchat .cx-transcript .cx-message-group>.cx-message.cx-participant:first-child .cx-bubble{border-radius:14px!important}.cx-webchat .cx-transcript .cx-message-group>.cx-message.cx-participant:last-child .cx-bubble{border-radius:14px!important}.cx-webchat .cx-transcript .cx-message.cx-them .cx-bubble{border-top-left-radius:14px!important;margin:0 40px 0 0}.cx-widget.cx-theme-365.cx-webchat .cx-message.cx-you,.cx-webchat.cx-theme-365 .cx-message.cx-you{background-color:#ffe497!important;margin-left:20%;border-radius:14px!important}.cx-widget.cx-theme-365 .cx-webchat .cx-transcript .cx-message-group>.cx-message.cx-participant:first-child .cx-name{position:relative;
1left:0;display:inline!important;font-weight:700;color:var(--color-dark-sea-blue);background-color:var(--color-mint);padding:2px 0;margin-right:10px;box-shadow:5px 0 0 var(--color-mint),-5px 0 0 var(--color-mint)}.cx-widget.cx-theme-365.cx-webchat .cx-input-container,.cx-widget.cx-theme-365 .cx-webchat .cx-input-container{background-color:#f4f6f9}.cx-widget.cx-theme-365.cx-webchat .cx-input-container.cx-input-focus,.cx-widget.cx-theme-365 .cx-webchat .cx-input-container.cx-input-focus{border-color:var(--color-mint)!important;border-width:1px!important;box-shadow:0 2px 2px var(--color-mint)}.cx-widget.cx-theme-365.cx-webchat .cx-menu-cell,.cx-webchat.cx-theme-365 .cx-menu-cell{display:none!important}.cx-webchat.cx-minimized .cx-webchat-counter{border:var(--color-mint) solid 1px;border-radius:6px;background-color:#788081}#cx_chat_error_desc,#cx_chat_end_question{color:#000}.cx-widget.cx-theme-365 .cx-overlay{background-color:#f4f6f9}.cx-widget.cx-theme-365 .cx-overlay.cx-idle-dialog{background-color:#788081}.as-avatar{border-radius:50%;float:left;width:24px;height:24px;margin-top:2px}.as-result-form{width:100%;height:100%}.as-survey-text{text-align:center;color:#000;padding-bottom:4px;border-bottom-width:2px}.as-underline{border-bottom:2px solid var(--color-mint)}.as-survey-center{display:flex;justify-content:center;margin-top:15px}.as-survey-btn{width:75px;height:auto}.as-faq{position:fixed;bottom:10px}.cx-widget.cx-theme-365 .cx-body button{border-radius:6px}.cx-widget.cx-theme-365 .cx-body{color:rgb(var(--color-white))}
1.cx-widget.cx-theme-365.cx-send-message .cx-titlebar .cx-title,.cx-widget.cx-theme-365 .cx-send-message .cx-titlebar .cx-title{text-align:center;font-size:14px;padding:0 35px}.cx-widget.cx-theme-365.cx-send-message .cx-titlebar .cx-icon,.cx-widget.cx-theme-365 .cx-send-message .cx-titlebar .cx-icon{visibility:hidden}.cx-widget.cx-theme-365.cx-send-message .cx-powered-by,.cx-widget.cx-theme-365 .cx-send-message .cx-powered-by{font-size:14px}.cx-widget.cx-theme-365.cx-send-message .cx-powered-by .cx-icon,.cx-widget.cx-theme-365 .cx-send-message .cx-powered-by .cx-icon{display:none!important}.cx-widget.cx-theme-365.cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs th,.cx-widget.cx-theme-365 .cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs th{padding-right:unset}.cx-widget.cx-theme-365.cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs table,.cx-widget.cx-theme-365 .cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs table{width:100%}.cx-widget.cx-theme-365.cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs input,.cx-widget.cx-theme-365 .cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs input{border-radius:6px}.cx-widget.cx-theme-365.cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs textarea,.cx-widget.cx-theme-365 .cx-send-message .cx-body .cx-form-wrapper .cx-form-inputs textarea{border-radius:8px}.cx-widget.cx-theme-365.cx-send-message .cx-body .cx-form-wrapper .cx-submitForm .cx-right-half,.cx-widget.cx-theme-365 .cx-send-message .cx-body .cx-form-wrapper .cx-submitForm .cx-right-half{width:70%;float:none;text-align:center}.cx-widget.cx-theme-365.cx-send-message .cx-footer,.cx-widget.cx-theme-365 .cx-send-message .cx-footer{width:310px;height:30px;background:url(/assets/chat/resources/pabklogo.svg) 98% 50% no-repeat;background-size:contain;margin-bottom:10px;margin-top:10px}.cx-widget button,.cx-widget input,.cx-widget optgroup,.cx-widget select,.cx-widget textarea{color:rgb(var(--color-gray-400))!important}.cx-widget.cx-theme-365.cx-webchat .cx-rich-media.cx-quick-replies .cx-quick-reply,.cx-widget.cx-theme-365 .cx-webchat .cx-rich-media.cx-quick-replies .cx-quick-reply{border-width:1px!important;border-style:solid}.cx-widget.cx-theme-365.cx-webchat .cx-rich-media.cx-quick-replies div.cx-component.cx-quick-reply:hover,.cx-widget.cx-theme-365 .cx-webchat .cx-rich-media.cx-quick-replies div.cx-component.cx-quick-reply:hover{background-color:rgb(var(--color-orange))}.footer{width:310px;height:50px;background:url(/assets/chat/resources/pabklogo.svg) 50% 50% no-repeat}.chat-button{position:fixed;bottom:50px;right:50px;width:50px;height:50px;z-index:100;background-image:url(/Content/365/assets/chat.svg);background-size:contain;cursor:pointer}.cx-widget.cx-webchat-chat-button.cx-side-button.cx-theme-365{display:none!important}#chat.wrapper__chat:after{background-color:transparent!important}#chat .wrapper__chat__label{display:none!important}body .wrapper nav.open{z-index:9999!important}.cx-widget.cx-window-manager.cx-theme-365{position:fixed;z-index:2947483640!important}.cx-common-container .cx-titlebar{background-color:rgb(var(--color-orange));color:rgb(var(--color-white))}\n"],encapsulation:2})}}return n})());function zu(n,i){if(1&n){const e=t.RV6();t.j41(0,"li",3),t.EFF(1,"\n    "),t.j41(2,"a",4),t.bIt("click",function(o){const r=t.eBV(e).$implicit,c=t.XpG(2);return t.Njj(c.getClickAction(r.fields.link,o))})("mouseenter",function(o){t.eBV(e);const r=t.XpG(2);return t.Njj(r.onMouseEnter(o))})("mouseleave",function(o){t.eBV(e);const r=t.XpG(2);return t.Njj(r.onMouseLeave(o))}),t.EFF(3,"\n      "),t.qSk(),t.j41(4,"svg",5),t.EFF(5,"\n        "),t.nrm(6,"use"),t.EFF(7,"\n      "),t.k0s(),t.EFF(8,"\n      "),t.joV(),t.nrm(9,"span",6),t.EFF(10,"\n    "),t.k0s(),t.EFF(11,"\n  "),t.k0s()}if(2&n){const e=i.$implicit,a=t.XpG(2);t.R7$(2),t.ZvI("flex flex-col items-center p-3 transition-colors duration-150 hoverBtn ",a.getIdentForClass(e.fields.icon),""),t.Y8G("href",a.getUrl(e.fields.link),t.B4B)("componentName",e.fields.link.name),t.R7$(4),t.BMQ("href","assets/images/icons.svg#"+e.fields.icon,null,"xlink"),t.R7$(3),t.Y8G("innerText",e.fields.link.name)}}function Zu(n,i){if(1&n&&(t.j41(0,"ul",1),t.EFF(1,"\n  "),t.DNE(2,zu,12,7,"li",2),t.EFF(3,"\n"),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngForOf",e.data.items)}}new S.Vy("FloatingPanelComponent");let Ra=(()=>{class n{constructor(e,a,o){this.pageService=e,this.genesysChatService=a,this.generalHelper=o,this.classesGeneral="flex justify-center items-center color-mint bg-dark-sea-blue border-0 border-l-1 border-b-1 border-solid border-mint transition-all-2 hover:color-dark-sea-blue hover:bg-mint",this.classesMouseEnter="flex-col w-120 h-80",this.classesMouseLeave="w-60 h-60",this.typeClasses="",this.componentClasses={anchor:[],icon:[],text:[]},this.data=new Ca}ngOnInit(){this.pageDataSubscriber=this.pageService.pageDataChange.subscribe(e=>{this.initData(e)}),this.initData(this.pageService.pageData)}initData(e){e.fields.GetProperty("globalFloatingPanel")&&(this.data.items=e.fields.GetProperty("globalFloatingPanel")),e.fields.GetProperty("globalFloatingPanelType")&&(this.data.type=e.fields.GetProperty("globalFloatingPanelType")),this.setClasses()}openItem(e){e.classList.remove(...this.classesMouseLeave.split(" ")),e.classList.add(...this.classesMouseEnter.split(" ")),e.querySelector("h3").classList.add("open"),e.querySelector("svg").classList.add("mb-10"),e.querySelector("svg").classList.remove("hover:fill-dark-sea-blue")}closeItem(e){e.classList.remove(...this.classesMouseEnter.split(" ")),e.classList.add(...this.classesMouseLeave.split(" ")),e.querySelector("h3").classList.remove("open"),e.querySelector("svg").classList.remove("mb-10"),e.querySelector("svg").classList.add("hover:fill-dark-sea-blue")}setClasses(){"big"===this.data.type?(this.componentClasses.anchor=this.classesGeneral.split(" "),this.componentClasses.anchor.push("flex-col"),this.componentClasses.anchor.push("w-120"),this.componentClasses.anchor.push("h-80"),this.componentClasses.text=[],this.componentClasses.icon=[],this.componentClasses.icon.push("mb-10")):(this.componentClasses.anchor=this.classesGeneral.split(" "),this.componentClasses.anchor.push("w-60"),this.componentClasses.anchor.push("h-60"),this.componentClasses.text=[],this.componentClasses.text.push("hidden"),this.componentClasses.icon=[],this.componentClasses.icon.push("hover:fill-dark-sea-blue"))}getUrl(e){return e.url.indexOf("open-chat")>0?null:e.url}getClickAction(e,a){if(-1==e.url.indexOf("open-chat"))return null;a.stopPropagation(),a.preventDefault(),this.genesysChatService.triggerOpenChat()}getIdentForClass(e){return this.generalHelper.stringToCamelCase(e,!0,!0)}onMouseEnter(e){e.target.classList.add("bg-orange"),e.target.querySelector("svg").classList.remove("text-orange"),e.target.querySelector("svg").classList.add("text-white"),e.target.querySelector("span").classList.remove("text-gray-400"),e.target.querySelector("span").classList.add("text-white")}onMouseLeave(e){e.target.classList.remove("bg-orange"),e.target.querySelector("svg").classList.remove("text-white"),e.target.querySelector("svg").classList.add("text-orange"),e.target.querySelector("span").classList.remove("text-white"),e.target.querySelector("span").classList.add("text-gray-400")}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(Pn.i),t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-floating-panel"]],decls:4,vars:1,consts:[["class","fixed top-1/2 right-0 w-24 bg-white rounded-l shadow-xl transform -translate-y-1/2 overflow-hidden z-30 xl:hidden",4,"ngIf"],[1,"fixed","top-1/2","right-0","w-24","bg-white","rounded-l","shadow-xl","transform","-translate-y-1/2","overflow-hidden","z-30","xl:hidden"],["class","border-b border-gray-100",4,"ngFor","ngForOf"],[1,"border-b","border-gray-100"],["role","button","Ga4Tracking","","eventType","select_floating_icon","componentType","floating_button",3,"click","mouseenter","mouseleave","href","componentName"],["aria-hidden","true","focusable","false",1,"w-10","h-10","fill-current","text-orange","mb-1","transition-colors","duration-150"],[1,"text-xs","font-bold","uppercase","text-center","text-gray-400","transition-colors","duration-150",3,"innerText"]],template:function(a,o){1&a&&(t.DNE(0,Zu,4,1,"ul",0),t.EFF(1,"\n"),t.nrm(2,"app-genesys-chat"),t.EFF(3,"\n")),2&a&&t.Y8G("ngIf",o.data&&o.data.items&&o.data.items.length>0)},dependencies:[m.Sq,m.bT,Lt,H.A,qu]})}}return n})();const Ju=(n,i)=>[n,i],Ko=(n,i)=>({colorsClasses:n,colors:i}),Wu=()=>["background","text"],Ku=n=>[n],Qu=()=>["iconColor"];let td=(()=>{class n{constructor(e,a,o){this.pageService=e,this.generalHelper=a,this.colorService=o}ngOnInit(){this.generalHelper.isAlertBarChange.next(!0),this.setColors(this.pageService.pageData.fields.GetProperty("globalAlertNoticeColors"))}setColors(e){e&&(this.colorClasses=this.colorService.parseColors(e))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(Vt))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-alert-notice"]],decls:16,vars:22,consts:[[1,"py-6"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"flex","items-centerz","p-4","rounded","sm:p-2",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["aria-hidden","true","focusable","false",1,"w-6","h-6","fill-current","mr-4",3,"pabkSetColors","pabkSetColorsData","pabkSetColorsStyles"],["href","/assets/images/icons.svg#warning"],[1,"sm:text-sm",3,"b3655WysiwygHtml"]],template:function(a,o){1&a&&(t.j41(0,"section",0),t.EFF(1,"\n  "),t.j41(2,"div",1),t.EFF(3,"\n    "),t.j41(4,"div",2),t.EFF(5,"\n      "),t.qSk(),t.j41(6,"svg",3),t.EFF(7,"\n        "),t.nrm(8,"use",4),t.EFF(9,"\n      "),t.k0s(),t.EFF(10,"\n      "),t.joV(),t.nrm(11,"span",5),t.EFF(12,"\n    "),t.k0s(),t.EFF(13,"\n  "),t.k0s(),t.EFF(14,"\n"),t.k0s(),t.EFF(15,"\n")),2&a&&(t.R
17$(4),t.Y8G("pabkSetColors",t.l_i(9,Ju,o.colorClasses.background,o.colorClasses.text))("pabkSetColorsData",t.l_i(12,Ko,o.colorClasses,o.colors))("pabkSetColorsStyles",t.lJ4(15,Wu)),t.R7$(2),t.AVh("fill-current",!(null!=o.colors&&o.colors.iconColor)),t.Y8G("pabkSetColors",t.eq3(16,Ku,o.colorClasses.iconColor))("pabkSetColorsData",t.l_i(18,Ko,o.colorClasses,o.colors))("pabkSetColorsStyles",t.lJ4(21,Qu)),t.R7$(5),t.Y8G("b3655WysiwygHtml",o.pageService.pageData.fields.GetProperty("globalAlertNoticeContent")))},dependencies:[W.k,ne]})}}return n})();const ed=["*"],nd=(n,i)=>[n,i];function ad(n,i){1&n&&t.nrm(0,"app-alert-notice")}let od=(()=>{class n{constructor(e,a){this.pageService=e,this.generalHelper=a,this.showBreadcrumbs=!0,this.showAlertBar=!1,this.defaultClasses={default:"",defaultOld:"mt-160 lg:mt-80 sm:mt-60"}}ngOnInit(){this.showBreadcrumbs=this.helperShowBreadcrumbs(),this.pageService.pageData.fields.GetProperty("globalAlertNotice")&&(this.showAlertBar="true"==this.pageService.pageData.fields.GetProperty("globalAlertNotice"))}getClasses(){return this.defaultClasses.default}helperShowBreadcrumbs(){return"PB3FeaturesBlogArticle"!=this.pageService.pageData.system.contentType&&!this.helperWhenSetTopMarginByContent()}helperWhenSetTopMarginByContent(){let e=!1;return"string"==typeof this.pageService.pageData.fields.pageContent.sections?.find(a=>void 0!==a)?.rows.find(a=>void 0!==a)?.areas.find(a=>void 0!==a)?.controls.find(a=>void 0!==a)?.value&&(e=this.pageService.pageData.fields.pageContent.sections[0].rows[0].areas[0].controls[0].value?.indexOf("hero")>-1),!(void 0===e||!e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-page-grid-layout-default"]],inputs:{showBreadcrumbs:"showBreadcrumbs"},ngContentSelectors:ed,decls:12,vars:5,consts:[["role","main","aria-label","Hlavn\xfd obsah","id","main",3,"ngClass"],[4,"ngIf"]],template:function(a,o){1&a&&(t.NAR(),t.EFF(0,"\n"),t.j41(1,"main",0),t.EFF(2,"\n  "),t.DNE(3,ad,1,0,"app-alert-notice",1),t.EFF(4,"\n    "),t.SdG(5),t.EFF(6,"\n"),t.EFF(7,"\n"),t.EFF(8,"\n  "),t.nrm(9,"app-floating-panel"),t.EFF(10,"\n"),t.k0s(),t.EFF(11,"\n")),2&a&&(t.R7$(),t.Y8G("ngClass",t.l_i(2,nd,o.getClasses(),o.generalHelper.mainElementExtraClassesByHeaderType)),t.R7$(2),t.Y8G("ngIf",o.showAlertBar))},dependencies:[m.YU,m.bT,Ra,td]})}}return n})();const id=["*"];let rd=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-page-grid-layout-home-page"]],ngContentSelectors:id,decls:2,vars:0,template:function(a,o){1&a&&(t.NAR(),t.SdG(0),t.EFF(1,"\n"))}})}}return n})();var Pa=v(1413),Qo=v(152),Ya=v(8141),ti=v(5558),Oe=v(713);class sd{constructor(i,e,a,o,r,c,f,h){this.branchListSearchByLocationTitle="Vyh\u013eada\u0165 pod\u013ea mojej polohy",this.branchListSearchButtonTitle="H\u013eada\u0165",this.branchListSearchInputPlaceholder="Miesto, ulica, PSC, ...",this.branchListShowImages=!1,this.titleForFilterHeading="Hlad\xe1m",this.branchListHeadline=i,this.branchListSearchByLocationTitle=e,this.branchListSearchButtonTitle=a,this.branchListSearchInputPlaceholder=o,this.branchListSearchForceTypeFilter=r,this.branchListShowImages=c,this.titleForFilterHeading=f,this.branchListAdvancedFilter=h}}var $a=v(6278);let ld=new S.Vy("BranchesService"),ei=(()=>{class n{constructor(e,a){this.http=e,this.luigisService=a,this.apiEndpoint="branch/",this.apiEndpointBranchDetail="detail/",this.apiEndpointBranchList="all",this.apiEndpointBranchSearch="",this.openingHoursDaysOrder=["pondelok","utorok","streda","stvrtok","piatok","sobota","nedela"],this.openingHours={pondelok:{title:"Pondelok",title_short:"Po",from:"",to:"",breakTimeFrom:"",breakTimeTo:""},utorok:{title:"Utorok",title_short:"Ut",from:"",to:"",breakTimeFrom:"",breakTimeTo:""},streda:{title:"Streda",title_short:"St",from:"",to:"",breakTimeFrom:"",breakTimeTo:""},stvrtok:{title:"\u0160tvrtok",title_short:"\u0160t",from:"",to:"",breakTimeFrom:"",breakTimeTo:""},piatok:{title:"Piatok",title_short:"Pi",from:"",to:"",breakTimeFrom:"",breakTimeTo:""},sobota:{title:"Sobota",title_short:"So",from:"",to:"",breakTimeFrom:"",breakTimeTo:""},nedela:{title:"Nede\u013ea",title_short:"Ne",from:"",to:"",breakTimeFrom:"",breakTimeTo:""}},this.servicesList={bezbarierovy_pristup:{icon:"stroller-2",text:"Bezbari\xe9rov\xfd pr\xedstup"},detsky_kutik:{icon:"bear",text:"Detsk\xfd k\xfatik"},parkovanie:{icon:"parking",text:"Parkovanie"},wifi:{icon:"wifi",text:"Wifi"},parkovanie_zadarmo:{icon:"free-parking",text:"Parkovanie zadarmo"},pokladna:{icon:"cash-desk",text:"Poklad\u0148a"},zmenaren:{icon:"exchange",text:"Zmen\xe1re\u0148"},rozsirena_otvaracia_doba:{icon:"limits",text:"Roz\u0161\xedren\xe1 otv\xe1racia doba"},hypo_specialista:{icon:"wallet",text:"Bezdotykov\xfd v\xfdber"},bankomat:{icon:"atm",text:"Bankomat na pobo\u010dke"},pobocka_vedena_zenami:{icon:"woman",text:"Pobo\u010dka veden\xe1 \u017eenami"},dotykova_obrazovka:{icon:"contactless",text:"Dotykov\xe1 obrazovka"},ina_sluzba_2:{icon:"book",text:"Obsluha podnikate\u013eov"}},this.apiEndpoint=L.c.apiSettings.endpoint.general+this.apiEndpoint}getBranches(e=null,a,o="luigisbox"){if(e){if(a&&(e=(0,pt.A)({},e,a)),"luigisbox"==o)return this.luigisService.searchForBranches(e.search,"branches",e).pipe();if("api"==o)return this.searchBranches(e)}return null}searchBranches(e){return this.http.post(this.apiEndpoint+this.apiEndpointBranchSearch,e).pipe()}getAllBranches(){return this.http.get(this.apiEndpoint+this.apiEndpointBranchList).pipe((0,ko.W)(this.handleError("getAllBranches",[])))}getBranchDetail(e){return this.http.get(this.apiEndpoint+this.apiEndpointBranchDetail+e).pipe()}handleError(e="operation",a){return o=>(console.error(o),ld.warn(`${e} failed: ${o.message}`),(0,Ho.of)(a))}
1googleNavigateToBranch(e){return"https://www.google.com/maps?saddr=My+Location&daddr="+e.lat+","+e.long}parseOpeningHours(e,a=this.openingHours){let o=Object.keys(e),r=JSON.parse(JSON.stringify(a));return Object.keys(r).forEach(c=>{o.indexOf(c)&&(r[c].from=e[c+"_od"],r[c].to=e[c+"_do"],e.obedna_prestavka&&(r[c].breakTimeFrom=e.obedna_prestavka_od,r[c].breakTimeTo=e.obedna_prestavka_do))}),r}getOpeningHoursForDay(e,a){let o="";return o=e.openingHours[a].breakTimeFrom?.length>0?e.openingHours[a].from+" - "+e.openingHours[a].breakTimeFrom+", "+e.openingHours[a].breakTimeTo+" - "+e.openingHours[a].to:e.openingHours[a].from+" - "+e.openingHours[a].to,o}getAvailabilityForBranch(e,a){let o="",r="",c=new Date,f=e.openingHours[a]?.from?.split(":"),h=e.openingHours[a]?.to?.split(":"),b=e.openingHours[a]?.breakTimeFrom?.split(":"),w=e.openingHours[a]?.breakTimeTo?.split(":");if(!f||!h||f.length<2||h.length<2)return null;let $=new Date;$.setHours(f[0],f[1],0);let J=new Date;J.setHours(h[0],h[1],0);let mt=new Date;mt.setHours(b[0],b[1],0);let G=new Date;G.setHours(w[0],w[1],0);let M=this.calculateDiffTime(c,$),Q=this.calculateDiffTime(c,J),zt=this.calculateDiffTime(c,mt),bt=this.calculateDiffTime(c,G);return Q.sec<0?(o="Zatvoren\xe9",r="title-red"):M.hours>=1?(o="Otv\xe1rame o "+e.openingHours[a].from,r="title-red"):M.hours<=1&&M.hours>=0?(o="otv\xe1rame o "+M.minutes+" min\xfat",r="title-red"):Q.hours<1?(o="Otvoren\xe9 u\u017e len "+Q.minutes+"min\xfat",r="title-mint"):Q.hours>1&&zt.sec<0&&bt.sec>0?(o="Obedn\xe1 prest\xe1vka",r="title-red"):Q.hours>1?(o="Otvoren\xe9 do "+e.openingHours[a].to,r="title-mint"):M.sec<0&&Q.sec>0&&(o="Otvoren\xe9",r="title-mint"),{text:o,class:r}}calculateDiffTime(e,a){let o=e.getTime(),c=a.getTime()-o,f=Math.floor(c/6e4);return{sec:c,minutes:f%60,hours:Math.floor(f/60)%24}}hasBranchService(e,a){return Object.keys(e).indexOf(a)>0&&(e[a]||"1"==e[a]||1==e[a])}luigiSearch(e){Luigis.Search({TrackerId:"195402-223930",Theme:"luigis",Size:20,DefaultFilters:{type:"branches"},UrlParamName:{QUERY:"search"}},'[name="search_1"]',"#search-ui")}static{this.\u0275fac=function(a){return new(a||n)(t.KVO(Yn.Qq),t.KVO($a.l))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const cd=["searchBox"],pd=["*"],pn=n=>[n];function md(n,i){if(1&n&&t.nrm(0,"h1",25),2&n){const e=t.XpG();t.Y8G("innerHtml",e.pageData.branchListHeadline.join("<br />"),t.npT)}}function ud(n,i){if(1&n){const e=t.RV6();t.j41(0,"li",26),t.EFF(1,"\n                "),t.j41(2,"input",27),t.bIt("change",function(o){t.eBV(e);const r=t.XpG();return t.Njj(r.onCheckboxChange(o))}),t.k0s(),t.EFF(3,"\n                "),t.j41(4,"label",28),t.EFF(5),t.k0s(),t.EFF(6,"\n              "),t.k0s()}if(2&n){const e=i.$implicit,a=t.XpG();t.R7$(2),t.FS9("name",e.value),t.FS9("id",e.value),t.FS9("value",e.value),t.Y8G("checked",a.selectedOptions.has(e.value)),t.R7$(2),t.FS9("for",e.value),t.R7$(),t.JRh(e.name)}}function dd(n,i){1&n&&(t.qSk(),t.j41(0,"svg",29),t.EFF(1,"\n                "),t.j41(2,"path",30),t.EFF(3,"\n                  "),t.nrm(4,"animateTransform",31),t.EFF(5,"\n                "),t.k0s(),t.EFF(6,"\n              "),t.k0s())}function fd(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                      "),t.j41(2,"span",49),t.EFF(3),t.k0s(),t.EFF(4),t.bVm()),2&n){const e=t.XpG().$implicit,a=t.XpG(2).$implicit,o=t.XpG(2);t.R7$(3),t.SpI("",a.openingHours[e].title_short,":"),t.R7$(),t.SpI(" ",o.branchesService.getOpeningHoursForDay(a,e),"\n                    ")}}function hd(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                      "),t.j41(2,"span",49),t.EFF(3),t.k0s(),t.EFF(4),t.nI1(5,"translate"),t.bVm()),2&n){const e=t.XpG().$implicit,a=t.XpG(2).$implicit;t.R7$(3),t.SpI("",a.openingHours[e].title_short,":"),t.R7$(),t.SpI(" ",t.bMT(5,2,"branchesDetailClosedText"),"\n                    ")}}function Fd(n,i){if(1&n&&(t.j41(0,"li",48),t.EFF(1,"\n                    "),t.DNE(2,fd,5,2,"ng-container",23),t.EFF(3,"\n                    "),t.DNE(4,hd,6,4,"ng-container",23),t.EFF(5,"\n                  "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(2).$implicit;t.R7$(2),t.Y8G("ngIf",a.openingHours[e].from),t.R7$(2),t.Y8G("ngIf",!a.openingHours[e].from)}}
1function gd(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"h2",46),t.EFF(3,"\n  "),t.EFF(4,"\n  "),t.EFF(5,"\n  "),t.EFF(6,"\n  "),t.EFF(7,"\n  "),t.EFF(8,"\n  "),t.EFF(9,"\n  "),t.EFF(10,"\n                "),t.j41(11,"ul",37),t.EFF(12,"\n                  "),t.DNE(13,Fd,6,2,"li",47),t.EFF(14,"\n                "),t.k0s(),t.EFF(15,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.R7$(2),t.Y8G("ngClass",t.eq3(3,pn,a.getTextColorForTypeBranch(e)))("translate","branchesDetailOpeningHours"),t.R7$(11),t.Y8G("ngForOf",a.branchesService.openingHoursDaysOrder)}}function bd(n,i){if(1&n&&(t.j41(0,"a",50),t.EFF(1,"\n                  "),t.qSk(),t.j41(2,"svg",51),t.EFF(3,"\n                    "),t.nrm(4,"use",52),t.EFF(5,"\n                  "),t.k0s(),t.EFF(6,"\n                  "),t.joV(),t.nrm(7,"span",53),t.EFF(8,"\n                "),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("href",a.branchesService.googleNavigateToBranch(e),t.B4B)("ngClass",t.eq3(4,pn,a.getTextColorForTypeBranch(e)))("componentName","naviguj_"+e.type),t.R7$(7),t.Y8G("translate","branchesDetailNavigateText")}}function xd(n,i){if(1&n&&(t.j41(0,"div",54),t.EFF(1,"\n            "),t.qSk(),t.j41(2,"svg",55),t.EFF(3,"\n              "),t.nrm(4,"use",56),t.EFF(5,"\n            "),t.k0s(),t.EFF(6,"\n            "),t.joV(),t.nrm(7,"span",57),t.EFF(8,"\n          "),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(7),t.Y8G("innerHTML",e.oznam,t.npT)}}function _d(n,i){if(1&n&&(t.j41(0,"li",33),t.EFF(1,"\n          "),t.j41(2,"div",34),t.EFF(3,"\n            "),t.j41(4,"div",35),t.EFF(5,"\n              "),t.nrm(6,"h2",36),t.EFF(7,"\n              "),t.nrm(8,"h2",36),t.EFF(9,"\n              "),t.j41(10,"p",37),t.EFF(11),t.nrm(12,"br"),t.EFF(13),t.nrm(14,"br"),t.EFF(15),t.k0s(),t.EFF(16,"\n            "),t.k0s(),t.EFF(17,"\n            "),t.j41(18,"div",35),t.EFF(19,"\n              "),t.DNE(20,gd,16,5,"ng-container",23),t.EFF(21,"\n            "),t.k0s(),t.EFF(22,"\n            "),t.j41(23,"div",35),t.EFF(24,"\n              "),t.j41(25,"div",38),t.EFF(26,"\n                "),t.DNE(27,bd,9,6,"a",39),t.EFF(28,"\n                "),t.j41(29,"a",40),t.EFF(30,"\n                  "),t.nrm(31,"span",41),t.EFF(32,"\n                  "),t.qSk(),t.j41(33,"svg",42),t.EFF(34,"\n                    "),t.nrm(35,"use",43),t.EFF(36,"\n                  "),t.k0s(),t.EFF(37,"\n                  "),t.j41(38,"svg",44),t.EFF(39,"\n                    "),t.nrm(40,"use",43),t.EFF(41,"\n                  "),t.k0s(),t.EFF(42,"\n                "),t.k0s(),t.EFF(43,"\n              "),t.k0s(),t.EFF(44,"\n            "),t.k0s(),t.EFF(45,"\n          "),t.k0s(),t.EFF(46,"\n          "),t.DNE(47,xd,9,1,"div",45),t.EFF(48,"\n        "),t.k0s()),2&n){const e=i.$implicit,a=i.last,o=t.XpG(2);t.AVh("mb-4",!a),t.BMQ("data-lb-id",e.ident),t.R7$(6),t.Y8G("ngClass",t.eq3(16,pn,o.getTextColorForTypeBranch(e)))("innerHTML",e.typ,t.npT),t.R7$(2),t.Y8G("ngClass",t.eq3(18,pn,o.getTextColorForTypeBranch(e)))("innerHTML",e.nazov,t.npT),t.R7$(3),t.SpI("",e.ulica," "),t.R7$(2),t.SpI("",e.psc," "),t.R7$(2),t.JRh(e.mesto),t.R7$(5),t.Y8G("ngIf",o.canShowOpeningHoursContainer(e)),t.R7$(7),t.Y8G("ngIf",o.canShowNavigateToBranch(e)),t.R7$(2),t.Y8G("href",o.getBranchDetailUrl(e),t.B4B)("componentName","detail_"+e.type),t.R7$(2),t.Y8G("translate",o.createTranslateKeyForDetailButton(e)),t.R7$(16),t.Y8G("ngIf",e.oznam&&(null==e.oznam?null:e.oznam.length)>0)}}function Ed(n,i){if(1&n&&(t.j41(0,"ul"),t.EFF(1,"  \n        "),t.DNE(2,_d,49,20,"li",32),t.EFF(3,"\n      "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngForOf",e.getFilteredBranches())}}
1function kd(n,i){if(1&n&&(t.j41(0,"div",58),t.EFF(1,"\n        "),t.nrm(2,"h2",59),t.EFF(3,"\n        "),t.nrm(4,"p",60),t.EFF(5,"\n      "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("translate","branchesDetailNotFoundTitle"),t.R7$(2),t.Y8G("innerHTML",e.notFoundText,t.npT)}}function yd(n,i){1&n&&(t.j41(0,"div",58),t.EFF(1,"\n        "),t.nrm(2,"h2",59),t.EFF(3,"\n        "),t.nrm(4,"p",61),t.EFF(5,"\n      "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("translate","generalItemsLoading"),t.R7$(2),t.Y8G("translate","generalItemsLoadingDesc"))}let mn=new S.Vy("BranchListPageComponent"),Cd=(()=>{class n{constructor(e,a,o,r,c,f){this.branchesService=e,this.pageService=a,this.generalHelper=o,this._doc=r,this.luigisService=c,this.translate=f,this.branchList=[],this.filterCheckOptionsBranchesTypes=[],this.selectedOptions=new Set,this.pageData=new sd,this.branchListNum=0,this.branchListType=0,this.actualDayNumber=(new Date).getDay(),this.searchTerms=new Pa.B,this.filter$=new Pa.B,this.filterObject=new Oe.c7,this.defaultFilterForList=new Oe.c7,this.showNotFound=!1,this.showLoading=!0,this.showClearBtn=!1,this.notFoundTexts={notFound:" Tu e\u0161te 365-ku nen\xe1jde\u0161, ale pozri si na\u0161e pobo\u010dky na mape a mo\u017eno n\xe1jde\u0161 nie\u010do vo svojej bl\xedzkosti.",httpError:"Houston, m\xe1me probl\xe9m."},this.defaultFilterForList.filterObject=new Oe.bk,this.defaultFilterForList.sort=new Oe.yb,this.defaultFilterForList.sort.order="asc",this.defaultFilterForList.sort.orderProperty="mesto"}ngOnInit(){(0,jt.A)(this.pageData,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.pageData))),this.pageData.branchListSearchForceTypeFilter&&this.pageData.branchListSearchForceTypeFilter.length>0&&(this.forceFilterByType=this.pageData.branchListSearchForceTypeFilter,this.defaultFilterForList.filterObject&&this.defaultFilterForList.filterObject.columnsKeyWords&&(this.defaultFilterForList.filterObject.columnsKeyWords.branch_type=this.forceFilterByType)),this.pageData.branchListAdvancedFilter&&this.pageData.branchListAdvancedFilter.length>0&&(this.advancedFilterByType=this.pageData.branchListAdvancedFilter,this.defaultFilterForList.filterObject&&this.defaultFilterForList.filterObject.columnsKeyWords&&(this.defaultFilterForList.filterObject.columnsKeyWords.bezbarierovy_pristup=this.advancedFilterByType)),this.branchListType=1==this.pageData.branchListShowImages?1:0,this.translate.get(["branchesErrorFatal","branchesErrorNotFound"]).subscribe(e=>{this.notFoundTexts.notFound=e.branchesErrorNotFound,this.notFoundTexts.httpError=e.branchesErrorFatal}),this.branchList$=this.filter$.pipe((0,Qo.B)(300),(0,Ya.M)(e=>{this.setFilterToUrl(),this.showNotFound=!1,this.showLoading=!0,this.checkIfSetShowClearBtn()&&(this.showClearBtn=!0),mn.debug("TAP")}),(0,ti.n)((e=this.filterObject)=>this.branchesService.getBranches(e,this.defaultFilterForList))),this.branchListSubscriber=this.branchList$.subscribe(e=>{this.showLoading=!1,e.data.length>0?this.showNotFound=!1:(this.showNotFound=!0,this.notFoundText=this.notFoundTexts.notFound),this.branchList=e.data,this.getFilterOptionsForCheckbox(),this.postGetData(e)},e=>{mn.error("Chyba nacitavania pobociek: ",e),this.showNotFound=!0,this.notFoundText=this.notFoundTexts.httpError,this.showLoading=!1},()=>{})}getFilterOptionsForCheckbox(){this.filterCheckOptionsBranchesTypes&&this.branchList.forEach(e=>{(0===this.filterCheckOptionsBranchesTypes.length||!this.filterCheckOptionsBranchesTypes.map(a=>a.value).includes(e.branch_type))&&this.filterCheckOptionsBranchesTypes.push({value:e.branch_type,name:e.typ})}),this.filterCheckOptionsBranchesTypes.map(e=>e.value).includes("bankaNaPoste")&&this.selectedOptions.add("bankaNaPoste")}ngOnDestroy(){this.luigisService.removeGeneratedJsonLd()}ngAfterViewInit(){this.getFilterFromUrl()}search(e){mn.debug("Searching: "+e),this.filterObject.search=e,this.filter$.next(),this.setFilterToUrl(),this.showClearBtn=!0}postGetData(e){this.branchListNum=e.pagination?.totalItems,this.branchList.forEach(a=>{a.openingHours=this.branchesService.parseOpeningHours(a)})}setFilterToUrl(){const e=new URL(window.location.href);Object.entries(this.filterObject).filter(([o,r])=>null!=r&&"data"!=o||(e.searchParams.delete(o),!1)).map(([o,r])=>`${o}=${"object"==typeof r?JSON.stringify(r):r}`).forEach(o=>{let r=o.split("=");e.searchParams.set(r[0],r[1])}),window.history.replaceState(null,null,e.href)}getFilterFromUrl(){const e=new URL(window.location.href);let a=!1;Object.keys(this.filterObject).forEach(o=>{if(e.searchParams.has(o)){let r=e.searchParams.get(o);this.filterObject[o]=this.generalHelper.isValidJson(r)?JSON.parse(r):r,a=!0}}),e.searchParams.has("search")&&(this.elSearchBox.nativeElement.value=e.searchParams.get("search"),a=!0),this.filter$.next(),setTimeout(()=>{this.showClearBtn=a},0)}resetFilter(){this.elSearchBox.nativeElement.value="",this.filterObject=ne
1w Oe.c7,this.filter$.next(),this.showClearBtn=!1,this.setFilterToUrl()}getBranchDetailUrl(e){return window.location.pathname+"/detail/~/"+e.ident}getBranchImage(e){return e.obrazok?.length>0?e.obrazok:"/assets/images/pobocky/pobocka-1.jpg"}getCurrentLocation(){navigator.geolocation.getCurrentPosition(a=>{this.getCurrentLocationSuccess(a)},a=>mn.error(a))}getCurrentLocationSuccess(e){this.currentUserPosition=e,mn.debug(e.coords),this.filterObject.geo||(this.filterObject.geo=new Oe.tO),this.filterObject.geo.latitude=e.coords.latitude,this.filterObject.geo.longitude=e.coords.longitude,this.filter$.next()}checkIfSetShowClearBtn(){return!!(this.filterObject?.filterObject?.columnsKeyWords||this.filterObject?.geo?.latitude||this.filterObject?.search?.length>0)}createTranslateKeyForDetailButton(e){return"branchesBranchDetailBtnForType"+(e.branch_type&&e.branch_type[0].toUpperCase()+e.branch_type.slice(1)||"")}canShowOpeningHoursContainer(e){switch(e.branch_type){case"pobocka":case"bankaNaPoste":return!0;default:return!1}}getTextColorForTypeBranch(e){switch(e.branch_type){case"bankaNaPoste":return"text-blue";case"bankomat":return"text-gray-400";default:return"text-orange"}}canShowNavigateToBranch(e){return.1!=Number(e.lat)}onCheckboxChange(e){const a=e.target;a.checked?this.selectedOptions.add(a.value):this.selectedOptions.delete(a.value)}getFilteredBranches(){return this.selectedOptions.size>0?this.branchList.filter(e=>this.selectedOptions.has(e.branch_type)):this.branchList}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(ei),t.rXU(z.b),t.rXU(T.r),t.rXU(m.qQ),t.rXU($a.l),t.rXU(tt.c$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-branch-list-page"]],viewQuery:function(a,o){if(1&a&&t.GBs(cd,5),2&a){let r;t.mGM(r=t.lsd())&&(o.elSearchBox=r.first)}},ngContentSelectors:pd,decls:233,vars:15,consts:[["searchBox",""],["role","main","aria-label","Hlavn\xfd obsah","id","main",1,"mt-[6.25rem]","sm:mt-16",3,"ngClass"],[1,"py-24","sm:py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],["class","text-4xl font-bold leading-tight text-center text-orange pb-12 sm:text-3xl",3,"innerHtml",4,"ngIf"],[1,"pb-12","sm:pb-6"],[1,"font-bold","text-orange","text-center","pb-4","sm:text-sm"],[1,"flex","justify-center","items-center"],[1,"md:pb-4","sm:-mr-4","sm:overflow-x-auto"],[1,"inline-flex","bg-gray-50","border","border-gray-100","rounded","sm:overflow-x-auto"],["class","p-0.5 filterCheck",4,"ngFor","ngForOf"],["role","search","action","#",1,"max-w-4xl","w-full","mx-auto","pb-12","sm:pb-16",3,"submit"],[1,"relative","sm:flex","sm:flex-col"],[1,"relative","w-full"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","left-3","w-5","h-5","fill-current","text-orange","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#search"],["type","text","name","search","id","search",1,"w-full","bg-gray-50","py-3","pr-24","pl-12","border","border-gray-100","rounded","appearance-none","placeholder-gray-400","sm:text-sm",3,"input","placeholder"],[1,"absolute","top-1/2","right-40","flex","items-center","text-orange","transform","-translate-y-1/2","sm:relative","sm:top-auto","sm:right-auto","sm:justify-center","sm:w-full","sm:text-sm","sm:py-4","sm:transform-none",3,"click"],["aria-hidden","true","focusable","false",1,"flex-shrink-0","w-6","h-6","fill-current","mr-2","sm:w-5","sm:h-5"],["href","/assets/images/icons.svg#location"],[1,"absolute","top-0","right-0","inline-block","h-full","font-bold","uppercase","text-white","bg-purple-100","px-8","rounded","whitespace-nowrap","sm:relative","sm:top-auto","sm:right-auto","sm:w-full","sm:h-12","sm:text-sm",3,"click","disabled"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 100 100","class","w-12 h-12 fill-current sm:inline-flex",4,"ngIf"],["id","search-ui"],[4,"ngIf"],["class","flex flex-col items-center text-center",4,"ngIf"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl",3,"innerHtml"],[1,"p-0.5","filterCheck"],["type","checkbox",3,"change","name","id","value","checked"],[3,"for"],["ver
1sion","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 100 100",1,"w-12","h-12","fill-current","sm:inline-flex"],["fill","#fff","d","M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"],["attributeName","transform","attributeType","XML","type","rotate","dur","1s","from","0 50 50","to","360 50 50","repeatCount","indefinite"],["class","p-9 border border-gray-100 rounded sm:px-6 sm:py-9",3,"mb-4",4,"ngFor","ngForOf"],[1,"p-9","border","border-gray-100","rounded","sm:px-6","sm:py-9"],[1,"flex","flex-wrap","pb-6","-m-8","lg:-m-4"],[1,"w-1/3","p-8","lg:w-full","lg:p-4"],[1,"text-xl","font-bold","pb-6",3,"ngClass","innerHTML"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed"],[1,"flex","items-center","sm:flex-col","sm:items-start"],["data-action","navigateToBranch","target","_blank","class","inline-flex items-center mr-8 sm:mr-0 sm:mb-4","Ga4Tracking","","eventType","select_cta","componentType","button","role","button",3,"href","ngClass","componentName",4,"ngIf"],["data-action","showBranchDetail","Ga4Tracking","","eventType","select_cta","componentType","button","role","button",1,"relative","inline-flex","justify-center","items-center","text-white","bg-purple-100","pl-6","py-3","pr-14","rounded","btn-arrow",3,"href","componentName"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"translate"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],["class","flex items-center text-white bg-red p-4 rounded sm:p-2",4,"ngIf"],[1,"text-xl","font-bold","pb-6",3,"ngClass","translate"],["class","flex items-center",4,"ngFor","ngForOf"],[1,"flex","items-center"],[1,"w-8"],["data-action","navigateToBranch","target","_blank","Ga4Tracking","","eventType","select_cta","componentType","button","role","button",1,"inline-flex","items-center","mr-8","sm:mr-0","sm:mb-4",3,"href","ngClass","componentName"],["aria-hidden","true","focusable","false",1,"w-6","h-8","fill-current","mr-2"],["href","/assets/images/icons.svg#pin"],[3,"translate"],[1,"flex","items-center","text-white","bg-red","p-4","rounded","sm:p-2"],["aria-hidden","true","focusable","false",1,"w-6","h-6","fill-current","mr-4"],["href","/assets/images/icons.svg#warning"],[1,"sm:text-sm",3,"innerHTML"],[1,"flex","flex-col","items-center","text-center"],[1,"text-xl","font-bold","text-orange","pb-6","sm:text-lg",3,"translate"],[1,"text-gray-400","sm:text-sm",3,"innerHTML"],[1,"text-gray-400","sm:text-sm",3,"translate"]],template:function(a,o){if(1&a){const r=t.RV6();t.NAR(),t.j41(0,"main",1),t.EFF(1,"\n  "),t.SdG(2),t.EFF(3,"\n\n\n"),t.EFF(4,"\n"),t.EFF(5,"\n"),t.EFF(6,"\n"),t.EFF(7,"\n"),t.EFF(8,"\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.EFF(11,"\n\n\n"),t.EFF(12,"\n"),t.EFF(13,"\n"),t.EFF(14,"\n"),t.EFF(15,"\n"),t.EFF(16,"\n"),t.EFF(17,"\n"),t.EFF(18,"\n"),t.EFF(19,"\n"),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n"),t.EFF(23,"\n"),t.EFF(24,"\n"),t.EFF(25,"\n"),t.EFF(26,"\n"),t.EFF(27,"\n"),t.EFF(28,"\n"),t.EFF(29,"\n"),t.EFF(30,"\n"),t.EFF(31,"\n"),t.EFF(32,"\n"),t.EFF(33,"\n"),t.EFF(34,"\n"),t.EFF(35,"\n\n"),t.EFF(36,"\n"),t.EFF(37,"\n"),t.EFF(38,"\n"),t.EFF(39,"\n"),t.EFF(40,"\n"),t.EFF(41,"\n"),t.EFF(42,"\n"),t.EFF(43,"\n"),t.EFF(44,"\n"),t.EFF(45,"\n"),t.EFF(46,"\n"),t.EFF(47,"\n"),t.EFF(48,"\n"),t.EFF(49,"\n"),t.EFF(50,"\n"),t.EFF(51,"\n"),t.EFF(52,"\n"),t.EFF(53,"\n"),t.EFF(54,"\n"),t.EFF(55,"\n"),t.EFF(56,"\n"),t.EFF(57,"\n"),t.EFF(58,"\n"),t.EFF(59,"\n"),t.EFF(60,"\n"),t.EFF(61,"\n"),t.EFF(62,"\n"),t.EFF(63,"\n"),t.EFF(64,"\n"),t.EFF(65,"\n"),t.EFF(66,"\n"),t.EFF(67,"\n"),t.EFF(68,"\n"),t.EFF(69,"\n"),t.EFF(70,"\n"),t.EFF(71,"\n"),t.EFF(72,"\n"),t.EFF(73,"\n"),t.EFF(74,"\n"),t.EFF(75,"\n"),t.EFF(76,"\n"),t.EFF(77,"\n"),t.EFF(78,"\n"),t.EFF(79,"\n"),t.EFF(80,"\n"),t.EFF(81,"\n"),t.EFF(82,"\n"),t.EFF(83,"\n"),t.EFF(84,"\n"),t.EFF(85,"\n"),t.EFF(86,"\n"),t.EFF(87,"\n"),t.EFF(88,"\n"),t.EFF(89,"\n"),t.EFF(90,"\n"),t.EFF(91,"\n"),t.EFF(92,"\n"),t.EFF(93,"\n"),t.EFF(94,"\n"),t.EFF(95,"\n"),t.EFF(96,"\n"),t.EFF(97,"\n"),t.EFF(98,"\n"),t.EFF(99,"\n"),t.EFF(100,"\n"),t.EFF(101,"\n"),t.EFF(102,"\n"),t.EFF(103,"\n"),t.EFF(104,"\n"),t.EFF(105,"\n"),t.EFF(106,"\n"),t.EFF(107,"\n"),t.EFF(108,"\n"),t.EFF(109,"\n"),t.EFF(110,"\n"),t.EFF(111,"\n"),t.EFF(112,"\n"),t.EFF(113,"\n\n"),t.EFF(114,"\n"),t.EFF(115,"\n"),t.EFF(116,"\n"),t.EFF(117,"\n"),t.EFF(118,"\n"),t.EFF(119,"\n"),t.EFF(120,"\n"),t.EFF(121,"\n"),t.EFF(122,"\n"),t.EFF(123,"\n"),t.EFF(124,"\n"),t.EFF(125,"\n"),t.EFF(126,"\n"),t.EFF(127,"\n"),t.EFF(128,"\n"),t.EFF(129,"\n"),t.EFF(130,"\n"),t.EFF(131,"\n"),t.EFF(132,"\n"),t.EFF(133,"\n\n"),t.EFF(134,"\n"),t.EFF(135,"\n"),t.EFF(136,"\n"),t.EFF(137,"\n"),t.EFF(138,"\n"),t.EFF(139,"\n"),t.EFF(140,"\n"),t.EFF(141,"\n"),t.EFF(142,"\n"),t.EFF(143,"\n"),t.EFF(144,"\n"),t.EFF(145,"\n"),t.EFF(146,"\n"),t.EFF(147,"\n"),t.EFF(148,"\n"),t.EFF(149,"\n"),t.EFF(150,"\n"),t.EFF(151,"\n"),t.EFF(152,"\n"),t.EFF(153,"\n\n"),t.EFF(154,"\n\n\n\n\n\n\n\n  "),t.j41(155,"section",2),t.EFF(156,"\n    "),t.j41(157,"div",3),t.EFF(158,"\n      "),t.DNE(159,md,1,1,"h1",4),t.EFF(160,"\n      "),t.EFF(161,"\n      "),t.j41(162,"div",5),t.EFF(163,"\n        "),t.j41(164,"h2",6),t.EFF(165),t.k0s(),t.EFF(166,"\n        "),t.j41(167,"div",7),t.EFF(168,"\n          "),t.j41(169,"div",8),t.EFF(170,"\n            "),t.j41(171,"ul",9),t.EFF(172,"\n              "),t.DNE(173,ud,7,6,"li",10),t.EFF(174,"\n            "),t.k0s(),t.EFF(175,"\n          "),t.k0s(),t.EFF(176,"\n        "),t.k0s(),t.EFF(177,"\n      "),t.k0s(),t.EFF(178,"     \n      "),t.j41(179,"form",11),t.bIt("submit",function(f){t.eBV(r);const h=t.sdS(191);return f.preventDefault(),t.Njj(o.search(h.value))}),t.EFF(180,"\n        "),t.j41(181,"div",12),t.EFF(182,"\n          "),t.j41(183,"span",13),t.EFF(184,"\n            "),t.qSk(),t.j41(185,"svg",14),t.EFF(186,"\n              "),t.nrm(187,"use",15),t.EFF(188,"\n            "),t.k0s(),t.EFF(189,"\n            "),t.joV(),t.j41(190,"input",16,0),t.bIt("input",function(){t.eBV(r);const f=t.sdS(191);return t.Njj(o.search(f.value))}),t.k0s(),t.EFF(192,"\n          "),t.k0s(),t.EFF(193,"\n"),t.EFF(194,"\n"),t.EFF(195,"\n"),t.EFF(196,"\n"),t.EFF(197,"\n"),t.EFF(198,"\n"),t.EFF(199,"\n"),t.EFF(200,"\n            "),t.j41(201,"span",17),t.bIt("click",function(f){return t.eBV(r),f.preventDefault(),t.Njj(o.getCurrentLocation())}),t.EFF(202,"\n\t\t\t\t\t\t\t"),t.qSk(),t.j41(203,"svg",18),t.EFF(204,"\n\t\t\t\t\t\t\t\t"),t.nrm(205,"use",19),t.EFF(206,"\n\t\t\t\t\t\t\t"),t.k0s(),t.EFF(207,"\n\t\t\t\t\t\t\t"),t.joV(),t.j41(208,"span"),t.EFF(209),t.k0s(),t.EFF(210,"\n\t\t\t\t\t\t"),t.k0s(),t.EFF(211,"\n            "),t.j41(212,"button",20),t.bIt("click",function(f){t.eBV(r);const h=t.sdS(191);return f.preventDefault(),t.Njj(o.search(h.value))}),t.EFF(213,"\n\n              "),t.DNE(214,dd,7,0,"svg",21),t.EFF(215),t.k0s(),t.EFF(216,"\n"),t.EFF(217,"\n        "),t.k0s(),t.EFF(218,"\n      "),t.k0s(),t.EFF(219,"\n      "),t.nrm(220,"div",22),t.EFF(221,"\n          \n      "),t.DNE(222,Ed,4,1,"ul",23),t.EFF(223,"\n\n      "),t.DNE(224,kd,6,2,"div",24),t.EFF(225,"\n\n      "),t.DNE(226,yd,6,2,"div",24),t.EFF(227,"\n\n    "),t.k0s(),t.EFF(228,"\n  "),t.k0s(),t.EFF(229,"\n  "),t.nrm(230,"app-floating-panel"),t.EFF(231,"\n"),t.k0s(),t.EFF(232,"\n")}2&a&&(t.Y8G("ngClass",t.eq3(13,pn,o.generalHelper.mainElementExtraClasse
1sByHeaderType)),t.R7$(159),t.Y8G("ngIf",o.pageData.branchListHeadline),t.R7$(6),t.JRh(o.pageData.titleForFilterHeading),t.R7$(8),t.Y8G("ngForOf",o.filterCheckOptionsBranchesTypes),t.R7$(17),t.Y8G("placeholder",o.pageData.branchListSearchInputPlaceholder),t.BMQ("aria-label",o.pageData.branchListSearchInputPlaceholder),t.R7$(19),t.JRh(o.pageData.branchListSearchByLocationTitle),t.R7$(3),t.Y8G("disabled",o.showLoading),t.R7$(2),t.Y8G("ngIf",o.showLoading),t.R7$(),t.SpI("\n              ",o.pageData.branchListSearchButtonTitle,"\n            "),t.R7$(7),t.Y8G("ngIf",o.branchList&&o.branchList.length>0),t.R7$(2),t.Y8G("ngIf",o.showNotFound),t.R7$(2),t.Y8G("ngIf",o.showLoading))},dependencies:[Ra,H.A,d.qT,d.cb,d.cV,tt.Mm,Lt,m.YU,m.Sq,m.bT,tt.D9],styles:["@media (min-width: 990.98px){.branches-list__first-column[_ngcontent-%COMP%]{width:30%}.branches-list__center-column[_ngcontent-%COMP%]{width:40%}}"]})}}return n})();class vd{constructor(i,e,a,o,r,c){this.bookTermUrl=i,this.feedbackBlockTitle=e,this.feedbackBlockText=a,this.feedbackBlockButtonText=o,this.feedbackBlockImage=r,this.feedbackBlockLink=c}}class wd extends vd{constructor(i,e,a,o,r){super(),this.contactForm=i,this.contactFormOnlyFor=e,this.openingHoursText=a,this.listOfProductsAndServices=o,this.listOfProductsAndServicesData=r}}let Sd=(()=>{class n{constructor(e){this.sanitized=e}transform(e){return this.sanitized.bypassSecurityTrustResourceUrl(e)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(He.up,16))}}static{this.\u0275pipe=t.EJ8({name:"safeUrl",type:n,pure:!0})}}return n})();const Dd=["*"],ni=n=>[n],Td=()=>["border-t border-gray-100 pt-6 mt-6"],Gd=()=>[],Bd=n=>({fieldAlias:"branch",value:n});function Id(n,i){if(1&n&&(t.j41(0,"a",26),t.nI1(1,"safeUrl"),t.EFF(2,"\n          "),t.nrm(3,"span",27),t.EFF(4,"\n          "),t.qSk(),t.j41(5,"svg",28),t.EFF(6,"\n            "),t.nrm(7,"use",29),t.EFF(8,"\n          "),t.k0s(),t.EFF(9,"\n          "),t.j41(10,"svg",30),t.EFF(11,"\n            "),t.nrm(12,"use",29),t.EFF(13,"\n          "),t.k0s(),t.EFF(14,"\n        "),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("href",t.bMT(1,2,e.noticeBtnUrl),t.B4B),t.R7$(3),t.Y8G("innerText",e.noticeBtnText)}}function jd(n,i){if(1&n&&(t.j41(0,"div",22),t.EFF(1,"\n        "),t.j41(2,"h2",23),t.EFF(3),t.k0s(),t.EFF(4,"\n        "),t.nrm(5,"p",24),t.EFF(6,"\n        "),t.DNE(7,Id,15,4,"a",25),t.EFF(8,"\n      "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(e.branchDetail.oznam),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.branchDetail.oznam_text),t.R7$(2),t.Y8G("ngIf",(null==e.branchDetail.oznam_odkaz?null:e.branchDetail.oznam_odkaz.length)>0)}}function Rd(n,i){1&n&&t.nrm(0,"div",31)}function Pd(n,i){if(1&n&&t.nrm(0,"h2",32),2&n){const e=t.XpG(2);t.Y8G("innerText",e.branchDetail.zamestnanec_meno)}}function Yd(n,i){if(1&n&&t.nrm(0,"p",33),2&n){const e=t.XpG(2);t.Y8G("innerHTML",e.branchDetail.zamestnanec_rola,t.npT)}}function $d(n,i){if(1&n&&t.nrm(0,"p",33),2&n){const e=t.XpG(2);t.Y8G("innerHTML",e.branchDetail.zamestnanec_kontakt,t.npT)}}function Nd(n,i){if(1&n&&(t.j41(0,"h2",34),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("ngClass",e.branchDetail.zamestnanec_meno?t.lJ4(4,Td):t.lJ4(5,Gd)),t.R7$(),t.JRh(t.bMT(2,2,"branchesDetailProductsAndServicesHeadline"))}}function Hd(n,i){if(1&n&&(t.j41(0,"span",38),t.EFF(1,"\n                    "),t.qSk(),t.j41(2,"svg",39),t.EFF(3,"\n                        "),t.nrm(4,"use"),t.EFF(5,"\n                    "),t.k0s(),t.EFF(6,"\n                "),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(4),t.BMQ("href","/assets/images/icons.svg#"+e.data.icon,null,"xlink")}}function Ld(n,i){if(1&n&&(t.j41(0,"li",35),t.EFF(1,"\n                "),t.DNE(2,Hd,7,1,"span",36),t.EFF(3,"\n                "),t.nrm(4,"span",37),t.EFF(5,"\n              "),t.k0s()),2&n){const e=i.$implicit;t.AVh("mb-6",!i.last),t.R7$(2),t.Y8G("ngIf",(null==e.data||null==e.data.icon?null:e.data.icon.length)>0),t.R7$(2),t.Y8G("innerHTML",e.name,t.npT)}}function Md(n,i){if(1&n&&(t.j41(0,"p",42),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.JRh(e.branchDetail.dostupnost_specialna)}}
1function Od(n,i){if(1&n&&t.nrm(0,"p",43),2&n){const e=t.XpG(3);t.Y8G("b3655WysiwygHtml",e.pageData.openingHoursText)}}function Ad(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.j41(2,"span",46),t.EFF(3),t.k0s(),t.EFF(4),t.bVm()),2&n){const e=t.XpG().$implicit,a=t.XpG(4);t.R7$(3),t.SpI("",a.branchDetail.openingHours[e].title_short,":"),t.R7$(),t.SpI(" ",a.branchesService.getOpeningHoursForDay(a.branchDetail,e),"\n                  ")}}function Xd(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                    "),t.j41(2,"span",46),t.EFF(3),t.k0s(),t.EFF(4),t.nI1(5,"translate"),t.bVm()),2&n){const e=t.XpG().$implicit,a=t.XpG(4);t.R7$(3),t.SpI("",a.branchDetail.openingHours[e].title_short,":"),t.R7$(),t.SpI(" ",t.bMT(5,2,"branchesDetailClosedText"),"\n                  ")}}function Vd(n,i){if(1&n&&(t.j41(0,"li",45),t.EFF(1,"\n                  "),t.DNE(2,Ad,5,2,"ng-container",16),t.EFF(3,"\n                  "),t.DNE(4,Xd,6,4,"ng-container",16),t.EFF(5,"\n                "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(4);t.R7$(2),t.Y8G("ngIf",a.branchDetail.openingHours[e].from),t.R7$(2),t.Y8G("ngIf",!a.branchDetail.openingHours[e].from)}}function Ud(n,i){if(1&n&&(t.j41(0,"ul",10),t.EFF(1,"\n                "),t.DNE(2,Vd,6,2,"li",44),t.EFF(3,"\n              "),t.k0s()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngForOf",e.branchesService.openingHoursDaysOrder)}}function qd(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n              "),t.j41(2,"h2",9),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n              "),t.DNE(6,Md,2,1,"p",40),t.EFF(7,"\n              "),t.DNE(8,Od,1,1,"p",18),t.EFF(9,"\n              "),t.DNE(10,Ud,4,1,"ul",41),t.EFF(11,"\n            "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,4,"branchesDetailOpeningHours")),t.R7$(3),t.Y8G("ngIf",(null==e.branchDetail.dostupnost_specialna?null:e.branchDetail.dostupnost_specialna.length)>0),t.R7$(2),t.Y8G("ngIf","3 "==e.branchDetail.obedna_prestavka),t.R7$(2),t.Y8G("ngIf",e.canShowOpeningHours())}}function zd(n,i){if(1&n&&t.nrm(0,"p",43),2&n){const e=t.XpG(2);t.Y8G("b3655WysiwygHtml",e.pageData.openingHoursText)}}function Zd(n,i){if(1&n&&(t.j41(0,"a",47),t.EFF(1,"\n                "),t.nrm(2,"span",48),t.EFF(3,"\n                "),t.qSk(),t.j41(4,"svg",28),t.EFF(5,"\n                  "),t.nrm(6,"use",29),t.EFF(7,"\n                "),t.k0s(),t.EFF(8,"\n                "),t.j41(9,"svg",30),t.EFF(10,"\n                  "),t.nrm(11,"use",29),t.EFF(12,"\n                "),t.k0s(),t.EFF(13,"\n              "),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.getBookTermUrlForBranch(),t.B4B)("target",e.pageData.bookTermUrl.target),t.R7$(2),t.Y8G("innerText",e.pageData.bookTermUrl.name)}}function Jd(n,i){if(1&n&&(t.j41(0,"a",49),t.EFF(1,"\n                "),t.qSk(),t.j41(2,"svg",50),t.EFF(3,"\n                  "),t.nrm(4,"use",51),t.EFF(5,"\n                "),t.k0s(),t.EFF(6,"\n                "),t.joV(),t.nrm(7,"span",52),t.EFF(8,"\n              "),t.k0s()),2&n){const e=t.XpG(2);t.AVh("mb-6","bankomat"==e.branchDetail.type&&e.branchDetail.dostupnost_bankomat.length>0),t.Y8G("href",e.branchesService.googleNavigateToBranch(e.branchDetail),t.B4B)("componentName","naviguj_"+e.branchDetail.type),t.R7$(7),t.Y8G("translate","branchesDetailNavigateText")}}function Wd(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n              "),t.j41(2,"h2",9),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n              "),t.nrm(6,"div",53),t.EFF(7,"\n            "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"branchesDetailAvailability")),t.R7$(3),t.Y8G("b3655WysiwygHtml",e.branchDetail.dostupnost_bankomat)}}function Kd(n,i){if(1&n&&(t.j41(0,"div",7),t.EFF(1,"\n          "),t.j41(2,"div",8),t.EFF(3,"\n            "),t.nrm(4,"app-default-form",54),t.EFF(5,"\n          "),t.k0s(),t.EFF(6,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(4),t.Y8G("formSettings",e.pageData.contactForm)("selectedValue",t.eq3(4,ni,t.eq3(2,Bd,e.branchDetail.ident)))}}function Qd(n,i){if(1&n&&(t.j41(0,"div",7),t.EFF(1,"\n          "),t.j41(2,"div",8),t.EFF(3,"\n            "),t.j41(4,"h2",9),t.EFF(5),t.k0s(),t.EFF(6,"\n            "),t.nrm(7,"div",55),t.EFF(8,"\n          "),t.k0s(),t.EFF(9,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(5),t.JRh(e.branchDetail.info_bankomat),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.branchDetail.info_bankomat_text)}}
1function t1(n,i){if(1&n&&(t.j41(0,"section",2),t.EFF(1,"\n    "),t.j41(2,"div",3),t.EFF(3,"\n      "),t.j41(4,"h1",4),t.EFF(5),t.k0s(),t.EFF(6,"\n      "),t.DNE(7,jd,9,3,"div",5),t.EFF(8,"\n      "),t.j41(9,"div",6),t.EFF(10,"\n        "),t.j41(11,"div",7),t.EFF(12,"\n          "),t.j41(13,"div",8),t.EFF(14,"\n            "),t.j41(15,"h2",9),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n            "),t.j41(19,"p",10),t.EFF(20),t.nrm(21,"br"),t.EFF(22),t.nrm(23,"br"),t.EFF(24),t.k0s(),t.EFF(25,"\n            "),t.DNE(26,Rd,1,0,"div",11),t.EFF(27,"\n            "),t.DNE(28,Pd,1,1,"h2",12),t.EFF(29,"\n            "),t.DNE(30,Yd,1,1,"p",13),t.EFF(31,"\n            "),t.DNE(32,$d,1,1,"p",13),t.EFF(33,"\n            "),t.DNE(34,Nd,3,6,"h2",14),t.EFF(35,"\n            "),t.j41(36,"ul"),t.EFF(37,"\n              "),t.DNE(38,Ld,6,4,"li",15),t.EFF(39,"\n            "),t.k0s(),t.EFF(40,"\n          "),t.k0s(),t.EFF(41,"\n        "),t.k0s(),t.EFF(42,"\n        "),t.j41(43,"div",7),t.EFF(44,"\n          "),t.j41(45,"div",8),t.EFF(46,"\n            "),t.DNE(47,qd,12,6,"ng-container",16),t.EFF(48,"\n"),t.EFF(49,"\n"),t.EFF(50,"\n"),t.EFF(51,"\n"),t.EFF(52,"\n"),t.EFF(53,"\n"),t.EFF(54,"\n"),t.EFF(55,"\n"),t.EFF(56,"\n"),t.EFF(57,"\n"),t.EFF(58,"\n"),t.EFF(59,"\n"),t.EFF(60,"\n"),t.EFF(61,"\n"),t.EFF(62,"\n"),t.EFF(63,"\n"),t.EFF(64,"\n"),t.EFF(65,"\n"),t.EFF(66,"\n"),t.EFF(67,"\n"),t.EFF(68,"\n"),t.EFF(69,"\n"),t.EFF(70,"\n"),t.EFF(71,"\n"),t.EFF(72,"\n"),t.EFF(73,"\n            "),t.j41(74,"div",17),t.EFF(75,"\n              "),t.DNE(76,zd,1,1,"p",18),t.EFF(77,"\n              "),t.DNE(78,Zd,14,3,"a",19),t.EFF(79,"\n              "),t.DNE(80,Jd,9,5,"a",20),t.EFF(81,"\n            "),t.k0s(),t.EFF(82,"\n\n            "),t.DNE(83,Wd,8,4,"ng-container",16),t.EFF(84,"\n          "),t.k0s(),t.EFF(85,"\n        "),t.k0s(),t.EFF(86,"\n\n        "),t.DNE(87,Kd,7,6,"div",21),t.EFF(88,"\n\n        "),t.DNE(89,Qd,10,2,"div",21),t.EFF(90,"\n\n\n"),t.EFF(91,"\n"),t.EFF(92,"\n"),t.EFF(93,"\n\n"),t.EFF(94,"\n"),t.EFF(95,"\n"),t.EFF(96,"\n"),t.EFF(97,"\n"),t.EFF(98,"\n"),t.EFF(99,"\n"),t.EFF(100,"\n"),t.EFF(101,"\n"),t.EFF(102,"\n"),t.EFF(103,"\n"),t.EFF(104,"\n"),t.EFF(105,"\n"),t.EFF(106,"\n"),t.EFF(107,"\n      "),t.k0s(),t.EFF(108,"\n    "),t.k0s(),t.EFF(109,"\n  "),t.k0s()),2&n){const e=t.XpG();t.R7$(5),t.Lme("",e.branchDetail.typ," ",e.branchDetail.nazov,""),t.R7$(2),t.Y8G("ngIf",e.branchDetail.oznam_text.length>0),t.R7$(9),t.JRh(t.bMT(17,20,"branchesDetailAddress")),t.R7$(4),t.SpI("",e.branchDetail.ulica," "),t.R7$(2),t.SpI("",e.branchDetail.psc," "),t.R7$(2),t.JRh(e.branchDetail.mesto),t.R7$(2),t.Y8G("ngIf",e.branchDetail.zamestnanec_meno||e.branchDetail.zamestnanec_rola||e.branchDetail.zamestnanec_kontakt),t.R7$(2),t.Y8G("ngIf",e.branchDetail.zamestnanec_meno),t.R7$(2),t.Y8G("ngIf",e.branchDetail.zamestnanec_rola),t.R7$(2),t.Y8G("ngIf",e.branchDetail.zamestnanec_kontakt),t.R7$(2),t.Y8G("ngIf",(null==e.branchDetail||null==e.branchDetail.ina_sluzba_1?null:e.branchDetail.ina_sluzba_1.length)>0),t.R7$(4),t.Y8G("ngForOf",e.getBranchListOfProductsAndServices()),t.R7$(9),t.Y8G("ngIf",e.canShowOpeningHoursContainer()),t.R7$(29),t.Y8G("ngIf","posta"==e.branchDetail.type),t.R7$(2),t.Y8G("ngIf",e.pageData.bookTermUrl),t.R7$(2),t.Y8G("ngIf",e.canShowNavigateToBranch()),t.R7$(3),t.Y8G("ngIf","bankomat"==e.branchDetail.type&&e.branchDetail.dostupnost_bankomat.length>0),t.R7$(4),t.Y8G("ngIf",e.isAllowShowForm()),t.R7$(2),t.Y8G("ngIf","bankomat"==e.branchDetail.type)}}function e1(n,i){1&n&&(t.j41(0,"section",2),t.EFF(1,"\n    "),t.j41(2,"div",3),t.EFF(3,"\n      "),t.j41(4,"div",56),t.EFF(5,"\n        "),t.nrm(6,"h2",57),t.EFF(7,"\n        "),t.nrm(8,"p",58),t.EFF(9,"\n      "),t.k0s(),t.EFF(10,"\n    "),t.k0s(),t.EFF(11,"\n  "),t.k0s()),2&n&&(t.R7$(6),t.Y8G("translate","generalItemsLoading"),t.R7$(2),t.Y8G("translate","generalItemsLoadingDesc"))}function n1(n,i){1&n&&(t.j41(0,"section",2),t.EFF(1,"\n    "),t.j41(2,"div",3),t.EFF(3,"\n      "),t.j41(4,"div",56),t.EFF(5,"\n        "),t.nrm(6,"h2",57),t.EFF(7,"\n        "),t.nrm(8,"p",58),t.EFF(9,"\n        "),t.j41(10,"div",59),t.nrm(11,"a",60),t.k0s(),t.EFF(12,"\n      "),t.k0s(),t.EFF(13,"\n    "),t.k0s(),t.EFF(14,"\n  "),t.k0s()),2&n&&(t.R7$(6),t.Y8G("translate","branchesDetailNotFoundTitle"),t.R7$(2),t.Y8G("translate","branchesDetailNotFoundDesc"),t.R7$(3),t.Y8G("routerLink","../../../")("translate","branchesDetailNotFoundLinkBack"))}let ai=new S.Vy("BranchDetailPageComponent"),a1=(()=>{class n{constructor(e,a,o,r,c){this.generalHelper=e,this.pageService=a,this.branchesService=o,this.metaService=r,this.router=c,this.branchDetail=null,this.showNotFound=!1,this.showLoading=!0,this.pageData=new wd,this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){this.showNotFound=!1,this.showLoading=!0;let e=this.router.url.substring(this.router.url.lastIndexOf("/")+1);this.branchDetailSubscriber=this.branchesService.getBranchDetail(e).subscribe(a=>{a?(this.branchDetail=a,this.parseFields(),this.pageService.setBranchSeoData(this.branchDetail.meta_nazov,this.branchDetail.meta_popis),this.metaService.removeTag("name='lb:id'"),this.metaService.addTag({name:"lb:id",content:this.branchDetail.ident}),ai.debug(this.branchDetail)):this.showNotFound=!0,this.showLoading=!1},a=>{ai.error(a),this.showNotFound=!0,this.showLoading=!1}),(0,jt.A)(this.pageData,(0,Rt.A)(this.pageService.pageData.fields,
1(0,Pt.A)(this.pageData)))}ngOnDestroy(){this.metaService.removeTag("name='lb:id'")}parseFields(){if(this.branchDetail.oznam_odkaz?.length>0){let e=this.branchDetail.oznam_odkaz.split(",");this.noticeBtnUrl=e[1],this.noticeBtnText=e[0]}this.branchDetail.openingHours=this.branchesService.parseOpeningHours(this.branchDetail)}getPersonImage(){return this.branchDetail.zamestnanec_obrazok}getBookTermUrlForBranch(){return this.pageData.bookTermUrl?this.pageData.bookTermUrl.url+"#"+this.branchDetail.ident:""}getItemPropImage(e){let a="/assets/images/om/";return"bankomat"==e?a+"bankomat.png":a+"pobocka.png"}isAllowShowForm(){return this.pageData.contactFormOnlyFor.indexOf(this.branchDetail.type)>=0&&this.pageData.contactForm}getBranchListOfProductsAndServices(){let e=this.branchDetail.ina_sluzba_1?.split(","),a=[];return e.forEach(o=>{let r=this.pageData.listOfProductsAndServicesData?.find(c=>c.id==o);r&&a.push(r)}),a}canShowOpeningHours(){switch(this.branchDetail.type){case"posta":case"bankomat":return!1;default:return!0}}canShowOpeningHoursContainer(){return!(("posta"==this.branchDetail.type||"bankomat"==this.branchDetail.type)&&"2"==this.branchDetail.obedna_prestavka)}canShowNavigateToBranch(){return.1!=Number(this.branchDetail.lat)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(z.b),t.rXU(ei),t.rXU(He.W8),t.rXU(Et.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-branch-detail-page"]],ngContentSelectors:Dd,decls:177,vars:6,consts:[["role","main","aria-label","Hlavn\xfd obsah","id","main",1,"mt-[6.25rem]","sm:mt-16",3,"ngClass"],["class","py-24 sm:py-12",4,"ngIf"],[1,"py-24","sm:py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"text-4xl","font-bold","leading-tight","text-orange","pb-12","sm:text-3xl","sm:pb-6"],["class","text-white bg-purple-100 p-9 mb-8 rounded sm:px-6 sm:py-9",4,"ngIf"],[1,"flex","flex-wrap","-m-4"],[1,"w-1/2","p-4","lg:w-full"],[1,"w-full","h-full","p-9","border","border-gray-100","rounded","sm:px-6","sm:py-9"],[1,"text-xl","font-bold","text-orange","pb-6"],[1,"leading-relaxed","text-gray-400","pb-6","sm:text-sm","sm:leading-relaxed"],["class","mb-6 border-b border-gray-100",4,"ngIf"],["class","text-xl font-bold text-orange pb-6",3,"innerText",4,"ngIf"],["class","leading-relaxed text-gray-400 sm:text-sm sm:leading-relaxed",3,"innerHTML",4,"ngIf"],["class","text-xl font-bold text-orange pb-6",3,"ngClass",4,"ngIf"],["class","relative flex items-center",3,"mb-6",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"flex","items-center","sm:flex-col","sm:items-start"],["class","leading-relaxed text-gray-400 pb-6 mb-6 sm:text-sm sm:leading-relaxed",3,"b3655WysiwygHtml",4,"ngIf"],["class","relative inline-flex justify-center items-center text-white bg-purple-100 pl-6 py-3 pr-14 mr-8 rounded sm:mr-0 sm:mb-4 btn-arrow","role","button","Ga4Tracking","","eventType","select_cta","componentType","button","componentName","stretnime_sa",3,"href","target",4,"ngIf"],["target","_blank","class","inline-flex items-center text-orange","role","button","Ga4Tracking","","eventType","select_cta","componentType","button",3,"href","mb-6","componentName",4,"ngIf"],["class","w-1/2 p-4 lg:w-full",4,"ngIf"],[1,"text-white","bg-purple-100","p-9","mb-8","rounded","sm:px-6","sm:py-9"],[1,"text-xl","font-bold","pb-6"],[1,"leading-relaxed","pb-6","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],["class","relative inline-flex justify-center items-center text-white bg-orange pl-6 py-3 pr-14 rounded btn-arrow",3,"href",4,"ngIf"],[1,"relative","inline-flex","justify-center","items-center","text-white","bg-orange","pl-6","py-3","pr-14","rounded","btn-arrow",3,"href"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"innerText"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2"],[1,"mb-6","border-b","border-gray-100"],[1,"text-xl","font-bold","text-orange","pb-6",3,"innerText"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed",3,"innerHTML"],[1,"text-xl","font-bold","text-orange","pb-6",3,"ngClass"],[1,"relative","flex","items-center"],["class","absolute top-1/2 left-0 inline-flex justify-center items-center flex-shrink-0 w-14 h-10 transform -translate-y-1/2",4,"ngIf"],[1,"text-gray-400","pl-18",3,"innerHTML"],[1,"absolute","top-1/2","left-0","inline-flex","justify-center","items-center","flex-shrink-0","w-14","h-10","transform","-translate-y-1/2"],["aria-hidden","true","focusable","false",1,"w-12","h-8","fill-current","text-orange"],["class","leading-relaxed text-gray-400 pb-6 mb-6 sm:text-sm sm:leading-relaxed",4,"ngIf"],["class","leading-relaxed text-gray-400 pb-6 sm:text-sm sm:leading-relaxed",4,"ngIf"],[1,"leading-relaxed","text-gray-400","pb-6","mb-6","sm:text-sm","sm:leading-relaxed"],[1,"leading-relaxed","text-gray-400","pb-6","mb-6","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],["class","flex items-center",4,"ngFor","ngForOf"],[1,"flex","items-center"],[1,"w-8"],["role","button","Ga4Tracking","","eventType","select_cta","componentType","button","componentName","stretnime_sa",1,"relative","inline-flex","justify-center","items-center","text-white","bg-purple-100","pl-6","py-3","pr-14","mr-8","rounded","sm:mr-0","sm:mb-4","btn-arrow",3,"href","target"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm","sm:mr-0",3,"innerText"],["target","_blank","role","button","Ga4Tracking","","eventType","select_cta","componentType","button",1,"inline-flex","items-center","text-orange",3,"href","componentName"],["aria-hidden","true","focusable","false",1,"w-6","h-8","fill-current","mr-2"],["href","/assets/images/icons.svg#pin"],[3,"translate"],[1,"leading-relaxed","text-gray-400","pb-6","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[3,"formSettings","selectedValue"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"],[1,"flex","flex-col","items-center","text-center"],[1,"text-xl","font-bold","text-orange","pb-6","sm:text-lg",3,"translate"],[1,"text-gray-400","sm:text-sm",3,"translate"],[1,"text-gray-400","sm:text-sm","pt-6","wysiwyg"],[3,"routerLink","translate"]],template:function(a,o){1&a&&(t.NAR(),t.j41(0,"main",0),t.EFF(1,"\n  "),t.SdG(2),t.EFF(3,"\n\n"),t.EFF(4,"\n"),t.EFF(5,"\n"),t.EFF(6,"\n"),t.EFF(7,"\n"),t.EFF(8,"\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.EFF(11,"\n"),t.EFF(12,"\n"),t.EFF(13,"\n"),t.EFF(14,"\n"),t.EFF(15,"\n"),t.EFF(16,"\n"),t.EFF(17,"\n"),t.EFF(18,"\n"),t.EFF(19,"\n"),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n"),t.EFF(23,"\n"),t.EFF(24,"\n"),t.EFF(25,"\n"),t.EFF(26,"\n"),t.EFF(27,"\n"),t.EFF(28,"\n"),t.EFF(29,"\n"),t.EFF(30,"\n"),t.EFF(31,"\n"),t.EFF(32,"\n"),t.EFF(33,"\n"),t.EFF(34,"\n"),t.EFF(35,"\n"),t.EFF(36,"\n"),t.EFF(37,"\n"),t.EFF(38,"\n"),t.EFF(39,"\n"),t.EFF(40,"\n"),t.EFF(41,"\n"),t.EFF(42,"\n"),t.EFF(43,"\n"),t.EFF(44,"\n"),t.EFF(45,"\n"),t.EFF(46,"\n"),t.EFF(47,"\n"),t.EFF(48,"\n"),t.EFF(49,"\n"),t.EFF(50,"\n"),t.EFF(51,"\n"),t.EFF(52,"\n"),t.EFF(53,"\n"),t.EFF(54,"\n"),t.EFF(55,"\n"),t.EFF(56,"\n"),t.EFF(57,"\n"),t.EFF(58,"\n"),t.EFF(59,"\n"),t.EFF(60,"\n"),t.EFF(61,"\n\n"),t.EFF(62,"\n"),t.EFF(63,"\n"),t.EFF(64,"\n"),t.EFF(65,"\n"),t.EFF(66,"\n"),t.EFF(67,"\n"),t.EFF(68,"\n"),t.EFF(69,"\n"),t.EFF(70,"\n"),t.EFF(71,"\n"),t.EFF(72,"\n"),t.EFF(73,"\n"),t.EFF(74,"\n"),t.EFF(75,"\n"),t.EFF(76,"\n"),t.EFF(77,"\n"),t.EFF(78,"\n"),t.EFF(79,"\n"),t.EFF(80,"\n"),t.EFF(81,"\n"),t.EFF(82,"\n"),t.EFF(83,"\n"),t.EFF(84,"\n"),t.EFF(85,"\n"),t.EFF(86,"\n"),t.EFF(87,"\n"),t.EFF(88,"\n"),t.EFF(89,"\n"),t.EFF(90,"\n\n"),t.EFF(91,"\n"),t.EFF(92,"\n"),t.EFF(93,"\n"),t.EFF(94,"\n"),t.EFF(95,"\n"),t.EFF(96,"\n"),t.EFF(97,"\n"),t.EFF(98,"\n"),t.EFF(99,"\n"),t.EFF(100,"\n"),t.EFF(101,"\n"),t.EFF(102,"\n\n"),t.EFF(103,"\n"),t.EFF(104,"\n"),t.EFF(105,"\n"),t.EFF(106,"\n"),t.EFF(107,"\n"),t.EFF(108,"\n"),t.EFF(109,"\n"),t.EFF(110,"\n"),t.EFF(111,"\n"),t.EFF(112,"\n"),t.EFF(113,"\n"),t.EFF(114,"\n"),t.EFF(115,"\n"),t.EFF(116,"\n\n"),t.EFF(117,"\n"),t.EFF(118,"\n"),t.EFF(119,"\n"),t.EFF(120,"\n"),t.EFF(121,"\n"),t.EFF(122,"\n"),t.EFF(123,"\n"),t.EFF(124,"\n"),t.EFF(125,"\n"),t.EFF(126,"\n"),t.EFF(127,"\n"),t.EFF(128,"\n"),t.EFF(129,"\n"),t.EFF(130,"\n"),t.EFF(131,"\n"),t.EFF(132,"\n"),t.EFF(133,"\n"),t.EFF(134,"\n"),t.EFF(135,"\n"),t.EFF(136,"\n\n"),t.EFF(137,"\n"),t.EFF(138,"\n"),t.EFF(139,"\n"),t.EFF(140,"\n"),t.EFF(141,"\n"),t.EFF(142,"\n"),t.EFF(143,"\n"),t.EFF(144,"\n"),t.EFF(145,"\n"),t.EFF(146,"\n\n"),t.EFF(147,"\n"),t.EFF(148,"\n"),t.EFF(149,"\n\n"),t.EFF(150,"\n"),t.EFF(151,"\n"),t.EFF(152,"\n"),t.EFF(153,"\n"),t.EFF(154,"\n"),t.EFF(155,"\n"),t.EFF(156,"\n"),t.EFF(157,"\n"),t.EFF(158,"\n"),t.EFF(159,"\n"),t.EFF(160,"\n"),t.EFF(161,"\n"),t.EFF(162,"\n"),t.EFF(163,"\n"),t.EFF(164,"\n"),t.EFF(165,"\n"),t.EFF(166,"\n"),t.EFF(167,"\n\n\n\n\n  "),t.DNE(168,t1,110,22,"section",1),t.EFF(169,"\n\n  "),t.DNE(170,e1,12,2,"section",1),t.EFF(171,"\n\n  "),t.DNE(172,n1,15,4,"section",1),t.EFF(173,"\n\n  "),t.nrm(174,"app-floating-panel"),t.EFF(175,"\n"),t.k0s(),t.EFF(176,"\n")),2&a&&(t.Y8G("ngClass",t.eq3(4,ni,o.generalHelper.mainElementExtraClasse
1sByHeaderType)),t.R7$(168),t.Y8G("ngIf",(null==o.branchDetail||null==o.branchDetail.ident?null:o.branchDetail.ident.length)>0),t.R7$(2),t.Y8G("ngIf",o.showLoading),t.R7$(2),t.Y8G("ngIf",o.showNotFound))},dependencies:[Ra,W.k,H.A,tt.Mm,Lo.F,Lt,m.YU,m.Sq,m.bT,Et.Wk,Sd,tt.D9]})}}return n})();class o1{constructor(i,e,a,o,r,c,f,h){this.topTitle=i,this.accordionTitle=e,this.accordionItems=a,this.bottomNotice=o,this.showSearch=r,this.luigisBoxSearchSettings=c,this.luigisBoxSearchSettingsObject={},this.luigisBoxSearchSortAttribute=f,this.luigisBoxSearchSortDirection=h}}class i1{constructor(i,e){this.fields=i,this.componentType=e}}class r1{constructor(i=new s1,e=""){this.fields=i,this.componentType=e}}class s1{constructor(i,e=[new l1]){this.isOpen=!1,this.title=i,this.docs=e,this.isOpen=!1}}class l1{constructor(i=new c1,e=""){this.fields=i,this.componentType=e}}class c1{constructor(i,e){this.isOpen=!1,this.title=i,this.docs=e,this.isOpen=!1}}class p1{constructor(){this.tracker_id=null,this.v=null,this.f=[],this.f_must=[],this.q=null,this.page=null,this.size=null,this.context=[],this.sort=null}}class oi{constructor(){this.searchAttributes=new p1,this._status_attribute_name="_status_item"}setFilter(i){void 0===this.searchAttributes.f&&(this.searchAttributes.f=Array()),this.searchAttributes.f.push(i)}setFilterMust(i){if(void 0===this.searchAttributes.f_must)this.searchAttributes.f_must=Array();else{let e=i.split(":");this.deleteCondition(e[0],"must")}this.searchAttributes.f_must.push(i)}setContext(i){void 0===this.searchAttributes.context&&(this.searchAttributes.context=Array()),this.searchAttributes.context.push(i)}setSearchItemType(i){null!==i&&(i.length>0?this.setFilterMust("type:"+i):this.deleteCondition("type","must"))}setOnlyActiveItems(i=!0){i?this.setConditionStatusItem(1):this.deleteCondition(this._status_attribute_name,"must")}setConditionStatusItem(i){this.setFilterMust(this._status_attribute_name+":"+i)}setOrderBy(i,e="asc"){this.searchAttributes.sort=i&&0!==i.length?i+":"+e:null}setGetVersion(i=""){if(null===i)this.searchAttributes.v=null;else if(0===i.length){let e,a=new Date;e=a.setHours(a.getHours(),0,0,0),this.searchAttributes.v=e}else this.searchAttributes.v=i}setSource(i){i?this.setFilterMust("fileSource:"+i):this.deleteCondition("fileSource","must")}deleteCondition(i,e=""){null!==e&&(0===e.length?this.searchAttributes.f.forEach((a,o,r)=>{0===a.indexOf(i+":")&&delete r[o]}):"must"===e&&this.searchAttributes.f_must.forEach((a,o,r)=>{0===a.indexOf(i+":")&&delete r[o]}))}}const m1=["searchBox"],u1=["*"],d1=n=>[n],ii=n=>({date:n});function f1(n,i){if(1&n&&t.nrm(0,"h1",8),2&n){const e=t.XpG();t.Y8G("innerHtml",e.pageData.topTitle.join("<br />"),t.npT)}}function h1(n,i){1&n&&(t.qSk(),t.j41(0,"svg",17),t.EFF(1,"\n                "),t.j41(2,"path",18),t.EFF(3,"\n                  "),t.nrm(4,"animateTransform",19),t.EFF(5,"\n                "),t.k0s(),t.EFF(6,"\n              "),t.k0s())}function F1(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"documentSearchPageSearchBtn")))}function g1(n,i){if(1&n){const e=t.RV6();t.j41(0,"form",9),t.bIt("submit",function(o){t.eBV(e);const r=t.sdS(12),c=t.XpG();return o.preventDefault(),t.Njj(c.search(r.value))}),t.EFF(1,"\n        "),t.j41(2,"div",10),t.EFF(3,"\n                    "),t.j41(4,"span",11),t.EFF(5,"\n            "),t.qSk(),t.j41(6,"svg",12),t.EFF(7,"\n              "),t.nrm(8,"use",13),t.EFF(9,"\n            "),t.k0s(),t.EFF(10,"\n            "),t.joV(),t.nrm(11,"input",14,0),t.EFF(13,"\n"),t.EFF(14,"\n"),t.EFF(15,"\n"),t.EFF(16,"\n"),t.EFF(17,"\n"),t.EFF(18,"\n"),t.EFF(19,"\n                      "),t.k0s(),t.EFF(20,"\n            "),t.j41(21,"button",15),t.bIt("click",function(o){t.eBV(e);const r=t.sdS(12),c=t.XpG();return o.preventDefault(),t.Njj(c.search(r.value))}),t.EFF(22,"\n              "),t.DNE(23,h1,7,0,"svg",16),t.EFF(24,"\n              "),t.DNE(25,F1,3,3,"span",7),t.EFF(26,"\n            "),t.k0s(),t.EFF(27,"\n        "),t.k0s(),t.EFF(28,"\n      "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(23),t.Y8G("ngIf",e.showLoading),t.R7$(2),t.Y8G("ngIf",!e.showLoading)}}function b1(n,i){1&n&&(t.j41(0,"div",22),t.EFF(1,"\n          "),t.nrm(2,"h2",23),t.EFF(3,"\n          "),t.nrm(4,"p",24),t.EFF(5,"\n        "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("translate","generalItemsLoading"),t.R7$(2),t.Y8G("translate","generalItemsLoadingDesc"))}
1function x1(n,i){if(1&n&&(t.j41(0,"div",22),t.EFF(1,"\n          "),t.nrm(2,"h2",23),t.EFF(3,"\n          "),t.nrm(4,"p",25),t.EFF(5,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("translate","generalItemsErrorFatal"),t.R7$(2),t.Y8G("innerHTML",e.notFoundText,t.npT)}}function _1(n,i){if(1&n&&(t.nrm(0,"span",35),t.nI1(1,"date")),2&n){const e=t.XpG().$implicit;t.Y8G("translate","documentSearchPageEffectiveFrom")("translateParams",t.eq3(5,ii,t.i5U(1,2,null==e.attributes?null:e.attributes.effectiveFrom,"dd.MM.yyyy")))}}function E1(n,i){if(1&n&&(t.j41(0,"li",28),t.EFF(1,"\n            "),t.j41(2,"a",29),t.EFF(3,"\n              "),t.qSk(),t.j41(4,"svg",30),t.EFF(5,"\n                "),t.nrm(6,"use",31),t.EFF(7,"\n              "),t.k0s(),t.EFF(8,"\n              "),t.joV(),t.j41(9,"span",32),t.EFF(10,"\n                      "),t.nrm(11,"span",33),t.EFF(12,"\n                "),t.EFF(13,"\n                    "),t.k0s(),t.EFF(14,"\n            "),t.k0s(),t.EFF(15,"\n            "),t.DNE(16,_1,2,7,"span",34),t.EFF(17,"\n          "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(3);t.R7$(2),t.Y8G("href",e.url,t.B4B)("target","_blank"),t.BMQ("data-lb-id",e.url),t.R7$(9),t.Y8G("innerText",e.attributes.title),t.R7$(5),t.Y8G("ngIf",a.isSetEffectiveFromDate(null==e.attributes?null:e.attributes.effectiveFrom))}}function k1(n,i){if(1&n&&(t.j41(0,"ul",26),t.EFF(1,"\n          "),t.DNE(2,E1,18,5,"li",27),t.EFF(3,"\n        "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",e.resultList.results.hits)}}function y1(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n\n        "),t.DNE(2,b1,6,2,"div",20),t.EFF(3,"\n\n        "),t.DNE(4,x1,6,2,"div",20),t.EFF(5,"\n\n        "),t.DNE(6,k1,4,1,"ul",21),t.EFF(7,"\n      "),t.bVm()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngIf",e.showLoading),t.R7$(2),t.Y8G("ngIf",e.showNotFound),t.R7$(2),t.Y8G("ngIf",e.resultList&&e.resultList.results.hits&&!e.showLoading&&!e.showNotFound)}}function C1(n,i){if(1&n&&(t.nrm(0,"span",35),t.nI1(1,"date")),2&n){const e=t.XpG().$implicit;t.Y8G("translate","documentSearchPageEffectiveFrom")("translateParams",t.eq3(5,ii,t.i5U(1,2,e.properties.effectiveFrom,"dd.MM.yyyy")))}}function v1(n,i){if(1&n&&(t.j41(0,"li",28),t.EFF(1,"\n                    "),t.j41(2,"a",47),t.EFF(3,"\n                      "),t.qSk(),t.j41(4,"svg",48),t.EFF(5,"\n                        "),t.nrm(6,"use",31),t.EFF(7,"\n                      "),t.k0s(),t.EFF(8,"\n                      "),t.joV(),t.j41(9,"span",32),t.EFF(10,"\n                      "),t.nrm(11,"span",33),t.EFF(12,"\n  "),t.EFF(13,"\n                    "),t.k0s(),t.EFF(14,"\n                    "),t.k0s(),t.EFF(15,"\n                    "),t.DNE(16,C1,2,7,"span",34),t.EFF(17,"\n                  "),t.k0s()),2&n){const e=i.$implicit,a=t.XpG(5);t.R7$(2),t.Y8G("href",e.url,t.B4B)("target",e.target),t.R7$(9),t.Y8G("innerText",e.name),t.R7$(5),t.Y8G("ngIf",a.isSetEffectiveFromDate(null==e||null==e.properties?null:e.properties.effectiveFrom))}}function w1(n,i){if(1&n&&(t.EFF(0,"\n                "),t.nrm(1,"h3",45),t.EFF(2,"\n                "),t.j41(3,"ul",46),t.EFF(4,"\n                  "),t.DNE(5,v1,18,4,"li",27),t.EFF(6,"\n               "),t.k0s(),t.EFF(7,"\n              ")),2&n){const e=i.$implicit;t.R7$(),t.Y8G("innerText",e.fields.title),t.R7$(4),t.Y8G("ngForOf",e.fields.docs)}}function S1(n,i){if(1&n&&(t.j41(0,"div",43),t.EFF(1,"\n              "),t.DNE(2,w1,8,2,"ng-template",44),t.EFF(3,"\n            "),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",a.getDocumentSearchAccordionItemDocsFieldsModel(e))}}function D1(n,i){if(1&n&&(t.j41(0,"div",43),t.EFF(1,"\n            "),t.nrm(2,"p",49),t.EFF(3,"\n          "),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("b3655WysiwygHtml",e.fields.content)}}function T1(n,i){if(1&n){const e=t.RV6();t.j41(0,"li",37),t.EFF(1,"\n          "),t.j41(2,"div",38,1),t.bIt("click",function(o){t.eBV(e);const r=t.sdS(3),c=t.XpG(2);return t.Njj(c.toggleAccordion(r,o))}),t.EFF(4,"\n            "),t.nrm(5,"span",39),t.EFF(6,"\n            "),t.qSk(),t.j41(7,"svg",40),t.EFF(8,"\n              "),t.nrm(9,"use",41),t.EFF(10,"\n            "),t.k0s(),t.EFF(11,"\n          "),t.k0s(),t.EFF(12,"\n\n            "),t.DNE(13,S1,4,1,"div",42),t.EFF(14,"\n          "),t.DNE(15,D1,4,1,"div",42),t.EFF(16,"\n        "),t.k0s()}if(2&n){const e=i.$implicit;t.R7$(5),t.Y8G("innerText",e.fields.title),t.R7$(8),t.Y8G("ngIf","PABKElementsDocumentsSearchAccordionItemDocs"==e.componentType),t.R7$(2),t.Y8G("ngIf","PABKElementsDocumentsSearchAccordionItemText"==e.componentType)}}
1function G1(n,i){if(1&n&&(t.j41(0,"ul"),t.EFF(1,"\n        "),t.DNE(2,T1,17,3,"li",36),t.EFF(3,"\n      "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngForOf",e.pageData.accordionItems)}}let zn=new S.Vy("DocumentSearchPageComponent"),B1=(()=>{class n{constructor(e,a,o,r,c){this.pageService=e,this.generalHelper=a,this.luigisService=o,this._doc=r,this.translate=c,this.pageData=new o1,this.filter$=new Pa.B,this.resultList=null,this.filterObject=new oi,this.showNotFound=!1,this.showLoading=!1,this.showClearBtn=!1,this.notFoundTexts={notFound:" \u017diadn\xfd dokument sa nena\u0161iel. Sk\xfaste vyh\u013eada\u0165 in\xfd v\xfdraz.",httpError:"Houston, m\xe1me probl\xe9m."}}ngOnInit(){(0,jt.A)(this.pageData,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.pageData)));let e=[];this.pageData.accordionItems.forEach(a=>{if("PABKElementsDocumentsSearchAccordionItemText"==a.componentType){let o=new i1;(0,jt.A)(o,(0,Rt.A)(a,(0,Pt.A)(o))),e.push(o)}else if("PABKElementsDocumentsSearchAccordionItemDocs"==a.componentType){let o=new r1;o=(0,pt.A)(o,a),e.push(o)}});try{this.pageData.luigisBoxSearchSettingsObject=JSON.parse(this.pageData.luigisBoxSearchSettings?this.pageData.luigisBoxSearchSettings.trim():"{}")}catch{console.warn("Parse BE settings - error")}this.translate.get(["generalItemsErrorFatal","documentSearchPageErrorNotFound"]).subscribe(a=>{this.notFoundTexts.notFound=a.documentSearchPageErrorNotFound,this.notFoundTexts.httpError=a.generalItemsErrorFatal}),this.pageData.accordionItems=e;try{this.pageData.luigisBoxSearchSettingsObject?.additionalQuery&&Object.keys(this.pageData.luigisBoxSearchSettingsObject?.additionalQuery)?.forEach(a=>{this.filterObject.searchAttributes[a]=this.pageData.luigisBoxSearchSettingsObject.additionalQuery[a]})}catch{console.warn("Added additional params to search query failed!")}this.pageData.luigisBoxSearchSortAttribute&&this.pageData.luigisBoxSearchSortDirection&&this.filterObject.setOrderBy(this.pageData.luigisBoxSearchSortAttribute,this.pageData.luigisBoxSearchSortDirection),this.resultList$=this.filter$.pipe((0,Ya.M)(a=>{this.setSearchToUrl(),this.setRequiredFilters(),this.showNotFound=!1,this.showLoading=!0}),(0,Qo.B)(300),(0,Ya.M)(a=>{zn.debug("TAP")}),(0,ti.n)(()=>this.luigisService.LuigiSearch(this.filterObject,"file",["Documents"]))),this.resultListSubscriber=this.resultList$.subscribe(a=>{this.showLoading=!1,a.results.hits.length>0?this.showNotFound=!1:(this.showNotFound=!0,this.notFoundText=this.notFoundTexts.notFound),this.resultList=a},a=>{zn.error("Chyba nacitavania dokumentov: ",a),this.showNotFound=!0,this.notFoundText=this.notFoundTexts.httpError,this.showLoading=!1},()=>{})}ngOnDestroy(){this.luigisService.removeGeneratedJsonLd()}ngAfterViewInit(){this.getFilterFromUrl()}toggleAccordion(e,a){a.preventDefault();let o=e;o.classList.toggle("toggleActive"),o.classList.toggle("pb-6"),o.querySelector(".toggleIcon").classList.toggle("rotate-180"),e.nextElementSibling.style.height=o.classList.contains("toggleActive")?e.nextElementSibling.scrollHeight+"px":0}isSetEffectiveFromDate(e){return Date.parse(e)>0}getDocumentSearchAccordionItemDocsFieldsModel(e){return"PABKElementsDocumentsSearchAccordionItemDocs"==e.componentType?e.fields.docs:null}getDocCount(e){let a;return a=e.length,a}search(e){if(console.log("SEARCHING FOR DOCUMENTS"),!e||0==e.length)return zn.debug("No term entered..."),void this.resetFilter();zn.debug("Searching: "+e),this.filterObject.searchAttributes.q=e,this.filter$.next(),this.setSearchToUrl(),this.showClearBtn=!0}setSearchToUrl(){const e=new URL(window.location.href);console.log("this.filterObject",this.filterObject),this.filterObject.searchAttributes.q?e.searchParams.set("search",this.filterObject.searchAttributes.q):e.searchParams.delete("search"),window.history.replaceState(null,null,e.href)}getFilterFromUrl(){const e=new URL(window.location.href);let a=!1;Object.keys(this.filterObject.searchAttributes).forEach(o=>{if(e.searchParams.has(o)){let r=e.searchParams.get(o);this.filterObject.searchAttributes[o]=this.generalHelper.isValidJson(r)?JSON.parse(r):r,a=!0}}),e.searchParams.has("search")&&(this.elSearchBox.nativeElement.value=e.searchParams.get("search"),a=!0,this.filter$.next()),setTimeout(()=>{this.showClearBtn=a},0)}resetFilter(){this.elSearchBox.nativeElement.value="",this.filterObject=ne
1w oi,this.showClearBtn=!1,this.setSearchToUrl()}setRequiredFilters(){this.filterObject.setOnlyActiveItems(),this.filterObject.setSearchItemType("file"),L.c.appDomain.indexOf(".local")>-1||L.c.appDomain.indexOf("uat.")>-1?this.filterObject.setSource("postovabanka.sk"):this.filterObject.setSource(L.c.appDomain.replace("www.",""))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU($a.l),t.rXU(m.qQ),t.rXU(tt.c$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-document-search-page"]],viewQuery:function(a,o){if(1&a&&t.GBs(m1,5),2&a){let r;t.mGM(r=t.lsd())&&(o.elSearchBox=r.first)}},ngContentSelectors:u1,decls:19,vars:7,consts:[["searchBox",""],["el",""],["role","main","aria-label","Hlavn\xfd obsah","id","main",1,"mt-[6.25rem]","sm:mt-16",3,"ngClass"],[1,"py-24","sm:py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],["class","text-4xl font-bold leading-tight text-center text-orange pb-12 sm:text-3xl",3,"innerHtml",4,"ngIf"],["role","search","action","#","class","max-w-4xl w-full mx-auto pb-16",3,"submit",4,"ngIf"],[4,"ngIf"],[1,"text-4xl","font-bold","leading-tight","text-center","text-orange","pb-12","sm:text-3xl",3,"innerHtml"],["role","search","action","#",1,"max-w-4xl","w-full","mx-auto","pb-16",3,"submit"],[1,"relative","sm:flex","sm:flex-col"],[1,"relative","w-full"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","left-3","w-5","h-5","fill-current","text-orange","transform","-translate-y-1/2"],["href","/assets/images/icons.svg#search"],["type","text","name","search","id","search","placeholder","H\u013eada\u0165 dokument",1,"w-full","bg-gray-50","py-3","pr-24","pl-12","border","border-gray-100","rounded","appearance-none","placeholder-gray-400","sm:text-sm"],["type","submit",1,"absolute","top-0","right-0","inline-block","h-full","font-bold","uppercase","text-white","bg-purple-100","px-8","rounded","whitespace-nowrap","sm:relative","sm:top-auto","sm:right-auto","sm:w-full","sm:h-12","sm:text-sm",3,"click"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 100 100","class","w-12 h-12 fill-current sm:inline-flex",4,"ngIf"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 100 100",1,"w-12","h-12","fill-current","sm:inline-flex"],["fill","#fff","d","M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"],["attributeName","transform","attributeType","XML","type","rotate","dur","1s","from","0 50 50","to","360 50 50","repeatCount","indefinite"],["class","flex flex-col items-center text-center",4,"ngIf"],["class","pb-12 result-list",4,"ngIf"],[1,"flex","flex-col","items-center","text-center"],[1,"text-xl","font-bold","text-orange","pb-6","sm:text-lg",3,"translate"],[1,"text-gray-400","sm:text-sm",3,"translate"],[1,"text-gray-400","sm:text-sm",3,"innerHTML"],[1,"pb-12","result-list"],["class","flex justify-between items-center pb-4 mb-4 border-b border-gray-100 md:flex-col md:items-start",4,"ngFor","ngForOf"],[1,"flex","justify-between","items-center","pb-4","mb-4","border-b","border-gray-100","md:flex-col","md:items-start"],["data-action","downloadDocument",1,"inline-flex","text-blue","transition-colors","duration-150","hover:text-orange",3,"href","target"],["aria-hidden","true","focusable","false",1,"flex-shrink-0","w-5","h-5","fill-current","text-orange","mr-4","transition-colors","duration-150"],["href","/assets/images/icons.svg#download"],[1,"mr-12","md:mr-0"],[1,"leading-relaxed","underline","sm:text-sm","sm:leading-relaxed",3,"innerText"],["class","text-sm text-gray-400 whitespace-nowrap md:pt-1 md:pl-9",3,"translate","translateParams",4,"ngIf"],[1,"text-sm","text-gray-400","whitespace-nowrap","md:pt-1","md:pl-9",3,"translate","translateParams"],["class","p-6 mb-4 border border-purple-100 rounded sm:p-4",4,"ngFor","ngForOf"],[1,"p-6","mb-4","border","border-purple-100","rounded","sm:p-4"],[1,"flex","justify-between","items-center","text-purple-100","transition-all","duration-150","toggleBtn","cursor-pointer",3,"click"],[1,"text-xl","font-bold","mr-4","sm:text-lg","xs:text-base",3,"innerText"],["aria-hidden","true","focusable","false",1,"flex-shrink-0","w-4","h-3","fill-current","transition-all","duration-150","toggleIcon"],["href","/assets/images/icons.svg#caret-down"],["class","h-0 leading-relaxed transform transition-all duration-150 overflow-hidden sm:text-sm sm:leading-relaxed toggleMain",4,"ngIf"],[1,"h-0","leading-relaxed","transform","transition-all","duration-150","overflow-hidden","sm:text-sm","sm:leading-relaxed","toggleMain"],["ngFor","",3,"ngForOf"],[1,"font-bold","text-gray-400","pb-4",3,"innerText"],[1,"pb-12"],[1,"inline-flex","text-blue","transition-colors","duration-150","hover:text-orange",3,"href","target"],["aria-hidden","true","focusable","false",1,"flex-shrink-0","w-5","h-5","fill-current","text-orange","mt-1","mr-4","transition-colors","duration-150"],[1,"leading-relaxed","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"]],template:function(a,o){1&a&&(t.NAR(),t.j41(0,"main",2),t.EFF(1,"\n\n  "),t.SdG(2),t.EFF(3,"\n\n  "),t.j41(4,"section",3),t.EFF(5,"\n    "),t.j41(6,"div",4),t.EFF(7,"\n      "),t.DNE(8,f1,1,1,"h1",5),t.EFF(9,"\n\n      "),t.DNE(10,g1,29,2,"form",6),t.EFF(11,"\n      "),t.DNE(12,y1,8,3,"ng-container",7),t.EFF(13,"\n\n      "),t.DNE(14,G1,4,1,"ul",7),t.EFF(15,"\n    "),t.k0s(),t.EFF(16,"\n  "),t.k0s(),t.EFF(17,"\n"),t.k0s(),t.EFF(18,"\n")),2&a&&(t.Y8G("ngClass",t.eq3(5,d1,o.generalHelper.mainElementExtraClasse
1sByHeaderType)),t.R7$(8),t.Y8G("ngIf",(null==o.pageData.topTitle?null:o.pageData.topTitle.length)>0),t.R7$(2),t.Y8G("ngIf",o.pageData.showSearch),t.R7$(2),t.Y8G("ngIf",o.showClearBtn),t.R7$(2),t.Y8G("ngIf",!o.showClearBtn))},dependencies:[W.k,H.A,d.qT,d.cb,d.cV,tt.Mm,m.YU,m.Sq,m.bT,tt.D9,m.vh],data:{animation:[ve]}})}}return n})();const pe=n=>[n];function I1(n,i){if(1&n&&(t.j41(0,"li",6),t.EFF(1,"\n          "),t.EFF(2,"\n          "),t.EFF(3,"\n          "),t.nrm(4,"a",7),t.EFF(5,"\n        "),t.k0s()),2&n){const e=i.$implicit,a=i.last,o=t.XpG(2);t.AVh("pb-5",!a),t.Y8G("ngClass",t.eq3(7,pe,a?"":" pb-4 mb-4 border-b border-purple-200 sm:pb-2 sm:mb-2")),t.R7$(4),t.Y8G("ngClass",t.eq3(9,pe,o.data.colorClasses.text))("href",e.url,t.B4B)("target",e.target)("innerText",e.name)}}function j1(n,i){if(1&n&&(t.EFF(0,"\n    "),t.j41(1,"div",2),t.EFF(2,"\n      "),t.j41(3,"h2",3),t.EFF(4,"\n      "),t.k0s(),t.EFF(5,"\n      "),t.j41(6,"ul",4),t.EFF(7,"\n\n        "),t.DNE(8,I1,6,11,"li",5),t.EFF(9,"\n      "),t.k0s(),t.EFF(10,"\n    "),t.k0s(),t.EFF(11,"\n  ")),2&n){const e=t.XpG();t.R7$(3),t.Y8G("ngClass",t.eq3(3,pe,e.data.colorClasses.headlineBackground))("innerText",e.data.title),t.R7$(5),t.Y8G("ngForOf",e.data.links)}}function R1(n,i){if(1&n&&(t.j41(0,"li",12),t.EFF(1,"\n              "),t.j41(2,"span",13),t.EFF(3),t.nI1(4,"number"),t.k0s(),t.EFF(5,"\n              "),t.nrm(6,"a",14),t.EFF(7,"\n            "),t.k0s()),2&n){const e=i.$implicit,a=i.last,o=i.index,r=t.XpG(2);t.Y8G("ngClass",t.eq3(10,pe,a?"":"pb-4 mb-4 border-b border-gray-100 sm:pb-2 sm:mb-2")),t.R7$(2),t.Y8G("ngClass",t.eq3(12,pe,r.data.colorClasses.text)),t.R7$(),t.JRh(t.i5U(4,7,o+1,"2.0")),t.R7$(3),t.Y8G("ngClass",t.eq3(14,pe,r.data.colorClasses.text))("href",e.url,t.B4B)("target",e.target)("innerText",e.name)}}function P1(n,i){if(1&n&&(t.EFF(0,"\n    "),t.j41(1,"div",8),t.EFF(2,"\n      "),t.j41(3,"h2",9),t.EFF(4,"\n      "),t.k0s(),t.EFF(5,"\n      "),t.j41(6,"ol",10),t.EFF(7,"\n          "),t.DNE(8,R1,8,16,"li",11),t.EFF(9,"\n        "),t.k0s(),t.EFF(10,"\n    "),t.k0s(),t.EFF(11,"\n    \n  ")),2&n){const e=t.XpG();t.R7$(3),t.Y8G("ngClass",t.eq3(3,pe,e.data.colorClasses.headlineBackground))("innerText",e.data.title),t.R7$(5),t.Y8G("ngForOf",e.data.links)}}new S.Vy("BlogListPageLinksPanelComponent");let Y1=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorPalette=a}ngOnInit(){this.inputData&&(this.data=new lc,Object.assign(this.data,this.inputData),this.setColors())}setColors(){this.data.colorClasses=new rt,null!=this.data.colorPalette&&this.data.colorPalette&&(this.data.colorClasses=this.colorPalette.parseColors(this.data.colorPalette.colorSets[0]))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(we))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-blog-list-page-links-panel"]],inputs:{inputData:"inputData"},decls:7,vars:5,consts:[[1,"flex-shrink-0","w-[28rem]","p-2","xl:w-full",3,"ngClass"],[3,"ngIf"],[1,"bg-purple-100","px-6","py-9","mb-4","rounded"],[1,"text-xl","font-bold","text-white","pb-6","sm:text-lg",3,"ngClass","innerText"],[1,"leading-relaxed","sm:text-sm","sm:leading-relaxed"],[3,"pb-5","ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"text-white",3,"ngClass","href","target","innerText"],[1,"px-6","py-9","border","border-orange","rounded"],[1,"text-xl","font-bold","text-orange","pb-6","sm:text-lg",3,"ngClass","innerText"],[1,"leading-relaxed","pl-12","sm:text-sm","sm:leading-relaxed","sm:pl-9"],["class","relative",3,"ngClass",4,"ngFor","ngForOf"],[1,"relative",3,"ngClass"],[1,"absolute","top-0","-left-12","text-2xl","text-orange","mr-4","sm:text-xl","sm:-left-9e",3,"ngClass"],[1,"text-lg","font-bold","text-gray-400",3,"ngClass","href","target","innerText"]],template:function(a,o){1&a&&(t.j41(0,"div",0),t.EFF(1,"\n  "),t.DNE(2,j1,12,5,"ng-template",1),t.EFF(3,"\n  "),t.DNE(4,P1,12,5,"ng-template",1),t.EFF(5,"\n\n"),t.k0s(),t.EFF(6,"\n")),2&a&&(t.Y8G("ngClass",t.eq3(3,pe,o.data.colorClasses.background)),t.R7$(2),t.Y8G("ngIf","icon"==o.data.linksListType),t.R7$(2),t.Y8G("ngIf","numbered"==o.data.linksListType))},dependencies:[H.A,m.YU,m.Sq,m.bT,m.QX]})}}return n})();const ri=n=>[n],$1=n=>({time:n});
1function N1(n,i){if(1&n&&(t.j41(0,"article",1),t.EFF(1,"\n  "),t.j41(2,"div",2),t.EFF(3,"\n    "),t.j41(4,"h3"),t.EFF(5,"\n    "),t.nrm(6,"a",3),t.EFF(7,"\n    "),t.k0s(),t.EFF(8,"\n    "),t.j41(9,"div",4),t.EFF(10),t.nI1(11,"date"),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n    "),t.nrm(14,"p",5),t.EFF(15,"\n    "),t.j41(16,"a",6),t.EFF(17,"\n      "),t.nrm(18,"span",7),t.EFF(19,"\n      "),t.qSk(),t.j41(20,"svg",8),t.EFF(21,"\n        "),t.nrm(22,"use",9),t.EFF(23,"\n      "),t.k0s(),t.EFF(24,"\n      "),t.j41(25,"svg",10),t.EFF(26,"\n        "),t.nrm(27,"use",9),t.EFF(28,"\n      "),t.k0s(),t.EFF(29,"\n    "),t.k0s(),t.EFF(30,"\n  "),t.k0s(),t.EFF(31,"\n  "),t.joV(),t.j41(32,"a",11),t.EFF(33,"\n    "),t.nrm(34,"img",12),t.EFF(35,"\n  "),t.k0s(),t.EFF(36,"\n"),t.k0s()),2&n){const e=i.$implicit,a=i.first,o=t.XpG();t.R7$(2),t.Y8G("ngClass",t.eq3(17,ri,a?"w-1/2":"w-[60%]")),t.R7$(4),t.Y8G("routerLink",e.url)("innerHtml",e.name.join("<br />"),t.npT),t.R7$(4),t.Lme("",t.i5U(11,11,o.getPublishedDate(e.published),"dd. MMMM YYYY")," | ",t.i5U(12,14,"latestArticlesReadTime",t.eq3(19,$1,e.readTime)),""),t.R7$(4),t.Y8G("b3655WysiwygHtml",e.perex),t.R7$(2),t.Y8G("routerLink",e.url),t.R7$(2),t.Y8G("translate","blogsArticlesReadMoreBtn"),t.R7$(14),t.Y8G("routerLink",e.url)("ngClass",t.eq3(21,ri,a?"w-1/2 md:h-96 sm:h-60":"w-[40%] md:h-80 sm:h-48")),t.R7$(2),t.Y8G("src",o.getArticleImage(e),t.B4B)}}new S.Vy("BlogListPageArticleClassicComponent");let H1=(()=>{class n{constructor(e,a){this.generalHelper=e,this.colorPalette=a,this.mediaUrl=L.c.apiSettings.endpoint.media,this.defaultArticlePhoto="https://satyr.io/360x286"}ngOnInit(){this.inputData&&(this.data=new Array,Object.assign(this.data,this.inputData))}getPublishedDate(e){let a=new Date(e);return this.generalHelper.isValidDate(a)?a:null}getArticleImage(e){if(!e.image)return this.defaultArticlePhoto;if(e.image.crop.hasOwnProperty("article-small")){let a=e.image.crop["article-small"];if((a.match(/media/g)||[]).length>1){let o=a.split("media/");o.length>2&&(a="/media/"+o.slice(2).join("media/"))}return this.mediaUrl+a}return this.mediaUrl+e.image?.src}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r),t.rXU(we))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-blog-list-page-article-classic"]],inputs:{inputData:"inputData"},decls:2,vars:1,consts:[["class","flex flex-wrap mb-4 border border-gray-100 rounded overflow-hidden",4,"ngFor","ngForOf"],[1,"flex","flex-wrap","mb-4","border","border-gray-100","rounded","overflow-hidden"],[1,"p-12","md:order-2","md:w-full","sm:p-6",3,"ngClass"],[1,"block","text-xl","font-bold","text-orange","pb-4","sm:text-lg",3,"routerLink","innerHtml"],[1,"text-sm","text-gray-400","pb-6","sm:text-xs"],[1,"leading-relaxed","text-gray-400","pb-12","sm:text-sm","sm:leading-relaxed","sm:pb-6",3,"b3655WysiwygHtml"],[1,"relative","inline-flex","justify-center","items-center","text-white","bg-purple-100","pl-6","py-3","pr-14","rounded","btn-arrow",3,"routerLink"],[1,"font-bold","uppercase","whitespace-nowrap","sm:text-sm",3,"translate"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-9","w-2","h-4","fill-current","opacity-0","transform","-translate-y-1/2",2,"animation-name","btn-arrow-1-out","animation-duration","0.4s","animation-fill-mode","forwards"],["href","assets/images/icons.svg#caret-right"],["aria-hidden","true","focusable","false",1,"absolute","top-1/2","right-6","w-2","h-4","fill-current","transform","-translate-y-1/2",2,"animation-name","btn-arrow-2-out","animation-duration","0.4s","animation-fill-mode","forwards"],[1,"relative","overflow-hidden","md:order-1","md:w-full",3,"routerLink","ngClass"],["alt","",1,"absolute","top-1/2","left-1/2","max-w-none","min-w-full","min-h-full","transform","-translate-x-1/2","-translate-y-1/2","transition-all","duration-500","hover:scale-105",3,"src"]],template:function(a,o){1&a&&(t.DNE(0,N1,37,23,"article",0),t.EFF(1,"\n\n")),2&a&&t.Y8G("ngForOf",o.data)},dependencies:[Xt.D,W.k,tt.Mm,m.YU,m.Sq,Et.Wk,tt.D9,m.vh]})}}return n})();const L1=n=>[n];function M1(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                  "),t.nrm(2,"app-blog-list-page-links-panel",8),t.EFF(3,"\n                "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",e.fields)}}
1function O1(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n              "),t.j41(2,"ng-switch",12),t.EFF(3,"\n                "),t.DNE(4,M1,4,1,"ng-container",13),t.EFF(5,"\n                "),t.EFF(6,"\n              "),t.k0s(),t.EFF(7,"\n            "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngSwitch",e.componentType),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsBlogPanelsLinks")}}function A1(n,i){if(1&n&&(t.j41(0,"div",10),t.EFF(1,"\n            "),t.DNE(2,O1,8,2,"ng-container",11),t.EFF(3,"\n          "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngForOf",e.blogData.blogPanels)}}let X1=new S.Vy("BlogListPageComponent"),V1=(()=>{class n{constructor(e,a){this.pageService=e,this.generalHelper=a,this.blogData=new sc,this.mediaUrl=L.c.apiSettings.endpoint.media,this.defaultArticlePhoto="https://satyr.io/360x286"}ngOnInit(){(0,jt.A)(this.blogData,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.blogData))),X1.debug(this.blogData),(!this.blogData.articlesArrangement||0==this.blogData.articlesArrangement.length)&&(this.blogData.articlesArrangement="default")}getPublishedDate(e){let a=new Date(e);return this.generalHelper.isValidDate(a)?a:null}getArticleImage(e){if(!e.image)return this.defaultArticlePhoto;if(e.image.crop.hasOwnProperty("article-small")){let a=e.image.crop["article-small"];if((a.match(/media/g)||[]).length>1){let o=a.split("media/");o.length>2&&(a="/media/"+o.slice(2).join("media/"))}return this.mediaUrl+a}return this.mediaUrl+e.image?.src}isRightSide(){return this.blogData.blogPanels.length>0}isCategoriesPanel(){return this.blogData.categoryPanelLinks.length>0}isMostReadPanel(){return this.blogData.mostReadPanelLinks.length>0}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-blog-list-page"]],decls:29,vars:9,consts:[["role","main","aria-label","Hlavn\xfd obsah","id","main",1,"mt-160","lg:mt-80","sm:mt-60",3,"ngClass"],[1,"py-24","sm:py-12"],[1,"max-w-8xl","w-full","px-4","mx-auto"],[1,"max-w-4xl","pb-12","lg:max-w-none","lg:text-center"],[1,"text-4xl","font-bold","leading-tight","text-orange","pb-6","sm:text-3xl",3,"innerText"],[1,"text-lg","leading-relaxed","text-gray-400","sm:text-base","sm:leading-relaxed",3,"b3655WysiwygHtml"],[1,"flex","-m-2","xl:flex-col"],[1,"w-full","p-2"],[3,"inputData"],["class","flex-shrink-0 w-[28rem] p-2 xl:w-full",4,"ngIf"],[1,"flex-shrink-0","w-[28rem]","p-2","xl:w-full"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"]],template:function(a,o){1&a&&(t.j41(0,"main",0),t.EFF(1,"\n  "),t.EFF(2,"\n  "),t.j41(3,"section",1),t.EFF(4,"\n    "),t.j41(5,"div",2),t.EFF(6,"\n      "),t.j41(7,"div",3),t.EFF(8,"\n        "),t.nrm(9,"h1",4),t.EFF(10,"\n        "),t.nrm(11,"p",5),t.EFF(12,"\n      "),t.k0s(),t.EFF(13,"\n        "),t.j41(14,"div",6),t.EFF(15,"\n          "),t.j41(16,"div",7),t.EFF(17,"\n              "),t.nrm(18,"app-blog-list-page-article-classic",8),t.EFF(19,"\n              "),t.EFF(20,"\n              "),t.EFF(21,"\n          "),t.k0s(),t.EFF(22,"\n\n          "),t.DNE(23,A1,4,1,"div",9),t.EFF(24,"\n      "),t.k0s(),t.EFF(25,"\n    "),t.k0s(),t.EFF(26,"\n  "),t.k0s(),t.EFF(27,"\n"),t.k0s(),t.EFF(28,"\n")),2&a&&(t.Y8G("ngClass",t.eq3(7,L1,o.generalHelper.mainElementExtraClassesByHeaderType)),t.R7$(3),t.AVh("pt-25",!o.generalHelper.showBreadcrumbs(o.pageService.pageData)),t.R7$(6),t.Y8G("innerText",o.blogData.pageName),t.R7$(2),t.Y8G("b3655WysiwygHtml",o.blogData.categoryDescription),t.R7$(7),t.Y8G("inputData",o.blogData.articles),t.R7$(5),t.Y8G("ngIf",o.isRightSide()))},dependencies:[W.k,m.YU,m.Sq,m.bT,m.ux,m.e1,Y1,H1]})}}return n})();class U1{constructor(i="",e=[],a=null,o="",r=null,c=[],f="",h=null,b=[],w=!1){this.pageName=i,this.headline=e,this.mainImage=a,this.perex=o,this.contentBlocks=r,this.tags=c,this.published=f,this.readTime=h,this.author=b,this.design=w}}class q1{}new S.Vy("QuoteItemComponent");let z1=(()=>{class n{constructor(e){this.generalHelper=e}ngOnInit(){this.inputData&&(this.data=new q1,Object.assign(this.data,this.inputData))}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(T.r))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-quote-item"]],inputs:{inputData:"inputData"},decls:3,vars:1,consts:[[3,"b3655WysiwygHtml"]],template:function(a,o){1&a&&(t.j41(0,"blockquote",0),t.EFF(1,"\n"),t.k0s(),t.EFF(2,"\n")),2&a&&t.Y8G("b3655WysiwygHtml",o.generalHelper.removeEncapsulatedTag(o.data.text,"p"))},dependencies:[W.k]})}}return n})();const Z1=["elForIndicator"],J1=n=>[n],W1=n=>({time:n});
1function K1(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"app-headline-block",15),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",null==e?null:e.fields)}}function Q1(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"div",16),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("b3655WysiwygHtml",null==e.fields?null:e.fields.rte)}}function tf(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.nrm(2,"app-quote-item",15),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("inputData",null==e?null:e.fields)}}function ef(n,i){if(1&n&&(t.j41(0,"pre"),t.EFF(1,"                  >> Nieco ine, treba doprogramovat "),t.j41(2,"span"),t.EFF(3),t.k0s(),t.EFF(4," <<\n                "),t.j41(5,"code"),t.EFF(6),t.nI1(7,"json"),t.k0s(),t.EFF(8,"\n                "),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI("[ ",null==e?null:e.componentType," ]"),t.R7$(3),t.JRh(t.bMT(7,2,e))}}function nf(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n                "),t.DNE(2,ef,9,4,"pre",17),t.EFF(3,"\n              "),t.bVm()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngIf",e.generalHelper.isDevMod())}}function af(n,i){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n            "),t.j41(2,"ng-switch",12),t.EFF(3,"\n              "),t.DNE(4,K1,4,1,"ng-container",13),t.EFF(5,"\n              "),t.DNE(6,Q1,4,1,"ng-container",13),t.EFF(7,"\n              "),t.DNE(8,tf,4,1,"ng-container",13),t.EFF(9,"\n              "),t.DNE(10,nf,4,1,"ng-container",14),t.EFF(11,"\n            "),t.k0s(),t.EFF(12,"\n          "),t.k0s()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngSwitch",null==e?null:e.componentType),t.R7$(2),t.Y8G("ngSwitchCase","PABKBlocksElementsHeadline"),t.R7$(2),t.Y8G("ngSwitchCase","PABKCompositionsRTE"),t.R7$(2),t.Y8G("ngSwitchCase","PABKElementsGeneralQuoteItem")}}function of(n,i){if(1&n&&(t.j41(0,"div",18),t.EFF(1,"\n          "),t.nrm(2,"img",19),t.EFF(3,"\n          "),t.j41(4,"h2",20),t.EFF(5),t.k0s(),t.EFF(6,"\n          "),t.nrm(7,"div",21),t.EFF(8,"\n          "),t.nrm(9,"p",22),t.EFF(10,"\n        "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("src",e.getAuthorPhoto(e.blogData),t.B4B)("alt",e.getAuthorName(e.blogData)),t.R7$(3),t.JRh(e.getAuthorName(e.blogData)),t.R7$(2),t.Y8G("translate","blogsArticlesAuthor"),t.R7$(2),t.Y8G("b3655WysiwygHtml",e.getAuthorBio(e.blogData))}}let rf=new S.Vy("BlogArticlePageComponent"),sf=(()=>{class n{constructor(e,a,o){this.pageService=e,this.generalHelper=a,this._doc=o,this.blogData=new U1,this.scrollTopPosition=0,this.defaultAuthorPhoto="https://satyr.io/200x200",this.defaultArticlePhoto="https://satyr.io/1250x595",this.mediaUrl=L.c.apiSettings.endpoint.media}ngOnInit(){(0,jt.A)(this.blogData,(0,Rt.A)(this.pageService.pageData.fields,(0,Pt.A)(this.blogData))),rf.debug(this.blogData)}ngOnDestroy(){}getPublishedDate(e){let a=new Date(e);return this.generalHelper.isValidDate(a)?a:null}getArticleImage(e){return e.mainImage?e.mainImage?.crop?.hasOwnProperty("article-small")?this.mediaUrl+e.mainImage?.crop["article-small"]:this.mediaUrl+e.mainImage?.src:this.defaultArticlePhoto}getAuthorPhoto(e){return e.author[0]?.fields?.photo?.fields?.umbracoFile?this.mediaUrl+this.generalHelper.getUmbracoFileSrc(e.author[0]?.fields?.photo?.fields?.umbracoFile):this.defaultAuthorPhoto}getAuthorName(e){return e.author[0]?.fields?.firstName+" "+e.author[0]?.fields?.lastName}getAuthorBio(e){return e.author[0]?.fields?.bio}getAuthorDetailUrl(e){return e.author[0]?.fields?.linkToDetail}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(T.r),t.rXU(m.qQ))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-blog-article-page"]],viewQuery:function(a,o){if(1&a&&t.GBs(Z1,5),2&a){let r;t.mGM(r=t.lsd())&&(o.elForIndicator=r.first)}},decls:33,vars:19,consts:[["elForIndicator",""],["role","main","aria-label","Hlavn\xfd obsah","id","main",1,"mt-[6.25rem]","sm:mt-16",3,"ngClass"],[1,"py-24","sm:py-12"],[1,"max-w-7xl","w-full","px-4","mx-auto"],[1,"w-full","pb-12",3,"src","alt"],[1,"max-w-6xl","w-full","mx-auto"],[1,"text-4xl","leading-tight","text-center","text-orange","pb-6","sm:text-3xl","sm:leading-tight"],[3,"innerHtml"],[1,"text-sm","text-center","text-gray-400","pb-12"],[1,"postContent"],[4,"ngFor","ngForOf"],["class","relative bg-gray-50 pt-28 px-12 pb-12 mt-40 rounded sm:pt-20 sm:px-6 sm:pb-9 sm:mt-32",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"inputData"],[1,"",3,"b3655WysiwygHtml"],[4,"ngIf"],[1,"relative","bg-gray-50","pt-28","px-12","pb-12","mt-40","rounded","sm:pt-20","sm:px-6","sm:pb-9","sm:mt-32"],[1,"absolute","-top-20","left-1/2","w-40","h-40","transform","-translate-x-1/2","sm:-top-16","
1sm:w-32","sm:h-32",3,"src","alt"],[1,"text-xl","font-bold","text-center","text-orange","pb-2","sm:text-lg"],[1,"text-sm","text-center","text-gray-400","pb-6","sm:text-xs",3,"translate"],[1,"leading-relaxed","text-gray-400","sm:text-sm","sm:leading-relaxed",3,"b3655WysiwygHtml"]],template:function(a,o){1&a&&(t.j41(0,"main",1),t.EFF(1,"\n  "),t.EFF(2,"\n  "),t.EFF(3,"\n  "),t.EFF(4,"\n  "),t.j41(5,"section",2,0),t.EFF(7,"\n    "),t.j41(8,"div",3),t.EFF(9,"\n      "),t.nrm(10,"img",4),t.EFF(11,"\n      "),t.j41(12,"div",5),t.EFF(13,"\n        "),t.j41(14,"h1",6),t.nrm(15,"span",7),t.k0s(),t.EFF(16,"\n        "),t.j41(17,"div",8),t.EFF(18),t.nI1(19,"date"),t.nI1(20,"translate"),t.k0s(),t.EFF(21,"\n\n        "),t.j41(22,"div",9),t.EFF(23,"\n          "),t.DNE(24,af,13,4,"div",10),t.EFF(25,"\n        "),t.k0s(),t.EFF(26,"\n\n        "),t.DNE(27,of,11,5,"div",11),t.EFF(28,"\n\n      "),t.k0s(),t.EFF(29,"\n    "),t.k0s(),t.EFF(30,"\n\n\n\n  "),t.k0s(),t.EFF(31,"\n"),t.k0s(),t.EFF(32,"\n\n")),2&a&&(t.Y8G("ngClass",t.eq3(15,J1,o.generalHelper.mainElementExtraClassesByHeaderType)),t.R7$(10),t.Y8G("src",o.getArticleImage(o.blogData),t.B4B)("alt",o.blogData.pageName),t.R7$(5),t.Y8G("innerHtml",o.blogData.headline.join("<br />"),t.npT),t.R7$(3),t.E5c("",o.blogData.author.length>0?o.getAuthorName(o.blogData)+" |":""," ",t.i5U(19,9,o.getPublishedDate(o.blogData.published),"dd. MMMM YYYY")," | ",t.i5U(20,12,"latestArticlesReadTime",t.eq3(17,W1,o.blogData.readTime)),""),t.R7$(6),t.Y8G("ngForOf",o.blogData.contentBlocks),t.R7$(3),t.Y8G("ngIf",o.blogData.author.length>0))},dependencies:[Xt.D,Do,z1,W.k,tt.Mm,m.YU,m.Sq,m.bT,m.ux,m.e1,m.fG,tt.D9,m.TG,m.vh]})}}return n})();const lf=["containerFundDetailPage"];function cf(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"app-page-grid-layout-default"),t.EFF(3,"\n      "),t.nrm(4,"app-page-grid"),t.EFF(5,"\n    "),t.k0s(),t.EFF(6,"\n  "),t.bVm())}function pf(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"app-page-grid-layout-home-page"),t.EFF(3,"\n      "),t.nrm(4,"app-page-grid"),t.EFF(5,"\n    "),t.k0s(),t.EFF(6,"\n  "),t.bVm())}function mf(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"app-branch-list-page"),t.EFF(3,"\n      "),t.nrm(4,"app-page-grid"),t.EFF(5,"\n    "),t.k0s(),t.EFF(6,"\n  "),t.bVm())}function uf(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"app-branch-detail-page"),t.EFF(3,"\n      "),t.nrm(4,"app-page-grid"),t.EFF(5,"\n    "),t.k0s(),t.EFF(6,"\n  "),t.bVm())}function df(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"app-document-search-page"),t.EFF(3,"\n      "),t.nrm(4,"app-page-grid"),t.EFF(5,"\n    "),t.k0s(),t.EFF(6,"\n  "),t.bVm())}function ff(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"app-blog-list-page"),t.EFF(3,"\n    "),t.nrm(4,"app-page-grid"),t.EFF(5,"\n    "),t.k0s(),t.EFF(6,"\n  "),t.bVm())}function hf(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"app-blog-article-page"),t.EFF(3,"\n    "),t.nrm(4,"app-page-grid"),t.EFF(5,"\n    "),t.k0s(),t.EFF(6,"\n  "),t.bVm())}function Ff(n,i){1&n&&(t.qex(0),t.EFF(1,"\n    "),t.j41(2,"p"),t.EFF(3,"Missing"),t.k0s(),t.EFF(4,"\n  "),t.bVm())}const gf=new Ts.V("PagesService");let bf=(()=>{class n{constructor(e,a,o,r){this.ps=e,this.cfr=a,this.injector=o,this.compiler=r,this.listingInstance=[],gf.debug("Construct Custom page")}ngOnInit(){this.ps.getPageData(),"fund-detail"==this.whatToShow()&&this.addComponentFundsBlock()}whatToShow(){let e;return e=this.ps.pageData.system.template.toLowerCase().indexOf("bootstrap")>-1?"bootstrap-grid":this.ps.pageData.system.template.toLowerCase().indexOf("blogfolder")>-1?"blog-category":this.ps.pageData.system.template.toLowerCase().indexOf("blogarticle")>-1?"blog-article":this.ps.pageData.system.template.toLowerCase().indexOf("branchlistmap")>-1?"branch-list-map":this.ps.pageData.system.template.toLowerCase().indexOf("branchlist")>-1?"branch-list":this.ps.pageData.system.template.toLowerCase().indexOf("branchdetail")>-1?"branch-detail":this.ps.pageData.system.template.toLowerCase().indexOf("documentssearch")>-1?"document-search":this.ps.pageData.system.template.toLowerCase().indexOf("pagesblogarticle")>-1?"blog-article":this.ps.pageData.system.template.toLowerCase().indexOf("pagesblog")>-1?"blog-list":this.ps.pageData.system.template.toLowerCase().indexOf("fundsdetailfund")>-1?"fund-detail":"page-grid",e}
1addComponentFundsBlock(){var e=this;return(0,re.A)(function*(){yield e.lazyLoadComponentFundDetailPage()})()}lazyLoadComponentFundDetailPage(){return(0,re.A)(function*(){})()}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(z.b),t.rXU(t.OM3),t.rXU(t.zZn),t.rXU(t.Ql9))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-custom-page"]],viewQuery:function(a,o){if(1&a&&t.GBs(lf,5,t.c1b),2&a){let r;t.mGM(r=t.lsd())&&(o.containerFundDetailPage=r.first)}},decls:33,vars:8,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(a,o){1&a&&(t.qex(0,0),t.EFF(1,"\n  "),t.DNE(2,cf,7,0,"ng-container",1),t.EFF(3,"\n  "),t.DNE(4,pf,7,0,"ng-container",1),t.EFF(5,"\n  "),t.DNE(6,mf,7,0,"ng-container",1),t.EFF(7,"\n"),t.EFF(8,"\n"),t.EFF(9,"\n"),t.EFF(10,"\n"),t.EFF(11,"\n"),t.EFF(12,"\n  "),t.DNE(13,uf,7,0,"ng-container",1),t.EFF(14,"\n  "),t.DNE(15,df,7,0,"ng-container",1),t.EFF(16,"\n  "),t.DNE(17,ff,7,0,"ng-container",1),t.EFF(18,"\n  "),t.DNE(19,hf,7,0,"ng-container",1),t.EFF(20,"\n"),t.EFF(21,"\n"),t.EFF(22,"\n"),t.EFF(23,"\n"),t.EFF(24,"\n"),t.EFF(25,"\n"),t.EFF(26,"\n"),t.EFF(27,"\n"),t.EFF(28,"\n"),t.EFF(29,"\n  "),t.DNE(30,Ff,5,0,"ng-container",2),t.EFF(31,"\n"),t.bVm(),t.EFF(32,"\n")),2&a&&(t.Y8G("ngSwitch",o.whatToShow()),t.R7$(2),t.Y8G("ngSwitchCase","page-grid"),t.R7$(2),t.Y8G("ngSwitchCase","page-grid-homepage"),t.R7$(2),t.Y8G("ngSwitchCase","branch-list"),t.R7$(7),t.Y8G("ngSwitchCase","branch-detail"),t.R7$(2),t.Y8G("ngSwitchCase","document-search"),t.R7$(2),t.Y8G("ngSwitchCase","blog-list"),t.R7$(2),t.Y8G("ngSwitchCase","blog-article"))},dependencies:[Uu,od,rd,m.ux,m.e1,m.fG,Cd,a1,B1,V1,sf]})}}return n})();const xf=[class Ds{constructor(){}static childRoutes(i){return{path:"",component:Ss,children:i,data:{reuse:!0}}}}.childRoutes([{path:"**",component:bf,data:{autoLoadContent:!0}}])];let _f=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[Et.iI.forChild(xf),Et.iI]})}}return n})();var Ef=v(7835);let kf=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[Ef.G,m.MD,_f,d.YN]})}}return n})()}}]);

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.