File: D:/HostingSpaces/Velosophe/carparkcannonball.cc/wwwroot/assets/scripts/mobile-36306d5249.js
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,i=-1,n=function(t){return parseFloat(t)||0},o=function(e){var i=null,o=[];return t(e).each(function(){var e=t(this),r=e.offset().top-n(e.css("margin-top")),a=o.length>0?o[o.length-1]:null;null===a?o.push(e):Math.floor(Math.abs(i-r))<=1?o[o.length-1]=a.add(e):o.push(e),i=r}),o},r=function(e){var i={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(i,e):("boolean"==typeof e?i.byRow=e:"remove"===e&&(i.remove=!0),i)},a=t.fn.matchHeight=function(e){var i=r(e);if(i.remove){var n=this;return this.css(i.property,""),t.each(a._groups,function(t,e){e.elements=e.elements.not(n)}),this}return this.length<=1&&!i.target?this:(a._groups.push({elements:this,options:i}),a._apply(this,i),this)};a.version="0.7.2",a._groups=[],a._throttle=80,a._maintainScroll=!1,a._beforeUpdate=null,a._afterUpdate=null,a._rows=o,a._parse=n,a._parseOptions=r,a._apply=function(e,i){var s=r(i),c=t(e),d=[c],l=t(window).scrollTop(),u=t("html").outerHeight(!0),h=c.parents().filter(":hidden");return h.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),h.css("display","block"),s.byRow&&!s.target&&(c.each(function(){var e=t(this),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block"),e.data("style-cache",e.attr("style")),e.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),d=o(c),c.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(d,function(e,i){var o=t(i),r=0;if(s.target)r=s.target.outerHeight(!1);else{if(s.byRow&&o.length<=1)return void o.css(s.property,"");o.each(function(){var e=t(this),i=e.attr("style"),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block");var o={display:n};o[s.property]="",e.css(o),e.outerHeight(!1)>r&&(r=e.outerHeight(!1)),i?e.attr("style",i):e.css("display","")})}o.each(function(){var e=t(this),i=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(i+=n(e.css("border-top-width"))+n(e.css("border-bottom-width")),i+=n(e.css("padding-top"))+n(e.css("padding-bottom"))),e.css(s.property,r-i+"px"))})}),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),a._maintainScroll&&t(window).scrollTop(l/u*t("html").outerHeight(!0)),this},a._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var i=t(this),n=i.attr("data-mh")||i.attr("data-match-height");e[n]=n in e?e[n].add(i):i}),t.each(e,function(){this.matchHeight(!0)})};var s=function(e){a._beforeUpdate&&a._beforeUpdate(e,a._groups),t.each(a._groups,function(){a._apply(this.elements,this.options)}),a._afterUpdate&&a._afterUpdate(e,a._groups)};a._update=function(n,o){if(o&&"resize"===o.type){var r=t(window).width();if(r===e)return;e=r}n?-1===i&&(i=setTimeout(function(){s(o),i=-1},a._throttle)):s(o)},t(a._applyDataApi);var c=t.fn.on?"on":"bind";t(window)[c]("load",function(t){a._update(!1,t)}),t(window)[c]("resize orientationchange",function(t){a._update(!0,t)})}),function(){"use strict";function t(e,n){var o;if(n=n||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=n.touchBoundary||10,this.layer=e,this.tapDelay=n.tapDelay||200,this.tapTimeout=n.tapTimeout||700,!t.notNeeded(e)){for(var r=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],a=this,s=0,c=r.length;s<c;s++)a[r[s]]=function(t,e){return function(){return t.apply(e,arguments)}}(a[r[s]],a);i&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,i,n){var o=Node.prototype.removeEventListener;"click"===t?o.call(e,t,i.hijacked||i,n):o.call(e,t,i,n)},e.addEventListener=function(t,i,n){var o=Node.prototype.addEventListener;"click"===t?o.call(e,t,i.hijacked||(i.hijacked=function(t){t.propagationStopped||i(t)}),n):o.call(e,t,i,n)}),"function"==typeof e.onclick&&(o=e.onclick,e.addEventListener("click",function(t){o(t)},!1),e.onclick=null)}}var e=navigator.userAgent.indexOf("Windows Phone")>=0,i=navigator.userAgent.indexOf("Android")>0&&!e,n=/iP(ad|hone|od)/.test(navigator.userAgent)&&!e,o=n&&/OS 4_\d(_\d)?/.test(navigator.userAgent),r=n&&/OS [6-7]_\d/.test(navigator.userAgent),a=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(n&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!i;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var i,n;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),n=e.changedTouches[0],(i=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(t),!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),i.forwardedTouchEvent=!0,t.dispatchEvent(i)},t.prototype.determineEventType=function(t){return i&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;n&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,i;if(!(e=t.fastClickScrollParent)||!e.contains(t)){i=t;do{if(i.scrollHeight>i.offsetHeight){e=i,t.fastClickScrollParent=i;break}i=i.parentElement}while(i)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,i,r;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),i=t.targetTouches[0],n){if((r=window.getSelection()).rangeCount&&!r.isCollapsed)return!0;if(!o){if(i.identifier&&i.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=i.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=i.pageX,this.touchStartY=i.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],i=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>i||Math.abs(e.pageY-this.touchStartY)>i},t.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,a,s,c,d,l=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,a=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,r&&(d=t.changedTouches[0],(l=document.elementFromPoint(d.pageX-window.pageXOffset,d.pageY-window.pageYOffset)||l).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(s=l.tagName.toLowerCase())){if(e=this.findControl(l)){if(this.focus(l),i)return!1;l=e}}else if(this.needsFocus(l))return t.timeStamp-a>100||n&&window.top!==window&&"input"===s?(this.targetElement=null,!1):(this.focus(l),this.sendClick(l,t),n&&"select"===s||(this.targetElement=null,t.preventDefault()),!1);return!(!n||o||!(c=l.fastClickScrollParent)||c.fastClickLastScrollTop===c.scrollTop)||(this.needsClick(l)||(t.preventDefault(),this.sendClick(l,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return!this.targetElement||(!!t.forwardedTouchEvent||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail||((e=this.onMouse(t))||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;i&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,n,o;if(void 0===window.ontouchstart)return!0;if(n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!i)return!0;if(e=document.querySelector("meta[name=viewport]")){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(n>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(a&&(o=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/))[1]>=10&&o[2]>=3&&(e=document.querySelector("meta[name=viewport]"))){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(e=document.querySelector("meta[name=viewport]"))&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||"none"===t.style.touchAction||"manipulation"===t.style.touchAction)},t.attach=function(e,i){return new t(e,i)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports?(module.exports=t.attach,module.exports.FastClick=t):window.FastClick=t}();var imgLiquid=imgLiquid||{VER:"0.9.944"};imgLiquid.bgs_Available=!1,imgLiquid.bgs_CheckRunned=!1,imgLiquid.injectCss=".imgLiquid img {visibility:hidden}",function(t){function e(){if(!imgLiquid.bgs_CheckRunned){imgLiquid.bgs_CheckRunned=!0;var e=t('<span style="background-size:cover" />');t("body").append(e),function(){var t=e[0];if(t&&window.getComputedStyle){var i=window.getComputedStyle(t,null);i&&i.backgroundSize&&(imgLiquid.bgs_Available="cover"===i.backgroundSize)}}(),e.remove()}}t.fn.extend({imgLiquid:function(i){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},e();var n=this;return this.options=i,this.settings=t.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function i(){function n(){l.data("imgLiquid_error")||l.data("imgLiquid_loaded")||l.data("imgLiquid_oldProcessed")||(d.is(":visible")&&l[0].complete&&l[0].width>0&&l[0].height>0?(l.data("imgLiquid_loaded",!0),setTimeout(a,e*c.delay)):setTimeout(n,c.timecheckvisibility))}if(l.data("oldSrc")&&l.data("oldSrc")!==l.attr("src")){var s=l.clone().removeAttr("style");return s.data("imgLiquid_settings",l.data("imgLiquid_settings")),l.parent().prepend(s),l.remove(),l=s,l[0].width=0,void setTimeout(i,10)}l.data("imgLiquid_oldProcessed")?a():(l.data("imgLiquid_oldProcessed",!1),l.data("oldSrc",l.attr("src")),t("img:not(:first)",d).css("display","none"),d.css({overflow:"hidden"}),l.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),l.on("error",r),l[0].onerror=r,n(),o())}function o(){(c.responsive||l.data("imgLiquid_oldProcessed"))&&l.data("imgLiquid_settings")&&(c=l.data("imgLiquid_settings"),d.actualSize=d.get(0).offsetWidth+d.get(0).offsetHeight/1e4,d.sizeOld&&d.actualSize!==d.sizeOld&&a(),d.sizeOld=d.actualSize,setTimeout(o,c.responsiveCheckTime))}function r(){l.data("imgLiquid_error",!0),d.addClass("imgLiquid_error"),c.onItemError&&c.onItemError(e,d,l),s()}function a(){var t,i,n,o,r,a,u,h,f=0,m=0,p=d.width(),g=d.height();void 0===l.data("owidth")&&l.data("owidth",l[0].width),void 0===l.data("oheight")&&l.data("oheight",l[0].height),c.fill===p/g>=l.data("owidth")/l.data("oheight")?(t="100%",i="auto",n=Math.floor(p),o=Math.floor(p*(l.data("oheight")/l.data("owidth")))):(t="auto",i="100%",n=Math.floor(g*(l.data("owidth")/l.data("oheight"))),o=Math.floor(g)),u=p-n,"left"===(r=c.horizontalAlign.toLowerCase())&&(m=0),"center"===r&&(m=.5*u),"right"===r&&(m=u),-1!==r.indexOf("%")&&(r=parseInt(r.replace("%",""),10))>0&&(m=u*r*.01),h=g-o,"left"===(a=c.verticalAlign.toLowerCase())&&(f=0),"center"===a&&(f=.5*h),"bottom"===a&&(f=h),-1!==a.indexOf("%")&&(a=parseInt(a.replace("%",""),10))>0&&(f=h*a*.01),c.hardPixels&&(t=n,i=o),l.css({width:t,height:i,"margin-left":Math.floor(m),"margin-top":Math.floor(f)}),l.data("imgLiquid_oldProcessed")||(l.fadeTo(c.fadeInTime,1),l.data("imgLiquid_oldProcessed",!0),c.removeBoxBackground&&d.css("background-image","none"),d.addClass("imgLiquid_nobgSize"),d.addClass("imgLiquid_ready")),c.onItemFinish&&c.onItemFinish(e,d,l),s()}function s(){e===n.length-1&&n.settings.onFinish&&n.settings.onFinish()}var c=n.settings,d=t(this),l=t("img:first",d);l.length?(l.data("imgLiquid_settings")?(d.removeClass("imgLiquid_error").removeClass("imgLiquid_ready"),c=t.extend({},l.data("imgLiquid_settings"),n.options)):c=t.extend({},n.settings,function(){var t={};if(n.settings.useDataHtmlAttr){var e=d.attr("data-imgLiquid-fill"),i=d.attr("data-imgLiquid-horizontalAlign"),o=d.attr("data-imgLiquid-verticalAlign");"true"!==e&&"false"!==e||(t.fill=Boolean("true"===e)),void 0===i||"left"!==i&&"center"!==i&&"right"!==i&&-1===i.indexOf("%")||(t.horizontalAlign=i),void 0===o||"top"!==o&&"bottom"!==o&&"center"!==o&&-1===o.indexOf("%")||(t.verticalAlign=o)}return imgLiquid.isIE&&n.settings.ieFadeInDisabled&&(t.fadeInTime=0),t}()),l.data("imgLiquid_settings",c),c.onItemStart&&c.onItemStart(e,d,l),imgLiquid.bgs_Available&&c.useBackgroundSize?(-1===d.css("background-image").indexOf(encodeURI(l.attr("src")))&&d.css({"background-image":'url("'+encodeURI(l.attr("src"))+'")'}),d.css({"background-size":c.fill?"cover":"contain","background-position":(c.horizontalAlign+" "+c.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),t("a:first",d).css({display:"block",width:"100%",height:"100%"}),t("img",d).css({display:"none"}),c.onItemFinish&&c.onItemFinish(e,d,l),d.addClass("imgLiquid_bgSize"),d.addClass("imgLiquid_ready"),s()):i()):r()})}})}(jQuery),function(){var t=imgLiquid.injectCss,e=document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t)),e.appendChild(i)}(),function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("div");o.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',n.appendChild(o.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var n=".fitvidsignore";i.ignore&&(n=n+", "+i.ignore);var o=t(this).find(e.join(","));(o=(o=o.not("object object")).not(n)).each(function(){var e=t(this);if(!(e.parents(n).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("name")){var o="fitvid"+t.fn.fitVids._count;e.attr("name",o),t.fn.fitVids._count++}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto),function t(e,i,n){function o(a,s){if(!i[a]){if(!e[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(r)return r(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var l=i[a]={exports:{}};e[a][0].call(l.exports,function(t){var i=e[a][1][t];return o(i||t)},l,l.exports,t,e,i,n)}return i[a].exports}for(var r="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,i){var n=t(4);e.exports=function(t,e,i){return void 0===i?n(t,e,!1):n(t,i,!1!==e)}},{}],2:[function(t,e,i){e.exports={throttle:t(4),debounce:t(1)}},{}],3:[function(t,e,i){(function(e){var i=t(2),n=("undefined"!=typeof window?window.$:void 0!==e?e.$:null)||e;n.throttle=i.throttle,n.debounce=i.debounce}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(t,e,i){(function(t){var i="undefined"!=typeof window?window.$:void 0!==t?t.$:null;e.exports=function(t,e,n,o){function r(){function i(){s=Number(new Date),n.apply(r,d)}var r=this,c=Number(new Date)-s,d=arguments;o&&!a&&i(),a&&clearTimeout(a),void 0===o&&c>t?i():!0!==e&&(a=setTimeout(o?function(){a=void 0}:i,void 0===o?t-c:t))}var a,s=0;return"boolean"!=typeof e&&(o=n,n=e,e=void 0),i&&i.guid&&(r.guid=n.guid=n.guid||i.guid++),r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[3]);var rodeskBreakpoints=function(){var t=function(t){return("string"==typeof t||t instanceof String)&&(t=t.replace(/[^a-zA-Z ]/g,"")),t},e=function(){var e=null;return window.getComputedStyle&&window.getComputedStyle(document.body,"::after")?e=(e=window.getComputedStyle(document.body,"::after")).content:(window.getComputedStyle=function(t){return this.el=t,this.getPropertyValue=function(e){var i=/(\-([a-z]){1})/g;return i.test(e)&&(e=e.replace(i,function(){return arguments[2].toUpperCase()})),t.currentStyle[e]?t.currentStyle[e]:null},this},e=(e=window.getComputedStyle(document.getElementsByTagName("head")[0])).getPropertyValue("font-family")),t(e)};return{isBreakpoint:function(t){var i={small:["small","compact","medium","large","wide","huge"],compact:["compact","medium","large","wide","huge"],medium:["medium","large","wide","huge"],large:["large","wide","huge"],wide:["wide","huge"],huge:["huge"]},n=e();return-1!==jQuery.inArray(n,i[t])},getBreakpoint:e}}(jQuery),rodeskVideo=function(){var t,e={videoPlay:".js-video .c-video__play"},i=function(t){if($videoId=$(this).attr("data-id"),$videoType=$(this).attr("data-type"),$videoWrapper=$(this).parent(),"vimeo"===$videoType)jQuery.ajax({url:"https://vimeo.com/api/v2/video/"+$videoId+".json",dataType:"jsonp",type:"GET",success:function(t){$videoWrapper.html('<iframe src="https://player.vimeo.com/video/'+$videoId+'?autoplay=1" width="685" height="386" frameborder="0" webkitAllowFullScreen mozallowfullscreen autoPlay allowFullScreen></iframe>'),$videoWrapper.fitVids()}});else{if("youtube"!==$videoType)return!1;jQuery.ajax({url:"https://www.googleapis.com/youtube/v3/videos?part=id,snippet&id="+$videoId+"&key=AIzaSyAXBfQgG0HgqLQmJW97m0ru9AOUXaM5O0I",dataType:"jsonp",type:"GET",success:function(t){$videoWrapper.html('<iframe src="https://www.youtube.com/embed/'+$videoId+'?autoplay=1" width="685" height="386" frameborder="0" allowfullscreen webkitAllowFullScreen mozallowfullscreen autoPlay allowFullScreen></iframe>'),$videoWrapper.parent().fitVids()}})}},n=function(){$(t.videoPlay).on("click",i)};return{init:function(i){i=i||{},t=$.extend({},e,i),n()}}}(jQuery),rodeskDefaults=function(){var t=function(){Modernizr.svg||jQuery('img[src*="svg"]').attr("src",function(){return jQuery(this).attr("src").replace(".svg",".png")})},e=function(){return window.open($(this).attr("href")),!1},i=function(t){var e=$(this).find("a").not(".js-block-skip"),i=e.attr("href");return"external"===e.attr("rel")?window.open(i,"_blank"):window.location=i,!1},n=function(t){t.each(function(e,i){var n=$(i).find("img");new RegExp(/%[0-9A-Z]{2}/g).test(n.attr("src"))&&n.attr("src",decodeURIComponent(n.attr("src"))),t.imgLiquid()})},o=function(t){$(document).on("click",".js-block",i),$(document).on("click","a[rel='external']",e)};return{matchHeight:function(t){$.each(t,function(t,e){$(e).matchHeight()})},init:function(){t(),n($(".js-image-liquid")),o()}}}(jQuery),rodeskSmoothScroll=function(){var t=function(t){var e=t.target;t.preventDefault(),t.stopPropagation();var i=$(e).attr("href"),n=$(i).offset().top-$(".c-masthead").height();return $("html:not(:animated),body:not(:animated)").animate({scrollTop:n},700,function(){$("html,body").animate({scrollTop:n},0)}),$(t.target).hasClass("c-nav-main__link")&&rodeskMenu.toggleMenu(),!1};return{init:function(e){$(e).on("click",function(e){t(e)})}}}(jQuery),rodeskMenu=function(){var t,e={body:"body",container:".js-mainnav",toggleMenu:".js-toggle-menu",classes:{open:"is-open",noScroll:"no-scroll"}},i=function(){if($(document).height()>$(window).height()){var e=$("html").scrollTop()?$("html").scrollTop():$(document).scrollTop();$("html").attr("data-scrollpos",e),$("html").css("top",-e),setTimeout(function(){$(t.body).addClass(t.classes.noScroll)},240)}},n=function(){var e=parseInt($("html").css("top"));$(t.body).removeClass(t.classes.noScroll),e===e&&$("html, body").scrollTop(-e),$("html").removeAttr("data-scrollpos"),$("html").removeAttr("style")},o=function(){return $(t.container).hasClass(t.classes.open)},r=function(){o()?($(t.toggleMenu).removeClass(t.classes.open),$(t.container).removeClass(t.classes.open),n()):($(t.toggleMenu).addClass(t.classes.open),$(t.container).addClass(t.classes.open),i())},a=function(t){27===t.which&&o()&&_toggleMenu()},s=function(){$(document).on("click.rodeskMenuToggle",t.toggleMenu,r),$(document).on("keydown",a)};return{init:function(i){i=i||{},t=$.extend({},e,i),s()},toggleMenu:r}}(jQuery);!function(t){t(document).ready(function(){void 0,FastClick.attach(document.body),rodeskDefaults.init(),rodeskSmoothScroll.init(".js-smooth-scroll"),rodeskMenu.init(),rodeskVideo.init();var t=[".js-match-height"];rodeskDefaults.matchHeight(t)}),t(window).on("resize",t.debounce(100,function(){})),t(window).on("scroll",t.throttle(100,function(){}))}(jQuery);