window.pluginsAttached?alert("Attention: plugins.js library is attached twice and needs to be removed. The slides.min.js already contains both of scripts."):window.pluginsAttached=1,-1!=window.location.protocol.indexOf("http")||document.getElementById("customSvgLibrary")||localStorage&&localStorage.getItem("svg-alert-viewed")||(alert("This page is being viewed on a local PC and does not use the HTTP/HTTPS protocol. Because of browser limitations, the SVG symbols will not be displayed. To display SVG symbols, set the 'Inline SVG Library' to 'Yes' in the Slides App Settings Tab."),localStorage&&localStorage.setItem("svg-alert-viewed",1)),function(e){e.extend(e,{cacheImage:function(t,i){if("object"!=typeof t){var n=new Image;return i=i||{},e.each(["load","error","abort"],(function(){var t=String(this);"function"==typeof i[t]&&e(n).bind(t,i[t]),"function"==typeof i.complete&&e(n).bind(t,i.complete)})),n.src=t,n}e.each(t,(function(){e.cacheImage(String(this),i)}))}}),e.extend(e.fn,{cacheImage:function(t){return this.each((function(){e.cacheImage(this.src,t)}))}})}(jQuery),$.fn.redraw=function(){$(this).each((function(){this.offsetHeight}))},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}((function(e){function t(t){var a=t||window.event,r=l.call(arguments,1),d=0,u=0,h=0,p=0,f=0,w=0;if((t=e.event.fix(a)).type="mousewheel","detail"in a&&(h=-1*a.detail),"wheelDelta"in a&&(h=a.wheelDelta),"wheelDeltaY"in a&&(h=a.wheelDeltaY),"wheelDeltaX"in a&&(u=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(u=-1*h,h=0),d=0===h?u:h,"deltaY"in a&&(d=h=-1*a.deltaY),"deltaX"in a&&(u=a.deltaX,0===h&&(d=-1*u)),0!==h||0!==u){if(1===a.deltaMode){var m=e.data(this,"mousewheel-line-height");d*=m,h*=m,u*=m}else if(2===a.deltaMode){var g=e.data(this,"mousewheel-page-height");d*=g,h*=g,u*=g}if(p=Math.max(Math.abs(h),Math.abs(u)),(!s||s>p)&&(s=p,n(a,p)&&(s/=40)),n(a,p)&&(d/=40,u/=40,h/=40),d=Math[d>=1?"floor":"ceil"](d/s),u=Math[u>=1?"floor":"ceil"](u/s),h=Math[h>=1?"floor":"ceil"](h/s),c.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();f=t.clientX-v.left,w=t.clientY-v.top}return t.deltaX=u,t.deltaY=h,t.deltaFactor=s,t.offsetX=f,t.offsetY=w,t.deltaMode=0,r.unshift(t,d,u,h),o&&clearTimeout(o),o=setTimeout(i,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function i(){s=null}function n(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var o,s,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var d=a.length;d;)e.event.fixHooks[a[--d]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=r.length;i;)this.addEventListener(r[--i],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=r.length;i;)this.removeEventListener(r[--i],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})})),$.fn.removeClassByPrefix=function(e){return this.each((function(t,i){if("string"==typeof i.className){var n=i.className.split(" ").filter((function(t){return 0!==t.lastIndexOf(e,0)}));i.className=$.trim(n.join(" "))}})),this},function(e,t){var i={eventName:"resizeEnd",delay:250,poll:function(){var t=e(this),n=t.data(i.eventName);n.timeoutId&&window.clearTimeout(n.timeoutId),n.timeoutId=window.setTimeout((function(){t.trigger(i.eventName)}),i.delay)}};e.event.special[i.eventName]={setup:function(){var t=e(this);t.data(i.eventName,{}),t.on("resize",i.poll)},teardown:function(){var t=e(this),n=t.data(i.eventName);n.timeoutId&&window.clearTimeout(n.timeoutId),t.removeData(i.eventName),t.off("resize",i.poll)}},e.fn[i.eventName]=function(e,t){return arguments.length>0?this.on(i.eventName,null,e,t):this.trigger(i.eventName)}}(jQuery),function(e){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}((function(e){var t="left",i="right",n="up",o="down",s="in",a="out",r="none",l="auto",d="swipe",c="pinch",u="tap",h="doubletap",p="longtap",f="horizontal",w="vertical",m="all",g="start",v="move",b="end",y="cancel",_="ontouchstart"in window,T=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,S=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,$="TouchSwipe";function x(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=r),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=e.extend({},e.fn.swipe.defaults,t),this.each((function(){var i=e(this),n=i.data($);n||(n=new C(this,t),i.data($,n))}))}function C(x,C){var k=_||S||!C.fallbackToMouseEvents,P=k?S?T?"MSPointerDown":"pointerdown":"touchstart":"mousedown",E=k?S?T?"MSPointerMove":"pointermove":"touchmove":"mousemove",D=k?S?T?"MSPointerUp":"pointerup":"touchend":"mouseup",A=k?null:"mouseleave",I=S?T?"MSPointerCancel":"pointercancel":"touchcancel",O=0,M=null,L=0,j=0,N=0,z=1,H=0,B=0,R=null,q=e(x),F="start",U=0,X=null,Y=0,W=0,Q=0,G=0,V=0,K=null,J=null;try{q.bind(P,Z),q.bind(I,ie)}catch(t){e.error("events not supported "+P+","+I+" on jQuery.swipe")}function Z(s){if(!0!==q.data($+"_intouch")&&!(e(s.target).closest(C.excludedElements,q).length>0)){var a,r=s.originalEvent?s.originalEvent:s,l=_?r.touches[0]:r;return F=g,_?U=r.touches.length:s.preventDefault(),O=0,M=null,B=null,L=0,j=0,N=0,z=1,H=0,X=function(){for(var e=[],t=0;t<=5;t++)e.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return e}(),R=function(){var e={};return e[t]=Ce(t),e[i]=Ce(i),e.up=Ce(n),e[o]=Ce(o),e}(),ye(),!_||U===C.fingers||C.fingers===m||he()?(Se(0,l),Y=Ee(),2==U&&(Se(1,r.touches[1]),j=N=Pe(X[0].start,X[1].start)),(C.swipeStatus||C.pinchStatus)&&(a=ae(r,F))):a=!1,!1===a?(ae(r,F=y),a):(C.hold&&(J=setTimeout(e.proxy((function(){q.trigger("hold",[r.target]),C.hold&&(a=C.hold.call(q,r,r.target))}),this),C.longTapThreshold)),Te(!0),null)}}function ee(d){var c=d.originalEvent?d.originalEvent:d;if(F!==b&&F!==y&&!_e()){var u,h=$e(_?c.touches[0]:c);if(W=Ee(),_&&(U=c.touches.length),C.hold&&clearTimeout(J),F=v,2==U&&(0==j?(Se(1,c.touches[1]),j=N=Pe(X[0].start,X[1].start)):($e(c.touches[1]),N=Pe(X[0].end,X[1].end),X[0].end,X[1].end,B=z<1?a:s),z=function(e,t){return(t/e*1).toFixed(2)}(j,N),H=Math.abs(j-N)),U===C.fingers||C.fingers===m||!_||he()){if(M=function(e,s){var a=function(e,t){var i=e.x-t.x,n=t.y-e.y,o=Math.atan2(n,i),s=Math.round(180*o/Math.PI);s<0&&(s=360-Math.abs(s));return s}(e,s);return a<=45&&a>=0||a<=360&&a>=315?t:a>=135&&a<=225?i:a>45&&a<135?o:n}(h.start,h.end),function(e,s){if(C.allowPageScroll===r||he())e.preventDefault();else{var a=C.allowPageScroll===l;switch(s){case t:(C.swipeLeft&&a||!a&&C.allowPageScroll!=f)&&e.preventDefault();break;case i:(C.swipeRight&&a||!a&&C.allowPageScroll!=f)&&e.preventDefault();break;case n:(C.swipeUp&&a||!a&&C.allowPageScroll!=w)&&e.preventDefault();break;case o:(C.swipeDown&&a||!a&&C.allowPageScroll!=w)&&e.preventDefault()}}}(d,M),O=function(e,t){return Math.round(Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)))}(h.start,h.end),L=ke(),function(e,t){t=Math.max(t,xe(e)),R[e].distance=t}(M,O),(C.swipeStatus||C.pinchStatus)&&(u=ae(c,F)),!C.triggerOnTouchEnd||C.triggerOnTouchLeave){var p=!0;if(C.triggerOnTouchLeave){var g=function(t){var i=(t=e(t)).offset();return{left:i.left,right:i.left+t.outerWidth(),top:i.top,bottom:i.top+t.outerHeight()}}(this);p=function(e,t){return e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom}(h.end,g)}!C.triggerOnTouchEnd&&p?F=se(v):C.triggerOnTouchLeave&&!p&&(F=se(b)),F!=y&&F!=b||ae(c,F)}}else ae(c,F=y);!1===u&&ae(c,F=y)}}function te(e){var t=e.originalEvent;return _&&t.touches.length>0?(Q=Ee(),G=event.touches.length+1,!0):(_e()&&(U=G),W=Ee(),L=ke(),de()||!le()?ae(t,F=y):C.triggerOnTouchEnd||0==C.triggerOnTouchEnd&&F===v?(e.preventDefault(),ae(t,F=b)):!C.triggerOnTouchEnd&&ge()?re(t,F=b,u):F===v&&ae(t,F=y),Te(!1),null)}function ie(){U=0,W=0,Y=0,j=0,N=0,z=1,ye(),Te(!1)}function ne(e){var t=e.originalEvent;C.triggerOnTouchLeave&&ae(t,F=se(b))}function oe(){q.unbind(P,Z),q.unbind(I,ie),q.unbind(E,ee),q.unbind(D,te),A&&q.unbind(A,ne),Te(!1)}function se(e){var t=e,i=ce(),n=le(),o=de();return!i||o?t=y:!n||e!=v||C.triggerOnTouchEnd&&!C.triggerOnTouchLeave?!n&&e==b&&C.triggerOnTouchLeave&&(t=y):t=b,t}function ae(e,t){var i=void 0;return pe()&&fe()||fe()?i=re(e,t,d):(ue()&&he()||he())&&!1!==i&&(i=re(e,t,c)),be()&&ve()&&!1!==i?i=re(e,t,h):L>C.longTapThreshold&&O<10&&C.longTap&&!1!==i?i=re(e,t,p):1!==U&&_||!(isNaN(O)||O<C.threshold)||!ge()||!1===i||(i=re(e,t,u)),t===y&&ie(),t===b&&(_?0==e.touches.length&&ie():ie()),i}function re(r,l,f){var w=void 0;if(f==d){if(q.trigger("swipeStatus",[l,M||null,O||0,L||0,U,X]),C.swipeStatus&&!1===(w=C.swipeStatus.call(q,r,l,M||null,O||0,L||0,U,X)))return!1;if(l==b&&pe()){if(q.trigger("swipe",[M,O,L,U,X]),C.swipe&&!1===(w=C.swipe.call(q,r,M,O,L,U,X)))return!1;switch(M){case t:q.trigger("swipeLeft",[M,O,L,U,X]),C.swipeLeft&&(w=C.swipeLeft.call(q,r,M,O,L,U,X));break;case i:q.trigger("swipeRight",[M,O,L,U,X]),C.swipeRight&&(w=C.swipeRight.call(q,r,M,O,L,U,X));break;case n:q.trigger("swipeUp",[M,O,L,U,X]),C.swipeUp&&(w=C.swipeUp.call(q,r,M,O,L,U,X));break;case o:q.trigger("swipeDown",[M,O,L,U,X]),C.swipeDown&&(w=C.swipeDown.call(q,r,M,O,L,U,X))}}}if(f==c){if(q.trigger("pinchStatus",[l,B||null,H||0,L||0,U,z,X]),C.pinchStatus&&!1===(w=C.pinchStatus.call(q,r,l,B||null,H||0,L||0,U,z,X)))return!1;if(l==b&&ue())switch(B){case s:q.trigger("pinchIn",[B||null,H||0,L||0,U,z,X]),C.pinchIn&&(w=C.pinchIn.call(q,r,B||null,H||0,L||0,U,z,X));break;case a:q.trigger("pinchOut",[B||null,H||0,L||0,U,z,X]),C.pinchOut&&(w=C.pinchOut.call(q,r,B||null,H||0,L||0,U,z,X))}}return f==u?l!==y&&l!==b||(clearTimeout(K),clearTimeout(J),ve()&&!be()?(V=Ee(),K=setTimeout(e.proxy((function(){V=null,q.trigger("tap",[r.target]),C.tap&&(w=C.tap.call(q,r,r.target))}),this),C.doubleTapThreshold)):(V=null,q.trigger("tap",[r.target]),C.tap&&(w=C.tap.call(q,r,r.target)))):f==h?l!==y&&l!==b||(clearTimeout(K),V=null,q.trigger("doubletap",[r.target]),C.doubleTap&&(w=C.doubleTap.call(q,r,r.target))):f==p&&(l!==y&&l!==b||(clearTimeout(K),V=null,q.trigger("longtap",[r.target]),C.longTap&&(w=C.longTap.call(q,r,r.target)))),w}function le(){var e=!0;return null!==C.threshold&&(e=O>=C.threshold),e}function de(){var e=!1;return null!==C.cancelThreshold&&null!==M&&(e=xe(M)-O>=C.cancelThreshold),e}function ce(){return!C.maxTimeThreshold||!(L>=C.maxTimeThreshold)}function ue(){var e=we(),t=me(),i=null===C.pinchThreshold||H>=C.pinchThreshold;return e&&t&&i}function he(){return!!(C.pinchStatus||C.pinchIn||C.pinchOut)}function pe(){var e=ce(),t=le(),i=we(),n=me();return!de()&&n&&i&&t&&e}function fe(){return!!(C.swipe||C.swipeStatus||C.swipeLeft||C.swipeRight||C.swipeUp||C.swipeDown)}function we(){return U===C.fingers||C.fingers===m||!_}function me(){return 0!==X[0].end.x}function ge(){return!!C.tap}function ve(){return!!C.doubleTap}function be(){if(null==V)return!1;var e=Ee();return ve()&&e-V<=C.doubleTapThreshold}function ye(){Q=0,G=0}function _e(){var e=!1;Q&&(Ee()-Q<=C.fingerReleaseThreshold&&(e=!0));return e}function Te(e){!0===e?(q.bind(E,ee),q.bind(D,te),A&&q.bind(A,ne)):(q.unbind(E,ee,!1),q.unbind(D,te,!1),A&&q.unbind(A,ne,!1)),q.data($+"_intouch",!0===e)}function Se(e,t){var i=void 0!==t.identifier?t.identifier:0;return X[e].identifier=i,X[e].start.x=X[e].end.x=t.pageX||t.clientX,X[e].start.y=X[e].end.y=t.pageY||t.clientY,X[e]}function $e(e){var t=function(e){for(var t=0;t<X.length;t++)if(X[t].identifier==e)return X[t]}(void 0!==e.identifier?e.identifier:0);return t.end.x=e.pageX||e.clientX,t.end.y=e.pageY||e.clientY,t}function xe(e){if(R[e])return R[e].distance}function Ce(e){return{direction:e,distance:0}}function ke(){return W-Y}function Pe(e,t){var i=Math.abs(e.x-t.x),n=Math.abs(e.y-t.y);return Math.round(Math.sqrt(i*i+n*n))}function Ee(){return(new Date).getTime()}this.enable=function(){return q.bind(P,Z),q.bind(I,ie),q},this.disable=function(){return oe(),q},this.destroy=function(){return oe(),q.data($,null),q},this.option=function(t,i){if(void 0!==C[t]){if(void 0===i)return C[t];C[t]=i}else e.error("Option "+t+" does not exist on jQuery.swipe.options");return null}}e.fn.swipe=function(t){var i=e(this),n=i.data($);if(n&&"string"==typeof t){if(n[t])return n[t].apply(this,Array.prototype.slice.call(arguments,1));e.error("Method "+t+" does not exist on jQuery.swipe")}else if(!(n||"object"!=typeof t&&t))return x.apply(this,arguments);return i},e.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe"},e.fn.swipe.phases={PHASE_START:g,PHASE_MOVE:v,PHASE_END:b,PHASE_CANCEL:y},e.fn.swipe.directions={LEFT:t,RIGHT:i,UP:n,DOWN:o,IN:s,OUT:a},e.fn.swipe.pageScroll={NONE:r,HORIZONTAL:f,VERTICAL:w,AUTO:l},e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:m}})),function(t,i,n,o){var a="sharrre",r={className:"sharrre",share:{googlePlus:!1,facebook:!1,twitter:!1,digg:!1,delicious:!1,stumbleupon:!1,linkedin:!1,pinterest:!1},shareTotal:0,template:"",title:"",url:n.location.href,text:n.title,urlCurl:"sharrre.php",count:{},total:0,shorterTotal:!0,enableHover:!0,enableCounter:!0,enableTracking:!1,hover:function(){},hide:function(){},click:function(){},render:function(){},buttons:{googlePlus:{url:"",urlCount:!1,size:"medium",lang:"en-US",annotation:""},facebook:{url:"",urlCount:!1,action:"like",layout:"button_count",width:"",send:"false",faces:"false",colorscheme:"",font:"",lang:"en_US"},twitter:{url:"",urlCount:!1,count:"horizontal",hashtags:"",via:"",related:"",lang:"en"},digg:{url:"",urlCount:!1,type:"DiggCompact"},delicious:{url:"",urlCount:!1,size:"medium"},stumbleupon:{url:"",urlCount:!1,layout:"1"},linkedin:{url:"",urlCount:!1,counter:""},pinterest:{url:"",media:"",description:"",layout:"horizontal"}}},l={googlePlus:"",facebook:"https://graph.facebook.com/fql?q=SELECT%20url,%20normalized_url,%20share_count,%20like_count,%20comment_count,%20total_count,commentsbox_count,%20comments_fbid,%20click_count%20FROM%20link_stat%20WHERE%20url=%27{url}%27&callback=?",twitter:"http://cdn.api.twitter.com/1/urls/count.json?url={url}&callback=?",digg:"http://services.digg.com/2.0/story.getInfo?links={url}&type=javascript&callback=?",delicious:"http://feeds.delicious.com/v2/json/urlinfo/data?url={url}&callback=?",stumbleupon:"",linkedin:"http://www.linkedin.com/countserv/count/share?format=jsonp&url={url}&callback=?",pinterest:"http://api.pinterest.com/v1/urls/count.json?url={url}&callback=?"},d={googlePlus:function(e){var o=e.options.buttons.googlePlus;t(e.element).find(".buttons").append('<div class="button googleplus"><div class="g-plusone" data-size="'+o.size+'" data-href="'+(""!==o.url?o.url:e.options.url)+'" data-annotation="'+o.annotation+'"></div></div>'),i.___gcfg={lang:e.options.buttons.googlePlus.lang};var s=0;"undefined"==typeof gapi&&0==s?(s=1,function(){var e=n.createElement("script");e.type="text/javascript",e.async=!0,e.src="//apis.google.com/js/plusone.js";var t=n.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()):gapi.plusone.go()},facebook:function(e){var i=e.options.buttons.facebook;t(e.element).find(".buttons").append('<div class="button facebook"><div id="fb-root"></div><div class="fb-like" data-href="'+(""!==i.url?i.url:e.options.url)+'" data-send="'+i.send+'" data-layout="'+i.layout+'" data-width="'+i.width+'" data-show-faces="'+i.faces+'" data-action="'+i.action+'" data-colorscheme="'+i.colorscheme+'" data-font="'+i.font+'" data-via="'+i.via+'"></div></div>');var o,s,a,r,l,d=0;"undefined"==typeof FB&&0==d?(d=1,s="script",a="facebook-jssdk",l=(o=n).getElementsByTagName(s)[0],o.getElementById(a)||((r=o.createElement(s)).id=a,r.src="//connect.facebook.net/"+i.lang+"/all.js#xfbml=1",l.parentNode.insertBefore(r,l))):FB.XFBML.parse()},twitter:function(e){var i=e.options.buttons.twitter;t(e.element).find(".buttons").append('<div class="button twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="'+(""!==i.url?i.url:e.options.url)+'" data-count="'+i.count+'" data-text="'+e.options.text+'" data-via="'+i.via+'" data-hashtags="'+i.hashtags+'" data-related="'+i.related+'" data-lang="'+i.lang+'">Tweet</a></div>');var o=0;"undefined"==typeof twttr&&0==o?(o=1,function(){var e=n.createElement("script");e.type="text/javascript",e.async=!0,e.src="//platform.twitter.com/widgets.js";var t=n.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()):t.ajax({url:"//platform.twitter.com/widgets.js",dataType:"script",cache:!0})},digg:function(e){var i=e.options.buttons.digg;t(e.element).find(".buttons").append('<div class="button digg"><a class="DiggThisButton '+i.type+'" rel="nofollow external" href="http://digg.com/submit?url='+encodeURIComponent(""!==i.url?i.url:e.options.url)+'"></a></div>');var o,s,a=0;"undefined"==typeof __DBW&&0==a&&(a=1,o=n.createElement("SCRIPT"),s=n.getElementsByTagName("SCRIPT")[0],o.type="text/javascript",o.async=!0,o.src="//widgets.digg.com/buttons.js",s.parentNode.insertBefore(o,s))},delicious:function(e){if("tall"==e.options.buttons.delicious.size)var i="width:50px;",n="height:35px;width:50px;font-size:15px;line-height:35px;",o="height:18px;line-height:18px;margin-top:3px;";else i="width:93px;",n="float:right;padding:0 3px;height:20px;width:26px;line-height:20px;",o="float:left;height:20px;line-height:20px;";var s=e.shorterTotal(e.options.count.delicious);void 0===s&&(s=0),t(e.element).find(".buttons").append('<div class="button delicious"><div style="'+i+'font:12px Arial,Helvetica,sans-serif;cursor:pointer;color:#666666;display:inline-block;float:none;height:20px;line-height:normal;margin:0;padding:0;text-indent:0;vertical-align:baseline;"><div style="'+n+'background-color:#fff;margin-bottom:5px;overflow:hidden;text-align:center;border:1px solid #ccc;border-radius:3px;">'+s+'</div><div style="'+o+'display:block;padding:0;text-align:center;text-decoration:none;width:50px;background-color:#7EACEE;border:1px solid #40679C;border-radius:3px;color:#fff;"><img src="http://www.delicious.com/static/img/delicious.small.gif" height="10" width="10" alt="Delicious" /> Add</div></div></div>'),t(e.element).find(".delicious").on("click",(function(){e.openPopup("delicious")}))},stumbleupon:function(e){var o=e.options.buttons.stumbleupon;t(e.element).find(".buttons").append('<div class="button stumbleupon"><su:badge layout="'+o.layout+'" location="'+(""!==o.url?o.url:e.options.url)+'"></su:badge></div>');var a=0;"undefined"==typeof STMBLPN&&0==a?(a=1,function(){var e=n.createElement("script");e.type="text/javascript",e.async=!0,e.src="//platform.stumbleupon.com/1/widgets.js";var t=n.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}(),s=i.setTimeout((function(){"undefined"!=typeof STMBLPN&&(STMBLPN.processWidgets(),clearInterval(s))}),500)):STMBLPN.processWidgets()},linkedin:function(e){var o=e.options.buttons.linkedin;t(e.element).find(".buttons").append('<div class="button linkedin"><script type="in/share" data-url="'+(""!==o.url?o.url:e.options.url)+'" data-counter="'+o.counter+'"><\/script></div>');var s=0;void 0===i.IN&&0==s?(s=1,function(){var e=n.createElement("script");e.type="text/javascript",e.async=!0,e.src="//platform.linkedin.com/in.js";var t=n.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()):i.IN.init()},pinterest:function(e){var i=e.options.buttons.pinterest;t(e.element).find(".buttons").append('<div class="button pinterest"><a href="http://pinterest.com/pin/create/button/?url='+(""!==i.url?i.url:e.options.url)+"&media="+i.media+"&description="+i.description+'" class="pin-it-button" count-layout="'+i.layout+'">Pin It</a></div>'),function(){var e=n.createElement("script");e.type="text/javascript",e.async=!0,e.src="//assets.pinterest.com/js/pinit.js";var t=n.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}},c={googlePlus:function(){},facebook:function(){fb=i.setInterval((function(){"undefined"!=typeof FB&&(FB.Event.subscribe("edge.create",(function(e){_gaq.push(["_trackSocial","facebook","like",e])})),FB.Event.subscribe("edge.remove",(function(e){_gaq.push(["_trackSocial","facebook","unlike",e])})),FB.Event.subscribe("message.send",(function(e){_gaq.push(["_trackSocial","facebook","send",e])})),clearInterval(fb))}),1e3)},twitter:function(){tw=i.setInterval((function(){"undefined"!=typeof twttr&&(twttr.events.bind("tweet",(function(e){e&&_gaq.push(["_trackSocial","twitter","tweet"])})),clearInterval(tw))}),1e3)},digg:function(){},delicious:function(){},stumbleupon:function(){},linkedin:function(){},pinterest:function(){}},u={googlePlus:function(e){i.open("https://plus.google.com/share?hl="+e.buttons.googlePlus.lang+"&url="+encodeURIComponent(""!==e.buttons.googlePlus.url?e.buttons.googlePlus.url:e.url),"","toolbar=0, status=0, width=900, height=500")},facebook:function(e){i.open("http://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(""!==e.buttons.facebook.url?e.buttons.facebook.url:e.url)+"&t="+e.text,"","toolbar=0, status=0, width=900, height=500")},twitter:function(e){i.open("https://twitter.com/intent/tweet?text="+encodeURIComponent(e.text)+"&url="+encodeURIComponent(""!==e.buttons.twitter.url?e.buttons.twitter.url:e.url)+(""!==e.buttons.twitter.via?"&via="+e.buttons.twitter.via:""),"","toolbar=0, status=0, width=650, height=360")},digg:function(e){i.open("http://digg.com/tools/diggthis/submit?url="+encodeURIComponent(""!==e.buttons.digg.url?e.buttons.digg.url:e.url)+"&title="+e.text+"&related=true&style=true","","toolbar=0, status=0, width=650, height=360")},delicious:function(e){i.open("http://www.delicious.com/save?v=5&noui&jump=close&url="+encodeURIComponent(""!==e.buttons.delicious.url?e.buttons.delicious.url:e.url)+"&title="+e.text,"delicious","toolbar=no,width=550,height=550")},stumbleupon:function(e){i.open("http://www.stumbleupon.com/badge/?url="+encodeURIComponent(""!==e.buttons.delicious.url?e.buttons.delicious.url:e.url),"stumbleupon","toolbar=no,width=550,height=550")},linkedin:function(e){i.open("https://www.linkedin.com/cws/share?url="+encodeURIComponent(""!==e.buttons.delicious.url?e.buttons.delicious.url:e.url)+"&token=&isFramed=true","linkedin","toolbar=no,width=550,height=550")},pinterest:function(e){i.open("http://pinterest.com/pin/create/button/?url="+encodeURIComponent(""!==e.buttons.pinterest.url?e.buttons.pinterest.url:e.url)+"&media="+encodeURIComponent(e.buttons.pinterest.media)+"&description="+e.buttons.pinterest.description,"pinterest","toolbar=no,width=700,height=300")}};function h(e,i){this.element=e,this.options=t.extend(!0,{},r,i),this.options.share=i.share,this._defaults=r,this._name=a,this.init()}h.prototype.init=function(){var e=this;""!==this.options.urlCurl&&(l.googlePlus=this.options.urlCurl+"?url={url}&type=googlePlus",l.stumbleupon=this.options.urlCurl+"?url={url}&type=stumbleupon"),t(this.element).addClass(this.options.className),void 0!==t(this.element).data("title")&&(this.options.title=t(this.element).attr("data-title")),void 0!==t(this.element).data("url")&&(this.options.url=t(this.element).data("url")),void 0!==t(this.element).data("text")&&(this.options.text=t(this.element).data("text")),t.each(this.options.share,(function(t,i){!0===i&&e.options.shareTotal++})),!0===e.options.enableCounter?t.each(this.options.share,(function(t,i){if(!0===i)try{e.getSocialJson(t)}catch(e){}})):""!==e.options.template?this.options.render(this,this.options):this.loadButtons(),t(this.element).hover((function(){0===t(this).find(".buttons").length&&!0===e.options.enableHover&&e.loadButtons(),e.options.hover(e,e.options)}),(function(){e.options.hide(e,e.options)})),t(this.element).click((function(){return e.options.click(e,e.options),!1}))},h.prototype.loadButtons=function(){var e=this;t(this.element).append('<div class="buttons"></div>'),t.each(e.options.share,(function(t,i){1==i&&(d[t](e),!0===e.options.enableTracking&&c[t]())}))},h.prototype.getSocialJson=function(e){var i=this,n=0,o=l[e].replace("{url}",encodeURIComponent(this.options.url));!0===this.options.buttons[e].urlCount&&""!==this.options.buttons[e].url&&(o=l[e].replace("{url}",this.options.buttons[e].url)),""!=o&&""!==i.options.urlCurl?t.getJSON(o,(function(t){if(void 0!==t.count){var o=t.count+"";o=o.replace("Â ",""),n+=parseInt(o,10)}else t.data&&t.data.length>0&&void 0!==t.data[0].total_count?n+=parseInt(t.data[0].total_count,10):void 0!==t[0]?n+=parseInt(t[0].total_posts,10):t[0];i.options.count[e]=n,i.options.total+=n,i.renderer(),i.rendererPerso()})).error((function(){i.options.count[e]=0,i.rendererPerso()})):(i.renderer(),i.options.count[e]=0,i.rendererPerso())},h.prototype.rendererPerso=function(){var t=0;for(e in this.options.count)t++;t===this.options.shareTotal&&this.options.render(this,this.options)},h.prototype.renderer=function(){var e=this.options.total,i=this.options.template;!0===this.options.shorterTotal&&(e=this.shorterTotal(e)),""!==i?(i=i.replace("{total}",e),t(this.element).html(i)):t(this.element).html('<div class="box"><a class="count" href="#">'+e+"</a>"+(""!==this.options.title?'<a class="share" href="#">'+this.options.title+"</a>":"")+"</div>")},h.prototype.shorterTotal=function(e){return e>=1e6?e=(e/1e6).toFixed(2)+"M":e>=1e3&&(e=(e/1e3).toFixed(1)+"k"),e},h.prototype.openPopup=function(e){if(u[e](this.options),!0===this.options.enableTracking){var t={googlePlus:{site:"Google",action:"+1"},facebook:{site:"facebook",action:"like"},twitter:{site:"twitter",action:"tweet"},digg:{site:"digg",action:"add"},delicious:{site:"delicious",action:"add"},stumbleupon:{site:"stumbleupon",action:"add"},linkedin:{site:"linkedin",action:"share"},pinterest:{site:"pinterest",action:"pin"}};_gaq.push(["_trackSocial",t[e].site,t[e].action])}},h.prototype.simulateClick=function(){var e=t(this.element).html();t(this.element).html(e.replace(this.options.total,this.options.total+1))},h.prototype.update=function(e,t){""!==e&&(this.options.url=e),""!==t&&(this.options.text=t)},t.fn[a]=function(e){var i=arguments;return e===o||"object"==typeof e?this.each((function(){t.data(this,"plugin_"+a)||t.data(this,"plugin_"+a,new h(this,e))})):"string"==typeof e&&"_"!==e[0]&&"init"!==e?this.each((function(){var n=t.data(this,"plugin_"+a);n instanceof h&&"function"==typeof n[e]&&n[e].apply(n,Array.prototype.slice.call(i,1))})):void 0}}(jQuery,window,document),$.fn.nextOrFirst=function(e){var t=this.next(e);return t.length?t:this.prevAll(e).last()},$.fn.prevOrLast=function(e){var t=this.prev(e);return t.length?t:this.nextAll(e).last()},function(e,t,i){var n,o="hashchange",s=document,a=e.event.special,r=s.documentMode,l="on"+o in t&&(r===i||r>7);function d(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}e.fn[o]=function(e){return e?this.bind(o,e):this.trigger(o)},e.fn[o].delay=50,a[o]=e.extend(a[o],{setup:function(){if(l)return!1;e(n.start)},teardown:function(){if(l)return!1;e(n.stop)}}),n=function(){var n,s={},a=d(),r=function(e){return e},l=r,c=r;function u(){var i=d(),s=c(a);i!==a?(l(a=i,s),e(t).trigger(o)):s!==a&&(location.href=location.href.replace(/#.*/,"")+s),n=setTimeout(u,e.fn[o].delay)}return s.start=function(){n||u()},s.stop=function(){n&&clearTimeout(n),n=i},s}()}(jQuery,this),function(){"use strict";document.addEventListener("DOMContentLoaded",(function(){function e(e){var t=e.getBoundingClientRect(),i=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,n=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return{top:t.top+i,left:t.left+n}}var t=function(){function t(){var e=document.createElement("img");e.onload=function(){s=Number(e.height),a=Number(e.width),i()},e.src=d.currentSrc||d.src}function i(){(c=document.createElement("div")).className="zoom-img-wrap",c.style.position="absolute",c.style.top=e(d).top+"px",c.style.left=e(d).left+"px",(u=d.cloneNode()).style.visibility="hidden",d.style.width=d.offsetWidth+"px",d.parentNode.replaceChild(u,d),document.body.appendChild(c),c.appendChild(d),d.classList.add("zoom-img"),d.setAttribute("data-action","zoom-out"),(r=document.createElement("div")).className="zoom-overlay",document.body.appendChild(r),function(){d.offsetWidth;var e=a,t=s,i=e/d.width,n=window.innerHeight-80,o=window.innerWidth-80,r=e/t,c=o/n;l=e<o&&t<n?i:r<c?n/t*i:o/e*i}(),function(){d.offsetWidth;var t=e(d),i=window.pageYOffset+window.innerHeight/2,n=window.innerWidth/2,o=t.top+d.height/2,s=t.left+d.width/2,a=Math.round(i-o),r=Math.round(n-s),u="scale("+l+")",h="translate("+r+"px, "+a+"px) translateZ(0)";d.style.webkitTransform=u,d.style.msTransform=u,d.style.transform=u,c.style.webkitTransform=h,c.style.msTransform=h,c.style.transform=h,document.body.classList.add("zoom-overlay-open")}()}function n(){if(document.body.classList.remove("zoom-overlay-open"),document.body.classList.add("zoom-overlay-transitioning"),d.style.webkitTransform="",d.style.msTransform="",d.style.transform="",c.style.webkitTransform="",c.style.msTransform="",c.style.transform="",!1 in document.body.style)return o();c.addEventListener("transitionend",o),c.addEventListener("webkitTransitionEnd",o)}function o(){d.removeEventListener("transitionend",o),d.removeEventListener("webkitTransitionEnd",o),c&&c.parentNode&&(d.classList.remove("zoom-img"),d.style.width="",d.setAttribute("data-action","zoom"),u.parentNode.replaceChild(d,u),c.parentNode.removeChild(c),r.parentNode.removeChild(r),document.body.classList.remove("zoom-overlay-transitioning"))}var s=null,a=null,r=null,l=null,d=null,c=null,u=null;return function(e){return d=e,{zoomImage:t,close:n,dispose:o}}}();(function(){function e(e){e=e||{forceDispose:!1},r&&(r[e.forceDispose?"dispose":"close"](),window.removeEventListener("scroll",i),document.removeEventListener("keyup",n),document.removeEventListener("click",o),document.removeEventListener("touchstart",s),document.removeEventListener("touchend",o),r=null)}function i(t){null===l&&(l=window.pageYOffset);var i=l-window.pageYOffset;Math.abs(i)>=40&&e()}function n(t){27==t.keyCode&&e()}function o(t){t.stopPropagation(),t.preventDefault(),e()}function s(e){d=e.touches[0].pageY,e.target.addEventListener("touchmove",a)}function a(t){Math.abs(t.touches[0].pageY-d)<=10||(e(),t.target.removeEventListener("touchmove",a))}var r=null,l=null,d=null;return{listen:function(){document.body.addEventListener("click",(function(a){"zoom"===a.target.getAttribute("data-action")&&"IMG"===a.target.tagName&&function(a){if(a.stopPropagation(),!document.body.classList.contains("zoom-overlay-open")){if(a.metaKey||a.ctrlKey)return void window.open(event.target.getAttribute("data-original")||event.target.currentSrc||event.target.src,"_blank");e({forceDispose:!0}),(r=t(a.target)).zoomImage(),window.addEventListener("scroll",i),document.addEventListener("click",o),document.addEventListener("keyup",n),document.addEventListener("touchstart",s),document.addEventListener("touchend",o)}}(a)}))}}})().listen()}))}();
/* VERSION: 1.7.5 http://greensock.com @license Copyright (c) 2008-2015, GreenSock. All rights reserved. This work is subject to the terms at http://greensock.com/standard-license **/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push((function(){"use strict";var e=document.documentElement,t=window,i=function(i,n){var o="x"===n?"Width":"Height",s="scroll"+o,a="client"+o,r=document.body;return i===t||i===e||i===r?Math.max(e[s],r[s])-(t["inner"+o]||e[a]||r[a]):i[s]-i["offset"+o]},n=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,version:"1.7.5",init:function(e,n,o){return this._wdw=e===t,this._target=e,this._tween=o,"object"!=typeof n&&(n={y:n}),this.vars=n,this._autoKill=!1!==n.autoKill,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=n.x?(this._addTween(this,"x",this.x,"max"===n.x?i(e,"x"):n.x,"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=n.y?(this._addTween(this,"y",this.y,"max"===n.y?i(e,"y"):n.y,"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(e){this._super.setRatio.call(this,e);var n=this._wdw||!this.skipX?this.getX():this.xPrev,o=this._wdw||!this.skipY?this.getY():this.yPrev,s=o-this.yPrev,a=n-this.xPrev;this._autoKill&&(!this.skipX&&(a>7||-7>a)&&i(this._target,"x")>n&&(this.skipX=!0),!this.skipY&&(s>7||-7>s)&&i(this._target,"y")>o&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?t.scrollTo(this.skipX?n:this.x,this.skipY?o:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),o=n.prototype;n.max=i,o.getX=function(){return this._wdw?null!=t.pageXOffset?t.pageXOffset:null!=e.scrollLeft?e.scrollLeft:document.body.scrollLeft:this._target.scrollLeft},o.getY=function(){return this._wdw?null!=t.pageYOffset?t.pageYOffset:null!=e.scrollTop?e.scrollTop:document.body.scrollTop:this._target.scrollTop},o._kill=function(e){return e.scrollTo_x&&(this.skipX=!0),e.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,e)}})),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),
/* VERSION: 1.17.0 @license Copyright (c) 2008-2015, GreenSock. All rights reserved. */
function(e,t){"use strict";var i=e.GreenSockGlobals=e.GreenSockGlobals||e;if(!i.TweenLite){var n,o,s,a,r,l=function(e){var t,n=e.split("."),o=i;for(t=0;n.length>t;t++)o[n[t]]=o=o[n[t]]||{};return o},d=l("com.greensock"),c=1e-10,u=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},h=function(){},p=function(){var e=Object.prototype.toString,t=e.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&e.call(i)===t)}}(),f={},w=function(t,n,o,s){this.sc=f[t]?f[t].sc:[],f[t]=this,this.gsClass=null,this.func=o;var a=[];this.check=function(r){for(var d,c,u,h,p=n.length,m=p;--p>-1;)(d=f[n[p]]||new w(n[p],[])).gsClass?(a[p]=d.gsClass,m--):r&&d.sc.push(this);if(0===m&&o)for(u=(c=("com.greensock."+t).split(".")).pop(),h=l(c.join("."))[u]=this.gsClass=o.apply(o,a),s&&(i[u]=h,"function"==typeof define&&define.amd?define((e.GreenSockAMDPath?e.GreenSockAMDPath+"/":"")+t.split(".").pop(),[],(function(){return h})):"TweenLite"===t&&"undefined"!=typeof module&&module.exports&&(module.exports=h)),p=0;this.sc.length>p;p++)this.sc[p].check()},this.check(!0)},m=e._gsDefine=function(e,t,i,n){return new w(e,t,i,n)},g=d._class=function(e,t,i){return t=t||function(){},m(e,[],(function(){return t}),i),t};m.globals=i;var v=[0,0,1,1],b=[],y=g("easing.Ease",(function(e,t,i,n){this._func=e,this._type=i||0,this._power=n||0,this._params=t?v.concat(t):v}),!0),_=y.map={},T=y.register=function(e,t,i,n){for(var o,s,a,r,l=t.split(","),c=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(s=l[c],o=n?g("easing."+s,null,!0):d.easing[s]||{},a=u.length;--a>-1;)r=u[a],_[s+"."+r]=_[r+s]=o[r]=e.getRatio?e:e[r]||new e};for((s=y.prototype)._calcEnd=!1,s.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,n=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===t?1-n:2===t?n:.5>e?n/2:1-n/2},o=(n=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)s=n[o]+",Power"+o,T(new y(null,null,1,o),s,"easeOut",!0),T(new y(null,null,2,o),s,"easeIn"+(0===o?",easeNone":"")),T(new y(null,null,3,o),s,"easeInOut");_.linear=d.easing.Linear.easeIn,_.swing=d.easing.Quad.easeInOut;var S=g("events.EventDispatcher",(function(e){this._listeners={},this._eventTarget=e||this}));(s=S.prototype).addEventListener=function(e,t,i,n,o){o=o||0;var s,l,d=this._listeners[e],c=0;for(null==d&&(this._listeners[e]=d=[]),l=d.length;--l>-1;)(s=d[l]).c===t&&s.s===i?d.splice(l,1):0===c&&o>s.pr&&(c=l+1);d.splice(c,0,{c:t,s:i,up:n,pr:o}),this!==a||r||a.wake()},s.removeEventListener=function(e,t){var i,n=this._listeners[e];if(n)for(i=n.length;--i>-1;)if(n[i].c===t)return void n.splice(i,1)},s.dispatchEvent=function(e){var t,i,n,o=this._listeners[e];if(o)for(t=o.length,i=this._eventTarget;--t>-1;)(n=o[t])&&(n.up?n.c.call(n.s||i,{type:e,target:i}):n.c.call(n.s||i))};var $=e.requestAnimationFrame,x=e.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},k=C();for(o=(n=["ms","moz","webkit","o"]).length;--o>-1&&!$;)$=e[n[o]+"RequestAnimationFrame"],x=e[n[o]+"CancelAnimationFrame"]||e[n[o]+"CancelRequestAnimationFrame"];g("Ticker",(function(e,t){var i,n,o,s,l,d=this,u=C(),p=!1!==t&&$,f=500,w=33,m=function(e){var t,a,r=C()-k;r>f&&(u+=r-w),k+=r,d.time=(k-u)/1e3,t=d.time-l,(!i||t>0||!0===e)&&(d.frame++,l+=t+(t>=s?.004:s-t),a=!0),!0!==e&&(o=n(m)),a&&d.dispatchEvent("tick")};S.call(d),d.time=d.frame=0,d.tick=function(){m(!0)},d.lagSmoothing=function(e,t){f=e||1/c,w=Math.min(t,f,0)},d.sleep=function(){null!=o&&(p&&x?x(o):clearTimeout(o),n=h,o=null,d===a&&(r=!1))},d.wake=function(){null!==o?d.sleep():d.frame>10&&(k=C()-f+5),n=0===i?h:p&&$?$:function(e){return setTimeout(e,0|1e3*(l-d.time)+1)},d===a&&(r=!0),m(2)},d.fps=function(e){return arguments.length?(s=1/((i=e)||60),l=this.time+s,void d.wake()):i},d.useRAF=function(e){return arguments.length?(d.sleep(),p=e,void d.fps(i)):p},d.fps(e),setTimeout((function(){p&&5>d.frame&&d.useRAF(!1)}),1500)})),(s=d.Ticker.prototype=new d.events.EventDispatcher).constructor=d.Ticker;var P=g("core.Animation",(function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!0===t.immediateRender,this.data=t.data,this._reversed=!0===t.reversed,q){r||a.wake();var i=this.vars.useFrames?R:q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));a=P.ticker=new d.Ticker,(s=P.prototype)._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;var E=function(){r&&C()-k>2e3&&a.wake(),setTimeout(E,2e3)};E(),s.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},s.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},s.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},s.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},s.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},s.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},s.render=function(){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},s.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime())>=i&&i+this.totalDuration()/this._timeScale>e},s._enabled=function(e,t){return r||a.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},s._kill=function(){return this._enabled(!1,!1)},s.kill=function(e,t){return this._kill(e,t),this},s._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},s._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},s._callback=function(e){var t=this.vars;t[e].apply(t[e+"Scope"]||t.callbackScope||this,t[e+"Params"]||b)},s.eventCallback=function(e,t,i,n){if("on"===(e||"").substr(0,2)){var o=this.vars;if(1===arguments.length)return o[e];null==t?delete o[e]:(o[e]=t,o[e+"Params"]=p(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,o[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},s.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},s.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},s.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},s.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},s.totalTime=function(e,t,i){if(r||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>e&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,o=this._timeline;if(e>n&&!i&&(e=n),this._startTime=(this._paused?this._pauseTime:o._time)-(this._reversed?n-e:e)/this._timeScale,o._dirty||this._uncache(!1),o._timeline)for(;o._timeline;)o._timeline._time!==(o._startTime+o._totalTime)/o._timeScale&&o.totalTime(o._totalTime,!0),o=o._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&(this.render(e,t,!1),O.length&&U())}return this},s.progress=s.totalProgress=function(e,t){return arguments.length?this.totalTime(this.duration()*e,t):this._time/this.duration()},s.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},s.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(e){if(!arguments.length)return this._timeScale;if(e=e||c,this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,i=t||0===t?t:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/e}return this._timeScale=e,this._uncache(!1)},s.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(e){if(!arguments.length)return this._paused;var t,i,n=this._timeline;return e!=this._paused&&n&&(r||e||a.wake(),i=(t=n.rawTime())-this._pauseTime,!e&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&this.render(n.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,!0,!0)),this._gc&&!e&&this._enabled(!0,!1),this};var D=g("core.SimpleTimeline",(function(e){P.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0}));(s=D.prototype=new P).constructor=D,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(e,t){var i,n;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),i=this._last,this._sortChildren)for(n=e._startTime;i&&i._startTime>n;)i=i._prev;return i?(e._next=i._next,i._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=i,this._recent=e,this._timeline&&this._uncache(!0),this},s._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(e,t,i){var n,o=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;o;)n=o._next,(o._active||e>=o._startTime&&!o._paused)&&(o._reversed?o.render((o._dirty?o.totalDuration():o._totalDuration)-(e-o._startTime)*o._timeScale,t,i):o.render((e-o._startTime)*o._timeScale,t,i)),o=n},s.rawTime=function(){return r||a.wake(),this._totalTime};var A=g("TweenLite",(function(t,i,n){if(P.call(this,i,n),this.render=A.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:A.selector(t)||t;var o,s,a,r=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?B[A.defaultOverwrite]:"number"==typeof l?l>>0:B[l],(r||t instanceof Array||t.push&&p(t))&&"number"!=typeof t[0])for(this._targets=a=u(t),this._propLookup=[],this._siblings=[],o=0;a.length>o;o++)(s=a[o])?"string"!=typeof s?s.length&&s!==e&&s[0]&&(s[0]===e||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(o--,1),this._targets=a=a.concat(u(s))):(this._siblings[o]=X(s,this,!1),1===l&&this._siblings[o].length>1&&W(s,this,null,1,this._siblings[o])):"string"==typeof(s=a[o--]=A.selector(s))&&a.splice(o+1,1):a.splice(o--,1);else this._propLookup={},this._siblings=X(t,this,!1),1===l&&this._siblings.length>1&&W(t,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-c,this.render(-this._delay))}),!0),I=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)};(s=A.prototype=new P).constructor=A,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,A.version="1.17.0",A.defaultEase=s._ease=new y(null,null,1,1),A.defaultOverwrite="auto",A.ticker=a,A.autoSleep=120,A.lagSmoothing=function(e,t){a.lagSmoothing(e,t)},A.selector=e.$||e.jQuery||function(t){var i=e.$||e.jQuery;return i?(A.selector=i,i(t)):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)};var O=[],M={},L=A._internals={isArray:p,isSelector:I,lazyTweens:O},j=A._plugins={},N=L.tweenLookup={},z=0,H=L.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,onOverwrite:1,callbackScope:1},B={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},R=P._rootFramesTimeline=new D,q=P._rootTimeline=new D,F=30,U=L.lazyRender=function(){var e,t=O.length;for(M={};--t>-1;)(e=O[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);O.length=0};q._startTime=a.time,R._startTime=a.frame,q._active=R._active=!0,setTimeout(U,1),P._updateRoot=A.render=function(){var e,t,i;if(O.length&&U(),q.render((a.time-q._startTime)*q._timeScale,!1,!1),R.render((a.frame-R._startTime)*R._timeScale,!1,!1),O.length&&U(),a.frame>=F){for(i in F=a.frame+(parseInt(A.autoSleep,10)||120),N){for(e=(t=N[i].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete N[i]}if((!(i=q._first)||i._paused)&&A.autoSleep&&!R._first&&1===a._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||a.sleep()}}},a.addEventListener("tick",P._updateRoot);var X=function(e,t,i){var n,o,s=e._gsTweenID;if(N[s||(e._gsTweenID=s="t"+z++)]||(N[s]={target:e,tweens:[]}),t&&((n=N[s].tweens)[o=n.length]=t,i))for(;--o>-1;)n[o]===t&&n.splice(o,1);return N[s].tweens},Y=function(e,t,i,n){var o,s,a=e.vars.onOverwrite;return a&&(o=a(e,t,i,n)),(a=A.onOverwrite)&&(s=a(e,t,i,n)),!1!==o&&!1!==s},W=function(e,t,i,n,o){var s,a,r,l;if(1===n||n>=4){for(l=o.length,s=0;l>s;s++)if((r=o[s])!==t)r._gc||r._kill(null,e,t)&&(a=!0);else if(5===n)break;return a}var d,u=t._startTime+c,h=[],p=0,f=0===t._duration;for(s=o.length;--s>-1;)(r=o[s])===t||r._gc||r._paused||(r._timeline!==t._timeline?(d=d||Q(t,0,f),0===Q(r,d,f)&&(h[p++]=r)):u>=r._startTime&&r._startTime+r.totalDuration()/r._timeScale>u&&((f||!r._initted)&&2e-10>=u-r._startTime||(h[p++]=r)));for(s=p;--s>-1;)if(r=h[s],2===n&&r._kill(i,e,t)&&(a=!0),2!==n||!r._firstPT&&r._initted){if(2!==n&&!Y(r,t))continue;r._enabled(!1,!1)&&(a=!0)}return a},Q=function(e,t,i){for(var n=e._timeline,o=n._timeScale,s=e._startTime;n._timeline;){if(s+=n._startTime,o*=n._timeScale,n._paused)return-100;n=n._timeline}return(s/=o)>t?s-t:i&&s===t||!e._initted&&2*c>s-t?c:(s+=e.totalDuration()/e._timeScale/o)>t+c?0:s-t-c};s._init=function(){var e,t,i,n,o,s=this.vars,a=this._overwrittenProps,r=this._duration,l=!!s.immediateRender,d=s.ease;if(s.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),o={},s.startAt)o[n]=s.startAt[n];if(o.overwrite=!1,o.immediateRender=!0,o.lazy=l&&!1!==s.lazy,o.startAt=o.delay=null,this._startAt=A.to(this.target,0,o),l)if(this._time>0)this._startAt=null;else if(0!==r)return}else if(s.runBackwards&&0!==r)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(l=!1),i={},s)H[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==s.lazy,i.immediateRender=l,this._startAt=A.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=d=d?d instanceof y?d:"function"==typeof d?new y(d,s.easeParams):_[d]||A.defaultEase:A.defaultEase,s.easeParams instanceof Array&&d.config&&(this._ease=d.config.apply(d,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length;--e>-1;)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],a?a[e]:null)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,a);if(t&&A._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0},s._initProps=function(t,i,n,o){var s,a,r,l,d,c;if(null==t)return!1;for(s in M[t._gsTweenID]&&U(),this.vars.css||t.style&&t!==e&&t.nodeType&&j.css&&!1!==this.vars.autoCSS&&function(e,t){var i,n={};for(i in e)H[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!j[i]||j[i]&&j[i]._autoCSS)||(n[i]=e[i],delete e[i]);e.css=n}(this.vars,t),this.vars){if(c=this.vars[s],H[s])c&&(c instanceof Array||c.push&&p(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[s]=c=this._swapSelfInParams(c,this));else if(j[s]&&(l=new j[s])._onInitTween(t,this.vars[s],this)){for(this._firstPT=d={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:s,pg:!0,pr:l._priority},a=l._overwriteProps.length;--a>-1;)i[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(r=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[s]=d={_next:this._firstPT,t:t,p:s,f:"function"==typeof t[s],n:s,pg:!1,pr:0},d.s=d.f?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(t[s]),d.c="string"==typeof c&&"="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*Number(c.substr(2)):Number(c)-d.s||0;d&&d._next&&(d._next._prev=d)}return o&&this._kill(o,t)?this._initProps(t,i,n,o):this._overwrite>1&&this._firstPT&&n.length>1&&W(t,this,i,this._overwrite,n)?(this._kill(i,t),this._initProps(t,i,n,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(M[t._gsTweenID]=!0),r)},s.render=function(e,t,i){var n,o,s,a,r=this._time,l=this._duration,d=this._rawPrevTime;if(e>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,o="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(0===e||0>d||d===c&&"isPause"!==this.data)&&d!==e&&(i=!0,d>c&&(o="onReverseComplete")),this._rawPrevTime=a=!t||e||d===e?e:c);else if(1e-7>e)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==r||0===l&&d>0)&&(o="onReverseComplete",n=this._reversed),0>e&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(d>=0&&(d!==c||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!t||e||d===e?e:c)),this._initted||(i=!0);else if(this._totalTime=this._time=e,this._easeType){var u=e/l,h=this._easeType,p=this._easePower;(1===h||3===h&&u>=.5)&&(u=1-u),3===h&&(u*=2),1===p?u*=u:2===p?u*=u*u:3===p?u*=u*u*u:4===p&&(u*=u*u*u*u),this.ratio=1===h?1-u:2===h?u:.5>e/l?u/2:1-u/2}else this.ratio=this._ease.getRatio(e/l);if(this._time!==r||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=r,this._rawPrevTime=d,O.push(this),void(this._lazy=[e,t]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==r&&e>=0&&(this._active=!0),0===r&&(this._startAt&&(e>=0?this._startAt.render(e,t,i):o||(o="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(t||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>e&&this._startAt&&-1e-4!==e&&this._startAt.render(e,t,i),t||(this._time!==r||n)&&this._callback("onUpdate")),o&&(!this._gc||i)&&(0>e&&this._startAt&&!this._onUpdate&&-1e-4!==e&&this._startAt.render(e,t,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o),0===l&&this._rawPrevTime===c&&a!==c&&(this._rawPrevTime=0))}},s._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:A.selector(t)||t;var n,o,s,a,r,l,d,c,u,h=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((p(t)||I(t))&&"number"!=typeof t[0])for(n=t.length;--n>-1;)this._kill(e,t[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(t===this._targets[n]){r=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],o=this._overwrittenProps[n]=e?this._overwrittenProps[n]||{}:"all";break}}else{if(t!==this.target)return!1;r=this._propLookup,o=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(r){if(d=e||r,c=e!==o&&"all"!==o&&e!==r&&("object"!=typeof e||!e._tempKill),i&&(A.onOverwrite||this.vars.onOverwrite)){for(s in d)r[s]&&(u||(u=[]),u.push(s));if((u||!e)&&!Y(this,i,t,u))return!1}for(s in d)(a=r[s])&&(h&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(d)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete r[s]),c&&(o[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},s.invalidate=function(){return this._notifyPluginsOfEnabled&&A._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],P.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-c,this.render(-this._delay)),this},s._enabled=function(e,t){if(r||a.wake(),e&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=X(n[i],this,!0);else this._siblings=X(this.target,this,!0)}return P.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&A._onPluginEvent(e?"_onEnable":"_onDisable",this)},A.to=function(e,t,i){return new A(e,t,i)},A.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new A(e,t,i)},A.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new A(e,t,n)},A.delayedCall=function(e,t,i,n,o){return new A(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:o,overwrite:0})},A.set=function(e,t){return new A(e,0,t)},A.getTweensOf=function(e,t){if(null==e)return[];var i,n,o,s;if(e="string"!=typeof e?e:A.selector(e)||e,(p(e)||I(e))&&"number"!=typeof e[0]){for(i=e.length,n=[];--i>-1;)n=n.concat(A.getTweensOf(e[i],t));for(i=n.length;--i>-1;)for(s=n[i],o=i;--o>-1;)s===n[o]&&n.splice(i,1)}else for(i=(n=X(e).concat()).length;--i>-1;)(n[i]._gc||t&&!n[i].isActive())&&n.splice(i,1);return n},A.killTweensOf=A.killDelayedCallsTo=function(e,t,i){"object"==typeof t&&(i=t,t=!1);for(var n=A.getTweensOf(e,t),o=n.length;--o>-1;)n[o]._kill(i,e)};var G=g("plugins.TweenPlugin",(function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=G.prototype}),!0);if(s=G.prototype,G.version="1.10.1",G.API=2,s._firstPT=null,s._addTween=function(e,t,i,n,o,s){var a,r;return null!=n&&(a="number"==typeof n||"="!==n.charAt(1)?Number(n)-Number(i):parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))?(this._firstPT=r={_next:this._firstPT,t:e,p:t,s:i,c:a,f:"function"==typeof e[t],n:o||t,r:s},r._next&&(r._next._prev=r),r):void 0},s.setRatio=function(e){for(var t,i=this._firstPT,n=1e-6;i;)t=i.c*e+i.s,i.r?t=Math.round(t):n>t&&t>-n&&(t=0),i.f?i.t[i.p](t):i.t[i.p]=t,i=i._next},s._kill=function(e){var t,i=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;n;)null!=e[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},s._roundProps=function(e,t){for(var i=this._firstPT;i;)(e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&(i.r=t),i=i._next},A._onPluginEvent=function(e,t){var i,n,o,s,a,r=t._firstPT;if("_onInitAllProps"===e){for(;r;){for(a=r._next,n=o;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:s)?r._prev._next=r:o=r,(r._next=n)?n._prev=r:s=r,r=a}r=t._firstPT=o}for(;r;)r.pg&&"function"==typeof r.t[e]&&r.t[e]()&&(i=!0),r=r._next;return i},G.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===G.API&&(j[(new e[t])._propName]=e[t]);return!0},m.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,n=e.priority||0,o=e.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=g("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){G.call(this,i,n),this._overwriteProps=o||[]}),!0===e.global),r=a.prototype=new G(i);for(t in r.constructor=a,a.API=e.API,s)"function"==typeof e[t]&&(r[s[t]]=e[t]);return a.version=e.version,G.activate([a]),a},n=e._gsQueue){for(o=0;n.length>o;o++)n[o]();for(s in f)f[s].func||e.console.log("GSAP encountered missing dependency: com.greensock."+s)}r=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(e,t){"function"==typeof define&&define.amd?define([],(function(){return e.svg4everybody=t()})):"object"==typeof module&&module.exports?module.exports=t():e.svg4everybody=t()}(this,(function(){function e(e,t,i,n){if(i){var o=document.createDocumentFragment(),s=!t.hasAttribute("viewBox")&&i.getAttribute("viewBox");s&&t.setAttribute("viewBox",s);for(var a=document.importNode?document.importNode(i,!0):i.cloneNode(!0),r=document.createElementNS(t.namespaceURI||"http://www.w3.org/2000/svg","g");a.childNodes.length;)r.appendChild(a.firstChild);if(n)for(var l=0;n.attributes.length>l;l++){var d=n.attributes[l];"xlink:href"!==d.name&&"href"!==d.name&&r.setAttribute(d.name,d.value)}o.appendChild(r),e.appendChild(o)}}function t(t,i){t.onreadystatechange=function(){if(4===t.readyState){var n=t._cachedDocument;n||((n=t._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=t.responseText,t._cachedTarget={}),t._embeds.splice(0).map((function(o){var s=t._cachedTarget[o.id];s||(s=t._cachedTarget[o.id]=n.getElementById(o.id)),e(o.parent,o.svg,s,i)}))}},t.onreadystatechange()}function i(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}return function(n){var o,s=Object(n),a=window.top!==window.self;o="polyfill"in s?s.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&a;var r={},l=window.requestAnimationFrame||setTimeout,d=document.getElementsByTagName("use"),c=0;o&&function n(){for(var a=0;a<d.length;){var u=d[a],h=u.parentNode,p=i(h);if(p){var f=u.getAttribute("xlink:href")||u.getAttribute("href");if(o)if(!s.validate||s.validate(f,p,u)){h.removeChild(u);var w=f.split("#"),m=w.shift(),g=w.join("#");if(m.length){var v=r[m];v||((v=r[m]=new XMLHttpRequest).open("GET",m),v.send(),v._embeds=[]),v._embeds.push({parent:h,svg:p,id:g}),t(v,u)}else e(h,p,document.getElementById(g),u)}else++a,++c}else++a}(!d.length||d.length-c>0)&&l(n,67)}()}})),svg4everybody(),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,(function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(i){return t(e,i)})):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e,t,o){if(!(this instanceof n))return new n(e,t,o);var s=e;return"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=function(e){return Array.isArray(e)?e:"object"==typeof e&&"number"==typeof e.length?l.call(e):[e]}(s),this.options=i({},this.options),"function"==typeof t?o=t:i(this.options,t),o&&this.on("always",o),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void r.error("Bad element for imagesLoaded "+(s||e))}function o(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var a=e.jQuery,r=e.console,l=Array.prototype.slice;n.prototype=Object.create(t.prototype),n.prototype.options={},n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},n.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&d[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var a=s[n];this.addElementBackgroundImages(a)}}}};var d={1:!0,9:!0,11:!0};return n.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},n.prototype.addImage=function(e){var t=new o(e);this.images.push(t)},n.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},n.prototype.check=function(){function e(e,i,n){setTimeout((function(){t.progress(e,i,n)}))}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach((function(t){t.once("progress",e),t.check()})):void this.complete()},n.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,e,t)},n.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},o.prototype=Object.create(t.prototype),o.prototype.check=function(){return this.getIsImageComplete()?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))},o.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},o.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},o.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(o.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},n.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(e,t){return new n(this,e,t).jqDeferred.promise(a(this))})},n.makeJQueryPlugin(),n})),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e("undefined"!=typeof jQuery?jQuery:window.Zepto)}((function(e){"use strict";function t(t){var i=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).ajaxSubmit(i))}function i(t){var i=t.target,n=e(i);if(!n.is("[type=submit],[type=image]")){var o=n.closest("[type=submit]");if(0===o.length)return;i=o[0]}var s=this;if(s.clk=i,"image"==i.type)if(void 0!==t.offsetX)s.clk_x=t.offsetX,s.clk_y=t.offsetY;else if("function"==typeof e.fn.offset){var a=n.offset();s.clk_x=t.pageX-a.left,s.clk_y=t.pageY-a.top}else s.clk_x=t.pageX-i.offsetLeft,s.clk_y=t.pageY-i.offsetTop;setTimeout((function(){s.clk=s.clk_x=s.clk_y=null}),100)}function n(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}var o={};o.fileapi=void 0!==e("<input type='file'/>").get(0).files,o.formdata=void 0!==window.FormData;var s=!!e.fn.prop;e.fn.attr2=function(){if(!s)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t){function i(i){function o(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(e){n("cannot get iframe.contentWindow document: "+e)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(i){n("cannot get iframe.contentDocument: "+i),t=e.document}return t}function r(){var t=d.attr2("target"),i=d.attr2("action"),s=d.attr("enctype")||d.attr("encoding")||"multipart/form-data";S.setAttribute("target",w),(!a||/post/i.test(a))&&S.setAttribute("method","POST"),i!=h.url&&S.setAttribute("action",h.url),h.skipEncodingOverride||a&&!/post/i.test(a)||d.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),h.timeout&&(T=setTimeout((function(){_=!0,l(x)}),h.timeout));var r=[];try{if(h.extraData)for(var c in h.extraData)h.extraData.hasOwnProperty(c)&&r.push(e.isPlainObject(h.extraData[c])&&h.extraData[c].hasOwnProperty("name")&&h.extraData[c].hasOwnProperty("value")?e('<input type="hidden" name="'+h.extraData[c].name+'">').val(h.extraData[c].value).appendTo(S)[0]:e('<input type="hidden" name="'+c+'">').val(h.extraData[c]).appendTo(S)[0]);h.iframeTarget||m.appendTo("body"),g.attachEvent?g.attachEvent("onload",l):g.addEventListener("load",l,!1),setTimeout((function e(){try{var t=o(g).readyState;n("state = "+t),t&&"uninitialized"==t.toLowerCase()&&setTimeout(e,50)}catch(e){n("Server abort: ",e," (",e.name,")"),l(C),T&&clearTimeout(T),T=void 0}}),15);try{S.submit()}catch(e){document.createElement("form").submit.apply(S)}}finally{S.setAttribute("action",i),S.setAttribute("enctype",s),t?S.setAttribute("target",t):d.removeAttr("target"),e(r).remove()}}function l(t){if(!v.aborted&&!A){if((D=o(g))||(n("cannot access response document"),t=C),t===x&&v)return v.abort("timeout"),void $.reject(v,"timeout");if(t==C&&v)return v.abort("server abort"),void $.reject(v,"error","server abort");if(D&&D.location.href!=h.iframeSrc||_){g.detachEvent?g.detachEvent("onload",l):g.removeEventListener("load",l,!1);var i,s="success";try{if(_)throw"timeout";var a="xml"==h.dataType||D.XMLDocument||e.isXMLDoc(D);if(n("isXml="+a),!a&&window.opera&&(null===D.body||!D.body.innerHTML)&&--I)return n("requeing onLoad callback, DOM not available"),void setTimeout(l,250);var r=D.body?D.body:D.documentElement;v.responseText=r?r.innerHTML:null,v.responseXML=D.XMLDocument?D.XMLDocument:D,a&&(h.dataType="xml"),v.getResponseHeader=function(e){return{"content-type":h.dataType}[e.toLowerCase()]},r&&(v.status=Number(r.getAttribute("status"))||v.status,v.statusText=r.getAttribute("statusText")||v.statusText);var d=(h.dataType||"").toLowerCase(),c=/(json|script|text)/.test(d);if(c||h.textarea){var u=D.getElementsByTagName("textarea")[0];if(u)v.responseText=u.value,v.status=Number(u.getAttribute("status"))||v.status,v.statusText=u.getAttribute("statusText")||v.statusText;else if(c){var p=D.getElementsByTagName("pre")[0],w=D.getElementsByTagName("body")[0];p?v.responseText=p.textContent?p.textContent:p.innerText:w&&(v.responseText=w.textContent?w.textContent:w.innerText)}}else"xml"==d&&!v.responseXML&&v.responseText&&(v.responseXML=O(v.responseText));try{E=L(v,d,h)}catch(e){s="parsererror",v.error=i=e||s}}catch(e){n("error caught: ",e),s="error",v.error=i=e||s}v.aborted&&(n("upload aborted"),s=null),v.status&&(s=v.status>=200&&v.status<300||304===v.status?"success":"error"),"success"===s?(h.success&&h.success.call(h.context,E,"success",v),$.resolve(v.responseText,"success",v),f&&e.event.trigger("ajaxSuccess",[v,h])):s&&(void 0===i&&(i=v.statusText),h.error&&h.error.call(h.context,v,s,i),$.reject(v,"error",i),f&&e.event.trigger("ajaxError",[v,h,i])),f&&e.event.trigger("ajaxComplete",[v,h]),f&&!--e.active&&e.event.trigger("ajaxStop"),h.complete&&h.complete.call(h.context,v,s),A=!0,h.timeout&&clearTimeout(T),setTimeout((function(){h.iframeTarget?m.attr("src",h.iframeSrc):m.remove(),v.responseXML=null}),100)}}}var c,u,h,f,w,m,g,v,b,y,_,T,S=d[0],$=e.Deferred();if($.abort=function(e){v.abort(e)},i)for(u=0;u<p.length;u++)c=e(p[u]),s?c.prop("disabled",!1):c.removeAttr("disabled");if((h=e.extend(!0,{},e.ajaxSettings,t)).context=h.context||h,w="jqFormIO"+(new Date).getTime(),h.iframeTarget?(y=(m=e(h.iframeTarget)).attr2("name"))?w=y:m.attr2("name",w):(m=e('<iframe name="'+w+'" src="'+h.iframeSrc+'" />')).css({position:"absolute",top:"-1000px",left:"-1000px"}),g=m[0],v={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var i="timeout"===t?"timeout":"aborted";n("aborting upload... "+i),this.aborted=1;try{g.contentWindow.document.execCommand&&g.contentWindow.document.execCommand("Stop")}catch(e){}m.attr("src",h.iframeSrc),v.error=i,h.error&&h.error.call(h.context,v,i,t),f&&e.event.trigger("ajaxError",[v,h,i]),h.complete&&h.complete.call(h.context,v,i)}},(f=h.global)&&0==e.active++&&e.event.trigger("ajaxStart"),f&&e.event.trigger("ajaxSend",[v,h]),h.beforeSend&&!1===h.beforeSend.call(h.context,v,h))return h.global&&e.active--,$.reject(),$;if(v.aborted)return $.reject(),$;(b=S.clk)&&((y=b.name)&&!b.disabled&&(h.extraData=h.extraData||{},h.extraData[y]=b.value,"image"==b.type&&(h.extraData[y+".x"]=S.clk_x,h.extraData[y+".y"]=S.clk_y)));var x=1,C=2,k=e("meta[name=csrf-token]").attr("content"),P=e("meta[name=csrf-param]").attr("content");P&&k&&(h.extraData=h.extraData||{},h.extraData[P]=k),h.forceSync?r():setTimeout(r,10);var E,D,A,I=50,O=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},M=e.parseJSON||function(e){return window.eval("("+e+")")},L=function(t,i,n){var o=t.getResponseHeader("content-type")||"",s="xml"===i||!i&&o.indexOf("xml")>=0,a=s?t.responseXML:t.responseText;return s&&"parsererror"===a.documentElement.nodeName&&e.error&&e.error("parsererror"),n&&n.dataFilter&&(a=n.dataFilter(a,i)),"string"==typeof a&&("json"===i||!i&&o.indexOf("json")>=0?a=M(a):("script"===i||!i&&o.indexOf("javascript")>=0)&&e.globalEval(a)),a};return $}if(!this.length)return n("ajaxSubmit: skipping submit process - no element selected"),this;var a,r,l,d=this;"function"==typeof t?t={success:t}:void 0===t&&(t={}),a=t.type||this.attr2("method"),(l=(l="string"==typeof(r=t.url||this.attr2("action"))?e.trim(r):"")||window.location.href||"")&&(l=(l.match(/^([^#]+)/)||[])[1]),t=e.extend(!0,{url:l,success:e.ajaxSettings.success,type:a||e.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t);var c={};if(this.trigger("form-pre-serialize",[this,t,c]),c.veto)return n("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&!1===t.beforeSerialize(this,t))return n("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var u=t.traditional;void 0===u&&(u=e.ajaxSettings.traditional);var h,p=[],f=this.formToArray(t.semantic,p);if(t.data&&(t.extraData=t.data,h=e.param(t.data,u)),t.beforeSubmit&&!1===t.beforeSubmit(f,this,t))return n("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[f,this,t,c]),c.veto)return n("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var w=e.param(f,u);h&&(w=w?w+"&"+h:h),"GET"==t.type.toUpperCase()?(t.url+=(t.url.indexOf("?")>=0?"&":"?")+w,t.data=null):t.data=w;var m=[];if(t.resetForm&&m.push((function(){d.resetForm()})),t.clearForm&&m.push((function(){d.clearForm(t.includeHidden)})),!t.dataType&&t.target){var g=t.success||function(){};m.push((function(i){var n=t.replaceTarget?"replaceWith":"html";e(t.target)[n](i).each(g,arguments)}))}else t.success&&m.push(t.success);if(t.success=function(e,i,n){for(var o=t.context||this,s=0,a=m.length;a>s;s++)m[s].apply(o,[e,i,n||d,d])},t.error){var v=t.error;t.error=function(e,i,n){var o=t.context||this;v.apply(o,[e,i,n,d])}}if(t.complete){var b=t.complete;t.complete=function(e,i){var n=t.context||this;b.apply(n,[e,i,d])}}var y=e("input[type=file]:enabled",this).filter((function(){return""!==e(this).val()})).length>0,_="multipart/form-data",T=d.attr("enctype")==_||d.attr("encoding")==_,S=o.fileapi&&o.formdata;n("fileAPI :"+S);var $,x=(y||T)&&!S;!1!==t.iframe&&(t.iframe||x)?t.closeKeepAlive?e.get(t.closeKeepAlive,(function(){$=i(f)})):$=i(f):$=(y||T)&&S?function(i){for(var n=new FormData,o=0;o<i.length;o++)n.append(i[o].name,i[o].value);if(t.extraData){var s=function(i){var n,o,s=e.param(i,t.traditional).split("&"),a=s.length,r=[];for(n=0;a>n;n++)s[n]=s[n].replace(/\+/g," "),o=s[n].split("="),r.push([decodeURIComponent(o[0]),decodeURIComponent(o[1])]);return r}(t.extraData);for(o=0;o<s.length;o++)s[o]&&n.append(s[o][0],s[o][1])}t.data=null;var r=e.extend(!0,{},e.ajaxSettings,t,{contentType:!1,processData:!1,cache:!1,type:a||"POST"});t.uploadProgress&&(r.xhr=function(){var i=e.ajaxSettings.xhr();return i.upload&&i.upload.addEventListener("progress",(function(e){var i=0,n=e.loaded||e.position,o=e.total;e.lengthComputable&&(i=Math.ceil(n/o*100)),t.uploadProgress(e,n,o,i)}),!1),i}),r.data=null;var l=r.beforeSend;return r.beforeSend=function(e,i){i.data=t.formData?t.formData:n,l&&l.call(this,e,i)},e.ajax(r)}(f):e.ajax(t),d.removeData("jqxhr").data("jqxhr",$);for(var C=0;C<p.length;C++)p[C]=null;return this.trigger("form-submit-notify",[this,t]),this},e.fn.ajaxForm=function(o){if((o=o||{}).delegation=o.delegation&&e.isFunction(e.fn.on),!o.delegation&&0===this.length){var s={s:this.selector,c:this.context};return!e.isReady&&s.s?(n("DOM not ready, queuing ajaxForm"),e((function(){e(s.s,s.c).ajaxForm(o)})),this):(n("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this)}return o.delegation?(e(document).off("submit.form-plugin",this.selector,t).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,o,t).on("click.form-plugin",this.selector,o,i),this):this.ajaxFormUnbind().bind("submit.form-plugin",o,t).bind("click.form-plugin",o,i)},e.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},e.fn.formToArray=function(t,i){var n=[];if(0===this.length)return n;var s,a,r,l,d,c,u,h,p=this[0],f=this.attr("id"),w=t?p.getElementsByTagName("*"):p.elements;if(w&&!/MSIE [678]/.test(navigator.userAgent)&&(w=e(w).get()),f&&((s=e(':input[form="'+f+'"]').get()).length&&(w=(w||[]).concat(s))),!w||!w.length)return n;for(a=0,u=w.length;u>a;a++)if((l=(c=w[a]).name)&&!c.disabled)if(t&&p.clk&&"image"==c.type)p.clk==c&&(n.push({name:l,value:e(c).val(),type:c.type}),n.push({name:l+".x",value:p.clk_x},{name:l+".y",value:p.clk_y}));else if((d=e.fieldValue(c,!0))&&d.constructor==Array)for(i&&i.push(c),r=0,h=d.length;h>r;r++)n.push({name:l,value:d[r]});else if(o.fileapi&&"file"==c.type){i&&i.push(c);var m=c.files;if(m.length)for(r=0;r<m.length;r++)n.push({name:l,value:m[r],type:c.type});else n.push({name:l,value:"",type:c.type})}else null!=d&&(i&&i.push(c),n.push({name:l,value:d,type:c.type,required:c.required}));if(!t&&p.clk){var g=e(p.clk),v=g[0];(l=v.name)&&!v.disabled&&"image"==v.type&&(n.push({name:l,value:g.val()}),n.push({name:l+".x",value:p.clk_x},{name:l+".y",value:p.clk_y}))}return n},e.fn.formSerialize=function(t){return e.param(this.formToArray(t))},e.fn.fieldSerialize=function(t){var i=[];return this.each((function(){var n=this.name;if(n){var o=e.fieldValue(this,t);if(o&&o.constructor==Array)for(var s=0,a=o.length;a>s;s++)i.push({name:n,value:o[s]});else null!=o&&i.push({name:this.name,value:o})}})),e.param(i)},e.fn.fieldValue=function(t){for(var i=[],n=0,o=this.length;o>n;n++){var s=this[n],a=e.fieldValue(s,t);null==a||a.constructor==Array&&!a.length||(a.constructor==Array?e.merge(i,a):i.push(a))}return i},e.fieldValue=function(t,i){var n=t.name,o=t.type,s=t.tagName.toLowerCase();if(void 0===i&&(i=!0),i&&(!n||t.disabled||"reset"==o||"button"==o||("checkbox"==o||"radio"==o)&&!t.checked||("submit"==o||"image"==o)&&t.form&&t.form.clk!=t||"select"==s&&-1==t.selectedIndex))return null;if("select"==s){var a=t.selectedIndex;if(0>a)return null;for(var r=[],l=t.options,d="select-one"==o,c=d?a+1:l.length,u=d?a:0;c>u;u++){var h=l[u];if(h.selected){var p=h.value;if(p||(p=h.attributes&&h.attributes.value&&!h.attributes.value.specified?h.text:h.value),d)return p;r.push(p)}}return r}return e(t).val()},e.fn.clearForm=function(t){return this.each((function(){e("input,select,textarea",this).clearFields(t)}))},e.fn.clearFields=e.fn.clearInputs=function(t){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each((function(){var n=this.type,o=this.tagName.toLowerCase();i.test(n)||"textarea"==o?this.value="":"checkbox"==n||"radio"==n?this.checked=!1:"select"==o?this.selectedIndex=-1:"file"==n?/MSIE/.test(navigator.userAgent)?e(this).replaceWith(e(this).clone(!0)):e(this).val(""):t&&(!0===t&&/hidden/.test(n)||"string"==typeof t&&e(this).is(t))&&(this.value="")}))},e.fn.resetForm=function(){return this.each((function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()}))},e.fn.enable=function(e){return void 0===e&&(e=!0),this.each((function(){this.disabled=!e}))},e.fn.selected=function(t){return void 0===t&&(t=!0),this.each((function(){var i=this.type;if("checkbox"==i||"radio"==i)this.checked=t;else if("option"==this.tagName.toLowerCase()){var n=e(this).parent("select");t&&n[0]&&"select-one"==n[0].type&&n.find("option").selected(!1),this.selected=t}}))},e.fn.ajaxSubmit.debug=!1})),$.cookie=function(e,t,i){if(arguments.length>1&&"[object Object]"!==String(t)){if(i=$.extend({},i),null==t&&(i.expires=-1),"number"==typeof i.expires){var n=i.expires,o=i.expires=new Date;o.setDate(o.getDate()+n)}return t=String(t),document.cookie=[encodeURIComponent(e),"=",i.raw?t:encodeURIComponent(t),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}var s,a=(i=t||{}).raw?function(e){return e}:decodeURIComponent;return(s=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?a(s[1]):null},function(e){var t=e.event.dispatch||e.event.handle,i=e.event.special,n="D"+ +new Date,o="D"+(+new Date+1);i.scrollstart={setup:function(o){var s,a=e.extend({latency:i.scrollstop.latency},o),r=function(e){var i=this,n=arguments;s?clearTimeout(s):(e.type="scrollstart",t.apply(i,n)),s=setTimeout((function(){s=null}),a.latency)};e(this).bind("scroll",r).data(n,r)},teardown:function(){e(this).unbind("scroll",e(this).data(n))}},i.scrollstop={latency:250,setup:function(n){var s,a=e.extend({latency:i.scrollstop.latency},n),r=function(e){var i=this,n=arguments;s&&clearTimeout(s),s=setTimeout((function(){s=null,e.type="scrollstop",t.apply(i,n)}),a.latency)};e(this).bind("scroll",r).data(o,r)},teardown:function(){e(this).unbind("scroll",e(this).data(o))}}}(jQuery),window.isMobile=!1,/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(window.isMobile=!0),window.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,window.isSafari=/^((?!chrome).)*safari/i.test(navigator.userAgent),window.isChrome=/chrom(e|ium)/.test(navigator.userAgent.toLowerCase()),window.isChromeiOS=navigator.userAgent.match("CriOS"),window.isMSIE=navigator.userAgent.match("MSIE")||navigator.userAgent.match("Windows NT")&&navigator.userAgent.match("rv:11.0"),window.isEdge=navigator.userAgent.match("Edge"),window.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>-1,window.isiPad=null!==navigator.userAgent.match(/iPad/i),window.isWindows=-1!==navigator.platform.toUpperCase().indexOf("WIN"),window.isOSX=-1!==navigator.platform.toUpperCase().indexOf("MAC"),window.isLinux=-1!==navigator.platform.toUpperCase().indexOf("LINUX"),window.isOSX&&navigator.maxTouchPoints&&(window.isMobile=!0),window.isRetina=window.matchMedia&&(window.matchMedia("only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3)").matches)||window.devicePixelRatio&&window.devicePixelRatio>1.3,window.debug=window.debug?window.debug:0,-1!=window.location.href.indexOf("slidesDebug")&&(window.debug=1),window.scrollDebug=window.scrollDebug?window.scrollDebug:0,-1!=window.location.href.indexOf("slidesScrollDebug")&&(window.scrollDebug=1),window.inAction=1,window.allowSlide=1,window.blockScroll=1,window.effectOffset=500,window.effectSpeed=1e3,window.slideSpeed=1e3,window.cleanupDelay=1400,window.horizontalMode=0,window.sidebarShown=0,window.loadingProgress=0,window.smoothScroll=0,window.stickyScroll=0,window.stickyScrollEffectSpeed=500,window.scrollSpeed=500,window.preload=1,window.setHashLink=1,window.hideSidebarOnBodyClick=1,window.collectScrolls=0,window.sliderStatus=0,window.minScrollToSlide=200,window.isAndroid&&(window.minScrollToSlide=50),window.isSafari&&window.isMobile&&(window.minScrollToSlide=70),window.awaitToSlideDown=300,window.hideOnScrollSensitivity=100,window.allowParallaxOnMobile=1,window.hidePopupOnBodyClick=1,window.disableKeyNavigation=0;var $html=$("html"),$body=$("body"),navParent=$(".navigation"),navigation=$(navParent).find("ul"),slidesNumber=$(".slide:not(.exclude)").length;function runTheCode(){window.debug&&console.log("%c runTheCode()","color:GreenYellow"),$html.addClass("page-loaded"),window.inAction=0,window.blockScroll=0,window.loaded=1,setTimeout((function(){window.isScroll&&(updateScroll(),updateNavigation()),window.isMobile&&window.isSimplifiedMobile?($(".slide").addClass("selected animate active"),updateScroll(),updateNavigation()):showSlide(window.stage)}),500)}function updateHash(){var e=window.location.href.split("#")[1];if(e){if($('.slide[data-name="'+e+'"]').length>0){var t=$('.slide[data-name="'+e+'"]');if(window.isMobile&&window.isSimplifiedMobile||window.isScroll){if(t.length)if(!window.preload||window.loaded){var i=t.position().top;$("html,body").stop().clearQueue().animate({scrollTop:i},window.effectSpeed,(function(){i!=t.position().top&&(1==window.loaded?$("html,body").stop().clearQueue().animate({scrollTop:t.position().top},window.effectSpeed):$(window).on("load",(function(){$("html,body").stop().clearQueue().animate({scrollTop:t.position().top},window.effectSpeed)})))}))}else $(window).on("load",(function(){$("html,body").stop().clearQueue().animate({scrollTop:t.position().top},window.effectSpeed)}))}else window.stage=$(".slide").index(t)+1,showSlide(window.stage)}-1!=e.indexOf("slidesDebug")&&(window.debug=1),-1!=e.indexOf("slidesScrollDebug")&&(0==$("#slidesScrollDebug").length&&$("body").append('<div class="black padding-1 fixed position-top position-left position-right font-size-12" style="z-index:9999;" id="slidesScrollDebug"></div>'),window.scrollDebug=1)}(window.scrollDebug||-1!=window.location.href.indexOf("slidesScrollDebug"))&&(0==$("#slidesScrollDebug").length&&$("body").append('<div class="black padding-1 fixed position-top position-left position-right font-size-12" style="z-index:9999;" id="slidesScrollDebug"></div>'),window.scrollDebug=1),window.debug&&console.log("%c updateHash()","color:Lime")}function showSlide(e){if(e=parseInt(e),window.debug&&console.log("%c showSlide("+e+")","color:LimeGreen"),!(window.isMobile&&window.isSimplifiedMobile||window.isScroll)){updateNavigation();var t=$(".slide").eq(e-1),i=$(".slide.selected"),n=i.index(".slide")+1;hideDropdown(),unzoomImage(),hideSidebar(),window.allowSlide=1,$body.removeClass("sidebarShown lastSlide firstSlide hidePanel-top hidePanel-bottom"),0!=window.setStageClasses&&(1===window.stage&&$body.addClass("firstSlide"),window.stages===window.stage&&1!==window.stages&&$body.addClass("lastSlide"),$body.removeClassByPrefix("stage-").addClass("stage-"+window.stage)),t.hasClass("whiteSlide")?$body.addClass("whiteSlide"):$body.removeClass("whiteSlide"),n!==e&&0!=window.setStageClasses&&(i.removeClass("selected").addClass("active"),t.removeClass("before after").addClass("selected active"),t.prevAll(".slide").addClass("before").removeClass("after"),t.nextAll(".slide").addClass("after").removeClass("before"),$(window).trigger("slideChange",[parseInt(e),t])),window.setHashLink&&(t.attr("data-name")||t.attr("id")?window.location.hash=t.attr("data-name")?t.attr("data-name"):t.attr("id"):window.location.toString().indexOf("#")>0&&"file:"!==location.protocol&&location.href.split("#")[0]&&(history.pushState?window.history.pushState("","",location.href.split("#")[0]):window.location.hash="")),t.find(".content, .container").scrollTop(0),window.loaded&&(window.blockScroll=1,setTimeout((function(){n!==e&&(0===window.animationLoop?i.removeClass("active"):i.removeClass("active animate")),window.blockScroll=0}),window.effectSpeed),window.effectOffset>window.slideSpeed&&(window.effectOffset=window.slideSpeed),setTimeout((function(){t.addClass("animate")}),window.slideSpeed-window.effectOffset),0!=window.animationLoop&&$(".done").removeClass("done"),$(".slide.selected [class*='ae-']").one("webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend",(function(){var e=$(this);setTimeout((function(){e.addClass("done")}),window.effectOffset)})))}}function changeSlide(e){if(window.debug&&console.log("%c changeSlide("+e+")","color:PaleGreen"),"increase"===e?e=window.stage+1>=window.stages?window.stages:window.stage+1:"decrease"===e&&(e=window.stage-1<1?1:window.stage-1),$html.removeClass("slideDownAllowed"),window.isMobile&&window.isSimplifiedMobile||window.isScroll){window.stage=e;var t=$(".slide:eq("+(window.stage-1)+")"),i=$(t).offset().top;$("html,body").stop().clearQueue().animate({scrollTop:i},window.effectSpeed)}else if(e!==window.stage&&e<=window.stages&&1!==window.inAction){window.inAction=1,window.stage=e;var n=0;$(".zoom-overlay-open").length>0&&(unzoomImage(),n=550),setTimeout((function(){window.stage=e,showSlide(window.stage),setTimeout((function(){window.inAction=0}),window.slideSpeed)}),n)}$("iframe.autoplay").each((function(){var e=$(this).attr("src").replace("?autoplay=1","?").replace("&autoplay=1","");$(this).attr("src",e)})),$("video.autoplay").each((function(){$(this)[0].pause(),$(this)[0].currentTime=0}))}window.isSafari&&$html.addClass("safari"),window.isFirefox&&$html.addClass("firefox"),window.isChrome&&$html.addClass("chrome"),window.isMSIE&&$html.addClass("msie"),window.isEdge&&$html.addClass("edge"),window.isAndroid&&$html.addClass("android"),window.isWindows&&$html.addClass("windows"),window.isOSX&&$html.addClass("osx"),window.isLinux&&$html.addClass("linux"),window.isMobile?$html.addClass("mobile"):$html.addClass("desktop"),window.isRetina&&$html.addClass("retina");var hideDropdownOnScrollDelay=0;function updateScroll(){window.debug&&console.log("%c updateScroll()","color:LightGreen"),++hideDropdownOnScrollDelay>=2&&(hideDropdown(),hideDropdownOnScrollDelay=0),$(".slide").each((function(e,t){var i=$(t),n=i.index(".slide"),o=$(document).scrollTop(),s=i.offset().top,a=i.height(),r=window.windowHeight/2>a?a/2:window.windowHeight/2,l=s<window.windowHeight+o-r&&s>o-a+r,d=2*((o+window.windowHeight-s)/(window.windowHeight+a)-.5),c=!0;0===o&&(c=0===e),o+window.windowHeight===window.documentHeight&&(c=e===window.stages-1),0!=window.setStageClasses&&(l&&c?(i.prevAll(".slide").addClass("before").removeClass("after"),i.nextAll(".slide").addClass("after").removeClass("before"),i.addClass("selected animate active").removeClass("after before"),window.stage===n+1&&window.firstTimeTrigger||(window.stage=n+1,$(window).trigger("slideChange",[window.stage,i]),1===window.stage?$body.addClass("firstSlide"):$body.removeClass("firstSlide"),window.stages===window.stage?$body.addClass("lastSlide"):$body.removeClass("lastSlide"),$body.removeClassByPrefix("stage-").addClass("stage-"+window.stage),i.hasClass("whiteSlide")?$body.addClass("whiteSlide"):$body.removeClass("whiteSlide"),"auto"==window.isAnimated&&(window.clearElementAnimation=setTimeout((function(){i.find("[class*='ae-']").addClass("done")}),window.effectSpeed+window.cleanupDelay))),window.firstTimeTrigger||(window.firstTimeTrigger=1,$(window).trigger("slideChange",[window.stage,i]))):i.removeClass("selected"),updateNavigation()),(!window.isMobile||window.isMobile&&window.allowParallaxOnMobile)&&d>-1&&d<1&&(i.hasClass("parallax")||i.find(".parallax-element"))&&i.find(".parallax-element").each((function(){var e=$(this),t=parseInt(e.data("parallax-velocity"))?parseInt(e.data("parallax-velocity")):50,i=d*t;t>100&&(t=100),e.css("-webkit-transform","translate3d(0, "+i+"%, 0)").css("transform","translate3d(0, "+i+"%, 0)")}))})),"animateOnEvent"==window.isAnimated&&(window.preload?window.loaded&&$("[class*='ae-']").each((function(e,t){var i=$(t);isElementInView(i)&&i.addClass("do").one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(){$(this).removeClassByPrefix("ae-").removeClass("do").addClass("done")}))})):$("[class*='ae-']:not(.done):not(.do)").each((function(e,t){var i=$(t);isElementInView(i)?i.addClass("do").one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(){$(this).removeClass("do").addClass("done")})):1==window.animationLoop&&(isElementInView(i)||i.removeClass("done do"))})))}function isElementInView(e){window.debug&&console.log("%c isElementInView()","color:MediumSpringGreen"),window.debug&&console.dir(e);var t=$(window).scrollTop(),i=$(e),n=i.height(),o=t+window.windowHeight,s=i.offset().top,a=s+n;return n>=window.windowHeight/5?o>=s+n/5:t<s&&o>a}function updateNavigation(){window.debug&&console.log("%c updateNavigation()","color:SeaGreen"),setTimeout((function(){$(navigation).length>0&&$(navigation).each((function(e,t){$(t).find("li.selected").removeClass("selected");var i=$(".slide.selected"),n=parseInt(i.data("parent-slide-id")),o=i.index(".slide:not(.exclude)");-1!==o?$(t).find("li").eq(o).addClass("selected"):n&&(o=$('.slide[data-slide-id="'+n+'"]').index(".slide:not(.exclude)"),$(t).find("li").eq(o).addClass("selected"))}))}),100)}function updateProgressBar(){window.debug&&console.log("%c updateProgressBar()","color:DarkGreen");var e=window.loadingProgress/window.images;window.progressBar.css("width",100*e+"%"),window.loadingProgress==window.images&&window.progressBar.addClass("loaded")}function unzoomImage(e){window.debug&&console.log("%c unzoomImage()","color:YellowGreen"),$(".zoom-overlay-open").length>0&&($(".zoom-img").click(),e&&$(".zoom-img-wrap, .zoom-overlay").remove())}function showSidebar(e){window.debug&&console.log("%c showSidebar("+e+")","color:OliveDrab");var t=e,i=$('.sidebar[data-sidebar-id="'+t+'"]'),n=$(i).hasClass("animated");window.sidebarShown?hideSidebar():i.length>0&&(window.sidebarShown=1,window.allowSlide=0,$(i).removeClass("animate active").addClass("visible"),$html.addClass("sidebarShown sidebar_"+t),$(i).find(".content").scrollTop(0),n&&(clearTimeout(window.removeAnimationTimeout),setTimeout((function(){$(i).addClass("animate active")}),100)),$(window).trigger("sidebarShown",[t])),hideDropdown()}function hideSidebar(){if(window.debug&&console.log("%c hideSidebar()","color:DarkOliveGreen"),window.sidebarShown){$html.removeClass("sidebarShown").removeClassByPrefix("sidebar_");var e=$(".sidebar.visible");e.removeClass("visible"),window.removeAnimationTimeout=setTimeout((function(){e.removeClass("animate active").find(".done").removeClass("done")}),500),window.sidebarShown=0,window.allowSlide=1,$(window).trigger("sidebarHidden")}}function showPopup(e,t){window.debug&&console.log("%c showPopup("+e+","+t+")","color:MediumAquamarine");var i=e,n=t,o=$('.popup[data-popup-id="'+i+'"]'),s=o.hasClass("animated");if(o.length>0){hideSidebar(),$(o).addClass("visible"),$(window).trigger("popupShown",[e]),$.when(function(){window.debug&&console.log("%c animatePopup()","color:DarkSeaGreen");var e=jQuery.Deferred();return s?setTimeout((function(){$(o).addClass("animate active"),clearTimeout(window.clearPopupElementAnimation),window.clearPopupElementAnimation=setTimeout((function(){$(o).find("[class*='ae-']").addClass("done"),e.resolve("done")}),window.effectSpeed+window.cleanupDelay)}),100):e.resolve("done"),e.promise()}()).then((function(e){n&&$(o).find("#"+n).focus()}),(function(e){}),(function(e){})),$html.addClass("popupShown popup_"+i),$(o).find(".content").scrollTop(0),window.allowSlide=0,window.popupShown||(window.popupShown=[]),window.popupShown.push(i);var a=$(o),r=a.find("iframe"),l=a.find("video");r.length>0&&r.each((function(){var e=$(this),t=e.attr("src")?e.attr("src"):e.data("src"),i=t.indexOf("?")>-1?"&":"?";$(o).hasClass("autoplay")||e.hasClass("autoplay")&&e.closest(".slider li.selected").length?(e.attr("allow","autoplay"),e.attr("src",t+i+"autoplay=1")):e.attr("src")||e.attr("src",t)})),l.length>0&&l.each((function(){var e=$(this);e.find("source[data-src]").length>0&&(e.find("source").each((function(){$(this).attr("src")||$(this).attr("src",$(this).data("src"))})),e[0].load()),($(o).hasClass("autoplay")||e.hasClass("autoplay")&&e.closest(".slider li.selected").length)&&e[0].play()}))}hideDropdown()}function hidePopup(e){if(e=void 0!==e&&e,window.debug&&console.log("%c hidePopup("+e+")","color:LightSeaGreen"),$.isArray(window.popupShown)){var t=e||window.popupShown.slice(-1)[0],i=$('.popup.visible[data-popup-id="'+t+'"]'),n=i.find("iframe[src]"),o=i.find("video");n.length>0&&(i.hasClass("autoplay")||i.find("iframe.autoplay").length)&&$(n).each((function(e,t){var i=$(t).attr("src").replace("?autoplay=1","?").replace("&autoplay=1","");$(t).attr("src",i)})),o.length>0&&$(o).each((function(e,t){$(t)[0].pause(),$(t)[0].currentTime=0})),clearTimeout(window.clearPopupElementAnimation),i.addClass("hidePopup"),$(window).trigger("popupHidden",[e]),setTimeout((function(){if(window.allowSlide=1,i.removeClass("visible animate active hidePopup").removeAttr("style").find(".done").removeClass("done"),$html.removeClass("popup_"+t),$.isArray(window.popupShown)){var e=window.popupShown.indexOf(t);-1!=e&&window.popupShown.splice(e,1)}window.popupShown.length<=0&&($html.removeClass("popupShown"),window.popupShown=!1)}),500)}}function equalizeElements(){window.debug&&console.log("%c equalizeElements()","color:Teal");var e=$(".grid.equal, .flex.equal");e.length&&$(e).each((function(e,t){var i=window.windowWidth,n=$(t).hasClass("later")?767:1024,o=(n=$(t).data("equal-collapse-width")?parseInt($(t).data("equal-collapse-width")):n,$(t).find(".equalElement")),s=$(this).hasClass("equalMobile");if(i>=n||s){var a=0;$(o).each((function(e,t){$(t).css("height","auto"),a<$(t).outerHeight()&&(a=$(t).outerHeight())})),$(t).find(".equalElement").each((function(e,t){$(t).css("height",a+"px")}))}else $(o).css("height","auto")}))}function sliderCounterController(e,t,i){window.debug&&console.log("%c sliderCounterController("+e+","+t+","+i+")","color:PaleTurquoise"),e.length>0&&e.each((function(){var e=$(this);e.find(".now").text(t+1),e.find(".total").text(i.children("li").length)}))}function sliderStopAndPlayVideos(e,t){if(window.debug&&console.log("%c sliderStopAndPlayVideos("+e+","+t+")","color:Aquamarine"),e.find(">li iframe").each((function(){var e=$(this).attr("src");"string"==typeof e&&-1!=e.indexOf("autoplay")&&(e=e.replace("?autoplay=1","?").replace("&autoplay=1",""),$(this).attr("src",e)),"string"==typeof(e=$(this).attr("data-src"))&&-1!=e.indexOf("autoplay")&&(e=e.replace("?autoplay=1","?").replace("&autoplay=1",""),$(this).attr("data-src",e))})),e.find(">li video").each((function(){$(this)[0].pause(),$(this)[0].currentTime=0})),0==e.closest(".popup").length||t){var i=e.find("li.selected iframe.autoplay");if(i.length>0){var n=i.attr("src")?i.attr("src"):i.data("src"),o=n.indexOf("?")>-1?"&":"?";-1==n.indexOf("autoplay")&&(i.attr("allow","autoplay"),i.attr("src",n+o+"autoplay=1"))}var s=e.find("li.selected video.autoplay");s.length>0&&(s.find("source[data-src]").length>0&&s.find("source").each((function(){$(this).attr("src")||$(this).attr("src",$(this).data("src"))})),s[0].load(),s[0].play())}}function showDropdown(e,t){t=void 0!==t&&t,window.debug&&console.log("%c showDropdown("+e+","+t+")","color:Turquoise");var i=e.offset(),n=e.position(),o=window.popupShown?Math.ceil(n.top):Math.ceil(i.top),s=Math.ceil(i.left),a=e.data("dropdown-id"),r=$('.dropdown[data-dropdown-id="'+a+'"]'),l=e.data("dropdown-position")?e.data("dropdown-position"):r.attr("class"),d=0!=r.data("dropdown-set-position"),c=(l=l.split(" "),!1);"number"==typeof window.dropdownInterval&&clearInterval(window.dropdownInterval),t?(c=!1,$(document).mousemove((function(e){c=!($(e.target).attr("data-dropdown-id")!=a&&!$(e.target).closest(".dropdownTrigger.hover[data-dropdown-id="+a+"]").length&&!$(e.target).closest(".dropdown[data-dropdown-id="+a+"]").length)})),window.dropdownInterval=setInterval((function(){c||(hideDropdown(),clearInterval(window.dropdownInterval))}),300)):a!=window.dropdownShown&&hideDropdown(),-1!=l.indexOf("bottom")?(o-=r.outerHeight(),r.removeClass("top").addClass("bottom")):(o+=e.outerHeight(),r.removeClass("bottom").addClass("top")),-1!=l.indexOf("right")?(s=s-r.outerWidth()+e.outerWidth(),r.removeClass("left center").addClass("right")):-1!=l.indexOf("left")?r.removeClass("right center").addClass("left"):-1!=l.indexOf("center")&&(s=s-r.outerWidth()/2+e.outerWidth()/2,r.removeClass("right left").addClass("center")),r.hasClass("hide")&&r.hasClass("show")&&r.removeClass("hide show"),r.addClass("show"),$(".dropdownTrigger.active").removeClass("active"),e.addClass("active"),d&&r.css("top",o).css("left",s),$html.addClass("dropdownShown dropdown_"+a),window.dropdownShown=a,$(window).trigger("dropdownShown",[a])}function hideDropdown(e){e=void 0!==e&&e,window.debug&&console.log("%c hideDropdown()","color:SteelBlue"),window.dropdownShown&&(hideDropdownOnScrollDelay=0,window.dropdownShown=!1,$(".dropdownTrigger.active"+(e?"[data-dropdown-id='"+e+"']":"")).removeClass("active"),$(".dropdown.show"+(e?"[data-dropdown-id='"+e+"']":"")).addClass("hide").one("webkitTransitionEnd otransitionend msTransitionEnd transitionend",(function(){$(this).removeClass("show hide"),$html.removeClass("dropdownShown").removeClassByPrefix("dropdown_")})),$(window).trigger("dropdownHidden",[e]))}$(window).on("load",(function(){window.loaded=1})),$(document).ready((function(){"use strict";if($body=$("body"),$.cookie("slidesDebug")&&(window.debug=1),$.cookie("slidesScrollDebug")&&(window.scrollDebug=1),setTimeout((function(){$(window).trigger("ready")}),1),$body.hide().show(0),window.isScroll=$body.hasClass("scroll"),window.isSimplifiedMobile=$body.hasClass("simplifiedMobile"),(window.isScroll||window.isSimplifiedMobile&&window.isMobile)&&$html.addClass("scrollable"),$html.addClass("page-ready"),$body.hasClass("fast")?(window.slideSpeed=700,window.cleanupDelay=1200,window.effectSpeed=800,window.scrollSpeed=350,window.effectOffset=400):$body.hasClass("slow")&&(window.slideSpeed=1400,window.cleanupDelay=2e3,window.effectSpeed=1400,window.scrollSpeed=800,window.effectOffset=600),window.stage=1,window.stages=$(".slide").length,$body.hasClass("horizontal")&&(window.horizontalMode=1),$body.hasClass("noPreload")&&(window.preload=0),$body.hasClass("animated")?window.isAnimated="auto":$body.hasClass("animateOnEvent")&&(window.isAnimated="animateOnEvent",window.isMobile&&(window.isAnimated="auto",$body.removeClass("animateOnEvent").addClass("animated"))),window.isSimplifiedMobile&&window.isMobile&&(window.isAnimated=!1,$body.removeClass("animated animateOnEvent"),$("[class*='ae-']").addClass("done")),window.isAnimated||(window.cleanupDelay=0),$body.hasClass("smoothScroll")&&!window.isMobile&&(window.smoothScroll=1),$body.hasClass("stickyScroll")&&(window.stickyScroll=1),updateHash(),$(window).on("popstate",(function(e){setTimeout((function(){updateHash()}),100),e.preventDefault()})),window.preload){var e=[];$("*").each((function(){var t,i=$(this);"none"!==i.css("background-image")?t=i.css("background-image").replace(/.*\s?url\([\'\"]?/,"").replace(/[\'\"]?\).*/,""):i.is("img")&&(t=i.attr("src")),t&&!/(repeating-)?(linear|radial)-gradient.+/.test(t)&&e.push(t)})),window.images=e.length,window.progressBar=$(".progress-bar"),$.cacheImage(e,{complete:function(){window.loadingProgress++,updateProgressBar()}}),updateProgressBar()}showSlide(window.stage),window.preload&&window.images&&!window.loaded||runTheCode(),window.loaded||$(window).on("load",(function(){runTheCode()})),$(".animated").on("click","[class*='ae-']:not('.done')",(function(){$(this).addClass("done")})),$(".nextSlide").on("click",(function(){window.changeSlide("increase")})),$(".prevSlide").on("click",(function(){window.changeSlide("decrease")})),$(".toFirstSlide").on("click",(function(){window.changeSlide(1),history.pushState?window.history.pushState("","",location.href.split("#")[0]):window.location.hash="",hideSidebar()})),$(".toLastSlide").on("click",(function(){window.changeSlide(window.stages),history.pushState?window.history.pushState("","",location.href.split("#")[0]):window.location.hash="",hideSidebar()})),$('[class*="toSlide-"]').on("click",(function(){var e=parseInt($(this).attr("class").split("toSlide-")[1].split(" ")[0]);window.changeSlide(e),hideSidebar()})),$(window).on("resize load ready",(function(){$('[data-action="zoom"]').removeAttr("style"),$(".zoom-overlay").length>0&&unzoomImage("fast"),window.windowHeight=$(window).height(),window.windowWidth=$(window).width(),window.documentHeight=$(document).height()}));var t=null;document.addEventListener("touchstart",(function(e){var i=e.touches||e.originalEvent.touches;t=i[0].clientY}),!1);var i,n,o,s,a,r="scroll mousewheel";(r+=void 0!==document.onDOMMouseScroll?" DOMMouseScroll":"",$("body").on(r+" touchend",(async function(e){if("touchend"==e.type){if(!t)return;e.deltaY=-1*(t-e.changedTouches[0].clientY),e.deltaFactor=1,t=null}var i=$(".slide.selected .content").length>0?$(".slide.selected .content"):$(".slide.selected"),n=e.deltaY?e.deltaY:e.originalEvent.wheelDeltaY,o=e.deltaY?Math.ceil(Math.abs(n)*e.deltaFactor):Math.ceil(Math.abs(n)),s=window.isFirefox?2:1,a=window.isWindows?2*s:s,r=e.originalEvent.wheelDelta?e.originalEvent.wheelDelta:e.deltaY*e.deltaFactor,l=(r=e.wheelDelta?e.wheelDelta:r)*s*a,d=n>=0?"up":"down",c=i.scrollTop(),u=Math.floor(i.find(".container").outerHeight()),h=window.isFirefox&&window.isWindows?200:window.minScrollToSlide;if(isNaN(u)&&(u=Math.floor(i.outerHeight())),e.deltaFactor&&h<e.deltaFactor&&(h=e.deltaFactor+1),o){if(window.isScroll&&!window.sidebarShown&&!window.popupShown&&!window.blockScroll)if(window.smoothScroll&&!window.isMobile){l>1500&&(l=1500),l<-1e3&&(l=-1500);var p=$(window),f=p.scrollTop()-l;TweenLite.to(p,window.scrollSpeed/1e3,{scrollTo:{y:f,autoKill:!1},ease:Power4.easeOut,overwrite:"all"})}else window.isWindows||i.scrollTop(c-l);if(!(window.isScroll||window.isMobile&&window.isSimplifiedMobile)){if(window.scrollDebug&&$("#slidesScrollDebug").html("\n           screen="+window.windowWidth+":"+window.windowHeight+"; \n           slideHeight="+u+"; \n           scrollsize:minToSlide="+o+":"+h+"; \n           slideDownAllowed="+($html.hasClass("slideDownAllowed")?1:0)+"; \n           evt="+e.type+"; \n        "),u>window.windowHeight){"touchend"!=e.type||void 0===document.onscrollend||"down"!==d||$html.hasClass("slideDownAllowed")||(window.scrollDebug&&$("#slidesScrollDebug").append("awaitScrollEnd=1; "),await new Promise((e=>{i.one("scrollend",(function(){e()}))})));var w=Math.ceil(i.scrollTop()+window.windowHeight),m=Math.floor(u);window.scrollDebug&&$("#slidesScrollDebug").append("sectionScrollBottom:sectionBottom="+w+":"+m+"; "),"up"===d&&i.scrollTop()<=0||"down"===d&&w>=m?"down"!==d||$html.hasClass("slideDownAllowed")?window.allowSlide=1:window.isSafari&&window.isMobile?($html.addClass("slideDownAllowed"),window.allowSlide=1):(window.allowSlide=0,window.scrollDebug&&$("#slidesScrollDebug").append("awaitToSlideDownTimeout set; allowSlide="+window.allowSlide+"; "),window.awaitToSlideDownTimeout=setTimeout((function(){$html.addClass("slideDownAllowed"),window.allowSlide=1,window.scrollDebug&&$("#slidesScrollDebug").append("awaitToSlideDownTimeout FINISHED; allowSlide="+window.allowSlide+"; ")}),window.awaitToSlideDown)):window.allowSlide=0,window.panelsToHide&&("down"===d&&i.scrollTop()>0?$body.addClass("hidePanel-top"):"up"===d&&$body.removeClass("hidePanel-top"),$body.addClass("hidePanel-bottom"),"down"===d&&i.scrollTop()+window.windowHeight>=Math.floor(u)?$body.removeClass("hidePanel-bottom"):"up"===d&&$body.addClass("hidePanel-bottom")),window.sidebarShown||window.popupShown||window.blockScroll||(window.smoothScroll?(l>1500&&(l=1500),l<-1e3&&(l=-1500),TweenLite.to(i,.5,{scrollTo:{y:c-l,autoKill:!1},ease:Power4.easeOut,overwrite:5})):(e.isDefaultPrevented()||"mousewheel"==e.type&&!window.isAndroid)&&(c="up"===d?c-o:c+o,i.scrollTop(c)))}window.allowSlide&&o&&(window.collectScrolls="down"==d?window.collectScrolls+o:window.collectScrolls-o,setTimeout((function(){window.collectScrolls=0}),200)),window.scrollDebug&&$("#slidesScrollDebug").append("collectScrolls="+Math.abs(window.collectScrolls)+"; allowSlide="+window.allowSlide+"; "),Math.abs(window.collectScrolls)>=h&&window.allowSlide&&!window.sidebarShown&&!window.popupShown&&!window.disableOnScroll&&(window.collectScrolls=0,("down"===d&&window.stage!==window.stages||"up"===d&&1!==window.stage)&&1!==window.inAction&&("down"===d?window.changeSlide("increase"):window.changeSlide("decrease")))}}})),window.stickyScroll)&&$(document).on("scrollstop resizeEnd",(function(){i=$(".slide:not(.unstick"),n=[],s=$(window).scrollTop(),a=s+$(window).height(),o=!1;var e=document.body,t=document.documentElement,r=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight);if(i.length>0&&i.each((function(e,t){var i=(t=$(t)).offset().top,o=i+t.outerHeight();(i<=a&&i>=s||o>=s&&o<=a)&&n.push(t)})),n.length>0){var l=s+$(window).height()/2,d=!1,c=1/0,u=n[0];$.each(n,(function(e,t){d=(t.offset().top+t.offset().top+t.outerHeight())/2,Math.abs(l-d)<c&&(c=Math.abs(l-d),u=t)}));var h=Math.abs(s-u.offset().top),p=Math.abs(a-(u.offset().top+u.outerHeight()));o=h<p?u.offset().top:u.offset().top+u.outerHeight()-$(window).height()}s<=50&&(o=i.first().offset().top),a>=r-50&&(o=i.last().offset().top+i.last().outerHeight()),o&&$("html,body").clearQueue().stop().animate({scrollTop:o},window.stickyScrollEffectSpeed,(function(){})).on("mousedown DOMMouseScroll mousewheel keyup",(function(){$("html, body").clearQueue().stop()}))}));if((window.isMobile&&window.isSimplifiedMobile||window.isScroll)&&$(window).on(r+" touchmove load",(function(){0!=window.updateScroll&&updateScroll()})),$(".panel .compact").length>0&&$(".panel .compact").each((function(e,t){var i=$(t).parents(".panel"),n=$(i).find(".desktop"),o=t,s=$(i).hasClass("forceMobileView");$(window).on("load resize ready",(function(){if((window.isMobile||$(document).width()<767)&&s)$(n).addClass("hidden"),$(o).removeClass("hidden");else{$(n).removeClass("hidden"),$(o).addClass("hidden");var e=0,t=0;n.children().each((function(){t=0,$(this).children().each((function(){t+=$(this).outerWidth(!0)})),e+=Math.max($(this).outerWidth(!0),t)})),Math.round(e)>Math.round($(i).width())||(window.isMobile||$("body").width()<767)&&s?($(n).addClass("hidden"),$(o).removeClass("hidden")):($(n).removeClass("hidden"),$(o).addClass("hidden"))}}))})),$(".panel.hideOnScroll").length>0&&(window.panelsToHide=!0,window.isScroll||window.isSimplifiedMobile)){var l,d=0,c=window.hideOnScrollSensitivity?window.hideOnScrollSensitivity:100,u=$(".panel.hideOnScroll");$(window).on("mousewheel",(function(e){var t=$(this).scrollTop(),i=$(u),n=Math.ceil(Math.abs(e.deltaY)*e.deltaFactor);t>l?(d+=n)>=c&&(i.addClass("hide"),d=c):(d-=n)<=c/5&&(d=0,i.removeClass("hide")),l=t,(t+window.windowHeight+c>=window.documentHeight||t+c<=0)&&i.removeClass("hide")}))}if(window.isMobile){var h=window.isScroll?$(document):$(".slide .content"),p=(h.find(".container").outerHeight(),0),f=(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),$(".panel.top.hideOnScroll")),w=$(".panel.bottom.hideOnScroll");h.on("scroll",(function(e){if(!window.inAction){var t=$(this),i=$(this).scrollTop(),n=i>p?"down":"up";"down"===n&&t.scrollTop()>0?(f&&$body.addClass("hidePanel-top"),w&&$body.addClass("hidePanel-bottom")):"up"===n&&$body.removeClass("hidePanel-top hidePanel-bottom"),p=i}}))}if($(document).on("keydown",(function(e){var t=$(".slide.selected .content"),i=t.scrollTop(),n=i+parseInt(125),o=i-parseInt(125);window.disableKeyNavigation||"input"==e.target.nodeName.toLowerCase()||"textarea"==e.target.nodeName.toLowerCase()||(37!==e.keyCode&&33!==e.keyCode||(e.preventDefault(),window.horizontalMode&&window.changeSlide("decrease")),38!==e.keyCode&&33!==e.keyCode||(window.horizontalMode?(e.preventDefault(),TweenLite.to(t,window.scrollSpeed/1e3,{scrollTo:{y:o,autoKill:!0},ease:Power4.easeOut,overwrite:5})):(e.preventDefault(),window.changeSlide("decrease"))),39!==e.keyCode&&34!==e.keyCode||window.horizontalMode&&(e.preventDefault(),window.changeSlide("increase")),40!==e.keyCode&&34!==e.keyCode||(window.horizontalMode?(e.preventDefault(),TweenLite.to(t,window.scrollSpeed/1e3,{scrollTo:{y:n,autoKill:!0},ease:Power4.easeOut,overwrite:5})):(e.preventDefault(),window.changeSlide("increase"))),27===e.keyCode&&(hideSidebar(),hideDropdown(),hidePopup(),unzoomImage()))})),navParent=$(".navigation"),navigation=$(navParent).find("ul"),slidesNumber=$(".slide:not(.exclude)").length,$(navigation).length>0&&($(navigation).is(":empty")&&$(navigation).each((function(e,t){for(var i=1;i<=slidesNumber;i++){var n=$(".slide:not(.exclude):eq("+(i-1)+")").data("title");void 0===n?$(t).append("<li></li>"):$(t).append('<li data-title="'+n+'"></li>')}})),$(".navigation li").on("click touchend",(function(){var e=$(this).index(),t=$(".slide:not(.exclude):eq("+e+")").index(".slide");$(this).blur(),window.changeSlide(t+1)})),$(".side").hasClass("compact")||$(window).on("load resize ready",(function(){var e=window.windowHeight-140,t=$(".side").removeClass("compact").find("ul"),i=0;$(t).children().each((function(){i+=Math.round($(this).outerHeight(!0))})),i>e?$(".side").addClass("compact"):$(".side").removeClass("compact")}))),$("a[href^='#'][target!='_blank']").click((function(e){var t=$(this).attr("href").split("#")[1],i=t?$('.slide[id="'+t+'"], .slide[data-name="'+t+'"]'):$(".slide:eq(0)");if(i.length>0){if(e.preventDefault(),window.isMobile&&window.isSimplifiedMobile||window.isScroll){var n=i;n.length&&$("html,body").stop().clearQueue().animate({scrollTop:n.position().top},1e3),window.setHashLink&&(window.location.hash=t)}else $(this).hasClass("toLastSlide")&&$("body").hasClass("lastSlide")||(window.stage=$(".slide").index(i)+1,showSlide(window.stage));hideSidebar()}})),$(".sidebarTrigger[data-sidebar-id]").on("click",(function(){var e=$(this).data("sidebar-id");window.showSidebar(e)})),$(document).on("mouseup touchstart",(function(e){var t=$(".sidebarShown .sidebar, .dropdownTrigger"),i=e.target;!t.is(i)&&0===t.has(i).length&&window.hideSidebarOnBodyClick&&!1===$(i).hasClass("ignoreBodyClick")&&hideSidebar()})),$('.sidebar .close, .sidebar [data-sidebar-action="close"]').on("click touchstart",(function(){hideSidebar()})),$(".popupTrigger[data-popup-id]").on("click",(function(){var e=$(this).data("popup-id"),t=$(this).data("popup-focus-input");"string"!=typeof t&&""!=t&&(t=!1),window.showPopup(e,t)})),window.hidePopupOnBodyClick){var m=!1;$(document).on("mousedown",(function(e){m=!!$(e.target).closest(".popupShown .popup .popupContent, .popupTrigger, .popupNoHide").length})),$(document).on("click",(function(e){var t=$(".popupShown .popup .popupContent, .popupTrigger");!t.is(e.target)&&0===t.has(e.target).length&&t.length>0&&!m&&!1!==($(e.target).closest(".dialog").length&&0!=$(e.target).closest(".popup").length)&&hidePopup()}))}$(document).on("click",'.popup [data-popup-action="close"], .popup .close',(function(e){hidePopup($(this).parents(".popup").data("popup-id"))})),window.setPopupHash&&($(".popupTrigger[data-popup-id]").on("click",(function(){var e=$(this).attr("data-popup-id");window.location.hash="#"+e})),window.setPopupHash=[],$(".popupTrigger").each((function(){var e=$(this).attr("data-popup-id");-1==$.inArray(e,window.setPopupHash)&&window.setPopupHash.push(e)})),-1!==$.inArray(window.location.hash.split("#")[1],window.setPopupHash)&&setTimeout((function(){$('.popupTrigger[data-popup-id="'+window.location.hash.split("#")[1]+'"]').click()}),500),$(window).on("popupHidden",(function(){history.pushState?window.history.pushState("","",location.href.split("#")[0]):window.location.hash=""}))),$(window).on("resize load ready popupShown",(function(){setTimeout((function(){equalizeElements()}),1)})),$(window).on("resize",(function(){$html.addClass("resizing")})).on("resizeEnd",(function(){$html.removeClass("resizing")}));var g=$(".slider");$(g).length>0&&$(g).each((function(e,t){var i=$(t),n=i.data("slider-id"),o=i.find(".selected").index();if(window.sliderStatus&&$html.removeClassByPrefix("slider_"+n).addClass("slider_"+n+"_"+o),i.hasClass("autoplay")){var s=i.data("slider-interval")?parseInt(i.data("slider-interval")):5e3,a=setInterval((function(){i.trigger("next")}),s);0!=i.data("slider-stoponclick")&&$('[data-slider-id="'+n+'"]').on("mousedown touchstart",(function(){clearInterval(a)}))}if((i.hasClass("clickable")||i.hasClass("autoplay")||i.hasClass("swipeable"))&&(i.on("next",(function(e){var t=$(this).data("slider-id"),i=$('.slider[data-slider-id="'+t+'"]'),n=e.target;"cancel"!=$(n).data("slider-event")&&(i.each((function(){var e=$(this),t=e.data("slider-id"),i=e.children(".selected"),n=i.nextOrFirst("li"),o=n.index(),s=$('.controller[data-slider-id="'+t+'"]'),a=$('.sliderCounter[data-slider-id="'+t+'"]'),r=e.is(".animated, .animateOnEvent");i.removeClass("selected").addClass("hide").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",(function(){$(this).removeClass("hide")})),n.removeClass("hide").addClass("selected"),e.find(">li iframe.autoplay, >li video.autoplay")&&sliderStopAndPlayVideos(e,!0),window.sliderStatus&&$html.removeClassByPrefix("slider_"+t).addClass("slider_"+t+"_"+o),r&&(e.addClass("animateOnEvent"),e.find("li").removeClassByPrefix("ae-").removeClass("do"),e.find(".selected").each((function(e){$(this).removeClassByPrefix("ae-").removeClass("do").addClass("ae-"+(e+1)).addClass("do")})),$(window).scroll()),t&&s.length>0&&s.each((function(){var e=$(this);e.children(".selected").removeClass("selected"),e.children("li:eq("+o+")").addClass("selected")})),sliderCounterController(a,o,e)})),window.sliderStatus&&$html.removeClassByPrefix("slider_"+t).addClass("slider_"+t+"_"+o))})),i.on("prev",(function(e){var t=$(this).data("slider-id"),i=$('.slider[data-slider-id="'+t+'"]'),n=e.target;"cancel"!=$(n).data("slider-event")&&(i.each((function(){var e=$(this),t=e.data("slider-id"),i=e.children(".selected"),n=i.prevOrLast("li"),o=n.index(),s=$('.controller[data-slider-id="'+t+'"]'),a=$('.sliderCounter[data-slider-id="'+t+'"]'),r=e.is(".animated, .animateOnEvent");i.removeClass("selected").addClass("hide").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",(function(){$(this).removeClass("hide")})),n.removeClass("hide").addClass("selected"),e.find(">li iframe.autoplay, >li video.autoplay")&&sliderStopAndPlayVideos(e,!0),window.sliderStatus&&$html.removeClassByPrefix("slider_"+t).addClass("slider_"+t+"_"+o),r&&(e.addClass("animateOnEvent"),e.find("li").removeClassByPrefix("ae-").removeClass("do"),e.find(".selected").each((function(e){$(this).removeClassByPrefix("ae-").removeClass("do").addClass("ae-"+(e+1)).addClass("do")})),$(window).scroll()),t&&s.length>0&&s.each((function(){var e=$(this);e.children(".selected").removeClass("selected"),e.children("li:eq("+o+")").addClass("selected")})),sliderCounterController(a,o,e)})),window.sliderStatus&&$html.removeClassByPrefix("slider_"+t).addClass("slider_"+t+"_"+o))})),(i.hasClass("clickable")||i.hasClass("autoplay"))&&i.on("click",(function(){$(this).trigger("next")}))),i.hasClass("swipeable")){i.swipe({swipeStatus:function(e,t,n,o){"end"==t&&o>50&&("right"==n&&i.trigger("prev"),"left"==n&&i.trigger("next"))},maxTimeThreshold:0,fingers:"all"})}}));var v=$(".controller");if(v.length>0){var b=v.data("controller-selector")?v.data("controller-selector"):"li";v.on("click",b,(function(){var e=$(this),t=e.closest(".controller"),i=$(t.find(b)).index(e),n=t.data("slider-id"),o=$('.slider[data-slider-id="'+n+'"]'),s=$('.controller[data-slider-id="'+n+'"]'),a=$('.sliderCounter[data-slider-id="'+n+'"]');e.hasClass("selected")||(s.each((function(){var e=$(this);e.children(".selected").removeClass("selected"),e.children("li:eq("+i+")").addClass("selected")})),o.each((function(){var e=$(this),t=e.hasClass("animated");e.children(".selected").removeClass("selected").addClass("hide").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",(function(){$(this).removeClass("hide")})),e.children("li").eq(i).removeClass("hide").addClass("selected"),e.find(">li iframe.autoplay, >li video.autoplay")&&sliderStopAndPlayVideos(e,!1),t&&(e.addClass("animateOnEvent"),e.find(">li").removeClassByPrefix("ae-").removeClass("do"),e.find(".selected").each((function(e){$(this).removeClassByPrefix("ae-").removeClass("do").addClass("ae-"+(e+1)).addClass("do")})),$(window).scroll()),sliderCounterController(a,i,e)})),window.sliderStatus&&$html.removeClassByPrefix("slider_"+sliderID).addClass("slider_"+sliderID+"_"+i))}))}$(document).on("click","[data-slider-action]",(function(){if($(this).data("slider-id")){var e,t,i=$(this),n=i.data("slider-id"),o=i.data("slider-action"),s=$('.slider[data-slider-id="'+n+'"]'),a=$('.controller[data-slider-id="'+n+'"]'),r=$('.sliderCounter[data-slider-id="'+n+'"]');window.sliderStatus&&$html.removeClassByPrefix("slider_"+n).addClass("slider_"+n+"_"+t),s.each((function(){var i=$(this),n=(a.data("controller-selector")&&a.data("controller-selector"),i.find(".selected")),s=i.hasClass("animated");"next"===o?e=n.nextOrFirst("li"):"prev"===o?e=n.prevOrLast("li"):(parseInt(o)||0===o)&&(t=parseInt(o),e=i.find(">li:eq("+t+")")),t=e.index(),n.removeClass("selected"),e.removeClass("hide").addClass("selected"),i.find(">li iframe.autoplay, >li video.autoplay")&&sliderStopAndPlayVideos(i,!0),s&&(i.addClass("animateOnEvent"),i.find("li").removeClassByPrefix("ae-").removeClass("do"),i.find(".selected").each((function(e){$(this).removeClassByPrefix("ae-").removeClass("do").addClass("ae-"+(e+1)).addClass("do")})),$(window).scroll()),sliderCounterController(r,t,i)})),a.each((function(){var e=$(this);n&&e.length>0&&(e.find(".selected").removeClass("selected").addClass("hide").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",(function(){i.removeClass("hide")})),e.find(b).eq(t).addClass("selected"))}))}})),$("[data-slider-id].autoHeight").each((function(e,t){$(window).on("click resize load ready next",(function(){var e=0;$(t).find(".selected");$(t).find(".selected").children().each((function(){e+=Math.round($(this).outerHeight(!0))})),$(t).height(e+"px")}))})),$(".slider.clickable[data-slider-id], .controller[data-slider-id]").on("click",(function(e){"cancel"!=$(e.target).data("slider-event")&&$(window).resize()})),window.dropdownShown=!1,window.dropdownInterval=!1,$("body").on("click",".dropdownTrigger",(function(){showDropdown($(this))})),$(".dropdownTrigger.hover").hover((function(){showDropdown($(this),"hover")})),$(window).on("resize",(function(){hideDropdown()})),$(document).on("mouseup touchstart",(function(e){var t=$(".dropdownShown .dropdown");window.dropdownShown&&!t.is(e.target)&&0===t.has(e.target).length&&$(e.target).closest("[data-dropdown-id]").attr("data-dropdown-id")!=window.dropdownShown&&hideDropdown()})),window.shareUrl=window.location.href,$(".share").data("url")&&(window.shareUrl=$(".dropdown").data("url")),window.shareText=document.title,$(".share").data("text")&&(window.shareText=$(".dropdown").data("url")),$(".share").sharrre({enableHover:!1,url:window.shareUrl,text:window.shareText,enableCounter:!1,share:{twitter:!0,facebook:!0,pinterest:!0,googlePlus:!0,stumbleupon:!0,linkedin:!0},buttons:{pinterest:{media:$(".dropdown").data("pinterest-image"),description:$(".dropdown").data("text")+" "+$(".dropdown").data("url")}},template:$(".share").html(),render:function(e){$(e.element).on("click touchstart",".social-twitter",(function(){e.openPopup("twitter")})),$(e.element).on("click touchstart",".social-facebook",(function(){e.openPopup("facebook")})),$(e.element).on("click touchstart",".social-pinterest",(function(){e.openPopup("pinterest")})),$(e.element).on("click touchstart",".social-googlePlus",(function(){e.openPopup("googlePlus")})),$(e.element).on("click touchstart",".social-stumbleupon",(function(){e.openPopup("stumbleupon")})),$(e.element).on("click touchstart",".social-linkedin",(function(){e.openPopup("linkedin")})),$(e.element).on("click touchstart",".mail",(function(){var e=$(this).data("subject")?$(this).data("subject"):"",t=$(this).data("body")?$(this).data("body"):"",i=$(".dropdown").data("url")?$(".dropdown").data("url"):window.location.href;window.location.href="mailto:?subject="+encodeURIComponent(e)+"&body="+encodeURIComponent(t)+"%20"+i}))}}),$.fn.slidesDialog=function(e){if(0==$(document).find(".dialogContainer").length&&$(document).find(".dialog").length>1&&console.log('%cWarning: You using more than one .dialog element. Maybe you should wrap them into the <div class="dialogContainer">?',"color:orange"),"bindOpenCloseMethods"==e)return o($(this)),!1;var t=this;if(0==t.length&&e){if(!e.id)return alert("Error: you need to provide the 'id' property to create the dialog!"),!1;t=$(document).find(".dialog[data-dialog-id="+e.id+"]")}function i(e,t){var i=n(e);if(e&&e.settings&&e.settings.template!=i.template&&($(e).remove(),e=!1),e||((e=$(i.template)).attr("data-dialog-id",i.id),$(".dialogContainer").length?$(".dialogContainer").prepend(e):$("body").append(e),o(e.find("[data-dialog-action]")),e=e[0]),e.settings=i,function(e){var t=e.settings;e.open=function(i){e.openTimeout&&clearTimeout(e.openTimeout),e.closeTimeout&&clearTimeout(e.closeTimeout),e.openTimeout=setTimeout((function(){$(e).is(":visible")||$(e).addClass("reveal").slideDown(t.speed,(function(){$(this).removeClass("reveal hidden")}))}),i?0:t.openAfter),t.closeAfter+t.openAfter>t.openAfter&&!i&&(e.closeTimeout=setTimeout((function(){e.close()}),t.closeAfter+t.openAfter))},e.close=function(){e.openTimeout&&clearTimeout(e.openTimeout),e.closeTimeout&&clearTimeout(e.closeTimeout),$(e).is(":visible")&&$(e).addClass("hide").slideUp(t.speed,(function(){$(this).removeClass("hide")}))}}(e),"close"==i.action||i.closeByCookie||e.open(),i.closeByCookie&&e.close(),$(e).find("[data-href]").on("click",(function(){$(this).data("target")?window.open($(this).data("href"),"_blank"):window.location=$(this).data("href")})),$(e).find('[data-type="submit"]').click((function(){$(this).parents("form").submit()})),null!=$(e).attr("data-dialog-cookie-age")&&e.settings.id){var s=parseInt($(e).attr("data-dialog-cookie-age"));$.cookie(e.settings.id,!0,{expires:s,path:"/"})}return!0}function n(t){var i={template:'<div class="dialog hidden"><div class="close" data-dialog-action="close"></div><div class="dialogContent"><div class="text opacity-8">This popup was created with javascript. This is the default template. You can provide HTML code in the "template" property and it will be used as a Dialog box HTML.</div></div><ul><li data-dialog-action="close" class="indigo">Nice!</li></ul></div>',action:"close",id:!1,speed:500,openAfter:0,closeAfter:0,closeByCookie:!1};if(t){t.settings&&(i=t.settings);var n=$(t);Object.keys(n.data()).length&&(n.attr("data-dialog-id")&&(i.id=n.attr("data-dialog-id")),n.attr("data-dialog-action")&&(i.action=n.attr("data-dialog-action")),n.attr("data-dialog-speed")&&(i.speed=parseInt(n.attr("data-dialog-speed"))),n.attr("data-dialog-open-delay")&&(i.openAfter=parseInt(n.attr("data-dialog-open-delay"))),n.attr("data-dialog-close-delay")&&(i.closeAfter=parseInt(n.attr("data-dialog-close-delay")))),$.cookie(n.attr("data-dialog-id"))&&(i.closeByCookie=!0)}return i=$.extend({},i,e)}function o(e){$(e).click((function(){var e=$(this).attr("data-dialog-action"),t=$(this).attr("data-dialog-id");""!=t&&null!=t||(t=!1),"close"==e?t&&0==$(this).closest(".dialog").length?$(document).find(".dialog[data-dialog-id="+t+"]").slidesDialog("close"):$(this).closest(".dialog").slidesDialog("close"):(e=t)&&$(document).find(".dialog[data-dialog-id="+t+"]").slidesDialog("open")}))}t.length?t.each((function(t,n){"string"!=typeof e?i(n,e):("open"==e&&n.open(!0),"close"==e&&n.close())})):e&&i(!1,e)},$(".dialog[data-dialog-id]").slidesDialog(),$(document).find("[data-dialog-action]:not(.dialog)").slidesDialog("bindOpenCloseMethods"),$("#contact-form, [data-ajax-form]").each((function(e,t){$(t).ajaxForm((function(){var e=$(t),i=$(t).find('[type="submit"]'),n=!!i.is("input"),o=i.data("success-text")?i.data("success-text"):"Done!",s=i.data("success-class")?i.data("success-class"):"green",a=n?i.val():i.html(),r=i.attr("class");n?i.val(o):i.text(o),i.addClass(s),setTimeout((function(){n?i.val(a):i.html(a),i.attr("class",r),e[0].reset()}),4e3)}))})),$("audio[data-sound-id]").each((function(e,t){var i=$(t),n=i.data("sound-id"),o=i[0],s=$('.soundTrigger[data-sound-id="'+n+'"]');o.autoplay?s.addClass("playing"):s.removeClass("playing")})),$(".soundTrigger").click((function(){var e=$(this).data("sound-id"),t=$('audio[data-sound-id="'+e+'"]'),i=t.data("sound-action")?t.data("sound-action"):"toggle",n=parseInt(t.data("sound-fade"))>=0||t.data("sound-fade")?parseInt(t.data("sound-fade")):500;!t[0].paused||"toggle"!==i&&"play"!==i?"toggle"!==i&&"pause"!==i||(t.animate({volume:0},n,(function(){t[0].pause()})),$(this).removeClass("playing")):(t[0].play(),t.animate({volume:1},n),$(this).addClass("playing"))}))}));