PageSourceSearch

https://instreamllc.com/wp-content/themes/ken/js/min/plugins-ck.js

js instreamllc.com collected 2026-10-10 01:05:42 UTC 290,110 bytes, 10 lines download raw bytes

1(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;a.fn.extend({actual:function(b,c){if(!this[b]){throw'$.actual => The jQuery method "'+b+'" you called does not exist'}var d={absolute:false,clone:false,includeMargin:false};var e=a.extend(d,c);var f=this.eq(0);var g,h;if(e.clone===true){g=function(){var a="position: absolute !important; top: -1000 !important; ";f=f.clone().attr("style",a).appendTo("body")};h=function(){f.remove()}}else{var i=[];var j="";var k;g=function(){k=f.parents().addBack().filter(":hidden");j+="visibility: hidden !important; display: block !important; ";if(e.absolute===true){j+="position: absolute !important; "}k.each(function(){var b=a(this);i.push(b.attr("style"));b.attr("style",j)})};h=function(){k.each(function(b){var c=a(this);var d=i[b];if(d===undefined){c.removeAttr("style")}else{c.attr("style",d)}})}}g();var l=/(outer)/.test(b)?f[b](e.includeMargin):f[b]();h();return l}})})(jQuery);window.matchMedia||(window.matchMedia=function(){"use strict";var a=window.styleMedia||window.media;if(!a){var b=document.createElement("style"),c=document.getElementsByTagName("script")[0],d=null;b.type="text/css";b.id="matchmediajs-test";c.parentNode.insertBefore(b,c);d="getComputedStyle"in window&&window.getComputedStyle(b,null)||b.currentStyle;a={matchMedium:function(a){var c="@media "+a+"{ #matchmediajs-test { width: 1px; } }";if(b.styleSheet){b.styleSheet.cssText=c}else{b.textContent=c}return d.width==="1px"}}}return function(b){return{matches:a.matchMedium(b||"all"),media:b||"all"}}}());(function(){if(window.matchMedia&&window.matchMedia("all").addListener){return false}var a=window.matchMedia,b=a("only all").matches,c=false,d=0,e=[],f=function(b){clearTimeout(d);d=setTimeout(function(){for(var b=0,c=e.length;b<c;b++){var d=e[b].mql,f=e[b].listeners||[],g=a(d.media).matches;if(g!==d.matches){d.matches=g;for(var h=0,i=f.length;h<i;h++){f[h].call(window,d)}}}},30)};window.matchMedia=function(d){var g=a(d),h=[],i=0;g.addListener=function(a){if(!b){return}if(!c){c=true;window.addEventListener("resize",f,true)}if(i===0){i=e.push({mql:g,listeners:h})}h.push(a)};g.removeListener=function(a){for(var b=0,c=h.length;b<c;b++){if(h[b]===a){h.splice(b,1)}}};return g}})();(function(a){a.fn.fullpage=function(b){b=a.extend({verticalCentered:true,resize:true,sectionsColor:[],anchors:[],scrollingSpeed:700,easing:"easeInQuart",menu:false,navigation:false,navigationPosition:"right",navigationColor:"#000",navigationTooltips:[],slidesNavigation:false,slidesNavPosition:"bottom",controlArrowColor:"#fff",loopBottom:false,loopTop:false,loopHorizontal:true,autoScrolling:true,scrollOverflow:false,css3:false,paddingTop:0,paddingBottom:0,fixedElements:null,normalScrollElements:null,keyboardScrolling:true,touchSensitivity:5,continuousVertical:false,animateAnchor:true,normalScrollElementTouchThreshold:5,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterSlideLoad:null,onSlideLeave:null},b);if(b.continuousVertical&&(b.loopTop||b.loopBottom)){b.continuousVertical=false;console&&console.log&&console.log("Option loopTop/loopBottom is mutually exclusive with continuousVertical; continuousVertical disabled")}var c=600;a.fn.fullpage.setAutoScrolling=function(c){b.autoScrolling=c;var d=a(".section.active");if(b.autoScrolling){a("html, body").css({overflow:"hidden",height:"100%"});if(d.length){ba(d.position().top)}}else{a("html, body").css({overflow:"auto",height:"auto"});ba(0);a("html, body").scrollTop(d.position().top)}};a.fn.fullpage.setScrollingSpeed=function(a){b.scrollingSpeed=a};a.fn.fullpage.setMouseWheelScrolling=function(a){if(a){Y()}else{X()}};a.fn.fullpage.setAllowScrolling=function(b){if(b){a.fn.fullpage.setMouseWheelScrolling(true);Z()}else{a.fn.fullpage.setMouseWheelScrolling(false);$()}};a.fn.fullpage.setKeyboardScrolling=function(a){b.keyboardScrolling=a};var d=false;var e=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|Windows Phone|Tizen|Bada)/);var f=a(this);var g=a(window).height();var h=false;var i=false;var j;var k;var l="fullpage-wrapper";a.fn.fullpage.setAllowScrolling(true);if(b.css3){b.css3=W()}if(a(this).length){f.css({height:"100%",position:"relative","-ms-touch-action":"none"});f.addClass(l)}else{console.error("Error! Fullpage.js needs to be initialized with a selector. For example: $('#myContainer').fullpage(
1);")}if(b.navigation){a("body").append('<div id="fullPage-nav" class="fullPage-nav"></div>');var m=a("#fullPage-nav");m.css("color",b.navigationColor);m.addClass(b.navigationPosition)}a(".section").each(function(c){var d=a(this);var e=a(this).find(".slide");var f=e.length;if(!c&&a(".section.active").length===0){a(this).addClass("active")}a(this).css("height",g+"px");if(b.paddingTop||b.paddingBottom){a(this).css("padding",b.paddingTop+" 0 "+b.paddingBottom+" 0")}if(typeof b.sectionsColor[c]!=="undefined"){a(this).css("background-color",b.sectionsColor[c])}if(typeof b.anchors[c]!=="undefined"){a(this).attr("data-anchor",b.anchors[c])}if(b.navigation){var h="";if(b.anchors.length){h=b.anchors[c]}var i=b.navigationTooltips[c];if(typeof i==="undefined"){i=""}m.append('<span data-tooltip="'+i+'"><a href="#'+h+'"></a></span>')}if(f>1){var j=f*100;var k=100/f;e.wrapAll('<div class="slidesContainer" />');e.parent().wrap('<div class="slides" />');a(this).find(".slidesContainer").css("width",j+"%");a(this).find(".slides").after('<div class="controlArrow prev"></div><div class="controlArrow next"></div>');if(b.controlArrowColor!="#fff"){a(this).find(".controlArrow.next").css("border-color","transparent transparent transparent "+b.controlArrowColor);a(this).find(".controlArrow.prev").css("border-color","transparent "+b.controlArrowColor+" transparent transparent")}if(!b.loopHorizontal){a(this).find(".controlArrow.prev").hide()}if(b.slidesNavigation){U(a(this),f)}e.each(function(c){if(!c&&d.find(".slide.active").length==0){a(this).addClass("active")}a(this).css("width",k+"%");if(b.verticalCentered){P(a(this))}})}else{if(b.verticalCentered){P(a(this))}}}).promise().done(function(){a.fn.fullpage.setAutoScrolling(b.autoScrolling);var c=a(".section.active").find(".slide.active");if(c.length&&(a(".section.active").index(".section")!=0||a(".section.active").index(".section")==0&&c.index()!=0)){var d=b.scrollingSpeed;a.fn.fullpage.setScrollingSpeed(0);D(a(".section.active").find(".slides"),c);a.fn.fullpage.setScrollingSpeed(d)}if(b.fixedElements&&b.css3){a(b.fixedElements).appendTo("body")}if(b.navigation){m.css("margin-top","-"+m.height()/2+"px");m.find("span").eq(a(".section.active").index(".section")).addClass("swiper-active-switch")}if(b.menu&&b.css3&&a(b.menu).closest(".fullpage-wrapper").length){a(b.menu).appendTo("body")}if(b.scrollOverflow){if(f.hasClass("fullpage-used")){n()}a(window).on("load",n)}else{a.isFunction(b.afterRender)&&b.afterRender.call(this)}var e=window.location.hash.replace("#","").split("/");var g=e[0];if(g.length){var h=a('[data-anchor="'+g+'"]');if(!b.animateAnchor&&h.length){ba(h.position().top);a.isFunction(b.afterLoad)&&b.afterLoad.call(this,g,h.index(".section")+1);h.addClass("active").siblings().removeClass("active")}}a(window).on("load",function(){B()})});function n(){a(".section").each(function(){var b=a(this).find(".slide");if(b.length){b.each(function(){N(a(this))})}else{N(a(this))}});a.isFunction(b.afterRender)&&b.afterRender.call(this)}var o;var p=false;a(window).on("scroll",q);function q(){if(!b.autoScrolling){var c=a(window).scrollTop();var d=a(".section").map(function(){if(a(this).offset().top<c+100){return a(this)}});var e=d[d.length-1];if(!e.hasClass("active")){var f=a(".section.active").index(".section")+1;p=true;var g=L(e);e.addClass("active").siblings().removeClass("active");var i=e.data("anchor");a.isFunction(b.onLeave)&&b.onLeave.call(this,f,e.index(".section")+1,g);a.isFunction(b.afterLoad)&&b.afterLoad.call(this,i,e.index(".section")+1);J(i);I(i,0);if(b.anchors.length&&!h){j=i;location.hash=i}clearTimeout(o);o=setTimeout(function(){p=false},100)}}}var r=0;var s=0;var t=0;var u=0;function v(c){var e=c.originalEvent;if(b.autoScrolling){c.preventDefault()}if(!w(c.target)){var f=false;var g=a(".section.active");var i;if(!h&&!d){var j=aa(e);t=j["y"];u=j["x"];if(g.find(".slides").length&&Math.abs(s-u)>Math.abs(r-t)){if(Math.abs(s-u)>a(window).width()/100*b.touchSensitivity){if(s>u){a.fn.fullpage.moveSlideRight()}else{a.fn.fullpage.moveSlideLeft()}}}else if(b.autoScrolling){if(g.find(".slides").length){i=g.find(".slide.active").find(".scrollable")}else{i=g.find(".scrollable")}if(Math.abs(r-t)>a(window).height()/100*b.touchSensitivity){if(r>t){if(i.length>0){if(K("bottom",i)){a.fn.fullpage.moveSectionDown()}else{return true}}else{a.fn.fullpage.moveSectionDown()}}else if(t>r){if(i.length>0){if(K("top",i)){a.fn.fullpage.moveSectionUp()}else{return true}}else{a.fn.fullpage.moveSectionUp()}}}}}}}function w(c,d){d=d||0;var e=a(c).parent();if(d<b.normalScrollElementTouchThreshold&&e.is(b.normalScrollElements)){return true}else if(d==b.normalScrollElementTouchThreshold){return false}else{return w(e,++d)}}function x(a){var b=a.originalEvent;var c=aa(b);r=c["y"];s=c["x"]}function y(c){if(b.autoScrolling){c=window.event||c;var d=Math.max(-1,Math.min(1,c.wheelDelta||-c.deltaY||-c.detail));var e;var f=a(".section.active");if(!h){if(f.find(".slides").length){e=f.find(".slide.active").find(".scrollable")}else{e=f.find(".scrollable")}if(d<0){if(e.length>0){if(K("bottom",e)){a.fn.fullpage.moveSectionDown()}else{return true}}else{a.fn.fullpage.moveSectionDown()}}else{if(e.length>0){if(K("top",e)){a.fn.fullpage.moveSectionUp()}else{return true}}else{a.fn.fullpage.moveSectionUp()}}}return false}}a.fn.fullpage.moveSectionUp=function(){var c=a(".section.active").prev(".
1section");if(!c.length&&(b.loopTop||b.continuousVertical)){c=a(".section").last()}if(c.length){A(c,null,true)}};a.fn.fullpage.moveSectionDown=function(){var c=a(".section.active").next(".section");if(!c.length&&(b.loopBottom||b.continuousVertical)){c=a(".section").first()}if(c.length>0||!c.length&&(b.loopBottom||b.continuousVertical)){A(c,null,false)}};a.fn.fullpage.moveTo=function(b,c){var d="";if(isNaN(b)){d=a('[data-anchor="'+b+'"]')}else{d=a(".section").eq(b-1)}if(typeof c!=="undefined"){S(b,c)}else if(d.length>0){A(d)}};a.fn.fullpage.moveSlideRight=function(){z("next")};a.fn.fullpage.moveSlideLeft=function(){z("prev")};function z(c){var e=a(".section.active");var f=e.find(".slides");if(!f.length||d){return}var g=f.find(".slide.active");var h=null;if(c==="prev"){h=g.prev(".slide")}else{h=g.next(".slide")}if(!h.length){if(!b.loopHorizontal)return;if(c==="prev"){h=g.siblings(":last")}else{h=g.siblings(":first")}}d=true;D(f,h)}function A(d,e,f){var g={},k;var m=d.position();if(typeof m==="undefined"){return}var n=m.top;var o=L(d);var p=d.data("anchor");var q=d.index(".section");var r=d.find(".slide.active");var s=a(".section.active");var t=s.index(".section")+1;var u=i;if(r.length){var v=r.data("anchor");var w=r.index()}if(b.autoScrolling&&b.continuousVertical&&typeof f!=="undefined"&&(!f&&o=="up"||f&&o=="down")){if(!f){a(".section.active").after(s.prevAll(".section").get().reverse())}else{a(".section.active").before(s.nextAll(".section"))}ba(a(".section.active").position().top);var x=s;m=d.position();n=m.top;o=L(d)}d.addClass("active").siblings().removeClass("active");h=true;if(typeof p!=="undefined"){V(w,v,p)}if(b.autoScrolling){g["top"]=-n;k="."+l}else{g["scrollTop"]=n;k="html, body"}var y=function(){if(!x||!x.length){return}if(f){a(".section:first").before(x)}else{a(".section:last").after(x)}ba(a(".section.active").position().top)};if(b.css3&&b.autoScrolling){a.isFunction(b.onLeave)&&!u&&b.onLeave.call(this,t,q+1,o);var z="translate3d(0px, -"+n+"px, 0px)";R(z,true);setTimeout(function(){y();a.isFunction(b.afterLoad)&&!u&&b.afterLoad.call(this,p,q+1);setTimeout(function(){h=false;a.isFunction(e)&&e.call(this)},c)},b.scrollingSpeed)}else{a.isFunction(b.onLeave)&&!u&&b.onLeave.call(this,t,q+1,o);a(k).animate(g,b.scrollingSpeed,b.easing,function(){y();a.isFunction(b.afterLoad)&&!u&&b.afterLoad.call(this,p,q+1);setTimeout(function(){h=false;a.isFunction(e)&&e.call(this)},c)})}j=p;if(b.autoScrolling){J(p);I(p,q)}}function B(){var a=window.location.hash.replace("#","").split("/");var b=a[0];var c=a[1];if(b){S(b,c)}}a(window).on("hashchange",C);function C(){if(!p){var a=window.location.hash.replace("#","").split("/");var b=a[0];var c=a[1];var e=typeof j==="undefined";var f=typeof j==="undefined"&&typeof c==="undefined"&&!d;if(b&&b!==j&&!e||f||!d&&k!=c){S(b,c)}}}a(document).keydown(function(c){if(b.keyboardScrolling&&!h){switch(c.which){case 38:case 33:a.fn.fullpage.moveSectionUp();break;case 40:case 34:a.fn.fullpage.moveSectionDown();break;case 36:a.fn.fullpage.moveTo(1);break;case 35:a.fn.fullpage.moveTo(a(".section").length);break;case 37:a.fn.fullpage.moveSlideLeft();break;case 39:a.fn.fullpage.moveSlideRight();break;default:return}}});a(document).on("click","#fullPage-nav a",function(b){b.preventDefault();var c=a(this).parent().index();A(a(".section").eq(c))});a(document).on({mouseenter:function(){var c=a(this).data("tooltip");a('<div class="fullPage-tooltip '+b.navigationPosition+'">'+c+"</div>").hide().appendTo(a(this)).fadeIn(200)},mouseleave:function(){a(this).find(".fullPage-tooltip").fadeOut().remove()}},"#fullPage-nav span");if(b.normalScrollElements){a(document).on("mouseover",b.normalScrollElements,function(){a.fn.fullpage.setMouseWheelScrolling(false)});a(document).on("mouseout",b.normalScrollElements,function(){a.fn.fullpage.setMouseWheelScrolling(true)})}a(".section").on("click",".controlArrow",function(){if(a(this).hasClass("prev")){a.fn.fullpage.moveSlideLeft()}else{a.fn.fullpage.moveSlideRight()}});a(".section").on("click",".toSlide",function(b){b.preventDefault();var c=a(this).closest(".section").find(".slides");var d=c.find(".slide.active");var e=null;e=c.find(".slide").eq(a(this).data("index")-1);if(e.length>0){D(c,e)}});function D(c,e){var f=e.position();var g=c.find(".slidesContainer").parent();var h=e.index();var j=c.closest(".section");var k=j.index(".section");var l=j.data("anchor");var m=j.find(".fullPage-slidesNav");var n=e.data("anchor");var o=i;if(b.onSlideLeave){var p=j.find(".slide.active").index();var q=M(p,h);if(!o){a.isFunction(b.onSlideLeave)&&b.onSlideLeave.call(this,l,k+1,p,q)}}e.addClass("active").siblings().removeClass("active");if(typeof n==="undefined"){n=h}if(j.hasClass("active")){if(!b.loopHorizontal){j.find(".controlArrow.prev").toggle(h!=0);j.find(".controlArrow.next").toggle(!e.is(":last-child"))}V(h,n,l)}if(b.css3){var r="translate3d(-"+f.left+"px, 0px, 0px)";c.find(".slidesContainer").toggleClass("easing",b.scrollingSpeed>0).css(ca(r));setTimeout(function(){if(!o){a.isFunction(b.afterSlideLoad)&&b.afterSlideLoad.call(this,l,k+1,n,h)}d=false},b.scrollingSpeed,b.easing)}else{g.animate({scrollLeft:f.left},b.scrollingSpeed,b.easing,function(){if(!o){a.isFunction(b.afterSlideLoad)&&b.afterSlideLoad.call(this,l,k+1,n,h)}d=false})}m.find(".active").removeClass("active");m.find("li").eq(h).find("a").addClass("active")}if(!e){var E;a(window).resize(function(){clearTimeout(E);E=setTimeout(a.fn.fullpage.reBuild,500)})}var F="onorientationchange"in window,G=F?"orientationchange":"resize";a(window).bind(G,function(){if(e){a.fn.fullpage.reBuild()}});a.fn.fullpage.reBuild=function(){i=true;var c=a(window).width();g=a(window).height();if(b.resize){H(g,c)}a(".section").each(function(){var c=g-parseInt(a(this).css("padding-bottom"))-parseInt(a(this).css("padding-top"));
1if(b.verticalCentered){a(this).find(".tableCell").css("height",Q(a(this))+"px")}a(this).css("height",g+"px");if(b.scrollOverflow){var d=a(this).find(".slide");if(d.length){d.each(function(){N(a(this))})}else{N(a(this))}}var d=a(this).find(".slides");if(d.length){D(d,d.find(".slide.active"))}});var d=a(".section.active").position();var e=a(".section.active");if(e.index(".section")){A(e)}i=false;a.isFunction(b.afterResize)&&b.afterResize.call(this)};function H(b,c){var d=825;var e=b;if(b<825||c<900){if(c<900){e=c;d=900}var f=e*100/d;var g=f.toFixed(2);a("body").css("font-size",g+"%")}else{a("body").css("font-size","100%")}}function I(c,d){if(b.navigation){a("#fullPage-nav").find(".swiper-active-switch").removeClass("swiper-active-switch");if(c){a("#fullPage-nav").find('a[href="#'+c+'"]').parent().addClass("swiper-active-switch")}else{a("#fullPage-nav").find("span").eq(d).addClass("swiper-active-switch")}}}function J(c){if(b.menu){a(b.menu).find(".active").removeClass("active");a(b.menu).find('[data-menuanchor="'+c+'"]').addClass("active")}}function K(a,b){if(a==="top"){return!b.scrollTop()}
1else if(a==="bottom"){return b.scrollTop()+1+b.innerHeight()>=b[0].scrollHeight}}function L(b){var c=a(".section.active").index(".section");var d=b.index(".section");if(c>d){return"up"}return"down"}function M(a,b){if(a==b){return"none"}if(a>b){return"left"}return"right"}function N(a){a.css("overflow","hidden");var c=a.closest(".section");var d=a.find(".scrollable");if(d.length){var e=a.find(".scrollable").get(0).scrollHeight}else{var e=a.get(0).scrollHeight;if(b.verticalCentered){e=a.find(".tableCell").get(0).scrollHeight}}var f=g-parseInt(c.css("padding-bottom"))-parseInt(c.css("padding-top"));a.css("overflow","")}function O(a){a.find(".scrollable").children().first().unwrap().unwrap();a.find(".slimScrollBar").remove();a.find(".slimScrollRail").remove()}function P(a){a.addClass("table").wrapInner('<div class="tableCell" style="height:'+Q(a)+'px;" />')}function Q(a){var c=g;if(b.paddingTop||b.paddingBottom){var d=a;if(!d.hasClass("section")){d=a.closest(".section")}var e=parseInt(d.css("padding-top"))+parseInt(d.css("padding-bottom"));c=g-e}return c}function R(a,b){f.toggleClass("easing",b);f.css(ca(a))}function S(b,c){if(typeof c==="undefined"){c=0}if(isNaN(b)){var d=a('[data-anchor="'+b+'"]')}else{var d=a(".section").eq(b-1)}if(b!==j&&!d.hasClass("active")){A(d,function(){T(d,c)})}else{T(d,c)}}function T(a,b){if(typeof b!="undefined"){var c=a.find(".slides");var d=c.find('[data-anchor="'+b+'"]');if(!d.length){d=c.find(".slide").eq(b)}if(d.length){D(c,d)}}}function U(a,c){a.append('<div class="fullPage-slidesNav"><ul></ul></div>');var d=a.find(".fullPage-slidesNav");d.addClass(b.slidesNavPosition);for(var e=0;e<c;e++){d.find("ul").append('<li><a href="#"><span></span></a></li>')}d.css("margin-left","-"+d.width()/2+"px");d.find("li").first().find("a").addClass("active")}function V(a,c,d){var e="";if(b.anchors.length){if(a){if(typeof d!=="undefined"){e=d}if(typeof c==="undefined"){c=a}k=c;location.hash=e+"/"+c}else if(typeof a!=="undefined"){k=c;location.hash=d}else{location.hash=d}}}a(document).on("click",".fullPage-slidesNav a",function(b){b.preventDefault();var c=a(this).closest(".section").find(".slides");var d=c.find(".slide").eq(a(this).closest("li").index());D(c,d)});function W(){var a=document.createElement("p"),b,c={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(a,null);for(var d in c){if(a.style[d]!==undefined){a.style[d]="translate3d(1px,1px,1px)";b=window.getComputedStyle(a).getPropertyValue(c[d])}}document.body.removeChild(a);return b!==undefined&&b.length>0&&b!=="none"}function X(){if(document.addEventListener){document.removeEventListener("mousewheel",y,false);document.removeEventListener("wheel",y,false)}else{document.detachEvent("onmousewheel",y)}}function Y(){if(document.addEventListener){document.addEventListener("mousewheel",y,false);document.addEventListener("wheel",y,false)}else{document.attachEvent("onmousewheel",y)}}function Z(){if(e){MSPointer=_();a(document).off("touchstart "+MSPointer.down).on("touchstart "+MSPointer.down,x);a(document).off("touchmove "+MSPointer.move).on("touchmove "+MSPointer.move,v)}}function $(){if(e){MSPointer=_();a(document).off("touchstart "+MSPointer.down);a(document).off("touchmove "+MSPointer.move)}}function _(){var a;if(window.PointerEvent){a={down:"pointerdown",move:"pointermove"}}else{a={down:"MSPointerDown",move:"MSPointerMove"}}return a}function aa(a){var b=new Array;if(window.navigator.msPointerEnabled){b["y"]=a.pageY;b["x"]=a.pageX}else{b["y"]=a.touches[0].pageY;b["x"]=a.touches[0].pageX}return b}function ba(a){if(b.css3){var c="translate3d(0px, -"+a+"px, 0px)";R(c,false)}else{f.css("top",-a)}}function ca(a){return{"-webkit-transform":a,"-moz-transform":a,"-ms-transform":a,transform:a}}a("body").on("mk-opened-nav",function(){a.fn.fullpage.setAutoScrolling(false);a.fn.fullpage.setAllowScrolling(false);a.fn.fullpage.setKeyboardScrolling(false);a(window).off("scroll",q)});a("body").on("mk-closed-nav",function(){a.fn.fullpage.setAutoScrolling(true);a.fn.fullpage.setAllowScrolling(true);a.fn.fullpage.setKeyboardScrolling(true);a(window).on("scroll",q)});a.fn.fullpage.destroy=function(c){a.fn.fullpage.setAutoScrolling(false);a.fn.fullpage.setAllowScrolling(false);a.fn.fullpage.setKeyboardScrolling(false);a(window).off("scroll",q).off("hashchange",C);
1a(document).off("click","#fullPage-nav a").off("mouseenter","#fullPage-nav span").off("mouseleave","#fullPage-nav span").off("click",".fullPage-slidesNav a").off("mouseover",b.normalScrollElements).off("mouseout",b.normalScrollElements);a(".section").off("click",".controlArrow").off("click",".toSlide");if(c){da()}};function da(){ba(0);a("#fullPage-nav, .fullPage-slidesNav, .controlArrow").remove();a(".section").css({height:"","background-color":"",padding:""});a(".slide").css({width:""});f.css({height:"",position:"","-ms-touch-action":""});a(".section, .slide").each(function(){O(a(this));a(this).removeClass("table active")});f.find(".easing").removeClass("easing");f.find(".tableCell, .slidesContainer, .slides").each(function(){a(this).replaceWith(this.childNodes)});a("html, body").scrollTop(0);f.addClass("fullpage-used")}}})(jQuery);(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=[].slice,e=function(a,b,d){c.call(this,a,b,d),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=e.prototype.render},f=1e-10,g=c._internals,h=g.isSelector,i=g.isArray,j=e.prototype=c.to({},.1,{}),k=[];e.version="1.12.1",j.constructor=e,j.kill()._gc=!1,e.killTweensOf=e.killDelayedCallsTo=c.killTweensOf,e.getTweensOf=c.getTweensOf,e.lagSmoothing=c.lagSmoothing,e.ticker=c.ticker,e.render=c.render,j.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),c.prototype.invalidate.call(this)},j.updateTo=function(a,b){var d,e=this.ratio;b&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(d in a)this.vars[d]=a[d];if(this._initted)if(b)this._initted=!1;else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&c._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var f=this._time;this.render(0,!0,!1),this._initted=!1,this.render(f,!0,!1)}else if(this._time>0){this._initted=!1,this._init();for(var g,h=1/(1-e),i=this._firstPT;i;)g=i.s+i.c,i.c*=h,i.s=g-i.c,i=i._next}return this},j.render=function(a,b,c){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var d,e,h,i,j,l,m,n,o=this._dirty?this.totalDuration():this._totalDuration,p=this._time,q=this._totalTime,r=this._cycle,s=this._duration,t=this._rawPrevTime;if(a>=o?(this._totalTime=o,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=s,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(d=!0,e="onComplete"),0===s&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0===a||0>t||t===f)&&t!==a&&(c=!0,t>f&&(e="onReverseComplete")),this._rawPrevTime=n=!b||a||t===a?a:f)):1e-7>a?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==q||0===s&&t>0&&t!==f)&&(e="onReverseComplete",d=this._reversed),0>a?(this._active=!1,0===s&&(this._initted||!this.vars.lazy||c)&&(t>=0&&(c=!0),this._rawPrevTime=n=!b||a||t===a?a:f)):this._initted||(c=!0)):(this._totalTime=this._time=a,0!==this._repeat&&(i=s+this._repeatDelay,this._cycle=this._totalTime/i>>0,0!==this._cycle&&this._cycle===this._totalTime/i&&this._cycle--,this._time=this._totalTime-this._cycle*i,this._yoyo&&0!==(1&this._cycle)&&(this._time=s-this._time),this._time>s?this._time=s:0>this._time&&(this._time=0)),this._easeType?(j=this._time/s,l=this._easeType,m=this._easePower,(1===l||3===l&&j>=.5)&&(j=1-j),3===l&&(j*=2),1===m?j*=j:2===m?j*=j*j:3===m?j*=j*j*j:4===m&&(j*=j*j*j*j),this.ratio=1===l?1-j:2===l?j:.5>this._time/s?j/2:1-j/2):this.ratio=this._ease.getRatio(this._time/s)),p===this._time&&!c&&r===this._cycle)return q!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUp
vendor: 12,563 bytes, lines 1-2
1dateScope||this,this.vars.onUpdateParams||k)),void 0;if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=p,this._totalTime=q,this._rawPrevTime=t,this._cycle=r,g.lazyTweens.push(this),this._lazy=a,void 0;this._time&&!d?this.ratio=this._ease.getRatio(this._time/s):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==p&&a>=0&&(this._active=!0),0===q&&(2===this._initted&&a>0&&this._init(),this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===s)&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||k))),h=this._firstPT;h;)h.f?h.t[h.p](h.c*this.ratio+h.s):h.t[h.p]=h.c*this.ratio+h.s,h=h._next;this._onUpdate&&(0>a&&this._startAt&&this._startTime&&this._startAt.render(a,b,c),b||(this._totalTime!==q||d)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k)),this._cycle!==r&&(b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||k)),e&&(this._gc||(0>a&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this.vars[e].apply(this.vars[e+"Scope"]||this,this.vars[e+"Params"]||k),0===s&&this._rawPrevTime===f&&n!==f&&(this._rawPrevTime=0)))},e.to=function(a,b,c){return new e(a,b,c)},e.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new e(a,b,c)},e.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new e(a,b,d)},e.staggerTo=e.allTo=function(a,b,f,g,j,l,m){g=g||0;var n,o,p,q,r=f.delay||0,s=[],t=function(){f.onComplete&&f.onComplete.apply(f.onCompleteScope||this,arguments),j.apply(m||this,l||k)};for(i(a)||("string"==typeof a&&(a=c.selector(a)||a),h(a)&&(a=d.call(a,0))),n=a.length,p=0;n>p;p++){o={};for(q in f)o[q]=f[q];o.delay=r,p===n-1&&j&&(o.onComplete=t),s[p]=new e(a[p],b,o),r+=g}return s},e.staggerFrom=e.allFrom=function(a,b,c,d,f,g,h){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,e.staggerTo(a,b,c,d,f,g,h)},e.staggerFromTo=e.allFromTo=function(a,b,c,d,f,g,h,i){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,e.staggerTo(a,b,d,f,g,h,i)},e.delayedCall=function(a,b,c,d,f){return new e(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:f,overwrite:0})},e.set=function(a,b){return new e(a,0,b)},e.isTweening=function(a){return c.getTweensOf(a,!0).length>0};var l=function(a,b){for(var d=[],e=0,f=a._first;f;)f instanceof c?d[e++]=f:(b&&(d[e++]=f),d=d.concat(l(f,b)),e=d.length),f=f._next;return d},m=e.getAllTweens=function(b){return l(a._rootTimeline,b).concat(l(a._rootFramesTimeline,b))};e.killAll=function(a,c,d,e){null==c&&(c=!0),null==d&&(d=!0);var f,g,h,i=m(0!=e),j=i.length,k=c&&d&&e;for(h=0;j>h;h++)g=i[h],(k||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&(a?g.totalTime(g._reversed?0:g.totalDuration()):g._enabled(!1,!1))},e.killChildTweensOf=function(a,b){if(null!=a){var f,j,k,l,m,n=g.tweenLookup;if("string"==typeof a&&(a=c.selector(a)||a),h(a)&&(a=d.call(a,0)),i(a))for(l=a.length;--l>-1;)e.killChildTweensOf(a[l],b);else{f=[];for(k in n)for(j=n[k].target.parentNode;j;)j===a&&(f=f.concat(n[k].tweens)),j=j.parentNode;for(m=f.length,l=0;m>l;l++)b&&f[l].totalTime(f[l].totalDuration()),f[l]._enabled(!1,!1)}}};var n=function(a,c,d,e){c=c!==!1,d=d!==!1,e=e!==!1;for(var f,g,h=m(e),i=c&&d&&e,j=h.length;--j>-1;)g=h[j],(i||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&g.paused(a)};return e.pauseAll=function(a,b,c){n(!0,a,b,c)},e.resumeAll=function(a,b,c){n(!1,a,b,c)},e.globalTimeScale=function(b){var d=a._rootTimeline,e=c.ticker.time;return arguments.length?(b=b||f,d._startTime=e-(e-d._startTime)*d._timeScale/b,d=a._rootFramesTimeline,e=c.ticker.frame,d._startTime=e-(e-d._startTime)*d._timeScale/b,d._timeScale=a._rootTimeline._timeScale=b,b):d._timeScale},j.progress=function(a){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},j.totalProgress=function(a){return arguments.length?this.totalTime(this.totalDuration()*a,!1):this._totalTime/this.totalDuration()},j.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},j.duration=function(b){return arguments.length?a.prototype.duration.call(this,b):this._duration},j.totalDuration=function(a){return arguments.length?-1===this._repeat?this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},j.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},j.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},j.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},e},!0),window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a){b.call(this,a),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var c,d,e=this.vars;for(d in e)c=e[d],g(c)&&-1!==c.join("").indexOf("{self}")&&(e[d]=this._swapSelfInParams(c));g(e.tweens)&&this.add(e.tweens,0,e.align,e.stagger)},e=1e-10,f=c._internals.isSelector,g=c._internals.isArray,h=[],i=window._gsDefine.globals,j=function(a){var b,c={};for(b in a)c[b]=a[b];return c},k=function(a,b,c,d){a._timeline.pause(a._startTime),b&&b.apply(d||a._timeline,c||h)},l=h.slice,m=d.prototype=new b;return d.version="1.12.1",m.constructor=d,m.kill()._gc=!1,m.to=function(a,b,d,e){var f=d.repeat&&i.TweenMax||c;return b?this.add(new f(a,b,d),e):this.set(a,d,e)},m.from=function(a,b,d,e){return this.add((d.repeat&&i.TweenMax||c).from(a,b,d),e)},m.fromTo=function(a,b,d,e,f){var g=e.repeat&&i.TweenMax||c;return b?this.add(g.fromTo(a,b,d,e),f):this.set(a,e,f)},m.staggerTo=function(a,b,e,g,h,i,k,m){var n,o=new d({onComplete:i,onCompleteParams:k,onCompleteScope:m,smoothChildTiming:this.smoothChildTiming
2});for("string"==typeof a&&(a=c.selector(a)||a),f(a)&&(a=l.call(a,0)),g=g||0,n=0;a.length>n;n++)e.startAt&&(e.startAt=j(e.startAt)),o.to(a[n],b,j(e),n*g);return this.add(o,h)},m.staggerFrom=function(a,b,c,d,e,f,g,h){return c.immediateRender=0!=c.immediateRender,c.runBackwards=!0,this.staggerTo(a,b,c,d,e,f,g,h)},m.staggerFromTo=function(a,b,c,d,e,f,g,h,i){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,this.staggerTo(a,b,d,e,f,g,h,i)},m.call=function(a,b,d,e){return this.add(c.delayedCall(0,a,b,d),e)},m.set=function(a,b,d){return d=this._parseTimeOrLabel(d,0,!0),null==b.immediateRender&&(b.immediateRender=d===this._time&&!this._paused),this.add(new c(a,0,b),d)},d.exportRoot=function(a,b){a=a||{},null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var e,f,g=new d(a),h=g._timeline;for(null==b&&(b=!0),h._remove(g,!0),g._startTime=0,g._rawPrevTime=g._time=g._totalTime=h._time,e=h._first;e;)f=e._next,b&&e instanceof c&&e.target===e.vars.onComplete||g.add(e,e._startTime-e._delay),e=f;return h.add(g,0),g},m.add=function(e,f,h,i){var j,k,l,m,n,o;if("number"!=typeof f&&(f=this._parseTimeOrLabel(f,0,!0,e)),!(e instanceof a)){if(e instanceof Array||e&&e.push&&g(e)){for(h=h||"normal",i=i||0,j=f,k=e.length,l=0;k>l;l++)g(m=e[l])&&(m=new d({tweens:m})),this.add(m,j),"string"!=typeof m&&"function"!=typeof m&&("sequence"===h?j=m._startTime+m.totalDuration()/m._timeScale:"start"===h&&(m._startTime-=m.delay())),j+=i;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,f);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=c.delayedCall(0,e)}if(b.prototype.add.call(this,e,f),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(n=this,o=n.rawTime()>e._startTime;n._timeline;)o&&n._timeline.smoothChildTiming?n.totalTime(n._totalTime,!0):n._gc&&n._enabled(!0,!1),n=n._timeline;return this},m.remove=function(b){if(b instanceof a)return this._remove(b,!1);if(b instanceof Array||b&&b.push&&g(b)){for(var c=b.length;--c>-1;)this.remove(b[c]);return this}return"string"==typeof b?this.removeLabel(b):this.kill(null,b)},m._remove=function(a,c){b.prototype._remove.call(this,a,c);var d=this._last;return d?this._time>d._startTime+d._totalDuration/d._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(a,b){return this.add(a,this._parseTimeOrLabel(null,b,!0,a))},m.insert=m.insertMultiple=function(a,b,c,d){return this.add(a,b||0,c,d)},m.appendMultiple=function(a,b,c,d){return this.add(a,this._parseTimeOrLabel(null,b,!0,a),c,d)},m.addLabel=function(a,b){return this._labels[a]=this._parseTimeOrLabel(b),this},m.addPause=function(a,b,c,d){return this.call(k,["{self}",b,c,d],this,a)},m.removeLabel=function(a){return delete this._labels[a],this},m.getLabelTime=function(a){return null!=this._labels[a]?this._labels[a]:-1},m._parseTimeOrLabel=function(b,c,d,e){var f;if(e instanceof a&&e.timeline===this)this.remove(e);else if(e&&(e instanceof Array||e.push&&g(e)))for(f=e.length;--f>-1;)e[f]instanceof a&&e[f].timeline===this&&this.remove(e[f]);if("string"==typeof c)return this._parseTimeOrLabel(c,d&&"number"==typeof b&&null==this._labels[c]?b-this.duration():0,d);if(c=c||0,"string"!=typeof b||!isNaN(b)&&null==this._labels[b])null==b&&(b=this.duration());else{if(f=b.indexOf("="),-1===f)return null==this._labels[b]?d?this._labels[b]=this.duration()+c:c:this._labels[b]+c;c=parseInt(b.charAt(f-1)+"1",10)*Number(b.substr(f+1)),b=f>1?this._parseTimeOrLabel(b.substr(0,f-1),0,d):this.duration()}return Number(b)+c},m.seek=function(a,b){return this.totalTime("number"==typeof a?a:this._parseTimeOrLabel(a),b!==!1)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(a,b){return this.play(a,b)},m.gotoAndStop=function(a,b){return this.pause(a,b)},m.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,g,i,j,k=this._dirty?this.totalDuration():this._totalDuration,l=this._time,m=this._startTime,n=this._timeScale,o=this._paused;if(a>=k?(this._totalTime=this._time=k,this._reversed||this._hasPausedChild()||(f=!0,i="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime||this._rawPrevTime===e)&&this._rawPrevTime!==a&&this._first&&(j=!0,this._rawPrevTime>e&&(i="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,a=k+1e-4):1e-7>a?(this._totalTime=this._time=0,(0!==l||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||0>a&&this._rawPrevTime>=0))&&(i="onReverseComplete",f=this._reversed),0>a?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&this._first&&(j=!0),this._rawPrevTime=a):(this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,a=0,this._initted||(j=!0))):this._totalTime=this._time=this._rawPrevTime=a,this._time!==l&&this._first||c||j){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==l&&a>0&&(this._active=!0),0===l&&this.vars.onStart&&0!==this._time&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||h)),this._time>=l)for(d=this._first;d&&(g=d._next,!this._paused||o);)(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)&&(d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=g;else for(d=this._last;d&&(g=d._prev,!this._paused||o);)(d._active||l>=d._startTime&&!d._paused&&!d._gc)&&(d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=g;
vendor: 1,592 bytes, line 2
2this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||h)),i&&(this._gc||(m===this._startTime||n!==this._timeScale)&&(0===this._time||k>=this.totalDuration())&&(f&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[i]&&this.vars[i].apply(this.vars[i+"Scope"]||this,this.vars[i+"Params"]||h)))}},m._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof d&&a._hasPausedChild())return!0;a=a._next}return!1},m.getChildren=function(a,b,d,e){e=e||-9999999999;for(var f=[],g=this._first,h=0;g;)e>g._startTime||(g instanceof c?b!==!1&&(f[h++]=g):(d!==!1&&(f[h++]=g),a!==!1&&(f=f.concat(g.getChildren(!0,b,d)),h=f.length))),g=g._next;return f},m.getTweensOf=function(a,b){var d,e,f=this._gc,g=[],h=0;for(f&&this._enabled(!0,!0),d=c.getTweensOf(a),e=d.length;--e>-1;)(d[e].timeline===this||b&&this._contains(d[e]))&&(g[h++]=d[e]);return f&&this._enabled(!1,!0),g},m._contains=function(a){for(var b=a.timeline;b;){if(b===this)return!0;b=b.timeline}return!1},m.shiftChildren=function(a,b,c){c=c||0;for(var d,e=this._first,f=this._labels;e;)e._startTime>=c&&(e._startTime+=a),e=e._next;if(b)for(d in f)f[d]>=c&&(f[d]+=a);return this._uncache(!0)},m._kill=function(a,b){if(!a&&!b)return this._enabled(!1,!1);for(var c=b?this.getTweensOf(b):this.getChildren(!0,!0,!1),d=c.length,e=!1;--d>-1;)c[d]._kill(a,b)&&(e=!0);return e},m.clear=function(a){var b=this.getChildren(!1,!0,!0),c=b.length;for(this._time=this._totalTime=0;--c>-1;)b[c]._enabled(!1,!1);return a!==!1&&(this._labels={}),this._uncache(!0)}
vendor: 16,169 bytes, line 2
2,m.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this},m._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return b.prototype._enabled.call(this,a,c)},m.duration=function(a){return arguments.length?(0!==this.duration()&&0!==a&&this.timeScale(this._duration/a),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var b,c,d=0,e=this._last,f=999999999999;e;)b=e._prev,e._dirty&&e.totalDuration(),e._startTime>f&&this._sortChildren&&!e._paused?this.add(e,e._startTime-e._delay):f=e._startTime,0>e._startTime&&!e._paused&&(d-=e._startTime,this._timeline.smoothChildTiming&&(this._startTime+=e._startTime/this._timeScale),this.shiftChildren(-e._startTime,!1,-9999999999),f=0),c=e._startTime+e._totalDuration/e._timeScale,c>d&&(d=c),e=b;this._duration=this._totalDuration=d,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a),this},m.usesFrames=function(){for(var b=this._timeline;b._timeline;)b=b._timeline;return b===a._rootFramesTimeline},m.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0),window._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(a,b,c){var d=function(b){a.call(this,b),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},e=1e-10,f=[],g=new c(null,null,1,0),h=d.prototype=new a;return h.constructor=d,h.kill()._gc=!1,d.version="1.12.1",h.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),a.prototype.invalidate.call(this)},h.addCallback=function(a,c,d,e){return this.add(b.delayedCall(0,a,d,e),c)},h.removeCallback=function(a,b){if(a)if(null==b)this._kill(null,a);else for(var c=this.getTweensOf(a,!1),d=c.length,e=this._parseTimeOrLabel(b);--d>-1;)c[d]._startTime===e&&c[d]._enabled(!1,!1);return this},h.tweenTo=function(a,c){c=c||{};var d,e,h,i={ease:g,overwrite:c.delay?2:1,useFrames:this.usesFrames(),immediateRender:!1};for(e in c)i[e]=c[e];return i.time=this._parseTimeOrLabel(a),d=Math.abs(Number(i.time)-this._time)/this._timeScale||.001,h=new b(this,d,i),i.onStart=function(){h.target.paused(!0),h.vars.time!==h.target.time()&&d===h.duration()&&h.duration(Math.abs(h.vars.time-h.target.time())/h.target._timeScale),c.onStart&&c.onStart.apply(c.onStartScope||h,c.onStartParams||f)},h},h.tweenFromTo=function(a,b,c){c=c||{},a=this._parseTimeOrLabel(a),c.startAt={onComplete:this.seek,onCompleteParams:[a],onCompleteScope:this},c.immediateRender=c.immediateRender!==!1;var d=this.tweenTo(b,c);return d.duration(Math.abs(d.vars.time-a)/this._timeScale||.001)},h.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,g,h,i,j,k,l=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,n=this._time,o=this._totalTime,p=this._startTime,q=this._timeScale,r=this._rawPrevTime,s=this._paused,t=this._cycle;if(a>=l?(this._locked||(this._totalTime=l,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(g=!0,i="onComplete",0===this._duration&&(0===a||0>r||r===e)&&r!==a&&this._first&&(j=!0,r>e&&(i="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,this._yoyo&&0!==(1&this._cycle)?this._time=a=0:(this._time=m,a=m+1e-4)):1e-7>a?(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==n||0===m&&r!==e&&(r>0||0>a&&r>=0)&&!this._locked)&&(i="onReverseComplete",g=this._reversed),0>a?(this._active=!1,0===m&&r>=0&&this._first&&(j=!0),this._rawPrevTime=a):(this._rawPrevTime=m||!b||a||this._rawPrevTime===a?a:e,a=0,this._initted||(j=!0))):(0===m&&0>r&&(j=!0),this._time=this._rawPrevTime=a,this._locked||(this._totalTime=a,0!==this._repeat&&(k=m+this._repeatDelay,this._cycle=this._totalTime/k>>0,0!==this._cycle&&this._cycle===this._totalTime/k&&this._cycle--,this._time=this._totalTime-this._cycle*k,this._yoyo&&0!==(1&this._cycle)&&(this._time=m-this._time),this._time>m?(this._time=m,a=m+1e-4):0>this._time?this._time=a=0:a=this._time))),this._cycle!==t&&!this._locked){var u=this._yoyo&&0!==(1&t),v=u===(this._yoyo&&0!==(1&this._cycle)),w=this._totalTime,x=this._cycle,y=this._rawPrevTime,z=this._time;if(this._totalTime=t*m,t>this._cycle?u=!u:this._totalTime+=m,this._time=n,this._rawPrevTime=0===m?r-1e-4:r,this._cycle=t,this._locked=!0,n=u?0:m,this.render(n,b,0===m),b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||f),v&&(n=u?m+1e-4:-1e-4,this.render(n,!0,!1)),this._locked=!1,this._paused&&!s)return;this._time=z,this._totalTime=w,this._cycle=x,this._rawPrevTime=y}if(!(this._time!==n&&this._first||c||j))return o!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||f)),void 0;if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==o&&a>0&&(this._active=!0),0===o&&this.vars.onStart&&0!==this._totalTime&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||f)),this._time>=n)for(d=this._first;d&&(h=d._next,!this._paused||s);)(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)&&(d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=h;else for(d=this._last;d&&(h=d._prev,!this._paused||s);)(d._active||n>=d._startTime&&!d._paused&&!d._gc)&&(d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=h;this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||f)),i&&(this._locked||this._gc||(p===this._startTime||q!==this._timeScale)&&(0===this._time||l>=this.totalDuration())&&(g&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[i]&&this.vars[i].apply(this.vars[i+"Scope"]||this,this.vars[i+"Params"]||f)))},h.getActive=function(a,b,c){null==a&&(a=!0),null==b&&(b=!0),null==c&&(c=!1);var d,e,f=[],g=this.getChildren(a,b,c),h=0,i=g.length;for(d=0;i>d;d++)e=g[d],e.isActive()&&(f[h++]=e);return f},h.getLabelAfter=function(a){a||0!==a&&(a=this._time);var b,c=this.getLabelsArray(),d=c.length;for(b=0;d>b;b++)if(c[b].time>a)return c[b].name;return null},h.getLabelBefore=function(a){null==a&&(a=this._time);for(var b=this.getLabelsArray(),c=b.length;--c>-1;)if(a>b[c].time)return b[c].name;return null},h.getLabelsArray=function(){var a,b=[],c=0;for(a in this._labels)b[c++]={time:this._labels[a],name:a};return b.sort(function(a,b){return a.time-b.time}),b},h.progress=function(a){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},h.totalProgress=function(a){return arguments.length?this.totalTime(this.totalDuration()*a,!1):this._totalTime/this.totalDuration()},h.totalDuration=function(b){return arguments.length?-1===this._repeat?this:this.duration((b-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(a.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},h.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},h.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},h.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},h.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},h.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.getLabelBefore(this._time+1e-8)},d},!0),function(){var a=180/Math.PI,b=[],c=[],d=[],e={},f=function(a,b,c,d){this.a=a,this.b=b,this.c=c,this.d=d,this.da=d-a,this.ca=c-a,this.ba=b-a},g=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",h=function(a,b,c,d){var e={a:a},f={},g={},h={c:d},i=(a+b)/2,j=(b+c)/2,k=(c+d)/2,l=(i+j)/2,m=(j+k)/2,n=(m-l)/8;return e.b=i+(a-i)/4,f.b=l+n,e.c=f.a=(e.b+f.b)/2,f.c=g.a=(l+m)/2,g.b=m-n,h.b=k+(d-k)/4,g.c=h.a=(g.b+h.b)/2,[e,f,g,h]},i=function(a,e,f,g,i){var j,k,l,m,n,o,p,q,r,s,t,u,v,w=a.length-1,x=0,y=a[0].a;for(j=0;w>j;j++)n=a[x],k=n.a,l=n.d,m=a[x+1].d,i?(t=b[j],u=c[j],v=.25*(u+t)*e/(g?.5:d[j]||.5),o=l-(l-k)*(g?.5*e:0!==t?v/t:0),p=l+(m-l)*(g?.5*e:0!==u?v/u:0),q=l-(o+((p-o)*(3*t/(t+u)+.5)/4||0))):(o=l-.5*(l-k)*e,p=l+.5*(m-l)*e,q=l-(o+p)/2),o+=q,p+=q,n.c=r=o,n.b=0!==j?y:y=n.a+.6*(n.c-n.a),n.da=l-k,n.ca=r-k,n.ba=y-k,f?(s=h(k,y,r,l),a.splice(x,1,s[0],s[1],s[2],s[3]),x+=4):x++,y=p;n=a[x],n.b=y,n.c=y+.4*(n.d-y),n.da=n.d-n.a,n.ca=n.c-n.a,n.ba=y-n.a,f&&(s=h(n.a,y,n.c,n.d),a.splice(x,1,s[0],s[1],s[2],s[3]))},j=function(a,d,e,g){var h,i,j,k,l,m,n=[];if(g)for(a=[g].concat(a),i=a.length;--i>-1;)"string"==typeof(m=a[i][d])&&"="===m.charAt(1)&&(a[i][d]=g[d]+Number(m.charAt(0)+m.substr(2)));if(h=a.length-2,0>h)return n[0]=new f(a[0][d],0,0,a[-1>h?0:1][d]),n;for(i=0;h>i;i++)j=a[i][d],k=a[i+1][d],n[i]=new f(j,0,0,k),e&&(l=a[i+2][d],b[i]=(b[i]||0)+(k-j)*(k-j),c[i]=(c[i]||0)+(l-k)*(l-k));return n[i]=new f(a[i][d],0,0,a[i+1][d]),n},k=function(a,f,h,k,l,m){var n,o,p,q,r,s,t,u,v={},w=[],x=m||a[0];l="string"==typeof l?","+l+",":g,null==f&&(f=1);for(o in a[0])w.push(o);if(a.length>1){for(u=a[a.length-1],t=!0,n=w.length;--n>-1;)if(o=w[n],Math.abs(x[o]-u[o])>.05){t=!1;break}t&&(a=a.concat(),m&&a.unshift(m),a.push(a[1]),m=a[a.length-3])}for(b.length=c.length=d.length=0,n=w.length;--n>-1;)o=w[n],e[o]=-1!==l.indexOf(","+o+","),v[o]=j(a,o,e[o],m);for(n=b.length;--n>-1;)b[n]=Math.sqrt(b[n]),c[n]=Math.sqrt(c[n]);if(!k){for(n=w.length;--n>-1;)if(e[o])for(p=v[w[n]],s=p.length-1,q=0;s>q;q++)r=p[q+1].da/c[q]+p[q].da/b[q],d[q]=(d[q]||0)+r*r;for(n=d.length;--n>-1;)d[n]=Math.sqrt(d[n])}for(n=w.length,q=h?4:1;--n>-1;)o=w[n],p=v[o],i(p,f,h,k,e[o]),t&&(p.splice(0,q),p.splice(p.length-q,q));return v},l=function(a,b,c){b=b||"soft";var d,e,g,h,i,j,k,l,m,n,o,p={},q="cubic"===b?3:2,r="soft"===b,s=[];if(r&&c&&(a=[c].concat(a)),null==a||q+1>a.length)throw"invalid Bezier data";for(m in a[0])s.push(m);for(j=s.length;--j>-1;){for(m=s[j],p[m]=i=[],n=0,l=a.length,k=0;l>k;k++)d=null==c?a[k][m]:"string"==typeof(o=a[k][m])&&"="===o.charAt(1)?c[m]+Number(o.charAt(0)+o.substr(2)):Number(o),r&&k>1&&l-1>k&&(i[n++]=(d+i[n-2])/2),i[n++]=d;for(l=n-q+1,n=0,k=0;l>k;k+=q)d=i[k],e=i[k+1],g=i[k+2],h=2===q?0:i[k+3],i[n++]=o=3===q?new f(d,e,g,h):new f(d,(2*e+d)/3,(2*e+g)/3,g);i.length=n}return p},m=function(a,b,c){for(var d,e,f,g,h,i,j,k,l,m,n,o=1/c,p=a.length;--p>-1;)for(m=a[p],f=m.a,g=m.d-f,h=m.c-f,i=m.b-f,d=e=0,k=1;c>=k;k++)j=o*k,l=1-j,d=e-(e=(j*j*g+3*l*(j*h+l*i))*j),n=p*c+k-1,b[n]=(b[n]||0)+d*d},n=function(a,b){b=b>>0||6;var c,d,e,f,g=[],h=[],i=0,j=0,k=b-1,l=[],n=[];for(c in a)m(a[c],g,b);for(e=g.length,d=0;e>d;d++)i+=Math.sqrt(g[d]),f=d%b,n[f]=i,f===k&&(j+=i,f=d/b>>0,l[f]=n,h[f]=j,i=0,n=[]);return{length:j,lengths:h,segments:l}},o=window._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.2",API:2,global:!0,init:function(a,b,c){this._target=a,b instanceof Array&&(b={values:b}),this._func={},this._round={},this._props=[],this._timeRes=null==b.timeResolution?6:parseInt(b.timeResolution,10);var d,e,f,g,h,i=b.values||[],j={},m=i[0],o=b.autoRotate||c.vars.orientToBezier;this._autoRotate=o?o instanceof Array?o:[["x","y","rotation",o===!0?0:Number(o)||0]]:null;for(d in m)this._props.push(d);for(f=this._props.length;--f>-1;)d=this._props[f],this._overwriteProps.push(d),e=this._func[d]="function"==typeof a[d],j[d]=e?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]():parseFloat(a[d]),h||j[d]!==i[0][d]&&(h=j);if(this._beziers="cubic"!==b.type&&"quadratic"!==b.type&&"soft"!==b.type?k(i,isNaN(b.curviness)?1:b.curviness,!1,"thruBasic"===b.type,b.correlate,h):l(i,b.type,j),this._segCount=this._beziers[d].length,this._timeRes){var p=n(this._beziers,this._timeRes);this._length=p.length,this._lengths=p.lengths,this._segments=p.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(o=this._autoRotate)for(this._initialRotations=[],o[0]instanceof Array||(this._autoRotate=o=[o]),f=o.length;--f>-1;){for(g=0;3>g;g++)d=o[f][g],this._func[d]="function"==typeof a[d]?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]:!1;d=o[f][2],this._initialRotations[f]=this._func[d]?this._func[d].call(this._target):this._target[d]}return this._startRatio=c.vars.runBackwards?1:0,!0},set:function(b){var c,d,e,f,g,h,i,j,k,l,m=this._segCount,n=this._func,o=this._target,p=b!==this._startRatio;if(this._timeRes){if(k=this._lengths,l=this._curSeg,b*=this._length,e=this._li,b>this._l2&&m-1>e){for(j=m-1;j>e&&b>=(this._l2=k[++e]););this._l1=k[e-1],this._li=e,this._curSeg=l=this._segments[e],this._s2=l[this._s1=this._si=0]}else if(this._l1>b&&e>0){for(;e>0&&(this._l1=k[--e])>=b;);0===e&&this._l1>b?this._l1=0:e++,this._l2=k[e],this._li=e,this._curSeg=l=this._segments[e],this._s1=l[(this._si=l.length-1)-1]||0,this._s2=l[this._si]}if(c=e,b-=this._l1,e=this._si,b>this._s2&&l.length-1>e){for(j=l.length-1;j>e&&b>=(this._s2=l[++e]););this._s1=l[e-1],this._si=e}else if(this._s1>b&&e>0){for(;e>0&&(this._s1=l[--e])>=b;);0===e&&this._s1>b?this._s1=0:e++,this._s2=l[e],this._si=e}h=(e+(b-this._s1)/(this._s2-this._s1))*this._prec}else c=0>b?0:b>=1?m-1:m*b>>0,h=(b-c*(1/m))*m;for(d=1-h,e=this._props.length;--e>-1;)f=this._props[e],g=this._beziers[f][c],i=(h*h*g.da+3*d*(h*g.ca+d*g.ba))*h+g.a,this._round[f]&&(i=Math.round(i)),n[f]?o[f](i):o[f]=i;if(this._autoRotate){var q,r,s,t,u,v,w,x=this._autoRotate;for(e=x.length;--e>-1;)f=x[e][2],v=x[e][3]||0,w=x[e][4]===!0?1:a,g=this._beziers[x[e][0]],q=this._beziers[x[e][1]],g&&q&&(g=g[c],q=q[c],r=g.a+(g.b-g.a)*h,t=g.b+(g.c-g.b)*h,r+=(t-r)*h,t+=(g.c+(g.d-g.c)*h-t)*h,s=q.a+(q.b-q.a)*h,u=q.b+(q.c-q.b)*h,s+=(u-s)*h,u+=(q.c+(q.d-q.c)*h-u)*h,i=p?Math.atan2(u-s,t-r)*w+v:this._initialRotations[e],n[f]?o[f](i):o[f]=i)}}}),p=o.prototype;o.bezierThrough=k,o.cubicToQuadratic=h,o._autoCSS=!0,o.quadraticToCubic=function(a,b,c){return new f(a,(2*b+a)/3,(2*b+c)/3,c)},o._cssRegister=function(){var a=window._gsDefine.globals.CSSPlugin;if(a){var b=a._internals,c=b._parseToProxy,d=b._setPluginRatio,e=b.CSSPropTween;b._registerComplexSpecialProp("bezier",{parser:function(a,b,f,g,h,i){b instanceof Array&&(b={values:b}),i=new o;var j,k,l,m=b.values,n=m.length-1,p=[],q={};if(0>n)return h;for(j=0;n>=j;j++)l=c(a,m[j],g,h,i,n!==j),p[j]=l.end;for(k in b)q[k]=b[k];return q.values=p,h=new e(a,"bezier",0,0,l.pt,2),h.data=l,h.plugin=i,h.setRatio=d,0===q.autoRotate&&(q.autoRotate=!0),!q.autoRotate||q.autoRotate instanceof Array||(j=q.autoRotate===!0?0:Number(q.autoRotate),q.autoRotate=null!=l.end.left?[["left","top","rotation",j,!1]]:null!=l.end.x?[["x","y","rotation",j,!1]]:!1),q.autoRotate&&(g._transform||g._enableTransforms(!1),l.autoRotate=g._target._gsTransform),i._onInitTween(l.proxy,q,g._tween),h}})}},p._roundProps=function(a,b){for(var c=this._overwriteProps,d=c.length;--d>-1;)(a[c[d]]||a.bezier||a.bezierThrough)&&(this._round[c[d]]=b)},p._kill=function(a){var b,c,d=this._props;for(b in this._beziers)if(b in a)for(delete this._beziers[b],delete this._func[b],c=d.length;--c>-1;)d[c]===b&&d.splice(c,1);return this._super._kill.call(this,a)}}(),window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h={},i=g.prototype=new a("css");
2i.constructor=g,g.version="1.12.1",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",i="px",g.suffixMap={top:i,right:i,bottom:i,left:i,width:i,height:i,fontSize:i,padding:i,margin:i,perspective:i,lineHeight:""};var j,k,l,m,n,o,p=/(?:\d|\-\d|\.\d|\-\.\d)+/g,q=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,r=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,s=/[^\d\-\.]/g,t=/(?:\d|\-|\+|=|#|\.)*/g,u=/opacity *= *([^)]*)/i,v=/opacity:([^;]*)/i,w=/alpha\(opacity *=.+?\)/i,x=/^(rgb|hsl)/,y=/([A-Z])/g,z=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,B=function(a,b){return b.toUpperCase()},C=/(?:Left|Right|Width)/i,D=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,E=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,F=/,(?=[^\)]*(?:\(|$))/gi,G=Math.PI/180,H=180/Math.PI,I={},J=document,K=J.createElement("div"),L=J.createElement("img"),M=g._internals={_specialProps:h},N=navigator.userAgent,O=function(){var a,b=N.indexOf("Android"),c=J.createElement("div");return l=-1!==N.indexOf("Safari")&&-1===N.indexOf("Chrome")&&(-1===b||Number(N.substr(b+8,1))>3),n=l&&6>Number(N.substr(N.indexOf("Version/")+8,1)),m=-1!==N.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(N)&&(o=parseFloat(RegExp.$1)),c.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",a=c.getElementsByTagName("a")[0],a?/^0.55/.test(a.style.opacity):!1}(),P=function(a){return u.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Q=function(a){window.console&&console.log(a)},R="",S="",T=function(a,b){b=b||K;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(S=3===d?"ms":c[d],R="-"+S.toLowerCase()+"-",S+a):null},U=J.defaultView?J.defaultView.getComputedStyle:function(){},V=g.getStyle=function(a,b,c,d,e){var f;return O||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||U(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(y,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):P(a)},W=M.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=C.test(c),l=a,m=K.style,n=0>d;if(n&&(d=-d),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+V(a,"position")+";line-height:0;","%"!==e&&l.appendChild)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||J.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(K),h=parseFloat(K[k?"offsetWidth":"offsetHeight"]),l.removeChild(K),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=100*(h/d)),0!==h||f||(h=W(a,c,d,e,!0))}return n?-h:h},X=M.calculateOffset=function(a,b,c){if("absolute"!==V(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=V(a,"margin"+d,c);return a["offset"+d]-(W(a,b,parseFloat(e),e.replace(t,""))||0)},Y=function(a,b){var c,d,e={};if(b=b||U(a,null))if(c=b.length)for(;--c>-1;)e[b[c].replace(z,B)]=b.getPropertyValue(b[c]);else for(c in b)e[c]=b[c];else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===e[c]&&(e[c.replace(z,B)]=b[c]);return O||(e.opacity=P(a)),d=ya(a,b,!1),e.rotation=d.rotation,e.skewX=d.skewX,e.scaleX=d.scaleX,e.scaleY=d.scaleY,e.x=d.x,e.y=d.y,wa&&(e.z=d.z,e.rotationX=d.rotationX,e.rotationY=d.rotationY,e.scaleZ=d.scaleZ),e.filters&&delete e.filters,e},Z=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(s,"")?f:0:X(a,g),void 0!==j[g]&&(h=new la(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},$={width:["Left","Right"],height:["Top","Bottom"]},_=["marginLeft","marginRight","marginTop","marginBottom"],aa=function(a,b,c){var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=$[b],f=e.length;for(c=c||U(a,null);--f>-1;)d-=parseFloat(V(a,"padding"+e[f],c,!0))||0,d-=parseFloat(V(a,"border"+e[f]+"Width",c,!0))||0;return d},ba=function(a,b){(null==a||""===a||"auto"===a||"auto auto"===a)&&(a="0 0");var c=a.split(" "),d=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],e=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];return null==e?e="0":"center"===e&&(e="50%"),("center"===d||isNaN(parseFloat(d))&&-1===(d+"").indexOf("="))&&(d="50%"),b&&(b.oxp=-1!==d.indexOf("%"),b.oyp=-1!==e.indexOf("%"),b.oxr="="===d.charAt(1),b.oyr="="===e.charAt(1),b.ox=parseFloat(d.replace(s,"")),b.oy=parseFloat(e.replace(s,""))),d+" "+e+(c.length>2?" "+c[2]:"")},ca=function(a,b){return"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},da=function(a,b){return null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*Number(a.substr(2))+b:parseFloat(a)},ea=function(a,b,c,d){var e,f,g,h,i=1e-6;return null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),g=Number(f[0].replace(s,""))*(-1===a.indexOf("rad")?1:H)-("="===a.charAt(1)?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(0|g/e)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(0|g/e)*e)),h=b+g),i>h&&h>-i&&(h=0),h},fa={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ga=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,0|255*(1>6*a?b+6*(c-b)*a:.5>a?c:2>3*a?b+6*(c-b)*(2/3-a):b)+.5},ha=function(a){var b,c,d,e,f,g;return a&&""!==a?"number"==typeof a?[a>>16,255&a>>
28,255&a]:(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),fa[a]?fa[a]:"#"===a.charAt(0)?(4===a.length&&(b=a.charAt(1),c=a.charAt(2),d=a.charAt(3),a="#"+b+b+c+c+d+d),a=parseInt(a.substr(1),16),[a>>16,255&a>>8,255&a]):"hsl"===a.substr(0,3)?(a=a.match(p),e=Number(a[0])%360/360,f=Number(a[1])/100,g=Number(a[2])/100,c=.5>=g?g*(f+1):g+f-g*f,b=2*g-c,a.length>3&&(a[3]=Number(a[3])),a[0]=ga(e+1/3,b,c),a[1]=ga(e,b,c),a[2]=ga(e-1/3,b,c),a):(a=a.match(p)||fa.transparent,a[0]=Number(a[0]),a[1]=Number(a[1]),a[2]=Number(a[2]),a.length>3&&(a[3]=Number(a[3])),a)):fa.black},ia="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(i in fa)ia+="|"+i+"\\b";ia=RegExp(ia+")","gi");var ja=function(a,b,c,d){if(null==a)return function(a){return a};var e,f=b?(a.match(ia)||[""])[0]:"",g=a.split(f).join("").match(r)||[],h=a.substr(0,a.indexOf(g[0])),i=")"===a.charAt(a.length-1)?")":"",j=-1!==a.indexOf(" ")?" ":",",k=g.length,l=k>0?g[0].replace(p,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&F.test(a)){for(o=a.replace(F,"|").split("|"),n=0;o.length>n;n++)o[n]=e(o[n]);return o.join(",")}if(b=(a.match(ia)||[f])[0],m=a.split(b).join("").match(r)||[],n=m.length,k>n--)for(;k>++n;)m[n]=c?m[0|(n-1)/2]:g[n];return h+m.join(j)+j+b+i+(-1!==a.indexOf("inset")?" inset":"")}:function(a){var b,f,m;if("number"==typeof a)a+=l;else if(d&&F.test(a)){for(f=a.replace(F,"|").split("|"),m=0;f.length>m;m++)f[m]=e(f[m]);return f.join(",")}if(b=a.match(r)||[],m=b.length,k>m--)for(;k>++m;)b[m]=c?b[0|(m-1)/2]:g[m];return h+b.join(j)+i}:function(a){return a}},ka=function(a){return a=a.split(","),function(b,c,d,e,f,g,h){var i,j=(c+"").split(" ");for(h={},i=0;4>i;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},la=(M._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f=this.data,g=f.proxy,h=f.firstMPT,i=1e-6;h;)b=g[h.v],h.r?b=Math.round(b):i>b&&b>-i&&(b=0),h.t[h.p]=b,h=h._next;if(f.autoRotate&&(f.autoRotate.rotation=g.rotation),1===a)for(h=f.firstMPT;h;){if(c=h.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;c.l>d;d++)e+=c["xn"+d]+c["xs"+(d+1)];c.e=e}}else c.e=c.s+c.xs0;h=h._next}},function(a,b,c,d,e){this.t=a,this.p=b,this.v=c,this.r=e,d&&(d._prev=this,this._next=d)}),ma=(M._parseToProxy=function(a,b,c,d,e,f){var g,h,i,j,k,l=d,m={},n={},o=c._transform,p=I;for(c._transform=null,I=b,d=k=c.parse(a,b,d,e),I=p,f&&(c._transform=o,l&&(l._prev=null,l._prev&&(l._prev._next=null)));d&&d!==l;){if(1>=d.type&&(h=d.p,
3n[h]=d.s+d.c,m[h]=d.s,f||(j=new la(d,"s",h,j,d.r),d.c=0),1===d.type))for(g=d.l;--g>0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new la(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},M.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof ma||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),na=g.parseComplex=function(a,b,c,d,e,f,g,h,i,k){c=c||f||"",g=new ma(a,b,0,0,g,k?2:1,null,!1,h,c,d),d+="";var l,m,n,o,r,s,t,u,v,w,y,z,A=c.split(", ").join(",").split(" "),B=d.split(", ").join(",").split(" "),C=A.length,D=j!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(A=A.join(" ").replace(F,", ").split(" "),B=B.join(" ").replace(F,", ").split(" "),C=A.length),C!==B.length&&(A=(f||"").split(" "),C=A.length),g.plugin=i,g.setRatio=k,l=0;C>l;l++)if(o=A[l],r=B[l],u=parseFloat(o),u||0===u)g.appendXtra("",u,ca(r,u),r.replace(q,""),D&&-1!==r.indexOf("px"),!0);else if(e&&("#"===o.charAt(0)||fa[o]||x.test(o)))z=","===r.charAt(r.length-1)?"),":")",o=ha(o),r=ha(r),v=o.length+r.length>6,v&&!O&&0===r[3]?(g["xs"+g.l]+=g.l?" transparent":"transparent",g.e=g.e.split(B[l]).join("transparent")):(O||(v=!1),g.appendXtra(v?"rgba(":"rgb(",o[0],r[0]-o[0],",",!0,!0).appendXtra("",o[1],r[1]-o[1],",",!0).appendXtra("",o[2],r[2]-o[2],v?",":z,!0),v&&(o=4>o.length?1:o[3],g.appendXtra("",o,(4>r.length?1:r[3])-o,z,!1)));else if(s=o.match(p)){if(t=r.match(q),!t||t.length!==s.length)return g;for(n=0,m=0;s.length>m;m++)y=s[m],w=o.indexOf(y,n),g.appendXtra(o.substr(n,w-n),Number(y),ca(t[m],y),"",D&&"px"===o.substr(w+y.length,2),0===m),n=w+y.length;g["xs"+g.l]+=o.substr(n)}else g["xs"+g.l]+=g.l?" "+o:o;if(-1!==d.indexOf("=")&&g.data){for(z=g.xs0+g.data.s,l=1;g.l>l;l++)z+=g["xs"+l]+g.data["xn"+l];
3g.e=z+g["xs"+l]}return g.l||(g.type=-1,g.xs0=g.e),g.xfirst||g},oa=9;for(i=ma.prototype,i.l=i.pr=0;--oa>0;)i["xn"+oa]=0,i["xs"+oa]="";i.xs0="",i._next=i._prev=i.xfirst=i.data=i.plugin=i.setRatio=i.rxp=null,i.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&h?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new ma(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var pa=function(a,b){b=b||{},this.p=b.prefix?T(a)||a:a,h[a]=h[this.p]=this,this.format=b.formatter||ja(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},qa=M._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;f.length>d;d++)b.prefix=0===d&&b.prefix,b.defaultValue=c[d]||g,e=new pa(f[d],b)},ra=function(a){if(!h[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";qa(a,{parser:function(a,c,d,e,f,g,i){var j=(window.GreenSockGlobals||window).com.greensock.plugins[b];return j?(j._cssRegister(),h[d].parse(a,c,d,e,f,g,i)):(Q("Error: "+b+" js file not loaded."),f)}})}};i=pa.prototype,i.parseComplex=function(a,b,c,d,e,f){var g,h,i,j,k,l,m=this.keyword;if(this.multi&&(F.test(c)||F.test(b)?(h=b.replace(F,"|").split("|"),i=c.replace(F,"|").split("|")):m&&(h=[b],i=[c])),i){for(j=i.length>h.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(c=-1===l?i:h,c[g]+=" "+m));b=h.join(", "),c=i.join(", ")}return na(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},i.parse=function(a,b,c,d,f,g){return this.parseComplex(a.style,this.format(V(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){qa(a,{parser:function(a,d,e,f,g,h){var i=new ma(a,e,0,0,g,2,e,!1,c);return i.plugin=h,i.setRatio=b(a,d,f._tween,e),i},priority:c})};var sa="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective".split(","),ta=T("transform"),ua=R+"transform",va=T("transformOrigin"),wa=null!==T("perspective"),xa=M.Transform=function(){this.skewY=0},ya=M.getTransform=function(a,b,c,d){if(a._gsTransform&&c&&!d)return a._gsTransform;var e,f,h,i,j,k,l,m,n,o,p,q,r,s=c?a._gsTransform||new xa:new xa,t=0>s.scaleX,u=2e-5,v=1e5,w=179.99,x=w*G,y=wa?parseFloat(V(a,va,b,!1,"0 0 0").split(" ")[2])||s.zOrigin||0:0;for(ta?e=V(a,ua,b,!0):a.currentStyle&&(e=a.currentStyle.filter.match(D),e=e&&4===e.length?[e[0].substr(4),Number(e[2].substr(4)),Number(e[1].substr(4)),e[3].substr(4),s.x||0,s.y||0].join(","):""),f=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],h=f.length;--h>-1;)i=Number(f[h]),f[h]=(j=i-(i|=0))?(0|j*v+(0>j?-.5:.5))/v+i:i;if(16===f.length){var z=f[8],A=f[9],B=f[10],C=f[12],E=f[13],F=f[14];if(s.zOrigin&&(F=-s.zOrigin,C=z*F-f[12],E=A*F-f[13],F=B*F+s.zOrigin-f[14]),!c||d||null==s.rotationX){var I,J,K,L,M,N,O,P=f[0],Q=f[1],R=f[2],S=f[3],T=f[4],U=f[5],W=f[6],X=f[7],Y=f[11],Z=Math.atan2(W,B),$=-x>Z||Z>x;s.rotationX=Z*H,Z&&(L=Math.cos(-Z),M=Math.sin(-Z),I=T*L+z*M,J=U*L+A*M,K=W*L+B*M,z=T*-M+z*L,A=U*-M+A*L,B=W*-M+B*L,Y=X*-M+Y*L,T=I,U=J,W=K),Z=Math.atan2(z,P),s.rotationY=Z*H,Z&&(N=-x>Z||Z>x,L=Math.cos(-Z),M=Math.sin(-Z),I=P*L-z*M,J=Q*L-A*M,K=R*L-B*M,A=Q*M+A*L,B=R*M+B*L,Y=S*M+Y*L,P=I,Q=J,R=K),Z=Math.atan2(Q,U),s.rotation=Z*H,Z&&(O=-x>Z||Z>x,L=Math.cos(-Z),M=Math.sin(-Z),P=P*L+T*M,J=Q*L+U*M,U=Q*-M+U*L,W=R*-M+W*L,Q=J),O&&$?s.rotation=s.rotationX=0:O&&N?s.rotation=s.rotationY=0:N&&$&&(s.rotationY=s.rotationX=0),s.scaleX=(0|Math.sqrt(P*P+Q*Q)*v+.5)/v,s.scaleY=(0|Math.sqrt(U*U+A*A)*v+.5)/v,s.scaleZ=(0|Math.sqrt(W*W+B*B)*v+.5)/v,s.skewX=0,s.perspective=Y?1/(0>Y?-Y:Y):0,s.x=C,s.y=E,s.z=F}}else if(!(wa&&!d&&f.length&&s.x===f[4]&&s.y===f[5]&&(s.rotationX||s.rotationY)||void 0!==s.x&&"none"===V(a,"display",b))){var _=f.length>=6,aa=_?f[0]:1,ba=f[1]||0,ca=f[2]||0,da=_?f[3]:1;s.x=f[4]||0,s.y=f[5]||0,k=Math.sqrt(aa*aa+ba*ba),l=Math.sqrt(da*da+ca*ca),m=aa||ba?Math.atan2(ba,aa)*H:s.rotation||0,n=ca||da?Math.atan2(ca,da)*H+m:s.skewX||0,o=k-Math.abs(s.scaleX||0),p=l-Math.abs(s.scaleY||0),Math.abs(n)>90&&270>Math.abs(n)&&(t?(k*=-1,n+=0>=m?180:-180,m+=0>=m?180:-180):(l*=-1,n+=0>=n?180:-180)),q=(m-s.rotation)%180,r=(n-s.skewX)%180,(void 0===s.skewX||o>u||-u>o||p>u||-u>p||q>-w&&w>q&&false|q*v||r>-w&&w>r&&false|r*v)&&(s.scaleX=k,s.scaleY=l,s.rotation=m,s.skewX=n),wa&&(s.rotationX=s.rotationY=s.z=0,s.perspective=parseFloat(g.defaultTransformPerspective)||0,s.scaleZ=1)}s.zOrigin=y;for(h in s)u>s[h]&&s[h]>-u&&(s[h]=0);return c&&(a._gsTransform=s),s},za=function(a){var b,c,d=this.data,e=-d.rotation*G,f=e+d.skewX*G,g=1e5,h=(0|Math.cos(e)*d.scaleX*g)/g,i=(0|Math.sin(e)*d.scaleX*g)/g,j=(0|Math.sin(f)*-d.scaleY*g)/g,k=(0|Math.cos(f)*d.scaleY*g)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,p,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,w=d.x,x=d.y;
3if(null!=d.ox&&(n=(d.oxp?.01*q*d.ox:d.ox)-q/2,p=(d.oyp?.01*r*d.oy:d.oy)-r/2,w+=n-(n*h+p*i),x+=p-(n*j+p*k)),s?(n=q/2,p=r/2,v+=", Dx="+(n-(n*h+p*i)+w)+", Dy="+(p-(n*j+p*k)+x)+")"):v+=", sizingMethod='auto expand')",l.filter=-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?b.replace(E,v):v+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===v.indexOf("Dx=0, Dy=0")||u.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf("gradient("&&b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>o?1:-1;for(n=d.ieOffsetX||0,p=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+w),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+x),oa=0;4>oa;oa++)z=_[oa],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):W(this.t,z,parseFloat(y),y.replace(t,""))||0,A=c!==d[z]?2>oa?-d.ieOffsetX:-d.ieOffsetY:2>oa?n-d.ieOffsetX:p-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===oa||2===oa?1:B)))+"px"}}},Aa=M.set3DTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,n,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation*G,C=z.scaleX,D=z.scaleY,E=z.scaleZ,F=z.perspective;if(!(1!==a&&0!==a||"auto"!==z.force3D||z.rotationY||z.rotationX||1!==E||F||z.z))return Ba.call(this,a),void 0;if(m){var H=1e-4;H>C&&C>-H&&(C=E=2e-5),H>D&&D>-H&&(D=E=2e-5),!F||z.z||z.rotationX||z.rotationY||(F=0)}if(B||z.skewX)t=Math.cos(B),u=Math.sin(B),b=t,f=u,z.skewX&&(B-=z.skewX*G,t=Math.cos(B),u=Math.sin(B),"simple"===z.skewType&&(v=Math.tan(z.skewX*G),v=Math.sqrt(1+v*v),t*=v,u*=v)),c=-u,g=t;else{if(!(z.rotationY||z.rotationX||1!==E||F))return A[ta]="translate3d("+z.x+"px,"+z.y+"px,"+z.z+"px)"+(1!==C||1!==D?" scale("+C+","+D+")":""),void 0;b=g=1,c=f=0}l=1,d=e=h=i=j=k=n=o=p=0,q=F?-1/F:0,r=z.zOrigin,s=1e5,B=z.rotationY*G,B&&(t=Math.cos(B),u=Math.sin(B),j=l*-u,o=q*-u,d=b*u,h=f*u,l*=t,q*=t,b*=t,f*=t),B=z.rotationX*G,B&&(t=Math.cos(B),u=Math.sin(B),v=c*t+d*u,w=g*t+h*u,x=k*t+l*u,y=p*t+q*u,d=c*-u+d*t,h=g*-u+h*t,l=k*-u+l*t,q=p*-u+q*t,c=v,g=w,k=x,p=y),1!==E&&(d*=E,h*=E,l*=E,q*=E),1!==D&&(c*=D,g*=D,k*=D,p*=D),1!==C&&(b*=C,f*=C,j*=C,o*=C),r&&(n-=r,e=d*n,i=h*n,n=l*n+r),e=(v=(e+=z.x)-(e|=0))?(0|v*s+(0>v?-.5:.5))/s+e:e,i=(v=(i+=z.y)-(i|=0))?(0|v*s+(0>v?-.5:.5))/s+i:i,n=(v=(n+=z.z)-(n|=0))?(0|v*s+(0>v?-.5:.5))/s+n:n,A[ta]="matrix3d("+[(0|b*s)/s,(0|f*s)/s,(0|j*s)/s,(0|o*s)/s,(0|c*s)/s,(0|g*s)/s,(0|k*s)/s,(0|p*s)/s,(0|d*s)/s,(0|h*s)/s,(0|l*s)/s,(0|q*s)/s,e,i,n,F?1+-n/F:1].join(",")+")"},Ba=M.set2DTransformRatio=function(a){var b,c,d,e,f,g=this.data,h=this.t,i=h.style;return g.rotationX||g.rotationY||g.z||g.force3D===!0||"auto"===g.force3D&&1!==a&&0!==a?(this.setRatio=Aa,Aa.call(this,a),void 0):(g.rotation||g.skewX?(b=g.rotation*G,c=b-g.skewX*G,d=1e5,e=g.scaleX*d,f=g.scaleY*d,i[ta]="matrix("+(0|Math.cos(b)*e)/d+","+(0|Math.sin(b)*e)/d+","+(0|Math.sin(c)*-f)/d+","+(0|Math.cos(c)*f)/d+","+g.x+","+g.y+")"):i[ta]="matrix("+g.scaleX+",0,0,"+g.scaleY+","+g.x+","+g.y+")",void 0)};qa("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType",{parser:function(a,b,c,d,f,h,i){if(d._transform)return f;var j,k,l,m,n,o,p,q=d._transform=ya(a,e,!0,i.parseTransform),r=a.style,s=1e-6,t=sa.length,u=i,v={};if("string"==typeof u.transform&&ta)l=K.style,l[ta]=u.transform,l.display="block",l.position="absolute",J.body.appendChild(K),j=ya(K,null,!1),J.body.removeChild(K);else if("object"==typeof u){if(j={scaleX:da(null!=u.scaleX?u.scaleX:u.scale,q.scaleX),scaleY:da(null!=u.scaleY?u.scaleY:u.scale,q.scaleY),scaleZ:da(u.scaleZ,q.scaleZ),x:da(u.x,q.x),y:da(u.y,q.y),z:da(u.z,q.z),perspective:da(u.transformPerspective,q.perspective)},p=u.directionalRotation,null!=p)if("object"==typeof p)for(l in p)u[l]=p[l];else u.rotation=p;j.rotation=ea("rotation"in u?u.rotation:"shortRotation"in u?u.shortRotation+"_short":"rotationZ"in u?u.rotationZ:q.rotation,q.rotation,"rotation",v),wa&&(j.rotationX=ea("rotationX"in u?u.rotationX:"shortRotationX"in u?u.shortRotationX+"_short":q.rotationX||0,q.rotationX,"rotationX",v),j.rotationY=ea("rotationY"
vendor: 17,190 bytes, line 3
3in u?u.rotationY:"shortRotationY"in u?u.shortRotationY+"_short":q.rotationY||0,q.rotationY,"rotationY",v)),j.skewX=null==u.skewX?q.skewX:ea(u.skewX,q.skewX),j.skewY=null==u.skewY?q.skewY:ea(u.skewY,q.skewY),(k=j.skewY-q.skewY)&&(j.skewX+=k,j.rotation+=k)}for(wa&&null!=u.force3D&&(q.force3D=u.force3D,o=!0),q.skewType=u.skewType||q.skewType||g.defaultSkewType,n=q.force3D||q.z||q.rotationX||q.rotationY||j.z||j.rotationX||j.rotationY||j.perspective,n||null==u.scale||(j.scaleZ=1);--t>-1;)c=sa[t],m=j[c]-q[c],(m>s||-s>m||null!=I[c])&&(o=!0,f=new ma(q,c,q[c],m,f),c in v&&(f.e=v[c]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return m=u.transformOrigin,(m||wa&&n&&q.zOrigin)&&(ta?(o=!0,c=va,m=(m||V(a,c,e,!1,"50% 50%"))+"",f=new ma(r,c,0,0,f,-1,"transformOrigin"),f.b=r[c],f.plugin=h,wa?(l=q.zOrigin,m=m.split(" "),q.zOrigin=(m.length>2&&(0===l||"0px"!==m[2])?parseFloat(m[2]):l)||0,f.xs0=f.e=m[0]+" "+(m[1]||"50%")+" 0px",f=new ma(q,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=q.zOrigin):f.xs0=f.e=m):ba(m+"",q)),o&&(d._transformType=n||3===this._transformType?3:2),f},prefix:!0}),qa("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),qa("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g){b=this.format(b);var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],y=a.style;for(p=parseFloat(a.offsetWidth),q=parseFloat(a.offsetHeight),h=b.split(" "),i=0;x.length>i;i++)this.p.indexOf("border")&&(x[i]=T(x[i])),l=k=V(a,x[i],e,!1,"0px"),-1!==l.indexOf(" ")&&(k=l.split(" "),l=k[0],k=k[1]),m=j=h[i],n=parseFloat(l),s=l.substr((n+"").length),t="="===m.charAt(1),t?(o=parseInt(m.charAt(0)+"1",10),m=m.substr(2),o*=parseFloat(m),r=m.substr((o+"").length-(0>o?1:0))||""):(o=parseFloat(m),r=m.substr((o+"").length)),""===r&&(r=d[c]||s),r!==s&&(u=W(a,"borderLeft",n,s),v=W(a,"borderTop",n,s),"%"===r?(l=100*(u/p)+"%",k=100*(v/q)+"%"):"em"===r?(w=W(a,"borderLeft",1,"em"),l=u/w+"em",k=v/w+"em"):(l=u+"px",k=v+"px"),t&&(m=parseFloat(l)+o+r,j=parseFloat(k)+o+r)),g=na(y,x[i],l+" "+k,m+" "+j,!1,"0px",g);return g},prefix:!0,formatter:ja("0px 0px 0px 0px",!1,!0)}),qa("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",p=e||U(a,null),q=this.format((p?o?p.getPropertyValue(n+"-x")+" "+p.getPropertyValue(n+"-y"):p.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&(m=V(a,"backgroundImage").replace(A,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),L.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-L.width:a.offsetHeight-L.height,h[j]=k?parseFloat(q)/100*l+"px":100*(parseFloat(q)/l)+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ba}),qa("backgroundSize",{defaultValue:"0 0",formatter:ba}),qa("perspective",{defaultValue:"0px",prefix:!0}),qa("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),qa("transformStyle",{prefix:!0}),qa("backfaceVisibility",{prefix:!0}),qa("userSelect",{prefix:!0}),qa("margin",{parser:ka("marginTop,marginRight,marginBottom,marginLeft")}),qa("padding",{parser:ka("paddingTop,paddingRight,paddingBottom,paddingLeft")}),qa("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>o?(i=a.currentStyle,j=8>o?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")",b=this.format(b).split(",").join(j)):(h=this.format(V(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),qa("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),qa("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),qa("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){return this.parseComplex(a.style,this.format(V(a,"borderTopWidth",e,!1,"0px")+" "+V(a,"borderTopStyle",e,!1,"solid")+" "+V(a,"borderTopColor",e,!1,"#000")),this.format(b),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(ia)||["#000"])[0]}}),qa("borderWidth",{parser:ka("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),qa("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e){var f=a.style,g="cssFloat"in f?"cssFloat":"styleFloat";return new ma(f,g,0,0,e,-1,c,!1,0,f[g],b)}});var Ca=function(a){var b,c=this.t,d=c.filter||V(this.data,"filter"),e=0|this.s+this.c*a;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!V(this.data,"filter")):(c.filter=d.replace(w,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(u,"opacity="+e))};qa("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat(V(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===V(a,"visibility",e)&&0!==b&&(h=0),O?f=new ma(i,"opacity",h,b-h,f):(f=new ma(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Ca),j&&(f=new ma(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._overwriteProps.push(c)),f}});var Da=function(a,b){b&&(a.removeProperty?("ms"===b.substr(0,2)&&(b="M"+b.substr(1)),a.removeProperty(b.replace(y,"-$1").toLowerCase())):a.removeAttribute(b))},Ea=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Da(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};qa("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new ma(a,d,0,0,g,2),g.setRatio=Ea,g.pr=-11,c=!0,g.b=o,k=Y(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(RegExp("\\s*\\b"+b.substr(2)+"\\b"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),f._tween._duration&&(a.setAttribute("class",g.e),j=Z(a,k,Y(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)),g}});var Fa=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f=this.t.style,g=h.transform.parse;if("all"===this.e)f.cssText="",e=!0;else for(b=this.e.split(","),d=b.length;--d>-1;)c=b[d],h[c]&&(h[c].parse===g?e=!0:c="transformOrigin"===c?va:h[c].p),Da(f,c);e&&(Da(f,ta),this.t._gsTransform&&delete this.t._gsTransform)}};for(qa("clearProps",{parser:function(a,b,d,e,f){return f=new ma(a,d,0,0,f,2),f.setRatio=Fa,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),i="bezier,throwProps,physicsProps,physics2D".split(","),oa=i.length;oa--;)ra(i[oa]);i=g.prototype,i._firstPT=null,i._onInitTween=function(a,b,h){if(!a.nodeType)return!1;this._target=a,this._tween=h,this._vars=b,j=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=U(a,""),f=this._overwriteProps;var i,m,o,p,q,r,s,t,u,w=a.style;if(k&&""===w.zIndex&&(i=V(a,"zIndex",e),("auto"===i||""===i)&&this._addLazySet(w,"zIndex",0)),"string"==typeof b&&(p=w.cssText,i=Y(a,e),w.cssText=p+";"+b,i=Z(a,i,Y(a)).difs,!O&&v.test(b)&&(i.opacity=parseFloat(RegExp.$1)),b=i,w.cssText=p),this._firstPT=m=this.parse(a,b,null),this._transformType){for(u=3===this._transformType,ta?l&&(k=!0,""===w.zIndex&&(s=V(a,"zIndex",e),("auto"===s||""===s)&&this._addLazySet(w,"zIndex",0)),n&&this._addLazySet(w,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(u?"visible":"hidden"))):w.zoom=1,o=m;o&&o._next;)o=o._next;t=new ma(a,"transform",0,0,null,2),this._linkCSSP(t,null,o),t.setRatio=u&&wa?Aa:ta?Ba:za,t.data=this._transform||ya(a,e,!0),f.pop()}if(c){for(;m;){for(r=m._next,o=p;o&&o.pr>m.pr;)o=o._next;(m._prev=o?o._prev:q)?m._prev._next=m:p=m,(m._next=o)?o._prev=m:q=m,m=r}this._firstPT=p}return!0},i.parse=function(a,b,c,f){var g,i,k,l,m,n,o,p,q,r,s=a.style;for(g in b)n=b[g],i=h[g],i?c=i.parse(a,n,g,this,c,f,b):(m=V(a,g,e)+"",q="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||q&&x.test(n)?(q||(n=ha(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=na(s,g,m,n,!0,"transparent",c,0,f)):!q||-1===n.indexOf(" ")&&-1===n.indexOf(",")?(k=parseFloat(m),o=k||0===k?m.substr((k+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(k=aa(a,g,e),o="px"):"left"===g||"top"===g?(k=X(a,g,e),o="px"):(k="opacity"!==g?0:1,o="")),r=q&&"="===n.charAt(1),r?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(t,"")):(l=parseFloat(n),p=q?n.substr((l+"").length)||"":""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(r?l+k:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&k&&(k=W(a,g,k,o),"%"===p?(k/=W(a,g,100,"%")/100,b.strictUnits!==!0&&(m=k+"%")):"em"===p?k/=W(a,g,1,"em"):"px"!==p&&(l=W(a,g,l,p),p="px"),r&&(l||0===l)&&(n=l+k+p)),r&&(l+=k),!k&&0!==k||!l&&0!==l?void 0!==s[g]&&(n||"NaN"!=n+""&&null!=n)?(c=new ma(s,g,l||k||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):Q("invalid "+g+" tween value: "+b[g]):(c=new ma(s,g,k,l-k,c,0,g,j!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p)):c=na(s,g,m,n,!0,null,c,0,f)),f&&c&&!c.plugin&&(c.plugin=f);return c},i.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;e.l>d;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next;else for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next},i._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2,this._transform=this._transform||ya(this._target,e,!0)};var Ga=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};i._addLazySet=function(a,b,c){var d=this._firstPT=new ma(a,b,0,0,this._firstPT,2);d.e=c,d.setRatio=Ga,d.data=this},i._linkCSSP=function(a,b,c,d){return a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next,d=!0),c?c._next=a:d||null!==this._firstPT||(this._firstPT=a),a._next=b,a._prev=c),a},i._kill=function(b){var c,d,e,f=b;if(b.autoAlpha||b.alpha){f={};for(d in b)f[d]=b[d];f.opacity=1,f.autoAlpha&&(f.visibility=1)}return b.className&&(c=this._classNamePT)&&(e=c.xfirst,e&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=c._next),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._classNamePT=null),a.prototype._kill.call(this,f)};var Ha=function(a,b,c){var d,e,f,g;if(a.slice)for(e=a.length;--e>-1;)Ha(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(Y(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Ha(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h=b.to(a,c,d),i=[h],j=[],k=[],l=[],m=b._internals.reservedProps;for(a=h._targets||h.target,Ha(a,j,l),h.render(c,!0),Ha(a,k),h.render(0,!0),h._enabled(!0),e=l.length;--e>-1;)if(f=Z(l[e],j[e],k[e]),f.firstMPT){f=f.difs;for(g in d)m[g]&&(f[g]=d[g]);i.push(b.to(l[e],c,f))}return i},a.activate([g]),g},!0),function(){var a=window._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(a,b,c){return this._tween=c,!0}}),b=a.prototype;b._onInitAllProps=function(){for(var a,b,c,d=this._tween,e=d.vars.roundProps instanceof Array?d.vars.roundProps:d.vars.roundProps.split(","),f=e.length,g={},h=d._propLookup.roundProps;--f>-1;)g[e[f]]=1;for(f=e.length;--f>-1;)for(a=e[f],b=d._firstPT;b;)c=b._next,b.pg?b.t._roundProps(g,!0):b.n===a&&(this._add(b.t,a,b.s,b.c),c&&(c._prev=b._prev),b._prev?b._prev._next=c:d._firstPT===b&&(d._firstPT=c),b._next=b._prev=null,d._propLookup[a]=h),b=c;return!1},b._add=function(a,b,c,d){this._addTween(a,b,c,c+d,b,!0),this._overwriteProps.push(b)}}(),window._gsDefine.plugin({propName:"attr",API:2,version:"0.3.2",init:function(a,b){var c,d,e;if("function"!=typeof a.setAttribute)return!1;this._target=a,this._proxy={},this._start={},this._end={};for(c in b)this._start[c]=this._proxy[c]=d=a.getAttribute(c),e=this._addTween(this._proxy,c,parseFloat(d),b[c],c),this._end[c]=e?e.s+e.c:b[c],this._overwriteProps.push(c);return!0},set:function(a){this._super.setRatio.call(this,a);for(var b,c=this._overwriteProps,d=c.length,e=1===a?this._end:a?this._proxy:this._start;--d>-1;)b=c[d],this._target.setAttribute(b,e[b]+"")}}),window._gsDefine.plugin({propName:"directionalRotation",API:2,version:"0.2.0",init:function(a,b){"object"!=typeof b&&(b={rotation:b}),this.finals={};var c,d,e,f,g,h,i=b.useRadians===!0?2*Math.PI:360,j=1e-6;for(c in b)"useRadians"!==c&&(h=(b[c]+"").split("_"),d=h[0],e=parseFloat("function"!=typeof a[c]?a[c]:a[c.indexOf("set")||"function"!=typeof a["get"+c.substr(3)]?c:"get"+c.substr(3)]()),f=this.finals[c]="string"==typeof d&&"="===d.charAt(1)?e+parseInt(d.charAt(0)+"1",10)*Number(d.substr(2)):Number(d)||0,g=f-e,h.length&&(d=h.join("_"),-1!==d.indexOf("short")&&(g%=i,g!==g%(i/2)&&(g=0>g?g+i:g-i)),-1!==d.indexOf("_cw")&&0>g?g=(g+9999999999*i)%i-(0|g/i)*i:-1!==d.indexOf("ccw")&&g>0&&(g=(g-9999999999*i)%i-(0|g/i)*i)),(g>j||-j>g)&&(this._addTween(a,c,e,e+g,c),this._overwriteProps.push(c)));return!0},set:function(a){var b;if(1!==a)this._super.setRatio.call(this,a);else for(b=this._firstPT;b;)b.f?b.t[b.p](this.finals[b.p]):b.t[b.p]=this.finals[b.p],b=b._next}})._autoCSS=!0,window._gsDefine("easing.Back",["easing.Ease"],function(a){var b,c,d,e=window.GreenSockGlobals||window,f=e.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,d},k=a.register||function(){},l=function(a,b,c,d){var e=i("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0);return k(e,a),e},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,e.config=function(a){return new d(a)},d},o=l("Back",n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("BackInOut",function(a){return 1>(a*=2)?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getRatio=function(a){var b=a+(.5-a)*this._p;return this._p1>a?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},p.ease=new p(.7,.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.RoughEase",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;--n>-1;)c=o?Math.random():1/l*n,d=q?q.getRatio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:.5>c?(f=2*c,e=.5*f*f*r):(f=2*(1-c),e=.5*f*f*r),o?d+=Math.random()*e-.5*e:n%2?d+=.5*e:d-=.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;)g=j[n],h=new m(g.x,g.y,h);this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&b.t>=a;)b=b.prev;return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("Bounce",j("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j("BounceIn",function(a){return 1/2.75>(a=1-a)?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>
vendor: 17,566 bytes, lines 3-4
3a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),j("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),l("Circ",j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),j("CircInOut",function(a){return 1>(a*=2)?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a||1,this._p2=b||d,this._p3=this._p2/g*(Math.asin(1/this._p1)||0)},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=c,f.config=function(a,b){return new e(a,b)},e},l("Elastic",d("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*g/this._p2)+1},.3),d("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2))},.3),d("ElasticInOut",function(a){return 1>(a*=2)?-.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2):.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*g/this._p2)+1},.45)),l("Expo",j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),j("ExpoInOut",function(a){return 1>(a*=2)?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),l("Sine",j("SineOut",function(a){return Math.sin(a*h)}),j("SineIn",function(a){return-Math.cos(a*h)+1}),j("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),i("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),k(e.SlowMo,"SlowMo","ease,"),k(c,"RoughEase","ease,"),k(b,"SteppedEase","ease,"),o},!0)}),function(a){"use strict";var b=a.GreenSockGlobals||a;if(!b.TweenLite){var c,d,e,f,g,h=function(a){var c,d=a.split("."),e=b;for(c=0;d.length>c;c++)e[d[c]]=e=e[d[c]]||{};return e},i=h("com.greensock"),j=1e-10,k=[].slice,l=function(){},m=function(){var a=Object.prototype.toString,b=a.call([]);return function(c){return null!=c&&(c instanceof Array||"object"==typeof c&&!!c.push&&a.call(c)===b)}}(),n={},o=function(c,d,e,f){this.sc=n[c]?n[c].sc:[],n[c]=this,this.gsClass=null,this.func=e;var g=[];this.check=function(i){for(var j,k,l,m,p=d.length,q=p;--p>-1;)(j=n[d[p]]||new o(d[p],[])).gsClass?(g[p]=j.gsClass,q--):i&&j.sc.push(this);if(0===q&&e)for(k=("com.greensock."+c).split("."),l=k.pop(),m=h(k.join("."))[l]=this.gsClass=e.apply(e,g),f&&(b[l]=m,"function"==typeof define&&define.amd?define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+c.split(".").join("/"),[],function(){return m}):"undefined"!=typeof module&&module.exports&&(module.exports=m)),p=0;this.sc.length>p;p++)this.sc[p].check()},this.check(!0)},p=a._gsDefine=function(a,b,c,d){return new o(a,b,c,d)},q=i._class=function(a,b,c){return b=b||function(){},p(a,[],function(){return b},c),b};p.globals=b;var r=[0,0,1,1],s=[],t=q("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?r.concat(b):r},!0),u=t.map={},v=t.register=function(a,b,c,d){for(var e,f,g,h,j=b.split(","),k=j.length,l=(c||"easeIn,easeOut,easeInOut").split(",");--k>-1;)for(f=j[k],e=d?q("easing."+f,null,!0):i.easing[f]||{},g=l.length;--g>-1;)h=l[g],u[f+"."+h]=u[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(e=t.prototype,e._calcEnd=!1,e.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},c=["Linear","Quad","Cubic","Quart","Quint,Strong"],d=c.length;--d>-1;)e=c[d]+",Power"+d,
4v(new t(null,null,1,d),e,"easeOut",!0),v(new t(null,null,2,d),e,"easeIn"+(0===d?",easeNone":"")),v(new t(null,null,3,d),e,"easeInOut");u.linear=i.easing.Linear.easeIn,u.swing=i.easing.Quad.easeInOut;var w=q("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});e=w.prototype,e.addEventListener=function(a,b,c,d,e){e=e||0;var h,i,j=this._listeners[a],k=0;for(null==j&&(this._listeners[a]=j=[]),i=j.length;--i>-1;)h=j[i],h.c===b&&h.s===c?j.splice(i,1):0===k&&e>h.pr&&(k=i+1);j.splice(k,0,{c:b,s:c,up:d,pr:e}),this!==f||g||f.wake()},e.removeEventListener=function(a,b){var c,d=this._listeners[a];if(d)for(c=d.length;--c>-1;)if(d[c].c===b)return d.splice(c,1),void 0},e.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,c=this._eventTarget;--b>-1;)d=e[b],d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c)};var x=a.requestAnimationFrame,y=a.cancelAnimationFrame,z=Date.now||function(){return(new Date).getTime()},A=z();for(c=["ms","moz","webkit","o"],d=c.length;--d>-1&&!x;)x=a[c[d]+"RequestAnimationFrame"],y=a[c[d]+"CancelAnimationFrame"]||a[c[d]+"CancelRequestAnimationFrame"];q("Ticker",function(a,b){var c,d,e,h,i,k=this,m=z(),n=b!==!1&&x,o=500,p=33,q=function(a){var b,f,g=z()-A;g>o&&(m+=g-p),A+=g,k.time=(A-m)/1e3,b=k.time-i,(!c||b>0||a===!0)&&(k.frame++,i+=b+(b>=h?.004:h-b),f=!0),a!==!0&&(e=d(q)),f&&k.dispatchEvent("tick")};w.call(k),k.time=k.frame=0,k.tick=function(){q(!0)},k.lagSmoothing=function(a,b){o=a||1/j,p=Math.min(b,o,0)},k.sleep=function(){null!=e&&(n&&y?y(e):clearTimeout(e),d=l,e=null,k===f&&(g=!1))},k.wake=function(){null!==e?k.sleep():k.frame>10&&(A=z()-o+5),d=0===c?l:n&&x?x:function(a){return setTimeout(a,0|1e3*(i-k.time)+1)},k===f&&(g=!0),q(2)},k.fps=function(a){return arguments.length?(c=a,h=1/(c||60),i=this.time+h,k.wake(),void 0):c},k.useRAF=function(a){return arguments.length?(k.sleep(),n=a,k.fps(c),void 0):n},k.fps(a),setTimeout(function(){n&&(!e||5>k.frame)&&k.useRAF(!1)},1500)}),e=i.Ticker.prototype=new i.events.EventDispatcher,e.constructor=i.Ticker;var B=q("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,Q){g||f.wake();var c=this.vars.useFrames?P:Q;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});f=B.ticker=new i.Ticker,e=B.prototype,e._dirty=e._gc=e._initted=e._paused=!1,e._totalTime=e._time=0,e._rawPrevTime=-1,e._next=e._last=e._onUpdate=e._timeline=e.timeline=null,e._paused=!1;var C=function(){g&&z()-A>2e3&&f.wake(),setTimeout(C,2e3)};C(),e.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},e.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},e.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},e.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},e.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},e.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},e.render=function(){},e.invalidate=function(){return this},e.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime())>=c&&c+this.totalDuration()/this._timeScale>a},e._enabled=function(a,b){return g||f.wake(),this._gc=!a,this._active=this.isActive(),b!==!0&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},e._kill=function(){return this._enabled(!1,!1)},e.kill=function(a,b){return this._kill(a,b),this},e._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},e._swapSelfInParams=function(a){for(var b=a.length,c=a.concat();--b>-1;)"{self}"===a[b]&&(c[b]=this);return c},e.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=m(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},e.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},e.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},e.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},e.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(a>this._duration?this._duration:a,b)):this._time},e.totalTime=function(a,b,c){if(g||f.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(this.render(a,b,!1),H.length&&R())}return this},e.progress=e.totalProgress=function(a,b){return arguments.length?this.totalTime(this.duration()*a,b):this._time/this.duration()},e.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},e.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||j,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},e.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},e.paused=function(a){if(!arguments.length)return this._paused;if(a!=this._paused&&this._timeline){g||a||f.wake();var b=this._timeline,c=b.rawTime(),d=c-this._pauseTime;!a&&b.smoothChildTiming&&(this._startTime+=d,this._uncache(!1)),this._pauseTime=a?c:null,this._paused=a,this._active=this.isActive(),!a&&0!==d&&this._initted&&this.duration()&&this.render(b.smoothChildTiming?this._totalTime:(c-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!a&&this._enabled(!0,!1),this};var D=q("core.SimpleTimeline",function(a){B.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});e=D.prototype=new B,e.constructor=D,e.kill()._gc=!1,e._first=e._last=null,e._sortChildren=!1,e.add=e.insert=function(a,b){var c,d;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),c=this._last,this._sortChildren)for(d=a._startTime;c&&c._startTime>d;)c=c._prev;return c?(a._next=c._next,c._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=c,this._timeline&&this._uncache(!0),this},e._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a.timeline=null,a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0)),this},e.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},e.rawTime=function(){return g||f.wake(),this._totalTime};var E=q("TweenLite",function(b,c,d){if(B.call(this,c,d),this.render=E.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:E.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?O[E.defaultOverwrite]:"number"==typeof i?i>>0:O[i],(h||b instanceof Array||b.push&&m(b))&&"number"!=typeof b[0])for(this._targets=g=k.call(b,0),this._propLookup=[],this._siblings=[],e=0;g.length>e;e++)f=g[e],f?"string"!=typeof f?f.length&&f!==a&&f[0]&&(f[0]===a||f[0].nodeType&&f[0].style&&!f.nodeType)?(g.splice(e--,1),this._targets=g=g.concat(k.call(f,0))):(this._siblings[e]=S(f,this,!1),1===i&&this._siblings[e].length>1&&T(f,this,null,1,this._siblings[e])):(f=g[e--]=E.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=S(b,this,!1),1===i&&this._siblings.length>1&&T(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-j,this.render(-this._delay))},!0),F=function(b){return b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType)},G=function(a,b){var c,d={};for(c in a)N[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!K[c]||K[c]&&K[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};e=E.prototype=new B,e.constructor=E,e.kill()._gc=!1,e.ratio=0,e._firstPT=e._targets=e._overwrittenProps=e._startAt=null,e._notifyPluginsOfEnabled=e._lazy=!1,E.version="1.12.1",E.defaultEase=e._ease=new t(null,null,1,1),E.defaultOverwrite="auto",E.ticker=f,E.autoSleep=!0,E.lagSmoothing=function(a,b){f.lagSmoothing(a,b)},E.selector=a.$||a.jQuery||function(b){return a.$?(E.selector=a.$,a.$(b)):a.document?a.document.getElementById("#"===b.charAt(0)?b.substr(1):b):b};var H=[],I={},J=E._internals={isArray:m,isSelector:F,lazyTweens:H},K=E._plugins={},L=J.tweenLookup={},M=0,N=J.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1},O={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},P=B._rootFramesTimeline=new D,Q=B._rootTimeline=new D,R=function(){var a=H.length;for(I={};--a>-1;)c=H[a],c&&c._lazy!==!1&&(c.render(c._lazy,!1,!0),c._lazy=!1);H.length=0};Q._startTime=f.time,P._startTime=f.frame,Q._active=P._active=!0,setTimeout(R,1),B._updateRoot=E.render=function(){var a,b,c;if(H.length&&R(),Q.render((f.time-Q._startTime)*Q._timeScale,!1,!1),P.render((f.frame-P._startTime)*P._timeScale,!1,!1),H.length&&R(),!(f.frame%120)){for(c in L){for(b=L[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete L[c]}if(c=Q._first,(!c||c._paused)&&E.autoSleep&&!P._first&&1===f._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||f.sleep()}}},f.addEventListener("tick",B._updateRoot);var S=function(a,b,c){var d,e,f=a._gsTweenID;if(L[f||(a._gsTweenID=f="t"+M++)]||(L[f]={target:a,tweens:[]}),b&&(d=L[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return L[f].tweens},T=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._enabled(!1,!1)&&(g=!0);else if(5===d)break;return g}var k,l=b._startTime+j,m=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(k=k||U(b,0,o),0===U(h,k,o)&&(m[n++]=h)):l>=h._startTime&&h._startTime+h.totalDuration()/h._timeScale>l&&((o||!h._initted)&&2e-10>=l-h._startTime||(m[n++]=h)));for(f=n;--f>-1;)h=m[f],2===d&&h._kill(c,a)&&(g=!0),(2!==d||!h._firstPT&&h._initted)&&h._enabled(!1,!1)&&(g=!0);return g},U=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*j>f-b?j:(f+=a.totalDuration()/a._timeScale/e)>b+j?0:f-b-j};e._init=function(){var a,b,c,d,e,f=this.vars,g=this._overwrittenProps,h=this._duration,i=!!f.immediateRender,j=f.ease;if(f.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in f.startAt)e[d]=f.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=i&&f.lazy!==!1,e.startAt=e.delay=null,this._startAt=E.to(this.target,0,e),i)if(this._time>0)this._startAt=null;else if(0!==h)return}else if(f.runBackwards&&0!==h)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{c={};for(d in f)N[d]&&"autoCSS"!==d||(c[d]=f[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=i&&f.lazy!==!1,c.immediateRender=i,this._startAt=E.to(this.target,0,c),i){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1)}if(this._ease=j?j instanceof t?f.easeParams instanceof Array?j.config.apply(j,f.easeParams):j:"function"==typeof j?new t(j,f.easeParams):u[j]||E.defaultEase:E.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length;--a>-1;)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],g?g[a]:null)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,g);if(b&&E._onPluginEvent("_onInitAllProps",this),g&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),f.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=f.onUpdate,this._initted=!0}
4,e._initProps=function(b,c,d,e){var f,g,h,i,j,k;if(null==b)return!1;I[b._gsTweenID]&&R(),this.vars.css||b.style&&b!==a&&b.nodeType&&K.css&&this.vars.autoCSS!==!1&&G(this.vars,b);for(f in this.vars){if(k=this.vars[f],N[f])k&&(k instanceof Array||k.push&&m(k))&&-1!==k.join("").indexOf("{self}")&&(this.vars[f]=k=this._swapSelfInParams(k,this));else if(K[f]&&(i=new K[f])._onInitTween(b,this.vars[f],this)){for(this._firstPT=j={_next:this._firstPT,t:i,p:"setRatio",s:0,c:1,f:!0,n:f,pg:!0,pr:i._priority},g=i._overwriteProps.length;--g>-1;)c[i._overwriteProps[g]]=this._firstPT;(i._priority||i._onInitAllProps)&&(h=!0),(i._onDisable||i._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=c[f]=j={_next:this._firstPT,t:b,p:f,f:"function"==typeof b[f],n:f,pg:!1,pr:0},j.s=j.f?b[f.indexOf("set")||"function"!=typeof b["get"+f.substr(3)]?f:"get"+f.substr(3)]():parseFloat(b[f]),j.c="string"==typeof k&&"="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*Number(k.substr(2)):Number(k)-j.s||0;j&&j._next&&(j._next._prev=j)}return e&&this._kill(e,b)?this._initProps(b,c,d,e):this._overwrite>1&&this._firstPT&&d.length>1&&T(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(I[b._gsTweenID]=!0),h)},e.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,k=this._rawPrevTime;if(a>=i)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete"),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0===a||0>k||k===j)&&k!==a&&(c=!0,k>j&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||k===a?a:j);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&k>0&&k!==j)&&(e="onReverseComplete",d=this._reversed),0>a?(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(k>=0&&(c=!0),this._rawPrevTime=g=!b||a||k===a?a:j)):this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var l=a/i,m=this._easeType,n=this._easePower;(1===m||3===m&&l>=.5)&&(l=1-l),3===m&&(l*=2),1===n?l*=l:2===n?l*=l*l:3===n?l*=l*l*l:4===n&&(l*=l*l*l*l),this.ratio=1===m?1-l:2===m?l:.5>a/i?l/2:1-l/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=k,H.push(this),this._lazy=a,void 0;this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||s))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&this._startTime&&this._startAt.render(a,b,c),b||(this._time!==h||d)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s)),e&&(this._gc||(0>a&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this.vars[e].apply(this.vars[e+"Scope"]||this,this.vars[e+"Params"]||s),0===i&&this._rawPrevTime===j&&g!==j&&(this._rawPrevTime=0)))}},e._kill=function(a,b){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:E.selector(b)||b;var c,d,e,f,g,h,i,j;if((m(b)||F(b))&&"number"!=typeof b[0])for(c=b.length;--c>-1;)this._kill(a,b[c])&&(h=!0);else{if(this._targets){for(c=this._targets.length;--c>-1;)if(b===this._targets[c]){g=this._propLookup[c]||{},this._overwrittenProps=this._overwrittenProps||[],d=this._overwrittenProps[c]=a?this._overwrittenProps[c]||{}:"all";break}}else{if(b!==this.target)return!1;g=this._propLookup,d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(g){i=a||g,j=a!==d&&"all"!==d&&a!==g&&("object"!=typeof a||!a._tempKill);for(e in i)(f=g[e])&&(f.pg&&f.t._kill(i)&&(h=!0),f.pg&&0!==f.t._overwriteProps.length||(f._prev?f._prev._next=f._next:f===this._firstPT&&(this._firstPT=f._next),f._next&&(f._next._prev=f._prev),f._next=f._prev=null),delete g[e]),j&&(d[e]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return h}
4,e.invalidate=function(){return this._notifyPluginsOfEnabled&&E._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=this._lazy=!1,this._propLookup=this._targets?{}:[],this},e._enabled=function(a,b){if(g||f.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=S(d[c],this,!0);else this._siblings=S(this.target,this,!0)}return B.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?E._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},E.to=function(a,b,c){return new E(a,b,c)},E.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new E(a,b,c)},E.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new E(a,b,d)},E.delayedCall=function(a,b,c,d,e){return new E(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})},E.set=function(a,b){return new E(a,0,b)},E.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:E.selector(a)||a;var c,d,e,f;if((m(a)||F(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;)d=d.concat(E.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=S(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},E.killTweensOf=E.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=E.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var V=q("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=V.prototype},!0);if(e=V.prototype,V.version="1.10.1",V.API=2,e._firstPT=null,e._addTween=function(a,b,c,d,e,f){var g,h;return null!=d&&(g="number"==typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1",10)*Number(d.substr(2)))?(this._firstPT=h={_next:this._firstPT,t:a,p:b,s:c,c:g,f:"function"==typeof a[b],n:e||b,r:f},h._next&&(h._next._prev=h),h):void 0},e.setRatio=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.c*a+c.s,c.r?b=Math.round(b):d>b&&b>-d&&(b=0),c.f?c.t[c.p](b):c.t[c.p]=b,c=c._next},e._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},e._roundProps=function(a,b){for(var c=this._firstPT;c;)(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])&&(c.r=b),c=c._next},E._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},V.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===V.API&&(K[(new a[b])._propName]=a[b]);return!0},p.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},g=q("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){V.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new V(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,V.activate([g]),g},c=a._gsQueue){for(d=0;c.length>d;d++)c[d]();for(e in n)n[e].func||a.console.log("GSAP encountered missing dependency: com.greensock."+e)}g=!1}}(window);(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";var a=document.documentElement,b=window,c=function(c,d){var e="x"===d?"Width":"Height",f="scroll"+e,g="client"+e,h=document.body;return c===b||c===a||c===h?Math.max(a[f],h[f])-(b["inner"+e]||Math.max(a[g],h[g])):c[f]-c["offset"+e]},d=window._gsDefine.plugin({propName:"scrollTo",API:2,init:function(a,d,e){return this._wdw=a===b,this._target=a,this._tween=e,"object"!=typeof d&&(d={y:d}),this._autoKill=d.autoKill!==!1,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=d.x?this._addTween(this,"x",this.x,"max"===d.x?c(a,"x"):d.x,"scrollTo_x",!0):this.skipX=!0,null!=d.y?this._addTween(this,"y",this.y,"max"===d.y?c(a,"y"):d.y,"scrollTo_y",!0):this.skipY=!0,!0},set:function(a){this._super.setRatio.call(this,a);var c=this._wdw||!this.skipX?this.getX():this.xPrev,d=this._wdw||!this.skipY?this.getY():this.yPrev,e=d-this.yPrev,f=c-this.xPrev;this._autoKill&&(!this.skipX&&(f>7||-7>f)&&(this.skipX=!0),!this.skipY&&(e>7||-7>e)&&(this.skipY=!0),this.skipX&&this.skipY&&this._tween.kill()),this._wdw?b.scrollTo(this.skipX?c:this.x,this.skipY?d:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),e=d.prototype;d.max=c,e.getX=function(){return this._wdw?null!=b.pageXOffset?b.pageXOffset:null!=a.scrollLeft?a.scrollLeft:document.body.scrollLeft:this._target.scrollLeft},e.getY=function(){return this._wdw?null!=b.pageYOffset?b.pageYOffset:null!=a.scrollTop?a.scrollTop:document.body.scrollTop:this._target.scrollTop},e._kill=function(a){return a.scrollTo_x&&(this.skipX=!0),a.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,a)}}),window._gsDefine&&window._gsQueue.pop()();(function(a){"use strict";var b=function(b,c){this.el=a(b);this.options=a.extend({},a.fn.typed.defaults,c);this.text=this.el.text();this.typeSpeed=this.options.typeSpeed;this.startDelay=this.options.startDelay;this.backSpeed=this.options.backSpeed;this.backDelay=this.options.backDelay;this.strings=this.options.strings;this.strPos=0;this.arrayPos=0;
4this.string=this.strings[this.arrayPos];this.stopNum=0;this.loop=this.options.loop;this.loopCount=this.options.loopCount;this.curLoop=1;if(this.loop===false){this.stopArray=this.strings.length-1}else{this.stopArray=this.strings.length}this.build()};b.prototype={constructor:b,init:function(){var a=this;setTimeout(function(){a.typewrite(a.string,a.strPos)},a.startDelay)},build:function(){this.init()},typewrite:function(a,b){var c=Math.round(Math.random()*(100-30))+this.typeSpeed;var d=this;setTimeout(function(){if(d.arrayPos<d.strings.length){if(a.substr(b,1)==="^"){var c=a.substr(b+1).indexOf(" ");var e=a.substr(b+1,c);a=a.replace("^"+e,"")}else{var e=0}setTimeout(function(){d.el.text(d.text+a.substr(0,b));if(b>a.length&&d.arrayPos<d.stopArray){clearTimeout(c);d.options.onStringTyped();var c=setTimeout(function(){d.backspace(a,b)},d.backDelay)}else{b++;d.typewrite(a,b);if(d.loop===false){if(d.arrayPos===d.stopArray&&b===a.length){var c=d.options.callback();clearTimeout(c)}}}},e)}else if(d.loop===true&&d.loopCount===false){d.arrayPos=0;d.init()}else if(d.loopCount!==false&&d.curLoop<d.loopCount){d.arrayPos=0;d.curLoop=d.curLoop+1;d.init()}},c)},backspace:function(a,b){var c=Math.round(Math.random()*(100-30))+this.backSpeed;var d=this;setTimeout(function(){d.el.text(d.text+a.substr(0,b));if(b>d.stopNum){b--;d.backspace(a,b)}else if(b<=d.stopNum){clearTimeout(c);var c=d.arrayPos=d.arrayPos+1;d.typewrite(d.strings[d.arrayPos],b)}},c)}};a.fn.typed=function(c){return this.each(function(){var d=a(this),e=d.data("typed"),f=typeof c=="object"&&c;if(!e)d.data("typed",e=new b(this,f));if(typeof c=="string")e[c]()})};a.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,backDelay:500,loop:false,loopCount:false,callback:function(){null},onStringTyped:function(){null}}})(window.jQuery);(function(a){a.flexslider=function(b,c){var d=a(b),e=a.extend({},a.flexslider.defaults,c),f=e.namespace,g="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,h=g?"touchend":"click",i=e.direction==="vertical",j=e.reverse,k=e.itemWidth>0,l=e.animation==="fade",m=e.asNavFor!=="",n={};a.data(b,"flexslider",d);n={init:function(){d.animating=false;d.currentSlide=e.startAt;d.animatingTo=d.currentSlide;d.atEnd=d.currentSlide===0||d.currentSlide===d.last;d.containerSelector=e.selector.substr(0,e.selector.search(" "));d.slides=a(e.selector,d);d.container=a(d.containerSelector,d);d.count=d.slides.length;d.syncExists=a(e.sync).length>0;if(e.animation==="slide")e.animation="swing";d.prop=i?"top":"marginLeft";d.args={};d.manualPause=false;d.transitions=!e.video&&!l&&e.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b){if(a.style[b[c]]!==undefined){d.pfx=b[c].replace("Perspective","").toLowerCase();d.prop="-"+d.pfx+"-transform";return true}}return false}();if(e.controlsContainer!=="")d.controlsContainer=a(e.controlsContainer).length>0&&a(e.controlsContainer);if(e.manualControls!=="")d.manualControls=a(e.manualControls).length>0&&a(e.manualControls);if(e.randomize){d.slides.sort(function(){return Math.round(Math.random())-.5});d.container.empty().append(d.slides)}d.doMath();if(m)n.asNav.setup();d.setup("init");if(e.controlNav)n.controlNav.setup();if(e.directionNav)n.directionNav.setup();if(e.keyboard&&(a(d.containerSelector).length===1||e.multipleKeyboard)){a(document).bind("keyup",function(a){var b=a.keyCode;if(!d.animating&&(b===39||b===37)){var c=b===39?d.getTarget("next"):b===37?d.getTarget("prev"):false;d.flexAnimate(c,e.pauseOnAction)}})}if(e.mousewheel){d.bind("mousewheel",function(a,b,c,f){a.preventDefault();var g=b<0?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(g,e.pauseOnAction)})}if(e.pausePlay)n.pausePlay.setup();if(e.slideshow){if(e.pauseOnHover){d.hover(function(){if(!d.manualPlay&&!d.manualPause)d.pause()},function(){if(!d.manualPause&&!d.manualPlay)d.play()})}e.initDelay>0?setTimeout(d.play,e.initDelay):d.play()}if(g&&e.touch)n.touch();if(!l||l&&e.smoothHeight)a(window).bind("resize focus",n.resize);setTimeout(function(){e.start(d)},200)},asNav:{setup:function(){d.asNav=true;d.animatingTo=Math.floor(d.currentSlide/d.move);d.currentItem=d.currentSlide;d.slides.removeClass(f+"active-slide").eq(d.currentItem).addClass(f+"active-slide");d.slides.click(function(b){b.preventDefault();var c=a(this),f=c.index();if(!a(e.asNavFor).data("flexslider").animating&&!c.hasClass("active")){d.direction=d.currentItem<f?"next":"prev";d.flexAnimate(f,e.pauseOnAction,false,true,true)}})}},controlNav:{setup:function(){if(!d.manualControls){n.controlNav.setupPaging(
4)}else{n.controlNav.setupManual()}},setupPaging:function(){var b=e.controlNav==="thumbnails"?"control-thumbs":"control-paging",c=1,i;d.controlNavScaffold=a('<ol class="'+f+"control-nav "+f+b+'"></ol>');if(d.pagingCount>1){for(var j=0;j<d.pagingCount;j++){i=e.controlNav==="thumbnails"?'<img src="'+d.slides.eq(j).attr("data-thumb")+'"/>':'<a><i class="mk-icon-circle"></i></a>';d.controlNavScaffold.append("<li>"+i+"</li>");c++}}d.controlsContainer?a(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold);n.controlNav.set();n.controlNav.active();d.controlNavScaffold.delegate("a, img",h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);if(!c.hasClass(f+"active")){d.direction=g>d.currentSlide?"next":"prev";d.flexAnimate(g,e.pauseOnAction)}});if(g){d.controlNavScaffold.delegate("a","click touchstart",function(a){a.preventDefault()})}},setupManual:function(){d.controlNav=d.manualControls;n.controlNav.active();d.controlNav.live(h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);if(!c.hasClass(f+"active")){g>d.currentSlide?d.direction="next":d.direction="prev";d.flexAnimate(g,e.pauseOnAction)}});if(g){d.controlNav.live("click touchstart",function(a){a.preventDefault()})}},set:function(){var b=e.controlNav==="thumbnails"?"img":"a";d.controlNav=a("."+f+"control-nav li "+b,d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(f+"active").eq(d.animatingTo).addClass(f+"active")},update:function(b,c){if(d.pagingCount>1&&b==="add"){d.controlNavScaffold.append(a("<li><a>"+d.count+"</a></li>"))}else if(d.pagingCount===1){d.controlNavScaffold.find("li").remove()}else{d.controlNav.eq(c).closest("li").remove()}n.controlNav.set();d.pagingCount>1&&d.pagingCount!==d.controlNav.length?d.update(c,b):n.controlNav.active()}},directionNav:{setup:function(){var b=a('<ul class="'+f+'direction-nav"><li><a class="'+f+'prev" href="#">'+e.directionNavArrowsLeft+e.prevText+'</a></li><li><a class="'+f+'next" href="#">'+e.directionNavArrowsRight+e.nextText+"</a></li></ul>");if(d.controlsContainer){a(d.controlsContainer).append(b);d.directionNav=a("."+f+"direction-nav li a",d.controlsContainer)}else{d.append(b);d.directionNav=a("."+f+"direction-nav li a",d)}n.directionNav.update();d.directionNav.bind(h,function(b){b.preventDefault();var c=a(this).hasClass(f+"next")?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(c,e.pauseOnAction)});if(g){d.directionNav.bind("click touchstart",function(a){a.preventDefault()})}},update:function(){var a=f+"disabled";if(d.pagingCount===1){d.directionNav.addClass(a)}else if(!e.animationLoop){if(d.animatingTo===0){
5d.directionNav.removeClass(a).filter("."+f+"prev").addClass(a)}else if(d.animatingTo===d.last){d.directionNav.removeClass(a).filter("."+f+"next").addClass(a)}else{d.directionNav.removeClass(a)}}else{d.directionNav.removeClass(a)}}},pausePlay:{setup:function(){var b=a('<div class="'+f+'pauseplay"><a></a></div>');if(d.controlsContainer){d.controlsContainer.append(b);d.pausePlay=a("."+f+"pauseplay a",d.controlsContainer)}else{d.append(b);d.pausePlay=a("."+f+"pauseplay a",d)}n.pausePlay.update(e.slideshow?f+"pause":f+"play");d.pausePlay.bind(h,function(b){b.preventDefault();if(a(this).hasClass(f+"pause")){d.manualPause=true;d.manualPlay=false;d.pause()}else{d.manualPause=false;d.manualPlay=true;d.play()}});if(g){d.pausePlay.bind("click touchstart",function(a){a.preventDefault()})}},update:function(a){a==="play"?d.pausePlay.removeClass(f+"pause").addClass(f+"play").text(e.playText):d.pausePlay.removeClass(f+"play").addClass(f+"pause").text(e.pauseText)}},touch:function(){var a,c,f,g,h,m,n=false;b.addEventListener("touchstart",o,false);function o(h){if(d.animating){h.preventDefault()}else if(h.touches.length===1){d.pause();g=i?d.h:d.w;m=Number(new Date);f=k&&j&&d.animatingTo===d.last?0:k&&j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:k&&d.currentSlide===d.last?d.limit:k?(d.itemW+e.itemMargin)*d.move*d.currentSlide:j?(d.last-d.currentSlide+d.cloneOffset)*g:(d.currentSlide+d.cloneOffset)*g;a=i?h.touches[0].pageY:h.touches[0].pageX;c=i?h.touches[0].pageX:h.touches[0].pageY;b.addEventListener("touchmove",p,false);b.addEventListener("touchend",q,false)}}function p(b){h=i?a-b.touches[0].pageY:a-b.touches[0].pageX;n=i?Math.abs(h)<Math.abs(b.touches[0].pageX-c):Math.abs(h)<Math.abs(b.touches[0].pageY-c);if(!n||Number(new Date)-m>500){b.preventDefault();if(!l&&d.transitions){if(!e.animationLoop){h=h/(d.currentSlide===0&&h<0||d.currentSlide===d.last&&h>0?Math.abs(h)/g+2:1)}d.setProps(f+h,"setTouch")}}}function q(i){b.removeEventListener("touchmove",p,false);
5if(d.animatingTo===d.currentSlide&&!n&&!(h===null)){var k=j?-h:h,o=k>0?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(o)&&(Number(new Date)-m<550&&Math.abs(k)>50||Math.abs(k)>g/2)){d.flexAnimate(o,e.pauseOnAction)}else{if(!l)d.flexAnimate(d.currentSlide,e.pauseOnAction,true)}}b.removeEventListener("touchend",q,false);a=null;c=null;h=null;f=null}},resize:function(){if(!d.animating&&d.is(":visible")){if(!k)d.doMath();if(l){n.smoothHeight()}else if(k){d.slides.width(d.computedW);d.update(d.pagingCount);d.setProps()}else if(i){d.viewport.height(d.h);d.setProps(d.h,"setTotal")}else{if(e.smoothHeight)n.smoothHeight();d.newSlides.width(d.computedW);d.setProps(d.computedW,"setTotal")}}},smoothHeight:function(a){if(!i||l){var b=l?d:d.viewport;a?b.animate({height:d.slides.eq(d.animatingTo).height()},a):b.height(d.slides.eq(d.animatingTo).height())}},sync:function(b){var c=a(e.sync).data("flexslider"),f=d.animatingTo;switch(b){case"animate":c.flexAnimate(f,e.pauseOnAction,false,true);break;case"play":if(!c.playing&&!c.asNav){c.play()}break;case"pause":c.pause();break}}};d.flexAnimate=function(b,c,h,o,p){if(m&&d.pagingCount===1)d.direction=d.currentItem<b?"next":"prev";if(!d.animating&&(d.canAdvance(b,p)||h)&&d.is(":visible")){if(m&&o){var q=a(e.asNavFor).data("flexslider");d.atEnd=b===0||b===d.count-1;q.flexAnimate(b,true,false,true,p);d.direction=d.currentItem<b?"next":"prev";q.direction=d.direction;if(Math.ceil((b+1)/d.visible)-1!==d.currentSlide&&b!==0){d.currentItem=b;d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide");b=Math.floor(b/d.visible)}else{d.currentItem=b;d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide");return false}}d.animating=true;d.animatingTo=b;e.before(d);if(c)d.pause();if(d.syncExists&&!p)n.sync("animate");if(e.controlNav)n.controlNav.active();if(!k)d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide");d.atEnd=b===0||b===d.last;if(e.directionNav)n.directionNav.update();if(b===d.last){e.end(d);if(!e.animationLoop)d.pause()}if(!l){var r=i?d.slides.filter(":first").height():d.computedW,s,t,u;if(k){s=e.itemWidth>d.w?e.itemMargin*2:e.itemMargin;u=(d.itemW+s)*d.move*d.animatingTo;t=u>d.limit&&d.visible!==1?d.limit:u}else if(d.currentSlide===0&&b===d.count-1&&e.animationLoop&&d.direction!=="next"){t=j?(d.count+d.cloneOffset)*r:0}else if(d.currentSlide===d.last&&b===0&&e.animationLoop&&d.direction!=="prev"){t=j?0:(d.count+1)*r}else{t=j?(d.count-1-b+d.cloneOffset)*r:(b+d.cloneOffset)*r}d.setProps(t,"",e.animationSpeed);if(d.transitions){if(!e.animationLoop||!d.atEnd){d.animating=false;d.currentSlide=d.animatingTo}d.container.unbind("webkitTransitionEnd transitionend");d.container.bind("webkitTransitionEnd transitionend",function(){d.wrapup(r)})}else{d.container.animate(d.args,e.animationSpeed,e.easing,function(){d.wrapup(r)})}}else{if(!g){d.slides.eq(d.currentSlide).fadeOut(e.animationSpeed,e.easing);d.slides.eq(b).fadeIn(e.animationSpeed,e.easing,d.wrapup)}else{d.slides.eq(d.currentSlide).css({opacity:0,zIndex:1});d.slides.eq(b).css({opacity:1,zIndex:2});d.animating=false;d.currentSlide=d.animatingTo}}if(e.smoothHeight)n.smoothHeight(e.animationSpeed)}};d.wrapup=function(a){if(!l&&!k){if(d.currentSlide===0&&d.animatingTo===d.last&&e.animationLoop){d.setProps(a,"jumpEnd")}else if(d.currentSlide===d.last&&d.animatingTo===0&&e.animationLoop){d.setProps(a,"jumpStart")}}d.animating=false;d.currentSlide=d.animatingTo;e.after(d)};d.animateSlides=function(){if(!d.animating)d.flexAnimate(d.getTarget("next"))};d.pause=function(){clearInterval(d.animatedSlides);d.playing=false;if(e.pausePlay)n.pausePlay.update("play");if(d.syncExists)n.sync("pause")};d.play=function(){d.animatedSlides=setInterval(d.animateSlides,e.slideshowSpeed);d.playing=true;if(e.pausePlay)n.pausePlay.update("pause");if(d.syncExists)n.sync("play")};d.canAdvance=function(a,b){var c=m?d.pagingCount-1:d.last;return b?true:m&&d.currentItem===d.count-1&&a===0&&d.direction==="prev"?true:m&&d.currentItem===0&&a===d.pagingCount-1&&d.direction!=="next"?false:a===d.currentSlide&&!m?false:e.animationLoop?true:d.atEnd&&d.currentSlide===0&&a===c&&d.direction!=="next"?false:d.atEnd&&d.currentSlide===c&&a===0&&d.direction==="next"?false:true};d.getTarget=function(a){d.direction=a;if(a==="next"){return d.currentSlide===d.last?0:d.currentSlide+1}else{return d.currentSlide===0?d.last:d.currentSlide-1}};d.setProps=function(a,b,c){var f=function(){var c=a?a:(d.itemW+e.itemMargin)*d.move*d.animatingTo,f=function(){if(k){return b==="setTouch"?a:j&&d.animatingTo===d.last?0:j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:c}else{switch(b){case"setTotal":return j?(d.count-1-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a;case"setTouch":return j?a:a;case"jumpEnd":return j?a:d.count*a;
5case"jumpStart":return j?d.count*a:a;default:return a}}}();return f*-1+"px"}();if(d.transitions){f=i?"translate3d(0,"+f+",0)":"translate3d("+f+",0,0)";c=c!==undefined?c/1e3+"s":"0s";d.container.css("-"+d.pfx+"-transition-duration",c)}d.args[d.prop]=f;if(d.transitions||c===undefined)d.container.css(d.args)};d.setup=function(b){if(!l){var c,h;if(b==="init"){d.viewport=a('<div class="'+f+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container);d.cloneCount=0;d.cloneOffset=0;if(j){h=a.makeArray(d.slides).reverse();d.slides=a(h);d.container.empty().append(d.slides)}}if(e.animationLoop&&!k){d.cloneCount=2;d.cloneOffset=1;if(b!=="init")d.container.find(".clone").remove();d.container.append(d.slides.first().clone().addClass("clone")).prepend(d.slides.last().clone().addClass("clone"))}d.newSlides=a(e.selector,d);c=j?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset;if(i&&!k){d.container.height((d.count+d.cloneCount)*200+"%").css("position","absolute").width("100%");setTimeout(function(){d.newSlides.css({display:"block"});d.doMath();d.viewport.height(d.h);d.setProps(c*d.h,"init")},b==="init"?100:0)}else{d.container.width((d.count+d.cloneCount)*200+"%");d.setProps(c*d.computedW,"init");setTimeout(function(){d.doMath();d.newSlides.css({width:d.computedW,float:"left",display:"block"});if(e.smoothHeight)n.smoothHeight()},b==="init"?100:0)}}else{d.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"});if(b==="init"){if(!g){d.slides.eq(d.currentSlide).fadeIn(e.animationSpeed,e.easing)}else{d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+e.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2})}}if(e.smoothHeight)n.smoothHeight()}if(!k)d.slides.removeClass(f+"active-slide").eq(d.currentSlide).addClass(f+"active-slide")};d.doMath=function(){var a=d.slides.first(),b=e.itemMargin,c=e.minItems,f=e.maxItems;d.w=d.width();d.h=a.height();d.boxPadding=a.outerWidth()-a.width();if(k){d.itemT=e.itemWidth+b;d.minW=c?c*d.itemT:d.w;d.maxW=f?f*d.itemT:d.w;d.itemW=d.minW>d.w?(d.w-b*c)/c:d.maxW<d.w?(d.w-b*f)/f:e.itemWidth>d.w?d.w:e.itemWidth;d.visible=Math.floor(d.w/(d.itemW+b));d.move=e.move>0&&e.move<d.visible?e.move:d.visible;d.pagingCount=Math.ceil((d.count-d.visible)/d.move+1);d.last=d.pagingCount-1;d.limit=d.pagingCount===1?0:e.itemWidth>d.w?(d.itemW+b*2)*d.count-d.w-b:(d.itemW+b)*d.count-d.w-b}else{d.itemW=d.w;d.pagingCount=d.count;d.last=d.count-1}d.computedW=d.itemW-d.boxPadding};d.update=function(a,b){d.doMath();if(!k){if(a<d.currentSlide){d.currentSlide+=1}else if(a<=d.currentSlide&&a!==0){d.currentSlide-=1}d.animatingTo=d.currentSlide}if(e.controlNav&&!d.manualControls){if(b==="add"&&!k||d.pagingCount>d.controlNav.length){n.controlNav.update("add")}else if(b==="remove"&&!k||d.pagingCount<d.controlNav.length){if(k&&d.currentSlide>d.last){d.currentSlide-=1;d.animatingTo-=1}n.controlNav.update("remove",d.last)}}if(e.directionNav)n.directionNav.update()};d.addSlide=function(b,c){var f=a(b);d.count+=1;d.last=d.count-1;if(i&&j){c!==undefined?d.slides.eq(d.count-c).after(f):d.container.prepend(f)}else{c!==undefined?d.slides.eq(c).before(f):d.container.append(f)}d.update(c,"add");d.slides=a(e.selector+":not(.clone)",d);d.setup();e.added(d)};d.removeSlide=function(b){var c=isNaN(b)?d.slides.index(a(b)):b;d.count-=1;d.last=d.count-1;if(isNaN(b)){a(b,d.slides).remove()}else{i&&j?d.slides.eq(d.last).remove():d.slides.eq(b).remove()}d.doMath();d.update(c,"remove");d.slides=a(e.selector+":not(.clone)",d);d.setup();e.removed(d)};n.init()};a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:false,animationLoop:true,smoothHeight:false,startAt:0,slideshow:true,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:false,pauseOnAction:true,pauseOnHover:false,useCSS:true,touch:true,video:false,controlNav:true,directionNav:true,prevText:"Previous",nextText:"Next",directionNavArrowsLeft:'<i class="mk-theme-icon-prev-big"></i>',directionNavArrowsRight:'<i class="mk-theme-icon-next-big"></i>',keyboard:true,multipleKeyboard:false,mousewheel:false,pausePlay:false,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}};a.fn.flexslider=function(b){if(b===undefined)b={};if(typeof b==="object"){return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);if(e.length===1){e.fadeIn(400);if(b.start)b.start(c)}else if(c.data("flexslider")===undefined){new a.flexslider(this,b)}})}else{var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"next":c.flexAnimate(c.getTarget("next"),true);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),true);break;default:if(typeof b==="number")c.flexAnimate(b,true)}}}})(jQuery);(function(a){var b="waitForImages";a.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"]};a.expr[":"].uncached=function(b){if(!a(b).is('img[src!=""]')){return false}var c=new Image;c.src=b.src;return!c.complete};a.fn.waitForImages=function(c,d,e){var f=0;var g=0;if(a.isPlainObject(arguments[0])){e=arguments[0].waitForAll;d=arguments[0].each;c=arguments[0].finished}c=c||a.noop;d=d||a.noop;e=!!e;if(!a.isFunction(c)||!a.isFunction(d)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var h=a(this);var i=[];var j=a.waitForImages.hasImageProperties||[];var k=/url\(\s*(['"]?)(.*?)\1\s*\)/g;if(e){h.find("*").addBack().each(function(){var b=a(this);if(b.is("img:uncached")){i.push({src:b.attr("src"),element:b[0]})}a.each(j,function(a,c){var d=b.css(c);var e;if(!d){return true}
vendor: 15,560 bytes, line 5
5while(e=k.exec(d)){i.push({src:e[2],element:b[0]})}})})}else{h.find("img:uncached").each(function(){i.push({src:this.src,element:this})})}f=i.length;g=0;if(f===0){c.call(h[0])}a.each(i,function(e,i){var j=new Image;a(j).on("load."+b+" error."+b,function(a){g++;d.call(i.element,g,f,a.type=="load");if(g==f){c.call(h[0]);return false}});j.src=i.src})})}})(jQuery);(function(a,b,c){"use strict";var d=a.document,e=a.Modernizr,f=function(a){return a.charAt(0).toUpperCase()+a.slice(1)},g="Moz Webkit O Ms".split(" "),h=function(a){var b=d.documentElement.style,c;if(typeof b[a]=="string")return a;a=f(a);for(var e=0,h=g.length;e<h;e++){c=g[e]+a;if(typeof b[c]=="string")return c}},i=h("transform"),j=h("transitionProperty"),k={csstransforms:function(){return!!i},csstransforms3d:function(){var a=!!h("perspective");if(a){var c=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),d="@media ("+c.join("transform-3d),(")+"modernizr)",e=b("<style>"+d+"{#modernizr{height:3px}}"+"</style>").appendTo("head"),f=b('<div id="modernizr" />').appendTo("html");a=f.height()===3,f.remove(),e.remove()}return a},csstransitions:function(){return!!j}},l;if(e)for(l in k)e.hasOwnProperty(l)||e.addTest(l,k[l]);else{e=a.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var m=" ",n;for(l in k)n=k[l](),e[l]=n,m+=" "+(n?"":"no-")+l;b("html").addClass(m)}if(e.csstransforms){var o=e.csstransforms3d?{translate:function(a){return"translate3d("+a[0]+"px, "+a[1]+"px, 0) "},scale:function(a){return"scale3d("+a+", "+a+", 1) "}}:{translate:function(a){return"translate("+a[0]+"px, "+a[1]+"px) "},scale:function(a){return"scale("+a+") "}},p=function(a,c,d){var e=b.data(a,"isoTransform")||{},f={},g,h={},j;f[c]=d,b.extend(e,f);for(g in e)j=e[g],h[g]=o[g](j);var k=h.translate||"",l=h.scale||"",m=k+l;b.data(a,"isoTransform",e),a.style[i]=m};b.cssNumber.scale=!0,b.cssHooks.scale={set:function(a,b){p(a,"scale",b)},get:function(a,c){var d=b.data(a,"isoTransform");return d&&d.scale?d.scale:1}},b.fx.step.scale=function(a){b.cssHooks.scale.set(a.elem,a.now+a.unit)},b.cssNumber.translate=!0,b.cssHooks.translate={set:function(a,b){p(a,"translate",b)},get:function(a,c){var d=b.data(a,"isoTransform");return d&&d.translate?d.translate:[0,0]}}}var q,r;e.csstransitions&&(q={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd",transitionProperty:"transitionEnd"}[j],r=h("transitionDuration"));var s=b.event,t;s.special.smartresize={setup:function(){b(this).bind("resize",s.special.smartresize.handler)},teardown:function(){b(this).unbind("resize",s.special.smartresize.handler)},handler:function(a,b){var c=this,d=arguments;a.type="smartresize",t&&clearTimeout(t),t=setTimeout(function(){jQuery.event.handle.apply(c,d)},b==="execAsap"?0:100)}},b.fn.smartresize=function(a){return a?this.bind("smartresize",a):this.trigger("smartresize",["execAsap"])},b.Isotope=function(a,c,d){this.element=b(c),this._create(a),this._init(d)};var u=["width","height"],v=b(a);b.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!b.browser.opera,itemPositionDataEnabled:!1},b.Isotope.prototype={_create:function(a){this.options=b.extend({},b.Isotope.settings,a),this.styleQueue=[],this.elemCount=0;var c=this.element[0].style;this.originalStyle={};var d=u.slice(0);for(var e in this.options.containerStyle)d.push(e);for(var f=0,g=d.length;f<g;f++)e=d[f],this.originalStyle[e]=c[e]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var h={"original-order":function(a,b){return b.elemCount++,b.elemCount},random:function(){return Math.random()}};this.options.getSortData=b.extend(this.options.getSortData,h),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var i=this;setTimeout(function(){i.element.addClass(i.options.containerClass)},0),this.options.resizable&&v.bind("smartresize.isotope",function(){i.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(a){var b=this.options.itemSelector,c=b?a.filter(b).add(a.find(b)):a,d={position:"absolute"};return this.usingTransforms&&(d.left=0,d.top=0),c.css(d).addClass(this.options.itemClass),this.updateSortData(c,!0),c},_init:function(a){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(a)},option:function(a){if(b.isPlainObject(a)){this.options=b.extend(!0,this.options,a);var c;for(var d in a)c="_update"+f(d),this[c]&&this[c]()}},_updateAnimationEngine:function(){var a=this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,""),b;switch(a){case"css":case"none":b=!1;break;case"jquery":b=!0;break;default:b=!e.csstransitions}this.isUsingJQueryAnimation=b,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var a=this.usingTransforms=this.options.transformsEnabled&&e.csstransforms&&e.csstransitions&&!this.isUsingJQueryAnimation;a||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=a?this._translate:this._positionAbs},_filter:function(a){var b=this.options.filter===""?"*":this.options.filter;if(!b)return a;var c=this.options.hiddenClass,d="."+c,e=a.filter(d),f=e;if(b!=="*"){f=e.filter(b);var g=a.not(d).not(b).addClass(c);this.styleQueue.push({$el:g,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:f,style:this.options.visibleStyle}),f.removeClass(c),a.filter(b)},updateSortData:function(a,c){var d=this,e=this.options.getSortData,f,g;a.each(function(){f=b(this),g={};for(var a in e)!c&&a==="original-order"?g[a]=b.data(this,"isotope-sort-data")[a]:g[a]=e[a](f,d);b.data(this,"isotope-sort-data",g)})},_sort:function(){var a=this.options.sortBy,b=this._getSorter,c=this.options.sortAscending?1:-1,d=function(d,e){var f=b(d,a),g=b(e,a);return f===g&&a!=="original-order"&&(f=b(d,"original-order"),g=b(e,"original-order")),(f>g?1:f<g?-1:0)*c};this.$filteredAtoms.sort(d)},_getSorter:function(a,c){return b.data(a,"isotope-sort-data")[c]},_translate:function(a,b){return{translate:[a,b]}},_positionAbs:function(a,b){return{left:a,top:b}},_pushPosition:function(a,b,c){b=Math.round(b+this.offset.left),c=Math.round(c+this.offset.top);var d=this.getPositionStyles(b,c);this.styleQueue.push({$el:a,style:d}),this.options.itemPositionDataEnabled&&a.data("isotope-item-position",{x:b,y:c})},layout:function(a,b){var c=this.options.layoutMode;this["_"+c+"Layout"](a);if(this.options.resizesContainer){var d=this["_"+c+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:d})}this._processStyleQueue(a,b),this.isLaidOut=!0},_processStyleQueue:function(a,c){var d=this.isLaidOut?this.isUsingJQueryAnimation?"animate":"css":"css",f=this.options.animationOptions,g=this.options.onLayout,h,i,j,k;i=function(a,b){b.$el[d](b.style,f)};if(this._isInserting&&this.isUsingJQueryAnimation)i=function(a,b){h=b.$el.hasClass("no-transition")?"css":d,b.$el[h](b.style,f)};else if(c||g||f.complete){var l=!1,m=[c,g,f.complete],n=this;j=!0,k=function(){if(l)return;var b;for(var c=0,d=m.length;c<d;c++)b=m[c],typeof b=="function"&&b.call(n.element,a,n);l=!0};if(this.isUsingJQueryAnimation&&d==="animate")f.complete=k,j=!1;else if(e.csstransitions){var o=0,p=this.styleQueue[0],s=p&&p.$el,t;while(!s||!s.length){t=this.styleQueue[o++];if(!t)return;s=t.$el}var u=parseFloat(getComputedStyle(s[0])[r]);u>0&&(i=function(a,b){b.$el[d](b.style,f).one(q,k)},j=!1)}}b.each(this.styleQueue,i),j&&k(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(a){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,a)},addItems:function(a,b){var c=this._getAtoms(a);this.$allAtoms=this.$allAtoms.add(c),b&&b(c)},insert:function(a,b){this.element.append(a);var c=this;this.addItems(a,function(a){var d=c._filter(a);c._addHideAppended(d),c._sort(),c.reLayout(),c._revealAppended(d,b)})},appended:function(a,b){var c=this;this.addItems(a,function(a){c._addHideAppended(a),c.layout(a),c._revealAppended(a,b)})},_addHideAppended:function(a){this.$filteredAtoms=this.$filteredAtoms.add(a),a.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:a,style:this.options.hiddenStyle})},_revealAppended:function(a,b){var c=this;setTimeout(function(){a.removeClass("no-transition"),c.styleQueue.push({$el:a,style:c.options.visibleStyle}),c._isInserting=!1,c._processStyleQueue(a,b)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(a,b){var c=this,d=function(){c.$allAtoms=c.$allAtoms.not(a),a.remove(),b&&b.call(c.element)};a.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:a,style:this.options.hiddenStyle}),this.$filteredAtoms=this.$filteredAtoms.not(a),this._sort(),this.reLayout(d)):d()},shuffle:function(a){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(a)},destroy:function(){var a=this.usingTransforms,b=this.options;this.$allAtoms.removeClass(b.hiddenClass+" "+b.itemClass).each(function(){var b=this.style;b.position="",b.top="",b.left="",b.opacity="",a&&(b[i]="")});var c=this.element[0].style;for(var d in this.originalStyle)c[d]=this.originalStyle[d];this.element.unbind(".isotope").undelegate("."+b.hiddenClass,"click").removeClass(b.containerClass).removeData("isotope"),v.unbind(".isotope")},_getSegments:function(a){var b=this.options.layoutMode,c=a?"rowHeight":"columnWidth",d=a?"height":"width",e=a?"rows":"cols",g=this.element[d](),h,i=this.options[b]&&this.options[b][c]||this.$filteredAtoms["outer"+f(d)](!0)||g;h=Math.floor(g/i),h=Math.max(h,1),this[b][e]=h,this[b][c]=i},_checkIfSegmentsChanged:function(a){var b=this.options.layoutMode,c=a?"rows":"cols",d=this[b][c];return this._getSegments(a),this[b][c]!==d},_masonryReset:function(){this.masonry={},this._getSegments();var a=this.masonry.cols;this.masonry.colYs=[];while(a--)this.masonry.colYs.push(0)},_masonryLayout:function(a){var c=this,d=c.masonry;if(typeof a==="undefined")return;a.each(function(){var a=b(this),e=Math.ceil(a.outerWidth(!0)/d.columnWidth);e=Math.min(e,d.cols);if(e===1)c._masonryPlaceBrick(a,d.colYs);else{var f=d.cols+1-e,g=[],h,i;for(i=0;i<f;i++)h=d.colYs.slice(i,i+e),g[i]=Math.max.apply(Math,h);c._masonryPlaceBrick(a,g)}})},_masonryPlaceBrick:function(a,b){var c=Math.min.apply(Math,b),d=0;for(var e=0,f=b.length;e<f;e++)if(b[e]===c){d=e;break}var g=this.masonry.columnWidth*d,h=c;this._pushPosition(a,g,h);var i=c+a.outerHeight(!0),j=this.masonry.cols+1-f;for(e=0;e<j;e++)this.masonry.colYs[d+e]=i},_masonryGetContainerSize:function(){var a=Math.max.apply(Math,this.masonry.colYs);return{height:a}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(a){var c=this,d=this.element.width(),e=this.fitRows;a.each(function(){var a=b(this),f=a.outerWidth(!0),g=a.outerHeight(!0);e.x!==0&&f+e.x>d&&(e.x=0,e.y=e.height),c._pushPosition(a,e.x,e.y),e.height=Math.max(e.y+g,e.height),e.x+=f})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(a){var c=this,d=this.cellsByRow;a.each(function(){var a=b(this),e=d.index%d.cols,f=Math.floor(d.index/d.cols),g=(e+.5)*d.columnWidth-a.outerWidth(!0)/2,h=(f+.5)*d.rowHeight-a.outerHeight(!0)/2;c._pushPosition(a,g,h),d.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(a){var c=this;a.each(function(a){var d=b(this);c._pushPosition(d,0,c.straightDown.y),c.straightDown.y+=d.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var a=this.masonryHorizontal.rows;this.masonryHorizontal.rowXs=[];while(a--)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(a){var c=this,d=c.masonryHorizontal;a.each(function(){var a=b(this),e=Math.ceil(a.outerHeight(!0)/d.rowHeight);e=Math.min(e,d.rows);if(e===1)c._masonryHorizontalPlaceBrick(a,d.rowXs);else{var f=d.rows+1-e,g=[],h,i;for(i=0;i<f;i++)h=d.rowXs.slice(i,i+e),g[i]=Math.max.apply(Math,h);c._masonryHorizontalPlaceBrick(a,g)}})},_masonryHorizontalPlaceBrick:function(a,b){var c=Math.min.apply(Math,b),d=0;for(var e=0,f=b.length;e<f;e++)if(b[e]===c){d=e;break}var g=c,h=this.masonryHorizontal.rowHeight*d;this._pushPosition(a,g,h);var i=c+a.outerWidth(!0),j=this.masonryHorizontal.rows+1-f;for(e=0;e<j;e++)this.masonryHorizontal.rowXs[d+e]=i},_masonryHorizontalGetContainerSize:function(){var a=Math.max.apply(Math,this.masonryHorizontal.rowXs);return{width:a}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(a){var c=this,d=this.element.height(),e=this.fitColumns;a.each(function(){var a=b(this),f=a.outerWidth(!0),g=a.outerHeight(!0);e.y!==0&&g+e.y>d&&(e.x=e.width,e.y=0),c._pushPosition(a,e.x,e.y),e.width=Math.max(e.x+f,e.width),e.y+=g})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(a){var c=this,d=this.cellsByColumn;a.each(function(){var a=b(this),e=Math.floor(d.index/d.rows),f=d.index%d.rows,g=(e+.5)*d.columnWidth-a.outerWidth(!0)/2,h=(f+.5)*d.rowHeight-a.outerHeight(!0)/2;c._pushPosition(a,g,h),d.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(a){var c=this;a.each(function(a){var d=b(this);c._pushPosition(d,c.straightAcross.x,0),c.straightAcross.x+=d.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},b.fn.imagesLoaded=function(a){function c(){a.call(e,f)}function d(a){var e=a.target;e.src!==h&&b.inArray(e,i)===-1&&(i.push(e),--g<=0&&(setTimeout(c),f.unbind(".imagesLoaded",d)))}var e=this,f=e.find("img").add(e.filter("img")),g=f.length,h="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",i=[];return g||c(),f.bind("load.imagesLoaded error.imagesLoaded",d).each(function(){var a=this.src;this.src=h,this.src=a}),e};var w=function(b){a.console&&a.console.error(b)};b.fn.isotope=function(a,c){if(this instanceof Window)return;
5if(typeof a=="string"){var d=Array.prototype.slice.call(arguments,1);this.each(function(){var c=b.data(this,"isotope");if(!c){w("cannot call methods on isotope prior to initialization; attempted to call method '"+a+"'");return}if(!b.isFunction(c[a])||a.charAt(0)==="_"){w("no such method '"+a+"' for isotope instance");return}c[a].apply(c,d)})}else this.each(function(){var d=b.data(this,"isotope");d?(d.option(a),d._init(c)):b.data(this,"isotope",new b.Isotope(a,this,c))});return this}})(window,jQuery);!function(a,b){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",b):"object"==typeof module&&module.exports?module.exports=b():a.EvEmitter=b()}(this,function(){function a(){}var b=a.prototype;return b.on=function(a,b){if(a&&b){var c=this._events=this._events||{},d=c[a]=c[a]||[];return-1==d.indexOf(b)&&d.push(b),this}},b.once=function(a,b){if(a&&b){this.on(a,b);var c=this._onceEvents=this._onceEvents||{},d=c[a]=c[a]||[];return d[b]=!0,this}},b.off=function(a,b){var c=this._events&&this._events[a];if(c&&c.length){var d=c.indexOf(b);return-1!=d&&c.splice(d,1),this}},b.emitEvent=function(a,b){var c=this._events&&this._events[a];if(c&&c.length){var d=0,e=c[d];b=b||[];for(var f=this._onceEvents&&this._onceEvents[a];e;){var g=f&&f[e];g&&(this.off(a,e),delete f[e]),e.apply(this,b),d+=g?0:1,e=c[d]}return this}},a}),function(a,b){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(c){return b(a,c)}):"object"==typeof module&&module.exports?module.exports=b(a,require("ev-emitter")):a.imagesLoaded=b(a,a.EvEmitter)}(window,function(a,b){function c(a,b){for(var c in b)a[c]=b[c];return a}function d(a){var b=[];if(Array.isArray(a))b=a;else if("number"==typeof a.length)for(var c=0;c<a.length;c++)b.push(a[c]);else b.push(a);return b}function e(a,b,f){return this instanceof e?("string"==typeof a&&(a=document.querySelectorAll(a)),this.elements=d(a),this.options=c({},this.options),"function"==typeof b?f=b:c(this.options,b),f&&this.on("always",f),this.getImages(),h&&(this.jqDeferred=new h.Deferred),void setTimeout(function(){this.check()}.bind(this))):new e(a,b,f)}function f(a){this.img=a}function g(a,b){this.url=a,this.element=b,this.img=new Image}var h=a.jQuery,i=a.console;e.prototype=Object.create(b.prototype),e.prototype.options={},e.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},e.prototype.addElementImages=function(a){"IMG"==a.nodeName&&this.addImage(a),this.options.background===!0&&this.addElementBackgroundImages(a);var b=a.nodeType;if(b&&j[b]){for(var c=a.querySelectorAll("img"),d=0;d<c.length;d++){var e=c[d];this.addImage(e)}if("string"==typeof this.options.background){var f=a.querySelectorAll(this.options.background);for(d=0;d<f.length;d++){var g=f[d];this.addElementBackgroundImages(g)}}}};var j={1:!0,9:!0,11:!0};return e.prototype.addElementBackgroundImages=function(a){var b=getComputedStyle(a);if(b)for(var c=/url\((['"])?(.*?)\1\)/gi,d=c.exec(b.backgroundImage);null!==d;){var e=d&&d[2];e&&this.addBackground(e,a),d=c.exec(b.backgroundImage)}},e.prototype.addImage=function(a){var b=new f(a);this.images.push(b)},e.prototype.addBackground=function(a,b){var c=new g(a,b);this.images.push(c)},e.prototype.check=function(){function a(a,c,d){setTimeout(function(){b.progress(a,c,d)})}var b=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(b){b.once("progress",a),b.check()}):void this.complete()},e.prototype.progress=function(a,b,c){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!a.isLoaded,this.emitEvent("progress",[this,a,b]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,a),
6this.progressedCount==this.images.length&&this.complete(),this.options.debug&&i&&i.log("progress: "+c,a,b)},e.prototype.complete=function(){var a=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(a,[this]),this.emitEvent("always",[this]),this.jqDeferred){var b=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[b](this)}},f.prototype=Object.create(b.prototype),f.prototype.check=function(){var a=this.getIsImageComplete();
6return a?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},f.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},f.prototype.confirm=function(a,b){this.isLoaded=a,this.emitEvent("progress",[this,this.img,b])},f.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},f.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},f.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},f.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},g.prototype=Object.create(f.prototype),g.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var a=this.getIsImageComplete();a&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},g.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},g.prototype.confirm=function(a,b){this.isLoaded=a,this.emitEvent("progress",[this,this.element,b])},e.makeJQueryPlugin=function(b){b=b||a.jQuery,b&&(h=b,h.fn.imagesLoaded=function(a,b){var c=new e(this,a,b);return c.jqDeferred.promise(h(this))})},e.makeJQueryPlugin(),e});(function(a){a.transit={version:"0.9.9",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var b=document.createElement("div");var c={};function d(a){if(a in b.style)return a;var c=["Moz","Webkit","O","ms"];var d=a.charAt(0).toUpperCase()+a.substr(1);if(a in b.style){return a}for(var e=0;e<c.length;++e){var f=c[e]+d;if(f in b.style){return f}}}function e(){b.style[c.transform]="";b.style[c.transform]="rotateY(90deg)";return b.style[c.transform]!==""}var f=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;c.transition=d("transition");c.transitionDelay=d("transitionDelay");c.transform=d("transform");c.transformOrigin=d("transformOrigin");c.transform3d=e();var g={transition:"transitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var h=c.transitionEnd=g[c.transition]||null;for(var i in c){if(c.hasOwnProperty(i)&&typeof a.support[i]==="undefined"){a.support[i]=c[i]}}b=null;a.cssEase={_default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};a.cssHooks["transit:transform"]={get:function(b){return a(b).data("transform")||new j},set:function(b,d){var e=d;if(!(e instanceof j)){e=new j(e)}if(c.transform==="WebkitTransform"&&!f){b.style[c.transform]=e.toString(true)}else{b.style[c.transform]=e.toString()}a(b).data("transform",e)}};a.cssHooks.transform={set:a.cssHooks["transit:transform"].set};if(a.fn.jquery<"1.8"){a.cssHooks.transformOrigin={get:function(a){return a.style[c.transformOrigin]},set:function(a,b){a.style[c.transformOrigin]=b}};a.cssHooks.transition={get:function(a){return a.style[c.transition]},set:function(a,b){a.style[c.transition]=b}}}n("scale");n("translate");n("rotate");n("rotateX");n("rotateY");n("rotate3d");n("perspective");n("skewX");n("skewY");n("x",true);n("y",true);function j(a){if(typeof a==="string"){this.parse(a)}return this}j.prototype={setFromString:function(a,b){var c=typeof b==="string"?b.split(","):b.constructor===Array?b:[b];c.unshift(a);j.prototype.set.apply(this,c)},set:function(a){var b=Array.prototype.slice.apply(arguments,[1]);if(this.setter[a]){this.setter[a].apply(this,b)}else{this[a]=b.join(",")}}
6,get:function(a){if(this.getter[a]){return this.getter[a].apply(this)}else{return this[a]||0}},setter:{rotate:function(a){this.rotate=p(a,"deg")},rotateX:function(a){this.rotateX=p(a,"deg")},rotateY:function(a){this.rotateY=p(a,"deg")},scale:function(a,b){if(b===undefined){b=a}this.scale=a+","+b},skewX:function(a){this.skewX=p(a,"deg")},skewY:function(a){this.skewY=p(a,"deg")},perspective:function(a){this.perspective=p(a,"px")},x:function(a){this.set("translate",a,null)},y:function(a){this.set("translate",null,a)},translate:function(a,b){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(a!==null&&a!==undefined){this._translateX=p(a,"px")}if(b!==null&&b!==undefined){this._translateY=p(b,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var a=(this.scale||"1,1").split(",");if(a[0]){a[0]=parseFloat(a[0])}if(a[1]){a[1]=parseFloat(a[1])}return a[0]===a[1]?a[0]:a},rotate3d:function(){var a=(this.rotate3d||"0,0,0,0deg").split(",");for(var b=0;b<=3;++b){if(a[b]){a[b]=parseFloat(a[b])}}if(a[3]){a[3]=p(a[3],"deg")}return a}},parse:function(a){var b=this;a.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(a,c,d){b.setFromString(c,d)})},toString:function(a){var b=[];for(var d in this){if(this.hasOwnProperty(d)){if(!c.transform3d&&(d==="rotateX"||d==="rotateY"||d==="perspective"||d==="transformOrigin")){continue}if(d[0]!=="_"){if(a&&d==="scale"){b.push(d+"3d("+this[d]+",1)")}else if(a&&d==="translate"){b.push(d+"3d("+this[d]+",0)")}else{b.push(d+"("+this[d]+")")}}}}return b.join(" ")}};function k(a,b,c){if(b===true){a.queue(c)}else if(b){a.queue(b,c)}else{c()}}function l(b){var c=[];a.each(b,function(b){b=a.camelCase(b);b=a.transit.propertyMap[b]||a.cssProps[b]||b;b=o(b);if(a.inArray(b,c)===-1){c.push(b)}});return c}function m(b,c,d,e){var f=l(b);if(a.cssEase[d]){d=a.cssEase[d]}var g=""+q(c)+" "+d;if(parseInt(e,10)>0){g+=" "+q(e)}var h=[];a.each(f,function(a,b){h.push(b+" "+g)});return h.join(", ")}a.fn.transition=a.fn.transit=function(b,d,e,f){var g=this;var i=0;var j=true;var l=jQuery.extend(true,{},b);if(typeof d==="function"){f=d;d=undefined}if(typeof d==="object"){e=d.easing;i=d.delay||0;j=d.queue||true;f=d.complete;d=d.duration}if(typeof e==="function"){f=e;e=undefined}if(typeof l.easing!=="undefined"){e=l.easing;delete l.easing}if(typeof l.duration!=="undefined"){d=l.duration;delete l.duration}if(typeof l.complete!=="undefined"){f=l.complete;delete l.complete}if(typeof l.queue!=="undefined"){j=l.queue;delete l.queue}if(typeof l.delay!=="undefined"){i=l.delay;delete l.delay}if(typeof d==="undefined"){d=a.fx.speeds._default}if(typeof e==="undefined"){e=a.cssEase._default}d=q(d);var n=m(l,d,e,i);var o=a.transit.enabled&&c.transition;var p=o?parseInt(d,10)+parseInt(i,10):0;if(p===0){var r=function(a){g.css(l);if(f){f.apply(g)}if(a){a()}};k(g,j,r);return g}var s={};var t=function(d){var e=false;var i=function(){if(e){g.unbind(h,i)}if(p>0){g.each(function(){this.style[c.transition]=s[this]||null})}if(typeof f==="function"){f.apply(g)}if(typeof d==="function"){d()}};if(p>0&&h&&a.transit.useTransitionEnd){e=true;g.bind(h,i)}else{window.setTimeout(i,p)}g.each(function(){if(p>0){this.style[c.transition]=n}a(this).css(b)})};var u=function(a){this.offsetWidth;t(a)};k(g,j,u);return this};function n(b,d){if(!d){a.cssNumber[b]=true}a.transit.propertyMap[b]=c.transform;a.cssHooks[b]={get:function(c){var d=a(c).css("transit:transform");return d.get(b)},set:function(c,d){var e=a(c).css("transit:transform");e.setFromString(b,d);a(c).css({"transit:transform":e})}}}function o(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function p(a,b){if(typeof a==="string"&&!a.match(/^[\-0-9\.]+$/)){return a}else{return""+a+b}}function q(b){var c=b;
6if(typeof c==="string"&&!c.match(/^[\-0-9\.]+/)){c=a.fx.speeds[c]||a.fx.speeds._default}return p(c,"ms")}a.transit.getTransitionValue=m})(jQuery);(function(a,b,c){b.infinitescroll=function a(c,d,e){this.element=b(e);if(!this._create(c,d)){this.failed=true}};b.infinitescroll.defaults={loading:{finished:c,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz17c2fj69+fnq+8N2Lty+fuP78/eV2X13neIcCeBRwxorbZrA1ANoCDGrgoG8RTshahQ9iSKEEzUmYIYfNWViUhheCGJyIP5E4oom7WWjgCeBFAJNv1DVV01MAdJhhjdkplWNzO/5oXI846njjVEIqR2OS2B1pE5PVscajkxhMycqLJghQSwT40PgfAl4GqNSXYdZXJn5gSkmmmmJu1aZYb14V51do+pTOCmA40AqVCIhG5IJ9PvYnhIFOxmdqhpaI6GeHCtpooisuutmg+Eg62KOMKuqoTaXgicQWoIYq6qiklmoqFV0UoeqqrLbq6quwxirrrLTWauutJ4QAACH5BAUKABwALAcABADOAAsAAAX/IPd0D2dyRCoUp/k8gpHOKtseR9yiSmGbuBykler9XLAhkbDavXTL5k2oqFqNOxzUZPU5YYZd1XsD72rZpBjbeh52mSNnMSC8lwblKZGwi+0QfIJ8CncnCoCDgoVnBHmKfByGJimPkIwtiAeBkH6ZHJaKmCeVnKKTHIihg5KNq4uoqmEtcRUtEREMBggtEr4QDrjCuRC8h7/BwxENeicSF8DKy82pyNLMOxzWygzFmdvD2L3P0dze4+Xh1Arkyepi7dfFvvTtLQkZBC0T/FX3CRgCMOBHsJ+EHYQY7OinAGECgQsB+Lu3AOK+CewcWjwxQeJBihtNGHSoQOE+iQ3//4XkwBBhRZMcUS6YSXOAwIL8PGqEaSJCiYt9SNoCmnJPAgUVLChdaoFBURN8MAzl2PQphwQLfDFd6lTowglHve6rKpbjhK7/pG5VinZP1qkiz1rl4+tr2LRwWU64cFEihwEtZgbgR1UiHaMVvxpOSwBA37kzGz9e8G+B5MIEKLutOGEsAH2ATQwYfTmuX8aETWdGPZmiZcccNSzeTCA1Sw0bdiitC7LBWgu8jQr8HRzqgpK6gX88QbrB14z/kF+ELpwB8eVQj/JkqdylAudji/+ts3039vEEfK8Vz2dlvxZKG0CmbkKDBvllRd6fCzDvBLKBDSCeffhRJEFebFk1k/Mv9jVIoIJZSeBggwUaNeB+Qk34IE0cXlihcfRxkOAJFFhwGmKlmWDiakZhUJtnLBpnWWcnKaAZcxI0piFGGLBm1mc90kajSCveeBVWKeYEoU2wqeaQi0PetoE+rr14EpVC7oAbAUHqhYExbn2XHHsVqbcVew9tx8+XJKk5AZsqqdlddGpqAKdbAYBn1pcczmSTdWvdmZ17c1b3FZ99vnTdCRFM8OEcAhLwm1NdXnWcBBSMRWmfkWZqVlsmLIiAp/o1gGV2vpS4lalGYsUOqXrddcKCmK61aZ8SjEpUpVFVoCpTj4r661Km7kBHjrDyc1RAIQAAIfkEBQoAGwAsBwAEAM4ACwAABf/gtmUCd4goQQgFKj6PYKi0yrrbc8i4ohQt12EHcal+MNSQiCP8gigdz7iCioaCIvUmZLp8QBzW0EN2vSlCuDtFKaq4RyHzQLEKZNdiQDhRDVooCwkbfm59EAmKi4SGIm+AjIsKjhsqB4mSjT2IOIOUnICeCaB/mZKFNTSRmqVpmJqklSqskq6PfYYCDwYHDC4REQwGCBLGxxIQDsHMwhAIX8bKzcENgSLGF9PU1j3Sy9zX2NrgzQziChLk1BHWxcjf7N046tvN82715czn9Pryz6Ilc4ACj4EBOCZM8KEnAYYADBRKnACAYUMFv1wotIhCEcaJCisqwJFgAUSQGyX/kCSVUUTIdKMwJlyo0oXHlhskwrTJciZHEXsgaqS4s6PJiCAr1uzYU8kBBSgnWFqpoMJMUjGtDmUwkmfVmVypakWhEKvXsS4nhLW5wNjVroJIoc05wSzTr0PtiigpYe4EC2vj4iWrFu5euWIMRBhacaVJhYQBEFjA9jHjyQ0xEABwGceGAZYjY0YBOrRLCxUp29QM+bRkx5s7ZyYgVbTqwwti2ybJ+vLtDYpycyZbYOlptxdx0kV+V7lC5iJAyyRrwYKxAdiz82ng0/jnAdMJFz0cPi104Ec1Vj9/M6F173vKL/feXv156dw11tlqeMMnv4V5Ap53GmjQQH97nFfg+IFiucfgRX5Z8KAgbUlQ4IULIlghhhdOSB6AgX0IVn8eReghen3NRIBsRgnH4l4LuEidZBjwRpt6NM5WGwoW0KSjCwX6yJSMab2GwwAPDXfaBCtWpluRTQqC5JM5oUZAjUNS+VeOLWpJEQ7VYQANW0INJSZVDFSnZphjSikfmzE5N4EEbQI1QJmnWXCmHulRp2edwDXF43txukenJwvI9xyg9Q26Z3MzGUcBYFEChZh6DVTq34AU8Iflh51Sd+CnKFYQ6mmZkhqfBKfSxZWqA9DZanWjxmhrWwi0qtCrt/43K6WqVjjpmhIqgEGvculaGKklKstAACEAACH5BAUKABwALAcABADOAAsAAAX/ICdyQmaMYyAUqPgIBiHPxNpy79kqRXH8wAPsRmDdXpAWgWdEIYm2llCHqjVHU+jjJkwqBTecwItShMXkEfNWSh8e1NGAcLgpDGlRgk7EJ/6Ae3VKfoF/fDuFhohVeDeCfXkcCQqDVQcQhn+VNDOYmpSWaoqBlUSfmowjEA+iEAEGDRGztAwGCDcXEA60tXEiCrq8vREMEBLIyRLCxMWSH
6MzExnbRvQ2Sy7vN0zvVtNfU2tLY3rPgLdnDvca4VQS/Cpk3ABwSLQkYAQwT/P309vcI7OvXr94jBQMJ/nskkGA/BQBRLNDncAIAiDcG6LsxAWOLiQzmeURBKWSLCQbv/1F0eDGinJUKR47YY1IEgQASKk7Yc7ACRwZm7mHweRJoz59BJUogisKCUaFMR0x4SlJBVBFTk8pZivTR0K73rN5wqlXEAq5Fy3IYgHbEzQ0nLy4QSoCjXLoom96VOJEeCosK5n4kkFfqXjl94wa+l1gvAcGICbewAOAxY8l/Ky/QhAGz4cUkGxu2HNozhwMGBnCUqUdBg9UuW9eUynqSwLHIBujePef1ZGQZXcM+OFuEBeBhi3OYgLyqcuaxbT9vLkf4SeqyWxSQpKGB2gQpm1KdWbu72rPRzR9Ne2Nu9Kzr/1Jqj0yD/fvqP4aXOt5sW/5qsXXVcv1Nsp8IBUAmgswGF3llGgeU1YVXXKTN1FlhWFXW3gIE+DVChApysACHHo7Q4A35lLichh+ROBmLKAzgYmYEYDAhCgxKGOOMn4WR4kkDaoBBOxJtdNKQxFmg5JIWIBnQc07GaORfUY4AEkdV6jHlCEISSZ5yTXpp1pbGZbkWmcuZmQCaE6iJ0FhjMaDjTMsgZaNEHFRAQVp3bqXnZED1qYcECOz5V6BhSWCoVJQIKuKQi2KFKEkEFAqoAo7uYSmO3jk61wUUMKmknJ4SGimBmAa0qVQBhAAAIfkEBQoAGwAsBwAEAM4ACwAABf/gJm5FmRlEqhJC+bywgK5pO4rHI0D3pii22+Mg6/0Ej96weCMAk7cDkXf7lZTTnrMl7eaYoy10JN0ZFdco0XAuvKI6qkgVFJXYNwjkIBcNBgR8TQoGfRsJCRuCYYQQiI+ICosiCoGOkIiKfSl8mJkHZ4U9kZMbKaI3pKGXmJKrngmug4WwkhA0lrCBWgYFCCMQFwoQDRHGxwwGCBLMzRLEx8iGzMMO0cYNeCMKzBDW19lnF9DXDIY/48Xg093f0Q3s1dcR8OLe8+Y91OTv5wrj7o7B+7VNQqABIoRVCMBggsOHE36kSoCBIcSH3EbFangxogJYFi8CkJhqQciLJEf/LDDJEeJIBT0GsOwYUYJGBS0fjpQAMidGmyVP6sx4Y6VQhzs9VUwkwqaCCh0tmKoFtSMDmBOf9phg4SrVrROuasRQAaxXpVUhdsU6IsECZlvX3kwLUWzRt0BHOLTbNlbZG3vZinArge5Dvn7wbqtQkSYAAgtKmnSsYKVKo2AfW048uaPmG386i4Q8EQMBAIAnfB7xBxBqvapJ9zX9WgRS2YMpnvYMGdPK3aMjt/3dUcNI4blpj7iwkMFWDXDvSmgAlijrt9RTR78+PS6z1uAJZIe93Q8g5zcsWCi/4Y+C8bah5zUv3vv89uft30QP23punGCx5954oBBwnwYaNCDY/wYrsYeggnM9B2Fpf8GG2CEUVWhbWAtGouEGDy7Y4IEJVrbSiXghqGKIo7z1IVcXIkKWWR361QOLWWnIhwERpLaaCCee5iMBGJQmJGyPFTnbkfHVZGRtIGrg5HALEJAZbu39BuUEUmq1JJQIPtZilY5hGeSWsSk52G9XqsmgljdIcABytq13HyIM6RcUA+r1qZ4EBF3WHWB29tBgAzRhEGhig8KmqKFv8SeCeo+mgsF7YFXa1qWSbkDpom/mqR1PmHCqJ3fwNRVXjC7S6CZhFVCQ2lWvZiirhQq42SACt25IK2hv8TprriUV1usGgeka7LFcNmCldMLi6qZMgFLgpw16Cipb7bC1knXsBiEAACH5BAUKABsALAcABADOAAsAAAX/4FZsJPkUmUGsLCEUTywXglFuSg7fW1xAvNWLF6sFFcPb42C8EZCj24EJdCp2yoegWsolS0Uu6fmamg8n8YYcLU2bXSiRaXMGvqV6/KAeJAh8VgZqCX+BexCFioWAYgqNi4qAR4ORhRuHY408jAeUhAmYYiuVlpiflqGZa5CWkzc5fKmbbhIpsAoQDRG8vQwQCBLCwxK6vb5qwhfGxxENahvCEA7NzskSy7vNzzzK09W/PNHF1NvX2dXcN8K55cfh69Luveol3vO8zwi4Yhj+AQwmCBw4IYclDAAJDlQggVOChAoLKkgFkSCAHDwWLKhIEOONARsDKryogFPIiAUb/95gJNIiw4wnI778GFPhzBKFOAq8qLJEhQpiNArjMcHCmlTCUDIouTKBhApELSxFWiGiVKY4E2CAekPgUphDu0742nRrVLJZnyrFSqKQ2ohoSYAMW6IoDpNJ4bLdILTnAj8KUF7UeENjAKuDyxIgOuGiOI0EBBMgLNew5AUrDTMGsFixwBIaNCQuAXJB57qNJ2OWm2Aj4skwCQCIyNkhhtMkdsIuodE0AN4LJDRgfLPtn5YDLdBlraAByuUbBgxQwICxMOnYpVOPej074OFdlfc0TqC62OIbcppHjV4o+LrieWhfT8JC/I/T6W8oCl29vQ0XjLdBaA3s1RcPBO7lFvpX8BVoG4O5jTXRQRDuJ6FDTzEWF1/BCZhgbyAKE9qICYLloQYOFtahVRsWYlZ4KQJHlwHS/IYaZ6sZd9tmu5HQm2xi1UaTbzxYwJk/wBF5g5EEYOBZeEfGZmNdFyFZmZIR4jikbLThlh5kUUVJGmRT7sekkziRWUIACABk3T4qCsedgO4xhgGcY7q5pHJ4klBBTQRJ0CeHcoYHHUh6wgfdn9uJdSdMiebGJ0zUPTcoS286FCkrZxnYoYYKWLkBowhQoBeaOlZAgVhLidrXqg2G
6iqpQpZ4apwSwRtjqrB3muoF9BboaXKmshlqWqsWiGt2wphJkQbAU5hoCACH5BAUKABsALAcABADOAAsAAAX/oGFw2WZuT5oZROsSQnGaKjRvilI893MItlNOJ5v5gDcFrHhKIWcEYu/xFEqNv6B1N62aclysF7fsZYe5aOx2yL5aAUGSaT1oTYMBwQ5VGCAJgYIJCnx1gIOBhXdwiIl7d0p2iYGQUAQBjoOFSQR/lIQHnZ+Ue6OagqYzSqSJi5eTpTxGcjcSChANEbu8DBAIEsHBChe5vL13G7fFuscRDcnKuM3H0La3EA7Oz8kKEsXazr7Cw9/Gztar5uHHvte47MjktznZ2w0G1+D3BgirAqJmJMAQgMGEgwgn5Ei0gKDBhBMALGRYEOJBb5QcWlQo4cbAihZz3GgIMqFEBSM1/4ZEOWPAgpIIJXYU+PIhRG8ja1qU6VHlzZknJNQ6UanCjQkWCIGSUGEjAwVLjc44+DTqUQtPPS5gejUrTa5TJ3g9sWCr1BNUWZI161StiQUDmLYdGfesibQ3XMq1OPYthrwuA2yU2LBs2cBHIypYQPPlYAKFD5cVvNPtW8eVGbdcQADATsiNO4cFAPkvHpedPzc8kUcPgNGgZ5RNDZG05reoE9s2vSEP79MEGiQGy1qP8LA4ZcdtsJE48ONoLTBtTV0B9LsTnPceoIDBDQvS7W7vfjVY3q3eZ4A339J4eaAmKqU/sV58HvJh2RcnIBsDUw0ABqhBA5aV5V9XUFGiHfVeAiWwoFgJJrIXRH1tEMiDFV4oHoAEGlaWhgIGSGBO2nFomYY3mKjVglidaNYJGJDkWW2xxTfbjCbVaOGNqoX2GloR8ZeTaECS9pthRGJH2g0b3Agbk6hNANtteHD2GJUucfajCQBy5OOTQ25ZgUPvaVVQmbKh9510/qQpwXx3SQdfk8tZJOd5b6JJFplT3ZnmmX3qd5l1eg5q00HrtUkUn0AKaiGjClSAgKLYZcgWXwocGRcCFGCKwSB6ceqphwmYRUFYT/1WKlOdUpipmxW0mlCqHjYkAaeoZlqrqZ4qd+upQKaapn/AmgAegZ8KUtYtFAQQAgAh+QQFCgAbACwHAAQAzgALAAAF/+C2PUcmiCiZGUTrEkKBis8jQEquKwU5HyXIbEPgyX7BYa5wTNmEMwWsSXsqFbEh8DYs9mrgGjdK6GkPY5GOeU6ryz7UFopSQEzygOGhJBjoIgMDBAcBM0V/CYqLCQqFOwobiYyKjn2TlI6GKC2YjJZknouaZAcQlJUHl6eooJwKooobqoewrJSEmyKdt59NhRKFMxLEEA4RyMkMEAjDEhfGycqAG8TQx9IRDRDE3d3R2ctD1RLg0ttKEnbY5wZD3+zJ6M7X2RHi9Oby7u/r9g38UFjTh2xZJBEBMDAboogAgwkQI07IMUORwocSJwCgWDFBAIwZOaJIsOBjRogKJP8wTODw5ESVHVtm3AhzpEeQElOuNDlTZ0ycEUWKWFASqEahGwYUPbnxoAgEdlYSqDBkgoUNClAlIHbSAoOsqCRQnQHxq1axVb06FWFxLIqyaze0Tft1JVqyE+pWXMD1pF6bYl3+HTqAWNW8cRUFzmih0ZAAB2oGKukSAAGGRHWJgLiR6AylBLpuHKKUMlMCngMpDSAa9QIUggZVVvDaJobLeC3XZpvgNgCmtPcuwP3WgmXSq4do0DC6o2/guzcseECtUoO0hmcsGKDgOt7ssBd07wqesAIGZC1YIBa7PQHvb1+SFo+++HrJSQfB33xfav3i5eX3Hnb4CTJgegEq8tH/YQEOcIJzbm2G2EoYRLgBXFpVmFYDcREV4HIcnmUhiGBRouEMJGJGzHIspqgdXxK0yCKHRNXoIX4uorCdTyjkyNtdPWrA4Up82EbAbzMRxxZRR54WXVLDIRmRcag5d2R6ugl3ZXzNhTecchpMhIGVAKAYpgJjjsSklBEd99maZoo535ZvdamjBEpusJyctg3h4X8XqodBMx0tiNeg/oGJaKGABpogS40KSqiaEgBqlQWLUtqoVQnytekEjzo0hHqhRorppOZt2p923M2AAV+oBtpAnnPNoB6HaU6mAAIU+IXmi3j2mtFXuUoHKwXpzVrsjcgGOauKEjQrwq157hitGq2NoWmjh7z6Wmxb0m5w66+2VRAuXN/yFUAIACH5BAUKABsALAcABADOAAsAAAX/4CZuRiaM45MZqBgIRbs9AqTcuFLE7VHLOh7KB5ERdjJaEaU4ClO/lgKWjKKcMiJQ8KgumcieVdQMD8cbBeuAkkC6LYLhOxoQ2PF5Ys9PKPBMen17f0CCg4VSh32JV4t8jSNqEIOEgJKPlkYBlJWRInKdiJdkmQlvKAsLBxdABA4RsbIMBggtEhcQsLKxDBC2TAS6vLENdJLDxMZAubu8vjIbzcQRtMzJz79S08oQEt/guNiyy7fcvMbh4OezdAvGrakLAQwyABsELQkY9BP+//ckyPDD4J9BfAMh1GsBoImMeQUN+lMgUJ9CiRMa5msxoB9Gh/o8GmxYMZXIgxtR/yQ46S/gQAURR0pDwYDfywoyLPip5AdnCwsMFPBU4BPFhKBDi444quCmDKZOfwZ9KEGpCKgcN1jdALSpPqIYsabS+nSqvqplvYqQYAeDPgwKwjaMtiDl0oaqUAyo+3TuWwUAMPpVCfee0cEjVBGQq2ABx7oTWmQk4FglZMGN9fGVDMCuiH2AOVOu/PmyxM630gwM0CCn6q8LjVJ8GXvpa5Uwn95OTC/nNxkda1/dLSK475IjCD6dHbK1ZOa4hXP9DXs5chJ00UpVm5xo2qRpoxptwF2E4/IbJpB/SDz9+q9b1aNfQH08+p4a8uvX8B53fLP+ycAfemjsRUBgp1H20K+BghHgVgt1GXZXZpZ5lt4ECjxYR4ScUWiShEtZqBiIInRGWnERNnjiBglw+JyGnxUmGowsyiiZg189lNtPGACjV2+S9UjbU0JWF6SPvEk3QZEqsZYTk3UAaRSUnznJI5LmESCdBVSyaOWUWLK4I5gDUYVeV1T9l+FZClCAUVA09uSmRHBCKAECFEhW51ht6rnmWBXkaR+NjuHpJ40D3DmnQXt2F+ihZxlqVKOfQRACACH5BAUKABwALAcABADOAAsAAAX/ICdyUCkUo/g8mUG8MCGkKgspeC6j6XEIEBpBUeCNfECaglBcOVfJFK7YQwZHQ6JRZBUqTrSuVEuD3nI45pYjFuWKvjjSkCoRaBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:c},state:{isDuringAjax:false,isInvalidPage:false,isDestroyed:false,isDone:false,isPaused:false,currPage:1},debug:false,behavior:c,binder:b(a),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:false,pathParse:c,dataType:"html",appendCallback:true,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:c,path:c,prefill:false};b.infinitescroll.prototype={_binding:function a(b){var d=this,e=d.options;e.v="2.0b2.120520";if(!!e.behavior&&this["_binding_"+e.behavior]!==c){this["_binding_"+e.behavior].call(this);return}if(b!=="bind"&&b!=="unbind"){this._debug("Binding value  "+b+" not valid");return false}if(b==="unbind"){this.options.binder.unbind("smartscroll.infscr."+d.options.infid)}else{this.options.binder[b]("smartscroll.infscr."+d.options.infid,function(){d.scroll()})}this._debug("Binding",b)},_create:function d(e,f){var g=b.extend(true,{},b.infinitescroll.defaults,e);this.options=g;var h=b(a);var i=this;
6if(!i._validate(e)){return false}var j=b(g.nextSelector).attr("href");if(!j){this._debug("Navigation selector not found");return false}g.path=g.path||this._determinepath(j);g.contentSelector=g.contentSelector||this.element;g.loading.selector=g.loading.selector||g.contentSelector;g.loading.msg=g.loading.msg||b('<div id="infscr-loading"><img alt="Loading..." src="'+g.loading.img+'" /><div>'+g.loading.msgText+"</div></div>");(new Image).src=g.loading.img;if(g.pixelsFromNavToBottom===c){g.pixelsFromNavToBottom=b(document).height()-b(g.navSelector).offset().top}var k=this;g.loading.start=g.loading.start||function(){b(g.navSelector).hide();g.loading.msg.appendTo(g.loading.selector).show(g.loading.speed,b.proxy(function(){this.beginAjax(g)},k))};g.loading.finished=g.loading.finished||function(){g.loading.msg.fadeOut(g.loading.speed)};g.callback=function(a,d,e){if(!!g.behavior&&a["_callback_"+g.behavior]!==c){a["_callback_"+g.behavior].call(b(g.contentSelector)[0],d,e)}if(f){f.call(b(g.contentSelector)[0],d,g,e)}if(g.prefill){h.bind("resize.infinite-scroll",a._prefill)}};if(e.debug){if(Function.prototype.bind&&(typeof console==="object"||typeof console==="function")&&typeof console.log==="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(a){console[a]=this.call(console[a],console)},Function.prototype.bind)}}this._setup();if(g.prefill){this._prefill()}return true},_prefill:function c(){var d=this;var e=b(document);var f=b(a);function g(){return e.height()<=f.height()}this._prefill=function(){if(g()){d.scroll()}f.bind("resize.infinite-scroll",function(){if(g()){f.unbind("resize.infinite-scroll");d.scroll()}})};this._prefill()},_debug:function a(){if(true!==this.options.debug){return}if(typeof console!=="undefined"&&typeof console.log==="function"){if(Array.prototype.slice.call(arguments).length===1&&typeof Array.prototype.slice.call(arguments)[0]==="string"){console.log(Array.prototype.slice.call(arguments).toString())}else{console.log(Array.prototype.slice.call(arguments))}}else{if(!Function.prototype.bind&&typeof console!=="undefined"&&typeof console.log==="object"){Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments))}}},_determinepath:function a(b){var d=this.options;if(!!d.behavior&&this["_determinepath_"+d.behavior]!==c){return this["_determinepath_"+d.behavior].call(this,b)}if(!!d.pathParse){this._debug("pathParse manual");return d.pathParse(b,this.options.state.currPage+1)}else{if(b.match(/^(.*?)\b2\b(.*?$)/)){b=b.match(/^(.*?)\b2\b(.*?$)/).slice(1)}else{if(b.match(/^(.*?)2(.*?$)/)){if(b.match(/^(.*?page=)2(\/.*|$)/)){b=b.match(/^(.*?page=)2(\/.*|$)/).slice(1);return b}b=b.match(/^(.*?)2(.*?$)/).slice(1)}else{if(b.match(/^(.*?page=)1(\/.*|$)/)){b=b.match(/^(.*?page=)1(\/.*|$)/).slice(1);return b}else{this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com.");d.state.isInvalidPage=true}}}}this._debug("determinePath",b);return b},_error:function a(b){var d=this.options;if(!!d.behavior&&this["_error_"+d.behavior]!==c){this["_error_"+d.behavior].call(this,b);return}if(b!=="destroy"&&b!=="end"){b="unknown"}this._debug("Error",b);if(b==="end"){this._showdonemsg()}d.state.isDone=true;d.state.currPage=1;d.state.isPaused=false;this._binding("unbind")},_loadcallback:function d(e,f,g){var h=this.options,i=this.options.callback,j=h.state.isDone?"done":!h.appendCallback?"no-append":"append",k;if(!!h.behavior&&this["_loadcallback_"+h.behavior]!==c){this["_loadcallback_"+h.behavior].call(this,e,f);return}switch(j){case"done":this._showdonemsg();return false;case"no-append":if(h.dataType==="html"){f="<div>"+f+"</div>";f=b(f).find(h.itemSelector)}break;case"append":var l=e.children();if(l.length===0){return this._error("end")}k=document.createDocumentFragment();while(e[0].firstChild){k.appendChild(e[0].firstChild)}this._debug("contentSelector",b(h.contentSelector)[0]);b(h.contentSelector)[0].appendChild(k);f=l.get();break}h.loading.finished.call(b(h.contentSelector)[0],h);if(h.animate){var m=b(a).scrollTop()+b("#infscr-loading").height()+h.extraScrollPx+"px";b("html,body").animate({scrollTop:m},800,function(){h.state.isDuringAjax=false})}if(!h.animate){h.state.isDuringAjax=false}i(this,f,g);if(h.prefill){this._prefill()}},_nearbottom:function d(){var e=this.options,f=0+b(document).height()-e.binder.scrollTop()-b(a).height();if(!!e.behavior&&this["_nearbottom_"+e.behavior]!==c){return this["_nearbottom_"+e.behavior].call(this)}this._debug("math:",f,e.pixelsFromNavToBottom);return f-e.bufferPx<e.pixelsFromNavToBottom},_pausing:function a(b){var d=this.options;if(!!d.behavior&&this["_pausing_"+d.behavior]!==c){this["_pausing_"+d.behavior].call(this,b);return}if(b!=="pause"&&b!=="resume"&&b!==null){this._debug("Invalid argument. Toggling pause value instead")}b=b&&(b==="pause"||b==="resume")?b:"toggle";
6switch(b){case"pause":d.state.isPaused=true;break;case"resume":d.state.isPaused=false;break;case"toggle":d.state.isPaused=!d.state.isPaused;break}this._debug("Paused",d.state.isPaused);return false},_setup:function a(){var b=this.options;if(!!b.behavior&&this["_setup_"+b.behavior]!==c){this["_setup_"+b.behavior].call(this);return}this._binding("bind");return false},_showdonemsg:function a(){var d=this.options;if(!!d.behavior&&this["_showdonemsg_"+d.behavior]!==c){this["_showdonemsg_"+d.behavior].call(this);return}d.loading.msg.find("img").hide().parent().find("div").html(d.loading.finishedMsg).animate({opacity:1},2e3,function(){b(this).parent().fadeOut(d.loading.speed)});d.errorCallback.call(b(d.contentSelector)[0],"done")},_validate:function a(c){for(var d in c){if(d.indexOf&&d.indexOf("Selector")>-1&&b(c[d]).length===0){this._debug("Your "+d+" found no elements.");return false}}return true},bind:function a(){this._binding("bind")},destroy:function a(){this.options.state.isDestroyed=true;return this._error("destroy")},pause:function a(){this._pausing("pause")},resume:function a(){this._pausing("resume")},beginAjax:function a(d){var e=this,f=d.path,g,h,i,j;d.state.currPage++;g=b(d.contentSelector).is("table")?b("<tbody/>"):b("<div/>");h=typeof f==="function"?f(d.state.currPage):f.join(d.state.currPage);e._debug("heading into ajax",h);i=d.dataType==="html"||d.dataType==="json"?d.dataType:"html+callback";if(d.appendCallback&&d.dataType==="html"){i+="+callback"}switch(i){case"html+callback":e._debug("Using HTML via .load() method");g.load(h+" "+d.itemSelector,c,function a(b){e._loadcallback(g,b,h)});break;case"html":e._debug("Using "+i.toUpperCase()+" via $.ajax() method");b.ajax({url:h,dataType:d.dataType,complete:function a(b,c){j=typeof b.isResolved!=="undefined"?b.isResolved():c==="success"||c==="notmodified";if(j){e._loadcallback(g,b.responseText,h)}else{e._error("end")}}});break;case"json":e._debug("Using "+i.toUpperCase()+" via $.ajax() method");b.ajax({dataType:"json",type:"GET",url:h,success:function(a,b,f){j=typeof f.isResolved!=="undefined"?f.isResolved():b==="success"||b==="notmodified";if(d.appendCallback){if(d.template!==c){var i=d.template(a);g.append(i);if(j){e._loadcallback(g,i)}else{e._error("end")}}else{e._debug("template must be defined.");e._error("end")}}else{if(j){e._loadcallback(g,a,h)}else{e._error("end")}}},error:function(){e._debug("JSON ajax request failed.");e._error("end")}});break}},retrieve:function a(d){d=d||null;var e=this,f=e.options;if(!!f.behavior&&this["retrieve_"+f.behavior]!==c){this["retrieve_"+f.behavior].call(this,d);return}
6if(f.state.isDestroyed){this._debug("Instance is destroyed");return false}f.state.isDuringAjax=true;f.loading.start.call(b(f.contentSelector)[0],f)},scroll:function a(){var b=this.options,d=b.state;if(!!b.behavior&&this["scroll_"+b.behavior]!==c){this["scroll_"+b.behavior].call(this);return}if(d.isDuringAjax||d.isInvalidPage||d.isDone||d.isDestroyed||d.isPaused){return}if(!this._nearbottom()){return}this.retrieve()},toggle:function a(){this._pausing()},unbind:function a(){this._binding("unbind")},update:function a(c){if(b.isPlainObject(c)){this.options=b.extend(true,this.options,c)}}};b.fn.infinitescroll=function a(c,d){var e=typeof c;switch(e){case"string":var f=Array.prototype.slice.call(arguments,1);this.each(function(){var a=b.data(this,"infinitescroll");if(!a){return false}if(!b.isFunction(a[c])||c.charAt(0)==="_"){return false}a[c].apply(a,f)});break;case"object":this.each(function(){var a=b.data(this,"infinitescroll");if(a){a.update(c)}else{a=new b.infinitescroll(c,d,this);if(!a.failed){b.data(this,"infinitescroll",a)}}});break}return this};var d=b.event,e;d.special.smartscroll={setup:function(){b(this).bind("scroll",d.special.smartscroll.handler)},teardown:function(){b(this).unbind("scroll",d.special.smartscroll.handler)},handler:function(a,c){var d=this,f=arguments;a.type="smartscroll";if(e){clearTimeout(e)}e=setTimeout(function(){b.event.handle.apply(d,f)},c==="execAsap"?0:100)}};b.fn.smartscroll=function(a){return a?this.bind("smartscroll",a):this.trigger("smartscroll",["execAsap"])}})(window,jQuery);(function(a){a.fn.dcMegaMenu=function(b){var c={classParent:"dc-mega",classContainer:"sub-container",classSubParent:"mega-hdr",classSubLink:"mega-hdr",classWidget:"dc-extra",rowItems:6,speed:"fast",effect:"fade",event:"hover",fullWidth:false,onLoad:function(){},beforeOpen:function(){},beforeClose:function(){}};var d=mk_grid_width-30;var b=a.extend(c,b);var e=this;return e.each(function(b){var f=c.classSubParent;var g=c.classSubLink;var h=c.classParent;var i=c.classContainer;var j=c.classWidget;p();function k(){var b=a(".sub",this);a(this).addClass("mega-hover");if(c.effect==="fade"){a(b).fadeIn(c.speed)}if(c.effect==="slide"){a(b).show(c.speed)}c.beforeOpen.call(this)}function l(b){var d=a(".sub",b);a(b).addClass("mega-hover");if(c.effect==="fade"){a(d).fadeIn(c.speed)}if(c.effect==="slide"){a(d).show(c.speed)}c.beforeOpen.call(this)}function m(){var b=a(".sub",this);a(this).removeClass("mega-hover");a(b).hide();c.beforeClose.call(this)}function n(b){var d=a(".sub",b);a(b).removeClass("mega-hover");a(d).hide();c.beforeClose.call(this)}function o(){a("li",e).removeClass("mega-hover");a(".sub",e).hide()}function p(){var b=h+"-li";var p=e.outerWidth();a("> li",e).each(function(){var h=a("> ul",this);var k=a("> a",this);if(h.length){h.addClass("sub").wrap('<div class="'+i+'" />');var l=a(this).position();pl=l.left;if(a("ul.mk_mega_menu",h).length){a(this).addClass(b);a("."+i,this).addClass("mega");a("> li",h).each(function(){if(!a(this).hasClass(j)){a(this).addClass("mega-unit");if(a("> ul",this).length){a(this).addClass(f);
7a("> a",this).addClass(f+"-a")}else{a(this).addClass(g);a("> a",this).addClass(g+"-a")}}});var m=a(".mega-unit",this);rowSize=parseInt(c.rowItems);for(var n=0;n<m.length;n+=rowSize){m.slice(n,n+rowSize).wrapAll('<div class="row" />')}h.show();var o=a(this).width();var q=pl+o;var r=p-q;var s=h.outerWidth();var t=h.parent("."+i).outerWidth();var u=t-s;if(c.fullWidth===true){var v=p-u;h.parent("."+i).css({width:d});e.addClass("full-width")}var w=a(".mega-unit",h).outerWidth(true);var x=a(".row:eq(0) .mega-unit",h).length;var y=w*x;var z=y+u;a(".row",this).each(function(){a(".mega-unit:last",this).addClass("last");var b=undefined;a(".mega-unit > a",this).each(function(){var c=parseInt(a(this).height());if(b===undefined||b<c){b=c}});a(".mega-unit > a",this).css("height",b+"px");a(this).css("width",y+"px")});if(c.fullWidth==true){C={left:0}}else{var A=r<A?A+A-r:(z-o)/2;var B=pl-A;var C={left:pl+"px",marginLeft:-A+"px"};if(B<0){C={left:0}}else if(r<A){C={right:0}}}a("."+i,this).css(C);a(".row",h).each(function(){var b=a(this).height();a(".mega-unit",this).css({height:b+"px"});a(this).parent(".row").css({height:b+"px"})});h.hide()}else{a("."+i,this).addClass("non-mega").css("left",pl+"px")}if(!a("ul",h).hasClass("mk_mega_menu")){a("."+i,this).addClass("mk-nested-sub");$mk_nested_ul=a(".mk-nested-sub > ul",this);$mk_nested_width=$mk_nested_ul.width();$mk_nested_ul.find("ul").css("left",$mk_nested_width+"px");$mk_nested_ul.find("li").each(function(){var b=a("> ul",this);if(b.length){jQuery(this).append('<i class="mk-mega-icon mk-theme-icon-next-small"></i>')}jQuery(this).hover(function(){jQuery(this).find("> ul").stop(true,true).delay(200).fadeIn(100)},function(){jQuery(this).find("> ul").stop(true,true).delay(200).fadeOut(100)})})}}});var q=a("> li > a",e).outerHeight(true);a("."+i,e).css({top:q+"px"}).css("z-index","1000");if(c.event=="hover"){var r={sensitivity:1,interval:30,over:k,timeout:100,out:m};a("li",e).hoverIntent(r)}if(c.event=="click"){a("body").mouseup(function(b){if(!a(b.target).parents(".mega-hover").length){o()}});a("> li > a."+h,e).click(function(b){var c=a(this).parent();if(c.hasClass("mega-hover")){n(c)}else{l(c)}b.preventDefault()})}c.onLoad.call(this)}})}})(jQuery);(function(a,b){var c,d,e;c=d=a.jQuery;e=d.ScrollTo=d.ScrollTo||{config:{duration:400,easing:"swing",callback:b,durationMode:"each",offsetTop:0,offsetLeft:0},configure:function(a){d.extend(e.config,a||{});return this},scroll:function(b,c){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;f=b.pop();g=f.$container;h=g.get(0);i=f.$target;j=d("<span/>").css({position:"absolute",top:"0px",left:"0px"});k=g.css("position");g.css("position","relative");j.appendTo(g);p=j.offset().top;q=i.offset().top;r=q-p-parseInt(c.offsetTop,10);s=j.offset().left;t=i.offset().left;u=t-s-parseInt(c.offsetLeft,10);l=h.scrollTop;m=h.scrollLeft;j.remove();g.css("position",k);v={};
7w=function(a){if(b.length===0){if(typeof c.callback==="function"){c.callback.apply(this,[a])}}else{e.scroll(b,c)}return true};if(c.onlyIfOutside){n=l+g.height();o=m+g.width();if(l<r&&r<n){r=l}if(m<u&&u<o){u=m}}if(r!==l){v.scrollTop=r}if(u!==m){v.scrollLeft=u}if(d.browser.safari&&h===document.body){a.scrollTo(v.scrollLeft,v.scrollTop);w()}else if(v.scrollTop||v.scrollLeft){g.animate(v,c.duration,c.easing,w)}else{w()}return true},fn:function(a){var b,c,f,g;b=[];var h=d(this);if(h.length===0){return this}c=d.extend({},e.config,a);f=h.parent();g=f.get(0);while(f.length===1&&g!==document.body&&g!==document){var i,j;i=f.css("overflow-y")!=="visible"&&g.scrollHeight!==g.clientHeight;j=f.css("overflow-x")!=="visible"&&g.scrollWidth!==g.clientWidth;if(i||j){b.push({$container:f,$target:h});h=f}f=f.parent();g=f.get(0)}b.push({$container:d(d.browser.msie||d.browser.mozilla?"html":"body"),$target:h});if(c.durationMode==="all"){c.duration/=b.length}e.scroll(b,c);return this}};d.fn.ScrollTo=d.ScrollTo.fn})(window);(function(a){var b=["DOMMouseScroll","mousewheel"];if(a.event.fixHooks){for(var c=b.length;c;){a.event.fixHooks[b[--c]]=a.event.mouseHooks}}a.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var a=b.length;a;){this.addEventListener(b[--a],d,false)}}else{this.onmousewheel=d}},teardown:function(){if(this.removeEventListener){for(var a=b.length;a;){this.removeEventListener(b[--a],d,false)}}else{this.onmousewheel=null}}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}});function d(b){var c=b||window.event,d=[].slice.call(arguments,1),e=0,f=true,g=0,h=0;b=a.event.fix(c);b.type="mousewheel";if(c.wheelDelta){e=c.wheelDelta/120}if(c.detail){e=-c.detail/3}h=e;if(c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS){h=0;g=-1*e}if(c.wheelDeltaY!==undefined){h=c.wheelDeltaY/120}if(c.wheelDeltaX!==undefined){g=-1*c.wheelDeltaX/120}d.unshift(b,e,g,h);return(a.event.dispatch||a.event.handle).apply(this,d)}})(jQuery);(function(a){a.easyPieChart=function(b,c){var d,e,f,g,h,i,j,k,l=this;this.el=b;this.$el=a(b);this.$el.data("easyPieChart",this);this.init=function(){var b,d;l.options=a.extend({},a.easyPieChart.defaultOptions,c);b=parseInt(l.$el.data("percent"),10);l.percentage=0;l.canvas=a("<canvas width='"+l.options.size+"' height='"+l.options.size+"'></canvas>").get(0);l.$el.append(l.canvas);if(typeof G_vmlCanvasManager!=="undefined"&&G_vmlCanvasManager!==null){G_vmlCanvasManager.initElement(l.canvas)}l.ctx=l.canvas.getContext("2d");if(window.devicePixelRatio>1){d=window.devicePixelRatio;a(l.canvas).css({width:l.options.size,height:l.options.size});l.canvas.width*=d;l.canvas.height*=d;l.ctx.scale(d,d)}l.ctx.translate(l.options.size/2,l.options.size/2);l.$el.addClass("easyPieChart");l.$el.css({width:l.options.size,height:l.options.size,lineHeight:""+l.options.size+"px"});l.update(b);return l};this.update=function(a){a=parseFloat(a)||0;if(l.options.animate===false){f(a)}else{e(l.percentage,a)}return l};j=function(){var a,b,c;l.ctx.fillStyle=l.options.scaleColor;l.ctx.lineWidth=1;c=[];for(a=b=0;b<=24;a=++b){c.push(d(a))}return c};d=function(a){var b;b=a%6===0?0:l.options.size*.017;l.ctx.save();l.ctx.rotate(a*Math.PI/12);l.ctx.fillRect(l.options.size/2-b,0,-l.options.size*.05+b,1);l.ctx.restore()};k=function(){var a;a=l.options.size/2-l.options.lineWidth/2;if(l.options.scaleColor!==false){a-=l.options.size*.08}l.ctx.beginPath();l.ctx.arc(0,0,a,0,Math.PI*2,true);l.ctx.closePath();l.ctx.strokeStyle=l.options.trackColor;l.ctx.lineWidth=l.options.lineWidth;l.ctx.stroke()};i=function(){if(l.options.scaleColor!==false){j()}if(l.options.trackColor!==false){k()}};f=function(b){var c;i();l.ctx.strokeStyle=a.isFunction(l.options.barColor)?l.options.barColor(b):l.options.barColor;l.ctx.lineCap=l.options.lineCap;l.ctx.lineWidth=l.options.lineWidth;c=l.options.size/2-l.options.lineWidth/2;if(l.options.scaleColor!==false){c-=l.options.size*.08}l.ctx.save();l.ctx.rotate(-Math.PI/2);l.ctx.beginPath();l.ctx.arc(0,0,c,0,Math.PI*2*b/100,false);l.ctx.stroke();
7l.ctx.restore()};h=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)}}();e=function(a,b){var c,d;l.options.onStart.call(l);l.percentage=b;d=Date.now();c=function(){var e,j;j=Date.now()-d;if(j<l.options.animate){h(c)}l.ctx.clearRect(-l.options.size/2,-l.options.size/2,l.options.size,l.options.size);i.call(l);e=[g(j,a,b-a,l.options.animate)];l.options.onStep.call(l,e);f.call(l,e);if(j>=l.options.animate){return l.options.onStop.call(l)}};h(c)};g=function(a,b,c,d){var e,f;e=function(a){return Math.pow(a,2)};f=function(a){if(a<1){return e(a)}else{return 2-e(a/2*-2+2)}};a/=d/2;return c/2*f(a)+b};return this.init()};a.easyPieChart.defaultOptions={barColor:"#ef1e25",trackColor:"#f2f2f2",scaleColor:"#dfe0e0",lineCap:"round",size:110,lineWidth:3,animate:false,onStart:a.noop,onStop:a.noop,onStep:a.noop};a.fn.easyPieChart=function(b){return a.each(this,function(c,d){var e;e=a(d);if(!e.data("easyPieChart")){return e.data("easyPieChart",new a.easyPieChart(d,b))}})};return void 0})(jQuery);(function(a){a.fn.downCount=function(b,c){var d=a.extend({date:null,offset:null},b);if(!d.date){a.error("Date is not defined.")}if(!Date.parse(d.date)){a.error("Incorrect date format, it should look like this, 12/24/2012 12:00:00.")}var e=this;var f=function(){var a=new Date;var b=a.getTime()+a.getTimezoneOffset()*6e4;var c=new Date(b+36e5*d.offset);return c};function g(){var a=new Date(d.date),b=f();var g=a-b;if(g<0){clearInterval(h);if(c&&typeof c==="function")c();return}var i=1e3,j=i*60,k=j*60,l=k*24;var m=Math.floor(g/l),n=Math.floor(g%l/k),o=Math.floor(g%k/j),p=Math.floor(g%j/i);m=String(m).length>=2?m:"0"+m;n=String(n).length>=2?n:"0"+n;o=String(o).length>=2?o:"0"+o;p=String(p).length>=2?p:"0"+p;var q=m===1?"day":"days",r=n===1?"hour":"hours",s=o===1?"minute":"minutes",t=p===1?"second":"seconds";e.find(".days").text(m);e.find(".hours").text(n);e.find(".minutes").text(o);e.find(".seconds").text(p);e.find(".days_ref").text(q);e.find(".hours_ref").text(r);e.find(".minutes_ref").text(s);e.find(".seconds_ref").text(t)}var h=setInterval(g,1e3)}})(jQuery);(function(a){var b=a.event,c,d;c=b.special.debouncedresize={setup:function(){a(this).on("resize",c.handler)},teardown:function(){a(this).off("resize",c.handler)},handler:function(a,e){var f=this,g=arguments,h=function(){a.type="debouncedresize";b.dispatch.apply(f,g)};if(d){clearTimeout(d)}e?h():d=setTimeout(h,c.threshold)},threshold:150}})(jQuery);(function(a,b){var c;function d(a,b){var c=this,d;function e(){c.frameCount++;a.call(c)}this.frameDuration=b||25;this.frameCount=-1;this.start=function(){e();d=setInterval(e,this.frameDuration)};this.stop=function(){clearInterval(d);d=null}}function e(){var b=a.event.special.frame.handler,c=a.Event("frame"),d=this.array,e=d.length;c.frameCount=this.frameCount;while(e--){b.call(d[e],c)}}if(!a.event.special.frame){a.event.special.frame={setup:function(a,b){if(c){c.array.push(this)}else{c=new d(e,a&&a.frameDuration);c.array=[this];var f=setTimeout(function(){c.start();clearTimeout(f);f=null},0)}return},teardown:function(a){var d=c.array,e=d.length;while(e--){if(d[e]===this){d.splice(e,1);break}}if(d.length===0){c.stop();c=b}return},handler:function(b){a.event.handle.apply(this,arguments)}}}})(jQuery);(function(a,b){var c=true,d={mouseport:"body",xparallax:true,yparallax:true,xorigin:.5,yorigin:.5,decay:.66,frameDuration:30,freezeClass:"freeze"},e={left:0,top:0,middle:.5,center:.5,right:1,bottom:1},f=/^\d+\s?px$/,g=/^\d+\s?%$/,h=a(window),i=a(document),j=[0,0];var k=function(){var a=false;var b=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a,b){return window.setTimeout(function(){a()},25)}}();function c(){var c=[],d;function e(){}function f(){var e=c.slice(0),f=e.length,g=-1;if(a){console.log("timer frame()",f)}while(++g<f){e[g].call(this)}b(d)}function g(){if(a){console.log("timer start()")}this.start=e;this.stop=h;d=f;b(d)}function h(){if(a){console.log("timer stop()")}this.start=g;this.stop=e;d=e}this.callbacks=c;this.start=g;this.stop=h}c.prototype={add:function(b){var c=this.callbacks,d=c.length;while(d--){if(c[d]===b){return}}this.callbacks.push(b);if(a){console.log("timer add()",this.callbacks.length)}},remove:function(b){var c=this.callbacks,d=c.length;while(d--){if(c[d]===b){c.splice(d,1)}}if(a){console.log("timer remove()",this.callbacks.length)}if(c.length===0){this.stop()}}};return c}();function l(a){return g.exec(a)?parseFloat(a)/100:a}function m(a){return typeof a==="boolean"?a:!!parseFloat(a)}function n(a){var b={"mouseenter.parallax":m,"mouseleave.parallax":n},c={"resize.parallax":l},d={elem:a,events:b,winEvents:c,timer:new k},e,f,g;function i(){d.pointer=p(j,[true,true],g,f)}function l(){f=q(a);g=r(a);d.threshold=s(f)}function m(){d.timer.add(i)}function n(a){d.timer.remove(i);d.pointer=p([a.pageX,a.pageY],[true,true],g,f)}h.on(c);a.on(b);l();return d}function o(a,b,c){var d=a.data(b);if(!d){d=c?c(a):{};a.data(b,d)}return d}function p(a,b,c,d){var e=[],f=2;while(f--){e[f]=(a[f]-c[f])/d[f];e[f]=e[f]<0?0:e[f]>1?1:e[f]}return e}function q(a){return[a.width(),a.height()]}function r(a){var b=a.offset()||{left:0,top:0},c=a.css("borderLeftStyle")==="none"?0:parseInt(a.css("borderLeftWidth"),10),d=a.css("borderTopStyle")==="none"?0:parseInt(a.css("borderTopWidth"),
710),e=parseInt(a.css("paddingLeft"),10),f=parseInt(a.css("paddingTop"),10);return[b.left+c+e,b.top+d+f]}function s(a){return[1/a[0],1/a[1]]}function t(a,b,c){return[b||a.outerWidth(),c||a.outerHeight()]}function u(a,c){var d=[a,c],f=2,g=[];while(f--){g[f]=typeof d[f]==="string"?d[f]===b?1:e[g[f]]||l(g[f]):d[f]}return g}function v(a,b){return[f.test(a),f.test(b)]}function w(a,b,c){var d=[a,b],e=2,f=[];while(e--){f[e]=c[e]?parseInt(d[e],10):f[e]=d[e]===true?1:l(d[e])}return f}function x(a,b,c,d){var e=2,f=[];while(e--){f[e]=b[e]?c[e]*(d[e]-a[e]):a[e]?c[e]*(1-a[e]):0}return f}function y(a,b){var c=2,d=[];while(c--){if(a[c]){d[c]=b[c]*100+"%"}else{}}return d}function z(a,b,c,d,e){var f=a.offsetParent(),g=a.position(),h=[],i=[],j=2;while(j--){h[j]=c[j]?0:g[j===0?"left":"top"]/(f[j===0?"outerWidth":"outerHeight"]()-e[j]);i[j]=(h[j]-d[j])/b[j]}return i}function A(a,b,c,d,e,f){var g=[],h,i,j=2,k={};while(j--){if(a[j]){g[j]=a[j]*f[j]+c[j];if(b[j]){h=e[j];i=g[j]*-1}else{h=g[j]*100+"%";i=g[j]*d[j]*-1}if(j===0){k.left=h;k.marginLeft=i}else{k.top=h;k.marginTop=i}}}return k}function B(a,b,c,d,e,f,g){var h,i;if((!e[0]||Math.abs(a[0]-b[0])<c[0])&&(!e[1]||Math.abs(a[1]-b[1])<c[1])){if(f){f()}return g(a)}h=[];i=2;while(i--){if(e[i]){h[i]=a[i]+d*(b[i]-a[i])}}return g(h)}function C(a,b,c,d,e,f,g){if(a[0]===b[0]&&a[1]===b[1]){return}return g(a)}function D(a,b,c){a.off(b).removeData("parallax_port");h.off(c)}function E(a,b,c){b.elem.off(c);b.layers=b.layers.not(a);if(b.layers.length===0){D(b.elem,b.events,b.winEvents)}}function F(a){var b={};if(a[0]){b.left="";b.marginLeft=""}if(a[1]){b.top="";b.marginTop=""}elem.css(b)}a.fn.parallax=function(b){var c=a.extend({},a.fn.parallax.options,b),d=arguments,e=c.mouseport instanceof a?c.mouseport:a(c.mouseport),f=o(e,"parallax_port",n),g=f.timer;return this.each(function(b){var e=this,h=a(this),i=d[b+1]?a.extend({},c,d[b+1]):c,j=i.decay,k=t(h,i.width,i.height),l=u(i.xorigin,i.yorigin),m=v(i.xparallax,i.yparallax),n=w(i.xparallax,i.yparallax,m),o=x(n,m,l,k),p=y(m,l),q=z(h,n,m,o,k),r=B,s=G,D={"mouseenter.parallax":function a(b){r=B;s=G;g.add(F);g.start()},"mouseleave.parallax":function a(b){r=B;s=H}};function E(a){var b=A(n,m,o,k,p,a);h.css(b);q=a}function F(){r(f.pointer,q,f.threshold,j,n,s,E)}function G(){r=C}function H(){g.remove(F)}if(a.data(e,"parallax")){h.unparallax()}a.data(e,"parallax",{port:f,events:D,parallax:n});f.elem.on(D);f.layers=f.layers?f.layers.add(e):a(e)})};a.fn.unparallax=function(b){return this.each(function(){var c=a.data(this,"parallax");if(!c){return}a.removeData(this,"parallax");E(this,c.port,c.events);if(b){F(c.parallax)}})};a.fn.parallax.options=d;i.on("mousemove.parallax",function(a){j=[a.pageX,a.pageY]})})(jQuery);(function(a){function b(b,c,d){var e=b.offset().top,f=b.offset().left,g=d.position.split(/,?\s+/),h=g[0];g=g[1];e-=c.outerHeight()-d.offset[0];f+=b.outerWidth()+d.offset[1];if(/iPad/i.test(navigator.userAgent))e-=a(window).scrollTop();d=c.outerHeight()+b.outerHeight();if(h=="center")e+=d/2;if(h=="bottom")e+=d;b=b.outerWidth();if(g=="center")f-=(b+c.outerWidth())/2;if(g=="left")f-=b;return{top:e,left:f}}function c(a){function b(){return this.getAttribute("type")==a}b.key="[type="+a+"]";return b}function d(c,d,e){function f(b,c,d){if(!(!e.grouped&&b.length)){var f;if(d===false||a.isArray(d)){f=j.messages[c.key||c]||j.messages["*"];f=f[e.lang]||j.messages["*"].en;(c=f.match(/\$\d/g))&&a.isArray(d)&&a.each(c,function(a){f=f.replace(this,d[a])})}else f=d[e.lang]||d;b.push(f)}}var h=this,i=d.add(h);c=c.not(":button, :image, :reset, :submit");a.extend(h,{getConf:function(){return e},getForm:function(){return d},getInputs:function(){return c},reflow:function(){c.each(function(){var c=a(this),d=c.data("msg.el");if(d){c=b(c,d,e);d.css({top:c.top,left:c.left})}});return h},invalidate:function(b,d){if(!d){var f=[];a.each(b,function(a,b){a=c.filter("[name='"+a+"']");if(a.length){a.trigger("OI",[b]);f.push({input:a,messages:[b]})}});b=f;d=a.Event()}d.type="onFail";i.trigger(d,[b]);d.isDefaultPrevented()||l[e.effect][0].call(h,b,d);return h},reset:function(b){b=b||c;b.removeClass(e.errorClass).each(function(){var b=a(this).data("msg.el");if(b){b.remove();a(this).data("msg.el",null)}}).unbind(e.errorInputEvent||"");return h},destroy:function(){d.unbind(e.formEvent+".V").unbind("reset.V");c.unbind(e.inputEvent+".V").unbind("change.V");return h.reset()},checkValidity:function(b,d){b=b||c;b=b.not(":disabled");if(!b.length)return true;d=d||a.Event();d.type="onBeforeValidate";i.trigger(d,[b]);if(d.isDefaultPrevented())return d.result;var j=[];b.not(":radio:not(:checked)").each(function(){var b=[],c=a(this).data("messages",b),l=g&&c.is(":date")?"onHide.v":e.errorInputEvent+".v";
7c.unbind(l);a.each(k,function(){var a=this,g=a[0];if(c.filter(g).length){a=a[1].call(h,c,c.val());if(a!==true){d.type="onBeforeFail";i.trigger(d,[c,g]);if(d.isDefaultPrevented())return false;var j=c.attr(e.messageAttr);if(j){b=[j];return false}else f(b,g,a)}}});if(b.length){j.push({input:c,messages:b});c.trigger("OI",[b]);e.errorInputEvent&&c.bind(l,function(a){h.checkValidity(c,a)})}if(e.singleError&&j.length)return false});var m=l[e.effect];if(!m)throw'Validator: cannot find effect "'+e.effect+'"';if(j.length){h.invalidate(j,d);return false}else{m[1].call(h,b,d);d.type="onSuccess";i.trigger(d,[b]);b.unbind(e.errorInputEvent+".v")}return true}});a.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(b,c){a.isFunction(e[c])&&a(h).bind(c,e[c]);h[c]=function(b){b&&a(h).bind(c,b);return h}});e.formEvent&&d.bind(e.formEvent+".V",function(a){if(!h.checkValidity(null,a))return a.preventDefault()});d.bind("reset.V",function(){h.reset()});c[0]&&c[0].validity&&c.each(function(){this.oninvalid=function(){return false}});if(d[0])d[0].checkValidity=h.checkValidity;e.inputEvent&&c.bind(e.inputEvent+".V",function(b){h.checkValidity(a(this),b)});c.filter(":checkbox, select").filter("[required]").bind("change.V",function(b){var c=a(this);if(this.checked||c.is("select")&&a(this).val())l[e.effect][1].call(h,c,b)});var m=c.filter(":radio").change(function(a){h.checkValidity(m,a)});a(window).resize(function(){h.reflow()})}a.tools=a.tools||{version:"1.2.5"};var e=/\[type=([a-z]+)\]/,f=/^-?[0-9]*(\.[0-9]+)?$/,g=a.tools.dateinput,h=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,i=/^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#&+_\?\/\w \.\-=]*$/i,j;j=a.tools.validator={conf:{grouped:false,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"<div/>",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:false,speed:"normal"},messages:{"*":{en:"Please correct this value"}},localize:function(b,c){a.each(c,function(a,c){j.messages[a]=j.messages[a]||{};j.messages[a][b]=c})},localizeFn:function(b,c){j.messages[b]=j.messages[b]||{};a.extend(j.messages[b],c)},fn:function(b,d,f){if(a.isFunction(d))f=d;else{if(typeof d=="string")d={en:d};this.messages[b.key||b]=d}if(d=e.exec(b))b=c(d[1]);k.push([b,f])},addEffect:function(a,b,c){l[a]=[b,c]}};var k=[],l={default:[function(c){var d=this.getConf();a.each(c,function(c,e){c=e.input;c.addClass(d.errorClass);var f=c.data("msg.el");if(!f){f=a(d.message).addClass(d.messageClass).appendTo(document.body);c.data("msg.el",f)}f.css({visibility:"hidden"}).find("p").remove();a.each(e.messages,function(b,c){a("<p/>").html(c).appendTo(f)});f.outerWidth()==f.parent().width()&&f.add(f.find("p")).css({display:"inline"});e=b(c,f,d);f.css({visibility:"visible",position:"absolute",top:e.top,left:e.left}).fadeIn(d.speed)})},function(b){var c=this.getConf();b.removeClass(c.errorClass).each(function(){var b=a(this).data("msg.el");b&&b.css({visibility:"hidden"})})}]};a.each("email,url,number".split(","),function(b,c){a.expr[":"][c]=function(a){return a.getAttribute("type")===c}});a.fn.oninvalid=function(a){return this[a?"bind":"trigger"]("OI",a)};j.fn(":email","Please enter a valid email address",function(a,b){return!b||h.test(b)});j.fn(":url","Please enter a valid URL",function(a,b){return!b||i.test(b)});j.fn(":number","Please enter a numeric value.",function(a,b){return f.test(b)});j.fn("[max]","Please enter a value smaller than $1",function(a,b){if(b===""||g&&a.is(":date"))return true;a=a.attr("max");return parseFloat(b)<=parseFloat(a)?true:[a]});j.fn("[min]","Please enter a value larger than $1",function(a,b){if(b===""||g&&a.is(":date"))return true;a=a.attr("min");return parseFloat(b)>=parseFloat(a)?true:[a]});j.fn("[required]","Please complete this mandatory field.",function(a,b){if(a.is(":checkbox"))return a.is(":checked");return!!b});j.fn("[pattern]",function(a){var b=new RegExp("^"+a.attr("pattern")+"$");return b.test(a.val())});a.fn.validator=function(b){var c=this.data("validator");if(c){c.destroy();this.removeData("validator")}b=a.extend(true,{},j.conf,b);if(this.is("form"))return this.each(function(){var e=a(this);c=new d(e.find(":input"),e,b);e.data("validator",c)});else{c=new d(this,this.eq(0).closest("form"),b);return this.data("validator",c)}}})(jQuery);(function(a){var b={},c,d,e=document,f=window,g=e.documentElement,h=a.expando,i;a.event.special.inview={add:function(c){b[c.guid+"-"+this[h]]={data:c,$element:a(this)};if(!i&&!a.isEmptyObject(b)){i=setInterval(l,250)}},remove:function(c){try{delete b[c.guid+"-"+this[h]]}catch(a){}if(a.isEmptyObject(b)){clearInterval(i);i=null}}};
7function j(){var b,c,d={height:f.innerHeight,width:f.innerWidth};if(!d.height){b=e.compatMode;if(b||!a.support.boxModel){c=b==="CSS1Compat"?g:e.body;d={height:c.clientHeight,width:c.clientWidth}}}return d}function k(){return{top:f.pageYOffset||g.scrollTop||e.body.scrollTop,left:f.pageXOffset||g.scrollLeft||e.body.scrollLeft}}function l(){var e=a(),f,h=0;a.each(b,function(a,b){var c=b.data.selector,d=b.$element;e=e.add(c?d.find(c):d)});f=e.length;if(f){c=c||j();d=d||k();for(;h<f;h++){if(!a.contains(g,e[h])){continue}var i=a(e[h]),l={height:i.height(),width:i.width()},m=i.offset(),n=i.data("inview"),o,p,q;if(!d||!c){return}if(m.top+l.height>d.top&&m.top<d.top+c.height&&m.left+l.width>d.left&&m.left<d.left+c.width){o=d.left>m.left?"right":d.left+c.width<m.left+l.width?"left":"both";p=d.top>m.top?"bottom":d.top+c.height<m.top+l.height?"top":"both";q=o+"-"+p;if(!n||n!==q){i.data("inview",q).trigger("inview",[true,o,p])}}else if(n){i.data("inview",false).trigger("inview",[false])}}}}a(f).bind("scroll resize scrollstop",function(){c=d=null});if(!g.addEventListener&&g.attachEvent){g.attachEvent("onfocusin",function(){d=null})}})(jQuery);function ChopScroll(a,b,c){this.timeout=b;this.handler=a;this.name=c||"unnamed";this.isExecuteTime=true;this.interval="";var d=this;e();function e(){jQuery(window).scroll(function(){d.isExecuteTime=true});d.interval=setInterval(function(){if(d.isExecuteTime){try{a()}catch(a){console.log(a)}d.isExecuteTime=false}},d.timeout)}}(function(a){a.fn.hoverIntent=function(b,c,d){var e={interval:100,sensitivity:7,timeout:0};if(typeof b==="object"){e=a.extend(e,b)}else if(a.isFunction(c)){e=a.extend(e,{over:b,out:c,selector:d})}else{e=a.extend(e,{over:b,out:b,selector:c})}var f,g,h,i;var j=function(a){f=a.pageX;g=a.pageY};var k=function(b,c){c.hoverIntent_t=clearTimeout(c.hoverIntent_t);if(Math.abs(h-f)+Math.abs(i-g)<e.sensitivity){a(c).off("mousemove.hoverIntent",j);c.hoverIntent_s=1;return e.over.apply(c,[b])}else{h=f;i=g;c.hoverIntent_t=setTimeout(function(){k(b,c)},e.interval)}};var l=function(a,b){b.hoverIntent_t=clearTimeout(b.hoverIntent_t);b.hoverIntent_s=0;return e.out.apply(b,[a])};var m=function(b){var c=jQuery.extend({},b);var d=this;if(d.hoverIntent_t){d.hoverIntent_t=clearTimeout(d.hoverIntent_t)}if(b.type=="mouseenter"){h=c.pageX;i=c.pageY;a(d).on("mousemove.hoverIntent",j);if(d.hoverIntent_s!=1){d.hoverIntent_t=setTimeout(function(){k(c,d)},e.interval)}}else{a(d).off("mousemove.hoverIntent",j);if(d.hoverIntent_s==1){d.hoverIntent_t=setTimeout(function(){l(c,d)},e.timeout)}}};return this.on({"mouseenter.hoverIntent":m,"mouseleave.hoverIntent":m},e.selector)}})(jQuery);var Swiper=function(a,b){"use strict";function c(a,b){if(document.querySelectorAll)return(b||document).querySelectorAll(a);else return jQuery(a,b)}function d(a){if(Object.prototype.toString.apply(a)==="[object Array]")return true;return false}function e(){var a=F-I;if(b.freeMode){a=F-I}if(b.slidesPerView>C.slides.length&&!b.centeredSlides){a=0}if(a<0)a=0;return a}function f(){function a(a){var c=new Image;c.onload=function(){if(C&&C.imagesLoaded!==undefined)C.imagesLoaded++;if(C.imagesLoaded===C.imagesToLoad.length){C.reInit();if(b.onImagesReady)C.fireCallback(b.onImagesReady,C)}};c.src=a}var d=C.h.addEventListener;var e=b.eventTarget==="wrapper"?C.wrapper:C.container;if(!(C.browser.ie10||C.browser.ie11)){if(C.support.touch){d(e,"touchstart",p);d(e,"touchmove",q);d(e,"touchend",r)}if(b.simulateTouch){d(e,"mousedown",p);d(document,"mousemove",q);d(document,"mouseup",r)}}else{d(e,C.touchEvents.touchStart,p);d(document,C.touchEvents.touchMove,q);d(document,C.touchEvents.touchEnd,r)}if(b.autoResize){d(window,"resize",C.resizeFix)}g();C._wheelEvent=false;if(b.mousewheelControl){if(document.onmousewheel!==undefined){C._wheelEvent="mou
7sewheel"}if(!C._wheelEvent){try{new WheelEvent("wheel");C._wheelEvent="wheel"}catch(a){}}if(!C._wheelEvent){C._wheelEvent="DOMMouseScroll"}if(C._wheelEvent){d(C.container,C._wheelEvent,j)}}if(b.keyboardControl){d(document,"keydown",i)}if(b.updateOnImagesReady){C.imagesToLoad=c("img",C.container);for(var f=0;f<C.imagesToLoad.length;f++){a(C.imagesToLoad[f].getAttribute("src"))}}}function g(){var a=C.h.addEventListener,d;if(b.preventLinks){var e=c("a",C.container);for(d=0;d<e.length;d++){a(e[d],"click",n)}}if(b.releaseFormElements){var f=c("input, textarea, select",C.container);for(d=0;d<f.length;d++){a(f[d],C.touchEvents.touchStart,o,true)}}if(b.onSlideClick){for(d=0;d<C.slides.length;d++){a(C.slides[d],"click",k)}}if(b.onSlideTouch){for(d=0;d<C.slides.length;d++){a(C.slides[d],C.touchEvents.touchStart,l)}}}function h(){var a=C.h.removeEventListener,d;if(b.onSlideClick){for(d=0;d<C.slides.length;d++){a(C.slides[d],"click",k)}}if(b.onSlideTouch){for(d=0;d<C.slides.length;d++){a(C.slides[d],C.touchEvents.touchStart,l)}}if(b.releaseFormElements){var e=c("input, textarea, select",C.container);for(d=0;d<e.length;d++){a(e[d],C.touchEvents.touchStart,o,true)}}if(b.preventLinks){var f=c("a",C.container);for(d=0;d<f.length;d++){a(f[d],"click",n)}}}function i(a){var b=a.keyCode||a.charCode;if(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey)return;if(b===37||b===39||b===38||b===40){var c=false;var d=C.h.getOffset(C.container);var e=C.h.windowScroll().left;var f=C.h.windowScroll().top;var g=C.h.windowWidth();var h=C.h.windowHeight();var i=[[d.left,d.top],[d.left+C.width,d.top],[d.left,d.top+C.height],[d.left+C.width,d.top+C.height]];for(var j=0;j<i.length;j++){var k=i[j];if(k[0]>=e&&k[0]<=e+g&&k[1]>=f&&k[1]<=f+h){c=true}}if(!c)return}if(M){if(b===37||b===39){if(a.preventDefault)a.preventDefault();else a.returnValue=false}if(b===39)C.swipeNext();if(b===37)C.swipePrev()}else{if(b===38||b===40){if(a.preventDefault)a.preventDefault();else a.returnValue=false}if(b===40)C.swipeNext();if(b===38)C.swipePrev()}}function j(a){var c=C._wheelEvent;var d=0;if(a.detail)d=-a.detail;else if(c==="mousewheel"){if(b.mousewheelControlForceToAxis){if(M){if(Math.abs(a.wheelDeltaX)>Math.abs(a.wheelDeltaY))d=a.wheelDeltaX;else return}else{if(Math.abs(a.wheelDeltaY)>Math.abs(a.wheelDeltaX))d=a.wheelDeltaY;else return}}else{d=a.wheelDelta}}else if(c==="DOMMouseScroll")d=-a.detail;else if(c==="wheel"){if(b.mousewheelControlForceToAxis){if(M){if(Math.abs(a.deltaX)>Math.abs(a.deltaY))d=-a.deltaX;else return}else{if(Math.abs(a.deltaY)>Math.abs(a.deltaX))d=-a.deltaY;else return}}else{d=Math.abs(a.deltaX)>Math.abs(a.deltaY)?-a.deltaX:-a.deltaY}}if(!b.freeMode){if((new Date).getTime()-U>60){if(d<0)C.swipeNext();else C.swipePrev()}U=(new Date).getTime()}else{var f=C.getWrapperTranslate()+d;if(f>0)f=0;if(f<-e())f=-e();C.setWrapperTransition(0);C.setWrapperTranslate(f);C.updateActiveSlide(f);if(f===0||f===-e())return}if(b.autoplay)C.stopAutoplay(true);if(a.preventDefault)a.preventDefault();else a.returnValue=false;return false}function k(a){if(C.allowSlideClick){m(a);C.fireCallback(b.onSlideClick,C,a)}}function l(a){m(a);C.fireCallback(b.onSlideTouch,C,a)}function m(a){if(!a.currentTarget){var c=a.srcElement;do{if(c.className.indexOf(b.slideClass)>-1){break}c=c.parentNode}while(c);C.clickedSlide=c}else{C.clickedSlide=a.currentTarget}C.clickedSlideIndex=C.slides.indexOf(C.clickedSlide);C.clickedSlideLoopIndex=C.clickedSlideIndex-(C.loopedSlides||0)}function n(a){if(!C.allowLinks){if(a.preventDefault)a.preventDefault();else a.returnValue=false;if(b.preventLinksPropagation&&"stopPropagation"in a){a.stopPropagation()}return false}}function o(a){if(a.stopPropagation)a.stopPropagation();else a.returnValue=false;return false}
7function p(a){if(b.preventLinks)C.allowLinks=true;if(C.isTouched||b.onlyExternal){return false}if(b.noSwiping&&(a.target||a.srcElement)&&s(a.target||a.srcElement))return false;Y=false;C.isTouched=true;W=a.type==="touchstart";if(!W||a.targetTouches.length===1){C.callPlugins("onTouchStartBegin");if(!W&&!C.isAndroid){if(a.preventDefault)a.preventDefault();else a.returnValue=false}var c=W?a.targetTouches[0].pageX:a.pageX||a.clientX;var d=W?a.targetTouches[0].pageY:a.pageY||a.clientY;C.touches.startX=C.touches.currentX=c;C.touches.startY=C.touches.currentY=d;C.touches.start=C.touches.current=M?c:d;C.setWrapperTransition(0);C.positions.start=C.positions.current=C.getWrapperTranslate();C.setWrapperTranslate(C.positions.start);C.times.start=(new Date).getTime();H=undefined;if(b.moveStartThreshold>0){X=false}if(b.onTouchStart)C.fireCallback(b.onTouchStart,C,a);C.callPlugins("onTouchStartEnd")}}function q(a){if(!C.isTouched||b.onlyExternal)return;if(W&&a.type==="mousemove")return;var c=W?a.targetTouches[0].pageX:a.pageX||a.clientX;var d=W?a.targetTouches[0].pageY:a.pageY||a.clientY;if(typeof H==="undefined"&&M){H=!!(H||Math.abs(d-C.touches.startY)>Math.abs(c-C.touches.startX))}if(typeof H==="undefined"&&!M){H=!!(H||Math.abs(d-C.touches.startY)<Math.abs(c-C.touches.startX))}if(H){C.isTouched=false;return}if(a.assignedToSwiper){C.isTouched=false;return}a.assignedToSwiper=true;if(b.preventLinks){C.allowLinks=false}if(b.onSlideClick){C.allowSlideClick=false}if(b.autoplay){C.stopAutoplay(true)}if(!W||a.touches.length===1){if(!C.isMoved){C.callPlugins("onTouchMoveStart");if(b.loop){C.fixLoop();C.positions.start=C.getWrapperTranslate()}if(b.onTouchMoveStart)C.fireCallback(b.onTouchMoveStart,C)}C.isMoved=true;if(a.preventDefault)a.preventDefault();else a.returnValue=false;C.touches.current=M?c:d;C.positions.current=(C.touches.current-C.touches.start)*b.touchRatio+C.positions.start;if(C.positions.current>0&&b.onResistanceBefore){C.fireCallback(b.onResistanceBefore,C,C.positions.current)}if(C.positions.current<-e()&&b.onResistanceAfter){C.fireCallback(b.onResistanceAfter,C,Math.abs(C.positions.current+e()))}if(b.resistance&&b.resistance!=="100%"){var f;if(C.positions.current>0){f=1-C.positions.current/I/2;if(f<.5)C.positions.current=I/2;else C.positions.current=C.positions.current*f}if(C.positions.current<-e()){var g=(C.touches.current-C.touches.start)*b.touchRatio+(e()+C.positions.start);f=(I+g)/I;var h=C.positions.current-g*(1-f)/2;var i=-e()-I/2;if(h<i||f<=0)C.positions.current=i;else C.positions.current=h}}if(b.resistance&&b.resistance==="100%"){if(C.positions.current>0&&!(b.freeMode&&!b.freeModeFluid)){
8C.positions.current=0}if(C.positions.current<-e()&&!(b.freeMode&&!b.freeModeFluid)){C.positions.current=-e()}}if(!b.followFinger)return;if(!b.moveStartThreshold){C.setWrapperTranslate(C.positions.current)}else{if(Math.abs(C.touches.current-C.touches.start)>b.moveStartThreshold||X){if(!X){X=true;C.touches.start=C.touches.current;return}C.setWrapperTranslate(C.positions.current)}else{C.positions.current=C.positions.start}}if(b.freeMode||b.watchActiveIndex){C.updateActiveSlide(C.positions.current)}if(b.grabCursor){C.container.style.cursor="move";C.container.style.cursor="grabbing";C.container.style.cursor="-moz-grabbin";C.container.style.cursor="-webkit-grabbing"}if(!Z)Z=C.touches.current;if(!$)$=(new Date).getTime();C.velocity=(C.touches.current-Z)/((new Date).getTime()-$)/2;if(Math.abs(C.touches.current-Z)<2)C.velocity=0;Z=C.touches.current;$=(new Date).getTime();C.callPlugins("onTouchMoveEnd");if(b.onTouchMove)C.fireCallback(b.onTouchMove,C,a);return false}}function r(a){if(H){C.swipeReset()}if(b.onlyExternal||!C.isTouched)return;C.isTouched=false;if(b.grabCursor){C.container.style.cursor="move";C.container.style.cursor="grab";C.container.style.cursor="-moz-grab";C.container.style.cursor="-webkit-grab"}if(!C.positions.current&&C.positions.current!==0){C.positions.current=C.positions.start}if(b.followFinger){C.setWrapperTranslate(C.positions.current)}C.times.end=(new Date).getTime();C.touches.diff=C.touches.current-C.touches.start;C.touches.abs=Math.abs(C.touches.diff);C.positions.diff=C.positions.current-C.positions.start;C.positions.abs=Math.abs(C.positions.diff);var c=C.positions.diff;var d=C.positions.abs;var f=C.times.end-C.times.start;if(d<5&&f<300&&C.allowLinks===false){if(!b.freeMode&&d!==0)C.swipeReset();if(b.preventLinks){C.allowLinks=true}if(b.onSlideClick){C.allowSlideClick=true}}setTimeout(function(){if(b.preventLinks){C.allowLinks=true}if(b.onSlideClick){C.allowSlideClick=true}},100);var g=e();if(!C.isMoved&&b.freeMode){C.isMoved=false;if(b.onTouchEnd)C.fireCallback(b.onTouchEnd,C,a);C.callPlugins("onTouchEnd");return}if(!C.isMoved||C.positions.current>0||C.positions.current<-g){C.swipeReset();if(b.onTouchEnd)C.fireCallback(b.onTouchEnd,C,a);C.callPlugins("onTouchEnd");return}C.isMoved=false;if(b.freeMode){if(b.freeModeFluid){var h=1e3*b.momentumRatio;
8var i=C.velocity*h;var j=C.positions.current+i;var k=false;var l;var m=Math.abs(C.velocity)*20*b.momentumBounceRatio;if(j<-g){if(b.momentumBounce&&C.support.transitions){if(j+g<-m)j=-g-m;l=-g;k=true;Y=true}else j=-g}if(j>0){if(b.momentumBounce&&C.support.transitions){if(j>m)j=m;l=0;k=true;Y=true}else j=0}if(C.velocity!==0)h=Math.abs((j-C.positions.current)/C.velocity);C.setWrapperTranslate(j);C.setWrapperTransition(h);if(b.momentumBounce&&k){C.wrapperTransitionEnd(function(){if(!Y)return;if(b.onMomentumBounce)C.fireCallback(b.onMomentumBounce,C);C.callPlugins("onMomentumBounce");C.setWrapperTranslate(l);C.setWrapperTransition(300)})}C.updateActiveSlide(j)}if(!b.freeModeFluid||f>=300)C.updateActiveSlide(C.positions.current);if(b.onTouchEnd)C.fireCallback(b.onTouchEnd,C,a);C.callPlugins("onTouchEnd");return}G=c<0?"toNext":"toPrev";if(G==="toNext"&&f<=300){if(d<30||!b.shortSwipes)C.swipeReset();else C.swipeNext(true)}if(G==="toPrev"&&f<=300){if(d<30||!b.shortSwipes)C.swipeReset();else C.swipePrev(true)}var n=0;if(b.slidesPerView==="auto"){var o=Math.abs(C.getWrapperTranslate());var p=0;var q;for(var r=0;r<C.slides.length;r++){q=M?C.slides[r].getWidth(true,b.roundLengths):C.slides[r].getHeight(true,b.roundLengths);p+=q;if(p>o){n=q;break}}if(n>I)n=I}else{n=E*b.slidesPerView}if(G==="toNext"&&f>300){if(d>=n*b.longSwipesRatio){C.swipeNext(true)}else{C.swipeReset()}}if(G==="toPrev"&&f>300){if(d>=n*b.longSwipesRatio){C.swipePrev(true)}else{C.swipeReset()}}if(b.onTouchEnd)C.fireCallback(b.onTouchEnd,C,a);C.callPlugins("onTouchEnd")}function s(a){var c=false;do{if(a.className.indexOf(b.noSwipingClass)>-1){c=true}a=a.parentElement}while(!c&&a.parentElement&&a.className.indexOf(b.wrapperClass)===-1);if(!c&&a.className.indexOf(b.wrapperClass)>-1&&a.className.indexOf(b.noSwipingClass)>-1)c=true;return c}function t(a,b){var c=document.createElement("div");var d;c.innerHTML=b;d=c.firstChild;d.className+=" "+a;return d.outerHTML}function u(a,c,d){function e(){var f=+new Date;var l=f-g;h+=i*l/(1e3/60);k=j==="toNext"?h>a:h<a;if(k){C.setWrapperTranslate(Math.ceil(h));C._DOMAnimating=true;window.setTimeout(function(){e()},1e3/60)}else{if(b.onSlideChangeEnd){if(c==="to"){if(d.runCallbacks===true)C.fireCallback(b.onSlideChangeEnd,C)}else{C.fireCallback(b.onSlideChangeEnd,C)}}C.setWrapperTranslate(a);C._DOMAnimating=false}}var f=c==="to"&&d.speed>=0?d.speed:b.speed;var g=+new Date;if(C.support.transitions||!b.DOMAnimation){C.setWrapperTranslate(a);C.setWrapperTransition(f)}else{var h=C.getWrapperTranslate();var i=Math.ceil((a-h)/f*(1e3/60));var j=h>a?"toNext":"toPrev";var k=j==="toNext"?h>a:h<a;if(C._DOMAnimating)return;e()}C.updateActiveSlide(a);if(b.onSlideNext&&c==="next"){C.fireCallback(b.onSlideNext,C,a)}if(b.onSlidePrev&&c==="prev"){C.fireCallback(b.onSlidePrev,C,a)}if(b.onSlideReset&&c==="reset"){C.fireCallback(b.onSlideReset,C,a)}if(c==="next"||c==="prev"||c==="to"&&d.runCallbacks===true)v(c)}function v(a){C.callPlugins("onSlideChangeStart");if(b.onSlideChangeStart){if(b.queueStartCallbacks&&C.support.transitions){if(C._queueStartCallbacks)return;C._queueStartCallbacks=true;C.fireCallback(b.onSlideChangeStart,C,a);C.wrapperTransitionEnd(function(){C._queueStartCallbacks=false})}else C.fireCallback(b.onSlideChangeStart,C,a)}if(b.onSlideChangeEnd){if(C.support.transitions){if(b.queueEndCallbacks){if(C._queueEndCallbacks)return;C._queueEndCallbacks=true;C.wrapperTransitionEnd(function(c){C.fireCallback(b.onSlideChangeEnd,c,a)})}else{C.wrapperTransitionEnd(function(c){C.fireCallback(b.onSlideChangeEnd,c,a)})}}else{if(!b.DOMAnimation){setTimeout(function(){C.fireCallback(b.onSlideChangeEnd,C,a)},10)}}}}function w(){var a=C.paginationButtons;if(a){for(var b=0;b<a.length;b++){C.h.removeEventListener(a[b],"click",y)}}}function x(){var a=C.paginationButtons;if(a){for(var b=0;b<a.length;b++){C.h.addEventListener(a[b],"click",y)}}}function y(a){var b;var c=a.target||a.srcElement;var d=C.paginationButtons;for(var e=0;e<d.length;e++){if(c===d[e])b=e}C.swipeTo(b)}function z(){_=setTimeout(function(){if(b.loop){C.fixLoop();C.swipeNext(true)}else if(!C.swipeNext(true)){if(!b.autoplayStopOnLast)C.swipeTo(0);else{clearTimeout(_);_=undefined}}C.wrapperTransitionEnd(function(){if(typeof _!=="undefined")z()})},b.autoplay)}function A(){C.calcSlides();if(b.loader.slides.length>0&&C.slides.length===0){C.loadSlides()}if(b.loop){C.createLoop()}C.init();f();if(b.pagination){C.createPagination(true)}if(b.loop||b.initialSlide>0){C.swipeTo(b.initialSlide,0,false)}else{C.updateActiveSlide(0)}if(b.autoplay){C.startAutoplay()}C.centerIndex=C.activeIndex;if(b.onSwiperCreated)C.fireCallback(b.onSwiperCreated,C);C.callPlugins("onSwiperCreated")}if(document.body.__defineGetter__){if(HTMLElement){var B=HTMLElement.prototype;if(B.__defineGetter__){B.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}}}if(!window.getComputedStyle){window.getComputedStyle=function(a,b){this.el=a;this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;if(b==="float")b="styleFloat";if(c.test(b)){b=b.replace(c,function(){return arguments[2].toUpperCase()})}return a.currentStyle[b]?a.currentStyle[b]:null};return this}}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(a,b){for(var c=b||0,d=this.length;c<d;c++){if(this[c]===a){return c}}return-1}}if(!document.querySelectorAll){if(!window.jQuery)return}if(typeof a==="undefined")return;if(!a.nodeType){if(c(a).length===0)return}var C=this;C.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0};C.positions={start:0,abs:0,diff:0,current:0};C.times={start:0,end:0};C.id=(new Date).getTime();C.container=a.nodeType?a:c(a)[0];C.isTouched=false;C.isMoved=false;C.activeIndex=0;C.centerIndex=0;C.activeLoaderIndex=0;C.activeLoopIndex=0;C.previousIndex=null;C.velocity=0;C.snapGrid=[];C.slidesGrid=[];C.imagesToLoad=[];C.imagesLoaded=0;C.wrapperLeft=0;C.wrapperRight=0;C.wrapperTop=0;C.wrapperBottom=0;C.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var D,E,F,G,H,I;var J={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:false,freeModeFluid:false,momentumRatio:1,momentumBounce:true,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:true,simulateTouch:true,followFinger:true,shortSwipes:true,longSwipesRatio:.5,moveStartThreshold:false,onlyExternal:false,createPagination:true,pagination:false,paginationElement:"span",paginationClickable:false,paginationAsRange:true,resistance:true,scrollC
8ontainer:false,preventLinks:true,preventLinksPropagation:false,noSwiping:false,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:false,mousewheelControl:false,mousewheelControlForceToAxis:false,useCSS3Transforms:true,autoplay:false,autoplayDisableOnInteraction:true,autoplayStopOnLast:false,loop:false,loopAdditionalSlides:0,roundLengths:false,calculateHeight:false,cssWidthAndHeight:false,updateOnImagesReady:true,releaseFormElements:true,watchActiveIndex:false,visibilityFullFit:false,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:false,queueStartCallbacks:false,queueEndCallbacks:false,autoResize:true,resizeReInit:false,DOMAnimation:true,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:false},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"mk-swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};b=b||{};for(var K in J){if(K in b&&typeof b[K]==="object"){for(var L in J[K]){if
8(!(L in b[K])){b[K][L]=J[K][L]}}}else if(!(K in b)){b[K]=J[K]}}C.params=b;if(b.scrollContainer){b.freeMode=true;b.freeModeFluid=true}if(b.loop){b.resistance="100%"}var M=b.mode==="horizontal";var N=["mousedown","mousemove","mouseup"];if(C.browser.ie10)N=["MSPointerDown","MSPointerMove","MSPointerUp"];if(C.browser.ie11)N=["pointerdown","pointermove","pointerup"];C.touchEvents={touchStart:C.support.touch||!b.simulateTouch?"touchstart":N[0],touchMove:C.support.touch||!b.simulateTouch?"touchmove":N[1],touchEnd:C.support.touch||!b.simulateTouch?"touchend":N[2]};for(var O=C.container.childNodes.length-1;O>=0;O--){if(C.container.childNodes[O].className){var P=C.container.childNodes[O].className.split(/\s+/);for(var Q=0;Q<P.length;Q++){if(P[Q]===b.wrapperClass){D=C.container.childNodes[O]}}}}C.wrapper=D;C._extendSwiperSlide=function(a){a.append=function(){if(b.loop){a.insertAfter(C.slides.length-C.loopedSlides)}else{C.wrapper.appendChild(a);C.reInit()}return a};a.prepend=function(){if(b.loop){C.wrapper.insertBefore(a,C.slides[C.loopedSlides]);C.removeLoopedSlides();C.calcSlides();C.createLoop()}else{C.wrapper.insertBefore(a,C.wrapper.firstChild)}C.reInit();return a};a.insertAfter=function(c){if(typeof c==="undefined")return false;var d;if(b.loop){d=C.slides[c+1+C.loopedSlides];if(d){C.wrapper.insertBefore(a,d)}else{C.wrapper.appendChild(a)}C.removeLoopedSlides();C.calcSlides();C.createLoop()}else{d=C.slides[c+1];C.wrapper.insertBefore(a,d)}C.reInit();return a};a.clone=function(){return C._extendSwiperSlide(a.cloneNode(true))};a.remove=function(){C.wrapper.removeChild(a);C.reInit()};a.html=function(b){if(typeof b==="undefined"){return a.innerHTML}else{a.innerHTML=b;return a}};a.index=function(){var b;for(var c=C.slides.length-1;c>=0;c--){if(a===C.slides[c])b=c}return b};a.isActive=function(){if(a.index()===C.activeIndex)return true;else return false};if(!a.swiperSlideDataStorage)a.swiperSlideDataStorage={};a.getData=function(b){return a.swiperSlideDataStorage[b]};a.setData=function(b,c){a.swiperSlideDataStorage[b]=c;return a};a.data=function(b,c){if(typeof c==="undefined"){return a.getAttribute("data-"+b)}else{a.setAttribute("data-"+b,c);return a}};a.getWidth=function(b,c){return C.h.getWidth(a,b,c)};a.getHeight=function(b,c){return C.h.getHeight(a,b,c)};a.getOffset=function(){return C.h.getOffset(a)};return a};C.calcSlides=function(a){var c=C.slides?C.slides.length:false;C.slides=[];C.displaySlides=[];for(var d=0;d<C.wrapper.childNodes.length;d++){if(C.wrapper.childNodes[d].className){var e=C.wrapper.childNodes[d].className;var f=e.split(/\s+/);for(var i=0;i<f.length;i++){if(f[i]===b.slideClass){C.slides.push(C.wrapper.childNodes[d])}}}}for(d=C.slides.length-1;d>=0;d--){C._extendSwiperSlide(C.slides[d])}if(c===false)return;if(c!==C.slides.length||a){h();g();C.updateActiveSlide();if(C.params.pagination)C.createPagination();C.callPlugins("numberOfSlidesChanged")}};C.createSlide=function(a,c,d){c=c||C.params.slideClass;d=d||b.slideElement;var e=document.createElement(d);e.innerHTML=a||"";e.className=c;return C._extendSwiperSlide(e)};C.appendSlide=function(a,b,c){if(!a)return;if(a.nodeType){return C._extendSwiperSlide(a).append()}else{return C.createSlide(a,b,c).append()}};C.prependSlide=function(a,b,c){if(!a)return;if(a.nodeType){return C._extendSwiperSlide(a).prepend()}else{return C.createSlide(a,b,c).prepend()}};C.insertSlideAfter=function(a,b,c,d){if(typeof a==="undefined")return false;if(b.nodeType){return C._extendSwiperSlide(b).insertAfter(a)}else{return C.createSlide(b,c,d).insertAfter(a)}};C.removeSlide=function(a){if(C.slides[a]){if(b.loop){if(!C.slides[a+C.loopedSlides])return false;C.slides[a+C.loopedSlides].remove();C.removeLoopedSlides();C.calcSlides();C.createLoop()}else C.slides[a].remove();return true}else return false};C.removeLastSlide=function(){if(C.slides.length>0){if(b.loop){C.slides[C.slides.length-1-C.loopedSlides].remove();C.removeLoopedSlides();C.calcSlides();C.createLoop()}else C.slides[C.slides.length-1].remove();return true}else{return false}};C.removeAllSlides=function(){for(var a=C.slides.length-1;a>=0;a--){C.slides[a].remove()}};C.getSlide=function(a){return C.slides[a]};C.getLastSlide=function(){return C.slides[C.slides.length-1]};C.getFirstSlide=function(){return C.slides[0]};C.activeSlide=function(){return C.slides[C.activeIndex]};C.fireCallback=function(){var a=arguments[0];if(Object.prototype.toString.call(a)==="[object Array]"){for(var c=0;c<a.length;c++){if(typeof a[c]==="function"){a[c](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])}}}else if(Object.prototype.toString.call(a)==="[object String]"){if(b["on"+a])C.fireCallback(b["on"+a],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])}else{a(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])}};C.addCallback=function(a,b){var c=this,e;
8if(c.params["on"+a]){if(d(this.params["on"+a])){return this.params["on"+a].push(b)}else if(typeof this.params["on"+a]==="function"){e=this.params["on"+a];this.params["on"+a]=[];this.params["on"+a].push(e);return this.params["on"+a].push(b)}}else{this.params["on"+a]=[];return this.params["on"+a].push(b)}};C.removeCallbacks=function(a){if(C.params["on"+a]){C.params["on"+a]=null}};var R=[];for(var S in C.plugins){if(b[S]){var T=C.plugins[S](C,b[S]);if(T)R.push(T)}}C.callPlugins=function(a,b){if(!b)b={};for(var c=0;c<R.length;c++){if(a in R[c]){R[c][a](b)}}};if((C.browser.ie10||C.browser.ie11)&&!b.onlyExternal){C.wrapper.classList.add("swiper-wp8-"+(M?"horizontal":"vertical"))}if(b.freeMode){C.container.className+=" swiper-free-mode"}C.initialized=false;C.init=function(a,c){var d=C.h.getWidth(C.container,false,b.roundLengths);var e=C.h.getHeight(C.container,false,b.roundLengths);if(d===C.width&&e===C.height&&!a)return;C.width=d;C.height=e;var f,g,h,i,j,k;var l;I=M?d:e;var m=C.wrapper;if(a){C.calcSlides(c)}if(b.slidesPerView==="auto"){var n=0;var o=0;if(b.slidesOffset>0){m.style.paddingLeft="";m.style.paddingRight="";m.style.paddingTop="";m.style.paddingBottom=""}m.style.width="";m.style.height="";if(b.offsetPxBefore>0){if(M)C.wrapperLeft=b.offsetPxBefore;else C.wrapperTop=b.offsetPxBefore}if(b.offsetPxAfter>0){if(M)C.wrapperRight=b.offsetPxAfter;else C.wrapperBottom=b.offsetPxAfter}if(b.centeredSlides){if(M){C.wrapperLeft=(I-this.slides[0].getWidth(true,b.roundLengths))/2;C.wrapperRight=(I-C.slides[C.slides.length-1].getWidth(true,b.roundLengths))/2}else{C.wrapperTop=(I-C.slides[0].getHeight(true,b.roundLengths))/2;C.wrapperBottom=(I-C.slides[C.slides.length-1].getHeight(true,b.roundLengths))/2}}if(M){if(C.wrapperLeft>=0)m.style.paddingLeft=C.wrapperLeft+"px";if(C.wrapperRight>=0)m.style.paddingRight=C.wrapperRight+"px"}else{if(C.wrapperTop>=0)m.style.paddingTop=C.wrapperTop+"px";if(C.wrapperBottom>=0)m.style.paddingBottom=C.wrapperBottom+"px"}k=0;var p=0;C.snapGrid=[];C.slidesGrid=[];h=0;for(l=0;l<C.slides.length;l++){f=C.slides[l].getWidth(true,b.roundLengths);g=C.slides[l].getHeight(true,b.roundLengths);if(b.calculateHeight){h=Math.max(h,g)}var q=M?f:g;if(b.centeredSlides){var r=l===C.slides.length-1?0:C.slides[l+1].getWidth(true,b.roundLengths);var s=l===C.slides.length-1?0:C.slides[l+1].getHeight(true,b.roundLengths);var t=M?r:s;if(q>I){if(b.slidesPerViewFit){C.snapGrid.push(k+C.wrapperLeft);C.snapGrid.push(k+q-I+C.wrapperLeft)}else{for(var u=0;u<=Math.floor(q/(I+C.wrapperLeft));u++){if(u===0)C.snapGrid.push(k+C.wrapperLeft);else C.snapGrid.push(k+C.wrapperLeft+I*u)}}C.slidesGrid.push(k+C.wrapperLeft)}else{C.snapGrid.push(p);C.slidesGrid.push(p)}p+=q/2+t/2}else{if(q>I){if(b.slidesPerViewFit){C.snapGrid.push(k);C.snapGrid.push(k+q-I)}else{if(I!==0){for(var v=0;v<=Math.floor(q/I);v++){C.snapGrid.push(k+I*v)}}else{C.snapGrid.push(k)}}}else{C.snapGrid.push(k)}C.slidesGrid.push(k)}k+=q;n+=f;o+=g}if(b.calculateHeight)C.height=h;if(M){F=n+C.wrapperRight+C.wrapperLeft;m.style.width=n+"px";m.style.height=C.height+"px"}else{F=o+C.wrapperTop+C.wrapperBottom;m.style.width=C.width+"px";m.style.height=o+"px"}}else if(b.scrollContainer){m.style.width="";m.style.height="";i=C.slides[0].getWidth(true,b.roundLengths);j=C.slides[0].getHeight(true,b.roundLengths);F=M?i:j;m.style.width=i+"px";m.style.height=j+"px";E=M?i:j}else{if(b.calculateHeight){h=0;j=0;if(!M)C.container.style.height="";m.style.height="";for(l=0;l<C.slides.length;l++){C.slides[l].style.height="";h=Math.max(C.slides[l].getHeight(true),h);if(!M)j+=C.slides[l].getHeight(true)}g=h;C.height=g;if(M)j=g;else{I=g;C.container.style.height=I+"px"}}else{g=M?C.height:C.height/b.slidesPerView;if(b.roundLengths)g=Math.ceil(g);j=M?C.height:C.slides.length*g}f=M?C.width/b.slidesPerView:C.width;if(b.roundLengths)f=Math.ceil(f);i=M?C.slides.length*f:C.width;E=M?f:g;if(b.offsetSlidesBefore>0){if(M)C.wrapperLeft=E*b.offsetSlidesBefore;else C.wrapperTop=E*b.offsetSlidesBefore}if(b.offsetSlidesAfter>0){if(M)C.wrapperRight=E*b.offsetSlidesAfter;else C.wrapperBottom=E*b.offsetSlidesAfter}if(b.offsetPxBefore>0){if(M)C.wrapperLeft=b.offsetPxBefore;else C.wrapperTop=b.offsetPxBefore}if(b.offsetPxAfter>0){if(M)C.wrapperRight=b.offsetPxAfter;else C.wrapperBottom=b.offsetPxAfter}if(b.centeredSlides){if(M){C.wrapperLeft=(I-E)/2;C.wrapperRight=(I-E)/2}else{C.wrapperTop=(I-E)/2;C.wrapperBottom=(I-E)/2}}if(M){if(C.wrapperLeft>0)m.style.paddingLeft=C.wrapperLeft+"px";if(C.wrapperRight>0)m.style.paddingRight=C.wrapperRight+"px"}else{if(C.wrapperTop>0)m.style.paddingTop=C.wrapperTop+"px";if(C.wrapperBottom>0)m.style.paddingBottom=C.wrapperBottom+"px"}F=M?i+C.wrapperRight+C.wrapperLeft:j+C.wrapperTop+C.wrapperBottom;if(!b.cssWidthAndHeight){if(parseFloat(i)>0){m.style.width=i+"px"}if(parseFloat(j)>0){m.style.height=j+"px"}}k=0;C.snapGrid=[];C.slidesGrid=[];for(l=0;l<C.slides.length;l++){C.snapGrid.push(k);C.slidesGrid.push(k);k+=E;if(!b.cssWidthAndHeight){if(parseFloat(f)>0){C.slides[l].style.width=f+"px"}if(parseFloat(g)>0){C.slides[l].style.height=g+"px"}}}}if(!C.initialized){C.callPlugins("onFirstInit");if(b.onFirstInit)C.fireCallback(b.onFirstInit,C)}else{C.callPlugins("onInit");if(b.onInit)C.fireCallback(b.onInit,C)}C.initialized=true};C.reInit=function(a){C.init(true,a)};C.resizeFix=function(a){C.callPlugins("beforeResizeFix");C.init(b.resizeReInit||a);if(!b.freeMode){C.swipeTo(b.loop?C.activeLoopIndex:C.activeIndex,0,false);
8if(b.autoplay){if(C.support.transitions&&typeof _!=="undefined"){if(typeof _!=="undefined"){clearTimeout(_);_=undefined;C.startAutoplay()}}else{if(typeof aa!=="undefined"){clearInterval(aa);aa=undefined;C.startAutoplay()}}}}else if(C.getWrapperTranslate()<-e()){C.setWrapperTransition(0);C.setWrapperTranslate(-e())}C.callPlugins("afterResizeFix")};C.destroy=function(){var a=C.h.removeEventListener;var c=b.eventTarget==="wrapper"?C.wrapper:C.container;if(!(C.browser.ie10||C.browser.ie11)){if(C.support.touch){a(c,"touchstart",p);a(c,"touchmove",q);a(c,"touchend",r)}if(b.simulateTouch){a(c,"mousedown",p);a(document,"mousemove",q);a(document,"mouseup",r)}}else{a(c,C.touchEvents.touchStart,p);a(document,C.touchEvents.touchMove,q);a(document,C.touchEvents.touchEnd,r)}if(b.autoResize){a(window,"resize",C.resizeFix)}h();if(b.paginationClickable){w()}if(b.mousewheelControl&&C._wheelEvent){a(C.container,C._wheelEvent,j)}if(b.keyboardControl){a(document,"keydown",i)}if(b.autoplay){C.stopAutoplay()}C.callPlugins("onDestroy");C=null};C.disableKeyboardControl=function(){b.keyboardControl=false;C.h.removeEventListener(document,"keydown",i)};C.enableKeyboardControl=function(){b.keyboardControl=true;C.h.addEventListener(document,"keydown",i)};var U=(new Date).getTime();C.disableMousewheelControl=function(){if(!C._wheelEvent)return false;b.mousewheelControl=false;C.h.removeEventListener(C.container,C._wheelEvent,j);return true};C.enableMousewheelControl=function(){if(!C._wheelEvent)return false;b.mousewheelControl=true;C.h.addEventListener(C.container,C._wheelEvent,j);return true};if(b.grabCursor){var V=C.container.style;V.cursor="move";V.cursor="grab";V.cursor="-moz-grab";V.cursor="-webkit-grab"}C.allowSlideClick=true;C.allowLinks=true;var W=false;var X;var Y=true;var Z,$;C.swipeNext=function(a){if(!a&&b.loop)C.fixLoop();if(!a&&b.autoplay)C.stopAutoplay(true);C.callPlugins("onSwipeNext");var c=C.getWrapperTranslate();var d=c;if(b.slidesPerView==="auto"){for(var f=0;f<C.snapGrid.length;f++){if(-c>=C.snapGrid[f]&&-c<C.snapGrid[f+1]){d=-C.snapGrid[f+1];break}}}else{var g=E*b.slidesPerGroup;d=-(Math.floor(Math.abs(c)/Math.floor(g))*g+g)}if(d<-e()){d=-e()}if(d===c)return false;u(d,"next");return true};C.swipePrev=function(a){if(!a&&b.loop)C.fixLoop();if(!a&&b.autoplay)C.stopAutoplay(true);C.callPlugins("onSwipePrev");var c=Math.ceil(C.getWrapperTranslate());var d;if(b.slidesPerView==="auto"){d=0;for(var e=1;e<C.snapGrid.length;e++){if(-c===C.snapGrid[e]){d=-C.snapGrid[e-1];break}if(-c>C.snapGrid[e]&&-c<C.snapGrid[e+1]){d=-C.snapGrid[e];break}}}else{var f=E*b.slidesPerGroup;d=-(Math.ceil(-c/f)-1)*f}if(d>0)d=0;if(d===c)return false;u(d,"prev");return true};C.swipeReset=function(){C.callPlugins("onSwipeReset");var a=C.getWrapperTranslate();var c=E*b.slidesPerGroup;var d;var f=-e();if(b.slidesPerView==="auto"){d=0;for(var g=0;g<C.snapGrid.length;g++){if(-a===C.snapGrid[g])return;if(-a>=C.snapGrid[g]&&-a<C.snapGrid[g+1]){if(C.positions.diff>0)d=-C.snapGrid[g+1];else d=-C.snapGrid[g];break}}if(-a>=C.snapGrid[C.snapGrid.length-1])d=-C.snapGrid[C.snapGrid.length-1];if(a<=-e())d=-e()}else{d=a<0?Math.ceil(a/c)*c:0}if(b.scrollContainer){d=a<0?a:0}if(d<-e()){d=-e()}if(b.scrollContainer&&I>E){d=0}if(d===a)return false;u(d,"reset");return true};C.swipeTo=function(a,c,d){a=parseInt(a,10);C.callPlugins("onSwipeTo",{index:a,speed:c});if(b.loop)a=a+C.loopedSlides;var f=C.getWrapperTranslate();if(a>C.slides.length-1||a<0)return;var g;if(b.slidesPerView==="auto"){g=-C.slidesGrid[a]}else{g=-a*E}if(g<-e()){g=-e()}if(g===f)return false;d=d===false?false:true;u(g,"to",{index:a,speed:c,runCallbacks:d});return true};C._queueStartCallbacks=false;C._queueEndCallbacks=false;C.updateActiveSlide=function(a){if(!C.initialized)return;if(C.slides.length===0)return;C.previousIndex=C.activeIndex;if(typeof a==="undefined")a=C.getWrapperTranslate();if(a>0)a=0;var c;if(b.slidesPerView==="auto"){var d=0;C.activeIndex=C.slidesGrid.indexOf(-a);if(C.activeIndex<0){for(c=0;c<C.slidesGrid.length-1;c++){if(-a>C.slidesGrid[c]&&-a<C.slidesGrid[c+1]){break}}var e=Math.abs(C.slidesGrid[c]+a);var f=Math.abs(C.slidesGrid[c+1]+a);if(e<=f)C.activeIndex=c;else C.activeIndex=c+1}}else{C.activeIndex=Math[b.visibilityFullFit?"ceil":"round"](-a/E)}if(C.activeIndex===C.slides.length)C.activeIndex=C.slides.length-1;if(C.activeIndex<0)C.activeIndex=0;if(!C.slides[C.activeIndex])return;C.calcVisibleSlides(a);if(C.support.classList){var g;for(c=0;c<C.slides.length;c++){g=C.slides[c];g.classList.remove(b.slideActiveClass);if(C.visibleSlides.indexOf(g)>=0){g.classList.add(b.slideVisibleClass)}else{g.classList.remove(b.slideVisibleClass)}}C.slides[C.activeIndex].classList.add(b.slideActiveClass)}else{var h=new RegExp("\\s*"+b.slideActiveClass);var i=new RegExp("\\s*"+b.slideVisibleClass);for(c=0;c<C.slides.length;c++){C.slides[c].className=C.slides[c].className.replace(h,"").replace(i,"");if(C.visibleSlides.indexOf(C.slides[c])>=0){C.slides[c].className+=" "+b.slideVisibleClass}}C.slides[C.activeIndex].className+=" "+b.slideActiveClass}if(b.loop){var j=C.loopedSlides;C.activeLoopIndex=C.activeIndex-j;if(C.activeLoopIndex>=C.slides.length-j*2){C.activeLoopIndex=C.slides.length-j*2-C.activeLoopIndex}if(C.activeLoopIndex<0){C.activeLoopIndex=C.slides.length-j*2+C.activeLoopIndex}if(C.activeLoopIndex<0)C.activeLoopIndex=0}else{C.activeLoopIndex=C.activeIndex}if(b.pagination){C.updatePagination(a)}};
8C.createPagination=function(a){if(b.paginationClickable&&C.paginationButtons){w()}C.paginationContainer=b.pagination.nodeType?b.pagination:c(b.pagination)[0];if(b.createPagination){var d="";var e=C.slides.length;var f=e;if(b.loop)f-=C.loopedSlides*2;for(var g=0;g<f;g++){d+="<"+b.paginationElement+' class="'+b.paginationElementClass+'"></'+b.paginationElement+">"}C.paginationContainer.innerHTML=d}C.paginationButtons=c("."+b.paginationElementClass,C.paginationContainer);if(!a)C.updatePagination();C.callPlugins("onCreatePagination");if(b.paginationClickable){x()}};C.updatePagination=function(a){if(!b.pagination)return;if(C.slides.length<1)return;var d=c("."+b.paginationActiveClass,C.paginationContainer);if(!d)return;var e=C.paginationButtons;if(e.length===0)return;for(var f=0;f<e.length;f++){e[f].className=b.paginationElementClass}var g=b.loop?C.loopedSlides:0;if(b.paginationAsRange){if(!C.visibleSlides)C.calcVisibleSlides(a);var h=[];var i;for(i=0;i<C.visibleSlides.length;i++){var j=C.slides.indexOf(C.visibleSlides[i])-g;if(b.loop&&j<0){j=C.slides.length-C.loopedSlides*2+j}if(b.loop&&j>=C.slides.length-C.loopedSlides*2){j=C.slides.length-C.loopedSlides*2-j;j=Math.abs(j)}h.push(j)}for(i=0;i<h.length;i++){if(e[h[i]])e[h[i]].className+=" "+b.paginationVisibleClass}if(b.loop){if(e[C.activeLoopIndex]!==undefined){e[C.activeLoopIndex].className+=" "+b.paginationActiveClass}}else{e[C.activeIndex].className+=" "+b.paginationActiveClass}}else{if(b.loop){if(e[C.activeLoopIndex])e[C.activeLoopIndex].className+=" "+b.paginationActiveClass+" "+b.paginationVisibleClass}else{e[C.activeIndex].className+=" "+b.paginationActiveClass+" "+b.paginationVisibleClass}}};C.calcVisibleSlides=function(a){var c=[];var d=0,e=0,f=0;if(M&&C.wrapperLeft>0)a=a+C.wrapperLeft;if(!M&&C.wrapperTop>0)a=a+C.wrapperTop;for(var g=0;g<C.slides.length;g++){d+=e;if(b.slidesPerView==="auto")e=M?C.h.getWidth(C.slides[g],true,b.roundLengths):C.h.getHeight(C.slides[g],true,b.roundLengths);else e=E;f=d+e;var h=false;if(b.visibilityFullFit){if(d>=-a&&f<=-a+I)h=true;if(d<=-a&&f>=-a+I)h=true}else{if(f>-a&&f<=-a+I)h=true;if(d>=-a&&d<-a+I)h=true;if(d<-a&&f>-a+I)h=true}if(h)c.push(C.slides[g])}if(c.length===0)c=[C.slides[C.activeIndex]];C.visibleSlides=c};var _,aa;C.startAutoplay=function(){if(C.support.transitions){if(typeof _!=="undefined")return false;if(!b.autoplay)return;C.callPlugins("onAutoplayStart");if(b.onAutoplayStart)C.fireCallback(b.onAutoplayStart,C);z()}else{if(typeof aa!=="undefined")return false;if(!b.autoplay)return;C.callPlugins("onAutoplayStart");if(b.onAutoplayStart)C.fireCallback(b.onAutoplayStart,C);aa=setInterval(function(){if(b.loop){C.fixLoop();C.swipeNext(true)}else if(!C.swipeNext(true)){if(!b.autoplayStopOnLast)C.swipeTo(0);else{clearInterval(aa);aa=undefined}}},b.autoplay)}};C.stopAutoplay=function(a){if(C.support.transitions){if(!_)return;if(_)clearTimeout(_);_=undefined;if(a&&!b.autoplayDisableOnInteraction){C.wrapperTransitionEnd(function(){z()})}C.callPlugins("onAutoplayStop");if(b.onAutoplayStop)C.fireCallback(b.onAutoplayStop,C)}else{if(aa)clearInterval(aa);aa=undefined;C.callPlugins("onAutoplayStop");if(b.onAutoplayStop)C.fireCallback(b.onAutoplayStop,C)}};C.loopCreated=false;C.removeLoopedSlides=function(){if(C.loopCreated){for(var a=0;a<C.slides.length;a++){if(C.slides[a].getData("looped")===true)C.wrapper.removeChild(C.slides[a])}}};C.createLoop=function(){if(C.slides.length===0)return;if(b.slidesPerView==="auto"){C.loopedSlides=b.loopedSlides||1}else{C.loopedSlides=b.slidesPerView+b.loopAdditionalSlides}if(C.loopedSlides>C.slides.length){C.loopedSlides=C.slides.length}var a="",c="",d;var e="";var f=C.slides.length;var g=Math.floor(C.loopedSlides/f);var h=C.loopedSlides%f;for(d=0;d<g*f;d++){var i=d;if(d>=f){var j=Math.floor(d/f);i=d-f*j}e+=C.slides[i].outerHTML}for(d=0;d<h;d++){c+=t(b.slideDuplicateClass,C.slides[d].outerHTML)}for(d=f-h;d<f;d++){a+=t(b.slideDuplicateClass,C.slides[d].outerHTML)}var k=a+e+D.innerHTML+e+c;D.innerHTML=k;C.loopCreated=true;C.calcSlides();for(d=0;d<C.slides.length;d++){if(d<C.loopedSlides||d>=C.slides.length-C.loopedSlides)C.slides[d].setData("looped",true)}C.callPlugins("onCreateLoop")};C.fixLoop=function(){var a;if(C.activeIndex<C.loopedSlides){a=C.slides.length-C.loopedSlides*3+C.activeIndex;C.swipeTo(a,0,false)}else if(b.slidesPerView==="auto"&&C.activeIndex>=C.loopedSlides*2||C.activeIndex>C.slides.length-b.slidesPerView*2){a=-C.slides.length+C.activeIndex+C.loopedSlides;C.swipeTo(a,0,false)}};C.loadSlides=function(){var a="";C.activeLoaderIndex=0;var c=b.loader.slides;var d=b.loader.loadAllSlides?c.length:b.slidesPerView*(1+b.loader.surroundGroups);for(var e=0;e<d;e++){if(b.loader.slidesHTMLType==="outer")a+=c[e];else{a+="<"+b.slideElement+' class="'+b.slideClass+'" data-swiperindex="'+e+'">'+c[e]+"</"+b.slideElement+">"}}C.wrapper.innerHTML=a;C.calcSlides(true);if(!b.loader.loadAllSlides){C.wrapperTransitionEnd(C.reloadSlides,true)}};C.reloadSlides=function(){var a=b.loader.slides;var c=parseInt(C.activeSlide().data("swiperindex"),10);if(c<0||c>a.length-1)return;C.activeLoaderIndex=c;var d=Math.max(0,c-b.slidesPerView*b.loader.surroundGroups);var e=Math.min(c+b.slidesPerView*(1+b.loader.surroundGroups)-1,a.length-1);if(c>0){var f=-E*(c-d);C.setWrapperTranslate(f);C.setWrapperTransition(0)}var g;if(b.loader.logic==="reload"){C.wrapper.innerHTML="";var h="";for(g=d;g<=e;g++){h+=b.loader.slidesHTMLType==="outer"?a[g]:"<"+b.slideElement+' class="'+b.slideClass+'" data-swiperindex="'+g+'">'+a[g]+"</"+b.slideElement+">"}C.wrapper.innerHTML=h}else{var i=1e3;var j=0;for(g=0;g<C.slides.length;g++){var k=C.slides[g].data("swiperindex");if(k<d||k>e){C.wrapper.removeChild(C.slides[g])}else{i=Math.min(k,i);j=Math.max(k,j)}}for(g=d;g<=e;g++){var l;if(g<i){l=document.createElement(b.slideElement);l.className=b.slideClass;l.setAttribute("data-swiperindex",g);l.innerHTML=a[g];C.wrapper.insertBefore(l,C.wrapper.firstChild)}if(g>j){l=document.createElement(b.slideElement);l.className=b.slideClass;l.setAttribute("data-swiperindex",g);l.innerHTML=a[g];C.wrapper.appendChild(l)}}}C.reInit(true)};A()};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(a,b){"use strict";function c(){a(d);if(d.params.queueEndCallbacks)d._queueEndCallbacks=false;if(!b){
9for(g=0;g<f.length;g++){d.h.removeEventListener(e,f[g],c)}}}var d=this,e=d.wrapper,f=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],g;if(a){for(g=0;g<f.length;g++){d.h.addEventListener(e,f[g],c)}}},getWrapperTranslate:function(a){"use strict";var b=this.wrapper,c,d,e,f;if(typeof a==="undefined"){a=this.params.mode==="horizontal"?"x":"y"}if(this.support.transforms&&this.params.useCSS3Transforms){e=window.getComputedStyle(b,null);if(window.WebKitCSSMatrix){f=new WebKitCSSMatrix(e.webkitTransform==="none"?"":e.webkitTransform)}else{f=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,");c=f.toString().split(",")}if(a==="x"){if(window.WebKitCSSMatrix)d=f.m41;else if(c.length===16)d=parseFloat(c[12]);else d=parseFloat(c[4])}if(a==="y"){if(window.WebKitCSSMatrix)d=f.m42;else if(c.length===16)d=parseFloat(c[13]);else d=parseFloat(c[5])}}else{if(a==="x")d=parseFloat(b.style.left,10)||0;if(a==="y")d=parseFloat(b.style.top,10)||0}return d||0},setWrapperTranslate:function(a,b,c){"use strict";var d=this.wrapper.style,e={x:0,y:0,z:0},f;if(arguments.length===3){e.x=a;e.y=b;e.z=c}else{if(typeof b==="undefined"){b=this.params.mode==="horizontal"?"x":"y"}e[b]=a}if(this.support.transforms&&this.params.useCSS3Transforms){f=this.support.transforms3d?"translate3d("+e.x+"px, "+e.y+"px, "+e.z+"px)":"translate("+e.x+"px, "+e.y+"px)";d.webkitTransform=d.MsTransform=d.msTransform=d.MozTransform=d.OTransform=d.transform=f}else{d.left=e.x+"px";d.top=e.y+"px"}this.callPlugins("onSetWrapperTransform",e);if(this.params.onSetWrapperTransform)this.fireCallback(this.params.onSetWrapperTransform,this,e)},setWrapperTransition:function(a){"use strict";var b=this.wrapper.style;b.webkitTransitionDuration=b.MsTransitionDuration=b.msTransitionDuration=b.MozTransitionDuration=b.OTransitionDuration=b.transitionDuration=a/1e3+"s";this.callPlugins("onSetWrapperTransition",{duration:a});if(this.params.onSetWrapperTransition)this.fireCallback(this.params.onSetWrapperTransition,this,a)},h:{getWidth:function(a,b,c){"use strict";var d=window.getComputedStyle(a,null).getPropertyValue("width");var e=parseFloat(d);if(isNaN(e)||d.indexOf("%")>0||e<0){e=a.offsetWidth-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-right"))}if(b)e+=parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-right"));if(c)return Math.ceil(e);else return e},getHeight:function(a,b,c){"use strict";if(b)return a.offsetHeight;var d=window.getComputedStyle(a,null).getPropertyValue("height");var e=parseFloat(d);if(isNaN(e)||d.indexOf("%")>0||e<0){e=a.offsetHeight-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-bottom"))}if(b)e+=parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-bottom"));if(c)return Math.ceil(e);else return e},getOffset:function(a){"use strict";var b=a.getBoundingClientRect();var c=document.body;var d=a.clientTop||c.clientTop||0;var e=a.clientLeft||c.clientLeft||0;var f=window.pageYOffset||a.scrollTop;var g=window.pageXOffset||a.scrollLeft;if(document.documentElement&&!window.pageYOffset){f=document.documentElement.scrollTop;
9g=document.documentElement.scrollLeft}return{top:b.top+f-d,left:b.left+g-e}},windowWidth:function(){"use strict";if(window.innerWidth)return window.innerWidth;else if(document.documentElement&&document.documentElement.clientWidth)return document.documentElement.clientWidth},windowHeight:function(){"use strict";if(window.innerHeight)return window.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)return document.documentElement.clientHeight},windowScroll:function(){"use strict";if(typeof pageYOffset!=="undefined"){return{left:window.pageXOffset,top:window.pageYOffset}}else if(document.documentElement){return{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}}},addEventListener:function(a,b,c,d){"use strict";if(typeof d==="undefined"){d=false}if(a.addEventListener){a.addEventListener(b,c,d)}else if(a.attachEvent){a.attachEvent("on"+b,c)}},removeEventListener:function(a,b,c,d){"use strict";if(typeof d==="undefined"){d=false}if(a.removeEventListener){a.removeEventListener(b,c,d)}else if(a.detachEvent){a.detachEvent("on"+b,c)}}},setTransform:function(a,b){"use strict";var c=a.style;c.webkitTransform=c.MsTransform=c.msTransform=c.MozTransform=c.OTransform=c.transform=b},setTranslate:function(a,b){"use strict";var c=a.style;var d={x:b.x||0,y:b.y||0,z:b.z||0};var e=this.support.transforms3d?"translate3d("+d.x+"px,"+d.y+"px,"+d.z+"px)":"translate("+d.x+"px,"+d.y+"px)";c.webkitTransform=c.MsTransform=c.msTransform=c.MozTransform=c.OTransform=c.transform=e;if(!this.support.transforms){c.left=d.x+"px";c.top=d.y+"px"}},setTransition:function(a,b){"use strict";var c=a.style;c.webkitTransitionDuration=c.MsTransitionDuration=c.msTransitionDuration=c.MozTransitionDuration=c.OTransitionDuration=c.transitionDuration=b+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===true||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===true||function(){"use strict";var a=document.createElement("div").style;return"webkitPerspective"in a||"MozPerspective"in a||"OPerspective"in a||"MsPerspective"in a||"perspective"in a}(),transforms:window.Modernizr&&Modernizr.csstransforms===true||function(){"use strict";var a=document.createElement("div").style;return"transform"in a||"WebkitTransform"in a||"MozTransform"in a||"msTransform"in a||"MsTransform"in a||"OTransform"in a}(),transitions:window.Modernizr&&Modernizr.csstransitions===true||function(){"use strict";var a=document.createElement("div").style;return"transition"in a||"WebkitTransition"in a||"MozTransition"in a||"msTransition"in a||"MsTransition"in a||"OTransition"in a}(),classList:function(){"use strict";var a=document.createElement("div").style;return"classList"in a}()},browser:{ie8:function(){"use strict";var a=-1;if(navigator.appName==="Microsoft Internet Explorer"){var b=navigator.userAgent;var c=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/);if(c.exec(b)!==null)a=parseFloat(RegExp.$1)}return a!==-1&&a<9}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}};if(window.jQuery||window.Zepto){(function(a){"use strict";a.fn.swiper=function(b){var c=new Swiper(a(this)[0],b);a(this).data("swiper",c);return c}})(window.jQuery||window.Zepto)}if(typeof module!=="undefined"){module.exports=Swiper}if(typeof define==="function"&&define.amd){define([],function(){"use strict";return Swiper})}Swiper.prototype.plugins.progress=function(a,b){"use strict";var c=a.params.mode==="horizontal";var d;function e(){for(var b=0;b<a.slides.length;b++){var e=a.slides[b];e.progressSlideSize=c?a.h.getWidth(e):a.h.getHeight(e);if("offsetLeft"in e){e.progressSlideOffset=c?e.offsetLeft:e.offsetTop}else{e.progressSlideOffset=c?e.getOffset().left-a.h.getOffset(a.container).left:e.getOffset().top-a.h.getOffset(a.container).top}}if(c){d=a.h.getWidth(a.wrapper)+a.wrapperLeft+a.wrapperRight-a.width}else{d=a.h.getHeight(a.wrapper)+a.wrapperTop+a.wrapperBottom-a.height}}function f(b){b=b||{x:0,y:0,z:0};var e;if(a.params.centeredSlides===true)e=c?-b.x+a.width/2:-b.y+a.height/2;else e=c?-b.x:-b.y;for(var f=0;f<a.slides.length;f++){var g=a.slides[f];var h=a.params.centeredSlides===true?g.progressSlideSize/2:0;var i=(e-g.progressSlideOffset-h)/g.progressSlideSize;g.progress=i}a.progress=c?-b.x/d:-b.y/d;if(a.params.onProgressChange)a.fireCallback(a.params.onProgressChange,a)}return{onFirstInit:function(b){e();f({x:a.getWrapperTranslate("x"),y:a.getWrapperTranslate("y")})},onInit:function(a){e()},onSetWrapperTransform:function(a){f(a)}}};(function(a){a.prototype.plugins.hashNav=function(a,b){"use strict";var c=a.params.mode==="horizontal";if(!b)return;function d(b){document.location.hash=a.activeSlide().getAttribute("data-hash")||""}function e(b){var c=document.location.hash.replace("#","");if(!c)return;var d=b?a.params.speed:0;for(var e=0,f=a.slides.length;e<f;e++){var g=a.slides[e];var h=g.getAttribute("data-hash");if(h===c&&g.getData("looped")!==true){var i=g.index();if(a.params.loop)i=i-a.loopedSlides;a.swipeTo(i,d)}}}return{onSwiperCreated:function(a){e()},onSlideChangeStart:function(){d(true)},onSwipeReset:function(){d(true)}}}})(Swiper);jQuery(document).ready(function(){jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b+c;return-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b+c;return d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b+c;return-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b*b+c;return d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){if(b==0)return c;if(b==e)return c+d;if((b/=e/2)<1)return d/2*Math.pow(2,10*(b-1))+c;return d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){if((b/=e/2)<1)return-d/2*(Math.sqrt(1-b*b)-1)+c;return d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e)==1)return c+d;if(!g)g=e*.3;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*(2*Math.PI)/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e)==1)return c+d;if(!g)g=e*.3;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*(2*Math.PI)/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e/2)==2)return c+d;if(!g)g=e*(.3*1.5);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);if(b<1)return-.5*(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*(2*Math.PI)/g))+c;return h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*(2*Math.PI)/g)*.5+d+c},easeInBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;return d*(b/=e)*b*((f+1)*b-f)+c},easeOutBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;return d*((b=b/e-1)*b*((f+1)*b+f)+1)+c},easeInOutBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;if((b/=e/2)<1)return d/2*(b*b*(((f*=1.525)+1)*b-f))+c;return d/2*((b-=2)*b*(((f*=1.525)+1)*b+f)+2)+c},easeInBounce:function(a,b,c,d,e){return d-jQuery.easing.easeOutBounce(a,e-b,0,d,e)+c}
9,easeOutBounce:function(a,b,c,d,e){if((b/=e)<1/2.75){return d*(7.5625*b*b)+c}else if(b<2/2.75){return d*(7.5625*(b-=1.5/2.75)*b+.75)+c}else if(b<2.5/2.75){return d*(7.5625*(b-=2.25/2.75)*b+.9375)+c}else{return d*(7.5625*(b-=2.625/2.75)*b+.984375)+c}},easeInOutBounce:function(a,b,c,d,e){if(b<e/2)return jQuery.easing.easeInBounce(a,b*2,0,d,e)*.5+c;return jQuery.easing.easeOutBounce(a,b*2-e,0,d,e)*.5+d*.5+c}})});(function(a,b,c,d){var e="MegaMenu",f={propertyName:"value"};var g=250;var h=[];function i(b,c){this.element=b;this.options=a.extend({},f,c);this._defaults=f;this._name=e;this.init(b)}i.prototype={isOpen:false,timeout:null,init:function(b){var c=this;var d=a(b).attr("id");a("#"+d).each(function(b,d){c.node=d;c.addListeners(d);a(d).addClass("dropdownJavascript");h.push(d);a(d).find("ul > li").each(function(b,c){if(a(c).find("ul").length>0){a(c).addClass("with-menu")}})})},addListeners:function(b){var c=this;a(b).mouseover(function(a){c.handleMouseOver.call(c,a)}).mouseout(function(a){c.handleMouseOut.call(c,a)})},handleMouseOver:function(a){var b=this;this.clearTimeout();var c=a.target||a.srcElement;while(c.nodeName!="LI"&&c!=this.node){c=c.parentNode}if(c.nodeName=="LI"){this.toOpen=c;this.timeout=setTimeout(function(){b.open.call(b)},this.options.delay)}},handleMouseOut:function(){var a=this;this.clearTimeout();this.timeout=setTimeout(function(){a.close.call(a)},this.options.delay)},clearTimeout:function(){if(this.timeout){clearTimeout(this.timeout);this.timeout=null}},open:function(){var d=this;this.isOpen=true;var e=a(this.toOpen).parent().children("li");a(e).each(function(e,f){a(f).find("ul").each(function(e,g){if(f!=d.toOpen){a(f).removeClass("dropdownOpen");d.close(f)}else if(!a(f).hasClass("dropdownOpen")){a(f).addClass("dropdownOpen");var h=0;var i=g;while(i){h+=Math.abs(i.offsetLeft);i=i.offsetParent}var j=h+g.offsetWidth;var k=a(g).outerHeight();var l=a(g).offset().top-a(b).scrollTop();var m=k+l;
9var n=b.innerHeight;a(f).removeClass("dropdownRightToLeft");if(h<0)a(f).addClass("dropdownLeftToRight");if(j>c.body.clientWidth){a(f).addClass("dropdownRightToLeft")}}})})},close:function(b){if(!b){this.isOpen=false;b=this.node}a(b).find("li").each(function(b,c){a(c).removeClass("dropdownOpen")})}};a.fn[e]=function(b){return this.each(function(){if(!a.data(this,"plugin_"+e)){a.data(this,"plugin_"+e,new i(this,b))}})}})(jQuery,window,document);(function(a,b,c){"use strict";var d=b.Modernizr,e=a("body");a.DLMenu=function(b,c){this.$el=a(c);this._init(b)};a.DLMenu.defaults={animationClasses:{classin:"mk-vm-animate-in-"+a("body").attr("data-vm-anim"),classout:"mk-vm-animate-out-"+a("body").attr("data-vm-anim")},onLevelClick:function(a,b){return false},onLinkClick:function(a,b){return false}};a.DLMenu.prototype={_init:function(b){this.options=a.extend(true,{},a.DLMenu.defaults,b);this._config();var c={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd",animation:"animationend"},e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"};this.animEndEventName=c[d.prefixed("animation")]+".dlmenu";this.transEndEventName=e[d.prefixed("transition")]+".dlmenu",this.supportAnimations=d.cssanimations,this.supportTransitions=d.csstransitions;this._initEvents()},_config:function(){this.open=false;var b=a("body").attr("data-backText");this.$trigger=this.$el.children(".mk-vm-trigger");this.$menu=this.$el.children("ul.mk-vm-menu");this.$menuitems=this.$menu.find("li:not(.mk-vm-back)");this.$el.find("ul.sub-menu").prepend('<li class="mk-vm-back"><a href="#">'+b+"</a></li>");this.$back=this.$menu.find("li.mk-vm-back")},_initEvents:function(){var b=this;this.$trigger.on("click.dlmenu",function(){if(b.open){b._closeMenu()}else{b._openMenu()}return false});this.$menuitems.on("click.dlmenu",function(c){c.stopPropagation();var d=a(this),e=d.children("ul.sub-menu");if(e.length>0){var f=e.clone().css("opacity",0).insertAfter(b.$menu),g=function(){b.$menu.off(b.animEndEventName).removeClass(b.options.animationClasses.classout).addClass("mk-vm-subview");d.addClass("mk-vm-subviewopen").parents(".mk-vm-subviewopen:first").removeClass("mk-vm-subviewopen").addClass("mk-vm-subview");f.remove()};setTimeout(function(){f.addClass(b.options.animationClasses.classin);b.$menu.addClass(b.options.animationClasses.classout);if(b.supportAnimations){b.$menu.on(b.animEndEventName,g)}else{g.call()}b.options.onLevelClick(d,d.children("a:first").text())});return false}else{b.options.onLinkClick(d,c)}});this.$back.on("click.dlmenu",function(c){var d=a(this),e=d.parents("ul.sub-menu:first"),f=e.parent(),g=e.clone().insertAfter(b.$menu);var h=function(){b.$menu.off(b.animEndEventName).removeClass(b.options.animationClasses.classin);g.remove()};setTimeout(function(){g.addClass(b.options.animationClasses.classout);b.$menu.addClass(b.options.animationClasses.classin);if(b.supportAnimations){b.$menu.on(b.animEndEventName,h)}else{h.call()}f.removeClass("mk-vm-subviewopen");var a=d.parents(".mk-vm-subview:first");if(a.is("li")){a.addClass("mk-vm-subviewopen")}a.removeClass("mk-vm-subview")});return false})},closeMenu:function(){if(this.open){this._closeMenu()}},_closeMenu:function(){var a=this,b=function(){a.$menu.off(a.transEndEventName);a._resetMenu()};this.$menu.removeClass("mk-vm-menuopen");this.$menu.addClass("mk-vm-menu-toggle");this.$trigger.removeClass("mk-vm-active");if(this.supportTransitions){this.$menu.on(this.transEndEventName,b)}else{b.call()}this.open=false},openMenu:function(){if(!this.open){this._openMenu()}},_openMenu:function(){var b=this;e.off("click").on("click.dlmenu",function(){b._closeMenu()});this.$menu.addClass("mk-vm-menuopen mk-vm-menu-toggle").on(this.transEndEventName,function(){a(this).removeClass("mk-vm-menu-toggle")});this.$trigger.addClass("mk-vm-active");this.open=true},_resetMenu:function(){this.$menu.removeClass("mk-vm-subview");this.$menuitems.removeClass("mk-vm-subview mk-vm-subviewopen")}};
9var f=function(a){if(b.console){b.console.error(a)}};a.fn.dlmenu=function(b){if(typeof b==="string"){var c=Array.prototype.slice.call(arguments,1);this.each(function(){var d=a.data(this,"dlmenu");if(!d){f("cannot call methods on dlmenu prior to initialization; "+"attempted to call method '"+b+"'");return}if(!a.isFunction(d[b])||b.charAt(0)==="_"){f("no such method '"+b+"' for dlmenu instance");return}d[b].apply(d,c)})}else{this.each(function(){var c=a.data(this,"dlmenu");if(c){c._init()}else{c=a.data(this,"dlmenu",new a.DLMenu(b,this))}})}return this}})(jQuery,window);(function(a,b,c,d){var e="sectiontrans",f={effect:"fade"};function g(b,c){this.element=b;this.options=a.extend({},f,c);this._defaults=f;this._name=e;this.effectClassName="intro-effect-"+this.options.effect;this.init()}g.prototype={init:function(){var c=this.scrollY();this.noscroll=c===0;this.disable_scroll();a(this.element).addClass(this.effectClassName);if(c){this.isRevealed=true;a(this.element).addClass("notrans");a(this.element).addClass("modify")}var d=this;b.addEventListener("scroll",function(a){d.scrollPage.call(d,a)})},keys:[32,37,38,39,40],docElem:b.document.documentElement,scrollVal:0,isRevealed:false,noscroll:false,isAnimating:false,trigger:a("button.trigger"),preventDefault:function(a){a=a||b.event;if(a.preventDefault)a.preventDefault();a.returnValue=false},ie:function(){var a,c=-1;var d=b.navigator.userAgent;var e=d.indexOf("MSIE ");var f=d.indexOf("Trident/");if(e>0){c=parseInt(d.substring(e+5,d.indexOf(".",e)),10)}else if(f>0){var g=d.indexOf("rv:");c=parseInt(d.substring(g+3,d.indexOf(".",g)),10)}return c>-1?c:a}(),wheel:function(a){if(!this.scrollY()&&!this.isAnimating){if(a.wheelDelta>0&&this.isRevealed)this.toggle(0);else if(a.wheelDelta<=0&&!this.isRevealed)this.toggle(1)}a.preventDefault()},disable_scroll:function(){b.onmousewheel=c.onmousewheel=this.wheel.bind(this)},enable_scroll:function(){b.onmousewheel=c.onmousewheel=c.onkeydown=c.body.ontouchmove=null},scrollY:function(){return b.pageYOffset||this.docElem.scrollTop},scrollPage:function(){this.scrollVal=this.scrollY();if(this.noscroll){if(this.scrollVal<0)return false;b.scrollTo(0,0)}if(a(this.element).hasClass("notrans")){a(this.element).removeClass("notrans");return false}if(this.isAnimating){return false}if(this.scrollVal<=0&&this.isRevealed){this.toggle(0)}else if(this.scrollVal>0&&!this.isRevealed){this.toggle(1)}},toggle:function(b){this.isAnimating=true;if(b){a(this.element).addClass("mk-intro-triggered");a("."+this.effectClassName).next().next().addClass("mk-intro-triggered"+" "+"page-effect-"+this.options.effect);a("body").addClass("mk-intro-triggered").trigger("page_intro")}else{this.noscroll=true;this.disable_scroll();a(this.element).removeClass("mk-intro-triggered");a("."+this.effectClassName).next().next().removeClass("mk-intro-triggered"+" "+"page-effect-"+this.options.effect);a("body").removeClass("mk-intro-triggered").trigger("page_outro")}var c=this;setTimeout(function(){c.isRevealed=!c.isRevealed;c.isAnimating=false;if(b){c.noscroll=false;c.enable_scroll()}},1200)}};a.fn[e]=function(b){return this.each(function(){if(!a.data(this,"plugin_"+e)){a.data(this,"plugin_"+e,new g(this,b))}})}})(jQuery,window,document);(function(a,b,c){"use strict";var d="Parallax";var e=30;var f={relativeInput:false,clipRelativeInput:false,calibrationThreshold:100,calibrationDelay:500,supportDelay:500,calibrateX:false,calibrateY:true,invertX:true,invertY:true,limitX:false,limitY:false,scalarX:10,scalarY:10,frictionX:.1,frictionY:.1,originX:.5,originY:.5};function g(a,b){this.element=a;this.layers=a.getElementsByClassName("layer");var c={calibrateX:this.data(this.element,"calibrate-x"),calibrateY:this.data(this.element,"calibrate-y"),invertX:this.data(this.element,"invert-x"),invertY:this.data(this.element,"invert-y"),limitX:this.data(this.element,"limit-x"),limitY:this.data(this.element,"limit-y"),scalarX:this.data(this.element,"scalar-x"),scalarY:this.data(this.element,"scalar-y"),frictionX:this.data(this.element,"friction-x"),frictionY:this.data(this.element,"friction-y"),originX:this.data(this.element,"origin-x"),originY:this.data(this.element,"origin-y")};for(var d in c){if(c[d]===null)delete c[d]}this.extend(this,f,b,c);this.calibrationTimer=null;this.calibrationFlag=true;this.enabled=false;this.depths=[];this.raf=null;this.bounds=null;this.ex=0;this.ey=0;this.ew=0;this.eh=0;this.ecx=0;this.ecy=0;this.erx=0;this.ery=0;this.cx=0;this.cy=0;this.ix=0;this.iy=0;this.mx=0;this.my=0;this.vx=0;this.vy=0;this.onMouseMove=this.onMouseMove.bind(this);this.onDeviceOrientation=this.onDeviceOrientation.bind(this);this.onOrientationTimer=this.onOrientationTimer.bind(this);this.onCalibrationTimer=this.onCalibrationTimer.bind(this);this.onAnimationFrame=this.onAnimationFrame.bind(this);this.onWindowResize=this.onWindowResize.bind(this);this.initialise()}g.prototype.extend=function(){if(arguments.length>1){var a=arguments[0];for(var b=1,c=arguments.length;b<c;b++){var d=arguments[b];for(var e in d){a[e]=d[e]}}}};g.prototype.data=function(a,b){return this.deserialize(a.getAttribute("data-"+b))};
9g.prototype.deserialize=function(a){if(a==="true"){return true}else if(a==="false"){return false}else if(a==="null"){return null}else if(!isNaN(parseFloat(a))&&isFinite(a)){return parseFloat(a)}else{return a}};g.prototype.camelCase=function(a){return a.replace(/-+(.)?/g,function(a,b){return b?b.toUpperCase():""})};g.prototype.transformSupport=function(d){var e=b.createElement("div");var f=false;var g=null;var h=false;var i=null;var j=null;for(var k=0,l=this.vendors.length;k<l;k++){if(this.vendors[k]!==null){i=this.vendors[k][0]+"transform";j=this.vendors[k][1]+"Transform"}else{i="transform";j="transform"}if(e.style[j]!==c){f=true;break}}switch(d){case"2D":h=f;break;case"3D":if(f){var m=b.body||b.createElement("body");var n=b.documentElement;var o=n.style.overflow;if(!b.body){n.style.overflow="hidden";n.appendChild(m);m.style.overflow="hidden";m.style.background=""}m.appendChild(e);e.style[j]="translate3d(1px,1px,1px)";g=a.getComputedStyle(e).getPropertyValue(i);h=g!==c&&g.length>0&&g!=="none";n.style.overflow=o;m.removeChild(e)}break}return h};g.prototype.ww=null;g.prototype.wh=null;g.prototype.wcx=null;g.prototype.wcy=null;g.prototype.wrx=null;g.prototype.wry=null;g.prototype.portrait=null;g.prototype.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i);g.prototype.vendors=[null,["-webkit-","webkit"],["-moz-","Moz"],["-o-","O"],["-ms-","ms"]];g.prototype.motionSupport=!!a.DeviceMotionEvent;g.prototype.orientationSupport=!!a.DeviceOrientationEvent;g.prototype.orientationStatus=0;g.prototype.transform2DSupport=g.prototype.transformSupport("2D");g.prototype.transform3DSupport=g.prototype.transformSupport("3D");g.prototype.propertyCache={};g.prototype.initialise=function(){if(this.transform3DSupport)this.accelerate(this.element);var b=a.getComputedStyle(this.element);if(b.getPropertyValue("position")==="static"){this.element.style.position="relative"}this.updateLayers();this.updateDimensions();this.enable();this.queueCalibration(this.calibrationDelay)};g.prototype.updateLayers=function(){this.layers=this.element.getElementsByClassName("layer");this.depths=[];for(var a=0,b=this.layers.length;a<b;a++){var c=this.layers[a];if(this.transform3DSupport)this.accelerate(c);c.style.position=a?"absolute":"relative";c.style.display="block";c.style.left=0;c.style.top=0;this.depths.push(this.data(c,"depth")||0)}};g.prototype.updateDimensions=function(){this.ww=a.innerWidth;this.wh=a.innerHeight;this.wcx=this.ww*this.originX;this.wcy=this.wh*this.originY;this.wrx=Math.max(this.wcx,this.ww-this.wcx);this.wry=Math.max(this.wcy,this.wh-this.wcy)};g.prototype.updateBounds=function(){this.bounds=this.element.getBoundingClientRect();this.ex=this.bounds.left;this.ey=this.bounds.top;this.ew=this.bounds.width;this.eh=this.bounds.height;this.ecx=this.ew*this.originX;this.ecy=this.eh*this.originY;this.erx=Math.max(this.ecx,this.ew-this.ecx);this.ery=Math.max(this.ecy,this.eh-this.ecy)};g.prototype.queueCalibration=function(a){clearTimeout(this.calibrationTimer);this.calibrationTimer=setTimeout(this.onCalibrationTimer,a)};g.prototype.enable=function(){if(!this.enabled){this.enabled=true;if(this.orientationSupport){this.portrait=null;a.addEventListener("deviceorientation",this.onDeviceOrientation);setTimeout(this.onOrientationTimer,this.supportDelay)}else{this.cx=0;this.cy=0;this.portrait=false;a.addEventListener("mousemove",this.onMouseMove)}a.addEventListener("resize",this.onWindowResize);this.raf=requestAnimationFrame(this.onAnimationFrame)}};g.prototype.disable=function(){if(this.enabled){this.enabled=false;if(this.orientationSupport){a.removeEventListener("deviceorientation",this.onDeviceOrientation)}else{a.removeEventListener("mousemove",this.onMouseMove)}a.removeEventListener("resize",this.onWindowResize);cancelAnimationFrame(this.raf)}};g.prototype.calibrate=function(a,b){this.calibrateX=a===c?this.calibrateX:a;this.calibrateY=b===c?this.calibrateY:b};g.prototype.invert=function(a,b){this.invertX=a===c?this.invertX:a;this.invertY=b===c?this.invertY:b};g.prototype.friction=function(a,b){this.frictionX=a===c?this.frictionX:a;this.frictionY=b===c?this.frictionY:b};g.prototype.scalar=function(a,b){this.scalarX=a===c?this.scalarX:a;this.scalarY=b===c?this.scalarY:b};g.prototype.limit=function(a,b){this.limitX=a===c?this.limitX:a;this.limitY=b===c?this.limitY:b};g.prototype.origin=function(a,b){this.originX=a===c?this.originX:a;this.originY=b===c?this.originY:b};g.prototype.clamp=function(a,b,c){a=Math.max(a,b);
9a=Math.min(a,c);return a};g.prototype.css=function(a,b,d){var e=this.propertyCache[b];if(!e){for(var f=0,g=this.vendors.length;f<g;f++){if(this.vendors[f]!==null){e=this.camelCase(this.vendors[f][1]+"-"+b)}else{e=b}if(a.style[e]!==c){this.propertyCache[b]=e;break}}}a.style[e]=d};g.prototype.accelerate=function(a){this.css(a,"transform","translate3d(0,0,0)");this.css(a,"transform-style","preserve-3d");this.css(a,"backface-visibility","hidden")};g.prototype.setPosition=function(a,b,c){b+="px";c+="px";if(this.transform3DSupport){this.css(a,"transform","translate3d("+b+","+c+",0)")}else if(this.transform2DSupport){this.css(a,"transform","translate("+b+","+c+")")}else{a.style.left=b;a.style.top=c}};g.prototype.onOrientationTimer=function(a){if(this.orientationSupport&&this.orientationStatus===0){this.disable();this.orientationSupport=false;this.enable()}};g.prototype.onCalibrationTimer=function(a){this.calibrationFlag=true};g.prototype.onWindowResize=function(a){this.updateDimensions()};g.prototype.onAnimationFrame=function(){this.updateBounds();var a=this.ix-this.cx;var b=this.iy-this.cy;if(Math.abs(a)>this.calibrationThreshold||Math.abs(b)>this.calibrationThreshold){this.queueCalibration(0)}if(this.portrait){this.mx=this.calibrateX?b:this.iy;this.my=this.calibrateY?a:this.ix}else{this.mx=this.calibrateX?a:this.ix;this.my=this.calibrateY?b:this.iy}this.mx*=this.ew*(this.scalarX/100);this.my*=this.eh*(this.scalarY/100);if(!isNaN(parseFloat(this.limitX))){this.mx=this.clamp(this.mx,-this.limitX,this.limitX)}if(!isNaN(parseFloat(this.limitY))){this.my=this.clamp(this.my,-this.limitY,this.limitY)}this.vx+=(this.mx-this.vx)*this.frictionX;this.vy+=(this.my-this.vy)*this.frictionY;for(var c=0,d=this.layers.length;c<d;c++){var e=this.layers[c];var f=this.depths[c];var g=this.vx*f*(this.invertX?-1:1);var h=this.vy*f*(this.invertY?-1:1);this.setPosition(e,g,h)}this.raf=requestAnimationFrame(this.onAnimationFrame)};g.prototype.onDeviceOrientation=function(a){if(!this.desktop&&a.beta!==null&&a.gamma!==null){this.orientationStatus=1;var b=(a.beta||0)/e;var c=(a.gamma||0)/e;var d=this.wh>this.ww;if(this.portrait!==d){this.portrait=d;this.calibrationFlag=true}if(this.calibrationFlag){this.calibrationFlag=false;this.cx=b;this.cy=c}this.ix=b;this.iy=c}};g.prototype.onMouseMove=function(a){var b=a.clientX;var c=a.clientY;if(!this.orientationSupport&&this.relativeInput){if(this.clipRelativeInput){b=Math.max(b,this.ex);b=Math.min(b,this.ex+this.ew);c=Math.max(c,this.ey);c=Math.min(c,this.ey+this.eh)}this.ix=(b-this.ex-this.ecx)/this.erx;this.iy=(c-this.ey-this.ecy)/this.ery}else{this.ix=(b-this.wcx)/this.wrx;this.iy=(c-this.wcy)/this.wry}};a[d]=g})(window,document);(function(){var a=0;var b=["ms","moz","webkit","o"];for(var c=0;c<b.length&&!window.requestAnimationFrame;++c){window.requestAnimationFrame=window[b[c]+"RequestAnimationFrame"];window.cancelAnimationFrame=window[b[c]+"CancelAnimationFrame"]||window[b[c]+"CancelRequestAnimationFrame"]}if(!window.requestAnimationFrame){window.requestAnimationFrame=function(b,c){var d=(new Date).getTime();var e=Math.max(0,16-(d-a));var f=window.setTimeout(function(){b(d+e)},e);a=d+e;return f}}if(!window.cancelAnimationFrame){window.cancelAnimationFrame=function(a){clearTimeout(a)}}})();(function(){var a=document.attachEvent,b=false;if(!a){var c=function(){var a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(a){return window.setTimeout(a,20)};return function(b){return a(b)}}();var d=function(){var a=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout;return function(b){return a(b)}}();function e(a){var b=a.__resizeTriggers__,c=b.firstElementChild,d=b.lastElementChild,e=c.firstElementChild;d.scrollLeft=d.scrollWidth;d.scrollTop=d.scrollHeight;e.style.width=c.offsetWidth+1+"px";e.style.height=c.offsetHeight+1+"px";c.scrollLeft=c.scrollWidth;c.scrollTop=c.scrollHeight}function f(a){return a.offsetWidth!=a.__resizeLast__.width||a.offsetHeight!=a.__resizeLast__.height}function g(a){var b=this;e(this);if(this.__resizeRAF__)d(this.__resizeRAF__);this.__resizeRAF__=c(function(){if(f(b)){b.__resizeLast__.width=b.offsetWidth;b.__resizeLast__.height=b.offsetHeight;b.__resizeListeners__.forEach(function(c){c.call(b,a)})}})}var h=false,i="animation",j="",k="animationstart",l="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),n="";
10{var o=document.createElement("fakeelement");
10if(o.style.animationName!==undefined){h=true}if(h===false){for(var p=0;p<l.length;p++){if(o.style[l[p]+"AnimationName"]!==undefined){n=l[p];i=n+"Animation";j="-"+n.toLowerCase()+"-";k=m[p];h=true;break}}}}var q="resizeanim";var r="@"+j+"keyframes "+q+" { from { opacity: 0; } to { opacity: 0; } } ";var s=j+"animation: 1ms "+q+"; "}function t(){if(!b){var a=(r?r:"")+".resize-triggers { "+(s?s:"")+"visibility: hidden; opacity: 0; } "+'.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',c=document.head||document.getElementsByTagName("head")[0],d=document.createElement("style");d.type="text/css";if(d.styleSheet){d.styleSheet.cssText=a}else{d.appendChild(document.createTextNode(a))}c.appendChild(d);b=true}}window.addResizeListener=function(b,c){if(a)b.attachEvent("onresize",c);else{if(!b.__resizeTriggers__){if(getComputedStyle(b).position=="static")b.style.position="relative";t();b.__resizeLast__={};b.__resizeListeners__=[];(b.__resizeTriggers__=document.createElement("div")).className="resize-triggers";b.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div>'+'<div class="contract-trigger"></div>';b.appendChild(b.__resizeTriggers__);e(b);b.addEventListener("scroll",g,true);k&&b.__resizeTriggers__.addEventListener(k,function(a){if(a.animationName==q)e(b)})}b.__resizeListeners__.push(c)}};window.removeResizeListener=function(b,c){if(a)b.detachEvent("onresize",c);else{b.__resizeListeners__.splice(b.__resizeListeners__.indexOf(c),1);if(!b.__resizeListeners__.length){b.removeEventListener("scroll",g);b.__resizeTriggers__=!b.removeChild(b.__resizeTriggers__)}}}})();

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.