"use_strict";var Shira,Concepts2Go;(function(n,t){(function(n){n.Watcher=function(i,r){this.element=i;this.options=t.extend({},n.Watcher.defaults,r);this.options.topFixOffset===null&&(this.options.topFixOffset=-this.options.topPosition);this.options.topUnfixOffset===null&&(this.options.topUnfixOffset=this.options.topPosition);this.options.bottomFixOffset===null&&(this.options.bottomFixOffset=-this.options.bottomPosition);this.options.bottomUnfixOffset===null&&(this.options.bottomUnfixOffset=this.options.bottomPosition);t(i).data("shira.scrollfix",this)};n.Watcher.defaults={topFixClass:"scrollfix-top",bottomFixClass:"scrollfix-bottom",substituteClass:"scrollfix-subtitute",topPosition:0,bottomPosition:0,topFixOffset:null,topUnfixOffset:null,bottomFixOffset:null,bottomUnfixOffset:null,syncSize:!0,syncPosition:!0,style:!0,styleSubstitute:!0,side:"top"};n.Watcher.prototype={element:null,substitute:null,options:null,fixed:!1,fixedAt:null,attached:!1,checkTop:!1,checkBottom:!1,getElementX:function(n){var t=0;do t+=n.offsetLeft;while(n=n.offsetParent);return t},getElementY:function(n){var t=0;do t+=n.offsetTop;while(n=n.offsetParent);return t},fix:function(n){var i,u,r;if(!this.fixed){if(this.dispatchEvent("fix").isDefaultPrevented())return;i=t(this.element);u=t(this.element.cloneNode(!1)).addClass(this.options.substituteClass);this.options.styleSubstitute&&u.css("visibility","hidden").height(i.css("box-sizing")==="border-box"?i.outerHeight():i.height());this.substitute=u.insertAfter(this.element)[0];this.options.style&&(r={position:"fixed"},n==="top"?r.top=this.options.topPosition+"px":r.bottom=this.options.bottomPosition+"px",i.css(r));i.addClass(n==="top"?this.options.topFixClass:this.options.bottomFixClass);this.fixed=!0;this.fixedAt=n;this.dispatchEvent("fixed")}},updateFixed:function(){if(this.options.syncSize&&t(this.element).width(t(this.substitute).width()),this.options.syncPosition){var n=t(window).scrollLeft(),i=this.getElementX(this.substitute);t(this.element).css("left",i-n+"px")}this.dispatchEvent("update")},unfix:function(){if(this.fixed){if(this.dispatchEvent("unfix").isDefaultPrevented())return;t(this.substitute).remove();this.substitute=null;var n={};this.options.syncPosition&&(n.left="");this.options.syncSize&&(n.width="");this.options.style&&(n.position="",n[this.fixedAt]="");t(this.element).css(n).removeClass(this.fixedAt==="top"?this.options.topFixClass:this.options.bottomFixClass);this.fixed=!1;this.fixedAt=null;this.dispatchEvent("unfixed")}},attach:function(){if(!this.attached){var n=this;this.updateEventHandler=function(){n.pulse()};t(window).scroll(this.updateEventHandler).resize(this.updateEventHandler);this.attached=!0;this.pulse()}},detach:function(){this.attached&&(this.unfix(),t(window).unbind("scroll",this.updateEventHandler).unbind("resize",this.updateEventHandler),this.attached=!1)},pulse:function(){var r=t(window),n=r.scrollTop(),u=n+r.height(),f=this.fixed?this.substitute:this.element,i=this.getElementY(f),e=i+t(f).outerHeight();this.fixed?this.fixedAt==="top"?n<=i-this.options.topUnfixOffset&&this.unfix():u>=e+this.options.bottomUnfixOffset&&this.unfix():(this.options.side==="top"||this.options.side==="both")&&n>i+this.options.topFixOffset?this.fix("top"):(this.options.side==="bottom"||this.options.side==="both")&&u<e-this.options.bottomFixOffset&&this.fix("bottom");this.fixed&&this.updateFixed()},dispatchEvent:function(n){var i=new t.Event(n+".shira.scrollfix",{watcher:this});return t(this.element).trigger(i),i}};t.fn.scrollFix=function(t){for(var i=0;i<this.length;++i)new n.Watcher(this[i],t).attach();return this}})(n.ScrollFix||(n.ScrollFix={}))})(Shira||(Shira={}),jQuery);String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t=t||0,this.indexOf(n,t)===t});String.prototype.endsWith||(String.prototype.endsWith=function(n,t){var i=this.toString(),r;return(typeof t!="number"||!isFinite(t)||Math.floor(t)!==t||t>i.length)&&(t=i.length),t-=n.length,r=i.indexOf(n,t),r!==-1&&r===t});Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(n){var i,r,u,t,f;if(this==null)throw new TypeError('"this" is null or not defined');if(i=Object(this),r=i.length>>>0,typeof n!="function")throw new TypeError("predicate must be a function");for(u=arguments[1],t=0;t<r;){if(f=i[t],n.call(u,f,t,i))return t;t++}return-1},configurable:!0,writable:!0}),function(n){"use strict";function f(n){n=n||"";(n instanceof URLSearchParams||n instanceof f)&&(n=n.toString());this[i]=h(n)}function p(n){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(n).replace(/[!'\(\)~]|%20|%00/g,function(n){return t[n]})}function o(n){return decodeURIComponent(n.replace(/\+/g," "))}function s(t){var i={next:function(){var n=t.shift();return{done:n===undefined,value:n}}};return a&&(i[n.Symbol.iterator]=function(){return i}),i}function h(n){var i={},r,s,u,t,f;if(typeof n=="object")for(r in n)n.hasOwnProperty(r)&&e(i,r,n[r]);else for(n.indexOf("?")===0&&(n=n.slice(1)),s=n.split("&"),u=0;u<s.length;u++)t=s[u],f=t.indexOf("="),-1<f?e(i,o(t.slice(0,f)),o(t.slice(f+1))):t&&e(i,o(t),"");return i}function e(n,t,i){var r=typeof i=="string"?i:i!==null&&typeof i.toString=="function"?i.toString():JSON.stringify(i);t in n?n[t].push(r):n[t]=[r]}var u=n.URLSearchParams?n.URLSearchParams:null,c=u&&new u({a:1}).toString()==="a=1",l=u&&new u("s=%2B").get("s")==="+",i="__URLSearchParams__",r=f.prototype,a=!!(n.Symbol&&n.Symbol.iterator),v,y,t;u&&c&&l||(r.toArray=function(){return this[i]},r.append=function(n,t){e(this[i],n,t)},r.delete=function(n){delete this[i][n]},r.get=function(n){var t=this[i];return n in t?t[n][0]:null},r.getAll=function(n){var t=this[i];return n in t?t[n].slice(0):[]},r.has=function(n){return n in this[i]},r.set=function(n,t){this[i][n]=[""+t]},r.toString=function(){var u=this[i],f=[],n,t,e,r;for(t in u)for(e=p(t),n=0,r=u[t];n<r.length;n++)f.push(e+"="+p(r[n]));return f.join("&")},v=!l,y=!v&&u&&!c&&n.Proxy,n.URLSearchParams=y?new Proxy(u,{construct:function(n,t){return new n(new f(t[0]).toString())}}):f,t=n.URLSearchParams.prototype,t.polyfill=!0,t.forEach=t.forEach||function(n,t){var i=h(this.toString());Object.getOwnPropertyNames(i).forEach(function(r){i[r].forEach(function(i){n.call(t,i,r,this)},this)},this)},t.sort=t.sort||function(){var f=h(this.toString()),t=[],e,n,i,r,u;for(e in f)t.push(e);for(t.sort(),n=0;n<t.length;n++)this.delete(t[n]);for(n=0;n<t.length;n++)for(r=t[n],u=f[r],i=0;i<u.length;i++)this.append(r,u[i])},t.keys=t.keys||function(){var n=[];return this.forEach(function(t,i){n.push([i])}),s(n)},t.values=t.values||function(){var n=[];return this.forEach(function(t){n.push([t])}),s(n)},t.entries=t.entries||function(){var n=[];return this.forEach(function(t,i){n.push([i,t])}),s(n)},a&&(t[n.Symbol.iterator]=t[n.Symbol.iterator]||t.entries))}(typeof global!="undefined"?global:typeof window!="undefined"?window:this),function(n){"use strict";n.fn.sectionScroll=function(t){var u=this,e=n(window),s=1,h,i=n.extend({bulletsClass:"section-bullets",sectionsClass:"scrollable-section",scrollDuration:1e3,titles:!0,enableHash:!0,enableBullets:!0,enableAnchorClicks:!0,topOffset:0,easing:""},t),c=n("."+i.sectionsClass),l=n('<div class="sectionNav"><ul class="'+i.bulletsClass+'"><\/ul><\/div>'),o,r,a,f;i.enableBullets&&l.prependTo(u);o="";c.each(function(){var t=n(this),r=(t.data("section-title")||s.toString()).toLowerCase(),u=r.split(" ").join("-").replace(/['.@#*+&?^${}()|[\]\\]/g,""),f,e;(t.children().length===0||t.children().first()[0].name===undefined||t.children().first()[0].name!==undefined&&t.children().first()[0].name.toLowerCase()!==u.toLowerCase())&&(f=n('<a class="anchorElement" name="'+u+'"><\/a>'),f.insertBefore(t));e=i.titles?'<span class="tooltip">'+r+'<\/span><span class="selector"><\/span>':"";o+='<li><a title="'+r+'" href="#'+u+'">'+e+"<\/a><\/li>";s++});r=n(o).appendTo(l.find("ul"));a=r.map(function(){var t=n("[name="+n(this).find("a").attr("href").replace(/['.@#*+&?^${}()|[\]\\]/g,"")+"]").next();if(t[0])return t});r.on("click",function(t){var i=n(this).find("a").attr("href");i!==""&&f(t,i)});f=function(t,r){var f=r==="#"?0:n('[name="'+r.replace("#","")+'"], [id="'+r.replace("#","")+'"]').length>0?n('[name="'+r.replace("#","")+'"], [id="'+r.replace("#","")+'"]').offset().top:0;n("html, body").stop().animate({scrollTop:f-i.topOffset},i.scrollDuration,i.easing,function(){u.trigger("scrolled-to-section").stop()});t!==null&&t.preventDefault()};e.on("scroll",function(){var f=e.scrollTop()+e.height()/2.5,t=a.map(function(){var i=n(this).height(),t=n(this).offset().top,r=t+i;if(t<f&&r>f)return this}),i;t=t.length>0?t[t.length-1]:[];i=t[0]?n(t[0]).children().first().attr("name"):"";h!==i&&(c.removeClass("active-section"),n(t).addClass("active-section"),r.removeClass("active").find('a[href="#'+i+'"]').parent().addClass("active"),h=i,n.fn.sectionScroll.activeSection=t,u.trigger("section-reached"))});if(i.enableHash){n("body").on("section-reached",function(){if(!(n("body").find(".CMS2GO").length>0)&&n("body").sectionScroll.activeSection.length>0)if(n("body").sectionScroll.activeSection.data("section-title")!==undefined){var t=n("body").sectionScroll.activeSection.data("section-title").split(" ").join("-").replace(/['.@#*+&?^${}()|[\]\\]/g,"").toLowerCase();t?"#"+t!==document.location.hash&&window.history.replaceState(undefined,undefined,"#"+t):window.history.replaceState(undefined,undefined,window.location.href.replace(window.location.hash,""))}else window.history.replaceState(undefined,undefined,window.location.href.replace(window.location.hash,""))});setTimeout(function(){var n=window.location.hash;n!==undefined&&n!==""&&f(null,n)},100)}return i.enableAnchorClicks&&n('[onclick^="location.href="],[href^="#"]').each(function(){var i=r,u=i.find(this).length>0,t;u||(t=n(this).attr("href"),t===undefined&&(t=n(this).attr("onclick").split("=")[1],t.startsWith('"')&&(t=t.substring(1)),t.endsWith('"')&&(t=t.substring(0,t.indexOf('"')))),t&&t!==""&&t.startsWith("#")&&(n(this).attr("anchor",t.toLowerCase()),n(this).prop("onclick",null).off("click"),n(this).click(function(t){var i=n(this).attr("anchor");f(t,i)})))}),u}}(jQuery);Concepts2Go=Concepts2Go||{};Concepts2Go.Cms=Concepts2Go.Cms||{},function(n){var t=function(n){var t=this;t.target=null;t.postalCode=null;t.googleApiKey=null;t.init=function(){n(document).on("click","[data-geolocation]",function(){return t.target=n(n(this).data("target")),t.googleApiKey=n(this).data("apikey"),t.getLocation(this,function(){n(t.target[0]).val(t.postalCode).trigger("change");t.target[0].dispatchEvent(new Event("input"))}),!1})};t.getLocation=function(n,i){navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(n){var r=n.coords.latitude,u=n.coords.longitude,f=new google.maps.LatLng(r,u);(new google.maps.Geocoder).geocode({latLng:f},function(n){var r,u;Array.isArray(n)&&(r=n[0],r.address_components&&(u=r.address_components.findIndex(function(n){return n.types[0]=="postal_code"}),u>-1&&(t.postalCode=r.address_components[u].long_name,i())))})})};t.init()};Concepts2Go.Cms.GeoLocation=new t(n)}(jQuery),function(n,t,i){"use strict";t.GetJSON=function(n,t){return new Promise(function(i,r){doHttprequest("GET","json",n,t).then(function(n){i(n)}).catch(function(n){r(n)})})};t.PutJSON=function(n,t){return new Promise(function(i,r){doHttprequest("PUT","json",n,t).then(function(n){i(n)}).catch(function(n){r(n)})})};t.PostJSON=function(n,t){return new Promise(function(i,r){doHttprequest("POST","json",n,t).then(function(n){i(n)}).catch(function(n){r(n)})})};t.DeleteJSON=function(n,t){return new Promise(function(i,r){doHttprequest("DELETE","json",n,t).then(function(n){i(n)}).catch(function(n){r(n)})})};t.doHttprequest=function(n,t,i,r){var u=new XMLHttpRequest;return new Promise(function(f,e){u.onreadystatechange=function(){u.readyState===4&&(u.status>=200&&u.status<300?f(u):e({status:u.status,statusText:u.statusText}))};u.open(n||"GET",i,!0);u.responseType=t;var o;r&&(o=JSON.stringify(r));u.send(o)})};t.setFixed=function(){n(t).scroll(function(){n(this).scrollTop()>10?n("body").addClass("fixedTop"):n("body").removeClass("fixedTop")});n(i).ready(function(){n(this).scrollTop()>10?n("body").addClass("fixedTop"):n("body").removeClass("fixedTop")})};t.setSectionScroll=function(){n("html, body").sectionScroll({sectionsClass:"sectionItem",topOffset:60,titles:!0,enableHash:!0,enableBullets:!1})};t.backToTop=function(){n(t).scroll(function(){n(this).scrollTop()>100?n(".back-to-top").addClass("active"):n(".back-to-top").removeClass("active")});n(".back-to-top").on("click",function(){n("html,body").animate({scrollTop:0},700)})};t.openPopup=function(n,i,r,u){var f=screen.width/2-r/2,e=screen.height/2-u/2;return t.open(n,i,"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width="+r+", height="+u+", top="+e+", left="+f)};t.setHamburger=function(){n(".hamburger").on("touchstart click",function(t){t.preventDefault();n("html").toggleClass("menu-open")})};t.setSearch=function(){n(".search-trigger").on("click",function(t){t.preventDefault();n(".search-trigger").addClass("is-visible");n(".search-popup").addClass("is-visible").one("webkitTransitionEnd oTransitionEnd transitionend",function(){n(".search-popup").find("input").focus().end().off("webkitTransitionEnd oTransitionEnd transitionend")})});n(".search-popup").click(function(){n(".search-trigger").removeClass("is-visible");n(".search-popup").removeClass("is-visible")}).children().click(function(t){if(n(t.target).attr("class").indexOf("close")===-1)return!1});n(i).keyup(function(t){t.which===27&&(n(".search-trigger").removeClass("is-visible"),n(".search-popup").removeClass("is-visible"))})};t.C2GFavorites_ShowCount=function(n){return n>0};t.GetCategoryCountFormat=function(){return"{0}"}}(jQuery,window,document),function(n,t,i){"use strict";t.ci_Frm_FacebookAuthorization_control={SetEnabled:function(){}};t.setSectionSlider=function(){n(".section-slider").length>0&&n(".section-slider").each(function(){var t=n(this),i=t.find(".items").parent(),r=new Swiper(i,{speed:1e3,wrapperClass:"items",slideClass:"item",spaceBetween:0,slidesPerView:4,loop:!1,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},breakpoints:{1023:{loop:!0,allowTouchMove:!0,slidesPerView:2},767:{loop:!0,allowTouchMove:!0,slidesPerView:1}}})})};n(t).on("load",function(){n(".popupNotification .close").click(function(){Cookies.set("popupNotification","hideCookie",{expires:365,path:"/"});n(".popupNotification").removeClass("active")});n(".popupNotification .accept").click(function(){Cookies.set("popupNotification","hideCookie",{expires:365,path:"/"});n(".popupNotification").removeClass("active")});Cookies("popupNotification")==="hideCookie"?n(".popupNotification").removeClass("active"):n(".popupNotification").addClass("active");n(".sticky").length>0&&n(".sticky").scrollFix({side:"top",topFixClass:"active"});var i=t.sr=ScrollReveal({mobile:!0,cleanup:!0,viewFactor:.2}),r="cubic-bezier(0.43, 0.195, 0.02, 1)",u="cubic-bezier(0.68, -0.55, 0.265, 1.55)";i.reveal(".section-homepagecover h1",{duration:1e3,easing:r,delay:1e3,opacity:0});i.reveal(".section-homepagecover h2",{duration:1e3,easing:r,delay:1500,origin:"top",distance:"20px"});i.reveal(".section-homepagecover .button",{duration:500,easing:u,delay:1750,origin:"bottom",distance:"20px",interval:200});i.reveal(".section-homepagecover .footer",{duration:750,easing:r,delay:3e3,origin:"bottom",distance:"20px"});i.reveal(".section-cover h1",{duration:1e3,easing:r,delay:250,opacity:0});i.reveal(".section-cover h2",{duration:1e3,easing:r,delay:1e3,origin:"top",distance:"20px"});i.reveal(".section-cover .button",{duration:500,easing:u,delay:1250,origin:"bottom",distance:"20px",interval:200});i.reveal(".section-cover .footer",{duration:750,easing:r,delay:2250,origin:"bottom",distance:"20px"});i.reveal(".section-centered .panel h1",{duration:250,easing:r,delay:250,opacity:0});i.reveal(".section-centered .panel h2",{duration:250,easing:r,delay:500,origin:"top",distance:"20px"});i.reveal(".section-centered .panel .content",{duration:250,easing:u,delay:750,origin:"bottom",distance:"20px"});i.reveal(".section-centered .sectionButtons .button",{duration:250,easing:u,delay:1e3,origin:"bottom",distance:"20px"});i.reveal(".section-splitRight .grid_5",{duration:500,easing:r,delay:250,origin:"right",distance:"50px",opacity:0});i.reveal(".section-splitRight .grid_7",{duration:500,easing:r,delay:500,origin:"left",distance:"50px",opacity:0});i.reveal(".section-splitLeft .grid_5",{duration:500,easing:r,delay:250,origin:"left",distance:"50px",opacity:0});i.reveal(".section-splitLeft .grid_7",{duration:500,easing:r,delay:500,origin:"right",distance:"50px",opacity:0});i.reveal(".section-rightContent .positionRight",{duration:500,easing:u,delay:500,origin:"right",distance:"100px",opacity:0});i.reveal(".section-leftContent .positionLeft",{duration:500,easing:u,delay:500,origin:"right",distance:"100px",opacity:0});i.reveal(".section-columns .panel h1",{duration:250,easing:r,delay:250,opacity:0});i.reveal(".section-columns .panel h2",{duration:250,easing:r,delay:500,origin:"top",distance:"20px"});i.reveal(".section-columns .child",{duration:250,easing:u,delay:750,opacity:0,interval:150});i.reveal(".section-columns .button",{duration:500,easing:u,delay:1e3,origin:"bottom",distance:"20px"});i.reveal(".section-dynamicContent .panel h1",{duration:250,easing:r,delay:250,opacity:0});i.reveal(".section-dynamicContent .panel h2",{duration:250,easing:r,delay:500,origin:"top",distance:"20px"})});n(i).on("click","[gtm-event]",function(n){var u=n.currentTarget,r,i;u&&(r=u.getAttribute("gtm-event"));r&&(i=r.split(";"),t.dataLayer=t.dataLayer||[],dataLayer.push({event:i[0],eventCategory:i[1],eventLabel:i[2]}))})}(jQuery,window,document)