1!function(){(this||window).Chimpify=function(){"use strict";var _=jQuery,E=(_.fn.exists=function(){return this.length>0},_.getMultiJSON=function(e){var t=_.map(e,function(e){return _.getJSON(e.url,e.success)});t.push(_.Deferred(function(e){_(e.resolve)}));return _.when.apply(_,t)},_.fn.serializeObject=function(){var e={};var t=this.serializeArray();_.each(t,function(){if(e[this.name]){if(!e[this.name].push)e[this.name]=[e[this.name]];e[this.name].push(this.value||"")}else e[this.name]=this.value||""});return e},jQuery.fn.extend({disable:function(e){return this.each(function(){this.disabled=e;if(e===true)_(this).addClass("disabled").prop("disabled","disabled");else _(this).removeClass("disabled").prop("disabled",null)})}}),window.pad=function(e,t,i){i=i||"0";e=e+"";return e.length>=t?e:new Array(t-e.length+1).join(i)+e},document),e=navigator,j=screen,T=window,B=T.navigator,d=T.location,M=T.performance||T.mozPerformance||T.msPerformance||T.webkitPerformance,s=T.encodeURIComponent,H=function(t){try{return T.decodeURIComponent(t)}catch(e){return unescape(t)}},l=escape,F=unescape,n=function(e){return typeof e=="function"},W=_.now(),f=0,u=0,p={},q=window.Chimpify||[];function i(){p=_.extend({},window.chimp);this.content_id=p.id;this.reply_content_id=null;this.isready=false;this.readyQueue=q;this.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);Z();this.ready();var e=this;_.each(_(".nav").find("li"),function(){var e=_(this),t=window.location.pathname,i=e.find("a").attr("href");if(t&&t!=""&&t!="/"&&i&&i!=""&&i!="/"&&t.indexOf(i)==0)e.toggleClass("active")});Y();Ce();_e();me();K(e);ee();G();Q();t();te(e);ne(e);ie(e);ae(e);v(e);oe(e);de(e);se(e);le(e);he(e);ce(e);pe(e);ke(e)}function g(e){var t="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(var n=0;n<e;n++)t+=i.charAt(Math.floor(Math.random()*i.length));return t}function R(){let i=(new Date).getTime();const e="xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=(i+Math.random()*16)%16|0;i=Math.floor(i/16);return(e=="x"?t:t&3|8).toString(16)});return e}function X(e){return e&&e.match(/^[0-9a-f]{8}[0-9a-f]{4}[1-5][0-9a-f]{3}[89ab][0-9a-f]{3}[0-9a-f]{12}$/i)}function J(){let i=(new Date).getTime();const e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=(i+Math.random()*16)%16|0;i=Math.floor(i/16);return(e=="x"?t:t&3|8).toString(16)});return e}function U(e){return e&&e.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i)}function c(e){return typeof e==="object"&&e!==null}function V(e,t,i,n){var a=window.screenLeft!==undefined?window.screenLeft:window.screenX,r=window.screenTop!==undefined?window.screenTop:window.screenY,o=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,l=o/window.screen.availWidth,d=(o-i)/2/l+a,c=(s-n)/2/l+r,h=window.open(e,t,"left="+d+",top="+c+",width="+i/l+",height="+n/l+",toolbar=0,resizable=1");if(window.focus)h.focus()}function a(d){if(d&&!d.complete){setTimeout(function(){a(d)},100);return}d.removeAttribute("sizes");setTimeout(function(){const i=40;const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);const t=e+100;var n=d.offsetWidth;let a=d.parentNode;let r=a?a.offsetWidth:0;if(r>n)n=r;if(n<i){n=i;let e=d.offsetWidth;let t=d.parentNode;while(t&&(!e||e<n)){e=t.offsetWidth;t=t.parentNode}if(e>n)n=e}const o=n+"px";const s=Math.floor(n/e*100);const l="(max-width: "+t+"px) "+o+", "+s+"vw";T.requestAnimationFrame(()=>{d.setAttribute("sizes",l)})},20)}function r(e){setTimeout(function(){a(e)},10);setTimeout(function(){a(e)},300);setTimeout(function(){a(e)},1e3)}function Z(){var e=E.getElementsByTagName("img");for(const i of e){var t=i.getAttribute("srcset");if(!t)t=i.getAttribute("data-srcset");if(t&&t.length>0){if(i.complete)r(i);else i.addEventListener("load",function(){r(i)},{once:true});const n=Se(()=>{a(i)},100);T.addEventListener("resize",n,false)}}}function Y(){if(!I())return;var a=700;document.addEventListener("DOMContentLoaded",function(){var e=document.getElementsByClassName("ch-lazy-load"),t=document.getElementsByClassName("ch-lazy-load-bg");var i;function n(){if(i)clearTimeout(i);i=setTimeout(function(){Array.from(e).forEach(function(e){if(e.getBoundingClientRect().top<=window.innerHeight+a&&e.offsetParent!==null){var t=e.getAttribute("data-src"),i=e.getAttribute("data-srcset");if(t){e.src=e.getAttribute("data-src");e.removeAttribute("data-src")}if(i){e.srcset=e.getAttribute("data-srcset");e.removeAttribute("data-srcset")}e.removeAttribute("data-lazy");e.classList.remove("ch-lazy-load")}});Array.from(t).forEach(function(e){if(e.getBoundingClientRect().top<=window.innerHeight+a&&e.offsetParent!==null){e.classList.remove("ch-lazy-load-bg");e.removeAttribute("data-lazy-bg")}});if(e.length==0&&t.length==0){document.removeEventListener("scroll",n);window.removeEventListener("resize",n);window.removeEventListener("orientationChange",n)}},200)}if(e.length>0||t.length>0){document.addEventListener("scroll",n);window.addEventListener("resize",n);window.addEventListener("orientationChange",n);n()}})}function K(e){if(p&&p.id&&p.wid&&p.wid=="573204ed08795611398b45b3")e.setCookie("_chcid",p.id,1209600);var t=true;if(p&&p.wid&&p.wid=="5df3673da858726f5c8b456d")t=false;if(t===true){var i=e.getCookie("_chlp");if((!E.referrer||E.referrer.indexOf(d.protocol+"//"+d.host)<0)&&(!i||!D(i))&&p&&p.id)e.setCookie("_chlp",p.id,1209600)}}function G(){if(_(".ch-form-checkout").exists()&&I())_.getScript("/js/checkout"+(p.env=="development"?"":".min")+"."+p.jsver+".js")}function Q(){if(_(".ch-course-lesson").exists()&&I())_.getScript("/js/courses"+(p.env=="development"?"":".min")+"."+p.jsver+".js")}function ee(){if(!I())return;var o=false,t=false;function s(e){_.ajax({type:"POST",url:S()+"/iapi/cobacl/",data:{popupId:t,button:e.button,types:e.types}})}function i(e){var t=_("input.chfy-coo-chbx-0"),i=_("input.chfy-coo-chbx-1"),n=_("input.chfy-coo-chbx-2"),a=_("input.chfy-coo-chbx-3"),r={analytics:false,comfort:false,person:false};if(typeof e!="undefined"&&e===true){if(i.length)i.prop("checked",true);if(n.length)n.prop("checked",true);if(a.length)a.prop("checked",true)}if(i.length&&!i.is(":checked"))A("_coo1","1",3600*24*14);else{T._ch_Tracking&&T._ch_Tracking.call();T._ch_extTrckg&&T._ch_extTrckg.call();
1r.analytics=true}if(n.length&&!n.is(":checked"))A("_coo2","1",3600*24*14);else if(n.length)r.comfort=true;if(a.length&&!a.is(":checked"))A("_coo3","1",3600*24*14);else if(a.length)r.person=true;A("_coo_seen","1",3600*24*14);s({button:o,types:r})}function n(){A("_coo1","1",3600*24*14);A("_coo2","1",3600*24*14);A("_coo3","1",3600*24*14);A("_coo_seen","1",3600*24*14);s({button:o,types:{analytics:false,comfort:false,person:false}})}var e=P("_coo_seen"),a=window.location.pathname,r=a.toString().match(/\/([^\/]+)\/?$/),l=r&&r.length>1?r[1]:"";if((!e||e!="1")&&typeof chfyCoBa!="undefined"&&chfyCoBa.length>0){for(var d=0;d<chfyCoBa.length;d++){var c=chfyCoBa[d],h=_("<div/>",{class:"chimpify-popup ch-popup-cookies",id:"chimpify-popup-"+c.id,"data-id":c._id}),u=h[0],f=_("<div/>",{class:"chimpify-inner"}),p=_("<div/>",{class:"chimpify-overlay",id:"chimpify-overlay"}),m=c.pos=="cnt",v={},g=function(){var e=[];_(c.html).find("a").each(function(){e.push(_(this).attr("href"))});return e}(),y=true;g.forEach(function(e){var t=e.toString().match(/\/([^\/]+)\/?$/),i=t&&t.length>1?t[1]:"";if(l&&l.length&&i&&i.length&&i==l)y=false});if(y===false)return;f.html(c.html);h.append(f);_("body").append(h);if(m)_("body").append(p);v["width"]=c.width+"px";v["height"]=c.height+"px";if(c.pos=="tl"){v["top"]="0px";v["left"]="0px";v["bottom"]="auto";v["right"]="auto"}else if(c.pos=="tr"){v["top"]="0px";v["right"]="0px";v["bottom"]="auto";v["left"]="auto"}else if(c.pos=="bl"){v["bottom"]="0px";v["left"]="0px";v["top"]="auto";v["right"]="auto"}else if(c.pos=="br"){v["bottom"]="0px";v["right"]="0px";v["top"]="auto";v["left"]="auto"}else if(c.pos=="cnt"){v["bottom"]="0px";v["right"]="0px";v["top"]="0px";v["left"]="0px";v["margin"]="auto"}var w="";w+="@media screen and (max-width: 767px) {\n";w+=" #chimpify-popup-"+c.id+" {\n";w+=" min-height: 100vh !important;\n";w+=" max-height: none !important;\n";w+=" height: 100vh !important;\n";w+=" width: 100vw !important;\n";w+=" overflow: hidden !important;\n";w+=" overflow-y: auto !important;\n";w+=" max-width: none !important;\n";w+=" margin: 0 !important;\n";w+=" left: 0 !important;\n";w+=" right: 0 !important;\n";w+=" top: 0 !important;\n";w+=" bottom: 0 !important;\n";w+=" z-index: 2147483647 !important;\n";w+=" }\n";w+="}\n";w+="@media screen and (max-width: 480px) {\n";w+="#chimpify-popup-"+c.id+" {\n";w+="width: 100vw !important;\n";w+="margin: 0 !important;\n";w+="}\n";w+="}\n";w+="@media screen and (max-width: 767px) {\n";w+="#chimpify-popup-"+c.id+" > .chimpify-inner {\n";w+="overflow-y: scroll !important;\n";w+="padding-bottom: 150px !important;\n";w+="}\n";w+="}\n";w+="#chimpify-popup-"+c.id+"{\n";for(var b in v)if(v.hasOwnProperty(b))w+=b+": "+v[b]+";\n";w+="}\n";var x=ye("style");x.type="text/css";x.textContent=c.css+"\n"+w;E.getElementsByTagName("head")[0].appendChild(x);var $=_(window).width();if(m||$&&$<480)E.getElementsByTagName("body")[0].style.overflow="hidden"}var C=function(){var e=0;_("*").each(function(){if(_(this).is(".chimpify-popup"))return;var e=parseInt(_(this).css("zIndex"),10);if(e>=2147483647)_(this).css("zIndex","2147483646")})};var k=setInterval(C,500);setTimeout(function(){clearInterval(k)},1e4)}_('[href="#chfy-coo-save"]').click(function(e){e.preventDefault();o="save";try{t=_(this).parents(".ch-popup-cookies").first().attr("data-id")}catch(e){}i();p.remove();h.remove();E.getElementsByTagName("body")[0].style.overflow=""}).attr("href","javascript:void(0);");_('[href="#chfy-coo-check-save"]').click(function(e){e.preventDefault();o="checkall";try{t=_(this).parents(".ch-popup-cookies").first().attr("data-id")}catch(e){}i(true);p.remove();h.remove();E.getElementsByTagName("body")[0].style.overflow=""}).attr("href","javascript:void(0);");_('[href="#chfy-coo-out"]').click(function(e){e.preventDefault();o="optout";try{t=_(this).parents(".ch-popup-cookies").first().attr("data-id")}catch(e){}n();p.remove();h.remove();E.getElementsByTagName("body")[0].style.overflow=""}).attr("href","javascript:void(0);")}function te(n){if(!I())return;var e=_('count[type="shares"],.ch-blog-info [data-type="shares-count"]');
1if(e.exists())e.each(function(){m(_(this))});var a=_(".ch-share-buttons");if(a.exists()){var t=_(".ch-chimpify-badge");if(t.length);a.each(function(e){m(_(this));var t=a.find(".ch-share-count");if(t.length)t.hide();n.isMobile&&a.find('.ch-share-button[data-for="messenger"]').show();var i=_(this);i.find(".ch-share-button").each(function(e){_(this).on("click.share",function(e){o(e,_(this),n)}).on("click touchend",function(e){o(e,_(this),n)})})})}var r=_("section.share");if(r.exists()){var t=_(".ch-chimpify-badge");if(t.length)t.addClass("ch-chimpify-badge-with-shares");if(_(window).width()<=480)if(r.length>1){r.first().remove();r=_("section.share")}r.each(function(e){m(_(this));var i=_(this).parents(".sharing").first();_(this).find(" > a").each(function(e){_(this).data("old-width",_(this).width());_(this).on("mouseenter.share",function(e){if(_(this).find("span").exists())return;var t={width:85};if(r.parents("div.sharing").hasClass("right"))t["margin-left"]=0;if(!_(this).data("old-width"))_(this).data("old-width",_(this).width());if(i&&i.hasClass("absolute"))_(this).append("<span>Teilen</span>").animate(t)}).on("mouseleave.share",function(e){if(_(this).find("span.thx").exists())return;var t={width:_(this).data("old-width")};if(r.parents("div.sharing").first().hasClass("right"))t["margin-left"]=50;if(i&&i.hasClass("absolute"))_(this).animate(t).find("span").remove()}).on("click.share",function(e){o(e,_(this),n)}).on("click touchend",function(e){o(e,_(this),n)})})})}}function ie(){if(!I())return;_(".ch-blog-posts-pagination").each(function(){var e=_(this),t=e.parents(".ch-blog-posts").first();if(t.length){var i=t.attr("id");if(i)e.find("a").each(function(){var e=_(this),t=e.attr("href");if(!t.match(/#/))e.attr("href",t+"#"+i)})}});_('.ch-blog-info-item[data-type="comments"]').each(function(){var e=_(this),t=e.find('[data-type="comment-count"]').first();if(t.length&&t.text().trim()=="0")e.addClass("ch-hidden")});_('.ch-blog-info-item[data-type="shares"]').each(function(){var e=_(this),t=e.find('[data-type="shares-count"]').first();if(t.length&&t.text().trim()=="0")e.addClass("ch-hidden")})}function b(i,n){var e=_(".comment-reply-link");if(e.exists())e.off("click.comments").on("click.comments",function(e){e.preventDefault();if(_("#builder-body").length>0)return;i.reply_content_id=_(this).parents("li.comment").data("id");if(!i.reply_content_id)i.reply_content_id=_(this).parents(".ch-blog-comment").data("id");var t=n&&n.length?n.find('a[name="comment-form"]').offset().top:_('a[name="comment-form"]').offset().top;if(t>100)t-=100;_("html, body").animate({scrollTop:t},500);return false})}function ne(g){if(!I())return;var e=_("#comment-form"),t=_("li.comment"),y=e.parents(".ch-blog-comments").first(),w=y.length;if(t.exists())t.each(function(e){_(this).data("id",_(this).attr("data-id"))});if(e.exists()){(!"content_id"in g||!g.content_id)&&e.data("for")&&(g.content_id=e.data("for"))&&e.removeAttr("data-for");var i=P("commentdata");if(i)var n=i.split("|"),a=n[0],r=n[1],o=n[2],s=n[3];if(a&&_("#comments-input-name").val()=="")_("#comments-input-name").val(a);if(r&&_("#comments-input-email").val()=="")_("#comments-input-email").val(r);if(o&&_("#comments-input-url").val()=="")_("#comments-input-url").val(o);if(s&&s=="true")_("#comments-input-notification").prop("checked",true);e.submit(function(e){var p=_(this);e.preventDefault();_("button.btn-send-comment").prop("disabled","disabled").addClass("disabled");var t=_(this).serialize(),i=_(this).serializeObject();i.author_name=i.author_name?i.author_name.replace("|","_"):"";i.author_email=i.author_email?i.author_email.replace("|","_"):"";i.author_url=i.author_url?i.author_url.replace("|","_"):"";i.notification=i.notification?true:false;if(g.reply_content_id!==null)t+="&parent="+g.reply_content_id;t+="&top="+f;var m,v=false;if(w&&y.find("script#comment-template").length){var n=y.find("script#comment-template").text();try{var a=JSON.parse(n);t+="&template_comment="+a.comment;m=a.answer_attr;v=true}catch(e){console.error("[Comments] Can't parse json.")}}A("commentdata",i.author_name+"|"+i.author_email+"|"+i.author_url+"|"+i.notification,3600*24*365);p.find(".form-control").prop("disabled","disabled");_.ajax({type:"POST",url:S()+"/comments/create/"+g.content_id+"/",data:t,success:function(e){_(".form-group").removeClass("has-error");var t=w?"form#comment-form":".comment-form",i=w?p.parents(".ch-blog-comments-form").first():p.parents(".comment-form").first();if(e.match(/"status":"error"/)){var n=JSON.parse(e);if("error"in n&&n.error=="limited"){window.location.href=n.redirect;return true}_.each(n.fields,function(e,t){_("#comments-input-"+t).parents(".form-group").addClass("has-error")});_("#comment-form .form-group.has-error").shake({amplitude:10,vibration:10,timeFirstDeviation:100});_(t+" .alert").remove();_(t+" .ch-blog-comments-form-overlay").remove();_("button.btn-send-comment").prop("disabled",null).removeClass("disabled");p.find(".form-control").prop("disabled",null)}else{_(t+" .ch-blog-comments-form-overlay").remove();var a=_('<div class="ch-blog-comments-form-overlay" style="opacity:0"><img src="/img/icons/check.png"></div>');i.append(a);p.animate({opacity:0}
1,1e3);a.animate({opacity:1},1e3,function(){_("#comments-input-comment").val("")});i.find(".ch-blog-comments-form-overlay > img");_("button.btn-send-comment").prop("disabled",null).removeClass("disabled");p.find(".form-control").prop("disabled",null);setTimeout(function(){p.animate({opacity:1},1e3);a.animate({opacity:0},1e3,function(){_(this).remove()})},2e3);if(w&&v==true){var r=e,o;if(g.reply_content_id){var s=y.find('[data-id="'+g.reply_content_id+'"]'),l=y.find('[data-answer-id="'+g.reply_content_id+'"]');if(!l.length){o=_("<div"+m+">"+r+"</div>").css("opacity",0);o.attr("data-answer-id",g.reply_content_id);s.after(o)}else{o=_(r).css("opacity",0);l.append(o)}o.find(".ch-blog-comment-reply").remove()}else{o=_(r).css("opacity",0);y.find(".ch-blog-comments-list").prepend(o)}o&&o.animate({opacity:1},1e3);b(g,y);var d=y.find(".ch-blog-comment").length,c=y.attr("data-headline")||"Kommentare",h=y.attr("data-headline-singula")||"Kommentar",u=d+" "+(d>1?c:h);y.find(".ch-blog-comments-headline").text(u);var f=o.offset().top;if(f>100)f-=100;_("html, body").animate({scrollTop:f},500)}g.reply_content_id=null}},error:function(e,t,i){_("button.btn-send-comment").prop("disabled",null).removeClass("disabled");p.find(".form-control").prop("disabled",null);if(console&&typeof console=="object"&&"log"in console&&typeof console.log=="function")console.log(e,t,i)}});return false})}b(g,y)}function ae(){if(_(".audio-player").exists()&&I())_.getScript("/js/audio-player"+(p.env=="development"?"":".min")+"."+p.jsver+".js")}function re(r){var e=r.data("url"),t=r.data("title"),i=r.data("episode");if(e&&e!=""){var n=_("<div/>",{class:"audio-progress"}),a=_("<div/>",{class:"audio-play-progress"}),o=_("<div/>",{class:"position-line"}),s=_("<div/>",{class:"title"}),l=_("<div/>",{class:"episode"}),d=_("<div/>",{class:"controls"}),c=_("<div/>",{class:"download"}),h=_("<div/>",{class:"play"});s.text(t);l.text(i);c.html('<i class="fa fa-download"></i>');h.html('<i class="fa fa-play"></i>');d.append(c,h);r.find("noscript").remove();r.append(n,a,o,s,l,d);u++;soundManager.createSound({id:"podCast-"+u,url:e,autoLoad:true,autoPlay:false,onload:function(){r.find(".audio-progress").css({right:0});r.find(".controls > div > i").css({opacity:1})},whileloading:function(){r.find(".audio-progress").css({right:100-this.bytesLoaded/this.bytesTotal*100+"%"})},whileplaying:function(){r.find(".audio-play-progress").css({right:100-this.position/this.duration*100+"%"})},onplay:function(){var a=this;r.off("mousemove.position").on("mousemove.position",function(e){var t=_(this).parent().offset();_(this).find(".position-line").css("left",e.pageX-this.offsetLeft)});r.off("mouseout.position").on("mouseout.position",function(e){_(this).find(".position-line").css("left",-5)});r.off("click.position").on("click.position",function(e){if(e.originalEvent){var t=e.originalEvent.srcElement||e.originalEvent.originalTarget;if(_(t).hasClass("fa-play")||_(t).hasClass("fa-pause"))return}var i=(e.pageX-this.offsetLeft)/r.width(),n=Math.round(a.duration*i);a.setPosition(n)})},volume:100});r.find(".controls > .play").click(function(){var e=_(this).data("state");if(!e||e=="paused"){soundManager.play("podCast-"+u);_(this).html('<i class="fa fa-pause"></i>');_(this).data("state","playing")}else{soundManager.pause("podCast-"+u);_(this).html('<i class="fa fa-play"></i>');_(this).data("state","paused")}r.find(".controls > div > i").css({opacity:1})})}}function o(e,t,i){e.preventDefault();e.stopPropagation();if(typeof t.data("click_proc")!="undefined"&&t.data("click_proc")===true)return;t.data("click_proc",true);setTimeout(function(){t.data("click_proc",null)},3e3);var n=t.parents(".ch-share-buttons"),a=n.length,r=a?n.first():t.parents(".sharing").first(),o=a?t.attr("data-for"):t.attr("class"),s=a?t.attr("data-url"):t.attr("href"),l=e.screenX&&e.screenX>600?parseInt(e.screenX-300):0,d=e.screenY&&e.screenY>450?parseInt(e.screenY-225):0;if(["email","whatsapp","messenger"].indexOf(o)==-1){var c=o+"window",h=o=="pinterest"?1e3:600,u=o=="pinterest"?900:450;V(s,c,h,u)}else window.location.href=s;_.ajax({type:"POST",url:S()+"/iapi/shares/click/",data:{cid:i.content_id,type:o,url:window.location.href}});if(!a)if(r&&r.hasClass("absolute")){t.find("span").remove().end().find("i").hide().end().append('<span class="thx">Danke!</span>');setTimeout(function(){t.find("i").show().end().find("span.thx").remove().end().mouseleave()},1e4)}}function h(e){return typeof window.chimp=="object"&&e in window.chimp?window.chimp[e]:null}function S(){return window.chimp&&"base"in window.chimp&&window.chimp.base!=""&&window.chimp.base!="/"?window.chimp.base:""}function m(n){var e=n.data("url"),t=[e],a=n.data("id");if(!e&&n.attr("data-type")=="shares-count"){e=window.location.origin+window.location.pathname;t=[e]}else if(!e)return;if(typeof a=="undefined"||!a)a=window.chimp.id;if(n.data("url-m"))t.push(n.data("url-m"));n.removeAttr("data-id").removeAttr("data-url").removeAttr("data-url-m");var o=[];_.each(t,function(i,e){var t=[{id:"chimpify"+i,url:(p.env=="development"?"https://shares.chimpify.internal":"https://shares.chimpify.net")+"/get/?url="+encodeURIComponent(e)+"&cid="+a+"&token="+encodeURIComponent(h("shares_token"))+"&callback=?",success:function(e){var t=0;try{t=e.shares}catch(e){t=0}n.data("chimpify"+i,t)}}];o.push.apply(o,t)});var r=[];["twitter","email","whatsapp","migrated"].forEach(function(i){r.push({id:i,url:S()+"/iapi/shares/get/"+i+"/?url="+e+"&cid="+a+"&callback=?",success:function(e){var t=0;try{t=e.shares}catch(e){t=0}n.data(i,t)}})});o.push.apply(o,r);var s=0;function l(e){var t=0,i=0;for(var n=0;n<o.length;n++){var a=o[n],r=e.data(a.id)!==undefined?parseInt(e.data(a.id)):false;if(r!==false){t+=r;i++}}if(e.prop("tagName").toLowerCase()=="count"&&e.attr("type")=="shares")e.text(shortenNumber(t));else if(e.attr("data-type")=="shares-count")e.text(shortenNumber(t));else if(e.is(".ch-share-buttons")){e.find(".ch-share-count count").text(shortenNumber(t));if(parseInt(t)>0)e.find(".ch-share-count").show()}else e.find(".share-count > span > count").text(shortenNumber(t));s++;if(s<10&&i<o.length)setTimeout(function(){l(e)},1200)}_.getMultiJSON(o).always(function(){l(n)})}function t(e){var t=typeof e!="undefined"?e:_("body");if(t.find("form.cta-form").length>0&&I()&&L())t.find("form.cta-form").each(function(){var n=_(this),e=n.data("next");if(e){n.removeAttr("data-next");if(D(e))_.ajax({url:S()+"/iapi/cta/"+e+"/",dataType:"json",success:function(e){if("css"in e)we(e.css);var t=_(e.html);n.replaceWith(t);var i=t.find("form.cta-form").first();if(i.length>0){i.removeAttr("data-next");y(i)}}})}})}function y(t){var e=t.data("setup"),d=t.data("action"),c=t.data("redirect"),i=t.data("listid"),h=t.hasClass("ch-form")?2:1,u=h===2?t:null,n=xe(),a="email",r=false;if(e&&e===true)return true;var o=h===2&&u?u.attr("data-form-id"):t.find('input[type="hidden"][name="cta"]').val();if(o&&!D(o))o=null;if(d&&d!=""){t.removeAttr("data-action");t.data("action",d)}t.data("setup",true);t.data("redirect",c);t.data("listid",i);t.removeAttr("data-redirect");t.removeAttr("data-listid");t.find("input, textarea, select").each(function(){var e=_(this);if(e.attr("data-required")&&e.attr("data-required")=="true"){e.data("required",true);e.removeAttr("data-required")}if(e.attr("data-format")){e.data("format",e.attr("data-format"));e.removeAttr("data-format")}if(e.attr("data-regex")){e.data("regex",e.attr("data-regex"));e.removeAttr("data-regex")}if(e.attr("data-field")){e.data("field",e.attr("data-field"));e.removeAttr("data-field")}if(h>=2){var t=e.parents(".ch-form-group"),i=t.attr("data-format");if(e.is(".ch-form-checkbox")){if(t.attr("data-required")&&t.attr("data-required")=="true"){t.data("required",true);var n=t.find("input");if(n.length==1)t.find("input").data("required",true).attr("required","required");t.removeAttr("data-required");t.removeAttr("required")}}else if(e.is(".ch-form-radio"))if(t.attr("data-required")&&t.attr("data-required")=="true"){t.find("input").data("required",true).attr("required","required");t.removeAttr("data-required");t.removeAttr("required")}if(i){e.data("format",i);t.removeAttr("data-format")}}if(e.attr("name")==a&&e[0].tagName=="INPUT"&&!e.val())r=true});if(n&&r===true)_.ajax({url:S()+"/iapi/form?id="+o+"&chui="+n,success:function(e){if(e&&e.properties&&e.properties.email)t.find('input[name="'+a+'"]').val(e.properties.email)}});t.prepend('<div class="form-ruc"><input type="checkbox" class="form-control" name="u_'+p.wid+'" value="1" tabindex="-1" autocomplete="off"></div>');t.on("submit.chimp",function(e){e.preventDefault();var n=_(this);n.find(".form-group").removeClass("has-error");n.find(".message-error").remove();n.find(".message-success").remove();n.removeClass("has-error").find(".has-error").removeClass("has-error");n.removeClass("ch-form-error").find(".ch-form-group-error").removeClass("ch-form-group-error");var t=n.find("button").first();if(t.length)t.disable(true);var o=false;n.find("input, textarea, select").each(function(){var e=_(this),t,i;if(h===2)t=e.parents(".ch-form-group"),i=e.attr("type")||"input";if(h===2&&e.is(".ch-form-checkbox,.ch-form-radio")&&t.data("required")&&t.data("required")===true&&t.find("input:checked").length==0){t.addClass("ch-form-group-error");e.addClass("ch-form-input-error");o=true}else if(e.data("required")&&e.data("required")===true&&e.val()==""){if(h===2){if(i=="file"&&e.attr("data-value")&&e.attr("data-value")!="")return;t.addClass("ch-form-group-error");e.addClass("ch-form-input-error");
1if(i!="file")e.shake({amplitude:10,vibration:10,timeFirstDeviation:100})}else{e.parents(".form-group").addClass("has-error");e.parents(".input").addClass("has-error");e.shake({amplitude:10,vibration:10,timeFirstDeviation:100})}o=true}if(o===false&&e.data("format")&&e.data("format")!=""){var n=false;if(e.data("format")=="email"&&!e.val().match(/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-zäöüÃ0-9_][-a-zäöüÃ0-9_]*(\.[-a-zäöüÃ0-9_]+)*\.([a-z]{2,64})|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i))n=true;else if(e.data("format")=="website_url"){var a=new RegExp("^"+"(?:(?:https?|ftp)://)?"+"(?:\\S+(?::\\S*)?@)?"+"(?:"+"(?!(?:10|127)(?:\\.\\d{1,3}){3})"+"(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})"+"(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})"+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])"+"(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}"+"(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))"+"|"+"(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)"+"(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*"+"(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+"\\.?"+")"+"(?::\\d{2,5})?"+"(?:[/?#]\\S*)?"+"$","i");if(!e.val().match(a))n=true}else if(e.data("format")=="phone"){if(!e.val().match(/^(\(?([\d \-\)\â\+\/\(]+){6,}\)?([ .\-â\/]?)([\d]+))$/))n=true}else if(e.data("format")=="numbers"){if(!e.val().match(/^[0-9]+$/))n=true}else if(e.data("format")=="letters"){if(!e.val().match(/^[a-z]+$/i))n=true}else if(e.data("format")=="regex"&&e.data("regex")){var r=new RegExp(e.data("regex"),"i");if(!e.val().match(r))n=true}if(n===true){if(h===2){var t=e.parents(".ch-form-group"),i=e.attr("type")||"input";t.addClass("ch-form-group-error");e.addClass("ch-form-input-error");if(i!="file")e.shake({amplitude:10,vibration:10,timeFirstDeviation:100})}else{e.parents(".form-group").addClass("has-error");e.parents(".input").addClass("has-error");e.shake({amplitude:10,vibration:10,timeFirstDeviation:100})}o=true}}});if(o===true){var t=n.find("button").first();if(t.length)t.disable(false);return}else if(!d){n.off("submit.chimp");n.submit()}else{n.prepend('<input type="hidden" name="__top" value="'+f+'">');n.prepend('<input type="hidden" name="__w_'+p.wid+'" value="true">');var i="";if(h===2){var a=u.attr("data-form-id");if(a&&D(a)){n.find('input[type="hidden"][name="cta"]').remove();n.prepend('<input type="hidden" name="cta" value="'+a+'">')}var s=[],r=n.find(".ch-form-file-upload-input");r.each(function(e,t){var i=_(t),n=i.attr("name")||"Datei "+e+1,a=i.attr("data-name")||"file",r=i.attr("data-value");s.push({name:a,value:r,label:n})});if(s.length)i="&__file_uploads="+JSON.stringify(s)}var l=n.serialize()+i;if("id"in p&&p.id)l+="&_cid="+p.id;if("fid"in p&&p.fid)l+="&_fid="+p.fid;l+="&__chui="+$e();_.ajax({type:"POST",url:d,data:l,success:function(e){if(_('input[name="chimpify_popop"]').length&&typeof PageTrigger!="undefined"){var t=_('input[name="chimpify_popop"]').val();PageTrigger.setTriggerCookie(t,"c")}if(typeof e=="object"&&"ctid"in e&&e.ctid&&D(e.ctid))A("_chct",e.ctid,31536e3);if("redirect"in e&&e.redirect&&e.redirect.match(/^https?:\/\//)){window.location.href=e.redirect;return true}else if(c&&D(c)){window.location.href=p.base+"/"+c+"/";return true}var i=n.find("button").first();if(i.length)i.disable(false);n.find("input,select").each(function(){_(this).val("");_(this).data("placeholder",_(this).prop("placeholder"));_(this).prop("placeholder","Danke");_(this).prop("readonly",true)});setTimeout(function(){n.find('input[type="text"],select').each(function(){_(this).prop("placeholder",_(this).data("placeholder"));_(this).prop("readonly",false)})},5e3)},error:function(e){var t=n.find("button").first();if(t.length)t.disable(false);n.addClass("has-error")}})}})}function v(m){if(!I())return;if(_("form.cta-form").length>0&&I())_("form.cta-form").each(function(){y(_(this))});I()&&_(".ch-form").each(function(){y(_(this))});var e=_(".ch-form-group-file"),v=[];e.each(function(e){var r=_(this),o=r.find(".ch-form-file-upload-input"),s=r.find(".ch-form-file-upload"),t=r.find("label.ch-form-file-label"),l=r.find(".ch-form-file-uploading"),d=r.find(".ch-form-file-uploaded"),n=r.find(".ch-form-error"),a=r.data("ch-error-type")||"Dateityp wird nicht unterstützt.",c=r.data("ch-error-size")||"Datei ist gröÃer als 10MB.",h=r.data("ch-error-default"),i=r.find("ch-form-button"),u=o.attr("id");if(!u){u="file_"+g(16);o.attr("id",u)}while(v.indexOf(u)>-1){u="file_"+g(16);o.attr("id",u)}v.push(u);t.attr("for",u);o.on("change.chimpify",function(e){var t,i;if(t=e.target&&e.target.files&&e.target.files[0]){i={name:t.name,size:t.size,type:t.type};s.hide();l.addClass("active");_.ajax({url:S()+"/iapi/upload_sign_file/",type:"POST",data:i,cache:false,dataType:"json",crossDomain:true,success:function(e){f(e,t)},error:p})}});function f(n,a){var e=new FormData;for(var t in n)e.append(t,n[t]);e.append("file",a);_.ajax({url:"https://"+n.bucket+".s3.amazonaws.com/",type:"POST",data:e,cache:false,processData:false,contentType:false,datatype:"xml",success:function(e){l.removeClass("active");d.addClass("active");r.removeClass("ch-form-group-error");var t=d.find(".ch-form-file-uploaded-file-name"),i=d.find(".ch-form-file-uploaded-remove-link");t.text(a.name);o.attr("data-value",m.basename(n.key));o.attr("data-name",a.name);o.val("");i.off("click").on("click",function(e){e.preventDefault();t.text("");o.attr("data-value","");o.attr("data-name","");d.removeClass("active");s.show()})},error:p})}function p(e){s.show();l.removeClass("active");r.addClass("ch-form-group-error");o.val("");var t=h||"Fehler beim Hochladen der Datei.",i=e.responseJSON||null;if(i&&i.status&&i.status=="error"&&i.error)if(i.error=="FileTypeError"&&a)t=a;else if(i.error=="FileSizeError"&&c)t=c;n.text(t)}})}function oe(e){if(!I())return;_("a[href*='#']").click(function(e){if(_(this).is(".comment-reply-link"))return;var t=_(this).attr("href"),i=t.substring(t.indexOf("#")),n=_('[name="'+i.substr(1)+'"]');if(i&&(i[0]!="#"||i.length<2))return;if(this.origin+this.pathname+this.search!=window.location.href)return;if(!n.exists())n=_("#"+i.substr(1));if(!n.exists())return;_("html, body").animate({scrollTop:n.offset().top},500);return false})}function w(e,t){t.preventDefault();_("body").removeClass("ch-scrolling-disabled");e.removeClass("ch-popup-container-active");setTimeout(function(){e.css("display","")},300);T.history.replaceState("",document.title,window.location.pathname+window.location.search)}function x(){if(T.location.hash&&T.location.hash.match(/^\#popup\-[0-9a-fA-F]{24}$/)){var e=T.location.hash.replace(/^\#popup\-/,""),t=_('a[data-popup-id="'+e+'"]');if(t&&t.length)t.trigger("click")}}
1function se(e){_("a[data-popup-id]").off("click.popup").on("click.popup",function(e){e.preventDefault();e.stopPropagation();var t=_(this),i=t.attr("data-popup-id"),n=_(".ch-popup-container[data-id="+i+"]");if(n&&n.length){_("body").append(n);n.trigger("popupopen");n.css("display","flex");setTimeout(function(){n.addClass("ch-popup-container-active")},10);document.documentElement.style.setProperty("--scrollbar-width",T.innerWidth-E.documentElement.clientWidth+"px");_("body").addClass("ch-scrolling-disabled");T.history.replaceState(undefined,undefined,"#popup-"+i);n.find(".ch-popup-close").click(function(e){w(n,e)});n.click(function(e){var t=_(e.target);if(t.is(".ch-popup")||t.parents(".ch-popup").length)return;w(n,e)})}return false});x();T.onhashchange=x;_("div[data-popup]").each(function(){var e=_(this).attr("data-popup"),t=_('a[href="#'+e+'"]');if(t.exists())t.click(function(e){e.preventDefault();var t=_(this).attr("href").substr(1),i=_('div[data-popup="'+t+'"]');if(i.exists()){var n=_('<div class="modal-backdrop fade"></div>');_("body").append(n);n.fadeIn("fast",function(){_(this).addClass("in")});i.fadeIn("fast",function(){_(this).addClass("in").css({display:"block"})});i.find("button.close,button.btn-close").click(function(){_(this).parents(".popup.modal").first().fadeOut("fast",function(){_(this).removeClass("in").css({display:"none"})});_("body").find(".modal-backdrop").fadeOut()})}})})}function le(e){_("a[data-leadmagnet-id]").off("click.leadmagnet").on("click.leadmagnet",function(e){e.preventDefault();e.stopPropagation();var t=_(this),i=t.attr("data-leadmagnet-id"),n=t.attr("data-leadmagnet-filename"),a=L();if(!a){var r=$e();if(r)a=r}var o="/e/lm/"+a+"/"+i+"/"+J()+"/"+n;T.open(o,"_blank");return false})}function de(e){return;if(!I())return;_(".btn").click(function(e){var t=_(this),i=_.extend(true,{},e),n=_(this).text(),a=window.location.href.split("?")[0],r=t.attr("target")&&!t.attr("target").match(/^_(self|parent|top)$/i)?t.attr("target"):false,o=false;if(t.data("event_tracked")&&t.data("event_tracked")===true)return;if("originalEvent"in e&&(e.originalEvent.ctrlKey||e.originalEvent.shiftKey||e.originalEvent.metaKey||e.originalEvent.which==2))r="_blank";if(r)stetic.track("Button Click",{url:h("url").replace(/\/$/,"")+window.location.pathname,text:n,eid:t.attr("id"),pid:h("id")});else{e.preventDefault();if(typeof stetic!="undefined")stetic.track("Button Click",{url:h("url").replace(/\/$/,"")+window.location.pathname,text:n,eid:t.attr("id"),pid:h("id")},function(){if(o===true)return;t.data("event_tracked",true);t.trigger(i);C(t);o=true});setTimeout(function(){if(o===true)return;t.data("event_tracked",true);t.trigger(i);C(t);o=true},1e3)}})}function ce(e){if(!I())return;_("a.tweet-this,span.tweet-this").each(function(){var e=_(this),t=_('<a href="javascript:;" class="tweet">[Twittern]</a>');t.click(function(e){e.preventDefault();var t=O("utm_campaign","chimpify");t=O("utm_medium","social",t);t=O("utm_source","twitter.com",t);t=O("utm_content","tweet-this",t);var i=_(this).parent("mark.tweet").clone().find("a.tweet").remove().end().text(),n="http://twitter.com/share?url="+s(t)+"&text="+s(i)+(p.twitter?"&via="+p.twitter:""),a=e.screenX&&e.screenX>600?parseInt(e.screenX-300):0,r=e.screenY&&e.screenY>450?parseInt(e.screenY-225):0;var o="Twitterwindow";window.open(n,o,"left="+a+",top="+r+",width=600,height=450,toolbar=0,resizable=1")});e.append(t).wrap('<mark class="tweet"></mark>').contents().unwrap()})}function he(){if(_(".ch-membership-login").length>0&&I()&&!k()){var r=_(".ch-membership-login"),e=r.find("form");if(N("return_to"))s+="&return_to="+N("return_to");if(N("p")&&D(N("p")))l=N("p");if(l)e.prepend('<input type="hidden" name="product" value="'+l+'">');$("login",2);var t=r.html();function i(){r.find("a.loginhint").on("click.loginhint",function(e){e.preventDefault();e.stopPropagation();if(_(this).data("cancel")===true){_(this).data("cancel",false);r.html(t);i();return}_(this).text("Abbrechen");_(this).data("cancel",true);r.find("form").attr("action","/c/auth/password/");r.find('input[name="password"]').prev("label").remove();r.find('input[name="password"]').remove();r.find("button").text("Link zum Passwort ändern anfordern")})}i();if(N("recover")&&N("recover")=="true"){var n=N("c"),a=N("p"),o=N("h");_.ajax({url:S()+"/c/auth/recover/"+a+"/"+n+"/"+o+"/?v=2",success:function(e){r.html(e);function t(){r.find("form").submit(function(e){e.preventDefault();e.stopPropagation();_.ajax({url:_(this).attr("action"),type:"post",data:_(this).serialize(),success:function(e){r.html(e);if(r.find("form").attr("action")!="/c/auth/login/")t()}})})}t()}})}}if(_(".ch-membership-account").length>0&&I()&&!k()){var r=_(".ch-membership-account"),e=r.find("form");if(N("return_to"))s+="&return_to="+N("return_to");$("account",2)}if(_("div.membership-login").length>0&&I()&&!k()){var r=_("div.membership-login");r.find("input,button").prop("disabled",true).attr("disabled",true).addClass("disabled");r.find("a").attr("href","#");r.find(".alert-error").remove();var s=S()+"/iapi/membership_login/",l=null;s+="?login_page="+[d.protocol,"//",d.host,d.pathname].join("");r.removeAttr("data-product");
1if(N("return_to"))s+="&return_to="+N("return_to");if(N("p")&&D(N("p")))l=N("p");_.ajax({url:s,success:function(e){r.html(e);if(l)r.find("form").prepend('<input type="hidden" name="product" value="'+l+'">');$("login");var t=r.html();r.find("a.loginhint").on("click.loginhint",function(e){e.preventDefault();e.stopPropagation();if(_(this).data("cancel")===true){_(this).data("cancel",false);r.html(t);return}_(this).text("Abbrechen");_(this).data("cancel",true);r.find("form").attr("action","/c/auth/password/");r.find('input[name="password"]').prev("label").remove();r.find('input[name="password"]').remove();r.find("button").text("Link zum Passwort ändern anfordern")});if(N("recover")&&N("recover")=="true"){var i=N("c"),n=N("p"),a=N("h");_.ajax({url:S()+"/c/auth/recover/"+n+"/"+i+"/"+a+"/",success:function(e){r.html(e);function t(){r.find("form").submit(function(e){e.preventDefault();e.stopPropagation();_.ajax({url:_(this).attr("action"),type:"post",data:_(this).serialize(),success:function(e){r.html(e);if(r.find("form").attr("action")!="/c/auth/login/")t()}})})}t()}})}}})}if(_("div.membership-account").length>0&&I()&&!k()){_("div.membership-account input,div.membership-account button").prop("disabled",true).attr("disabled",true).addClass("disabled");_("div.membership-account .alert-error").remove();var s=S()+"/iapi/membership_account/";s+="?return_to="+[d.protocol,"//",d.host,d.pathname].join("");_.ajax({url:s,success:function(e){_("div.membership-account").html(e);$("account")}})}if(_("div.membership-register").length>0&&I()&&!k()){_("div.membership-register input,div.membership-register button").prop("disabled",true).attr("disabled",true).addClass("disabled");_("div.membership-register .alert-error").remove();var s=S()+"/iapi/membership_register/",l=_("div.membership-register").data("product");s+="?return_to="+[d.protocol,"//",d.host,d.pathname].join("");_("div.membership-register").removeAttr("data-product");_.ajax({url:s,success:function(e){_("div.membership-register").html(e);_("div.membership-register form").prepend('<input type="hidden" name="product" value="'+l+'">');var i=N("fd");if(i){try{i=JSON.parse(Base64.decode(i));if(i&&typeof i=="object")_.each(["firstname","lastname","email"],function(e,t){if(t in i&&i[t])_("div.membership-register input[name="+t+"]").val(i[t])})}catch(e){}z("fd")}$("register")}})}}function $(e,t){var i=N("msg");if(i){try{i=Base64.decode(i);var n=N("msgtype");if(i&&t!==undefined&&t==2){_(".ch-membership-"+e+" form").prepend('<div class="ch-alert ch-alert-error">'+Ee(i)+"</div>");if(n&&n=="success")_(".ch-membership-"+e+" .ch-alert-error").removeClass("ch-alert-error").addClass("ch-alert-success")}else if(i){_("div.membership-"+e).prepend('<div class="alert-error">'+Ee(i)+"</div>");if(n&&n=="success")_("div.membership-"+e+" .alert-error").removeClass("alert-error").addClass("alert-success")}}catch(e){}z("msg");z("msgtype")}}function ue(e){var t=e.getBoundingClientRect();return t.top>=0&&t.bottom<=(T.innerHeight||E.documentElement.clientHeight)}function fe(e,t){var i=e.getBoundingClientRect(),n=T.innerHeight||E.documentElement.clientHeight;return!(Math.floor(100-(i.top>=0?0:i.top)/+-(i.height/1)*100)<t||Math.floor(100-(i.bottom-n)/i.height*100)<t)}function pe(){var e=document.querySelectorAll(".ch-animate");var t=function(){e=document.querySelectorAll(".ch-animate:not(.ch-animated)");e.forEach(function(e){if(fe(e,1)){if(e.classList.contains("ch-out-of-view"))e.classList.remove("ch-out-of-view");e.addEventListener("animationend",function(e){this.classList.add("ch-animated")},{once:true})}else if(!e.classList.contains("ch-out-of-view"))e.classList.add("ch-out-of-view")})};e.forEach(function(e){var t=_(e).css("animation-name");if(!t||t=="none"){_(e).removeClass("ch-animate ch-animate-entry ch-animate-hover");return}e.classList.add("ch-out-of-view")});t();var i=Te(t,100);T.addEventListener("scroll",i);T.addEventListener("resize",i)}function me(){return;function t(e,t){e.toggleClass("ch-nav-toggle-button-active");t.find(".ch-navbar-container").toggleClass("ch-navbar-container--open");t.find(".ch-navbar-container-folded").toggleClass("ch-navbar-container-folded--open");t.find(".ch-nav").toggleClass("ch-nav--open");t.find(".ch-nav-folded").toggleClass("ch-nav-folded--open")}_(".ch-nav-toggle-button,.ch-nav-close-button").click(function(e){e.preventDefault();t(_(this),_(this).parents(".ch-navbar").first())})}function C(e){if(e.prop("tagName").toLowerCase()=="a"&&e.attr("href"))T.location.href=e.attr("href")}function I(){return typeof window.chimp=="object"&&"id"in window.chimp&&D(window.chimp.id)}function k(){return typeof window.is_preview!="undefined"&&window.is_preview===true}function D(e){return e.match(/^[0-9a-fA-F]{24}$/)}function ve(){return"."+T.location.hostname.replace(/^www\./,"")}function P(e){var t=E.cookie.split(";"),i=RegExp("^\\s*"+s(e)+"=\\s*(.*?)\\s*$");for(var n=0;n<t.length;n++){var a=t[n].match(i);if(a)return H(a[1])}return null}function A(e,t,i){var n="";if("undefined"!=typeof i&&i>0){var a=new Date;a.setTime(a.getTime()+1e3*parseInt(i));n="; expires="+a.toGMTString()}var r="; path=/",o="; domain="+ve();return E.cookie=l(e)+"="+l(t||"")+n+r+o}function ge(e){return E.cookie=l(e)+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/"}function ye(e){return E.createElement(e)}function we(e){var t=ye("style");t.type="text/css";t.textContent=e;E.getElementsByTagName("head")[0].appendChild(t)}function be(){f++}function L(){var e=P("_chct");if(e&&D(e+""))return e;return false}function xe(){var e=P("_chui");if(e&&X(e+""))return e;return null}function $e(){var e=xe();if(!e)e=R();A("_chui",e,31536e3/2);return e}function Ce(){_("input.input").addClass("input-input-v1");_('input[type="checkbox"]:not(.ch-form-checkbox)').addClass("form-input-checkbox");_('input[type="radio"]:not(.ch-form-radio)').addClass("form-input-radio");_("label").filter(function(){return!this||!_(this).attr("class")||!_(this).attr("class").match(/ch\-[^\s]+\-label/)}).addClass("form-input-label")}function ke(){_(".ch-image").each(function(e,t){var i=_(this),n=i.
1children("img").first();if(n&&n.length)n.wrap("<div/>")})}function _e(){var e=N("ch_ct");if(e&&D(e+"")){A("_chct",e,31536e3);z("ch_ct")}var t=N("preview");if(t&&U(t+""))z("preview")}function N(e){var t=window.location.search,i=t.substr(1,t.length);if(i!=""){var n=i.split("&");for(var a=0;a<n.length;++a){var r="",o=n[a].split("=");if(o.length>1)r=o[1];if(e==unescape(o[0]))return unescape(r)}}}function z(e){var t=false,i=T.location.href,n=i,a=new RegExp("&"+e+"(=[^&#]*)?|"+e+"(=[^&#]*)?&?"),r=a.exec(i);if(r!==null){n=i.replace(a,"").replace(/\?$/,"").replace(/\&$/,"").replace(/\?#/,"#");T.history.replaceState(null,null,n)}}function O(e,t,i){var n=typeof i!="undefined"?i.split("?")[0]:window.location.href.split("?")[0],a=typeof i!="undefined"?i.substr(i.indexOf("?"),i.length):window.location.search,r=a.substr(1,a.length),o="";if(r!=""){var s=r.split("&"),l;for(var d=0;d<s.length;++d){l="";var c=s[d].split("=");if(c.length>1)l=c[1];if(e==unescape(c[0]))continue;o+="&"+c[0]+"="+l}}o+="&"+escape(e)+"="+escape(t);return n+"?"+o.substring(1)}function Ee(e){return(e+"").replace(/(<([^>]+)>)/gi,"")}function Te(i,n){var e=50,a,r,o,s=null,l=0,d=function(){l=Date.now();s=null;o=i.apply(a,r);if(!s)a=r=null};if(!n&&n!==0)n=e;return function(){var e=Date.now(),t=n-(e-l);a=this;r=arguments;if(t<=0||t>n){if(s){clearTimeout(s);s=null}l=e;o=i.apply(a,r);if(!s)a=r=null}else if(!s)s=setTimeout(d,t);return o}}function Se(r,o,s){var l,o=o||200;return function(){var e=this,t=arguments;var i=function(){l=null;if(!s)r.apply(e,t)};if(t.length==1&&c(t[0])&&t[0].debounce&&c(t[0].debounce)){var n=t[0].debounce;if(n.clear===true){clearTimeout(l);return}}var a=s&&!l;clearTimeout(l);l=setTimeout(i,o);if(a)r.apply(e,t)}}var Ie=setInterval(be,1e3);return i.prototype.ready=function(){this.isready=true;var i=this;_.each(this.readyQueue,function(e,t){try{n(t)&&t.call(i)}catch(e){}})},i.prototype.push=function(e){var t=this;if(this.isready&&n(e)){e.call(t);return}this.readyQueue.push(e)},i.prototype.extend=function(e,t){i.prototype[e]=t},i.prototype.trackEvent=function(e,t){stetic.track(e,t)},i.prototype.setupAudioplayer=function(e){re(e)},i.prototype.visitorIsContact=function(){return L()},i.prototype.setupCtas=function(e){t(e)},i.prototype.isFrontend=function(){return I()},i.prototype.setupForms=function(){return v()},i.prototype.loadJS=function(e,n){_.getScript(e,function(e,t,i){if(typeof n!="undefined")n()})},i.prototype.loadCSS=function(e){var t;t=document.createElement("link");t.setAttribute("rel","stylesheet");t.setAttribute("href",e);return document.getElementsByTagName("head")[0].appendChild(t)},i.prototype.config=function(e){return window.chimp&&e in window.chimp?window.chimp[e]:false},i.prototype.getCookie=function(e){return P(e)},i.prototype.setCookie=function(e,t,i){return A(e,t,i)},i.prototype.delCookie=function(e){return ge(e)},i.prototype.getUrlParam=function(){return N.apply(null,arguments)},i.prototype.trackingEnabled=function(){var e=P("_coo1");return e&&e=="1"?false:true},i.prototype.throttle=function(e,t){Te(e,t)},i.prototype.debounce=function(e,t,i){return Se(e,t,i)},i.prototype.basename=function(e){e=new String(e);return""+(e.indexOf("/")>-1?e.split(/[\\/]/).pop():e)},i}()}(),window.shortenNumber=function(n){with(Math){var base=floor(log(abs(n))/log(1e3)),suffix="kmb"[base-1];return suffix?String(n/pow(1e3,base)).substring(0,3)+suffix:""+n}},"object"!=typeof JSON&&(JSON={}),!function(){"use strict";function f(e){return e<10?"0"+e:e}var cx,escapable,gap,indent,meta,rep;function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var i,n,a,r,o,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),typeof(l="function"==typeof rep?rep.call(t,e,l):l)){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,o=[],"[object Array]"===Object.prototype.toString.apply(l)){for(r=l.length,i=0;i<r;i+=1)o[i]=str(i,l)||"null";a=0===o.length?"[]":gap?"[\n"+gap+o.join(",\n"+gap)+"\n"+s+"]":"["+o.join(",")+"]"}else{if(rep&&"object"==typeof rep)for(r=rep.length,i=0;i<r;i+=1)"string"==typeof rep[i]&&(a=str(n=rep[i],l))&&o.push(quote(n)+(gap?": ":":")+a);else for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(a=str(n,l))&&o.push(quote(n)+(gap?": ":":")+a);a=0===o.length?"{}":gap?"{\n"+gap+o.join(",\n"+gap)+"\n"+s+"}":"{"+o.join(",")+"}"}return gap=s,a}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),"function"!=typeof JSON.stringify&&(escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,i){var n;if(indent=gap="","number"==typeof i)for(n=0;n<i;n+=1)indent+=" ";else"string"==typeof i&&(indent=i);if(!(rep=t)||"function"==typeof t||"object"==typeof t&&"number"==typeof t.length)return str("",{"":e});throw new Error("JSON.stringify")}),"function"!=typeof JSON.parse&&(cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(text,reviver){var j;function walk(e,t){var i,n,a=e[t];if(a&&"object"==typeof a)for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(void 0!==(n=walk(a,i))?a[i]=n:delete a[i]);return reviver.call(e,t,a)}if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),window.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",encode:function(e){var t,i,n,a,r,o,s="",l=0;for(e=Base64._utf8_encode(e);l<e.length;)n=(t=e.charCodeAt(l++))>>2,a=(3&t)<<4|(t=e.charCodeAt(l++))>>4,r=(15&t)<<2|(i=e.charCodeAt(l++))>>6,o=63&i,isNaN(t)?r=o=64:isNaN(i)&&(o=64),s=s+this._keyStr.charAt(n)+this._keyStr.charAt(a)+this._keyStr.charAt(r)+this._keyStr.charAt(o);return s},decode:function(e){var t,i,n,a,r,o,s="",l=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");l<e.length;)n=this._keyStr.indexOf(e.charAt(l++)),t=(15&(a=this._keyStr.indexOf(e.charAt(l++))))<<4|(r=this._keyStr.indexOf(e.charAt(l++)))>>2,i=(3&r)<<6|(o=this._keyStr.indexOf(e.charAt(l++))),s+=String.fromCharCode(n<<2|a>>4),64!=r&&(s+=String.fromCharCode(t)),64!=o&&(s+=String.fromCharCode(i));return s=Base64._utf8_decode(s)},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",i=0;i<e.length;i++){var n=e.charCodeAt(i);n<128?t+=String.fromCharCode(n):t=127<n&&n<2048?(t+=String.fromCharCode(n>>6|192))+String.fromCharCode(63&n|128):(t=(t+=String.fromCharCode(n>>12|224))+String.fromCharCode(n>>6&63|128))+String.fromCharCode(63&n|128)}return t},_utf8_decode:function(e){var t,i="",n=0;for(c1=c2=0;n<e.length;)(t=e.charCodeAt(n))<128?(i+=String.fromCharCode(t),n++):191<t&&t<224?(c2=e.charCodeAt(n+1),i+=String.fromCharCode((31&t)<<6|63&c2),n+=2):(c2=e.charCodeAt(n+1),c3=e.charCodeAt(n+2),i+=String.fromCharCode((15&t)<<12|(63&c2)<<6|63&c3),n+=3);return i}},!function(d){d.fn.shake=function(e){var a,r={vibration:6,amplitude:50,direction:"left",timeFirstDeviation:240},o=(e&&d.extend(r,e),a=("left"!=r.direction||r.vibration%2!=0)&&("left"==r.direction||"right"==r.direction&&r.vibration%2==0)?0:-1,r.timeFirstDeviation/r.vibration),s=r.amplitude/(r.vibration-1),l=function(e,t,i,n){0<e?t.css("position","relative").animate({left:(Math.pow(-1,e+a)*i).toString()},n,function(){l(e-1,d(t),i-s,n-o)}):0==e&&t.css("position","relative").animate({left:"0"},n)};return this.each(function(e,t,i,n){new l(r.vibration,d(t),r.amplitude,r.timeFirstDeviation)})}}(jQuery),window.Page=window.Chimpify=new Chimpify;try{function CalendlyWidget(e){this.init(e)}CalendlyWidget.prototype={config:{},$element:null,url:null,calendlyIndex:null,defaultConfig:{hide_event_type_details:!1,hide_gdpr_banner:!1,background_color:null,tags:null,page_doubleoptin:null},init:function(e){var t=this,e=(this.eventsEnabled=!(Chimpify&&Chimpify.isBuilder),this.config={...this.defaultConfig},this.$element=e,this.$element.attr("data-url")&&(this.url=this.$element.attr("data-url")),Chimpify.isBuilder&&(this.url&&(""+this.url).match(/^https?:\/\/(www\.)?calendly\.com\/.*/)||(this.url="https://calendly.com/acmesales/30-minute-demo"),this.url+=(this.url.match(/\?/)?"&":"?")+"embed_domain="+window.location.host+"&embed_type=Inline"),this.calendlyIndex=this.$element.data("calendlyIndex"),this.$element.attr("data-hide_event_type_details")&&"1"==this.$element.attr("data-hide_event_type_details")&&(this.config.hide_event_type_details=!0),this.$element.attr("data-hide_gdpr_banner")&&"1"==this.$element.attr("data-hide_gdpr_banner")&&(this.config.hide_gdpr_banner=!0),this.$element.attr("data-background_color")&&(this.config.background_color=this.$element.attr("data-background_color")),this.$element.attr("data-tags")&&(this.config.tags=this.$element.attr("data-tags").split(",")),this.$element.attr("data-page_doubleoptin")&&(this.config.page_doubleoptin=this.$element.attr("data-page_doubleoptin")),this.$element.parents(".ch-popup-container").first());e&&e.length&&!e.hasClass("ch-popup-container-active")?(this.$element.empty(),e.off("popupopen.calendly").on("popupopen.calendly",function(e){t.initWidget()})):this.initWidget(),Chimpify.isBuilder||this.addEventHandlers()},initWidget(){this.$element.empty();var e=new URL(this.url);!0===this.config.hide_event_type_details?e.searchParams.set("hide_event_type_details",1):e.searchParams.delete("hide_event_type_details"),!0===this.config.hide_gdpr_banner?e.searchParams.set("hide_gdpr_banner",1):e.searchParams.delete("hide_gdpr_banner"),this.config.background_color?e.searchParams.set("background_color",this.config.background_color.replace(/^\#/,"")):e.searchParams.delete("background_color"),Chimpify.isBuilder?this.$element.html('<iframe src="'+e.href+'" width="100%" height="100%" frameborder="0"></iframe>'):window.Calendly.initInlineWidget({url:e.href,parentElement:this.$element.get(0),prefill:{},utm:{}})},iframeRescale(e,t){var i=parseInt(t.split(":")[0]),t=parseInt(t.split(":")[1])/i,i=e.getBoundingClientRect().width;e.style.height=Math.round(t*i)+"px"},resize(){var e=this.$element.find("iframe");e.length&&this.iframeRescale(e.get(0),"16:9")},destroy(){this.removeEventHandlers()},reinit(){var e=this.$element;this.destroy(),this.init(e)},isCalendlyEvent(e){return"https://calendly.com"===e.originalEvent.origin&&e.originalEvent.data.event&&0===e.originalEvent.data.event.indexOf("calendly.")},getFrameByEvent(t){return Array.from(document.getElementsByTagName("iframe")).filter(e=>e.contentWindow===t.source)[0]},messageEventHandler(e){var t;this.isCalendlyEvent(e)&&(t=(t=this.getFrameByEvent(e.originalEvent))?$(t).closest(".ch-calendly"):null)&&t.length&&t.is(this.$element)&&(t=e.originalEvent.data.event,e=e.originalEvent.data.payload,"calendly.event_scheduled"==t)&&(e={type:"event_scheduled",invitee:t=e.invitee.uri,content_id:window.chimp&&window.chimp.id?window.chimp.id:null},this.config.tags&&(e.tags=this.config.tags),this.config.page_doubleoptin&&(e.page_doubleoptin=this.config.page_doubleoptin),t)&&$.ajax({url:"/iapi/calendly/",type:"POST",data:e,cache:!1,dataType:"json",crossDomain:!0})},addEventHandlers(){var e="calendly-"+this.calendlyIndex;this.eventsEnabled&&this.$element.length&&$(window).on("message."+e,e=>this.messageEventHandler(e))},removeEventHandlers(){var e="calendly-"+this.calendlyIndex;this.$element.length&&$(window).off("message."+e)}},Chimpify.extend("Calendly",{$:null,root:document.documentElement,calendlys:new WeakMap,init:function(){this.isBuilder=Chimpify.isBuilder,this.$=$;var n=this,a=$(".ch-calendly");!Chimpify.isBuilder&&a.length?n.$.getScript("https://assets.calendly.com/assets/external/widget.js",function(e,t,i){n.initElements(a)}):a.length&&n.initElements(a)},initElements(e){var t=this,i=1;this.isBuilder||void 0!==window.Calendly&&void 0!==window.Calendly.initInlineWidget?e.each(function(){var e=t.$(this);e.data("calendlyIndex",i),t.calendlys.set(e[0],new CalendlyWidget(e)),i++}):setTimeout(function(){t.initElements(e)},100)},getInstance(e){return e&&e.length&&this.calendlys.has(e[0])?this.calendlys.get(e[0]):new CalendlyWidget(e)},destroy:function(e){this.getInstance(e).destroy()},reinit:function(e){this.getInstance(e).reinit()}}),Chimpify.Calendly.init()}catch(e){console.log(e)}try{function Gallery(e){this.init(e)}Gallery.prototype={$element:null,$items:[],$dialog:null,$navNext:null,$navPrev:null,$navClose:null,$navDownload:null,currentIndex:0,eventsEnabled:!0,shouldRender:!0,isTouchSupported:!1,isPointerEvent:!1,touchStartX:0,touchDeltaX:0,defaultConfig:{columns:3,layout:"grid",show:"lightbox",downloadIcon:null},init:function(e){var i=this,n={};this.eventsEnabled=this.shouldRender=!(Chimpify&&Chimpify.isBuilder),this.$element=e,this.$items=this.$element.find("a"),Object.keys(this.defaultConfig).forEach(function(e){var t=i.$element.attr("data-"+e);t&&(n[e]=t)}),this.config={...this.defaultConfig,...n},this.$items.length&&(this.galleryId=this.$element.data("galleryId"),this.isTouchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this.isPointerEvent=!!window.PointerEvent,this.addEventHandlers())},show(e){var t,i,n,a,r;"none"!=this.config.show&&(this.currentIndex=e,e=(t=this).$items.get(e),r=(e=$(e)).attr("href"),e=e.find("img").first().attr("srcset"),a=!1,this.$dialog=$(".ch-gallery-dialog"),this.$dialog.length||(this.$dialog=$('<div class="ch-gallery-dialog"> <div class="ch-gallery-dialog-content"></div> <div class="ch-gallery-dialog-nav-prev"><i class="fa fa-chevron-left"></i></div> <div class="ch-gallery-dialog-nav-next"><i class="fa fa-chevron-right"></i></div> <div class="ch-gallery-dialog-nav-close"></div> </div>'),"1"==this.config.downloadIcon&&(this.$dialog.append($('<div class="ch-gallery-dialog-nav-download"></div>')),a=!0),this.$dialog.appendTo("body")),this.$navNext=this.$dialog.find(".ch-gallery-dialog-nav-next"),this.$navPrev=this.$dialog.find(".ch-gallery-dialog-nav-prev"),this.$navClose=this.$dialog.find(".ch-gallery-dialog-nav-close"),this.$navDownload=!!a&&this.$dialog.find(".ch-gallery-dialog-nav-download"),i=this.$dialog.find(".ch-gallery-dialog-content").first(),n=i.find("img:not(.state-removing)").first(),a=$('<img src="'+r+'" srcset="'+(e||"")+'" style="opacity:0;">'),r=function(e){i.append(e),e.delay(100).animate({opacity:1},{duration:200})},n.length&&(n.addClass("state-removing"),n.animate({opacity:0}
1,{duration:200,complete:function(){n.remove()}})),r(a),"100"!=this.$dialog.css("opacity")&&setTimeout(function(){t.$dialog.css("opacity","100")},20),this.addDialogEventHandlers(),"fullscreen"==t.config.show&&(e=this.$dialog.get(0),t.openFullscreen(e),t.fullscreenActive=!0),$("body").css("overflow","hidden"))},next(){var e=this.calculateNext();this.show(e)},prev(){var e=this.calculatePrev();this.show(e)},hide(e){var t;this.$dialog&&(this.$dialog.length&&this.$dialog.css({opacity:0,pointerEvents:"none"}),this.removeDialogEventHandlers(),t=this,setTimeout(function(){t.$dialog.remove(),t.$dialog=null},!0===e?0:200),this.$navNext=null,this.$navPrev=null,this.$navClose=null,this.$navDownload=null,$("body").css("overflow",""))},getHighestResImg(e){return e.getAttribute("srcset")?e.getAttribute("srcset").split(",").reduce((e,t)=>{var[t,i]=t.trim().split(" ");return(i=parseInt(i))>e.width?{width:i,url:t}:e},{width:0,url:""}).url:e.getAttribute("src")},download(e){var t=this.currentIndex,t=this.$items.get(t),t=t?t.querySelector("img"):null;t&&(t=this.getHighestResImg(t))&&(t.match(/cdn\.chimpify/)?top.location.href=t+"?forceDownload=1":window.open(t,"_blank").focus())},calculateNext(){var e=this.currentIndex+1;return e=e>=this.$items.length?0:e},calculatePrev(){var e=this.currentIndex-1;return e=e<0?this.$items.length-1:e},clickHandler(e){e.preventDefault(),e.stopPropagation();e=e.target.matches("a")?$(e.target):$(e.target).parents("a").first(),e=this.$items.index(e);this.show(e)},destroy(){this.removeEventHandlers()},reinit(){var e=this.$element;this.destroy(),this.init(e)},addEventHandlers(){var t=this;this.eventsEnabled&&t.$items.each(function(){$(this).off("click.gallery").on("click.gallery",e=>t.clickHandler(e))})},removeEventHandlers(){this.$items.each(function(){$(this).off("click.gallery")})},addDialogEventHandlers(){var e=this;if(this.eventsEnabled){if($(document).off("keydown.galleryItem").on("keydown.galleryItem",e=>this._handleItemKeyEvent(e)),e.$navNext&&e.$navNext.off("click.gallery").on("click.gallery",e=>this.next(e)),e.$navPrev&&e.$navPrev.off("click.gallery").on("click.gallery",e=>this.prev(e)),e.$navClose&&e.$navClose.off("click.gallery").on("click.gallery",e=>this.hide(e)),e.$navDownload&&e.$navDownload.off("click.gallery").on("click.gallery",e=>this.download(e)),this.isTouchSupported){const t=e=>{var t=e.pointerType||e.originalEvent.pointerType;!this.isPointerEvent||"pen"!==t&&"touch"!==t?this.isPointerEvent||(this.touchStartX=e.touches[0].clientX):this.touchStartX=e.clientX},i=e=>{e.touches&&1<e.touches.length?this.touchDeltaX=0:this.touchDeltaX=e.touches[0].clientX-this.touchStartX},n=e=>{var t=e.pointerType||e.originalEvent.pointerType;!this.isPointerEvent||"pen"!==t&&"touch"!==t||(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe()};this.isPointerEvent?(this.$dialog.off("pointerdown.gallery").on("pointerdown.gallery",e=>t(e)),this.$dialog.off("pointerup.gallery").on("pointerup.gallery",e=>n(e)),this.$dialog.addClass("pointer")):(this.$dialog.off("touchstart.gallery").on("touchstart.gallery",e=>t(e)),this.$dialog.off("touchmove.gallery").on("touchmove.gallery",e=>i(e)),this.$dialog.off("touchend.gallery").on("touchend.gallery",e=>n(e)))}$(document).off("fullscreenchange.gallery").on("fullscreenchange.gallery",e=>this._fullscreenExitHandler(e)),$(document).off("mozfullscreenchange.gallery").on("mozfullscreenchange.gallery",e=>this._fullscreenExitHandler(e)),$(document).off("MSFullscreenChange.gallery").on("MSFullscreenChange.gallery",e=>this._fullscreenExitHandler(e)),$(document).off("webkitfullscreenchange.gallery").on("webkitfullscreenchange.gallery",e=>this._fullscreenExitHandler(e))}},removeDialogEventHandlers(){var e=this;this.eventsEnabled&&($(document).off("keydown.galleryItem"),e.$navNext&&e.$navNext.off("click.gallery"),e.$navPrev&&e.$navPrev.off("click.gallery"),e.$navClose&&e.$navClose.off("click.gallery"),this.isTouchSupported&&(this.isPointerEvent?(this.$dialog.off("pointerdown.gallery"),this.$dialog.off("pointerup.gallery"),this.$dialog.removeClass("pointer")):(this.$dialog.off("touchstart.gallery"),this.$dialog.off("touchmove.gallery"),this.$dialog.off("touchend.gallery"))),$(document).off("fullscreenchange.gallery"),$(document).off("mozfullscreenchange.gallery"),$(document).off("MSFullscreenChange.gallery"),$(document).off("webkitfullscreenchange.gallery"))},openFullscreen(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},closeFullscreen(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},_fullscreenExitHandler(e){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||this.hide(!0)},_handleItemKeyEvent(e){e.target.tagName.toLowerCase().match("input|textarea|
1select")||(27===e.keyCode?this.hide():37===e.keyCode?this.isRTL?this.next():this.prev():39===e.keyCode&&this.isRTL?this.prev():this.next())},_handleSwipe(){var e=Math.abs(this.touchDeltaX);e<=40||(e=e/this.touchDeltaX,(this.touchDeltaX=0)<e&&(this.isRTL?this.next():this.prev()),e<0&&(this.isRTL?this.prev():this.next()))}},Chimpify.extend("Gallery",{$:null,root:document.documentElement,gallerys:new WeakMap,init:function(){this.$=window.Builder&&window.Builder.version?$$:$;var t=this,e=$(".ch-gallery"),i=1;e.each(function(){var e=$(this);e.data("galleryId",i),t.gallerys.set(e[0],new Gallery(e)),i++})},getInstance(e){return e&&e.length&&this.gallerys.has(e[0])?this.gallerys.get(e[0]):new Gallery(e)},gallery:function(e,t){this.getInstance(e).gallery(t)},destroy:function(e){this.getInstance(e).destroy()},reinit:function(e){this.getInstance(e).reinit()}}),Chimpify.Gallery.init()}catch(e){console.log(e)}try{Chimpify.extend("Navbar",{$:null,root:document.documentElement,dropdownTriggers:[],dropdownMenus:[],dropdownOpenClass:"ch-navbar-dropdown--open",dropdownTriggerOpenClass:"ch-nav-link--open",activeDropdownIndex:-1,closeDropdownTimeout:null,eventsEnabled:!0,events:window.PointerEvent?{up:"pointerup",enter:"pointerenter",leave:"pointerleave"}
1:{up:"touchend",enter:"mouseenter",leave:"mouseleave"},minScreenWidthHover:992,toggle:function(e){e.find(".ch-nav-toggle-button").first().toggleClass("ch-nav-toggle-button-active"),e.find(".ch-navbar-container").toggleClass("ch-navbar-container--open"),e.find(".ch-navbar-container-folded").toggleClass("ch-navbar-container-folded--open"),e.find(".ch-nav").toggleClass("ch-nav--open"),e.find(".ch-nav-folded").toggleClass("ch-nav-folded--open")},getState:function(e){e=e.find(".ch-navbar-container").first();return e&&e.hasClass("ch-navbar-container--open")?"open":"closed"},dropdownIndex(e){return this.dropdownTriggers.indexOf(e)},closestEdge(e,t){var t=t.getBoundingClientRect(),i=t.left,n=t.top,a=t.right,t=t.bottom,r=e.pageX,e=e.pageY,n=Math.abs(n-e),t=Math.abs(t-e),e=Math.abs(i-r),i=Math.abs(a-r);switch(Math.min(n,t,e,i)){case e:return"left";case i:return"right";case n:return"top";case t:return"bottom"}},handleDropdownEntered:function(e){"touch"!==e.pointerType&&this.stopCloseTimeout()},handleDropdownLeft:function(e){"touch"!==e.pointerType&&this.startCloseTimeout()},handleDropdownInnerLeft:function(e){var t;"touch"!==e.pointerType&&(t=this.dropdownMenus.indexOf(e.currentTarget),t=this.dropdownMenus[t])&&"top"!=this.closestEdge(e,t)&&this.startCloseTimeout()},handleDropdownClick:function(e){e.target&&e.target.nodeName&&-1==["a","button","input","img"].indexOf(e.target.nodeName.toLowerCase())&&(e.preventDefault(),e.stopPropagation())},handleDropdownCloseClick:function(e){e.preventDefault(),e.stopPropagation(),this.closeDropdown()},handleTriggerEntered:function(e){"touch"===e.pointerType||(this.stopCloseTimeout(),-1<(e=this.dropdownIndex(e.currentTarget))&&("1"!=this.dropdownTriggers[e].getAttribute("data-dropdown-hover")||document.body.clientWidth<this.minScreenWidthHover))||-1<e&&this.openDropdown(e)},handleTriggerLeft:function(e){"touch"!==e.pointerType&&this.startCloseTimeout()},handleTriggerClicked:function(e){e.preventDefault(),e.stopPropagation();e=this.dropdownIndex(e.currentTarget);-1<e&&this.toggleDropdown(e)},handleBodyClick(){this.closeDropdown()},startCloseTimeout:function(){null!==this.closeDropdownTimeout&&clearTimeout(this.closeDropdownTimeout),this.closeDropdownTimeout=setTimeout(()=>{this.closeDropdown()},150)},stopCloseTimeout:function(){clearTimeout(this.closeDropdownTimeout)},dropdownFromTrigger:function(e){var t=e.dataset.dropdown,e=e.closest(".ch-navbar");return e?e.querySelector('.ch-navbar-dropdown[data-dropdown="'+t+'"]'):null},connectDropdown(e){var t,i,n=this.dropdownFromTrigger(e);n&&(this.dropdownTriggers.push(e),this.dropdownMenus.push(n),n.parentElement.style.setProperty("pointer-events","none"),(t=n.querySelector(".ch-nav-close-button-dropdown"))||((t=document.createElement("div")).classList.add("ch-nav-close-button-dropdown"),n.insertBefore(t,n.firstChild)),this.eventsEnabled)&&(i=this.handleTriggerEntered.bind(this),e.removeEventListener(this.events.enter,i),e.addEventListener(this.events.enter,i),i=this.handleTriggerLeft.bind(this),e.removeEventListener(this.events.leave,i),e.addEventListener(this.events.leave,i),i=this.handleTriggerClicked.bind(this),e.removeEventListener("click",i),e.addEventListener("click",i),e=this.handleDropdownEntered.bind(this),n.parentElement.removeEventListener(this.events.enter,e),n.parentElement.addEventListener(this.events.enter,e),i=this.handleDropdownLeft.bind(this),n.parentElement.removeEventListener(this.events.leave,i),n.parentElement.addEventListener(this.events.leave,i),e=this.handleDropdownInnerLeft.bind(this),n.removeEventListener(this.events.leave,e),n.addEventListener(this.events.leave,e),i=this.handleDropdownClick.bind(this),n.removeEventListener("click",i),n.addEventListener("click",i),e=this.handleDropdownCloseClick.bind(this),t.removeEventListener("click",e),t.addEventListener("click",e))},connectDropdowns(){var e;this.dropdownTriggers=[],this.dropdownMenus=[];for(e of this.root.querySelectorAll("a[data-dropdown]"))this.connectDropdown(e);this.eventsEnabled&&document.body&&document.body.addEventListener("click",this.handleBodyClick.bind(this))}
1,openDropdown:function(e){this.dropdownMenus.forEach((e,t)=>{e.classList.remove(this.dropdownOpenClass),e.querySelector(".ch-navbar-dropdown-container").classList.remove("ch-navbar-dropdown-container--open")}),this.activeDropdownIndex=e,this.dropdownMenus[e].classList.add(this.dropdownOpenClass),this.dropdownMenus[e].querySelector(".ch-navbar-dropdown-container").classList.add("ch-navbar-dropdown-container--open"),this.dropdownMenus[e].parentElement.style.setProperty("pointer-events","auto"),this.dropdownTriggers[e].classList.add(this.dropdownTriggerOpenClass),this.positionDropdownElements()},closeDropdown:function(){var e;-1<this.activeDropdownIndex&&(e=this.activeDropdownIndex,this.dropdownMenus[e].classList.remove(this.dropdownOpenClass),this.dropdownMenus[e].querySelector(".ch-navbar-dropdown-container").classList.remove("ch-navbar-dropdown-container--open"),this.dropdownMenus[e].parentElement.style.setProperty("pointer-events","none"),this.dropdownTriggers[e].classList.remove(this.dropdownTriggerOpenClass)),this.activeDropdownIndex=-1},positionDropdownElements(){var e,t,i,n,a,r,o,s;-1!=this.activeDropdownIndex&&(t=(e=this.dropdownMenus[this.activeDropdownIndex]).parentElement,r=this.dropdownTriggers[this.activeDropdownIndex],o=t.closest(".ch-navbar"),i=document.body.clientWidth,s=r.getBoundingClientRect(),o=o.getBoundingClientRect(),n=s.left||0,s=s.top||0,a=r.offsetWidth,r=r.offsetHeight,n=n-o.left+a/2,a=e.offsetWidth,s=s+r-o.top,e.style.setProperty("--dropdownArrowOffset",n-(o=(r=n-a/2<0)||i<n+a/2?i<992||991<a&&.8*i<a?(i-a)/2:r?0:i-a:n-a/2)-6+"px"),e.style.setProperty("left",o+"px"),t.style.setProperty("top",s+"px"))},toggleDropdown:function(e){this.activeDropdownIndex===e?this.closeDropdown():this.openDropdown(e)},linkFromDropdown:function(e){var t=e.dataset.dropdown,e=e.closest(".ch-navbar");return e?e.querySelector('a[data-dropdown="'+t+'"]'):null},dropdownState:function(e){e=this.dropdownIndex(e),e=this.dropdownMenus[e];return e&&e.classList.contains(this.dropdownOpenClass)?"open":"closed"},init:function(){this.$=window.Builder&&window.Builder.version?$$:$;var n=this;this.dropdownTriggers=[],this.dropdownMenus=[],this.eventsEnabled=!(Chimpify&&Chimpify.isBuilder),this.connectDropdowns(),this.eventsEnabled&&n.$(".ch-nav-toggle-button,.ch-nav-close-button").click(function(e){e.preventDefault(),e.stopPropagation();var t=n.$(this).parents(".ch-navbar").first(),i=document.querySelector("body");n.toggle(t),"closed"==n.getState(t)?(i.classList.remove("ch-has-navbar--open"),n.closeDropdown(),t.find(".ch-nav a").off("click.navlink")):(i.classList.add("ch-has-navbar--open"),t.find(".ch-nav a").on("click.navlink",function(e){$(this).attr("data-dropdown")||(n.toggle(t),i.classList.remove("ch-has-navbar--open"),n.closeDropdown(),t.find(".ch-nav a").off("click.navlink"))}))})}}),Chimpify.Navbar.init()}catch(e){console.log(e)}try{function Slider(e){this.init(e)}Slider.prototype={element:null,slidesWrapper:null,slidesTrack:null,sliderId:null,slides:[],slide:0,slideNext:0,slidePrev:0,currentSlide:null,nextSlide:null,prevSlide:null,navNext:null,navPrev:null,isPaused:!1,slideWidth:null,slidePadding:3,animationSlide:!0,animationFade:!1,isRTL:"rtl"===document.documentElement.dir,defaultConfig:{autoplay:!1,interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},eventsEnabled:!0,cloningEnabled:!0,playInterval:null,windowWidth:0,touchTimeout:null,touchStartX:0,touchDeltaX:0,CSS_SELECTOR_SLIDES:".ch-slide:not(.ch-slide-clone)",CLASS_ANIMATION_FADE:"ch-slider-animation-fade",init:function(e){var i=this,n=!1;this.eventsEnabled=!(Chimpify&&Chimpify.isBuilder),this.cloningEnabled=!(Chimpify&&Chimpify.isBuilder),this.config={...this.defaultConfig},this.$element=e,this.$slidesWrapper=e.find(".ch-slides").first(),this.$slides=this.$element.find(this.CSS_SELECTOR_SLIDES),this.$slides.length&&(this.$element.addClass("ch-slider-loading"),this.$slides.length<this.slidePadding&&(this.slidePadding=this.$slides.length),this.sliderId=this.$element.data("sliderId"),this.$element.find(".ch-slides-track"),this.$slidesTrack=this.$slidesWrapper,this.animationFade=this.$element.hasClass(this.CLASS_ANIMATION_FADE),this.animationSlide=!this.$element.hasClass(this.CLASS_ANIMATION_FADE),e.attr("data-autoplay")&&"1"==e.attr("data-autoplay")&&(this.config.auto
1play=!0),e.attr("data-interval")&&e.attr("data-interval").match(/^[0-9]+$/)&&(this.config.interval=parseInt(e.attr("data-interval"))),this.setDimensions(),this.initForSlide(),this.initForFade(),this.$slides.removeClass("next prev"),this.$slides.each(function(e){var t=$(this);t.hasClass("active")&&(i.slide=e,i.currentSlide=t,n=!0)}),this.$navNext=e.find(".ch-slider-nav-next"),this.$navPrev=e.find(".ch-slider-nav-prev"),this.$navLinks=e.find(".ch-slider-pagination .ch-slide-link"),n||(this.currentSlide=this.$slides.first(),this.currentSlide.addClass("active")),this.$navLinks.length&&!this.$navLinks.filter(".active").length&&this.$navLinks.first().addClass("active"),this.slideNext=this.calculateNextSlide(),this.slidePrev=this.calculatePrevSlide(),this.animationSlide&&this.setLeft(this.slide,!0),this.isTouchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this.isPointerEvent=!!window.PointerEvent,this.addEventHandlers(),setTimeout(function(){i.$element.removeClass("ch-slider-loading")},500),this.play())},setDimensions(){this.windowWidth=$(window).width(),this.$slides.css("width",""),this.$element.css("max-width","");var e=this.$slidesWrapper.innerWidth();this.$slidesWrapper.height();e<=0||(this.slideWidth=Math.ceil(e),this.$slides.css("width",this.slideWidth+"px"),this.$element.css("max-width",this.slideWidth+"px"))},initForSlide(){if(this.animationSlide&&this.cloningEnabled){for(var e,t=this.$slides.length,i=t;i>t-this.slidePadding;i--)e=i-1,$(this.$slides[e]).clone(!0).prependTo(this.$slidesTrack).removeAttr("class").attr("class","ch-slide ch-slide-clone").removeClass("active next prev");for(i=0;i<this.slidePadding;i++)e=i,$(this.$slides[e]).clone(!0).appendTo(this.$slidesTrack).removeAttr("class").attr("class","ch-slide ch-slide-clone").removeClass("active next prev")}},initForFade(){if(!this.animationSlide)for(var e=this.$slides.length,t=0;t<e;t++){var i={transform:"translate3d("+(0<t?this.slideWidth*t*-1:0)+"px, 0px, 0px)"};$(this.$slides[t]).css(i)}},setLeft(e,t){var i=this.cloningEnabled?this.slidePadding:0,e=this.slideWidth*(e+i)*-1;this.$slidesTrack.css({transform:"translate3d("+e+"px, 0px, 0px)",transition:void 0!==t&&!0===t?"none":""})},to(e,t){var i=this,n=this.slide;if(this.$slides[e]){if(this.slide=e,this.currentSlide&&this.currentSlide.removeClass("active"),this.currentSlide=$(this.$slides[e]),this.animationSlide){var a=e;if("next"==t&&0==e&&n+1>=this.$slides.length)return this.setLeft(-1,!0),void setTimeout(function(){i.to(0)},1);if("prev"==t&&e==this.$slides.length-1&&0==n)return this.setLeft(this.$slides.length,!0),void setTimeout(function(){i.to(i.$slides.length-1)},1);this.setLeft(a)}else this.currentSlide.addClass("active");this.setNextSlide(),this.setPrevSlide(),this.$navLinks&&this.$navLinks.removeClass("active"),this.$navLinks[e]&&$(this.$navLinks[e]).addClass("active")}this.play()},next(){this.to(this.slideNext,"next")},prev(){this.to(this.slidePrev,"prev")},play(e){!0===this.config.autoplay&&this.eventsEnabled&&(e||(this.isPaused=!1),this.playInterval&&(clearInterval(this.playInterval),this.playInterval=null),this.isPaused||(this.playInterval=setInterval(this.next.bind(this),this.config.interval)))},stop(e){!0===this.config.autoplay&&this.eventsEnabled&&(e||(this.isPaused=!0),this.playInterval)&&(clearInterval(this.playInterval),this.playInterval=null)},destroy(){this.removeEventHandlers(),this.$slides.width(""),this.$slidesWrapper.find(".ch-slide-clone").detach(),this.$slidesTrack&&this.$slidesTrack.removeAttr("style"),this.$slides.removeClass("active next prev"),this.$slides.removeAttr("style"),this.$navLinks&&this.$navLinks.removeClass("active"),this.$navLinks&&this.$navLinks.length&&this.$navLinks.first().addClass("active"),this.$element.data("sliderInit",null),this.slides=[],this.slide=0,this.slideNext=0,this.slidePrev=0},reinit(){var e=this.$element;this.destroy(),this.init(e)},resize(e){$(window).width()!==this.windowWidth&&(this.reinit(),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.reinit()},300))},getCurrentSlide(){return this.currentSlide},calculateNextSlide(){var e=this.slide+1;return e=e>=this.$slides.length?0:e},calculatePrevSlide(){var e=this.slide-1;return e=e<0?this.$slides.length-1:e},setNextSlide(){this.nextSlide&&this.nextSlide.removeClass("next"),this.slideNext=this.calculateNextSlide(),this.nextSlide=$(this.$slides[this.slideNext]),this.nextSlide.addClass("next")},setPrevSlide(){this.prevSlide&&this.prevSlide.removeClass("prev"),this.slidePrev=this.calculatePrevSlide(),this.prevSlide=$(this.$slides[this.slidePrev]),this.prevSlide.addClass("prev")},addEventHandlers(){var i=this,e="slider-"+this.sliderId;if($(window).off("resize."+e).on("resize."+e,e=>this.resize(e)),this.eventsEnabled){if(i.$navNext&&i.$navNext.off("click.slider").on("click.slider",e=>this.next(e)),i.$navPrev&&i.$navPrev.off("click.slider").on("click.slider",e=>this.prev(e)),i.$navLinks.length&&i.$navLinks.each(function(t){$(this).off("click.slider").on("click.slider",function(e){i.to(t)})}),this.$slidesWrapper.off("mouseenter.slider").on("mouseenter.slider",e=>
1this.stop(e)),this.$slidesWrapper.off("mouseleave.slider").on("mouseleave.slider",e=>this.play(e)),this.isTouchSupported){const t=e=>{var t=e.pointerType||e.originalEvent.pointerType;!this.isPointerEvent||"pen"!==t&&"touch"!==t?this.isPointerEvent||(this.touchStartX=e.touches[0].clientX):this.touchStartX=e.clientX},n=e=>{e.touches&&1<e.touches.length?this.touchDeltaX=0:this.touchDeltaX=e.touches[0].clientX-this.touchStartX},a=e=>{var t=e.pointerType||e.originalEvent.pointerType;!this.isPointerEvent||"pen"!==t&&"touch"!==t||(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),this.stop(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.play(e),500+this.config.interval)};this.isPointerEvent?(this.$element.off("pointerdown.slider").on("pointerdown.slider",e=>t(e)),this.$element.off("pointerup.slider").on("pointerup.slider",e=>a(e)),this.$element.addClass("pointer")):(this.$element.off("touchstart.slider").on("touchstart.slider",e=>t(e)),this.$element.off("touchmove.slider").on("touchmove.slider",e=>n(e)),this.$element.off("touchend.slider").on("touchend.slider",e=>a(e)))}!0===this.config.keyboard&&$(document).off("keydown."+e).on("keydown."+e,e=>this._handleKeyEvent(e))}},removeEventHandlers(){var e=this,t="slider-"+this.sliderId;$(window).off("resize."+t),this.eventsEnabled&&(e.$navNext&&e.$navNext.off("click.slider"),e.$navPrev&&e.$navPrev.off("click.slider"),e.$navLinks.length&&e.$navLinks.each(function(e){$(this).off("click.slider")}),this.$slidesWrapper.off("mouseenter.slider"),this.$slidesWrapper.off("mouseleave.slider"),this.isTouchSupported&&(this.isPointerEvent?(this.$element.off("pointerdown.slider"),this.$element.off("pointerup.slider"),this.$element.removeClass("pointer")):(this.$element.off("touchstart.slider"),this.$element.off("touchmove.slider"),this.$element.off("touchend.slider"))),!0===this.config.keyboard)&&$(document).off("keydown."+t)},isInViewport(){var e=this.$element.get(0).getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth;return 0<=e.top&&0<=e.left&&e.bottom<=t&&e.right<=i},_handleKeyEvent(e){e.target.tagName.toLowerCase().match("input|textarea|select")||-1==[37,39].indexOf(e.keyCode)||(37===e.keyCode&&this.isInViewport()?this.isRTL?this.next():this.prev():39===e.keyCode&&this.isInViewport()&&(this.isRTL?this.prev():this.next()))},_handleSwipe(){var e=Math.abs(this.touchDeltaX);e<=40||(e=e/this.touchDeltaX,(this.touchDeltaX=0)<e&&(this.isRTL?this.next():this.prev()),e<0&&(this.isRTL?this.prev():this.next()))},resetPagination(){this.reinit();var e=this.$element.find(".ch-slider-pagination");if(e.length){var t=e.find(".ch-slide-link").first(),i=t.length?t.attr("class"):(t=$('<div class="ch-slide-link"><i class="fa fa-circle"></i></div>'),"ch-slide-link"),n=t.contents().clone(),a=this.$slides.length;e.empty();for(var r=0;r<a;r++){var o=$('<div class="'+i+'"></div>');o.append(n.clone()),o.removeClass("active"),e.append(o)}this.reinit()}}},Chimpify.extend("Slider",{$:null,root:document.documentElement,sliding:!1,sliders:new WeakMap,init:function(){this.$=window.Builder&&window.Builder.version?$$:$;var t=this,e=(this.dropdownTriggers=[],this.dropdownMenus=[],$(".ch-slider")),i=1;
1e.each(function(){var e=$(this);e.data("sliderId",i),t.sliders.set(e[0],new Slider(e)),i++})},getInstance(e){return e&&e.length&&this.sliders.has(e[0])?this.sliders.get(e[0]):new Slider(e)},goto:function(e,t){this.getInstance(e).to(t)},getCurrentSlide:function(e){return this.getInstance(e).getCurrentSlide()},destroy:function(e){this.getInstance(e).destroy()},reinit:function(e){this.getInstance(e).reinit()},resetPagination:function(e){this.getInstance(e).resetPagination()}}),Chimpify.Slider.init()}catch(e){console.log(e)}try{function Toggle(e,t){this.init(e,t)}Toggle.prototype={defaultConfig:{single:!1,closable:!0},classPrefix:".ch-toggle",element:null,items:[],triggers:[],init:function(e,t){void 0!==t&&(this.classPrefix=t),this.eventsEnabled=!(Chimpify&&Chimpify.isBuilder),this.config={...this.defaultConfig},this.$element=e,this.$items=this.$element.find(this.classPrefix+"-item"),this.$items.length&&(this.$element.attr("data-single")&&"1"==this.$element.attr("data-single")&&(this.config.single=!0),this.$element.attr("data-closable")&&"0"==this.$element.attr("data-closable")&&(this.config.closable=!1),this.addEventHandlers())},toggle(t,e){var i=this,n=this.$items.get(t),a=$(n);a.length&&(void 0===e&&!0===this.config.single&&this.$items.each(function(e){e!=t&&i.$items.get(e).classList.contains("active")&&i.toggle(e,!0)}),n=a.find(this.classPrefix+"-content-wrapper").first(),a.hasClass("active")?!i.config.closable&&void 0===e||(n.css({maxHeight:""}),a.removeClass("active")):(n.css({maxHeight:n[0].scrollHeight}),a.addClass("active")),void 0===e)&&this.triggers.forEach(function(e){e.call(i,a)})},clickHandler(e){e=e.target.matches(this.classPrefix+"-item")?$(e.target):$(e.target).parents(this.classPrefix+"-item").first(),e=this.$items.index(e);this.toggle(e)},destroy(){this.removeEventHandlers(),this.$items.removeClass("active"),this.$element.find(this.classPrefix+"-content-wrapper").css({maxHeight:""}).removeAttr("style")},reinit(){var e=this.$element;this.destroy(),this.init(e)},addEventHandlers(){var t=this;this.eventsEnabled&&t.$items.each(function(){$(this).find(t.classPrefix+"-panel").off("click.toggle").on("click.toggle",e=>t.clickHandler(e))})},removeEventHandlers(){var e=this;e.$items.each(function(){$(this).find(e.classPrefix+"-panel").off("click.toggle")})},addToggleTrigger(e){"function"==typeof e&&this.triggers.push(e)}},Chimpify.extend("Toggle",{$:null,root:document.documentElement,toggles:new WeakMap,init:function(){this.$=window.Builder&&window.Builder.version?$$:$,this.initToggles()},initToggles(t){t=t||".ch-toggle";var i=this;
1$(t).each(function(){var e=$(this);i.toggles.set(e[0],new Toggle(e,t))})},getInstance(e){return e&&e.length&&this.toggles.has(e[0])?this.toggles.get(e[0]):new Toggle(e)},toggle:function(e,t){this.getInstance(e).toggle(t)},destroy:function(e){this.getInstance(e).destroy()},reinit:function(e){this.getInstance(e).reinit()},addToggleTrigger:function(e,t){this.getInstance(e).addToggleTrigger(t)}}),Chimpify.Toggle.init()}catch(e){console.log(e)}try{function Video(e){this.init(e)}Video.prototype={defaultConfig:{autoplay:!1},config:{},$element:null,$playControl:null,url:null,videoId:null,videoIndex:null,urlMatch:null,videoUrlVendors:{youtube:{re:[/^https?:\/\/(?:www\.)?youtube\.com\/(?:tv#\/)?watch\/?\?(?:[^&]+&)*v=([a-zA-Z0-9_-]+)/i,/^https?:\/\/youtu.be\/([a-zA-Z0-9_-]+)/i,/^https?:\/\/m\.youtube\.com\/#\/watch\?(?:[^&]+&)*v=([a-zA-Z0-9_-]+)/i,/^https?:\/\/www\.youtube\.com\/embed\/([a-zA-Z0-9_-]+)/i,/^https?:\/\/www\.youtube\.com\/v\/([a-zA-Z0-9_-]+)/i,/^https?:\/\/www\.youtube\.com\/user\/[a-zA-Z0-9_-]+\/?\?v=([a-zA-Z0-9_-]+)/i,/^https?:\/\/www\.youtube-nocookie\.com\/(?:v|embed)\/([a-zA-Z0-9_-]+)/i],title:"YouTube",embedCode(e){var t="https://www.youtube.com/embed/"+e.id+"?rel=0&";return'<iframe src="'+(t+=e.autoplay?"autoplay=1":"autoplay=0")+'" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen" allowfullscreen></iframe>'}},vimeo:{re:[/^https:\/\/vimeo\.com(?:\/channels?\/\w+)?\/(\d+)/i],title:"Vimeo",embedCode(e){var t="https://player.vimeo.com/video/"+e.id;return t+=e.autoplay?"?autoplay=1&loop=0&autopause=0":"?autoplay=0",e.originalUrl.match(/controls=0/)&&(t+="&controls=0"),'<iframe src="'+t+'" width="640" height="360" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>'}},dailymotion:{re:[/^(?:https?:)?\/\/(?:www\.)?dailymotion\.com\/(?:swf|embed)?\/?video\/([_a-zA-Z0-9\-]+)/i,/^(?:https?:)?\/\/(?:www\.)?dailymotion\.com\/swf\/([_a-zA-Z0-9\-]+)/i,/^(?:https?:)?\/\/dai.ly\/([_a-zA-Z0-9\-]+)/i],title:"Dailymotion",embedCode(e){var t="https://www.dailymotion.com/embed/video/"+e.id+"?mute=1";return'<iframe frameborder="0" type="text/html" src="'+(t+=e.autoplay?"&autoplay=1":"&autoplay=0")+'" width="100%" height="100%" allowfullscreen allow="autoplay"></iframe>'}},wistia:{re:[/^https?:\/\/([a-zA-Z0-9_\-]+)\.wistia\.com\/medias\/([_a-zA-Z0-9]+)/i,/^https?:\/\/([a-zA-Z0-9_\-]+)\.wistia\.net\/embed\/iframe\/([_a-zA-Z0-9]+)/i],title:"Wistia",embedCode(e){var t="https://fast.wistia.net/embed/iframe/"+e.id;return'<iframe frameborder="0" type="text/html" src="'+(t+=e.autoplay?"?autoPlay=true":"?autoPlay=false")+'" width="100%" height="100%" allowfullscreene allowtransparency="true" allow="autoplay"></iframe>'}},loom:{re:[/^https?:\/\/www\.loom\.com\/share\/([_a-zA-Z0-9]+)/i],embedCode(e){var t="https://www.loom.com/embed/"+e.id;return'<iframe frameborder="0" type="text/html" src="'+(t+=e.autoplay?"?autoplay=1":"?autoplay=0")+'" width="100%" height="100%" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'}}},init:function(e){this.eventsEnabled=!(Chimpify&&Chimpify.isBuilder),this.config={...this.defaultConfig},this.$element=e,this.$playControl=this.$element.find(".ch-video-control-play"),this.$element.attr("data-url")&&(this.url=this.$element.attr("data-url")),(this.$element.attr("data-autoplay")&&"1"==this.$element.attr("data-autoplay")||this.url.match(/autoplay=1/))&&(this.config.autoplay=!0),this.videoIndex=this.$element.data("videoIndex"),this.$element.removeClass("ch-video-state-play"),this.vendor=null,this.videoId=null,this.detectVendor(),this.addEventHandlers(),this.maybePlay()},detectVendor(){var n,a;if(this.url)return n=this,a=!1,Object.keys(n.videoUrlVendors).some(function(e){var t;if(!a)for(t of n.videoUrlVendors[e].re){var i=n.url.match(t);if(i){n.vendor=e,n.videoId=i[i.length-1],a=!0;break}}}),a},play(){if(this.vendor&&this.videoId){var e=this,t={id:this.videoId,autoplay:this.config.autoplay,originalUrl:this.url},t=this.videoUrlVendors[this.vendor].embedCode(t),i=this.$element.height();this.$element.find("iframe,embed,object").remove(),this.$element.append($(t)),this.$element.css({minHeight:i}),e.$element.addClass("ch-video-state-play-pre"),setTimeout(function(){e.$element.addClass("ch-video-state-play"),e.$element.removeClass("ch-video-state-play-pre")},2e3),this.resize();for(var n=300;n<=1200;n+=300)setTimeout(()=>{this.resize()},n);this.$element.css({minHeight:""}),this.$element.off("click.video")}},maybePlay(){this.$element.hasClass("ch-video-twoclick")||this.play()},clickplayHandler(e){e.target&&e.target.tagName&&-1<["A","BUTTON"].indexOf(e.target.tagName)||(e.preventDefault(),this.config.auto
1play=!0,this.play(!0))},iframeRescale(e,t){var i=parseInt(t.split(":")[0]),t=parseInt(t.split(":")[1])/i,i=e.getBoundingClientRect().width;e.style.height=Math.round(t*i)+"px"},resize(){var e=this.$element.find("iframe");e.length&&this.iframeRescale(e.get(0),"16:9")},destroy(){this.removeEventHandlers()},reinit(){var e=this.$element;this.destroy(),this.init(e)},addEventHandlers(){var e="video-"+this.videoIndex;$(window).off("resize."+e).on("resize."+e,e=>this.resize(e)),this.eventsEnabled&&this.$element.length&&this.$element.off("click.video").on("click.video",e=>this.clickplayHandler(e))},removeEventHandlers(){var e="video-"+this.videoIndex;$(window).off("resize."+e),this.$element.length&&this.$element.off("click.video")},vendorConfig(){return this.vendor&&this.vendor in this.videoUrlVendors?$.extend(!0,{id:this.videoId,vendor:this.vendor},this.videoUrlVendors[this.vendor]):null}},Chimpify.extend("Video",{$:null,root:document.documentElement,videos:new WeakMap,init:function(){this.$=window.Builder&&window.Builder.version?$$:$;var t=this,e=$(".ch-video"),i=1;
1e.each(function(){var e=$(this);e.data("videoIndex",i),t.videos.set(e[0],new Video(e)),i++})},getInstance(e){return e&&e.length&&this.videos.has(e[0])?this.videos.get(e[0]):new Video(e)},play:function(e,t){this.getInstance(e).play(t)},destroy:function(e){this.getInstance(e).destroy()},reinit:function(e){this.getInstance(e).reinit()}}),Chimpify.Video.init()}catch(e){console.log(e)}
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.