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aAAa,CAAC,GAAD,CAAb,CACA,GAAG,CAAG,WAAW,CAAC,YAAD,CAAe,IAAf,CAAjB,CACA,CARD,EASA,CAVD,EAWA,CAZD,EAcA,IAAI,CAAC,GAAI,CAAA,IAAJ,GAAW,WAAX,EAAL,CACA,CAAC,CAAC,UAAU,CACX,CAAC,CAAC,iBAAD,CAAD,CAAqB,IAArB,CAA0B,IAA1B,EACA,CAFA,CAAD,CAIA,CAAC,CAAC,QAAD,CAAD,CAAY,KAAZ,CAAkB,UAAU,CAC3B,GAAI,OAAO,CAAC,GAAR,CAAY,cAAZ,IAAgC,SAApC,CAA8C,CAC7C,UAAU,CAAC,UAAY,CACtB,CAAC,CAAC,gBAAD,CAAD,CAAoB,MAApB,CAA2B,GAA3B,EACC,CAFQ,CAEN,IAFM,CAAV,CAGA,CAAC,CAAC,uCAAD,CAAD,CAA2C,KAA3C,CAAiD,UAAW,CAC3D,CAAC,CAAC,gBAAD,CAAD,CAAoB,OAApB,CAA4B,GAA5B,EACA,OAAO,CAAC,GAAR,CAAY,cAAZ,CAA4B,MAA5B,CAAoC,CAAE,OAAO,CAAE,GAAX,CAApC,EACA,CAHD,EAIA,CACD,CAVD","file":"__bundle.min.js","sourcesContent":["$(document).ready(function() {\n\tconst slides = document.querySelectorAll('.slide');\n\tconst controls = document.querySelectorAll('.control');\n\tlet activeSlide = 0;\n\tlet prevActive = 0;\n\t\n\tchangeSlides();\n\tlet int = setInterval(changeSlides, 6000);\n\t\n\tfunction changeSlides() {\n\t\tslides[prevActive].classList.remove('active');\n\t\tcontrols[prevActive].classList.remove('active');\n\t\n\t\tslides[activeSlide].classList.add('active');\n\t\tcontrols[activeSlide].classList.add('active');\n\t\t\n\t\tprevActive = activeSlide++;\n\t\t\n\t\tif(activeSlide >= slides.length) {\n\t\t\tactiveSlide = 0;\n\t\t}\n\t\t\n\t\tconsole.log(prevActive, activeSlide);\n\t}\n});\n\n$(document).ready(function() {\n\tcontrols.forEach(control => {\n\t\tcontrol.addEventListener('click', () => {\n\t\t\tlet idx = [...controls].findIndex(c => c === control);\n\t\t\tactiveSlide = idx;\n\t\n\t\t\tchangeSlides();\n\t\n\t\t\tclearInterval(int);\n\t\t\tint = setInterval(changeSlides, 8000);\n\t\t});\n\t});\n});\n\nyear=new Date().getFullYear();\n$(function(){\n\t$(\"#copyright_year\").html(year);\n});\n\n$(document).ready(function(){ \n\tif( Cookies.get('cookie_agree') === undefined){\n\t\tsetTimeout(function () {\n\t\t\t$(\"#cookieConsent\").fadeIn(200);\n\t\t }, 1000);\n\t\t$(\"#closeCookieConsent, .cookieConsentOK\").click(function() {\n\t\t\t$(\"#cookieConsent\").fadeOut(200);\n\t\t\tCookies.set('cookie_agree', 'true', { expires: 365 });\n\t\t}); \n\t}\n});"]}