File: /home/bohousj/www/wp-content/cache/wpfc-minified/9mey2scc/2humv.js
!function(e){"use strict";function t(e){return new RegExp("(^|\\s+)"+e+"(\\s+|$)")}function o(e,t){var o=n(e,t)?a:i;o(e,t)}var n,i,a;"classList"in document.documentElement?(n=function(e,t){return e.classList.contains(t)},i=function(e,t){e.classList.add(t)},a=function(e,t){e.classList.remove(t)}):(n=function(e,o){return t(o).test(e.className)},i=function(e,t){n(e,t)||(e.className=e.className+" "+t)},a=function(e,o){e.className=e.className.replace(t(o)," ")});var r={hasClass:n,addClass:i,removeClass:a,toggleClass:o,has:n,add:i,remove:a,toggle:o};"function"==typeof define&&define.amd?define(r):e.classie=r}(window),function(e){var t=document.createElement("div");document.documentElement.appendChild(t),t.style.WebkitOverflowScrolling="touch";var o="getComputedStyle"in e&&"touch"===e.getComputedStyle(t)["-webkit-overflow-scrolling"];document.documentElement.removeChild(t);var n=0,i=!1,a=function(t){for(var o=t.target;o!==document.body;){var i=e.getComputedStyle(o);if(!i)break;var a=i.getPropertyValue("-webkit-overflow-scrolling"),r=i.getPropertyValue("overflow-y"),s=parseInt(i.getPropertyValue("height"),10),c="touch"===a&&("auto"===r||"scroll"===r),u=o.scrollHeight>o.offsetHeight;if(c&&u){var l=t.touches?t.touches[0].screenY:t.screenY,d=n<=l&&0===o.scrollTop,p=n>=l&&o.scrollHeight-o.scrollTop===s;return void((d||p)&&t.preventDefault())}o=o.parentNode}t.preventDefault()},r=function(e){n=e.touches?e.touches[0].screenY:e.screenY},s=function(){return!!o&&(e.addEventListener("touchstart",r,!1),e.addEventListener("touchmove",a,!1),void(i=!0))},c=function(){return!!o&&(e.removeEventListener("touchstart",r,!1),e.removeEventListener("touchmove",a,!1),void(i=!1))},u=function(){return i},l={enable:s,disable:c,isEnabled:u};"undefined"!=typeof module&&module.exports&&(module.exports=l),e.iNoBounce=l}(window),function(e){"use strict";e.fn.fitVids=function(t){var o={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var n=document.head||document.getElementsByTagName("head")[0],i=".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%;}",a=document.createElement("div");a.innerHTML='<p>x</p><style id="fit-vids-style">'+i+"</style>",n.appendChild(a.childNodes[1])}return t&&e.extend(o,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];o.customSelector&&t.push(o.customSelector);var n=".fitvidsignore";o.ignore&&(n=n+", "+o.ignore);var i=e(this).find(t.join(","));i=i.not("object object"),i=i.not(n),i.each(function(){var t=e(this);if(!(t.parents(n).length>0||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var o="object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height(),i=isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10),a=o/i;if(!t.attr("name")){var r="fitvid"+e.fn.fitVids._count;t.attr("name",r),e.fn.fitVids._count++}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*a+"%"),t.removeAttr("height").removeAttr("width")}})})},e.fn.fitVids._count=0}(window.jQuery||window.Zepto),function(e){"use strict";e.fn.isOnScreen=function(){var t=e(window),o={top:t.scrollTop(),left:t.scrollLeft()};o.right=o.left+t.width(),o.bottom=o.top+t.height();var n=this.offset();return n.right=n.left+this.outerWidth(),n.bottom=n.top+this.outerHeight(),!(o.right<n.left||o.left>n.right||o.bottom<n.top||o.top>n.bottom)}}(window.jQuery),function(e,t,o){"function"==typeof define&&define.amd?define(["jquery"],function(n){return o(n,e,t),n.mobile}):o(e.jQuery,e,t)}(this,document,function(e,t,o,n){!function(t){"function"==typeof define&&define.amd?define("vmouse",["jquery"],t):t(e)}(function(e){function t(e){for(;e&&"undefined"!=typeof e.originalEvent;)e=e.originalEvent;return e}function i(o,i){var a,r,s,c,u,l,d,p,h,f=o.type;if(o=e.Event(o),o.type=i,a=o.originalEvent,r=x,f.search(/^(mouse|click)/)>-1&&(r=C),a)for(d=r.length;d;)c=r[--d],o[c]=a[c];if(f.search(/mouse(down|up)|click/)>-1&&!o.which&&(o.which=1),f.search(/^touch/)!==-1&&(s=t(a),f=s.touches,u=s.changedTouches,l=f&&f.length?f[0]:u&&u.length?u[0]:n))for(p=0,h=I.length;p<h;p++)c=I[p],o[c]=l[c];return o}function a(t){for(var o,n,i={};t;){o=e.data(t,P);for(n in o)o[n]&&(i[n]=i.hasVirtualBinding=!0);t=t.parentNode}return i}function r(t,o){for(var n;t;){if(n=e.data(t,P),n&&(!o||n[o]))return t;t=t.parentNode}return null}function s(){B=!1}function c(){B=!0}function u(){R=0,z.length=0,A=!1,c()}function l(){s()}function d(){N&&(clearTimeout(N),N=0)}function p(){d(),N=setTimeout(function(){N=0,u()},e.vmouse.resetTimerDuration)}function h(t,o,n){var a;return(n&&n[t]||!n&&r(o.target,t))&&(a=i(o,t),e(o.target).trigger(a)),a}function f(t){var o,n=e.data(t.target,Y);"click"===t.type&&"touchstart"===e.data(t.target,"lastTouchType")&&setTimeout(function(){"touchstart"===e.data(t.target,"lastTouchType")&&(u(),delete e.data(t.target).lastTouchType,f(t))},e.vmouse.maximumTimeBetweenTouches),A||R&&R===n||(o=h("v"+t.type,t),o&&(o.isDefaultPrevented()&&t.preventDefault(),o.isPropagationStopped()&&t.stopPropagation(),o.isImmediatePropagationStopped()&&t.stopImmediatePropagation()))}function m(o){var n,i,r,s=t(o).touches;s&&1===s.length&&(n=o.target,i=a(n),e.data(o.target,"lastTouchType",o.type),i.hasVirtualBinding&&(R=O++,e.data(n,Y,R),d(),l(),q=!1,r=t(o).touches[0],M=r.pageX,$=r.pageY,h("vmouseover",o,i),h("vmousedown",o,i)))}function v(t){B||(q||h("vmousecancel",t,a(t.target)),e.data(t.target,"lastTouchType",t.type),q=!0,p())}function g(o){if(!B){var n=t(o).touches[0],i=q,r=e.vmouse.moveDistanceThreshold,s=a(o.target);e.data(o.target,"lastTouchType",o.type),q=q||Math.abs(n.pageX-M)>r||Math.abs(n.pageY-$)>r,q&&!i&&h("vmousecancel",o,s),h("vmousemove",o,s),p()}}function w(o){if(!B&&e.data(o.target,"lastTouchType")!==n){c(),delete e.data(o.target).lastTouchType;var i,r,s=a(o.target);h("vmouseup",o,s),q||(i=h("vclick",o,s),i&&i.isDefaultPrevented()&&(r=t(o).changedTouches[0],z.push({touchID:R,x:r.clientX,y:r.clientY}),A=!0)),h("vmouseout",o,s),q=!1,p()}}function y(t){var o,n=e.data(t,P);if(n)for(o in n)if(n[o])return!0;return!1}function b(){}function T(t){var o=t.substr(1);return{setup:function(){y(this)||e.data(this,P,{});var n=e.data(this,P);n[t]=!0,j[t]=(j[t]||0)+1,1===j[t]&&V.bind(o,f),e(this).bind(o,b),L&&(j.touchstart=(j.touchstart||0)+1,1===j.touchstart&&V.bind("touchstart",m).bind("touchend",w).bind("touchmove",g).bind("scroll",v))},teardown:function(){--j[t],j[t]||V.unbind(o,f),L&&(--j.touchstart,j.touchstart||V.unbind("touchstart",m).unbind("touchmove",g).unbind("touchend",w).unbind("scroll",v));var n=e(this),i=e.data(this,P);i&&(i[t]=!1),n.unbind(o,b),y(this)||n.removeData(P)}}}var k,D,P="virtualMouseBindings",Y="virtualTouchID",I="clientX clientY pageX pageY screenX screenY".split(" "),S="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),x="altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),E=e.event.mouseHooks?e.event.mouseHooks.props:[],C=x.concat(E),j={},N=0,M=0,$=0,q=!1,z=[],A=!1,B=!1,L="addEventListener"in o,V=e(o),O=1,R=0;for(e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500,maximumTimeBetweenTouches:100},D=0;D<S.length;D++)e.event.special[S[D]]=T(S[D]);L&&o.addEventListener("click",function(t){var o,n,i,a,r,s,c=z.length,u=t.target;if(c)for(o=t.clientX,n=t.clientY,k=e.vmouse.clickDistanceThreshold,i=u;i;){for(a=0;a<c;a++)if(r=z[a],s=0,i===u&&Math.abs(r.x-o)<k&&Math.abs(r.y-n)<k||e.data(i,Y)===r.touchID)return t.preventDefault(),void t.stopPropagation();i=i.parentNode}},!0)}),function(t){"function"==typeof define&&define.amd?define("ns",["jquery"],t):t(e)}(function(e){return e.mobile={version:"@VERSION"},e.mobile}),function(t){"function"==typeof define&&define.amd?define("support/touch",["jquery","../ns"],t):t(e)}(function(e){var t={touch:"ontouchend"in o};return e.mobile.support=e.mobile.support||{},e.extend(e.support,t),e.extend(e.mobile.support,t),e.support}),function(t){"function"==typeof define&&define.amd?define("events/touch",["jquery","../vmouse","../support/touch"],t):t(e)}(function(e){function i(t,o,i,a){var r=i.type;i.type=o,a?e.event.trigger(i,n,t):e.event.dispatch.call(t,i),i.type=r}var a=e(o),r=e.mobile.support.touch,s=r?"touchstart":"mousedown",c=r?"touchend":"mouseup",u=r?"touchmove":"mousemove";return e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight".split(" "),function(t,o){e.fn[o]=function(e){return e?this.bind(o,e):this.trigger(o)}}),e.event.special.tap={tapholdThreshold:750,emitTapOnTaphold:!0,setup:function(){var t=this,o=e(t),n=!1;o.bind("vmousedown",function(r){function s(){u&&(o.bind("vclick",l),clearTimeout(u))}function c(){s(),o.unbind("vclick",l).unbind("vmouseup",s),a.unbind("vmousecancel",c)}if(n=!1,r.which&&1!==r.which)return!0;var u,l,d=r.target;l=function(e){c(),n||d!==e.target?n&&e.preventDefault():i(t,"tap",e)},o.bind("vmouseup",s),a.bind("vmousecancel",c),u=setTimeout(function(){e.event.special.tap.emitTapOnTaphold||(n=!0),u=0,i(t,"taphold",e.Event("taphold",{target:d}))},e.event.special.tap.tapholdThreshold)})},teardown:function(){e(this).unbind("vmousedown").unbind("vclick").unbind("vmouseup"),a.unbind("vmousecancel")}},e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:t.devicePixelRatio>=2?15:30,verticalDistanceThreshold:t.devicePixelRatio>=2?15:30,getLocation:function(e){var o=t.pageXOffset,n=t.pageYOffset,i=e.clientX,a=e.clientY;return 0===e.pageY&&Math.floor(a)>Math.floor(e.pageY)||0===e.pageX&&Math.floor(i)>Math.floor(e.pageX)?(i-=o,a-=n):(a<e.pageY-n||i<e.pageX-o)&&(i=e.pageX-o,a=e.pageY-n),{x:i,y:a}},start:function(t){var o=t.originalEvent.touches?t.originalEvent.touches[0]:t,n=e.event.special.swipe.getLocation(o);return{time:(new Date).getTime(),coords:[n.x,n.y],origin:e(t.target)}},stop:function(t){var o=t.originalEvent.touches?t.originalEvent.touches[0]:t,n=e.event.special.swipe.getLocation(o);return{time:(new Date).getTime(),coords:[n.x,n.y]}},handleSwipe:function(t,o,n,a){if(o.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-o.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-o.coords[1])<e.event.special.swipe.verticalDistanceThreshold){var r=t.coords[0]>o.coords[0]?"swipeleft":"swiperight";return i(n,"swipe",e.Event("swipe",{target:a,swipestart:t,swipestop:o}),!0),i(n,r,e.Event(r,{target:a,swipestart:t,swipestop:o}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,o=this,n=e(o),i={};t=e.data(this,"mobile-events"),t||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=i,i.start=function(t){if(!e.event.special.swipe.eventInProgress){e.event.special.swipe.eventInProgress=!0;var n,r=e.event.special.swipe.start(t),s=t.target,l=!1;i.move=function(t){r&&!t.isDefaultPrevented()&&(n=e.event.special.swipe.stop(t),l||(l=e.event.special.swipe.handleSwipe(r,n,o,s),l&&(e.event.special.swipe.eventInProgress=!1)),Math.abs(r.coords[0]-n.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault())},i.stop=function(){l=!0,e.event.special.swipe.eventInProgress=!1,a.off(u,i.move),i.move=null},a.on(u,i.move).one(c,i.stop)}},n.on(s,i.start)},teardown:function(){var t,o;t=e.data(this,"mobile-events"),t&&(o=t.swipe,delete t.swipe,t.length--,0===t.length&&e.removeData(this,"mobile-events")),o&&(o.start&&e(this).off(s,o.start),o.move&&a.off(u,o.move),o.stop&&a.off(c,o.stop))}},e.each({taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,o){e.event.special[t]={setup:function(){e(this).bind(o,e.noop)},teardown:function(){e(this).unbind(o)}}}),e.event.special})}),"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(e,t,o){var n=function(e){var t=o.createElement("script"),n=o.getElementsByTagName("head")[0];t.src="https://www.youtube.com/iframe_api",n.appendChild(t),n=null,t=null,i(e)},i=function(o){"undefined"==typeof YT&&"undefined"==typeof t.loadingPlayer?(t.loadingPlayer=!0,t.dfd=e.Deferred(),t.onYouTubeIframeAPIReady=function(){t.onYouTubeIframeAPIReady=null,t.dfd.resolve("done"),o()}):"object"==typeof YT?o():t.dfd.done(function(e){o()})};YTPlayer={player:null,defaults:{ratio:16/9,videoId:"LSmgKRx5pBo",mute:!0,repeat:!0,width:e(t).width(),playButtonClass:"YTPlayer-play",pauseButtonClass:"YTPlayer-pause",muteButtonClass:"YTPlayer-mute",volumeUpClass:"YTPlayer-volume-up",volumeDownClass:"YTPlayer-volume-down",start:0,pauseOnScroll:!1,fitToBackground:!0,playerVars:{iv_load_policy:3,modestbranding:1,autoplay:1,controls:0,showinfo:0,wmode:"opaque",branding:0,autohide:0},events:null},init:function(o,i){var a=this;return a.userOptions=i,a.$body=e("body"),a.$node=e(o),a.$window=e(t),a.defaults.events={onReady:function(e){a.onPlayerReady(e),a.isMobile()||a.player.seekTo(a.options.start),a.options.pauseOnScroll&&a.pauseOnScroll(),"function"==typeof a.options.callback&&a.options.callback(e,e.target)},onStateChange:function(e){1===e.data?(a.$node.find("img").fadeOut(400),a.$node.addClass("loaded")):0===e.data&&a.options.repeat&&a.player.seekTo(a.options.start),"function"==typeof a.options.onStateChange&&a.options.onStateChange(e,e.target)}},a.options=e.extend(!0,{},a.defaults,a.userOptions),a.options.height=Math.ceil(a.options.width/a.options.ratio),a.ID=(new Date).getTime(),a.holderID="YTPlayer-ID-"+a.ID,a.options.fitToBackground?a.createBackgroundVideo():a.createContainerVideo(),a.$window.on("resize.YTplayer"+a.ID,function(){a.resize(a)}),n(a.onYouTubeIframeAPIReady.bind(a)),a.resize(a),a},pauseOnScroll:function(){var e=this;e.$window.on("scroll.YTplayer"+e.ID,function(){var t=e.player.getPlayerState();1===t&&e.player.pauseVideo()}),e.$window.scrollStopped(function(){var t=e.player.getPlayerState();2===t&&e.player.playVideo()})},createContainerVideo:function(){var t=this,o=e('<div id="ytplayer-container'+t.ID+'" > <div id="'+t.holderID+'" class="ytplayer-player"></div> </div> <div id="ytplayer-shield" class="ytplayer-shield"></div>');t.$node.append(o),t.$YTPlayerString=o,o=null},createBackgroundVideo:function(){var t=this,o=e('<div id="ytplayer-container'+t.ID+'" class="ytplayer-container background"> <div id="'+t.holderID+'" class="ytplayer-player"></div> </div> <div id="ytplayer-shield" class="ytplayer-shield"></div>');t.$node.append(o),t.$YTPlayerString=o,o=null},resize:function(o){var n=e(t);o.options.fitToBackground||(n=o.$node);var i,a,r=n.width(),s=n.height(),c=e("#"+o.holderID);r/o.options.ratio<s?(i=Math.ceil(s*o.options.ratio),c.width(i).height(s).css({left:(r-i)/2,top:0})):(a=Math.ceil(r/o.options.ratio),c.width(r).height(a).css({left:0,top:(s-a)/2})),c=null,n=null},isMobile:function(){var e=!1;return function(t){(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm(os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s)|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(|\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(|\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg(g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v)|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v)|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|)|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||t.opera),e},onYouTubeIframeAPIReady:function(){var e=this;e.player=new t.YT.Player(e.holderID,e.options)},onPlayerReady:function(e){var t=this;this.options.mute&&e.target.mute(),t.isMobile()||e.target.playVideo()},getPlayer:function(){return this.player},destroy:function(){var o=this;o.$node.removeData("yt-init").removeData("ytPlayer").removeClass("loaded"),o.$YTPlayerString.remove(),e(t).off("resize.YTplayer"+o.ID),e(t).off("scroll.YTplayer"+o.ID),o.$body=null,o.$node=null,o.$YTPlayerString=null,o.player.destroy(),o.player=null}},e.fn.scrollStopped=function(t){var o=e(this),n=this;o.scroll(function(){o.data("scrollTimeout")&&clearTimeout(o.data("scrollTimeout")),o.data("scrollTimeout",setTimeout(t,250,n))})},e.fn.YTPlayer=function(t){return this.each(function(){var o=this;e(o).data("yt-init",!0);var n=Object.create(YTPlayer);n.init(o,t),e.data(o,"ytPlayer",n)})}}(jQuery,window,document),function(){for(var e=0,t=["ms","moz","webkit","o"],o=0;o<t.length&&!window.requestAnimationFrame;++o)window.requestAnimationFrame=window[t[o]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[o]+"CancelAnimationFrame"]||window[t[o]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,o){var n=(new Date).getTime(),i=Math.max(0,16-(n-e)),a=window.setTimeout(function(){t(n+i)},i);return e=n+i,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),function(e){"use strict";function t(){var e,s=i,c=a();for(s>0?r(t):o=0;s--;)e=n[s],c-e[3]<e[2]||(e[1](),n.splice(s,1),i=n.length)}var o=0,n=[],i=0,a=Date.now,r=window.requestAnimationFrame;e.setTimeout=function(e,s){var c=o++,u=a();return i||r(t),i=n.push([c,e,s,u,u]),c},e.clearTimeout=function(e){for(var t=i;t--;)n[t][0]!=e||n.splice(t,1)}}(this.SM_Timer=this.SM_Timer||{});