text: !function(e){var t=e(window),n=e("body");breakpoints({xlarge:["1281px","1680px"],large:["981px","1280px"],medium:["737px","980px"],small:[null,"736px"]}),t.on("load",function(){window.setTimeout(function(){n.removeClass("is-preload")},100)}),e("#nav > ul").dropotron({mode:"fade",noOpenerFade:!0,speed:300}),e('<div id="navToggle"><a href="#navPanel" class="toggle"></a></div>').appendTo(n),e('<div id="navPanel"><nav>'+e("#nav").navList()+"</nav></div>").appendTo(n).panel({delay:500,hideOnClick:!0,hideOnSwipe:!0,resetScroll:!0,resetForms:!0,side:"left",target:n,visibleClass:"navPanel-visible"})}(jQuery);var wheel=Draggable.create("#wheel",{type:"rotation",throwProps:!0,snap:function(e){return 90*Math.round(e/90)},onDrag:function(){},onThrowComplete:function(){dragActive()}});function dragActive(){var e,t=wheel[0].rotation/360,n=t%1,i=$("#wheel li").length,o=Math.round(i*n);e=t<0?Math.abs(o):i-o,0===n&&(e=0),TweenMax.staggerTo("#wheel li.active .details > *",.6,{opacity:0,y:-10},.1),$("#wheel li.active").removeClass("active"),$($("#wheel li")[e]).addClass("active"),TweenMax.staggerTo("#wheel li.active .details > *",.6,{opacity:1,y:0},.1)}function rotateDraggable(e,t){var n=wheel[0].rotation;(new TimelineMax).to("#wheel",.5,{rotation:n+e,onComplete:function(){t()}}),wheel[0].rotation=n+e}function nextHandler(){var e=$("#wheel li.active")+1;e>$("#wheel li").length&&(e=1),rotateDraggable(360/$("#wheel li").length,dragActive)}function prevHandler(){var e=$("#wheel li.active")-1;e>1&&(e=$("#wheel li").length),rotateDraggable(-360/$("#wheel li").length,dragActive)}TweenMax.set("#wheel li:not(.active) .details> *",{opacity:0,y:-10}),TweenMax.set("#wheel li:not(.active) .circle> *",{opacity:0,y:-10}),$(".next").on("click",nextHandler),$(".prev").on("click",prevHandler);var square='<svg x="0px" y="0px" width="1200px" height="600px" viewBox="0 0 1200 600"><rect x="0.002" y="0.499" width="1200" height="600"/></svg>';window.onload=function(){list=document.querySelectorAll(".modal__trigger"),console.log(list,"load");for(var e=0;e<list.length;e++)list[e].addEventListener("click",function(e){e.preventDefault(),console.log("new click trigger")})},window.onload=function(){list=document.getElementsByClassName(".modal__trigger");for(var e=0;e<list.length;e++)list[e].addEventListener("touchend",function(e){e.preventDefault(),console.log("touched")}),list[e].addEventListener("clicked",function(e){e.preventDefault(),console.log("clicked")})};var Modal=function(){var e=s(".modal__trigger"),t=s(".modal"),n=s(".modal__bg"),i=s(".modal__content"),o=s(".modal__close"),a=window,l=!1,r=400,d=e.length;function s(e){return document.querySelectorAll(e)}var c=function(e){e.preventDefault();var t=this.dataset.modal,n=t.length,i=t.substring(1,n),o=document.getElementById(i);v(this,o)},v=function(e,t){if(null===document.getElementById("modal__temp")){var n=document.createElement("div");n.id="modal__temp",e.appendChild(n),u(e,t,n)}},u=function(e,t,n){var i,o,l,d,s=e.getBoundingClientRect(),c=t,v=c.querySelector(".modal__content").getBoundingClientRect(),u=a.innerWidth/2,g=a.innerHeight/2;e.classList.add("modal__trigger--active"),l=v.width/s.width,d=v.height/s.height,l=l.toFixed(3),d=d.toFixed(3),i=Math.round(u-s.left-s.width/2),o=Math.round(g-s.top-s.height/2),c.classList.contains("modal--align-top")&&(o=Math.round(v.height/2+v.top-s.top-s.height/2)),e.style.transform="translate("+i+"px, "+o+"px)",e.style.webkitTransform="translate("+i+"px, "+o+"px)",n.style.transform="scale("+l+","+d+")",n.style.webkitTransform="scale("+l+","+d+")",window.setTimeout(function(){window.requestAnimationFrame(function(){h(c,n)})},r)},h=function(e,t){if(!l){var n=e.querySelector(".modal__content");e.classList.add("modal--active"),n.classList.add("modal__content--active"),n.addEventListener("transitionend",function e(){t.style.opacity="0";n.removeEventListener("transitionend",e,!1)},!1),l=!0}},g=function(n){n.preventDefault(),n.stopImmediatePropagation();var o=n.target,a=document.getElementById("modal__temp");if(l&&o.classList.contains("modal__bg")||o.classList.contains("modal__close")){a.style.opacity="1",a.removeAttribute("style");for(var d=0;d<t.length;d++)t[d].classList.remove("modal--active"),i[d].classList.remove("modal__content--active"),e[d].style.transform="none",e[d].style.webkitTransform="none",e[d].classList.remove("modal__trigger--active");a.addEventListener("transitionend",function(){setTimeout(function(){window.requestAnimationFrame(function(){a.remove()})},r-50)},!1),l=!1}};function m(){var e=!1;function t(n){n.stopPropagation(),window.removeEventListener("touchend",t,!0),e=!1}window.addEventListener("touchmove",function(n){e||(e=!0,window.addEventListener("touchend",t,!0))},!0)}return{init:function(){!function(){for(var t=0;t<d;t++)e[t].addEventListener("click",c,!1),e[t].addEventListener("touchend",c,m(),!1),e[t].addEventListener("touchendoutside",c,m(),!1),o[t].addEventListener("click",g,!1),o[t].addEventListener("touchend",g,!1),n[t].addEventListener("click",g,!1),n[t].addEventListener("touchend",g,!1)}()}}}();Modal.init(),setTimeout(function(){$(".lead").fadeIn("slow")},1500),$.each($("*"),function(){$(this).width()>$("body").width()&&console.log($(this).get(0))}).length;