$(document).ready(function(){"use strict";document.body.className=(document.body.className.length?document.body.className+" ":"")+"init",Canvas.init(),hash(),mobiNav(),scroll(),setTimeout(animBody,0),Product.init(),Home.init(),cbModule.init()});var animBody=function(){$("main").addClass("initialized")},hash=function(){$("a.hash,.hash a").click(function(){var n=$(this).attr("href"),i=n.indexOf("#");if(n=n.substring(i),$(n).length>0)return $("html,body").animate({scrollTop:$(n).offset().top-("none"!=$("nav cite").css("display")?0:$("nav").height())+"px"},750),!1})},mobiNav=function(){var n=!0,i=!1;$(".hamburger-icon").on("click",function(){if(i)return!1;i=!0,n?($("body").addClass("modal-open"),$(".mobile-menu-wrapper").addClass("showing").off("animationstart").on("animationstart",function(){$(".hamburger-icon").addClass("open")}).off("animationend").on("animationend",function(){$(".mobile-menu").removeClass("hid"),$(this).addClass("shown").removeClass("showing"),i=!1}),n=!1):($("body").removeClass("modal-open"),$(".mobile-menu").addClass("hid"),$(".mobile-menu-wrapper").addClass("hiding").off("animationstart").on("animationstart",function(){$(".hamburger-icon").removeClass("open")}).off("animationend").on("animationend",function(){$(this).removeClass("shown").removeClass("hiding"),i=!1}),n=!0)}),$(".mobile-menu").find("li a").on("click",function(){$(".hamburger-icon").click()})},scroll=function(){var n=function(){$(window).scrollTop()<=parseInt($("header .nav").css("top"))?$("nav").removeClass("view slide"):$("nav").addClass("view");var n=$(window).scrollTop()+$("nav").height(),i=$(window).scrollTop()+$(window).height();$(".trans").not(".inview").each(function(){var o=$(this).offset().top;o+$(this).height()>n&&o0?parseInt(n.substring(msie+5,n.indexOf(".",msie)),10):n.indexOf("Trident/")>0&&parseInt(n.substring(n.indexOf("rv:")+3,n.indexOf(".",n.indexOf("rv:"))),10)};