function revslider_showDoubleJqueryError(n){var t="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";t+="<br> This includes make eliminates the revolution slider libraries, and make it not work.";t+="<br><br> To fix it you can:<br>&nbsp;&nbsp;&nbsp; 1. In the Slider Settings -> Troubleshooting set option:  <strong><b>Put JS Includes To Body<\/b><\/strong> option to true.";t+="<br>&nbsp;&nbsp;&nbsp; 2. Find the double jquery.js include and remove it.";t="<span style='font-size:16px;color:#BC0C06;'>"+t+"<\/span>";jQuery(n).show().html(t)}function ShowGradientColors(){$j(".wlc-bygradient").parents(".slick-slide").show();$j(".wlc-bycolor").parents(".slick-slide").hide()}function ShowAlphaColors(){$j(".wlc-bygradient").parents(".slick-slide").hide();$j(".wlc-bycolor").parents(".slick-slide").show()}function ShowSlides(n){"use strict";var t,i,r;if(revapi===null&&(n===undefined&&(n=0),t="on",i="off",r=jQuery(".tp-banner"),r.length>0&&(revapi=r.show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,hideTimerBar:"on",thumbWidth:100,thumbHeight:50,thumbAmount:10,navigationType:"none",navigationArrows:"",navigationStyle:"",touchenabled:"on",onHoverStop:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"mouse",parallaxBgFreeze:"on",parallaxLevels:[7,4,3,2,5,4,3,2,1,0],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:t,fullScreen:i,spinner:"",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:n,fullScreenOffsetContainer:".header",lazyType:"single"}),revapi!==undefined&&revapi!=null)))revapi.one("revolution.slide.onloaded",function(){var n=$j("#wlc-loader-wrapper");n.fadeOut(400)})}var console,oldgs,punchgs,_gsScope;if(function(n){typeof define=="function"&&define.amd&&define.amd.jQuery?define(["jquery"],n):n(jQuery)}(function(n){function ft(t){return t&&t.allowPageScroll===undefined&&(t.swipe!==undefined||t.swipeStatus!==undefined)&&(t.allowPageScroll=p),t.click!==undefined&&t.tap===undefined&&(t.tap=t.click),t||(t={}),t=n.extend({},n.fn.swipe.defaults,t),this.each(function(){var r=n(this),i=r.data(h);i||(i=new et(this,t),r.data(h,i))})}function et(ft,et){function di(t){if(!vu()&&!(n(t.target).closest(et.excludedElements,ot).length>0)){var u=t.originalEvent?t.originalEvent:t,f,e=r?u.touches[0]:u;return(ht=rt,r?ct=u.touches.length:t.preventDefault(),at=0,vt=null,bt=null,lt=0,kt=0,dt=0,yt=1,wt=0,st=pu(),si=bu(),br(),!r||ct===et.fingers||et.fingers===l||ui()?(er(0,e),wi=ni(),ct==2&&(er(1,u.touches[1]),kt=dt=or(st[0].start,st[1].start)),(et.swipeStatus||et.pinchStatus)&&(f=pt(u,ht))):f=!1,f===!1)?(ht=i,pt(u,ht),f):(et.hold&&(ki=setTimeout(n.proxy(function(){ot.trigger("hold",[u.target]);et.hold&&(f=et.hold.call(ot,u,u.target))},this),et.longTapThreshold)),ai(!0),null)}}function gi(n){var u=n.originalEvent?n.originalEvent:n,o,h,f,e,c;ht===t||ht===i||kr()||(h=r?u.touches[0]:u,f=dr(h),hi=ni(),r&&(ct=u.touches.length),et.hold&&clearTimeout(ki),ht=s,ct==2&&(kt==0?(er(1,u.touches[1]),kt=dt=or(st[0].start,st[1].start)):(dr(u.touches[1]),dt=or(st[0].end,st[1].end),bt=du(st[0].end,st[1].end)),yt=ku(kt,dt),wt=Math.abs(kt-dt)),ct===et.fingers||et.fingers===l||!r||ui()?(vt=tf(f.start,f.end),iu(n,vt),at=gu(f.start,f.end),lt=nu(),wu(vt,at),(et.swipeStatus||et.pinchStatus)&&(o=pt(u,ht)),(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)&&(e=!0,et.triggerOnTouchLeave&&(c=rf(this),e=uf(f.end,c)),!et.triggerOnTouchEnd&&e?ht=ir(s):et.triggerOnTouchLeave&&!e&&(ht=ir(t)),(ht==i||ht==t)&&pt(u,ht))):(ht=i,pt(u,ht)),o===!1&&(ht=i,pt(u,ht)))}function nr(n){var u=n.originalEvent;return r&&u.touches.length>0?(au(),!0):(kr()&&(ct=bi),hi=ni(),lt=nu(),ur()||!rr()?(ht=i,pt(u,ht)):et.triggerOnTouchEnd||et.triggerOnTouchEnd==!1&&ht===s?(n.preventDefault(),ht=t,pt(u,ht)):!et.triggerOnTouchEnd&&pr()?(ht=t,ri(u,ht,w)):ht===s&&(ht=i,pt(u,ht)),ai(!1),null)}function ii(){ct=0;hi=0;wi=0;kt=0;dt=0;yt=1;br();ai(!1)}function tr(n){var i=n.originalEvent;et.triggerOnTouchLeave&&(ht=ir(t),pt(i,ht))}function sr(){ot.unbind(ei,di);ot.unbind(oi,ii);ot.unbind(yi,gi);ot.unbind(pi,nr);ti&&ot.unbind(ti,tr);ai(!1)}function ir(n){var r=n,f=hr(),u=rr(),e=ur();return!f||e?r=i:u&&n==s&&(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)?r=t:!u&&n==t&&et.triggerOnTouchLeave&&(r=i),r}function pt(n,u){var f=undefined;return uu()||ar()?f=ri(n,u,g):(ru()||ui())&&f!==!1&&(f=ri(n,u,nt)),cu()&&f!==!1?f=ri(n,u,tt):lu()&&f!==!1?f=ri(n,u,it):hu()&&f!==!1&&(f=ri(n,u,w)),u===i&&ii(n),u===t&&(r?n.touches.length==0&&ii(n):ii(n)),f}function ri(r,s,h){var c=undefined;if(h==g){if(ot.trigger("swipeStatus",[s,vt||null,at||0,lt||0,ct,st]),et.swipeStatus&&(c=et.swipeStatus.call(ot,r,s,vt||null,at||0,lt||0,ct,st),c===!1))return!1;if(s==t&&lr()){if(ot.trigger("swipe",[vt,at,lt,ct,st]),et.swipe&&(c=et.swipe.call(ot,r,vt,at,lt,ct,st),c===!1))return!1;switch(vt){case u:ot.trigger("swipeLeft",[vt,at,lt,ct,st]);et.swipeLeft&&(c=et.swipeLeft.call(ot,r,vt,at,lt,ct,st));break;case f:ot.trigger("swipeRight",[vt,at,lt,ct,st]);et.swipeRight&&(c=et.swipeRight.call(ot,r,vt,at,lt,ct,st));break;case e:ot.trigger("swipeUp",[vt,at,lt,ct,st]);et.swipeUp&&(c=et.swipeUp.call(ot,r,vt,at,lt,ct,st));break;case o:ot.trigger("swipeDown",[vt,at,lt,ct,st]);et.swipeDown&&(c=et.swipeDown.call(ot,r,vt,at,lt,ct,st))}}}if(h==nt){if(ot.trigger("pinchStatus",[s,bt||null,wt||0,lt||0,ct,yt,st]),et.pinchStatus&&(c=et.pinchStatus.call(ot,r,s,bt||null,wt||0,lt||0,ct,yt,st),c===!1))return!1;if(s==t&&cr())switch(bt){case v:ot.trigger("pinchIn",[bt||null,wt||0,lt||0,ct,yt,st]);et.pinchIn&&(c=et.pinchIn.call(ot,r,bt||null,wt||0,lt||0,ct,yt,st));break;case y:ot.trigger("pinchOut",[bt||null,wt||0,lt||0,ct,yt,st]);et.pinchOut&&(c=et.pinchOut.call(ot,r,bt||null,wt||0,lt||0,ct,yt,st))}}return h==w?(s===i||s===t)&&(clearTimeout(li),clearTimeout(ki),fr()&&!eu()?(gt=ni(),li=setTimeout(n.proxy(function(){gt=null;ot.trigger("tap",[r.target]);et.tap&&(c=et.tap.call(ot,r,r.target))},this),et.doubleTapThreshold)):(gt=null,ot.trigger("tap",[r.target]),et.tap&&(c=et.tap.call(ot,r,r.target)))):h==tt?(s===i||s===t)&&(clearTimeout(li),gt=null,ot.trigger("doubletap",[r.target]),et.doubleTap&&(c=et.doubleTap.call(ot,r,r.target))):h==it&&(s===i||s===t)&&(clearTimeout(li),gt=null,ot.trigger("longtap",[r.target]),et.longTap&&(c=et.longTap.call(ot,r,r.target))),c}function rr(){var n=!0;return et.threshold!==null&&(n=at>=et.threshold),n}function ur(){var n=!1;return et.cancelThreshold!==null&&vt!==null&&(n=gr(vt)-at>=et.cancelThreshold),n}function tu(){return et.pinchThreshold!==null?wt>=et.pinchThreshold:!0}function hr(){return et.maxTimeThreshold?lt>=et.maxTimeThreshold?!1:!0:!0}function iu(n,t){if(et.allowPageScroll===p||ui())n.preventDefault();else{var i=et.allowPageScroll===d;switch(t){case u:(et.swipeLeft&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault();break;case f:(et.swipeRight&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault();break;case e:(et.swipeUp&&i||!i&&et.allowPageScroll!=k)&&n.preventDefault();break;case o:(et.swipeDown&&i||!i&&et.allowPageScroll!=k)&&n.preventDefault()}}}function cr(){var n=vr(),t=yr(),i=tu();return n&&t&&i}function ui(){return!!(et.pinchStatus||et.pinchIn||et.pinchOut)}function ru(){return!!(cr()&&ui())}function lr(){var n=hr(),t=rr(),i=vr(),r=yr(),u=ur();return!u&&r&&i&&t&&n}function ar(){return!!(et.swipe||et.swipeStatus||et.swipeLeft||et.swipeRight||et.swipeUp||et.swipeDown)}function uu(){return!!(lr()&&ar())}function vr(){return ct===et.fingers||et.fingers===l||!r}function yr(){return st[0].end.x!==0}function pr(){return!!et.tap}function fr(){return!!et.doubleTap}function fu(){return!!et.longTap}function wr(){if(gt==null)return!1;var n=ni();return fr()&&n-gt<=et.doubleTapThreshold}function eu(){return wr()}function ou(){return(ct===1||!r)&&(isNaN(at)||at<et.threshold)}function su(){return lt>et.longTapThreshold&&at<ut}function hu(){return!!(ou()&&pr())}function cu(){return!!(wr()&&fr())}function lu(){return!!(su()&&fu())}function au(){ci=ni();bi=event.touches.length+1}function br(){ci=0;bi=0}function kr(){var n=!1,t;return ci&&(t=ni()-ci,t<=et.fingerReleaseThreshold&&(n=!0)),n}function vu(){return!!(ot.data(h+"_intouch")===!0)}function ai(n){n===!0?(ot.bind(yi,gi),ot.bind(pi,nr),ti&&ot.bind(ti,tr)):(ot.unbind(yi,gi,!1),ot.unbind(pi,nr,!1),ti&&ot.unbind(ti,tr,!1));ot.data(h+"_intouch",n===!0)}function er(n,t){var i=t.identifier!==undefined?t.identifier:0;return st[n].identifier=i,st[n].start.x=st[n].end.x=t.pageX||t.clientX,st[n].start.y=st[n].end.y=t.pageY||t.clientY,st[n]}function dr(n){var i=n.identifier!==undefined?n.identifier:0,t=yu(i);return t.end.x=n.pageX||n.clientX,t.end.y=n.pageY||n.clientY,t}function yu(n){for(var t=0;t<st.length;t++)if(st[t].identifier==n)return st[t]}function pu(){for(var t=[],n=0;n<=5;n++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}function wu(n,t){t=Math.max(t,gr(n));si[n].distance=t}function gr(n){return si[n]?si[n].distance:undefined}function bu(){var n={};return n[u]=vi(u),n[f]=vi(f),n[e]=vi(e),n[o]=vi(o),n}function vi(n){return{direction:n,distance:0}}function nu(){return hi-wi}function or(n,t){var i=Math.abs(n.x-t.x),r=Math.abs(n.y-t.y);return Math.round(Math.sqrt(i*i+r*r))}function ku(n,t){var i=t/n*1;return i.toFixed(2)}function du(){return yt<1?y:v}function gu(n,t){return Math.round(Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2)))}function nf(n,t){var r=n.x-t.x,u=t.y-n.y,f=Math.atan2(u,r),i=Math.round(f*180/Math.PI);return i<0&&(i=360-Math.abs(i)),i}function tf(n,t){var i=nf(n,t);return i<=45&&i>=0?u:i<=360&&i>=315?u:i>=135&&i<=225?f:i>45&&i<135?o:e}function ni(){var n=new Date;return n.getTime()}function rf(t){t=n(t);var i=t.offset();return{left:i.left,right:i.left+t.outerWidth(),top:i.top,bottom:i.top+t.outerHeight()}}function uf(n,t){return n.x>t.left&&n.x<t.right&&n.y>t.top&&n.y<t.bottom}var fi=r||c||!et.fallbackToMouseEvents,ei=fi?c?a?"MSPointerDown":"pointerdown":"touchstart":"mousedown",yi=fi?c?a?"MSPointerMove":"pointermove":"touchmove":"mousemove",pi=fi?c?a?"MSPointerUp":"pointerup":"touchend":"mouseup",ti=fi?null:"mouseleave",oi=c?a?"MSPointerCancel":"pointercancel":"touchcancel",at=0,vt=null,lt=0,kt=0,dt=0,yt=1,wt=0,bt=0,si=null,ot=n(ft),ht="start",ct=0,st=null,wi=0,hi=0,ci=0,bi=0,gt=0,li=null,ki=null;try{ot.bind(ei,di);ot.bind(oi,ii)}catch(ff){n.error("events not supported "+ei+","+oi+" on jQuery.swipe")}this.enable=function(){return ot.bind(ei,di),ot.bind(oi,ii),ot};this.disable=function(){return sr(),ot};this.destroy=function(){return sr(),ot.data(h,null),ot};this.option=function(t,i){if(et[t]!==undefined){if(i===undefined)return et[t];et[t]=i}else n.error("Option "+t+" does not exist on jQuery.swipe.options");return null}}var u="left",f="right",e="up",o="down",v="in",y="out",p="none",d="auto",g="swipe",nt="pinch",w="tap",tt="doubletap",it="longtap",b="horizontal",k="vertical",l="all",ut=10,rt="start",s="move",t="end",i="cancel",r="ontouchstart"in window,a=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,c=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,h="TouchSwipe";n.fn.swipe=function(t){var r=n(this),i=r.data(h);if(i&&typeof t=="string"){if(i[t])return i[t].apply(this,Array.prototype.slice.call(arguments,1));n.error("Method "+t+" does not exist on jQuery.swipe")}else if(!i&&(typeof t=="object"||!t))return ft.apply(this,arguments);return r};n.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"};n.fn.swipe.phases={PHASE_START:rt,PHASE_MOVE:s,PHASE_END:t,PHASE_CANCEL:i};n.fn.swipe.directions={LEFT:u,RIGHT:f,UP:e,DOWN:o,IN:v,OUT:y};n.fn.swipe.pageScroll={NONE:p,HORIZONTAL:b,VERTICAL:k,AUTO:d};n.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:l}}),typeof console=="undefined"&&(console={},console.log=console.error=console.info=console.debug=console.warn=console.trace=console.dir=console.dirxml=console.group=console.groupEnd=console.time=console.timeEnd=console.assert=console.profile=console.groupCollapsed=function(){}),window.tplogs==!0)try{console.groupCollapsed("ThemePunch GreenSocks Logs")}catch(e){}if(oldgs=window.GreenSockGlobals,oldgs_queue=window._gsQueue,punchgs=window.GreenSockGlobals={},window.tplogs==!0)try{console.info("Build GreenSock SandBox for ThemePunch Plugins");console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin")}catch(e){}(function(n,t){"use strict";var ot=n.GreenSockGlobals=n.GreenSockGlobals||n,lt,s,vt,ut,c;if(!ot.TweenLite){var f,e,i,u,h,dt=function(n){for(var r=n.split("."),i=ot,t=0;r.length>t;t++)i[r[t]]=i=i[r[t]]||{};return i},v=dt("com.greensock"),o=1e-10,gt=function(n){for(var i=[],r=n.length,t=0;t!==r;i.push(n[t++]));return i},ni=function(){},d=function(){var n=Object.prototype.toString,t=n.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&n.call(i)===t)}}(),g={},ti=function(i,r,u,f){this.sc=g[i]?g[i].sc:[];g[i]=this;this.gsClass=null;this.func=u;var e=[];this.check=function(o){for(var c,l,a,h,s=r.length,v=s;--s>-1;)(c=g[r[s]]||new ti(r[s],[])).gsClass?(e[s]=c.gsClass,v--):o&&c.sc.push(this);if(0===v&&u)for(l=("com.greensock."+i).split("."),a=l.pop(),h=dt(l.join("."))[a]=this.gsClass=u.apply(u,e),f&&(ot[a]=h,"function"==typeof define&&define.amd?define((n.GreenSockAMDPath?n.GreenSockAMDPath+"/":"")+i.split(".").pop(),[],function(){return h}):i===t&&"undefined"!=typeof module&&module.exports&&(module.exports=h)),s=0;this.sc.length>s;s++)this.sc[s].check()};this.check(!0)},st=n._gsDefine=function(n,t,i,r){return new ti(n,t,i,r)},l=v._class=function(n,t,i){return t=t||function(){},st(n,[],function(){return t},i),t};st.globals=ot;var ii=[0,0,1,1],ht=[],a=l("easing.Ease",function(n,t,i,r){this._func=n;this._type=i||0;this._power=r||0;this._params=t?ii.concat(t):ii},!0),nt=a.map={},ct=a.register=function(n,t,i,r){for(var o,u,e,f,s=t.split(","),h=s.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(u=s[h],o=r?l("easing."+u,null,!0):v.easing[u]||{},e=c.length;--e>-1;)f=c[e],nt[u+"."+f]=nt[f+u]=o[f]=n.getRatio?n:n[f]||new n};for(i=a.prototype,i._calcEnd=!1,i.getRatio=function(n){if(this._func)return this._params[0]=n,this._func.apply(null,this._params);var i=this._type,r=this._power,t=1===i?1-n:2===i?n:.5>n?2*n:2*(1-n);return 1===r?t*=t:2===r?t*=t*t:3===r?t*=t*t*t:4===r&&(t*=t*t*t*t),1===i?1-t:2===i?t:.5>n?t/2:1-t/2},f=["Linear","Quad","Cubic","Quart","Quint,Strong"],e=f.length;--e>-1;)i=f[e]+",Power"+e,ct(new a(null,null,1,e),i,"easeOut",!0),ct(new a(null,null,2,e),i,"easeIn"+(0===e?",easeNone":"")),ct(new a(null,null,3,e),i,"easeInOut");nt.linear=v.easing.Linear.easeIn;nt.swing=v.easing.Quad.easeInOut;lt=l("events.EventDispatcher",function(n){this._listeners={};this._eventTarget=n||this});i=lt.prototype;i.addEventListener=function(n,t,i,r,f){f=f||0;var s,o,e=this._listeners[n],c=0;for(null==e&&(this._listeners[n]=e=[]),o=e.length;--o>-1;)s=e[o],s.c===t&&s.s===i?e.splice(o,1):0===c&&f>s.pr&&(c=o+1);e.splice(c,0,{c:t,s:i,up:r,pr:f});this!==u||h||u.wake()};i.removeEventListener=function(n,t){var i,r=this._listeners[n];if(r)for(i=r.length;--i>-1;)if(r[i].c===t)return r.splice(i,1),void 0};i.dispatchEvent=function(n){var r,i,t,u=this._listeners[n];if(u)for(r=u.length,i=this._eventTarget;--r>-1;)t=u[r],t.up?t.c.call(t.s||i,{type:n,target:i}):t.c.call(t.s||i)};var tt=n.requestAnimationFrame,at=n.cancelAnimationFrame,it=Date.now||function(){return(new Date).getTime()},rt=it();for(f=["ms","moz","webkit","o"],e=f.length;--e>-1&&!tt;)tt=n[f[e]+"RequestAnimationFrame"],at=n[f[e]+"CancelAnimationFrame"]||n[f[e]+"CancelRequestAnimationFrame"];l("Ticker",function(n,t){var f,a,r,s,c,i=this,y=it(),e=t!==!1&&tt,l=500,p=33,v=function(n){var t,e,u=it()-rt;u>l&&(y+=u-p);rt+=u;i.time=(rt-y)/1e3;t=i.time-c;(!f||t>0||n===!0)&&(i.frame++,c+=t+(t>=s?.004:s-t),e=!0);n!==!0&&(r=a(v));e&&i.dispatchEvent("tick")};lt.call(i);i.time=i.frame=0;i.tick=function(){v(!0)};i.lagSmoothing=function(n,t){l=n||1/o;p=Math.min(t,l,0)};i.sleep=function(){null!=r&&(e&&at?at(r):clearTimeout(r),a=ni,r=null,i===u&&(h=!1))};i.wake=function(){null!==r?i.sleep():i.frame>10&&(rt=it()-l+5);a=0===f?ni:e&&tt?tt:function(n){return setTimeout(n,0|1e3*(c-i.time)+1)};i===u&&(h=!0);v(2)};i.fps=function(n){return arguments.length?(f=n,s=1/(f||60),c=this.time+s,i.wake(),void 0):f};i.useRAF=function(n){return arguments.length?(i.sleep(),e=n,i.fps(f),void 0):e};i.fps(n);setTimeout(function(){e&&(!r||5>i.frame)&&i.useRAF(!1)},1500)});i=v.Ticker.prototype=new v.events.EventDispatcher;i.constructor=v.Ticker;s=l("core.Animation",function(n,t){if(this.vars=t=t||{},this._duration=this._totalDuration=n||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=t.immediateRender===!0,this.data=t.data,this._reversed=t.reversed===!0,p){h||u.wake();var i=this.vars.useFrames?k:p;i.add(this,i._time);this.vars.paused&&this.paused(!0)}});u=s.ticker=new v.Ticker;i=s.prototype;i._dirty=i._gc=i._initted=i._paused=!1;i._totalTime=i._time=0;i._rawPrevTime=-1;i._next=i._last=i._onUpdate=i._timeline=i.timeline=null;i._paused=!1;vt=function(){h&&it()-rt>2e3&&u.wake();setTimeout(vt,2e3)};vt();i.play=function(n,t){return null!=n&&this.seek(n,t),this.reversed(!1).paused(!1)};i.pause=function(n,t){return null!=n&&this.seek(n,t),this.paused(!0)};i.resume=function(n,t){return null!=n&&this.seek(n,t),this.paused(!1)};i.seek=function(n,t){return this.totalTime(Number(n),t!==!1)};i.restart=function(n,t){return this.reversed(!1).paused(!1).totalTime(n?-this._delay:0,t!==!1,!0)};i.reverse=function(n,t){return null!=n&&this.seek(n||this.totalDuration(),t),this.reversed(!0).paused(!1)};i.render=function(){};i.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this};i.isActive=function(){var t,n=this._timeline,i=this._startTime;return!n||!this._gc&&!this._paused&&n.isActive()&&(t=n.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t};i._enabled=function(n,t){return h||u.wake(),this._gc=!n,this._active=this.isActive(),t!==!0&&(n&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!n&&this.timeline&&this._timeline._remove(this,!0)),!1};i._kill=function(){return this._enabled(!1,!1)};i.kill=function(n,t){return this._kill(n,t),this};i._uncache=function(n){for(var t=n?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this};i._swapSelfInParams=function(n){for(var t=n.length,i=n.concat();--t>-1;)"{self}"===n[t]&&(i[t]=this);return i};i.eventCallback=function(n,t,i,r){if("on"===(n||"").substr(0,2)){var u=this.vars;if(1===arguments.length)return u[n];null==t?delete u[n]:(u[n]=t,u[n+"Params"]=d(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,u[n+"Scope"]=r);"onUpdate"===n&&(this._onUpdate=t)}return this};i.delay=function(n){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+n-this._delay),this._delay=n,this):this._delay};i.duration=function(n){return arguments.length?(this._duration=this._totalDuration=n,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==n&&this.totalTime(this._totalTime*(n/this._duration),!0),this):(this._dirty=!1,this._duration)};i.totalDuration=function(n){return this._dirty=!1,arguments.length?this.duration(n):this._totalDuration};i.time=function(n,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(n>this._duration?this._duration:n,t)):this._time};i.totalTime=function(n,t,i){if(h||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>n&&!i&&(n+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var f=this._totalDuration,r=this._timeline;if(n>f&&!i&&(n=f),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?f-n:n)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1);(this._totalTime!==n||0===this._duration)&&(this.render(n,t,!1),y.length&&ft())}return this};i.progress=i.totalProgress=function(n,t){return arguments.length?this.totalTime(this.duration()*n,t):this._time/this.duration()};i.startTime=function(n){return arguments.length?(n!==this._startTime&&(this._startTime=n,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,n-this._delay)),this):this._startTime};i.timeScale=function(n){if(!arguments.length)return this._timeScale;if(n=n||o,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/n}return this._timeScale=n,this._uncache(!1)};i.reversed=function(n){return arguments.length?(n!=this._reversed&&(this._reversed=n,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed};i.paused=function(n){if(!arguments.length)return this._paused;if(n!=this._paused&&this._timeline){h||n||u.wake();var t=this._timeline,i=t.rawTime(),r=i-this._pauseTime;!n&&t.smoothChildTiming&&(this._startTime+=r,this._uncache(!1));this._pauseTime=n?i:null;this._paused=n;this._active=this.isActive();!n&&0!==r&&this._initted&&this.duration()&&this.render(t.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!n&&this._enabled(!0,!1),this};ut=l("core.SimpleTimeline",function(n){s.call(this,0,n);this.autoRemoveChildren=this.smoothChildTiming=!0});i=ut.prototype=new s;i.constructor=ut;i.kill()._gc=!1;i._first=i._last=null;i._sortChildren=!1;i.add=i.insert=function(n,t){var i,r;if(n._startTime=Number(t||0)+n._delay,n._paused&&this!==n._timeline&&(n._pauseTime=n._startTime+(this.rawTime()-n._startTime)/n._timeScale),n.timeline&&n.timeline._remove(n,!0),n.timeline=n._timeline=this,n._gc&&n._enabled(!0,!0),i=this._last,this._sortChildren)for(r=n._startTime;i&&i._startTime>r;)i=i._prev;return i?(n._next=i._next,i._next=n):(n._next=this._first,this._first=n),n._next?n._next._prev=n:this._last=n,n._prev=i,this._timeline&&this._uncache(!0),this};i._remove=function(n,t){return n.timeline===this&&(t||n._enabled(!1,!0),n._prev?n._prev._next=n._next:this._first===n&&(this._first=n._next),n._next?n._next._prev=n._prev:this._last===n&&(this._last=n._prev),n._next=n._prev=n.timeline=null,this._timeline&&this._uncache(!0)),this};i.render=function(n,t,i){var u,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=n;r;)u=r._next,(r._active||n>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=u};i.rawTime=function(){return h||u.wake(),this._totalTime};var r=l("TweenLite",function(t,i,u){if(s.call(this,i,u),this.render=r.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:r.selector(t)||t;var e,f,h,l=t.jquery||t.length&&t!==n&&t[0]&&(t[0]===n||t[0].nodeType&&t[0].style&&!t.nodeType),c=this.vars.overwrite;if(this._overwrite=c=null==c?ri[r.defaultOverwrite]:"number"==typeof c?c>>0:ri[c],(l||t instanceof Array||t.push&&d(t))&&"number"!=typeof t[0])for(this._targets=h=gt(t),this._propLookup=[],this._siblings=[],e=0;h.length>e;e++)f=h[e],f?"string"!=typeof f?f.length&&f!==n&&f[0]&&(f[0]===n||f[0].nodeType&&f[0].style&&!f.nodeType)?(h.splice(e--,1),this._targets=h=h.concat(gt(f))):(this._siblings[e]=et(f,this,!1),1===c&&this._siblings[e].length>1&&kt(f,this,null,1,this._siblings[e])):(f=h[e--]=r.selector(f),"string"==typeof f&&h.splice(e+1,1)):h.splice(e--,1);else this._propLookup={},this._siblings=et(t,this,!1),1===c&&this._siblings.length>1&&kt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-o,this.render(-this._delay))},!0),yt=function(t){return t.length&&t!==n&&t[0]&&(t[0]===n||t[0].nodeType&&t[0].style&&!t.nodeType)},fi=function(n,t){var i,r={};for(i in n)bt[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!w[i]||w[i]&&w[i]._autoCSS)||(r[i]=n[i],delete n[i]);n.css=r};i=r.prototype=new s;i.constructor=r;i.kill()._gc=!1;i.ratio=0;i._firstPT=i._targets=i._overwrittenProps=i._startAt=null;i._notifyPluginsOfEnabled=i._lazy=!1;r.version="1.13.2";r.defaultEase=i._ease=new a(null,null,1,1);r.defaultOverwrite="auto";r.ticker=u;r.autoSleep=!0;r.lagSmoothing=function(n,t){u.lagSmoothing(n,t)};r.selector=n.$||n.jQuery||function(t){var i=n.$||n.jQuery;return i?(r.selector=i,i(t)):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)};var y=[],pt={},wt=r._internals={isArray:d,isSelector:yt,lazyTweens:y},w=r._plugins={},b=wt.tweenLookup={},ei=0,bt=wt.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},ri={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},k=s._rootFramesTimeline=new ut,p=s._rootTimeline=new ut,ft=wt.lazyRender=function(){var n=y.length;for(pt={};--n>-1;)f=y[n],f&&f._lazy!==!1&&(f.render(f._lazy[0],f._lazy[1],!0),f._lazy=!1);y.length=0};p._startTime=u.time;k._startTime=u.frame;p._active=k._active=!0;setTimeout(ft,1);s._updateRoot=r.render=function(){var i,t,n;if(y.length&&ft(),p.render((u.time-p._startTime)*p._timeScale,!1,!1),k.render((u.frame-k._startTime)*k._timeScale,!1,!1),y.length&&ft(),!(u.frame%120)){for(n in b){for(t=b[n].tweens,i=t.length;--i>-1;)t[i]._gc&&t.splice(i,1);0===t.length&&delete b[n]}if(n=p._first,(!n||n._paused)&&r.autoSleep&&!k._first&&1===u._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||u.sleep()}}};u.addEventListener("tick",s._updateRoot);var et=function(n,t,i){var r,f,u=n._gsTweenID;if(b[u||(n._gsTweenID=u="t"+ei++)]||(b[u]={target:n,tweens:[]}),t&&(r=b[u].tweens,r[f=r.length]=t,i))for(;--f>-1;)r[f]===t&&r.splice(f,1);return b[u].tweens},kt=function(n,t,i,r,u){var e,s,f,y;if(1===r||r>=4){for(y=u.length,e=0;y>e;e++)if((f=u[e])!==t)f._gc||f._enabled(!1,!1)&&(s=!0);else if(5===r)break;return s}var h,c=t._startTime+o,l=[],a=0,v=0===t._duration;for(e=u.length;--e>-1;)(f=u[e])===t||f._gc||f._paused||(f._timeline!==t._timeline?(h=h||ui(t,0,v),0===ui(f,h,v)&&(l[a++]=f)):c>=f._startTime&&f._startTime+f.totalDuration()/f._timeScale>c&&((v||!f._initted)&&2e-10>=c-f._startTime||(l[a++]=f)));for(e=a;--e>-1;)f=l[e],2===r&&f._kill(i,n)&&(s=!0),(2!==r||!f._firstPT&&f._initted)&&f._enabled(!1,!1)&&(s=!0);return s},ui=function(n,t,i){for(var u=n._timeline,f=u._timeScale,r=n._startTime;u._timeline;){if(r+=u._startTime,f*=u._timeScale,u._paused)return-100;u=u._timeline}return r/=f,r>t?r-t:i&&r===t||!n._initted&&2*o>r-t?o:(r+=n.totalDuration()/n._timeScale/f)>t+o?0:r-t-o};if(i._init=function(){var e,h,n,u,f,t=this.vars,s=this._overwrittenProps,c=this._duration,o=!!t.immediateRender,i=t.ease;if(t.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill());f={};for(u in t.startAt)f[u]=t.startAt[u];if(f.overwrite=!1,f.immediateRender=!0,f.lazy=o&&t.lazy!==!1,f.startAt=f.delay=null,this._startAt=r.to(this.target,0,f),o)if(this._time>0)this._startAt=null;else if(0!==c)return}else if(t.runBackwards&&0!==c)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(o=!1);n={};for(u in t)bt[u]&&"autoCSS"!==u||(n[u]=t[u]);if(n.overwrite=0,n.data="isFromStart",n.lazy=o&&t.lazy!==!1,n.immediateRender=o,this._startAt=r.to(this.target,0,n),o){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=i=i?i instanceof a?i:"function"==typeof i?new a(i,t.easeParams):nt[i]||r.defaultEase:r.defaultEase,t.easeParams instanceof Array&&i.config&&(this._ease=i.config.apply(i,t.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],s?s[e]:null)&&(h=!0);else h=this._initProps(this.target,this._propLookup,this._siblings,s);if(h&&r._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),t.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=t.onUpdate;this._initted=!0},i._initProps=function(t,i,r,u){var f,h,c,s,o,e;if(null==t)return!1;pt[t._gsTweenID]&&ft();this.vars.css||t.style&&t!==n&&t.nodeType&&w.css&&this.vars.autoCSS!==!1&&fi(this.vars,t);for(f in this.vars){if(e=this.vars[f],bt[f])e&&(e instanceof Array||e.push&&d(e))&&-1!==e.join("").indexOf("{self}")&&(this.vars[f]=e=this._swapSelfInParams(e,this));else if(w[f]&&(s=new w[f])._onInitTween(t,this.vars[f],this)){for(this._firstPT=o={_next:this._firstPT,t:s,p:"setRatio",s:0,c:1,f:!0,n:f,pg:!0,pr:s._priority},h=s._overwriteProps.length;--h>-1;)i[s._overwriteProps[h]]=this._firstPT;(s._priority||s._onInitAllProps)&&(c=!0);(s._onDisable||s._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[f]=o={_next:this._firstPT,t:t,p:f,f:"function"==typeof t[f],n:f,pg:!1,pr:0},o.s=o.f?t[f.indexOf("set")||"function"!=typeof t["get"+f.substr(3)]?f:"get"+f.substr(3)]():parseFloat(t[f]),o.c="string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*Number(e.substr(2)):Number(e)-o.s||0;o&&o._next&&(o._next._prev=o)}return u&&this._kill(u,t)?this._initProps(t,i,r,u):this._overwrite>1&&this._firstPT&&r.length>1&&kt(t,this,i,this._overwrite,r)?(this._kill(i,t),this._initProps(t,i,r,u)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(pt[t._gsTweenID]=!0),c)},i.render=function(n,t,i){var h,e,u,v,c=this._time,f=this._duration,s=this._rawPrevTime;if(n>=f)this._totalTime=this._time=f,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(h=!0,e="onComplete"),0===f&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(n=0),(0===n||0>s||s===o)&&s!==n&&(i=!0,s>o&&(e="onReverseComplete")),this._rawPrevTime=v=!t||n||s===n?n:o);else if(1e-7>n)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==c||0===f&&s>0&&s!==o)&&(e="onReverseComplete",h=this._reversed),0>n&&(this._active=!1,0===f&&(this._initted||!this.vars.lazy||i)&&(s>=0&&(i=!0),this._rawPrevTime=v=!t||n||s===n?n:o)),this._initted||(i=!0);else if(this._totalTime=this._time=n,this._easeType){var r=n/f,l=this._easeType,a=this._easePower;(1===l||3===l&&r>=.5)&&(r=1-r);3===l&&(r*=2);1===a?r*=r:2===a?r*=r*r:3===a?r*=r*r*r:4===a&&(r*=r*r*r*r);this.ratio=1===l?1-r:2===l?r:.5>n/f?r/2:1-r/2}else this.ratio=this._ease.getRatio(n/f);if(this._time!==c||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=c,this._rawPrevTime=s,y.push(this),this._lazy=[n,t],void 0;this._time&&!h?this.ratio=this._ease.getRatio(this._time/f):h&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==c&&n>=0&&(this._active=!0),0===c&&(this._startAt&&(n>=0?this._startAt.render(n,t,i):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===f)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||ht))),u=this._firstPT;u;)u.f?u.t[u.p](u.c*this.ratio+u.s):u.t[u.p]=u.c*this.ratio+u.s,u=u._next;this._onUpdate&&(0>n&&this._startAt&&this._startTime&&this._startAt.render(n,t,i),t||(this._time!==c||h)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||ht));e&&(!this._gc||i)&&(0>n&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(n,t,i),h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[e]&&this.vars[e].apply(this.vars[e+"Scope"]||this,this.vars[e+"Params"]||ht),0===f&&this._rawPrevTime===o&&v!==o&&(this._rawPrevTime=0))}},i._kill=function(n,t){if("all"===n&&(n=null),null==n&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:r.selector(t)||t;var u,e,o,i,f,s,h,c;if((d(t)||yt(t))&&"number"!=typeof t[0])for(u=t.length;--u>-1;)this._kill(n,t[u])&&(s=!0);else{if(this._targets){for(u=this._targets.length;--u>-1;)if(t===this._targets[u]){f=this._propLookup[u]||{};this._overwrittenProps=this._overwrittenProps||[];e=this._overwrittenProps[u]=n?this._overwrittenProps[u]||{}:"all";break}}else{if(t!==this.target)return!1;f=this._propLookup;e=this._overwrittenProps=n?this._overwrittenProps||{}:"all"}if(f){h=n||f;c=n!==e&&"all"!==e&&n!==f&&("object"!=typeof n||!n._tempKill);for(o in h)(i=f[o])&&(i.pg&&i.t._kill(h)&&(s=!0),i.pg&&0!==i.t._overwriteProps.length||(i._prev?i._prev._next=i._next:i===this._firstPT&&(this._firstPT=i._next),i._next&&(i._next._prev=i._prev),i._next=i._prev=null),delete f[o]),c&&(e[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return s},i.invalidate=function(){return this._notifyPluginsOfEnabled&&r._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],s.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-o,this.render(-this._delay)),this},i._enabled=function(n,t){if(h||u.wake(),n&&this._gc){var i,f=this._targets;if(f)for(i=f.length;--i>-1;)this._siblings[i]=et(f[i],this,!0);else this._siblings=et(this.target,this,!0)}return s.prototype._enabled.call(this,n,t),this._notifyPluginsOfEnabled&&this._firstPT?r._onPluginEvent(n?"_onEnable":"_onDisable",this):!1},r.to=function(n,t,i){return new r(n,t,i)},r.from=function(n,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new r(n,t,i)},r.fromTo=function(n,t,i,u){return u.startAt=i,u.immediateRender=0!=u.immediateRender&&0!=i.immediateRender,new r(n,t,u)},r.delayedCall=function(n,t,i,u,f){return new r(t,0,{delay:n,onComplete:t,onCompleteParams:i,onCompleteScope:u,onReverseComplete:t,onReverseCompleteParams:i,onReverseCompleteScope:u,immediateRender:!1,useFrames:f,overwrite:0})},r.set=function(n,t){return new r(n,0,t)},r.getTweensOf=function(n,t){if(null==n)return[];n="string"!=typeof n?n:r.selector(n)||n;var i,u,f,e;if((d(n)||yt(n))&&"number"!=typeof n[0]){for(i=n.length,u=[];--i>-1;)u=u.concat(r.getTweensOf(n[i],t));for(i=u.length;--i>-1;)for(e=u[i],f=i;--f>-1;)e===u[f]&&u.splice(i,1)}else for(u=et(n).concat(),i=u.length;--i>-1;)(u[i]._gc||t&&!u[i].isActive())&&u.splice(i,1);return u},r.killTweensOf=r.killDelayedCallsTo=function(n,t,i){"object"==typeof t&&(i=t,t=!1);for(var u=r.getTweensOf(n,t),f=u.length;--f>-1;)u[f]._kill(i,n)},c=l("plugins.TweenPlugin",function(n,t){this._overwriteProps=(n||"").split(",");this._propName=this._overwriteProps[0];this._priority=t||0;this._super=c.prototype},!0),i=c.prototype,c.version="1.10.1",c.API=2,i._firstPT=null,i._addTween=function(n,t,i,r,u,f){var o,e;if(null!=r&&(o="number"==typeof r||"="!==r.charAt(1)?Number(r)-i:parseInt(r.charAt(0)+"1",10)*Number(r.substr(2))))return(this._firstPT=e={_next:this._firstPT,t:n,p:t,s:i,c:o,f:"function"==typeof n[t],n:u||t,r:f},e._next&&(e._next._prev=e),e)},i.setRatio=function(n){for(var i,t=this._firstPT,r=1e-6;t;)i=t.c*n+t.s,t.r?i=Math.round(i):r>i&&i>-r&&(i=0),t.f?t.t[t.p](i):t.t[t.p]=i,t=t._next},i._kill=function(n){var i,r=this._overwriteProps,t=this._firstPT;if(null!=n[this._propName])this._overwriteProps=[];else for(i=r.length;--i>-1;)null!=n[r[i]]&&r.splice(i,1);for(;t;)null!=n[t.n]&&(t._next&&(t._next._prev=t._prev),t._prev?(t._prev._next=t._next,t._prev=null):this._firstPT===t&&(this._firstPT=t._next)),t=t._next;return!1},i._roundProps=function(n,t){for(var i=this._firstPT;i;)(n[this._propName]||null!=i.n&&n[i.n.split(this._propName+"_").join("")])&&(i.r=t),i=i._next},r._onPluginEvent=function(n,t){var f,r,u,e,o,i=t._firstPT;if("_onInitAllProps"===n){for(;i;){for(o=i._next,r=u;r&&r.pr>i.pr;)r=r._next;(i._prev=r?r._prev:e)?i._prev._next=i:u=i;(i._next=r)?r._prev=i:e=i;i=o}i=t._firstPT=u}for(;i;)i.pg&&"function"==typeof i.t[n]&&i.t[n]()&&(f=!0),i=i._next;return f},c.activate=function(n){for(var t=n.length;--t>-1;)n[t].API===c.API&&(w[(new n[t])._propName]=n[t]);return!0},st.plugin=function(n){if(!(n&&n.propName&&n.init&&n.API))throw"illegal plugin definition.";var i,r=n.propName,e=n.priority||0,o=n.overwriteProps,u={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},t=l("plugins."+r.charAt(0).toUpperCase()+r.substr(1)+"Plugin",function(){c.call(this,r,e);this._overwriteProps=o||[]},n.global===!0),f=t.prototype=new c(r);f.constructor=t;t.API=n.API;for(i in u)"function"==typeof n[i]&&(f[u[i]]=n[i]);return t.version=n.version,c.activate([t]),t},f=n._gsQueue){for(e=0;f.length>e;e++)f[e]();for(i in g)g[i].func||n.console.log("GSAP encountered missing dependency: com.greensock."+i)}h=!1}})("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenLite");_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,t,i){var u=function(n){t.call(this,n);this._labels={};this.autoRemoveChildren=this.vars.autoRemoveChildren===!0;this.smoothChildTiming=this.vars.smoothChildTiming===!0;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;var r,u,i=this.vars;for(u in i)r=i[u],f(r)&&-1!==r.join("").indexOf("{self}")&&(i[u]=this._swapSelfInParams(r));f(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},e=1e-10,o=i._internals,v=o.isSelector,f=o.isArray,c=o.lazyTweens,l=o.lazyRender,s=[],h=_gsScope._gsDefine.globals,a=function(n){var t,i={};for(t in n)i[t]=n[t];return i},y=function(n,t,i,r){var u=n._timeline._totalTime;(t||!this._forcingPlayhead)&&(n._timeline.pause(n._startTime),t&&t.apply(r||n._timeline,i||s),this._forcingPlayhead&&n._timeline.seek(u))},p=function(n){for(var i=[],r=n.length,t=0;t!==r;i.push(n[t++]));return i},r=u.prototype=new t;return u.version="1.13.2",r.constructor=u,r.kill()._gc=r._forcingPlayhead=!1,r.to=function(n,t,r,u){var f=r.repeat&&h.TweenMax||i;return t?this.add(new f(n,t,r),u):this.set(n,r,u)},r.from=function(n,t,r,u){return this.add((r.repeat&&h.TweenMax||i).from(n,t,r),u)},r.fromTo=function(n,t,r,u,f){var e=u.repeat&&h.TweenMax||i;return t?this.add(e.fromTo(n,t,r,u),f):this.set(n,u,f)},r.staggerTo=function(n,t,r,f,e,o,s,h){var c,l=new u({onComplete:o,onCompleteParams:s,onCompleteScope:h,smoothChildTiming:this.smoothChildTiming});for("string"==typeof n&&(n=i.selector(n)||n),v(n)&&(n=p(n)),f=f||0,c=0;n.length>c;c++)r.startAt&&(r.startAt=a(r.startAt)),l.to(n[c],t,a(r),c*f);return this.add(l,e)},r.staggerFrom=function(n,t,i,r,u,f,e,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(n,t,i,r,u,f,e,o)},r.staggerFromTo=function(n,t,i,r,u,f,e,o,s){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(n,t,r,u,f,e,o,s)},r.call=function(n,t,r,u){return this.add(i.delayedCall(0,n,t,r),u)},r.set=function(n,t,r){return r=this._parseTimeOrLabel(r,0,!0),null==t.immediateRender&&(t.immediateRender=r===this._time&&!this._paused),this.add(new i(n,0,t),r)},u.exportRoot=function(n,t){n=n||{};null==n.smoothChildTiming&&(n.smoothChildTiming=!0);var r,o,f=new u(n),e=f._timeline;for(null==t&&(t=!0),e._remove(f,!0),f._startTime=0,f._rawPrevTime=f._time=f._totalTime=e._time,r=e._first;r;)o=r._next,t&&r instanceof i&&r.target===r.vars.onComplete||f.add(r,r._startTime-r._delay),r=o;return e.add(f,0),f},r.add=function(r,e,o,s){var l,v,a,h,c,y;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,r)),!(r instanceof n)){if(r instanceof Array||r&&r.push&&f(r)){for(o=o||"normal",s=s||0,l=e,v=r.length,a=0;v>a;a++)f(h=r[a])&&(h=new u({tweens:h})),this.add(h,l),"string"!=typeof h&&"function"!=typeof h&&("sequence"===o?l=h._startTime+h.totalDuration()/h._timeScale:"start"===o&&(h._startTime-=h.delay())),l+=s;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,e);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(t.prototype.add.call(this,r,e),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(c=this,y=c.rawTime()>r._startTime;c._timeline;)y&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},r.remove=function(t){if(t instanceof n)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&f(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},r._remove=function(n,i){t.prototype._remove.call(this,n,i);var r=this._last;return r?this._time>r._startTime+r._totalDuration/r._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},r.append=function(n,t){return this.add(n,this._parseTimeOrLabel(null,t,!0,n))},r.insert=r.insertMultiple=function(n,t,i,r){return this.add(n,t||0,i,r)},r.appendMultiple=function(n,t,i,r){return this.add(n,this._parseTimeOrLabel(null,t,!0,n),i,r)},r.addLabel=function(n,t){return this._labels[n]=this._parseTimeOrLabel(t),this},r.addPause=function(n,t,i,r){return this.call(y,["{self}",t,i,r],this,n)},r.removeLabel=function(n){return delete this._labels[n],this},r.getLabelTime=function(n){return null!=this._labels[n]?this._labels[n]:-1},r._parseTimeOrLabel=function(t,i,r,u){var e;if(u instanceof n&&u.timeline===this)this.remove(u);else if(u&&(u instanceof Array||u.push&&f(u)))for(e=u.length;--e>-1;)u[e]instanceof n&&u[e].timeline===this&&this.remove(u[e]);if("string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof t&&null==this._labels[i]?t-this.duration():0,r);if(i=i||0,"string"==typeof t&&(isNaN(t)||null!=this._labels[t])){if(e=t.indexOf("="),-1===e)return null==this._labels[t]?r?this._labels[t]=this.duration()+i:i:this._labels[t]+i;i=parseInt(t.charAt(e-1)+"1",10)*Number(t.substr(e+1));t=e>1?this._parseTimeOrLabel(t.substr(0,e-1),0,r):this.duration()}else null==t&&(t=this.duration());return Number(t)+i},r.seek=function(n,t){return this.totalTime("number"==typeof n?n:this._parseTimeOrLabel(n),t!==!1)},r.stop=function(){return this.paused(!0)},r.gotoAndPlay=function(n,t){return this.play(n,t)},r.gotoAndStop=function(n,t){return this.pause(n,t)},r.render=function(n,t,i){this._gc&&this._enabled(!0,!1);var r,v,o,u,h,a=this._dirty?this.totalDuration():this._totalDuration,f=this._time,p=this._startTime,w=this._timeScale,y=this._paused;if(n>=a?(this._totalTime=this._time=a,this._reversed||this._hasPausedChild()||(v=!0,u="onComplete",0===this._duration&&(0===n||0>this._rawPrevTime||this._rawPrevTime===e)&&this._rawPrevTime!==n&&this._first&&(h=!0,this._rawPrevTime>e&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!t||n||this._rawPrevTime===n?n:e,n=a+.0001):1e-7>n?(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||0>n&&this._rawPrevTime>=0))&&(u="onReverseComplete",v=this._reversed),0>n?(this._active=!1,this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=n):(this._rawPrevTime=this._duration||!t||n||this._rawPrevTime===n?n:e,n=0,this._initted||(h=!0))):this._totalTime=this._time=this._rawPrevTime=n,this._time!==f&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&n>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||s)),this._time>=f)for(r=this._first;r&&(o=r._next,!this._paused||y);)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=o;else for(r=this._last;r&&(o=r._prev,!this._paused||y);)(r._active||f>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=o;this._onUpdate&&(t||(c.length&&l(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s)));u&&(this._gc||(p===this._startTime||w!==this._timeScale)&&(0===this._time||a>=this.totalDuration())&&(v&&(c.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[u]&&this.vars[u].apply(this.vars[u+"Scope"]||this,this.vars[u+"Params"]||s)))}},r._hasPausedChild=function(){for(var n=this._first;n;){if(n._paused||n instanceof u&&n._hasPausedChild())return!0;n=n._next}return!1},r.getChildren=function(n,t,r,u){u=u||-9999999999;for(var e=[],f=this._first,o=0;f;)u>f._startTime||(f instanceof i?t!==!1&&(e[o++]=f):(r!==!1&&(e[o++]=f),n!==!1&&(e=e.concat(f.getChildren(!0,t,r)),o=e.length))),f=f._next;return e},r.getTweensOf=function(n,t){var r,u,f=this._gc,e=[],o=0;for(f&&this._enabled(!0,!0),r=i.getTweensOf(n),u=r.length;--u>-1;)(r[u].timeline===this||t&&this._contains(r[u]))&&(e[o++]=r[u]);return f&&this._enabled(!1,!0),e},r._contains=function(n){for(var t=n.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},r.shiftChildren=function(n,t,i){i=i||0;for(var u,r=this._first,f=this._labels;r;)r._startTime>=i&&(r._startTime+=n),r=r._next;if(t)for(u in f)f[u]>=i&&(f[u]+=n);return this._uncache(!0)},r._kill=function(n,t){if(!n&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),r=i.length,u=!1;--r>-1;)i[r]._kill(n,t)&&(u=!0);return u},r.clear=function(n){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;--i>-1;)t[i]._enabled(!1,!1);return n!==!1&&(this._labels={}),this._uncache(!0)},r.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return n.prototype.invalidate.call(this)},r._enabled=function(n,i){if(n===this._gc)for(var r=this._first;r;)r._enabled(n,!0),r=r._next;return t.prototype._enabled.call(this,n,i)},r.totalTime=function(){this._forcingPlayhead=!0;var t=n.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,t},r.duration=function(n){return arguments.length?(0!==this.duration()&&0!==n&&this.timeScale(this._duration/n),this):(this._dirty&&this.totalDuration(),this._duration)},r.totalDuration=function(n){if(!arguments.length){if(this._dirty){for(var f,r,i=0,t=this._last,u=999999999999;t;)f=t._prev,t._dirty&&t.totalDuration(),t._startTime>u&&this._sortChildren&&!t._paused?this.add(t,t._startTime-t._delay):u=t._startTime,0>t._startTime&&!t._paused&&(i-=t._startTime,this._timeline.smoothChildTiming&&(this._startTime+=t._startTime/this._timeScale),this.shiftChildren(-t._startTime,!1,-9999999999),u=0),r=t._startTime+t._totalDuration/t._timeScale,r>i&&(i=r),t=f;this._duration=this._totalDuration=i;this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==n&&this.timeScale(this._totalDuration/n),this},r.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===n._rootFramesTimeline},r.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},u},!0)});_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(n){"use strict";var t=function(){return(_gsScope.GreenSockGlobals||_gsScope)[n]};"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=t())}("TimelineLite");_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(n){var f,u,h,v=_gsScope.GreenSockGlobals||_gsScope,p=v.com.greensock,s=2*Math.PI,y=Math.PI/2,r=p._class,t=function(t,i){var u=r("easing."+t,function(){},!0),f=u.prototype=new n;return f.constructor=u,f.getRatio=i,u},c=n.register||function(){},e=function(n,t,i,u){var f=r("easing."+n,{easeOut:new t,easeIn:new i,easeInOut:new u},!0);return c(f,n),f},l=function(n,t,i){this.t=n;this.v=t;i&&(this.next=i,i.prev=this,this.c=i.v-t,this.gap=i.t-n)},a=function(t,i){var u=r("easing."+t,function(n){this._p1=n||0===n?n:1.70158;this._p2=1.525*this._p1},!0),f=u.prototype=new n;return f.constructor=u,f.getRatio=i,f.config=function(n){return new u(n)},u},w=e("Back",a("BackOut",function(n){return(n-=1)*n*((this._p1+1)*n+this._p1)+1}),a("BackIn",function(n){return n*n*((this._p1+1)*n-this._p1)}),a("BackInOut",function(n){return 1>(n*=2)?.5*n*n*((this._p2+1)*n-this._p2):.5*((n-=2)*n*((this._p2+1)*n+this._p2)+2)})),o=r("easing.SlowMo",function(n,t,i){t=t||0===t?t:.7;null==n?n=.7:n>1&&(n=1);this._p=1!==n?t:0;this._p1=(1-n)/2;this._p2=n;this._p3=this._p1+this._p2;this._calcEnd=i===!0},!0),i=o.prototype=new n;return i.constructor=o,i.getRatio=function(n){var t=n+(.5-n)*this._p;return this._p1>n?this._calcEnd?1-(n=1-n/this._p1)*n:t-(n=1-n/this._p1)*n*n*n*t:n>this._p3?this._calcEnd?1-(n=(n-this._p3)/this._p1)*n:t+(n-t)*(n=(n-this._p3)/this._p1)*n*n*n:this._calcEnd?1:t},o.ease=new o(.7,.7),i.config=o.config=function(n,t,i){return new o(n,t,i)},f=r("easing.SteppedEase",function(n){n=n||1;this._p1=1/n;this._p2=n+1},!0),i=f.prototype=new n,i.constructor=f,i.getRatio=function(n){return 0>n?n=0:n>=1&&(n=.999999999),(this._p2*n>>0)*this._p1},i.config=f.config=function(n){return new f(n)},u=r("easing.RoughEase",function(t){t=t||{};for(var i,r,u,f,h,e,c=t.taper||"none",a=[],w=0,v=0|(t.points||20),o=v,y=t.randomize!==!1,b=t.clamp===!0,p=t.template instanceof n?t.template:null,s="number"==typeof t.strength?.4*t.strength:.4;--o>-1;)i=y?Math.random():1/v*o,r=p?p.getRatio(i):i,"none"===c?u=s:"out"===c?(f=1-i,u=f*f*s):"in"===c?u=i*i*s:.5>i?(f=2*i,u=.5*f*f*s):(f=2*(1-i),u=.5*f*f*s),y?r+=Math.random()*u-.5*u:o%2?r+=.5*u:r-=.5*u,b&&(r>1?r=1:0>r&&(r=0)),a[w++]={x:i,y:r};for(a.sort(function(n,t){return n.x-t.x}),e=new l(1,1,null),o=v;--o>-1;)h=a[o],e=new l(h.x,h.y,e);this._prev=new l(0,0,0!==e.t?e:e.next)},!0),i=u.prototype=new n,i.constructor=u,i.getRatio=function(n){var t=this._prev;if(n>t.t){for(;t.next&&n>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&t.t>=n;)t=t.prev;return this._prev=t,t.v+(n-t.t)/t.gap*t.c},i.config=function(n){return new u(n)},u.ease=new u,e("Bounce",t("BounceOut",function(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}),t("BounceIn",function(n){return 1/2.75>(n=1-n)?1-7.5625*n*n:2/2.75>n?1-(7.5625*(n-=1.5/2.75)*n+.75):2.5/2.75>n?1-(7.5625*(n-=2.25/2.75)*n+.9375):1-(7.5625*(n-=2.625/2.75)*n+.984375)}),t("BounceInOut",function(n){var t=.5>n;return n=t?1-2*n:2*n-1,n=1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,t?.5*(1-n):.5*n+.5})),e("Circ",t("CircOut",function(n){return Math.sqrt(1-(n-=1)*n)}),t("CircIn",function(n){return-(Math.sqrt(1-n*n)-1)}),t("CircInOut",function(n){return 1>(n*=2)?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)})),h=function(t,i,u){var f=r("easing."+t,function(n,t){this._p1=n||1;this._p2=t||u;this._p3=this._p2/s*(Math.asin(1/this._p1)||0)},!0),e=f.prototype=new n;return e.constructor=f,e.getRatio=i,e.config=function(n,t){return new f(n,t)},f},e("Elastic",h("ElasticOut",function(n){return this._p1*Math.pow(2,-10*n)*Math.sin((n-this._p3)*s/this._p2)+1},.3),h("ElasticIn",function(n){return-(this._p1*Math.pow(2,10*(n-=1))*Math.sin((n-this._p3)*s/this._p2))},.3),h("ElasticInOut",function(n){return 1>(n*=2)?-.5*this._p1*Math.pow(2,10*(n-=1))*Math.sin((n-this._p3)*s/this._p2):.5*this._p1*Math.pow(2,-10*(n-=1))*Math.sin((n-this._p3)*s/this._p2)+1},.45)),e("Expo",t("ExpoOut",function(n){return 1-Math.pow(2,-10*n)}),t("ExpoIn",function(n){return Math.pow(2,10*(n-1))-.001}),t("ExpoInOut",function(n){return 1>(n*=2)?.5*Math.pow(2,10*(n-1)):.5*(2-Math.pow(2,-10*(n-1)))})),e("Sine",t("SineOut",function(n){return Math.sin(n*y)}),t("SineIn",function(n){return-Math.cos(n*y)+1}),t("SineInOut",function(n){return-.5*(Math.cos(Math.PI*n)-1)})),r("easing.EaseLookup",{find:function(t){return n.map[t]}},!0),c(v.SlowMo,"SlowMo","ease,"),c(u,"RoughEase","ease,"),c(f,"SteppedEase","ease,"),w},!0)});_gsScope._gsDefine&&_gsScope._gsQueue.pop()();_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n,t){var rt,lt,f,bt,e=function(){n.call(this,"css");this._overwriteProps.length=0;this.setRatio=e.prototype.setRatio},l={},i=e.prototype=new n("css"),hr,wt,cr,lr,ar,ct;i.constructor=e;e.version="1.13.2";e.API=2;e.defaultTransformPerspective=0;e.defaultSkewType="compensated";i="px";e.suffixMap={top:i,right:i,bottom:i,left:i,width:i,height:i,fontSize:i,padding:i,margin:i,perspective:i,lineHeight:""};var kt,ai,dt,vi,yi,ut,at=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pi=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,gt=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,vt=/[^\d\-\.]/g,ni=/(?:\d|\-|\+|=|#|\.)*/g,ti=/opacity *= *([^)]*)/i,vr=/opacity:([^;]*)/i,yr=/alpha\(opacity *=.+?\)/i,wi=/^(rgb|hsl)/,bi=/([A-Z])/g,ki=/-([a-z])/gi,pr=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,di=function(n,t){return t.toUpperCase()},wr=/(?:Left|Right|Width)/i,br=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,kr=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,a=/,(?=[^\)]*(?:\(|$))/gi,v=Math.PI/180,g=180/Math.PI,yt={},k=document,w=k.createElement("div"),ii=k.createElement("img"),y=e._internals={_specialProps:l},d=navigator.userAgent,nt=function(){var n,t=d.indexOf("Android"),i=k.createElement("div");return dt=-1!==d.indexOf("Safari")&&-1===d.indexOf("Chrome")&&(-1===t||Number(d.substr(t+8,1))>3),yi=dt&&6>Number(d.substr(d.indexOf("Version/")+8,1)),vi=-1!==d.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(d)&&(ut=parseFloat(RegExp.$1)),i.innerHTML="<a style='top:1px;opacity:.55;'>a<\/a>",n=i.getElementsByTagName("a")[0],n?/^0.55/.test(n.style.opacity):!1}(),gi=function(n){return ti.test("string"==typeof n?n:(n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?parseFloat(RegExp.$1)/100:1},nr=function(n){window.console&&console.log(n)},tr="",ri="",ft=function(n,t){t=t||w;var r,i,u=t.style;if(void 0!==u[n])return n;for(n=n.charAt(0).toUpperCase()+n.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===u[r[i]+n];);return i>=0?(ri=3===i?"ms":r[i],tr="-"+ri.toLowerCase()+"-",ri+n):null},et=k.defaultView?k.defaultView.getComputedStyle:function(){},r=e.getStyle=function(n,t,i,r,u){var f;return nt||"opacity"!==t?(!r&&n.style[t]?f=n.style[t]:(i=i||et(n))?f=i[t]||i.getPropertyValue(t)||i.getPropertyValue(t.replace(bi,"-$1").toLowerCase()):n.currentStyle&&(f=n.currentStyle[t]),null==u||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:u):gi(n)},p=y.convertToPixels=function(n,i,u,f,o){if("px"===f||!f)return u;if("auto"===f||!u)return 0;var s,h,a,l=wr.test(i),c=n,v=w.style,y=0>u;if(y&&(u=-u),"%"===f&&-1!==i.indexOf("border"))s=u/100*(l?n.clientWidth:n.clientHeight);else{if(v.cssText="border:0 solid red;position:"+r(n,"position")+";line-height:0;","%"!==f&&c.appendChild)v[l?"borderLeftWidth":"borderTopWidth"]=u+f;else{if(c=n.parentNode||k.body,h=c._gsCache,a=t.ticker.frame,h&&l&&h.time===a)return h.width*u/100;v[l?"width":"height"]=u+f}c.appendChild(w);s=parseFloat(w[l?"offsetWidth":"offsetHeight"]);c.removeChild(w);l&&"%"===f&&e.cacheWidths!==!1&&(h=c._gsCache=c._gsCache||{},h.time=a,h.width=100*(s/u));0!==s||o||(s=p(n,i,u,f,!0))}return y?-s:s},ir=y.calculateOffset=function(n,t,i){if("absolute"!==r(n,"position",i))return 0;var u="left"===t?"Left":"Top",f=r(n,"margin"+u,i);return n["offset"+u]-(p(n,t,parseFloat(f),f.replace(ni,""))||0)},ot=function(n,t){var r,u,i={};if(t=t||et(n,null))if(r=t.length)for(;--r>-1;)i[t[r].replace(ki,di)]=t.getPropertyValue(t[r]);else for(r in t)i[r]=t[r];else if(t=n.currentStyle||n.style)for(r in t)"string"==typeof r&&void 0===i[r]&&(i[r.replace(ki,di)]=t[r]);return nt||(i.opacity=gi(n)),u=ht(n,t,!1),i.rotation=u.rotation,i.skewX=u.skewX,i.scaleX=u.scaleX,i.scaleY=u.scaleY,i.x=u.x,i.y=u.y,b&&(i.z=u.z,i.rotationX=u.rotationX,i.rotationY=u.rotationY,i.scaleZ=u.scaleZ),i.filters&&delete i.filters,i},ui=function(n,t,i,r,u){var e,f,o,s={},h=n.style;for(f in i)"cssText"!==f&&"length"!==f&&isNaN(f)&&(t[f]!==(e=i[f])||u&&u[f])&&-1===f.indexOf("Origin")&&("number"==typeof e||"string"==typeof e)&&(s[f]="auto"!==e||"left"!==f&&"top"!==f?""!==e&&"auto"!==e&&"none"!==e||"string"!=typeof t[f]||""===t[f].replace(vt,"")?e:0:ir(n,f),void 0!==h[f]&&(o=new hi(h,f,h[f],o)));if(r)for(f in r)"className"!==f&&(s[f]=r[f]);return{difs:s,firstMPT:o}},dr={width:["Left","Right"],height:["Top","Bottom"]},gr=["marginLeft","marginRight","marginTop","marginBottom"],nu=function(n,t,i){var u=parseFloat("width"===t?n.offsetWidth:n.offsetHeight),f=dr[t],e=f.length;for(i=i||et(n,null);--e>-1;)u-=parseFloat(r(n,"padding"+f[e],i,!0))||0,u-=parseFloat(r(n,"border"+f[e]+"Width",i,!0))||0;return u},fi=function(n,t){(null==n||""===n||"auto"===n||"auto auto"===n)&&(n="0 0");var u=n.split(" "),i=-1!==n.indexOf("left")?"0%":-1!==n.indexOf("right")?"100%":u[0],r=-1!==n.indexOf("top")?"0%":-1!==n.indexOf("bottom")?"100%":u[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===i||isNaN(parseFloat(i))&&-1===(i+"").indexOf("="))&&(i="50%"),t&&(t.oxp=-1!==i.indexOf("%"),t.oyp=-1!==r.indexOf("%"),t.oxr="="===i.charAt(1),t.oyr="="===r.charAt(1),t.ox=parseFloat(i.replace(vt,"")),t.oy=parseFloat(r.replace(vt,""))),i+" "+r+(u.length>2?" "+u[2]:"")},rr=function(n,t){return"string"==typeof n&&"="===n.charAt(1)?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-parseFloat(t)},h=function(n,t){return null==n?t:"string"==typeof n&&"="===n.charAt(1)?parseInt(n.charAt(0)+"1",10)*Number(n.substr(2))+t:parseFloat(n)},st=function(n,t,i,r){var f,o,u,e,s=1e-6;return null==n?e=t:"number"==typeof n?e=n:(f=360,o=n.split("_"),u=Number(o[0].replace(vt,""))*(-1===n.indexOf("rad")?1:g)-("="===n.charAt(1)?0:t),o.length&&(r&&(r[i]=t+u),-1!==n.indexOf("short")&&(u%=f,u!==u%(f/2)&&(u=0>u?u+f:u-f)),-1!==n.indexOf("_cw")&&0>u?u=(u+9999999999*f)%f-(0|u/f)*f:-1!==n.indexOf("ccw")&&u>0&&(u=(u-9999999999*f)%f-(0|u/f)*f)),e=t+u),s>e&&e>-s&&(e=0),e},tt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ei=function(n,t,i){return n=0>n?n+1:n>1?n-1:n,0|255*(1>6*n?t+6*(i-t)*n:.5>n?i:2>3*n?t+6*(i-t)*(2/3-n):t)+.5},oi=function(n){var i,t,e,u,f,r;return n&&""!==n?"number"==typeof n?[n>>16,255&n>>8,255&n]:(","===n.charAt(n.length-1)&&(n=n.substr(0,n.length-1)),tt[n]?tt[n]:"#"===n.charAt(0)?(4===n.length&&(i=n.charAt(1),t=n.charAt(2),e=n.charAt(3),n="#"+i+i+t+t+e+e),n=parseInt(n.substr(1),16),[n>>16,255&n>>8,255&n]):"hsl"===n.substr(0,3)?(n=n.match(at),u=Number(n[0])%360/360,f=Number(n[1])/100,r=Number(n[2])/100,t=.5>=r?r*(f+1):r+f-r*f,i=2*r-t,n.length>3&&(n[3]=Number(n[3])),n[0]=ei(u+1/3,i,t),n[1]=ei(u,i,t),n[2]=ei(u-1/3,i,t),n):(n=n.match(at)||tt.transparent,n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3])),n)):tt.black},it="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(i in tt)it+="|"+i+"\\b";it=RegExp(it+")","gi");var ur=function(n,t,i,r){if(null==n)return function(n){return n};var e,s=t?(n.match(it)||[""])[0]:"",f=n.split(s).join("").match(gt)||[],h=n.substr(0,n.indexOf(f[0])),c=")"===n.charAt(n.length-1)?")":"",o=-1!==n.indexOf(" ")?" ":",",u=f.length,l=u>0?f[0].replace(at,""):"";return u?e=t?function(n){var p,v,t,y;if("number"==typeof n)n+=l;else if(r&&a.test(n)){for(y=n.replace(a,"|").split("|"),t=0;y.length>t;t++)y[t]=e(y[t]);return y.join(",")}if(p=(n.match(it)||[s])[0],v=n.split(p).join("").match(gt)||[],t=v.length,u>t--)for(;u>++t;)v[t]=i?v[0|(t-1)/2]:f[t];return h+v.join(o)+o+p+c+(-1!==n.indexOf("inset")?" inset":"")}:function(n){var s,v,t;if("number"==typeof n)n+=l;else if(r&&a.test(n)){for(v=n.replace(a,"|").split("|"),t=0;v.length>t;t++)v[t]=e(v[t]);return v.join(",")}if(s=n.match(gt)||[],t=s.length,u>t--)for(;u>++t;)s[t]=i?s[0|(t-1)/2]:f[t];return h+s.join(o)+c}:function(n){return n}},si=function(n){return n=n.split(","),function(t,i,r,u,f,e,o){var s,h=(i+"").split(" ");for(o={},s=0;4>s;s++)o[n[s]]=h[s]=h[s]||h[(s-1)/2>>0];return u.parse(t,o,f,e)}},hi=(y._setPluginRatio=function(n){this.plugin.setRatio(n);for(var r,t,u,e,f=this.data,o=f.proxy,i=f.firstMPT,s=1e-6;i;)r=o[i.v],i.r?r=Math.round(r):s>r&&r>-s&&(r=0),i.t[i.p]=r,i=i._next;if(f.autoRotate&&(f.autoRotate.rotation=o.rotation),1===n)for(i=f.firstMPT;i;){if(t=i.t,t.type){if(1===t.type){for(e=t.xs0+t.s+t.xs1,u=1;t.l>u;u++)e+=t["xn"+u]+t["xs"+(u+1)];t.e=e}}else t.e=t.s+t.xs0;i=i._next}},function(n,t,i,r,u){this.t=n;this.p=t;this.v=i;this.r=u;r&&(r._prev=this,this._next=r)}),o=(y._parseToProxy=function(n,t,i,r,u,f){var c,e,o,s,v,h=r,l={},a={},y=i._transform,p=yt;for(i._transform=null,yt=t,r=v=i.parse(n,t,r,u),yt=p,f&&(i._transform=y,h&&(h._prev=null,h._prev&&(h._prev._next=null)));r&&r!==h;){if(1>=r.type&&(e=r.p,a[e]=r.s+r.c,l[e]=r.s,f||(s=new hi(r,"s",e,s,r.r),r.c=0),1===r.type))for(c=r.l;--c>0;)o="xn"+c,e=r.p+"_"+o,a[e]=r.data[o],l[e]=r[o],f||(s=new hi(r,o,e,s,r.rxp[o]));r=r._next}return{proxy:l,end:a,firstMPT:s,pt:v}},y.CSSPropTween=function(n,t,i,r,u,f,e,s,h,c,l){this.t=n;this.p=t;this.s=i;this.c=r;this.n=e||t;n instanceof o||bt.push(this.n);this.r=s;this.type=f||0;h&&(this.pr=h,rt=!0);this.b=void 0===c?i:c;this.e=void 0===l?i+r:l;u&&(this._next=u,u._prev=this)}),pt=e.parseComplex=function(n,t,i,r,u,f,e,s,h,c){i=i||f||"";e=new o(n,t,0,0,e,c?2:1,null,!1,s,i,r);r+="";var y,w,b,l,v,ut,ft,it,k,et,d,g,p=i.split(", ").join(",").split(" "),rt=r.split(", ").join(",").split(" "),ot=p.length,st=kt!==!1;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(p=p.join(" ").replace(a,", ").split(" "),rt=rt.join(" ").replace(a,", ").split(" "),ot=p.length),ot!==rt.length&&(p=(f||"").split(" "),ot=p.length),e.plugin=h,e.setRatio=c,y=0;ot>y;y++)if(l=p[y],v=rt[y],it=parseFloat(l),it||0===it)e.appendXtra("",it,rr(v,it),v.replace(pi,""),st&&-1!==v.indexOf("px"),!0);else if(u&&("#"===l.charAt(0)||tt[l]||wi.test(l)))g=","===v.charAt(v.length-1)?"),":")",l=oi(l),v=oi(v),k=l.length+v.length>6,k&&!nt&&0===v[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(rt[y]).join("transparent")):(nt||(k=!1),e.appendXtra(k?"rgba(":"rgb(",l[0],v[0]-l[0],",",!0,!0).appendXtra("",l[1],v[1]-l[1],",",!0).appendXtra("",l[2],v[2]-l[2],k?",":g,!0),k&&(l=4>l.length?1:l[3],e.appendXtra("",l,(4>v.length?1:v[3])-l,g,!1)));else if(ut=l.match(at)){if(ft=v.match(pi),!ft||ft.length!==ut.length)return e;for(b=0,w=0;ut.length>w;w++)d=ut[w],et=l.indexOf(d,b),e.appendXtra(l.substr(b,et-b),Number(d),rr(ft[w],d),"",st&&"px"===l.substr(et+d.length,2),0===w),b=et+d.length;e["xs"+e.l]+=l.substr(b)}else e["xs"+e.l]+=e.l?" "+l:l;if(-1!==r.indexOf("=")&&e.data){for(g=e.xs0+e.data.s,y=1;e.l>y;y++)g+=e["xs"+y]+e.data["xn"+y];e.e=g+e["xs"+y]}return e.l||(e.type=-1,e.xs0=e.e),e.xfirst||e},s=9;for(i=o.prototype,i.l=i.pr=0;--s>0;)i["xn"+s]=0,i["xs"+s]="";i.xs0="";i._next=i._prev=i.xfirst=i.data=i.plugin=i.setRatio=i.rxp=null;i.appendXtra=function(n,t,i,r,u,f){var e=this,s=e.l;return e["xs"+s]+=f&&s?" "+n:n||"",i||0===s||e.plugin?(e.l++,e.type=e.setRatio?2:1,e["xs"+e.l]=r||"",s>0?(e.data["xn"+s]=t+i,e.rxp["xn"+s]=u,e["xn"+s]=t,e.plugin||(e.xfirst=new o(e,"xn"+s,t,i,e.xfirst||e,0,e.n,u,e.pr),e.xfirst.xs0=0),e):(e.data={s:t+i},e.rxp={},e.s=t,e.c=i,e.r=u,e)):(e["xs"+s]+=t+(r||""),e)};var fr=function(n,t){t=t||{};this.p=t.prefix?ft(n)||n:n;l[n]=l[this.p]=this;this.format=t.formatter||ur(t.defaultValue,t.color,t.collapsible,t.multi);t.parser&&(this.parse=t.parser);this.clrs=t.color;this.multi=t.multi;this.keyword=t.keyword;this.dflt=t.defaultValue;this.pr=t.priority||0},u=y._registerComplexSpecialProp=function(n,t,i){"object"!=typeof t&&(t={parser:i});var r,e,u=n.split(","),f=t.defaultValue;for(i=i||[f],r=0;u.length>r;r++)t.prefix=0===r&&t.prefix,t.defaultValue=i[r]||f,e=new fr(u[r],t)},tu=function(n){if(!l[n]){var t=n.charAt(0).toUpperCase()+n.substr(1)+"Plugin";u(n,{parser:function(n,i,r,u,f,e,o){var s=(_gsScope.GreenSockGlobals||_gsScope).com.greensock.plugins[t];return s?(s._cssRegister(),l[r].parse(n,i,r,u,f,e,o)):(nr("Error: "+t+" js file not loaded."),f)}})}};i=fr.prototype;i.parseComplex=function(n,t,i,r,u,f){var o,s,e,l,v,c,h=this.keyword;if(this.multi&&(a.test(i)||a.test(t)?(s=t.replace(a,"|").split("|"),e=i.replace(a,"|").split("|")):h&&(s=[t],e=[i])),e){for(l=e.length>s.length?e.length:s.length,o=0;l>o;o++)t=s[o]=s[o]||this.dflt,i=e[o]=e[o]||this.dflt,h&&(v=t.indexOf(h),c=i.indexOf(h),v!==c&&(i=-1===c?e:s,i[o]+=" "+h));t=s.join(", ");i=e.join(", ")}return pt(n,this.p,t,i,this.clrs,this.dflt,r,this.pr,u,f)};i.parse=function(n,t,i,u,e,o){return this.parseComplex(n.style,this.format(r(n,this.p,f,!1,this.dflt)),this.format(t),e,o)};e.registerSpecialProp=function(n,t,i){u(n,{parser:function(n,r,u,f,e,s){var h=new o(n,u,0,0,e,2,u,!1,i);return h.plugin=s,h.setRatio=t(n,r,f._tween,u),h},priority:i})};var er="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),c=ft("transform"),iu=tr+"transform",ci=ft("transformOrigin"),b=null!==ft("perspective"),or=y.Transform=function(){this.skewY=0},ht=y.getTransform=function(n,t,i,u){if(n._gsTransform&&i&&!u)return n._gsTransform;var a,o,nt,lt,ui,vt,yt,ut,tt,fi,ei,pt,wt,f=i?n._gsTransform||new or:new or,pi=0>f.scaleX,et=2e-5,y=1e5,at=179.99,ot=at*v,wi=b?parseFloat(r(n,ci,t,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0,hi=parseFloat(e.defaultTransformPerspective)||0;if(c?a=r(n,iu,t,!0):n.currentStyle&&(a=n.currentStyle.filter.match(br),a=a&&4===a.length?[a[0].substr(4),Number(a[2].substr(4)),Number(a[1].substr(4)),a[3].substr(4),f.x||0,f.y||0].join(","):""),a&&"none"!==a&&"matrix(1, 0, 0, 1, 0, 0)"!==a){for(o=(a||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],nt=o.length;--nt>-1;)lt=Number(o[nt]),o[nt]=(ui=lt-(lt|=0))?(0|ui*y+(0>ui?-.5:.5))/y+lt:lt;if(16===o.length){var st=o[8],w=o[9],p=o[10],li=o[12],ai=o[13],ht=o[14];if(f.zOrigin&&(ht=-f.zOrigin,li=st*ht-o[12],ai=w*ht-o[13],ht=p*ht+f.zOrigin-o[14]),!i||u||null==f.rotationX){var bt,ct,kt,s,h,oi,si,ft=o[0],k=o[1],dt=o[2],bi=o[3],gt=o[4],d=o[5],it=o[6],ki=o[7],rt=o[11],l=Math.atan2(it,p),vi=-ot>l||l>ot;f.rotationX=l*g;l&&(s=Math.cos(-l),h=Math.sin(-l),bt=gt*s+st*h,ct=d*s+w*h,kt=it*s+p*h,st=gt*-h+st*s,w=d*-h+w*s,p=it*-h+p*s,rt=ki*-h+rt*s,gt=bt,d=ct,it=kt);l=Math.atan2(st,ft);f.rotationY=l*g;l&&(oi=-ot>l||l>ot,s=Math.cos(-l),h=Math.sin(-l),bt=ft*s-st*h,ct=k*s-w*h,kt=dt*s-p*h,w=k*h+w*s,p=dt*h+p*s,rt=bi*h+rt*s,ft=bt,k=ct,dt=kt);l=Math.atan2(k,d);f.rotation=l*g;l&&(si=-ot>l||l>ot,s=Math.cos(-l),h=Math.sin(-l),ft=ft*s+gt*h,ct=k*s+d*h,d=k*-h+d*s,it=dt*-h+it*s,k=ct);si&&vi?f.rotation=f.rotationX=0:si&&oi?f.rotation=f.rotationY=0:oi&&vi&&(f.rotationY=f.rotationX=0);f.scaleX=(0|Math.sqrt(ft*ft+k*k)*y+.5)/y;f.scaleY=(0|Math.sqrt(d*d+w*w)*y+.5)/y;f.scaleZ=(0|Math.sqrt(it*it+p*p)*y+.5)/y;f.skewX=0;f.perspective=rt?1/(0>rt?-rt:rt):0;f.x=li;f.y=ai;f.z=ht}}else if(!(b&&!u&&o.length&&f.x===o[4]&&f.y===o[5]&&(f.rotationX||f.rotationY)||void 0!==f.x&&"none"===r(n,"display",t))){var yi=o.length>=6,ni=yi?o[0]:1,ti=o[1]||0,ii=o[2]||0,ri=yi?o[3]:1;f.x=o[4]||0;f.y=o[5]||0;vt=Math.sqrt(ni*ni+ti*ti);yt=Math.sqrt(ri*ri+ii*ii);ut=ni||ti?Math.atan2(ti,ni)*g:f.rotation||0;tt=ii||ri?Math.atan2(ii,ri)*g+ut:f.skewX||0;fi=vt-Math.abs(f.scaleX||0);ei=yt-Math.abs(f.scaleY||0);Math.abs(tt)>90&&270>Math.abs(tt)&&(pi?(vt*=-1,tt+=0>=ut?180:-180,ut+=0>=ut?180:-180):(yt*=-1,tt+=0>=tt?180:-180));pt=(ut-f.rotation)%180;wt=(tt-f.skewX)%180;(void 0===f.skewX||fi>et||-et>fi||ei>et||-et>ei||pt>-at&&at>pt&&!1|pt*y||wt>-at&&at>wt&&!1|wt*y)&&(f.scaleX=vt,f.scaleY=yt,f.rotation=ut,f.skewX=tt);b&&(f.rotationX=f.rotationY=f.z=0,f.perspective=hi,f.scaleZ=1)}f.zOrigin=wi;for(nt in f)et>f[nt]&&f[nt]>-et&&(f[nt]=0)}else f={x:0,y:0,z:0,scaleX:1,scaleY:1,scaleZ:1,skewX:0,perspective:hi,rotation:0,rotationX:0,rotationY:0,zOrigin:0};return i&&(n._gsTransform=f),f.xPercent=f.yPercent=0,f},ru=function(n){var o,w,t=this.data,nt=-t.rotation*v,ft=nt+t.skewX*v,e=1e5,h=(0|Math.cos(nt)*t.scaleX*e)/e,u=(0|Math.sin(nt)*t.scaleX*e)/e,f=(0|Math.sin(ft)*-t.scaleY*e)/e,c=(0|Math.cos(ft)*t.scaleY*e)/e,d=this.t.style,g=this.t.currentStyle,k,y,et,ot;if(g){w=u;u=-f;f=-w;o=g.filter;d.filter="";var i,r,l=this.t.offsetWidth,a=this.t.offsetHeight,tt="absolute"!==g.position,b="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+u+", M21="+f+", M22="+c,it=t.x+l*t.xPercent/100,rt=t.y+a*t.yPercent/100;if(null!=t.ox&&(i=(t.oxp?.01*l*t.ox:t.ox)-l/2,r=(t.oyp?.01*a*t.oy:t.oy)-a/2,it+=i-(i*h+r*u),rt+=r-(i*f+r*c)),tt?(i=l/2,r=a/2,b+=", Dx="+(i-(i*h+r*u)+it)+", Dy="+(r-(i*f+r*c)+rt)+")"):b+=", sizingMethod='auto expand')",d.filter=-1!==o.indexOf("DXImageTransform.Microsoft.Matrix(")?o.replace(kr,b):b+" "+o,(0===n||1===n)&&1===h&&0===u&&0===f&&1===c&&(tt&&-1===b.indexOf("Dx=0, Dy=0")||ti.test(o)&&100!==parseFloat(RegExp.$1)||-1===o.indexOf("gradient("&&o.indexOf("Alpha"))&&d.removeAttribute("filter")),!tt)for(ot=8>ut?1:-1,i=t.ieOffsetX||0,r=t.ieOffsetY||0,t.ieOffsetX=Math.round((l-((0>h?-h:h)*l+(0>u?-u:u)*a))/2+it),t.ieOffsetY=Math.round((a-((0>c?-c:c)*a+(0>f?-f:f)*l))/2+rt),s=0;4>s;s++)y=gr[s],k=g[y],w=-1!==k.indexOf("px")?parseFloat(k):p(this.t,y,parseFloat(k),k.replace(ni,""))||0,et=w!==t[y]?2>s?-t.ieOffsetX:-t.ieOffsetY:2>s?i-t.ieOffsetX:r-t.ieOffsetY,d[y]=(t[y]=Math.round(w-et*(0===s||2===s?1:ot)))+"px"}},li=y.set3DTransformRatio=function(n){var tt,g,y,p,it,nt,w,b,et,rt,l,o,ot,ut,k,st,i,r,u,f,ct,lt,at,t=this.data,vt=this.t.style,e=t.rotation*v,s=t.scaleX,h=t.scaleY,a=t.scaleZ,yt=t.x,pt=t.y,ht=t.z,d=t.perspective,ft;if(!(1!==n&&0!==n||"auto"!==t.force3D||t.rotationY||t.rotationX||1!==a||d||ht))return sr.call(this,n),void 0;if(vi&&(ft=.0001,ft>s&&s>-ft&&(s=a=2e-5),ft>h&&h>-ft&&(h=a=2e-5),!d||t.z||t.rotationX||t.rotationY||(d=0)),e||t.skewX)r=Math.cos(e),u=Math.sin(e),tt=r,it=u,t.skewX&&(e-=t.skewX*v,r=Math.cos(e),u=Math.sin(e),"simple"===t.skewType&&(f=Math.tan(t.skewX*v),f=Math.sqrt(1+f*f),r*=f,u*=f)),g=-u,nt=r;else{if(!(t.rotationY||t.rotationX||1!==a||d))return vt[c]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) translate3d(":"translate3d(")+yt+"px,"+pt+"px,"+ht+"px)"+(1!==s||1!==h?" scale("+s+","+h+")":""),void 0;tt=nt=1;g=it=0}l=1;y=p=w=b=et=rt=o=ot=ut=0;k=d?-1/d:0;st=t.zOrigin;i=1e5;e=t.rotationY*v;e&&(r=Math.cos(e),u=Math.sin(e),et=l*-u,ot=k*-u,y=tt*u,w=it*u,l*=r,k*=r,tt*=r,it*=r);e=t.rotationX*v;e&&(r=Math.cos(e),u=Math.sin(e),f=g*r+y*u,ct=nt*r+w*u,lt=rt*r+l*u,at=ut*r+k*u,y=g*-u+y*r,w=nt*-u+w*r,l=rt*-u+l*r,k=ut*-u+k*r,g=f,nt=ct,rt=lt,ut=at);1!==a&&(y*=a,w*=a,l*=a,k*=a);1!==h&&(g*=h,nt*=h,rt*=h,ut*=h);1!==s&&(tt*=s,it*=s,et*=s,ot*=s);st&&(o-=st,p=y*o,b=w*o,o=l*o+st);p=(f=(p+=yt)-(p|=0))?(0|f*i+(0>f?-.5:.5))/i+p:p;b=(f=(b+=pt)-(b|=0))?(0|f*i+(0>f?-.5:.5))/i+b:b;o=(f=(o+=ht)-(o|=0))?(0|f*i+(0>f?-.5:.5))/i+o:o;vt[c]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix3d(":"matrix3d(")+[(0|tt*i)/i,(0|it*i)/i,(0|et*i)/i,(0|ot*i)/i,(0|g*i)/i,(0|nt*i)/i,(0|rt*i)/i,(0|ut*i)/i,(0|y*i)/i,(0|w*i)/i,(0|l*i)/i,(0|k*i)/i,p,b,o,d?1+-o/d:1].join(",")+")"},sr=y.set2DTransformRatio=function(n){var r,u,i,f,e,t=this.data,l=this.t,o=l.style,s=t.x,h=t.y;return t.rotationX||t.rotationY||t.z||t.force3D===!0||"auto"===t.force3D&&1!==n&&0!==n?(this.setRatio=li,li.call(this,n),void 0):(t.rotation||t.skewX?(r=t.rotation*v,u=r-t.skewX*v,i=1e5,f=t.scaleX*i,e=t.scaleY*i,o[c]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix(":"matrix(")+(0|Math.cos(r)*f)/i+","+(0|Math.sin(r)*f)/i+","+(0|Math.sin(u)*-e)/i+","+(0|Math.cos(u)*e)/i+","+s+","+h+")"):o[c]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix(":"matrix(")+t.scaleX+",0,0,"+t.scaleY+","+s+","+h+")",void 0)};for(u("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent",{parser:function(n,t,i,u,s,l,a){if(u._transform)return s;var p,ut,g,d,it,rt,nt,y=u._transform=ht(n,f,!0,a.parseTransform),ft=n.style,et=1e-6,ot=er.length,v=a,tt={};if("string"==typeof v.transform&&c)g=w.style,g[c]=v.transform,g.display="block",g.position="absolute",k.body.appendChild(w),p=ht(w,null,!1),k.body.removeChild(w);else if("object"==typeof v){if(p={scaleX:h(null!=v.scaleX?v.scaleX:v.scale,y.scaleX),scaleY:h(null!=v.scaleY?v.scaleY:v.scale,y.scaleY),scaleZ:h(v.scaleZ,y.scaleZ),x:h(v.x,y.x),y:h(v.y,y.y),z:h(v.z,y.z),xPercent:h(v.xPercent,y.xPercent),yPercent:h(v.yPercent,y.yPercent),perspective:h(v.transformPerspective,y.perspective)},nt=v.directionalRotation,null!=nt)if("object"==typeof nt)for(g in nt)v[g]=nt[g];else v.rotation=nt;"string"==typeof v.x&&-1!==v.x.indexOf("%")&&(p.x=0,p.xPercent=h(v.x,y.xPercent));"string"==typeof v.y&&-1!==v.y.indexOf("%")&&(p.y=0,p.yPercent=h(v.y,y.yPercent));p.rotation=st("rotation"in v?v.rotation:"shortRotation"in v?v.shortRotation+"_short":"rotationZ"in v?v.rotationZ:y.rotation,y.rotation,"rotation",tt);b&&(p.rotationX=st("rotationX"in v?v.rotationX:"shortRotationX"in v?v.shortRotationX+"_short":y.rotationX||0,y.rotationX,"rotationX",tt),p.rotationY=st("rotationY"in v?v.rotationY:"shortRotationY"in v?v.shortRotationY+"_short":y.rotationY||0,y.rotationY,"rotationY",tt));p.skewX=null==v.skewX?y.skewX:st(v.skewX,y.skewX);p.skewY=null==v.skewY?y.skewY:st(v.skewY,y.skewY);(ut=p.skewY-y.skewY)&&(p.skewX+=ut,p.rotation+=ut)}for(b&&null!=v.force3D&&(y.force3D=v.force3D,rt=!0),y.skewType=v.skewType||y.skewType||e.defaultSkewType,it=y.force3D||y.z||y.rotationX||y.rotationY||p.z||p.rotationX||p.rotationY||p.perspective,it||null==v.scale||(p.scaleZ=1);--ot>-1;)i=er[ot],d=p[i]-y[i],(d>et||-et>d||null!=yt[i])&&(rt=!0,s=new o(y,i,y[i],d,s),i in tt&&(s.e=tt[i]),s.xs0=0,s.plugin=l,u._overwriteProps.push(s.n));return d=v.transformOrigin,(d||b&&it&&y.zOrigin)&&(c?(rt=!0,i=ci,d=(d||r(n,i,f,!1,"50% 50%"))+"",s=new o(ft,i,0,0,s,-1,"transformOrigin"),s.b=ft[i],s.plugin=l,b?(g=y.zOrigin,d=d.split(" "),y.zOrigin=(d.length>2&&(0===g||"0px"!==d[2])?parseFloat(d[2]):g)||0,s.xs0=s.e=d[0]+" "+(d[1]||"50%")+" 0px",s=new o(y,"zOrigin",0,0,s,-1,s.n),s.b=g,s.xs0=s.e=y.zOrigin):s.xs0=s.e=d):fi(d+"",y)),rt&&(u._transformType=it||3===this._transformType?3:2),s},prefix:!0}),u("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),u("borderRadius",{defaultValue:"0px",parser:function(n,t,i,u,e){t=this.format(t);var tt,l,d,h,o,s,w,a,it,rt,c,v,g,b,k,nt,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],ut=n.style;for(it=parseFloat(n.offsetWidth),rt=parseFloat(n.offsetHeight),tt=t.split(" "),l=0;y.length>l;l++)this.p.indexOf("border")&&(y[l]=ft(y[l])),o=h=r(n,y[l],f,!1,"0px"),-1!==o.indexOf(" ")&&(h=o.split(" "),o=h[0],h=h[1]),s=d=tt[l],w=parseFloat(o),v=o.substr((w+"").length),g="="===s.charAt(1),g?(a=parseInt(s.charAt(0)+"1",10),s=s.substr(2),a*=parseFloat(s),c=s.substr((a+"").length-(0>a?1:0))||""):(a=parseFloat(s),c=s.substr((a+"").length)),""===c&&(c=lt[i]||v),c!==v&&(b=p(n,"borderLeft",w,v),k=p(n,"borderTop",w,v),"%"===c?(o=100*(b/it)+"%",h=100*(k/rt)+"%"):"em"===c?(nt=p(n,"borderLeft",1,"em"),o=b/nt+"em",h=k/nt+"em"):(o=b+"px",h=k+"px"),g&&(s=parseFloat(o)+a+c,d=parseFloat(h)+a+c)),e=pt(ut,y[l],o+" "+h,s+" "+d,!1,"0px",e);return e},prefix:!0,formatter:ur("0px 0px 0px 0px",!1,!0)}),u("backgroundPosition",{defaultValue:"0 0",parser:function(n,t,i,u,e,o){var c,b,h,v,y,l,p="background-position",a=f||et(n,null),s=this.format((a?ut?a.getPropertyValue(p+"-x")+" "+a.getPropertyValue(p+"-y"):a.getPropertyValue(p):n.currentStyle.backgroundPositionX+" "+n.currentStyle.backgroundPositionY)||"0 0"),w=this.format(t);if(-1!==s.indexOf("%")!=(-1!==w.indexOf("%"))&&(l=r(n,"backgroundImage").replace(pr,""),l&&"none"!==l)){for(c=s.split(" "),b=w.split(" "),ii.setAttribute("src",l),h=2;--h>-1;)s=c[h],v=-1!==s.indexOf("%"),v!==(-1!==b[h].indexOf("%"))&&(y=0===h?n.offsetWidth-ii.width:n.offsetHeight-ii.height,c[h]=v?parseFloat(s)/100*y+"px":100*(parseFloat(s)/y)+"%");s=c.join(" ")}return this.parseComplex(n.style,s,w,e,o)},formatter:fi}),u("backgroundSize",{defaultValue:"0 0",formatter:fi}),u("perspective",{defaultValue:"0px",prefix:!0}),u("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),u("transformStyle",{prefix:!0}),u("backfaceVisibility",{prefix:!0}),u("userSelect",{prefix:!0}),u("margin",{parser:si("marginTop,marginRight,marginBottom,marginLeft")}),u("padding",{parser:si("paddingTop,paddingRight,paddingBottom,paddingLeft")}),u("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(n,t,i,u,e,o){var c,s,h;return 9>ut?(s=n.currentStyle,h=8>ut?" ":",",c="rect("+s.clipTop+h+s.clipRight+h+s.clipBottom+h+s.clipLeft+")",t=this.format(t).split(",").join(h)):(c=this.format(r(n,this.p,f,!1,this.dflt)),t=this.format(t)),this.parseComplex(n.style,c,t,e,o)}}),u("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),u("autoRound,strictUnits",{parser:function(n,t,i,r,u){return u}}),u("border",{defaultValue:"0px solid #000",parser:function(n,t,i,u,e,o){return this.parseComplex(n.style,this.format(r(n,"borderTopWidth",f,!1,"0px")+" "+r(n,"borderTopStyle",f,!1,"solid")+" "+r(n,"borderTopColor",f,!1,"#000")),this.format(t),e,o)},color:!0,formatter:function(n){var t=n.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(n.match(it)||["#000"])[0]}}),u("borderWidth",{parser:si("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),u("float,cssFloat,styleFloat",{parser:function(n,t,i,r,u){var f=n.style,e="cssFloat"in f?"cssFloat":"styleFloat";return new o(f,e,0,0,u,-1,i,!1,0,f[e],t)}}),hr=function(n){var f,i=this.t,t=i.filter||r(this.data,"filter"),u=0|this.s+this.c*n;100===u&&(-1===t.indexOf("atrix(")&&-1===t.indexOf("radient(")&&-1===t.indexOf("oader(")?(i.removeAttribute("filter"),f=!r(this.data,"filter")):(i.filter=t.replace(yr,""),f=!0));f||(this.xn1&&(i.filter=t=t||"alpha(opacity="+u+")"),-1===t.indexOf("pacity")?0===u&&this.xn1||(i.filter=t+" alpha(opacity="+u+")"):i.filter=t.replace(ti,"opacity="+u))},u("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(n,t,i,u,e,s){var h=parseFloat(r(n,"opacity",f,!1,"1")),c=n.style,l="autoAlpha"===i;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+h),l&&1===h&&"hidden"===r(n,"visibility",f)&&0!==t&&(h=0),nt?e=new o(c,"opacity",h,t-h,e):(e=new o(c,"opacity",100*h,100*(t-h),e),e.xn1=l?1:0,c.zoom=1,e.type=2,e.b="alpha(opacity="+e.s+")",e.e="alpha(opacity="+(e.s+e.c)+")",e.data=n,e.plugin=s,e.setRatio=hr),l&&(e=new o(c,"visibility",0,0,e,-1,null,!1,0,0!==h?"inherit":"hidden",0===t?"hidden":"inherit"),e.xs0="inherit",u._overwriteProps.push(e.n),u._overwriteProps.push(i)),e}}),wt=function(n,t){t&&(n.removeProperty?("ms"===t.substr(0,2)&&(t="M"+t.substr(1)),n.removeProperty(t.replace(bi,"-$1").toLowerCase())):n.removeAttribute(t))},cr=function(n){if(this.t._gsClassPT=this,1===n||0===n){this.t.setAttribute("class",0===n?this.b:this.e);for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:wt(i,t.p),t=t._next;1===n&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)},u("className",{parser:function(n,t,i,r,u,e,s){var c,y,l,a,h,v=n.getAttribute("class")||"",p=n.style.cssText;if(u=r._classNamePT=new o(n,i,0,0,u,2),u.setRatio=cr,u.pr=-11,rt=!0,u.b=v,y=ot(n,f),l=n._gsClassPT){for(a={},h=l.data;h;)a[h.p]=1,h=h._next;l.setRatio(1)}return n._gsClassPT=u,u.e="="!==t.charAt(1)?t:v.replace(RegExp("\\s*\\b"+t.substr(2)+"\\b"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),r._tween._duration&&(n.setAttribute("class",u.e),c=ui(n,y,ot(n),s,a),n.setAttribute("class",v),u.data=c.firstMPT,n.style.cssText=p,u=u.xfirst=r.parse(n,c.difs,u,e)),u}}),lr=function(n){if((1===n||0===n)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var i,t,r,u,f=this.t.style,e=l.transform.parse;if("all"===this.e)f.cssText="",u=!0;else for(i=this.e.split(","),r=i.length;--r>-1;)t=i[r],l[t]&&(l[t].parse===e?u=!0:t="transformOrigin"===t?ci:l[t].p),wt(f,t);u&&(wt(f,c),this.t._gsTransform&&delete this.t._gsTransform)}},u("clearProps",{parser:function(n,t,i,r,u){return u=new o(n,i,0,0,u,2),u.setRatio=lr,u.e=t,u.pr=-10,u.data=r._tween,rt=!0,u}}),i="bezier,throwProps,physicsProps,physics2D".split(","),s=i.length;s--;)tu(i[s]);return i=e.prototype,i._firstPT=null,i._onInitTween=function(n,t,i){if(!n.nodeType)return!1;this._target=n;this._tween=i;this._vars=t;kt=t.autoRound;rt=!1;lt=t.suffixMap||e.suffixMap;f=et(n,"");bt=this._overwriteProps;var l,s,u,a,w,k,y,v,p,h=n.style;if(ai&&""===h.zIndex&&(l=r(n,"zIndex",f),("auto"===l||""===l)&&this._addLazySet(h,"zIndex",0)),"string"==typeof t&&(a=h.cssText,l=ot(n,f),h.cssText=a+";"+t,l=ui(n,l,ot(n)).difs,!nt&&vr.test(t)&&(l.opacity=parseFloat(RegExp.$1)),t=l,h.cssText=a),this._firstPT=s=this.parse(n,t,null),this._transformType){for(p=3===this._transformType,c?dt&&(ai=!0,""===h.zIndex&&(y=r(n,"zIndex",f),("auto"===y||""===y)&&this._addLazySet(h,"zIndex",0)),yi&&this._addLazySet(h,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(p?"visible":"hidden"))):h.zoom=1,u=s;u&&u._next;)u=u._next;v=new o(n,"transform",0,0,null,2);this._linkCSSP(v,null,u);v.setRatio=p&&b?li:c?sr:ru;v.data=this._transform||ht(n,f,!0);bt.pop()}if(rt){for(;s;){for(k=s._next,u=a;u&&u.pr>s.pr;)u=u._next;(s._prev=u?u._prev:w)?s._prev._next=s:a=s;(s._next=u)?u._prev=s:w=s;s=k}this._firstPT=a}return!0},i.parse=function(n,t,i,u){var e,d,h,c,v,s,y,a,w,b,k=n.style;for(e in t)s=t[e],d=l[e],d?i=d.parse(n,s,e,this,i,u,t):(v=r(n,e,f)+"",w="string"==typeof s,"color"===e||"fill"===e||"stroke"===e||-1!==e.indexOf("Color")||w&&wi.test(s)?(w||(s=oi(s),s=(s.length>3?"rgba(":"rgb(")+s.join(",")+")"),i=pt(k,e,v,s,!0,"transparent",i,0,u)):!w||-1===s.indexOf(" ")&&-1===s.indexOf(",")?(h=parseFloat(v),y=h||0===h?v.substr((h+"").length):"",(""===v||"auto"===v)&&("width"===e||"height"===e?(h=nu(n,e,f),y="px"):"left"===e||"top"===e?(h=ir(n,e,f),y="px"):(h="opacity"!==e?0:1,y="")),b=w&&"="===s.charAt(1),b?(c=parseInt(s.charAt(0)+"1",10),s=s.substr(2),c*=parseFloat(s),a=s.replace(ni,"")):(c=parseFloat(s),a=w?s.substr((c+"").length)||"":""),""===a&&(a=e in lt?lt[e]:y),s=c||0===c?(b?c+h:c)+a:t[e],y!==a&&""!==a&&(c||0===c)&&h&&(h=p(n,e,h,y),"%"===a?(h/=p(n,e,100,"%")/100,t.strictUnits!==!0&&(v=h+"%")):"em"===a?h/=p(n,e,1,"em"):"px"!==a&&(c=p(n,e,c,a),a="px"),b&&(c||0===c)&&(s=c+h+a)),b&&(c+=h),!h&&0!==h||!c&&0!==c?void 0!==k[e]&&(s||"NaN"!=s+""&&null!=s)?(i=new o(k,e,c||h||0,0,i,-1,e,!1,0,v,s),i.xs0="none"!==s||"display"!==e&&-1===e.indexOf("Style")?s:v):nr("invalid "+e+" tween value: "+t[e]):(i=new o(k,e,h,c-h,i,0,e,kt!==!1&&("px"===a||"zIndex"===e),0,v,s),i.xs0=a)):i=pt(k,e,v,s,!0,null,i,0,u)),u&&i&&!i.plugin&&(i.plugin=u);return i},i.setRatio=function(n){var i,u,r,t=this._firstPT,f=1e-6;if(1!==n||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(n||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;t;){if(i=t.c*n+t.s,t.r?i=Math.round(i):f>i&&i>-f&&(i=0),t.type)if(1===t.type)if(r=t.l,2===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2;else if(3===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3;else if(4===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4;else if(5===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4+t.xn4+t.xs5;else{for(u=t.xs0+i+t.xs1,r=1;t.l>r;r++)u+=t["xn"+r]+t["xs"+(r+1)];t.t[t.p]=u}else-1===t.type?t.t[t.p]=t.xs0:t.setRatio&&t.setRatio(n);else t.t[t.p]=i+t.xs0;t=t._next}else for(;t;)2!==t.type?t.t[t.p]=t.b:t.setRatio(n),t=t._next;else for(;t;)2!==t.type?t.t[t.p]=t.e:t.setRatio(n),t=t._next},i._enableTransforms=function(n){this._transformType=n||3===this._transformType?3:2;this._transform=this._transform||ht(this._target,f,!0)},ar=function(){this.t[this.p]=this.e;this.data._linkCSSP(this,this._next,null,!0)},i._addLazySet=function(n,t,i){var r=this._firstPT=new o(n,t,0,0,this._firstPT,2);r.e=i;r.setRatio=ar;r.data=this},i._linkCSSP=function(n,t,i,r){return n&&(t&&(t._prev=n),n._next&&(n._next._prev=n._prev),n._prev?n._prev._next=n._next:this._firstPT===n&&(this._firstPT=n._next,r=!0),i?i._next=n:r||null!==this._firstPT||(this._firstPT=n),n._next=t,n._prev=i),n},i._kill=function(t){var i,f,r,u=t;if(t.autoAlpha||t.alpha){u={};for(f in t)u[f]=t[f];u.opacity=1;u.autoAlpha&&(u.visibility=1)}return t.className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),n.prototype._kill.call(this,u)},ct=function(n,t,i){var e,u,r,f;if(n.slice)for(u=n.length;--u>-1;)ct(n[u],t,i);else for(e=n.childNodes,u=e.length;--u>-1;)r=e[u],f=r.type,r.style&&(t.push(ot(r)),i&&i.push(r)),1!==f&&9!==f&&11!==f||!r.childNodes.length||ct(r,t,i)},e.cascadeTo=function(n,i,r){var u,f,o,e=t.to(n,i,r),h=[e],c=[],l=[],s=[],a=t._internals.reservedProps;for(n=e._targets||e.target,ct(n,c,s),e.render(i,!0),ct(n,l),e.render(0,!0),e._enabled(!0),u=s.length;--u>-1;)if(f=ui(s[u],c[u],l[u]),f.firstMPT){f=f.difs;for(o in r)a[o]&&(f[o]=r[o]);h.push(t.to(s[u],i,f))}return h},n.activate([e]),e},!0)});_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(n){"use strict";var t=function(){return(_gsScope.GreenSockGlobals||_gsScope)[n]};"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=t())}("CSSPlugin");_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,function(n){"use strict";var f=n.GreenSockGlobals||n,a=function(n){for(var r=n.split("."),i=f,t=0;r.length>t;t++)i[r[t]]=i=i[r[t]]||{};return i},v=a("com.greensock.utils"),u=function(n){var t=n.nodeType,i="";if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=u(n)}else if(3===t||4===t)return n.nodeValue;return i},t=document,e=t.defaultView?t.defaultView.getComputedStyle:function(){},y=/([A-Z])/g,i=function(n,t,i,r){var u;return(i=i||e(n,null))?(n=i.getPropertyValue(t.replace(y,"-$1").toLowerCase()),u=n||i.length?n:i[t]):n.currentStyle&&(i=n.currentStyle,u=i[t]),r?u:parseInt(u,10)||0},o=function(n){return n.length&&n[0]&&(n[0].nodeType&&n[0].style&&!n.nodeType||n[0].length&&n[0][0])?!0:!1},p=function(n){for(var t,i,u=[],f=n.length,r=0;f>r;r++)if(t=n[r],o(t))for(i=t.length,i=0;t.length>i;i++)u.push(t[i]);else u.push(t);return u},s=")eefec303079ad17405c",h=/(?:<br>|<br\/>|<br \/>)/gi,w=t.all&&!t.addEventListener,b="<div style='position:relative;display:inline-block;"+(w?"*display:inline;*zoom:1;'":"'"),c=function(n){n=n||"";var t=-1!==n.indexOf("++"),i=1;return t&&(n=n.split("++").join("")),function(){return b+(n?" class='"+n+(t?i++:"")+"'>":">")}},r=v.SplitText=f.SplitText=function(n,t){if("string"==typeof n&&(n=r.selector(n)),!n)throw"cannot split a null element.";this.elements=o(n)?p(n):[n];this.chars=[];this.words=[];this.lines=[];this._originals=[];this.vars=t||{};this.split(t)},k=function(n,r,f,o,l){h.test(n.innerHTML)&&(n.innerHTML=n.innerHTML.replace(h,s));var rt,b,ut,v,g,ot,ft,a,k,y,nt,pt,wt,st=u(n),at=r.type||r.split||"chars,words,lines",tt=-1!==at.indexOf("lines")?[]:null,it=-1!==at.indexOf("words"),et=-1!==at.indexOf("chars"),p="absolute"===r.position||r.absolute===!0,gt=p?"&#173; ":" ",bt=-999,d=e(n),kt=i(n,"paddingLeft",d),ni=i(n,"borderBottomWidth",d)+i(n,"borderTopWidth",d),ti=i(n,"borderLeftWidth",d)+i(n,"borderRightWidth",d),ii=i(n,"paddingTop",d)+i(n,"paddingBottom",d),ri=i(n,"paddingLeft",d)+i(n,"paddingRight",d),ui=i(n,"textAlign",d,!0),ht=n.clientHeight,ct=n.clientWidth,w=st.length,vt="<\/div>",yt=c(r.wordsClass),fi=c(r.charsClass),dt=-1!==(r.linesClass||"").indexOf("++"),lt=r.linesClass;for(dt&&(lt=lt.split("++").join("")),ut=yt(),v=0;w>v;v++)ot=st.charAt(v),")"===ot&&st.substr(v,20)===s?(ut+=vt+"<BR/>",v!==w-1&&(ut+=" "+yt()),v+=19):" "===ot&&" "!==st.charAt(v-1)&&v!==w-1?(ut+=vt,v!==w-1&&(ut+=gt+yt())):ut+=et&&" "!==ot?fi()+ot+"<\/div>":ot;for(n.innerHTML=ut+vt,g=n.getElementsByTagName("*"),w=g.length,ft=[],v=0;w>v;v++)ft[v]=g[v];if(tt||p)for(v=0;w>v;v++)a=ft[v],b=a.parentNode===n,(b||p||et&&!it)&&(k=a.offsetTop,tt&&b&&k!==bt&&"BR"!==a.nodeName&&(rt=[],tt.push(rt),bt=k),p&&(a._x=a.offsetLeft,a._y=k,a._w=a.offsetWidth,a._h=a.offsetHeight),tt&&(it!==b&&et||(rt.push(a),a._x-=kt),b&&v&&(ft[v-1]._wordEnd=!0)));for(v=0;w>v;v++)a=ft[v],b=a.parentNode===n,"BR"!==a.nodeName?(p&&(nt=a.style,it||b||(a._x+=a.parentNode._x,a._y+=a.parentNode._y),nt.left=a._x+"px",nt.top=a._y+"px",nt.position="absolute",nt.display="block",nt.width=a._w+1+"px",nt.height=a._h+"px"),it?b?o.push(a):et&&f.push(a):b?(n.removeChild(a),ft.splice(v--,1),w--):!b&&et&&(k=!tt&&!p&&a.nextSibling,n.appendChild(a),k||n.appendChild(t.createTextNode(" ")),f.push(a))):tt||p?(n.removeChild(a),ft.splice(v--,1),w--):it||n.appendChild(a);if(tt){for(p&&(y=t.createElement("div"),n.appendChild(y),pt=y.offsetWidth+"px",k=y.offsetParent===n?0:n.offsetLeft,n.removeChild(y)),nt=n.style.cssText,n.style.cssText="display:none;";n.firstChild;)n.removeChild(n.firstChild);for(wt=!p||!it&&!et,v=0;tt.length>v;v++){for(rt=tt[v],y=t.createElement("div"),y.style.cssText="display:block;text-align:"+ui+";position:"+(p?"absolute;":"relative;"),lt&&(y.className=lt+(dt?v+1:"")),l.push(y),w=rt.length,g=0;w>g;g++)"BR"!==rt[g].nodeName&&(a=rt[g],y.appendChild(a),wt&&(a._wordEnd||it)&&y.appendChild(t.createTextNode(" ")),p&&(0===g&&(y.style.top=a._y+"px",y.style.left=kt+k+"px"),a.style.top="0px",k&&(a.style.left=a._x-k+"px")));it||et||(y.innerHTML=u(y).split(String.fromCharCode(160)).join(" "));p&&(y.style.width=pt,y.style.height=a._h+"px");n.appendChild(y)}n.style.cssText=nt}p&&(ht>n.clientHeight&&(n.style.height=ht-ii+"px",ht>n.clientHeight&&(n.style.height=ht+ni+"px")),ct>n.clientWidth&&(n.style.width=ct-ri+"px",ct>n.clientWidth&&(n.style.width=ct+ti+"px")))},l=r.prototype;l.split=function(n){this.isSplit&&this.revert();this.vars=n||this.vars;this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var t=0;this.elements.length>t;t++)this._originals[t]=this.elements[t].innerHTML,k(this.elements[t],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this};l.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var n=this._originals.length;--n>-1;)this.elements[n].innerHTML=this._originals[n];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this};r.selector=n.$||n.jQuery||function(i){return n.$?(r.selector=n.$,n.$(i)):t?t.getElementById("#"===i.charAt(0)?i.substr(1):i):i};r.version="0.2.4"}(_gsScope),function(n){"use strict";var t=function(){return(_gsScope.GreenSockGlobals||_gsScope)[n]};"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(module.exports=t())}("SplitText");try{window.GreenSockGobals=null;window._gsQueue=null;delete window.GreenSockGlobals;delete window._gsQueue}catch(e){}try{window.GreenSockGlobals=oldgs;window._gsQueue=oldgs_queue}catch(e){}if(window.tplogs==!0)try{console.groupEnd()}catch(e){}(function(n){n.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};n.expr[":"].uncached=function(t){var i=document.createElement("img");return i.src=t.src,n(t).is('img[src!=""]')&&!i.complete};n.fn.waitForImages=function(t,i,r){if(n.isPlainObject(arguments[0])&&(i=t.each,r=t.waitForAll,t=t.finished),t=t||n.noop,i=i||n.noop,r=!!r,!n.isFunction(t)||!n.isFunction(i))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var f=n(this),u=[],s,h,e,o;r?(s=n.waitForImages.hasImageProperties||[],h=/url\((['"]?)(.*?)\1\)/g,f.find("*").each(function(){var t=n(this);t.is("img:uncached")&&u.push({src:t.attr("src"),element:t[0]});n.each(s,function(n,i){var r=t.css(i),f;if(!r)return!0;while(f=h.exec(r))u.push({src:f[2],element:t[0]})})})):f.find("img:uncached").each(function(){u.push({src:this.src,element:this})});e=u.length;o=0;e==0&&t.call(f[0]);n.each(u,function(r,u){var s=new Image;n(s).bind("load error",function(n){return o++,i.call(u.element,o,e,n.type=="load"),o==e?(t.call(f[0]),!1):void 0});s.src=u.src})})}})(jQuery),function(n,t){function lt(){var n=!1;return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?navigator.userAgent.match(/OS 4_\d like Mac OS X/i)&&(n=!0):n=!1,n}function at(u,f){var e,l,d,rt,a,y,o,g,s,et,ut,h;if(u==t)return!1;if(u.data("aimg")!=t&&(u.data("aie8")=="enabled"&&r(8)||u.data("amobile")=="enabled"&&i())&&u.html('<img class="tp-slider-alternative-image" src="'+u.data("aimg")+'">'),(f.navigationStyle=="preview1"||f.navigationStyle=="preview3"||f.navigationStyle=="preview4")&&(f.soloArrowLeftHalign="left",f.soloArrowLeftValign="center",f.soloArrowLeftHOffset=0,f.soloArrowLeftVOffset=0,f.soloArrowRightHalign="right",f.soloArrowRightValign="center",f.soloArrowRightHOffset=0,f.soloArrowRightVOffset=0,f.navigationArrows="solo"),f.simplifyAll=="on"&&(r(8)||lt())&&(u.find(".tp-caption").each(function(){var t=n(this);t.removeClass("customin").removeClass("customout").addClass("fadein").addClass("fadeout");t.data("splitin","");t.data("speed",400)}),u.find(">ul>li").each(function(){var t=n(this),i;t.data("transition","fade");t.data("masterspeed",500);t.data("slotamount",1);i=t.find(">img").first();i.data("kenburns","off")})),f.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),f.fullWidth!="on"&&f.fullScreen!="on"&&(f.autoHeight="off"),f.fullScreen=="on"&&(f.autoHeight="on"),f.fullWidth!="on"&&f.fullScreen!="on"&&(forceFulWidth="off"),f.fullWidth=="on"&&f.autoHeight=="off"&&u.css({maxHeight:f.startheight+"px"}),i()&&f.hideThumbsOnMobile=="on"&&f.navigationType=="thumb"&&(f.navigationType="none"),i()&&f.hideBulletsOnMobile=="on"&&f.navigationType=="bullet"&&(f.navigationType="none"),i()&&f.hideBulletsOnMobile=="on"&&f.navigationType=="both"&&(f.navigationType="none"),i()&&f.hideArrowsOnMobile=="on"&&(f.navigationArrows="none"),f.forceFullWidth=="on"&&u.closest(".forcefullwidth_wrapper_tp_banner").length==0){var s=u.parent().offset().left,p=u.parent().css("marginBottom"),w=u.parent().css("marginTop");p==t&&(p=0);w==t&&(w=0);u.parent().wrap('<div style="position:relative;width:100%;height:auto;margin-top:'+w+";margin-bottom:"+p+'" class="forcefullwidth_wrapper_tp_banner"><\/div>');u.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+u.height()+'px"><\/div>');u.css({backgroundColor:u.parent().css("backgroundColor"),backgroundImage:u.parent().css("backgroundImage")});u.parent().css({left:0-s+"px",position:"absolute",width:n(window).width()});f.width=n(window).width()}try{f.hideThumbsUnderResolution>n(window).width()&&f.hideThumbsUnderResolution!=0?u.parent().find(".tp-bullets.tp-thumbs").css({display:"none"}):u.parent().find(".tp-bullets.tp-thumbs").css({display:"block"})}catch(ot){}if(!u.hasClass("revslider-initialised")){u.addClass("revslider-initialised");u.attr("id")==t&&u.attr("id","revslider-"+Math.round(Math.random()*1e3+5));f.firefox13=!1;f.ie=!n.support.opacity;f.ie9=document.documentMode==9;f.origcd=f.delay;var c=n.fn.jquery.split("."),nt=parseFloat(c[0]),ft=parseFloat(c[1]),st=parseFloat(c[2]||"0");nt==1&&ft<7&&u.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+c+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin<\/div>");nt>1&&(f.ie=!1);n.support.transition||(n.fn.transition=n.fn.animate);u.find(".caption").each(function(){n(this).addClass("tp-caption")});i()&&u.find(".tp-caption").each(function(){var t=n(this);(t.data("autoplayonlyfirsttime")==!0||t.data("autoplayonlyfirsttime")=="true")&&t.data("autoplayonlyfirsttime","false");(t.data("autoplay")==!0||t.data("autoplay")=="true")&&t.data("autoplay",!1)});var tt=0,it=0,k="http";if(location.protocol==="https:"&&(k="https"),u.find(".tp-caption").each(function(){var u,f,e,i,r;try{(n(this).data("ytid")!=t||n(this).find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&tt==0&&(tt=1,u=document.createElement("script"),f="https",u.src=f+"://www.youtube.com/iframe_api",i=document.getElementsByTagName("script")[0],r=!0,n("head").find("*").each(function(){n(this).attr("src")==f+"://www.youtube.com/iframe_api"&&(r=!1)}),r&&i.parentNode.insertBefore(u,i))}catch(o){}try{(n(this).data("vimeoid")!=t||n(this).find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&it==0&&(it=1,e=document.createElement("script"),e.src=k+"://a.vimeocdn.com/js/froogaloop2.min.js",i=document.getElementsByTagName("script")[0],r=!0,n("head").find("*").each(function(){n(this).attr("src")==k+"://a.vimeocdn.com/js/froogaloop2.min.js"&&(r=!1)}),r&&i.parentNode.insertBefore(e,i))}catch(o){}try{n(this).data("videomp4")!=t||n(this).data("videowebm")!=t}catch(o){}}),u.find(".tp-caption video").each(function(){n(this).removeClass("video-js").removeClass("vjs-default-skin");n(this).attr("preload","");n(this).css({display:"none"})}),u.find(">ul:first-child >li").each(function(){var t=n(this);t.data("origindex",t.index())}),f.shuffle=="on"){for(e={},l=u.find(">ul:first-child >li:first-child"),e.fstransition=l.data("fstransition"),e.fsmasterspeed=l.data("fsmasterspeed"),e.fsslotamount=l.data("fsslotamount"),d=0;d<u.find(">ul:first-child >li").length;d++)rt=Math.round(Math.random()*u.find(">ul:first-child >li").length),u.find(">ul:first-child >li:eq("+rt+")").prependTo(u.find(">ul:first-child"));a=u.find(">ul:first-child >li:first-child");a.data("fstransition",e.fstransition);a.data("fsmasterspeed",e.fsmasterspeed);a.data("fsslotamount",e.fsslotamount)}f.slots=4;f.act=-1;f.next=0;f.startWithSlide!=t&&(f.next=f.startWithSlide);y=yt("#")[0];y.length<9&&y.split("slide").length>1&&(o=parseInt(y.split("slide")[1],0),o<1&&(o=1),o>u.find(">ul:first >li").length&&(o=u.find(">ul:first >li").length),f.next=o-1);f.firststart=1;f.navigationHOffset==t&&(f.navOffsetHorizontal=0);f.navigationVOffset==t&&(f.navOffsetVertical=0);u.append('<div class="tp-loader '+f.spinner+'"><div class="dot1"><\/div><div class="dot2"><\/div><div class="bounce1"><\/div><div class="bounce2"><\/div><div class="bounce3"><\/div><\/div>');u.find(".tp-bannertimer").length==0&&u.append('<div class="tp-bannertimer" style="visibility:hidden"><\/div>');g=u.find(".tp-bannertimer");g.length>0&&g.css({width:"0%"});u.addClass("tp-simpleresponsive");f.container=u;f.slideamount=u.find(">ul:first >li").length;u.height()==0&&u.height(f.startheight);(f.startwidth==t||f.startwidth==0)&&(f.startwidth=u.width());(f.startheight==t||f.startheight==0)&&(f.startheight=u.height());f.width=u.width();f.height=u.height();f.bw=f.startwidth/u.width();f.bh=f.startheight/u.height();f.width!=f.startwidth&&(f.height=Math.round(f.startheight*(f.width/f.startwidth)),u.height(f.height));f.shadow!=0&&(u.parent().append('<div class="tp-bannershadow tp-shadow'+f.shadow+'"><\/div>'),s=0,f.forceFullWidth=="on"&&(s=0-f.container.parent().offset().left),u.parent().find(".tp-bannershadow").css({width:f.width,left:s}));u.find("ul").css({display:"none"});et=u;u.find("ul").css({display:"block"});ni(u,f);f.parallax!="off"&&vi(u,f);f.slideamount>1&&pt(u,f);f.slideamount>1&&f.navigationType=="thumb"&&yi(u,f);f.slideamount>1&&wt(u,f);f.keyboardNavigation=="on"&&bt(u,f);kt(u,f);f.hideThumbs>0&&dt(u,f);setTimeout(function(){b(u,f)},f.startDelay);f.startDelay=0;f.slideamount>1&&li(u,f);setTimeout(function(){u.trigger("revolution.slide.onloaded")},500);n("body").data("rs-fullScreenMode",!1);n(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){n("body").data("rs-fullScreenMode",!n("body").data("rs-fullScreenMode"));n("body").data("rs-fullScreenMode")&&setTimeout(function(){n(window).trigger("resize")},200)});ut="resize.revslider-"+u.attr("id");n(window).on(ut,function(){if(u==t)return!1;if(n("body").find(u)!=0&&f.forceFullWidth=="on"){var i=f.container.closest(".forcefullwidth_wrapper_tp_banner").offset().left;f.container.parent().css({left:0-i+"px",width:n(window).width()})}(u.outerWidth(!0)!=f.width||u.is(":hidden"))&&v(u,f)});try{f.hideThumbsUnderResoluition!=0&&f.navigationType=="thumb"&&(f.hideThumbsUnderResoluition>n(window).width()?n(".tp-bullets").css({display:"none"}):n(".tp-bullets").css({display:"block"}))}catch(ot){}u.find(".tp-scrollbelowslider").on("click",function(){var t=0;try{t=n("body").find(f.fullScreenOffsetContainer).height()}catch(i){}try{t=t-parseInt(n(this).data("scrolloffset"),0)}catch(i){}n("body,html").animate({scrollTop:u.offset().top+u.find(">ul >li").height()-t+"px"},{duration:400})});h=u.parent();n(window).width()<f.hideSliderAtLimit&&(u.trigger("stoptimer"),h.css("display")!="none"&&h.data("olddisplay",h.css("display")),h.css({display:"none"}));vt(u,f)}}n.fn.extend({revolution:function(i){return i=n.extend({},{delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:"off",autoHeight:"off",hideTimerBar:"off",hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHeight:50,thumbAmount:3,navigationType:"bullet",navigationArrows:"solo",navigationInGrid:"off",hideThumbsOnMobile:"off",hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResoluition:0,navigationStyle:"round",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:"on",touchenabled:"on",onHoverStop:"on",stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:"off",fullScreen:"off",minFullScreenHeight:0,fullScreenOffsetContainer:"",fullScreenOffset:"0",dottedOverlay:"none",forceFullWidth:"off",spinner:"spinner0",swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,isJoomla:!1,parallax:"off",parallaxLevels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],parallaxBgFreeze:"off",parallaxOpacity:"on",parallaxDisableOnMobile:"off",panZoomDisableOnMobile:"off",simplifyAll:"on",minHeight:0,nextSlideOnWindowFocus:"off",startDelay:0},i),this.each(function(){if(window.tplogs==!0)try{console.groupCollapsed("Slider Revolution 4.6.3 Initialisation on "+n(this).attr("id"));console.groupCollapsed("Used Options:");console.info(i);console.groupEnd();console.groupCollapsed("Tween Engine:")}catch(r){}if(punchgs.TweenLite==t){if(window.tplogs==!0)try{console.error("GreenSock Engine Does not Exist!")}catch(r){}return!1}if(punchgs.force3D=!0,window.tplogs==!0)try{console.info("GreenSock Engine Version in Slider Revolution:"+punchgs.TweenLite.version)}catch(r){}if(i.simplifyAll=="on"||(punchgs.TweenLite.lagSmoothing(1e3,16),punchgs.force3D="true"),window.tplogs==!0)try{console.groupEnd();console.groupEnd()}catch(r){}at(n(this),i)})},revscroll:function(i){return this.each(function(){var r=n(this);r!=t&&r.length>0&&n("body").find("#"+r.attr("id")).length>0&&n("body,html").animate({scrollTop:r.offset().top+r.find(">ul >li").height()-i+"px"},{duration:400})})},revredraw:function(){return this.each(function(){var i=n(this),r,u;i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0&&(r=i.parent().find(".tp-bannertimer"),u=r.data("opt"),v(i,u))})},revkill:function(){var f=this,i=n(this),r,u,e;if(i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0){i.data("conthover",1);i.data("conthover-changed",1);i.trigger("revolution.slide.onpause");r=i.parent().find(".tp-bannertimer");u=r.data("opt");u.bannertimeronpause=!0;i.trigger("stoptimer");punchgs.TweenLite.killTweensOf(i.find("*"),!1);punchgs.TweenLite.killTweensOf(i,!1);i.unbind("hover, mouseover, mouseenter,mouseleave, resize");e="resize.revslider-"+i.attr("id");n(window).off(e);i.find("*").each(function(){var i=n(this);i.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer");i.off("on, hover, mouseenter,mouseleave,mouseover, resize");i.data("mySplitText",null);i.data("ctl",null);i.data("tween")!=t&&i.data("tween").kill();i.data("kenburn")!=t&&i.data("kenburn").kill();i.remove();i.empty();i=null});punchgs.TweenLite.killTweensOf(i.find("*"),!1);punchgs.TweenLite.killTweensOf(i,!1);r.remove();try{i.closest(".forcefullwidth_wrapper_tp_banner").remove()}catch(o){}try{i.closest(".rev_slider_wrapper").remove()}catch(o){}try{i.remove()}catch(o){}return i.empty(),i.html(),i=null,u=null,delete f.container,delete f.opt,!0}return!1},revpause:function(){return this.each(function(){var i=n(this),r,u;i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0&&(i.data("conthover",1),i.data("conthover-changed",1),i.trigger("revolution.slide.onpause"),r=i.parent().find(".tp-bannertimer"),u=r.data("opt"),u.bannertimeronpause=!0,i.trigger("stoptimer"))})},revresume:function(){return this.each(function(){var i=n(this),r,u;i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0&&(i.data("conthover",0),i.data("conthover-changed",1),i.trigger("revolution.slide.onresume"),r=i.parent().find(".tp-bannertimer"),u=r.data("opt"),u.bannertimeronpause=!1,i.trigger("starttimer"))})},revnext:function(){return this.each(function(){var i=n(this);i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0&&i.parent().find(".tp-rightarrow").click()})},revprev:function(){return this.each(function(){var i=n(this);i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0&&i.parent().find(".tp-leftarrow").click()})},revmaxslide:function(){return n(this).find(">ul:first-child >li").length},revcurrentslide:function(){var i=n(this),r,u;if(i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0)return r=i.parent().find(".tp-bannertimer"),u=r.data("opt"),u.act},revlastslide:function(){var i=n(this),r,u;if(i!=t&&i.length>0&&n("body").find("#"+i.attr("id")).length>0)return r=i.parent().find(".tp-bannertimer"),u=r.data("opt"),u.lastslide},revshowslide:function(i){return this.each(function(){var r=n(this);r!=t&&r.length>0&&n("body").find("#"+r.attr("id")).length>0&&(r.data("showus",i),r.parent().find(".tp-rightarrow").click())})}});var pi=function(){var n,t,i={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(n in i)if(n in document){t=i[n];break}return function(i){return i&&document.addEventListener(t,i),!document[n]}}(),vt=function(i,r){var u=document.documentMode===t,f=window.chrome;if(u&&!f)n(window).on("focusin",function(){if(i==t)return!1;setTimeout(function(){r.nextSlideOnWindowFocus=="on"&&i.revnext();i.revredraw()},300)}).on("focusout",function(){});else window.addEventListener?(window.addEventListener("focus",function(){if(i==t)return!1;setTimeout(function(){r.nextSlideOnWindowFocus=="on"&&i.revnext();i.revredraw()},300)},!1),window.addEventListener("blur",function(){},!1)):(window.attachEvent("focus",function(){setTimeout(function(){if(i==t)return!1;r.nextSlideOnWindowFocus=="on"&&i.revnext();i.revredraw()},300)}),window.attachEvent("blur",function(){}))},yt=function(n){for(var u=[],i,r=window.location.href.slice(window.location.href.indexOf(n)+1).split("_"),t=0;t<r.length;t++)r[t]=r[t].replace("%3D","="),i=r[t].split("="),u.push(i[0]),u[i[0]]=i[1];return u},v=function(i,r){var u,s,c,h,l,f;if(i==t)return!1;try{r.hideThumbsUnderResoluition!=0&&r.navigationType=="thumb"&&(r.hideThumbsUnderResoluition>n(window).width()?n(".tp-bullets").css({display:"none"}):n(".tp-bullets").css({display:"block"}))}catch(a){}i.find(".defaultimg").each(function(){o(n(this),r)});u=i.parent();n(window).width()<r.hideSliderAtLimit?(i.trigger("stoptimer"),u.css("display")!="none"&&u.data("olddisplay",u.css("display")),u.css({display:"none"})):i.is(":hidden")&&(u.data("olddisplay")!=t&&u.data("olddisplay")!="undefined"&&u.data("olddisplay")!="none"?u.css({display:u.data("olddisplay")}):u.css({display:"block"}),i.trigger("restarttimer"),setTimeout(function(){v(i,r)},150));s=0;r.forceFullWidth=="on"&&(s=0-r.container.parent().offset().left);try{i.parent().find(".tp-bannershadow").css({width:r.width,left:s})}catch(a){}c=i.find(">ul >li:eq("+r.act+") .slotholder");h=i.find(">ul >li:eq("+r.next+") .slotholder");p(i,r,i);punchgs.TweenLite.set(h.find(".defaultimg"),{opacity:0});c.find(".defaultimg").css({opacity:1});h.find(".defaultimg").each(function(){var u=n(this);r.panZoomDisableOnMobile=="on"||u.data("kenburn")!=t&&(u.data("kenburn").restart(),nt(i,r,!0))});l=i.find(">ul >li:eq("+r.next+")");f=i.parent().find(".tparrows");f.hasClass("preview2")&&f.css({width:parseInt(f.css("minWidth"),0)});ft(l,r,!0);e(i,r)},r=function(t,i){var r=n('<div style="display:none;"/>').appendTo(n("body")),u;return r.html("<!--[if "+(i||"")+" IE "+(t||"")+"]><a>&nbsp;<\/a><![endif]-->"),u=r.find("a").length,r.remove(),u},f=function(n,t){n.next==t.find(">ul >li").length-1&&(n.looptogo=n.looptogo-1,n.looptogo<=0&&(n.stopLoop="on"));b(t,n)},pt=function(t,i){var u="hidebullets",r;i.hideThumbs==0&&(u="");(i.navigationType=="bullet"||i.navigationType=="both")&&t.parent().append('<div class="tp-bullets '+u+" simplebullets "+i.navigationStyle+'"><\/div>');r=t.parent().find(".tp-bullets");t.find(">ul:first >li").each(function(n){var u=t.find(">ul:first >li:eq("+n+") img:first").attr("src"),i;r.append('<div class="bullet"><\/div>');i=r.find(".bullet:first")});r.find(".bullet").each(function(r){var u=n(this);r==i.slideamount-1&&u.addClass("last");r==0&&u.addClass("first");u.click(function(){var r=!1,n=u.index();(i.navigationArrows=="withbullet"||i.navigationArrows=="nexttobullets")&&(n=u.index()-1);n==i.act&&(r=!0);i.transition!=0||r||(i.next=n,f(i,t))})});r.append('<div class="tpclear"><\/div>');e(t,i)},wt=function(n,i){function s(t){n.parent().append('<div style="'+r+'" class="tp-'+t+"arrow "+u+" tparrows "+o+'"><div class="tp-arr-allwrapper"><div class="tp-arr-iwrapper"><div class="tp-arr-imgholder"><\/div><div class="tp-arr-imgholder2"><\/div><div class="tp-arr-titleholder"><\/div><div class="tp-arr-subtitleholder"><\/div><\/div><\/div><\/div>')}var h=n.find(".tp-bullets"),r="",u="hidearrows",o=i.navigationStyle;i.hideThumbs==0&&(u="");i.navigationArrows=="none"&&(r="visibility:hidden;display:none");i.soloArrowStyle="default "+i.navigationStyle;i.navigationArrows!="none"&&i.navigationArrows!="nexttobullets"&&(o=i.soloArrowStyle);s("left");s("right");n.parent().find(".tp-rightarrow").click(function(){i.transition==0&&(i.next=n.data("showus")!=t&&n.data("showus")!=-1?n.data("showus")-1:i.next+1,n.data("showus",-1),i.next>=i.slideamount&&(i.next=0),i.next<0&&(i.next=0),i.act!=i.next&&f(i,n))});n.parent().find(".tp-leftarrow").click(function(){i.transition==0&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),f(i,n))});e(n,i)},bt=function(i,r){n(document).keydown(function(n){r.transition==0&&n.keyCode==39&&(r.next=i.data("showus")!=t&&i.data("showus")!=-1?i.data("showus")-1:r.next+1,i.data("showus",-1),r.next>=r.slideamount&&(r.next=0),r.next<0&&(r.next=0),r.act!=r.next&&f(r,i));r.transition==0&&n.keyCode==37&&(r.next=r.next-1,r.leftarrowpressed=1,r.next<0&&(r.next=r.slideamount-1),f(r,i))});e(i,r)},kt=function(t,i){var r="vertical";i.touchenabled=="on"&&(i.drag_block_vertical==!0&&(r="none"),t.swipe({allowPageScroll:r,fingers:i.swipe_min_touches,treshold:i.swipe_treshold,swipe:function(u,e){switch(e){case"left":i.transition==0&&(i.next=i.next+1,i.next==i.slideamount&&(i.next=0),f(i,t));break;case"right":i.transition==0&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),f(i,t));break;case"up":r=="none"&&n("html, body").animate({scrollTop:t.offset().top+t.height()+"px"});break;case"down":r=="none"&&n("html, body").animate({scrollTop:t.offset().top-n(window).height()+"px"})}}}))},dt=function(n,t){var r=n.parent().find(".tp-bullets"),u=n.parent().find(".tparrows");if(r==null&&(n.append('<div class=".tp-bullets"><\/div>'),r=n.parent().find(".tp-bullets")),u==null&&(n.append('<div class=".tparrows"><\/div>'),u=n.parent().find(".tparrows")),n.data("hideThumbs",t.hideThumbs),r.addClass("hidebullets"),u.addClass("hidearrows"),i())try{n.hammer().on("touch",function(){n.addClass("hovered");t.onHoverStop=="on"&&n.trigger("stoptimer");clearTimeout(n.data("hideThumbs"));r.removeClass("hidebullets");u.removeClass("hidearrows")});n.hammer().on("release",function(){n.removeClass("hovered");n.trigger("starttimer");n.hasClass("hovered")||r.hasClass("hovered")||n.data("hideThumbs",setTimeout(function(){r.addClass("hidebullets");u.addClass("hidearrows");n.trigger("starttimer")},t.hideNavDelayOnMobile))})}catch(f){}else{r.hover(function(){t.overnav=!0;t.onHoverStop=="on"&&n.trigger("stoptimer");r.addClass("hovered");clearTimeout(n.data("hideThumbs"));r.removeClass("hidebullets");u.removeClass("hidearrows")},function(){t.overnav=!1;n.trigger("starttimer");r.removeClass("hovered");n.hasClass("hovered")||r.hasClass("hovered")||n.data("hideThumbs",setTimeout(function(){r.addClass("hidebullets");u.addClass("hidearrows")},t.hideThumbs))});u.hover(function(){t.overnav=!0;t.onHoverStop=="on"&&n.trigger("stoptimer");r.addClass("hovered");clearTimeout(n.data("hideThumbs"));r.removeClass("hidebullets");u.removeClass("hidearrows")},function(){t.overnav=!1;n.trigger("starttimer");r.removeClass("hovered")});n.on("mouseenter",function(){n.addClass("hovered");t.onHoverStop=="on"&&n.trigger("stoptimer");clearTimeout(n.data("hideThumbs"));r.removeClass("hidebullets");u.removeClass("hidearrows")});n.on("mouseleave",function(){n.removeClass("hovered");n.trigger("starttimer");n.hasClass("hovered")||r.hasClass("hovered")||n.data("hideThumbs",setTimeout(function(){r.addClass("hidebullets");u.addClass("hidearrows")},t.hideThumbs))})}},e=function(t,i){var h=t.parent(),f=h.find(".tp-bullets"),s,r,u,e,o,tt;if(i.navigationType=="thumb"&&(f.find(".thumb").each(function(){var t=n(this);t.css({width:i.thumbWidth*i.bw+"px",height:i.thumbHeight*i.bh+"px"})}),s=f.find(".tp-mask"),s.width(i.thumbWidth*i.thumbAmount*i.bw),s.height(i.thumbHeight*i.bh),s.parent().width(i.thumbWidth*i.thumbAmount*i.bw),s.parent().height(i.thumbHeight*i.bh)),r=h.find(".tp-leftarrow"),u=h.find(".tp-rightarrow"),i.navigationType=="thumb"&&i.navigationArrows=="nexttobullets"&&(i.navigationArrows="solo"),i.navigationArrows=="nexttobullets"&&(r.prependTo(f).css({float:"left"}),u.insertBefore(f.find(".tpclear")).css({float:"left"})),e=0,i.forceFullWidth=="on"&&(e=0-i.container.parent().offset().left),o=0,tt=0,i.navigationInGrid=="on"&&(o=t.width()>i.startwidth?(t.width()-i.startwidth)/2:0,tt=t.height()>i.startheight?(t.height()-i.startheight)/2:0),i.navigationArrows!="none"&&i.navigationArrows!="nexttobullets"){var c=i.soloArrowLeftValign,l=i.soloArrowLeftHalign,a=i.soloArrowRightValign,v=i.soloArrowRightHalign,y=i.soloArrowLeftVOffset,p=i.soloArrowLeftHOffset,w=i.soloArrowRightVOffset,b=i.soloArrowRightHOffset;r.css({position:"absolute"});u.css({position:"absolute"});c=="center"?r.css({top:"50%",marginTop:y-Math.round(r.innerHeight()/2)+"px"}):c=="bottom"?r.css({top:"auto",bottom:0+y+"px"}):c=="top"&&r.css({bottom:"auto",top:0+y+"px"});l=="center"?r.css({left:"50%",marginLeft:e+p-Math.round(r.innerWidth()/2)+"px"}):l=="left"?r.css({left:o+p+e+"px"}):l=="right"&&r.css({right:o+p-e+"px"});a=="center"?u.css({top:"50%",marginTop:w-Math.round(u.innerHeight()/2)+"px"}):a=="bottom"?u.css({top:"auto",bottom:0+w+"px"}):a=="top"&&u.css({bottom:"auto",top:0+w+"px"});v=="center"?u.css({left:"50%",marginLeft:e+b-Math.round(u.innerWidth()/2)+"px"}):v=="left"?u.css({left:o+b+e+"px"}):v=="right"&&u.css({right:o+b-e+"px"});r.position()!=null&&r.css({top:Math.round(parseInt(r.position().top,0))+"px"});u.position()!=null&&u.css({top:Math.round(parseInt(u.position().top,0))+"px"})}i.navigationArrows=="none"&&(r.css({visibility:"hidden"}),u.css({visibility:"hidden"}));var k=i.navigationVAlign,d=i.navigationHAlign,g=i.navigationVOffset,nt=i.navigationHOffset;k=="center"&&f.css({top:"50%",marginTop:g-Math.round(f.innerHeight()/2)+"px"});k=="bottom"&&f.css({bottom:0+g+"px"});k=="top"&&f.css({top:0+g+"px"});d=="center"&&f.css({left:"50%",marginLeft:e+nt-Math.round(f.innerWidth()/2)+"px"});d=="left"&&f.css({left:0+nt+e+"px"});d=="right"&&f.css({right:0+nt-e+"px"})},gt=function(r){var s=r.container,f,w;r.beforli=r.next-1;r.comingli=r.next+1;r.beforli<0&&(r.beforli=r.slideamount-1);r.comingli>=r.slideamount&&(r.comingli=0);var h=s.find(">ul:first-child >li:eq("+r.comingli+")"),c=s.find(">ul:first-child >li:eq("+r.beforli+")"),l=c.find(".defaultimg").attr("src"),a=h.find(".defaultimg").attr("src");r.arr==t&&(r.arr=s.parent().find(".tparrows"),r.rar=s.parent().find(".tp-rightarrow"),r.lar=s.parent().find(".tp-leftarrow"),r.raimg=r.rar.find(".tp-arr-imgholder"),r.laimg=r.lar.find(".tp-arr-imgholder"),r.raimg_b=r.rar.find(".tp-arr-imgholder2"),r.laimg_b=r.lar.find(".tp-arr-imgholder2"),r.ratit=r.rar.find(".tp-arr-titleholder"),r.latit=r.lar.find(".tp-arr-titleholder"));var f=r.arr,e=r.rar,v=r.lar,u=r.raimg,o=r.laimg,y=r.raimg_b,p=r.laimg_b,b=r.ratit,k=r.latit;h.data("title")!=t&&b.html(h.data("title"));c.data("title")!=t&&k.html(c.data("title"));e.hasClass("itishovered")&&e.width(b.outerWidth(!0)+parseInt(e.css("minWidth"),0));v.hasClass("itishovered")&&v.width(k.outerWidth(!0)+parseInt(v.css("minWidth"),0));f.hasClass("preview2")&&!f.hasClass("hashoveralready")&&(f.addClass("hashoveralready"),i()?(f=n(this),w=f.find(".tp-arr-titleholder"),w.addClass("alwayshidden"),punchgs.TweenLite.set(w,{autoAlpha:0})):f.hover(function(){var t=n(this),i=t.find(".tp-arr-titleholder");n(window).width()>767&&t.width(i.outerWidth(!0)+parseInt(t.css("minWidth"),0));t.addClass("itishovered")},function(){var t=n(this),i=t.find(".tp-arr-titleholder");t.css({width:parseInt(t.css("minWidth"),0)});t.removeClass("itishovered")}));c.data("thumb")!=t&&(l=c.data("thumb"));h.data("thumb")!=t&&(a=h.data("thumb"));f.hasClass("preview4")?(y.css({backgroundImage:"url("+a+")"}),p.css({backgroundImage:"url("+l+")"}),punchgs.TweenLite.fromTo(y,.8,{force3D:punchgs.force3d,x:0},{x:-u.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){u.css({backgroundImage:"url("+a+")"});punchgs.TweenLite.set(y,{x:0})}}),punchgs.TweenLite.fromTo(p,.8,{force3D:punchgs.force3d,x:0},{x:u.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){o.css({backgroundImage:"url("+l+")"});punchgs.TweenLite.set(p,{x:0})}}),punchgs.TweenLite.fromTo(u,.8,{x:0},{force3D:punchgs.force3d,x:-u.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(u,{x:0})}}),punchgs.TweenLite.fromTo(o,.8,{x:0},{force3D:punchgs.force3d,x:u.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(o,{x:0})}})):(punchgs.TweenLite.to(u,.5,{autoAlpha:0,onComplete:function(){u.css({backgroundImage:"url("+a+")"});o.css({backgroundImage:"url("+l+")"})}}),punchgs.TweenLite.to(o,.5,{autoAlpha:0,onComplete:function(){punchgs.TweenLite.to(u,.5,{autoAlpha:1,delay:.2});punchgs.TweenLite.to(o,.5,{autoAlpha:1,delay:.2})}}));e.hasClass("preview4")&&!e.hasClass("hashoveralready")&&(e.addClass("hashoveralready"),e.hover(function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(t,.4,{x:t.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"});punchgs.TweenLite.to(i,.2,{autoAlpha:1,overwrite:"all"})},function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(t,.4,{x:t.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"});punchgs.TweenLite.to(i,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}),v.hover(function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(t,.4,{x:0-t.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"});punchgs.TweenLite.to(i,.2,{autoAlpha:1,overwrite:"all"})},function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(t,.4,{x:0-t.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"});punchgs.TweenLite.to(i,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}))},o=function(i,r){var e,u,f;if(r.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css({height:r.container.height()}),r.container.closest(".rev_slider_wrapper").css({height:r.container.height()}),r.width=parseInt(r.container.width(),0),r.height=parseInt(r.container.height(),0),r.bw=r.width/r.startwidth,r.bh=r.height/r.startheight,r.bh>r.bw&&(r.bh=r.bw),r.bh<r.bw&&(r.bw=r.bh),r.bw<r.bh&&(r.bh=r.bw),r.bh>1&&(r.bw=1,r.bh=1),r.bw>1&&(r.bw=1,r.bh=1),r.height=Math.round(r.startheight*(r.width/r.startwidth)),r.height>r.startheight&&r.autoHeight!="on"&&(r.height=r.startheight),r.fullScreen=="on"){if(r.height=r.bw*r.startheight,e=r.container.parent().width(),u=n(window).height(),r.fullScreenOffsetContainer!=t){try{f=r.fullScreenOffsetContainer.split(",");n.each(f,function(t,i){u=u-n(i).outerHeight(!0);u<r.minFullScreenHeight&&(u=r.minFullScreenHeight)})}catch(o){}try{r.fullScreenOffset.split("%").length>1&&r.fullScreenOffset!=t&&r.fullScreenOffset.length>0?u=u-n(window).height()*parseInt(r.fullScreenOffset,0)/100:r.fullScreenOffset!=t&&r.fullScreenOffset.length>0&&(u=u-parseInt(r.fullScreenOffset,0));u<r.minFullScreenHeight&&(u=r.minFullScreenHeight)}catch(o){}}r.container.parent().height(u);r.container.closest(".rev_slider_wrapper").height(u);r.container.css({height:"100%"});r.height=u;r.minHeight!=t&&r.height<r.minHeight&&(r.height=r.minHeight)}else r.minHeight!=t&&r.height<r.minHeight&&(r.height=r.minHeight),r.container.height(r.height);r.slotw=Math.ceil(r.width/r.slots);r.sloth=r.fullScreen=="on"?Math.ceil(n(window).height()/r.slots):Math.ceil(r.height/r.slots);r.autoHeight=="on"&&(r.sloth=Math.ceil(i.height()/r.slots))},ni=function(u,f){u.find(".tp-caption").each(function(){n(this).addClass(n(this).data("transition"));n(this).addClass("start")});u.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:u.parent().css("maxHeight")}).addClass("tp-revslider-mainul");f.autoHeight=="on"&&(u.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),u.css({maxHeight:"none"}),u.parent().css({maxHeight:"none"}));u.find(">ul:first >li").each(function(){var i=n(this),r,f;if(i.addClass("tp-revslider-slidesli"),i.css({width:"100%",height:"100%",overflow:"hidden"}),i.data("link")!=t){var e=i.data("link"),o="_self",s=60;i.data("slideindex")=="back"&&(s=0);r=checksl=i.data("linktoslide");r!=t&&r!="next"&&r!="prev"&&u.find(">ul:first-child >li").each(function(){var t=n(this);t.data("origindex")+1==checksl&&(r=t.index()+1)});i.data("target")!=t&&(o=i.data("target"));e!="slide"&&(r="no");f='<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+s+';" data-x="center" data-y="center" data-linktoslide="'+r+'" data-start="0"><a style="width:100%;height:100%;display:block"';e!="slide"&&(f=f+' target="'+o+'" href="'+e+'"');f=f+'><span style="width:100%;height:100%;display:block"><\/span><\/a><\/div>';i.append(f)}});u.parent().css({overflow:"visible"});u.find(">ul:first >li >img").each(function(u){var e=n(this),a;e.addClass("defaultimg");e.data("lazyload")!=t&&e.data("lazydone")!=1||o(e,f);r(8)&&e.data("kenburns","off");f.panZoomDisableOnMobile=="on"&&i()&&(e.data("kenburns","off"),e.data("bgfit","cover"));e.wrap('<div class="slotholder" style="width:100%;height:100%;"data-duration="'+e.data("duration")+'"data-zoomstart="'+e.data("zoomstart")+'"data-zoomend="'+e.data("zoomend")+'"data-rotationstart="'+e.data("rotationstart")+'"data-rotationend="'+e.data("rotationend")+'"data-ease="'+e.data("ease")+'"data-duration="'+e.data("duration")+'"data-bgpositionend="'+e.data("bgpositionend")+'"data-bgposition="'+e.data("bgposition")+'"data-duration="'+e.data("duration")+'"data-kenburns="'+e.data("kenburns")+'"data-easeme="'+e.data("ease")+'"data-bgfit="'+e.data("bgfit")+'"data-bgfitend="'+e.data("bgfitend")+'"data-owidth="'+e.data("owidth")+'"data-oheight="'+e.data("oheight")+'"><\/div>');f.dottedOverlay!="none"&&f.dottedOverlay!=t&&e.closest(".slotholder").append('<div class="tp-dottedoverlay '+f.dottedOverlay+'"><\/div>');var s=e.attr("src"),v=e.data("lazyload"),h=e.data("bgfit"),c=e.data("bgrepeat"),l=e.data("bgposition");s===t&&(s=v);h==t&&(h="cover");c==t&&(c="no-repeat");l==t&&(l="center center");a=e.closest(".slotholder");e.replaceWith('<div class="tp-bgimg defaultimg" data-lazyload="'+e.data("lazyload")+'" data-bgfit="'+h+'"data-bgposition="'+l+'" data-bgrepeat="'+c+'" data-lazydone="'+e.data("lazydone")+'" src="'+s+'" data-src="'+s+'" style="background-color:'+e.css("backgroundColor")+";background-repeat:"+c+";background-image:url("+s+");background-size:"+h+";background-position:"+l+';width:100%;height:100%;"><\/div>');r(8)&&(a.find(".tp-bgimg").css({backgroundImage:"none","background-image":"none"}),a.find(".tp-bgimg").append('<img class="ieeightfallbackimage defaultimg" src="'+s+'" style="width:100%">'));e.css({opacity:0});e.data("li-id",u)})},it=function(n,i,u,f){var e=n,c=e.find(".defaultimg"),w=e.data("zoomstart"),b=e.data("rotationstart"),ut,k,p,ot,v,h;c.data("currotate")!=t&&(b=c.data("currotate"));c.data("curscale")!=t&&f=="box"?w=c.data("curscale")*100:c.data("curscale")!=t&&(w=c.data("curscale"));o(c,i);var g=c.data("src"),ft=c.css("backgroundColor"),nt=i.width,d=i.height,tt=c.data("fxof"),et=0;i.autoHeight=="on"&&(d=i.container.height());tt==t&&(tt=0);var v=0,l=c.data("bgfit"),it=c.data("bgrepeat"),rt=c.data("bgposition");l==t&&(l="cover");it==t&&(it="no-repeat");rt==t&&(rt="center center");r(8)&&(e.data("kenburns","off"),ut=g,g="");switch(f){case"box":var a=0,k=0,p=0;for(a=i.sloth>i.slotw?i.sloth:i.slotw,u||(v=0-a),i.slotw=a,i.sloth=a,k=0,p=0,e.data("kenburns")=="on"&&(l=w,l.toString().length<4&&(l=s(l,e,i))),ot=0;ot<i.slots;ot++){for(p=0,h=0;h<i.slots;h++)e.append('<div class="slot" style="position:absolute;top:'+(et+p)+"px;left:"+(tt+k)+"px;width:"+a+"px;height:"+a+'px;overflow:hidden;"><div class="slotslide" data-x="'+k+'" data-y="'+p+'" style="position:absolute;top:0px;left:0px;width:'+a+"px;height:"+a+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-p)+"px;left:"+(0-k)+"px;width:"+nt+"px;height:"+d+"px;background-color:"+ft+";background-image:url("+g+");background-repeat:"+it+";background-size:"+l+";background-position:"+rt+';"><\/div><\/div><\/div>'),p=p+a,r(8)&&(e.find(".slot ").last().find(".slotslide").append('<img src="'+ut+'">'),y(e,i)),w!=t&&b!=t&&punchgs.TweenLite.set(e.find(".slot").last(),{rotationZ:b});k=k+a}break;case"vertical":case"horizontal":if(e.data("kenburns")=="on"&&(l=w,l.toString().length<4&&(l=s(l,e,i))),f=="horizontal")for(u||(v=0-i.slotw),h=0;h<i.slots;h++)e.append('<div class="slot" style="position:absolute;top:'+(0+et)+"px;left:"+(tt+h*i.slotw)+"px;overflow:hidden;width:"+(i.slotw+.6)+"px;height:"+d+'px"><div class="slotslide" style="position:absolute;top:0px;left:'+v+"px;width:"+(i.slotw+.6)+"px;height:"+d+'px;overflow:hidden;"><div style="background-color:'+ft+";position:absolute;top:0px;left:"+(0-h*i.slotw)+"px;width:"+nt+"px;height:"+d+"px;background-image:url("+g+");background-repeat:"+it+";background-size:"+l+";background-position:"+rt+';"><\/div><\/div><\/div>'),w!=t&&b!=t&&punchgs.TweenLite.set(e.find(".slot").last(),{rotationZ:b}),r(8)&&(e.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+ut+'" style="width:100%;height:auto">'),y(e,i));else for(u||(v=0-i.sloth),h=0;h<i.slots+2;h++)e.append('<div class="slot" style="position:absolute;top:'+(et+h*i.sloth)+"px;left:"+tt+"px;overflow:hidden;width:"+nt+"px;height:"+i.sloth+'px"><div class="slotslide" style="position:absolute;top:'+v+"px;left:0px;width:"+nt+"px;height:"+i.sloth+'px;overflow:hidden;"><div style="background-color:'+ft+";position:absolute;top:"+(0-h*i.sloth)+"px;left:0px;width:"+nt+"px;height:"+d+"px;background-image:url("+g+");background-repeat:"+it+";background-size:"+l+";background-position:"+rt+';"><\/div><\/div><\/div>'),w!=t&&b!=t&&punchgs.TweenLite.set(e.find(".slot").last(),{rotationZ:b}),r(8)&&(e.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+ut+'" style="width:100%;height:auto;">'),y(e,i))}},y=function(n,t){if(r(8)){var i=n.find(".ieeightfallbackimage"),u=i.width(),f=i.height();t.startwidth/t.startheight<n.data("owidth")/n.data("oheight")?i.css({width:"auto",height:"100%"}):i.css({width:"100%",height:"auto"});setTimeout(function(){var u=i.width(),f=i.height(),r=n.data("bgposition");r=="center center"&&i.css({position:"absolute",top:t.height/2-f/2+"px",left:t.width/2-u/2+"px"});(r=="center top"||r=="top center")&&i.css({position:"absolute",top:"0px",left:t.width/2-u/2+"px"});(r=="center bottom"||r=="bottom center")&&i.css({position:"absolute",bottom:"0px",left:t.width/2-u/2+"px"});(r=="right top"||r=="top right")&&i.css({position:"absolute",top:"0px",right:"0px"});(r=="right bottom"||r=="bottom right")&&i.css({position:"absolute",bottom:"0px",right:"0px"});(r=="right center"||r=="center right")&&i.css({position:"absolute",top:t.height/2-f/2+"px",right:"0px"});(r=="left bottom"||r=="bottom left")&&i.css({position:"absolute",bottom:"0px",left:"0px"});(r=="left center"||r=="center left")&&i.css({position:"absolute",top:t.height/2-f/2+"px",left:"0px"})},20)}},p=function(t,i,r){r.find(".slot").each(function(){n(this).remove()});i.transition=0},rt=function(i,r){i.find("img, .defaultimg").each(function(){var i=n(this),f=i.data("lazyload"),u;f!=i.attr("src")&&r<3&&f!=t&&f!="undefined"?f!=t&&f!="undefined"&&(i.attr("src",f),u=new Image,u.onload=function(){i.data("lazydone",1);i.hasClass("defaultimg")&&c(i,u)},u.error=function(){i.data("lazydone",1)},u.src=i.attr("src"),u.complete&&(i.hasClass("defaultimg")&&c(i,u),i.data("lazydone",1))):(f===t||f==="undefined")&&i.data("lazydone")!=1&&(u=new Image,u.onload=function(){i.hasClass("defaultimg")&&c(i,u);i.data("lazydone",1)},u.error=function(){i.data("lazydone",1)},u.src=i.attr("src")!=t&&i.attr("src")!="undefined"?i.attr("src"):i.data("src"),u.complete&&(i.hasClass("defaultimg")&&c(i,u),i.data("lazydone",1)))})},c=function(n,t){var i=n.closest("li"),r=t.width,u=t.height;i.data("owidth",r);i.data("oheight",u);i.find(".slotholder").data("owidth",r);i.find(".slotholder").data("oheight",u);i.data("loadeddone",1)},w=function(i,r,u){rt(i,0);var f=setInterval(function(){u.bannertimeronpause=!0;u.container.trigger("stoptimer");u.cd=0;var e=0;i.find("img, .defaultimg").each(function(){n(this).data("lazydone")!=1&&e++});e>0?rt(i,e):(clearInterval(f),r!=t&&r())},100)},b=function(n,i){var o,u,f,s,e;try{o=n.find(">ul:first-child >li:eq("+i.act+")")}catch(h){o=n.find(">ul:first-child >li:eq(1)")}i.lastslide=i.act;u=n.find(">ul:first-child >li:eq("+i.next+")");f=u.find(".defaultimg");i.bannertimeronpause=!0;n.trigger("stoptimer");i.cd=0;f.data("lazyload")!=t&&f.data("lazyload")!="undefined"&&f.data("lazydone")!=1?(r(8)?f.attr("src",u.find(".defaultimg").data("lazyload")):(s=window.screen.width,e=u.find(".defaultimg").data("lazyload"),s<=600?e=u.find(".defaultimg").data("lazyload").replace("slides","slides/small"):s<=900&&(e=u.find(".defaultimg").data("lazyload").replace("slides","slides/medium")),u.find(".defaultimg").data("lazyload",e),f.css({backgroundImage:'url("'+e+'")'})),f.data("src",u.find(".defaultimg").data("lazyload")),f.data("lazydone",1),f.data("orgw",0),u.data("loadeddone",1),n.find(".tp-loader").css({display:"block"}),w(n.find(".tp-static-layers"),function(){w(u,function(){var t=u.find(".slotholder"),r;t.data("kenburns")=="on"?r=setInterval(function(){var u=t.data("owidth");u>=0&&(clearInterval(r),l(i,f,n))},10):l(i,f,n)},i)},i)):u.data("loadeddone")===t?(u.data("loadeddone",1),w(u,function(){l(i,f,n)},i)):l(i,f,n)},l=function(n,t,i){n.bannertimeronpause=!1;n.cd=0;i.trigger("nulltimer");i.find(".tp-loader").css({display:"none"});o(t,n);e(i,n);o(t,n);ti(i,n)},ti=function(n,i){var r,u,e,o,f;n.trigger("revolution.slide.onbeforeswap");i.transition=1;i.videoplaying=!1;try{r=n.find(">ul:first-child >li:eq("+i.act+")")}catch(s){r=n.find(">ul:first-child >li:eq(1)")}i.lastslide=i.act;u=n.find(">ul:first-child >li:eq("+i.next+")");setTimeout(function(){gt(i)},200);e=r.find(".slotholder");o=u.find(".slotholder");(o.data("kenburns")=="on"||e.data("kenburns")=="on")&&(ai(n,i),n.find(".kenburnimg").remove());u.data("delay")!=t?(i.cd=0,i.delay=u.data("delay")):i.delay=i.origcd;i.firststart==1&&punchgs.TweenLite.set(r,{autoAlpha:0});punchgs.TweenLite.set(r,{zIndex:18});punchgs.TweenLite.set(u,{autoAlpha:0,zIndex:20});f=0;r.index()!=u.index()&&i.firststart!=1&&(f=si(r,i));r.data("saveperformance")!="on"&&(f=0);setTimeout(function(){n.trigger("restarttimer");ii(n,i,u,r,e,o)},f)},ii=function(i,u,f,e,o,s){function li(){n.each(yt,function(n,t){(t[0]==l||t[8]==l)&&(c=t[1],k=t[2],hi=bt);bt=bt+1})}var l,k,ci,ct,rt,a,v,ai,lt,vi,yi,kt,bi,wt,d,b,y,ti,ii,p,ui;f.data("differentissplayed")=="prepared"&&(f.data("differentissplayed","done"),f.data("transition",f.data("savedtransition")),f.data("slotamount",f.data("savedslotamount")),f.data("masterspeed",f.data("savedmasterspeed")));f.data("fstransition")!=t&&f.data("differentissplayed")!="done"&&(f.data("savedtransition",f.data("transition")),f.data("savedslotamount",f.data("slotamount")),f.data("savedmasterspeed",f.data("masterspeed")),f.data("transition",f.data("fstransition")),f.data("slotamount",f.data("fsslotamount")),f.data("masterspeed",f.data("fsmasterspeed")),f.data("differentissplayed","prepared"));i.find(".active-revslide").removeClass(".active-revslide");f.addClass("active-revslide");f.data("transition")==t&&f.data("transition","random");var c=0,fi=f.data("transition").split(","),ht=f.data("nexttransid")==t?-1:f.data("nexttransid");ht=f.data("randomtransition")=="on"?Math.round(Math.random()*fi.length):ht+1;ht==fi.length&&(ht=0);f.data("nexttransid",ht);l=fi[ht];u.ie&&(l=="boxfade"&&(l="boxslide"),l=="slotfade-vertical"&&(l="slotzoom-vertical"),l=="slotfade-horizontal"&&(l="slotzoom-horizontal"));r(8)&&(l=11);k=0;u.parallax=="scroll"&&u.parallaxFirstGo==t&&(u.parallaxFirstGo=!0,h(i,u),setTimeout(function(){h(i,u)},210),setTimeout(function(){h(i,u)},420));l=="slidehorizontal"&&(l="slideleft",u.leftarrowpressed==1&&(l="slideright"));l=="slidevertical"&&(l="slideup",u.leftarrowpressed==1&&(l="slidedown"));l=="parallaxhorizontal"&&(l="parallaxtoleft",u.leftarrowpressed==1&&(l="parallaxtoright"));l=="parallaxvertical"&&(l="parallaxtotop",u.leftarrowpressed==1&&(l="parallaxtobottom"));var yt=[["boxslide",0,1,10,0,"box",!1,null,0],["boxfade",1,0,10,0,"box",!1,null,1],["slotslide-horizontal",2,0,0,200,"horizontal",!0,!1,2],["slotslide-vertical",3,0,0,200,"vertical",!0,!1,3],["curtain-1",4,3,0,0,"horizontal",!0,!0,4],["curtain-2",5,3,0,0,"horizontal",!0,!0,5],["curtain-3",6,3,25,0,"horizontal",!0,!0,6],["slotzoom-horizontal",7,0,0,400,"horizontal",!0,!0,7],["slotzoom-vertical",8,0,0,0,"vertical",!0,!0,8],["slotfade-horizontal",9,0,0,500,"horizontal",!0,null,9],["slotfade-vertical",10,0,0,500,"vertical",!0,null,10],["fade",11,0,1,300,"horizontal",!0,null,11],["slideleft",12,0,1,0,"horizontal",!0,!0,12],["slideup",13,0,1,0,"horizontal",!0,!0,13],["slidedown",14,0,1,0,"horizontal",!0,!0,14],["slideright",15,0,1,0,"horizontal",!0,!0,15],["papercut",16,0,0,600,"",null,null,16],["3dcurtain-horizontal",17,0,20,100,"vertical",!1,!0,17],["3dcurtain-vertical",18,0,10,100,"horizontal",!1,!0,18],["cubic",19,0,20,600,"horizontal",!1,!0,19],["cube",19,0,20,600,"horizontal",!1,!0,20],["flyin",20,0,4,600,"vertical",!1,!0,21],["turnoff",21,0,1,1600,"horizontal",!1,!0,22],["incube",22,0,20,200,"horizontal",!1,!0,23],["cubic-horizontal",23,0,20,500,"vertical",!1,!0,24],["cube-horizontal",23,0,20,500,"vertical",!1,!0,25],["incube-horizontal",24,0,20,500,"vertical",!1,!0,26],["turnoff-vertical",25,0,1,200,"horizontal",!1,!0,27],["fadefromright",12,1,1,0,"horizontal",!0,!0,28],["fadefromleft",15,1,1,0,"horizontal",!0,!0,29],["fadefromtop",14,1,1,0,"horizontal",!0,!0,30],["fadefrombottom",13,1,1,0,"horizontal",!0,!0,31],["fadetoleftfadefromright",12,2,1,0,"horizontal",!0,!0,32],["fadetorightfadetoleft",15,2,1,0,"horizontal",!0,!0,33],["fadetobottomfadefromtop",14,2,1,0,"horizontal",!0,!0,34],["fadetotopfadefrombottom",13,2,1,0,"horizontal",!0,!0,35],["parallaxtoright",12,3,1,0,"horizontal",!0,!0,36],["parallaxtoleft",15,3,1,0,"horizontal",!0,!0,37],["parallaxtotop",14,3,1,0,"horizontal",!0,!0,38],["parallaxtobottom",13,3,1,0,"horizontal",!0,!0,39],["scaledownfromright",12,4,1,0,"horizontal",!0,!0,40],["scaledownfromleft",15,4,1,0,"horizontal",!0,!0,41],["scaledownfromtop",14,4,1,0,"horizontal",!0,!0,42],["scaledownfrombottom",13,4,1,0,"horizontal",!0,!0,43],["zoomout",13,5,1,0,"horizontal",!0,!0,44],["zoomin",13,6,1,0,"horizontal",!0,!0,45],["notransition",26,0,1,0,"horizontal",!0,null,46]],et=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],ot=[16,17,18,19,20,21,22,23,24,25,26,27],c=0,k=1,hi=0,bt=0,tt=[];if(s.data("kenburns")=="on"&&((l=="boxslide"||l==0||l=="boxfade"||l==1||l=="papercut"||l==16)&&(l=11),nt(i,u,!0,!0)),l=="random"&&(l=Math.round(Math.random()*yt.length-1),l>yt.length-1&&(l=yt.length-1)),l=="random-static"&&(l=Math.round(Math.random()*et.length-1),l>et.length-1&&(l=et.length-1),l=et[l]),l=="random-premium"&&(l=Math.round(Math.random()*ot.length-1),l>ot.length-1&&(l=ot.length-1),l=ot[l]),ci=[12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],u.isJoomla==!0&&window.MooTools!=t&&ci.indexOf(l)!=-1&&(ct=Math.round(Math.random()*(ot.length-2))+1,ct>ot.length-1&&(ct=ot.length-1),ct==0&&(ct=1),l=ot[ct]),li(),r(8)&&c>15&&c<28&&(l=Math.round(Math.random()*et.length-1),l>et.length-1&&(l=et.length-1),l=et[l],bt=0,li()),rt=-1,(u.leftarrowpressed==1||u.act>u.next)&&(rt=1),u.leftarrowpressed=0,c>26&&(c=26),c<0&&(c=0),a=300,f.data("masterspeed")!=t&&f.data("masterspeed")>99&&f.data("masterspeed")<u.delay&&(a=f.data("masterspeed")),f.data("masterspeed")!=t&&f.data("masterspeed")>u.delay&&(a=u.delay),tt=yt[hi],i.parent().find(".bullet").each(function(){var t=n(this),i=t.index();t.removeClass("selected");(u.navigationArrows=="withbullet"||u.navigationArrows=="nexttobullets")&&(i=t.index()-1);i==u.next&&t.addClass("selected")}),v=new punchgs.TimelineLite({onComplete:function(){ri(i,u,s,o,f,e,v)}}),v.add(punchgs.TweenLite.set(s.find(".defaultimg"),{opacity:0})),v.pause(),f.data("slotamount")==t||f.data("slotamount")<1?(u.slots=Math.round(Math.random()*12+4),l=="boxslide"?u.slots=Math.round(Math.random()*6+3):l=="flyin"&&(u.slots=Math.round(Math.random()*4+1))):u.slots=f.data("slotamount"),u.rotate=f.data("rotate")==t?0:f.data("rotate")==999?Math.round(Math.random()*360):f.data("rotate"),(!n.support.transition||u.ie||u.ie9)&&(u.rotate=0),u.firststart==1&&(u.firststart=0),a=a+tt[4],(c==4||c==5||c==6)&&u.slots<3&&(u.slots=3),tt[3]!=0&&(u.slots=Math.min(u.slots,tt[3])),c==9&&(u.slots=u.width/20),c==10&&(u.slots=u.height/20),tt[7]!=null&&it(o,u,tt[7],tt[5]),tt[6]!=null&&it(s,u,tt[6],tt[5]),c==0&&(ai=Math.ceil(u.height/u.sloth),lt=0,s.find(".slotslide").each(function(t){var i=n(this);lt=lt+1;lt==ai&&(lt=0);v.add(punchgs.TweenLite.from(i,a/600,{opacity:0,top:0-u.sloth,left:0-u.slotw,rotation:u.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),(t*15+lt*30)/1500)})),c==1&&(yi=0,s.find(".slotslide").each(function(t){var f=n(this),r=Math.random()*a+300,i=Math.random()*500+200;r+i>vi&&(vi=i+i,yi=t);v.add(punchgs.TweenLite.from(f,r/1e3,{autoAlpha:0,force3D:"auto",rotation:u.rotate,ease:punchgs.Power2.easeInOut}),i/1e3)})),c==2&&(y=new punchgs.TimelineLite,o.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.to(t,a/1e3,{left:u.slotw,force3D:"auto",rotation:0-u.rotate}),0);v.add(y,0)}),s.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.from(t,a/1e3,{left:0-u.slotw,force3D:"auto",rotation:u.rotate}),0);v.add(y,0)})),c==3&&(y=new punchgs.TimelineLite,o.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.to(t,a/1e3,{top:u.sloth,rotation:u.rotate,force3D:"auto",transformPerspective:600}),0);v.add(y,0)}),s.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.from(t,a/1e3,{top:0-u.sloth,rotation:u.rotate,ease:punchgs.Power2.easeOut,force3D:"auto",transformPerspective:600}),0);v.add(y,0)})),c==4||c==5){setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100);var st=a/1e3,fr=st,y=new punchgs.TimelineLite;o.find(".slotslide").each(function(t){var r=n(this),i=t*st/u.slots;c==5&&(i=(u.slots-t-1)*st/u.slots/1.5);y.add(punchgs.TweenLite.to(r,st*3,{transformPerspective:600,force3D:"auto",top:0+u.height,opacity:.5,rotation:u.rotate,ease:punchgs.Power2.easeInOut,delay:i}),0);v.add(y,0)});s.find(".slotslide").each(function(t){var r=n(this),i=t*st/u.slots;c==5&&(i=(u.slots-t-1)*st/u.slots/1.5);y.add(punchgs.TweenLite.from(r,st*3,{top:0-u.height,opacity:.5,rotation:u.rotate,force3D:"auto",ease:punchgs.Power2.easeInOut,delay:i}),0);v.add(y,0)})}if(c==6&&(u.slots<2&&(u.slots=2),u.slots%2&&(u.slots=u.slots+1),y=new punchgs.TimelineLite,setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100),o.find(".slotslide").each(function(t){var r=n(this),i;i=t+1<u.slots/2?(t+2)*90:(2+u.slots-t)*90;y.add(punchgs.TweenLite.to(r,(a+i)/1e3,{top:0+u.height,opacity:1,force3D:"auto",rotation:u.rotate,ease:punchgs.Power2.easeInOut}),0);v.add(y,0)}),s.find(".slotslide").each(function(t){var r=n(this),i;i=t+1<u.slots/2?(t+2)*90:(2+u.slots-t)*90;y.add(punchgs.TweenLite.from(r,(a+i)/1e3,{top:0-u.height,opacity:1,force3D:"auto",rotation:u.rotate,ease:punchgs.Power2.easeInOut}),0);v.add(y,0)})),c==7&&(a=a*2,a>u.delay&&(a=u.delay),y=new punchgs.TimelineLite,setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100),o.find(".slotslide").each(function(){var t=n(this).find("div");y.add(punchgs.TweenLite.to(t,a/1e3,{left:0-u.slotw/2+"px",top:0-u.height/2+"px",width:u.slotw*2+"px",height:u.height*2+"px",opacity:0,rotation:u.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),0);v.add(y,0)}),s.find(".slotslide").each(function(t){var i=n(this).find("div");y.add(punchgs.TweenLite.fromTo(i,a/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-t*u.slotw+"px",ease:punchgs.Power2.easeOut,force3D:"auto",top:"0px",width:u.width,height:u.height,opacity:1,rotation:0,delay:.1}),0);v.add(y,0)})),c==8&&(a=a*3,a>u.delay&&(a=u.delay),y=new punchgs.TimelineLite,o.find(".slotslide").each(function(){var t=n(this).find("div");y.add(punchgs.TweenLite.to(t,a/1e3,{left:0-u.width/2+"px",top:0-u.sloth/2+"px",width:u.width*2+"px",height:u.sloth*2+"px",force3D:"auto",opacity:0,rotation:u.rotate}),0);v.add(y,0)}),s.find(".slotslide").each(function(t){var i=n(this).find("div");y.add(punchgs.TweenLite.fromTo(i,a/1e3,{left:0,top:0,opacity:0,force3D:"auto"},{left:"0px",top:0-t*u.sloth+"px",width:s.find(".defaultimg").data("neww")+"px",height:s.find(".defaultimg").data("newh")+"px",opacity:1,rotation:0}),0);v.add(y,0)})),(c==9||c==10)&&(kt=0,s.find(".slotslide").each(function(t){var i=n(this);kt++;v.add(punchgs.TweenLite.fromTo(i,a/1e3,{autoAlpha:0,force3D:"auto",transformPerspective:600},{autoAlpha:1,ease:punchgs.Power2.easeInOut,delay:t/200}),0)})),(c==11||c==26)&&(kt=0,c==26&&(a=0),s.find(".slotslide").each(function(){var t=n(this);v.add(punchgs.TweenLite.from(t,a/1e3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power2.easeInOut}),0)})),c==12||c==13||c==14||c==15){a=a;a>u.delay&&(a=u.delay);setTimeout(function(){punchgs.TweenLite.set(o.find(".defaultimg"),{autoAlpha:0})},100);var d=u.width,b=u.height,ei=s.find(".slotslide"),dt=0,gt=0,g=1,at=1,oi=1,pt=punchgs.Power2.easeInOut,pi=punchgs.Power2.easeInOut,si=a/1e3,ni=si;if((u.fullWidth=="on"||u.fullScreen=="on")&&(d=ei.width(),b=ei.height()),c==12?dt=d:c==15?dt=0-d:c==13?gt=b:c==14&&(gt=0-b),k==1&&(g=0),k==2&&(g=0),k==3&&(pt=punchgs.Power2.easeInOut,pi=punchgs.Power1.easeInOut,si=a/1200),(k==4||k==5)&&(at=.6),k==6&&(at=1.4),(k==5||k==6)&&(oi=1.4,g=0,d=0,b=0,dt=0,gt=0),k==6&&(oi=.6),bi=0,v.add(punchgs.TweenLite.from(ei,si,{left:dt,top:gt,scale:oi,opacity:g,rotation:u.rotate,ease:pi,force3D:"auto"}),0),wt=o.find(".slotslide"),(k==4||k==5)&&(d=0,b=0),k!=1)switch(c){case 12:v.add(punchgs.TweenLite.to(wt,ni,{left:0-d+"px",force3D:"auto",scale:at,opacity:g,rotation:u.rotate,ease:pt}),0);break;case 15:v.add(punchgs.TweenLite.to(wt,ni,{left:d+"px",force3D:"auto",scale:at,opacity:g,rotation:u.rotate,ease:pt}),0);break;case 13:v.add(punchgs.TweenLite.to(wt,ni,{top:0-b+"px",force3D:"auto",scale:at,opacity:g,rotation:u.rotate,ease:pt}),0);break;case 14:v.add(punchgs.TweenLite.to(wt,ni,{top:b+"px",force3D:"auto",scale:at,opacity:g,rotation:u.rotate,ease:pt}),0)}}if(c==16){y=new punchgs.TimelineLite;v.add(punchgs.TweenLite.set(e,{position:"absolute","z-index":20}),0);v.add(punchgs.TweenLite.set(f,{position:"absolute","z-index":15}),0);e.wrapInner('<div class="tp-half-one" style="position:relative; width:100%;height:100%"><\/div>');e.find(".tp-half-one").clone(!0).appendTo(e).addClass("tp-half-two");e.find(".tp-half-two").removeClass("tp-half-one");d=u.width;b=u.height;u.autoHeight=="on"&&(b=i.height());e.find(".tp-half-one .defaultimg").wrap('<div class="tp-papercut" style="width:'+d+"px;height:"+b+'px;"><\/div>');e.find(".tp-half-two .defaultimg").wrap('<div class="tp-papercut" style="width:'+d+"px;height:"+b+'px;"><\/div>');e.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"});e.find(".tp-half-two .tp-caption").wrapAll('<div style="position:absolute;top:-50%;left:0px;"><\/div>');v.add(punchgs.TweenLite.set(e.find(".tp-half-two"),{width:d,height:b,overflow:"hidden",zIndex:15,position:"absolute",top:b/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"}),0);v.add(punchgs.TweenLite.set(e.find(".tp-half-one"),{width:d,height:b/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"}),0);var er=e.find(".defaultimg"),ki=Math.round(Math.random()*20-10),di=Math.round(Math.random()*20-10),gi=Math.round(Math.random()*20-10),nr=Math.random()*.4-.2,tr=Math.random()*.4-.2,ir=Math.random()*1+1,rr=Math.random()*1+1,ur=Math.random()*.3+.3;v.add(punchgs.TweenLite.set(e.find(".tp-half-one"),{overflow:"hidden"}),0);v.add(punchgs.TweenLite.fromTo(e.find(".tp-half-one"),a/800,{width:d,height:b/2,position:"absolute",top:"0px",left:"0px",force3D:"auto",transformOrigin:"center top"},{scale:ir,rotation:ki,y:0-b-b/4,autoAlpha:0,ease:punchgs.Power2.easeInOut}),0);v.add(punchgs.TweenLite.fromTo(e.find(".tp-half-two"),a/800,{width:d,height:b,overflow:"hidden",position:"absolute",top:b/2,left:"0px",force3D:"auto",transformOrigin:"center bottom"},{scale:rr,rotation:di,y:b+b/4,ease:punchgs.Power2.easeInOut,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(e,{position:"absolute","z-index":15});punchgs.TweenLite.set(f,{position:"absolute","z-index":20});e.find(".tp-half-one").length>0&&(e.find(".tp-half-one .defaultimg").unwrap(),e.find(".tp-half-one .slotholder").unwrap());e.find(".tp-half-two").remove()}}),0);y.add(punchgs.TweenLite.set(s.find(".defaultimg"),{autoAlpha:1}),0);e.html()!=null&&v.add(punchgs.TweenLite.fromTo(f,(a-200)/1e3,{scale:ur,x:u.width/4*nr,y:b/4*tr,rotation:gi,force3D:"auto",transformOrigin:"center center",ease:punchgs.Power2.easeOut},{autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0);v.add(y,0)}if(c==17&&s.find(".slotslide").each(function(t){var i=n(this);v.add(punchgs.TweenLite.fromTo(i,a/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:t*.06}),0)}),c==18&&s.find(".slotslide").each(function(t){var i=n(this);v.add(punchgs.TweenLite.fromTo(i,a/500,{autoAlpha:0,rotationY:310,scale:.9,rotationX:10,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{autoAlpha:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:t*.06}),0)}),c==19||c==22){y=new punchgs.TimelineLite;v.add(punchgs.TweenLite.set(e,{zIndex:20}),0);v.add(punchgs.TweenLite.set(f,{zIndex:20}),0);setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100);var ti=f.css("z-index"),ii=e.css("z-index"),w=90,g=1,p="center center ";rt==1&&(w=-90);c==19?(p=p+"-"+u.height/2,g=0):p=p+u.height/2;punchgs.TweenLite.set(i,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600});s.find(".slotslide").each(function(t){var i=n(this);y.add(punchgs.TweenLite.fromTo(i,a/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",left:0,rotationY:u.rotate,z:10,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationX:w},{left:0,rotationY:0,top:0,z:0,scale:1,force3D:"auto",rotationX:0,delay:t/20,ease:punchgs.Power2.easeInOut}),0);y.add(punchgs.TweenLite.to(i,.1,{autoAlpha:1,delay:t/20}),0);v.add(y)});o.find(".slotslide").each(function(t){var r=n(this),i=-90;rt==1&&(i=90);y.add(punchgs.TweenLite.fromTo(r,a/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationX:0},{autoAlpha:1,rotationY:u.rotate,top:0,z:10,scale:1,rotationX:i,delay:t/20,force3D:"auto",ease:punchgs.Power2.easeInOut}),0);v.add(y)})}if(c==20){if(setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100),ti=f.css("z-index"),ii=e.css("z-index"),rt==1)var vt=-u.width,w=70,p="left center -"+u.height/2;else var vt=u.width,w=-70,p="right center -"+u.height/2;s.find(".slotslide").each(function(t){var i=n(this);v.add(punchgs.TweenLite.fromTo(i,a/1500,{left:vt,rotationX:40,z:-600,opacity:g,top:0,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:w},{left:0,delay:t/20,ease:punchgs.Power2.easeInOut}),0);v.add(punchgs.TweenLite.fromTo(i,a/1e3,{rotationX:40,z:-600,opacity:g,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:w},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t/20,ease:punchgs.Power2.easeInOut}),0);v.add(punchgs.TweenLite.to(i,.1,{opacity:1,force3D:"auto",delay:t/20+a/2e3}),0)});o.find(".slotslide").each(function(t){var i=n(this);if(rt!=1)var r=-u.width,f=70,e="left center -"+u.height/2;else var r=u.width,f=-70,e="right center -"+u.height/2;v.add(punchgs.TweenLite.fromTo(i,a/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:"auto",transformPerspective:600,transformOrigin:e,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:r,force3D:"auto",scale:.8,rotationY:f,delay:t/20,ease:punchgs.Power2.easeInOut}),0);v.add(punchgs.TweenLite.to(i,.1,{force3D:"auto",opacity:0,delay:t/20+(a/1e3-a/1e4)}),0)})}if(c==21||c==25){setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100);var ti=f.css("z-index"),ii=e.css("z-index"),w=90,vt=-u.width,ut=-w;rt==1?c==25?(p="center top 0",w=u.rotate):(p="left center 0",ut=u.rotate):(vt=u.width,w=-90,c==25?(p="center bottom 0",ut=-w,w=u.rotate):(p="right center 0",ut=u.rotate));s.find(".slotslide").each(function(){var t=n(this);v.add(punchgs.TweenLite.fromTo(t,a/1e3,{left:0,transformStyle:"flat",rotationX:ut,z:0,autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:w},{left:0,rotationX:0,top:0,z:0,autoAlpha:1,scale:1,rotationY:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),0)});rt!=1?(vt=-u.width,w=90,c==25?(p="center top 0",ut=-w,w=u.rotate):(p="left center 0",ut=u.rotate)):(vt=u.width,w=-90,c==25?(p="center bottom 0",ut=-w,w=u.rotate):(p="right center 0",ut=u.rotate));o.find(".slotslide").each(function(){var t=n(this);v.add(punchgs.TweenLite.fromTo(t,a/1e3,{left:0,transformStyle:"flat",rotationX:0,z:0,autoAlpha:1,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:0},{left:0,rotationX:ut,top:0,z:0,autoAlpha:1,force3D:"auto",scale:1,rotationY:w,ease:punchgs.Power1.easeInOut}),0)})}if(c==23||c==24){setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100);var ti=f.css("z-index"),ii=e.css("z-index"),w=-90,g=1,wi=0;rt==1&&(w=90);c==23?(p="center center -"+u.width/2,g=0):p="center center "+u.width/2;punchgs.TweenLite.set(i,{transformStyle:"preserve-3d",backfaceVisibility:"hidden",perspective:2500});s.find(".slotslide").each(function(t){var i=n(this);v.add(punchgs.TweenLite.fromTo(i,a/1e3,{left:wi,rotationX:u.rotate,force3D:"auto",opacity:g,top:0,scale:1,transformPerspective:600,transformOrigin:p,rotationY:w},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:t/10,ease:punchgs.Power2.easeInOut}),0)});w=90;rt==1&&(w=-90);o.find(".slotslide").each(function(t){var i=n(this);v.add(punchgs.TweenLite.fromTo(i,a/1e3,{left:0,autoAlpha:1,rotationX:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:0},{left:wi,autoAlpha:1,rotationX:u.rotate,top:0,scale:1,rotationY:w,delay:t/10,ease:punchgs.Power2.easeInOut}),0)})}v.pause();ft(f,u,null,v);punchgs.TweenLite.to(f,.001,{autoAlpha:1});ui={};ui.slideIndex=u.next+1;ui.slide=f;i.trigger("revolution.slide.onchange",ui);setTimeout(function(){i.trigger("revolution.slide.onafterswap")},a);i.trigger("revolution.slide.onvideostop")},ri=function(n,t,i,r,u,f,e){punchgs.TweenLite.to(i.find(".defaultimg"),.001,{autoAlpha:1,onComplete:function(){p(n,t,u)}});u.index()!=f.index()&&punchgs.TweenLite.to(f,.2,{autoAlpha:0,onComplete:function(){p(n,t,f)}});t.act=t.next;t.navigationType=="thumb"&&ct(n);i.data("kenburns")=="on"&&nt(n,t);n.find(".current-sr-slide-visible").removeClass("current-sr-slide-visible");u.addClass("current-sr-slide-visible");(t.parallax=="scroll"||t.parallax=="scroll+mouse"||t.parallax=="mouse+scroll")&&h(n,t);e.clear()},ui=function(t){var e=t.target.getVideoEmbedCode(),f=n("#"+e.split('id="')[1].split('"')[0]),i=f.closest(".tp-simpleresponsive"),o=f.parent().data("player"),u,r;t.data==YT.PlayerState.PLAYING?(u=i.find(".tp-bannertimer"),r=u.data("opt"),f.closest(".tp-caption").data("volume")=="mute"&&o.mute(),r.videoplaying=!0,i.trigger("stoptimer"),i.trigger("revolution.slide.onvideoplay")):(u=i.find(".tp-bannertimer"),r=u.data("opt"),t.data!=-1&&t.data!=3&&(r.videoplaying=!1,i.trigger("starttimer"),i.trigger("revolution.slide.onvideostop")),t.data==0&&r.nextslideatend==!0?r.container.revnext():(r.videoplaying=!1,i.trigger("starttimer"),i.trigger("revolution.slide.onvideostop")))},u=function(n,t,i){n.addEventListener?n.addEventListener(t,i,!1):n.attachEvent(t,i,!1)},fi=function(t,i){var u=$f(t),f=n("#"+t),r=f.closest(".tp-simpleresponsive"),e=f.closest(".tp-caption");setTimeout(function(){u.addEvent("ready",function(){i&&u.api("play");u.addEvent("play",function(){var n=r.find(".tp-bannertimer"),t=n.data("opt");t.videoplaying=!0;r.trigger("stoptimer");e.data("volume")=="mute"&&u.api("setVolume","0")});u.addEvent("finish",function(){var t=r.find(".tp-bannertimer"),n=t.data("opt");n.videoplaying=!1;r.trigger("starttimer");r.trigger("revolution.slide.onvideoplay");n.nextslideatend==!0&&n.container.revnext()});u.addEvent("pause",function(){var n=r.find(".tp-bannertimer"),t=n.data("opt");t.videoplaying=!1;r.trigger("starttimer");r.trigger("revolution.slide.onvideostop")});e.find(".tp-thumb-image").click(function(){punchgs.TweenLite.to(n(this),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut});u.api("play")})})},150)},ut=function(n,i){var u=i.width(),f=i.height(),r=n.data("mediaAspect"),e,o;r==t&&(r=1);e=u/f;n.css({position:"absolute"});o=n.find("video");e<r?punchgs.TweenLite.to(n,.0001,{width:f*r,force3D:"auto",top:0,left:0-(f*r-u)/2,height:f}):punchgs.TweenLite.to(n,.0001,{width:u,force3D:"auto",top:0-(u/r-f)/2,left:0,height:u/r})},a=function(){var n={};return n.x=0,n.y=0,n.rotationX=0,n.rotationY=0,n.rotationZ=0,n.scale=1,n.scaleX=1,n.scaleY=1,n.skewX=0,n.skewY=0,n.opacity=0,n.transformOrigin="center, center",n.transformPerspective=400,n.rotation=0,n},k=function(t,i){var r=i.split(";");return n.each(r,function(n,i){i=i.split(":");var r=i[0],u=i[1];r=="rotationX"&&(t.rotationX=parseInt(u,0));r=="rotationY"&&(t.rotationY=parseInt(u,0));r=="rotationZ"&&(t.rotationZ=parseInt(u,0));r=="rotationZ"&&(t.rotation=parseInt(u,0));r=="scaleX"&&(t.scaleX=parseFloat(u));r=="scaleY"&&(t.scaleY=parseFloat(u));r=="opacity"&&(t.opacity=parseFloat(u));r=="skewX"&&(t.skewX=parseInt(u,0));r=="skewY"&&(t.skewY=parseInt(u,0));r=="x"&&(t.x=parseInt(u,0));r=="y"&&(t.y=parseInt(u,0));r=="z"&&(t.z=parseInt(u,0));r=="transformOrigin"&&(t.transformOrigin=u.toString());r=="transformPerspective"&&(t.transformPerspective=parseInt(u,0))}),t},ei=function(t){var r=t.split("animation:"),i={},u;return i.animation=k(a(),r[1]),u=r[0].split(";"),n.each(u,function(n,t){t=t.split(":");var r=t[0],u=t[1];r=="typ"&&(i.typ=u);r=="speed"&&(i.speed=parseInt(u,0)/1e3);r=="start"&&(i.start=parseInt(u,0)/1e3);r=="elementdelay"&&(i.elementdelay=parseFloat(u));r=="ease"&&(i.ease=u)}),i},ft=function(f,e,o,s){function l(){}function p(){}var y;f.data("ctl")==t&&f.data("ctl",new punchgs.TimelineLite);var w=f.data("ctl"),c=0,h=0,v=f.find(".tp-caption"),b=e.container.find(".tp-static-layers").find(".tp-caption");w.pause();n.each(b,function(n,t){v.push(t)});v.each(function(f){var wt=o,st=-1,s=n(this),lt,ht,tt,vr,ri,it,gt,ni,ti,pt,vt,bi,w,ki,di,gi,ct,ii,ur,li,ai,fr,er,rt,ft,y,nt,b,vi,or,f,sr,yi,br,bt,lr,ar;if(s.hasClass("tp-static-layer")&&(lt=s.data("startslide"),ht=s.data("endslide"),(lt==-1||lt=="-1")&&s.data("startslide",0),(ht==-1||ht=="-1")&&s.data("endslide",e.slideamount),lt==0&&ht==e.slideamount-1&&s.data("endslide",e.slideamount+1),lt=s.data("startslide"),ht=s.data("endslide"),s.hasClass("tp-is-shown")?st=ht==e.next||lt>e.next||ht<e.next?2:0:lt<=e.next&&ht>=e.next||lt==e.next||ht==e.next?(s.addClass("tp-is-shown"),st=1):st=0),c=e.width/2-e.startwidth*e.bw/2,tt=e.bw,vr=e.bh,e.fullScreen=="on"&&(h=e.height/2-e.startheight*e.bh/2),(e.autoHeight=="on"||e.minHeight!=t&&e.minHeight>0)&&(h=e.container.height()/2-e.startheight*e.bh/2),h<0&&(h=0),ri=0,e.width<e.hideCaptionAtLimit&&s.data("captionhidden")=="on"?(s.addClass("tp-hidden-caption"),ri=1):e.width<e.hideAllCaptionAtLimit||e.width<e.hideAllCaptionAtLilmit?(s.addClass("tp-hidden-caption"),ri=1):s.removeClass("tp-hidden-caption"),ri==0){if(s.data("linktoslide")==t||s.hasClass("hasclicklistener")||(s.addClass("hasclicklistener"),s.css({cursor:"pointer"}),s.data("linktoslide")!="no"&&s.click(function(){var i=n(this),t=i.data("linktoslide");t!="next"&&t!="prev"?(e.container.data("showus",t),e.container.parent().find(".tp-rightarrow").click()):t=="next"?e.container.parent().find(".tp-rightarrow").click():t=="prev"&&e.container.parent().find(".tp-leftarrow").click()})),c<0&&(c=0),s.hasClass("tp-videolayer")||s.find("iframe").length>0||s.find("video").length>0){var at="iframe"+Math.round(Math.random()*1e5+1),kt=s.data("videowidth"),dt=s.data("videoheight"),yt=s.data("videoattributes"),pi=s.data("ytid"),wi=s.data("vimeoid"),yr=s.data("videpreload"),hr=s.data("videomp4"),cr=s.data("videowebm"),pr=s.data("videoogv"),si=s.data("videocontrols"),ci="http",wr=s.data("videoloop")=="loop"?"loop":s.data("videoloop")=="loopandnoslidestop"?"loop":"";s.data("thumbimage")!=t&&s.data("videoposter")==t&&s.data("videoposter",s.data("thumbimage"));pi!=t&&String(pi).length>1&&s.find("iframe").length==0&&(ci="https",si=="none"&&(yt=yt.replace("controls=1","controls=0"),yt.toLowerCase().indexOf("controls")==-1&&(yt=yt+"&controls=0")),s.append('<iframe style="visible:hidden" src="'+ci+"://www.youtube.com/embed/"+pi+"?"+yt+'" width="'+kt+'" height="'+dt+'" style="width:'+kt+"px;height:"+dt+'px"><\/iframe>'));wi!=t&&String(wi).length>1&&s.find("iframe").length==0&&(location.protocol==="https:"&&(ci="https"),s.append('<iframe style="visible:hidden" src="'+ci+"://player.vimeo.com/video/"+wi+"?"+yt+'" width="'+kt+'" height="'+dt+'" style="width:'+kt+"px;height:"+dt+'px"><\/iframe>'));(hr!=t||cr!=t)&&s.find("video").length==0&&(si!="controls"&&(si=""),it='<video style="visible:hidden" class="" '+wr+' preload="'+yr+'" width="'+kt+'" height="'+dt+'"',s.data("videoposter")!=t&&(it=it+'poster="'+s.data("videoposter")+'">'),it=it+'<source src="'+hr+'" type="video/mp4" />',it=it+'<source src="'+cr+'" type="video/webm" />',it=it+'<source src="'+pr+'" type="video/ogg" />',it=it+"<\/video>",s.append(it),si=="controls"&&s.append('<div class="tp-video-controls"><div class="tp-video-button-wrap"><button type="button" class="tp-video-button tp-vid-play-pause">Play<\/button><\/div><div class="tp-video-seek-bar-wrap"><input  type="range" class="tp-seek-bar" value="0"><\/div><div class="tp-video-button-wrap"><button  type="button" class="tp-video-button tp-vid-mute">Mute<\/button><\/div><div class="tp-video-vol-bar-wrap"><input  type="range" class="tp-volume-bar" min="0" max="1" step="0.1" value="1"><\/div><div class="tp-video-button-wrap"><button  type="button" class="tp-video-button tp-vid-full-screen">Full-Screen<\/button><\/div><\/div>'));gt=!1;(s.data("autoplayonlyfirsttime")==!0||s.data("autoplayonlyfirsttime")=="true"||s.data("autoplay")==!0)&&(s.data("autoplay",!0),gt=!0);s.find("iframe").each(function(){var r=n(this),l,a,u,v;if(punchgs.TweenLite.to(r,.1,{autoAlpha:1,zIndex:0,transformStyle:"preserve-3d",z:0,rotationX:0,force3D:"auto"}),i()&&(l=r.attr("src"),r.attr("src",""),r.attr("src",l)),e.nextslideatend=s.data("nextslideatend"),s.data("videoposter")!=t&&s.data("videoposter").length>2&&s.data("autoplay")!=!0&&!wt&&(s.find(".tp-thumb-image").length==0?s.append('<div class="tp-thumb-image" style="cursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:url('+s.data("videoposter")+'); background-size:cover"><\/div>'):punchgs.TweenLite.set(s.find(".tp-thumb-image"),{autoAlpha:1})),r.attr("src").toLowerCase().indexOf("youtube")>=0)if(r.hasClass("HasListener"))o||(u=s.data("player"),s.data("forcerewind")!="on"||i()||u.seekTo(0),(!i()&&s.data("autoplay")==!0||gt)&&s.data("timerplay",setTimeout(function(){u.playVideo()},s.data("start"))));else try{r.attr("id",at);a=setInterval(function(){YT!=t&&typeof YT.Player!=t&&typeof YT.Player!="undefined"&&(u=new YT.Player(at,{events:{onStateChange:ui,onReady:function(r){var o=r.target.getVideoEmbedCode(),s=n("#"+o.split('id="')[1].split('"')[0]),f=s.closest(".tp-caption"),e=f.data("videorate"),h=f.data("videostart");e!=t&&r.target.setPlaybackRate(parseFloat(e));(!i()&&f.data("autoplay")==!0||gt)&&f.data("timerplay",setTimeout(function(){r.target.playVideo()},f.data("start")));f.find(".tp-thumb-image").click(function(){punchgs.TweenLite.to(n(this),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut});i()||u.playVideo()})}}}));r.addClass("HasListener");s.data("player",u);clearInterval(a)},100)}catch(k){}else if(r.attr("src").toLowerCase().indexOf("vimeo")>=0)if(r.hasClass("HasListener")){if(!o&&!i()&&(s.data("autoplay")==!0||s.data("forcerewind")=="on")){var r=s.find("iframe"),b=r.attr("id"),y=$f(b);s.data("forcerewind")=="on"&&y.api("seekTo",0);s.data("timerplay",setTimeout(function(){s.data("autoplay")==!0&&y.api("play")},s.data("start")))}}else{r.addClass("HasListener");r.attr("id",at);for(var f=r.attr("src"),h={},p=f,w=/([^&=]+)=([^&]*)/g,c;c=w.exec(p);)h[decodeURIComponent(c[1])]=decodeURIComponent(c[2]);f=h.player_id!=t?f.replace(h.player_id,at):f+"&player_id="+at;try{f=f.replace("api=0","api=1")}catch(k){}f=f+"&api=1";r.attr("src",f);u=s.find("iframe")[0];v=setInterval(function(){$f!=t&&typeof $f(at).api!=t&&typeof $f(at).api!="undefined"&&($f(u).addEvent("ready",function(){fi(at,gt)}),clearInterval(v))},100)}});(i()&&s.data("disablevideoonmobile")==1||r(8))&&s.find("video").remove();s.find("video").length>0&&s.find("video").each(function(){var i=this,f=n(this),r;f.parent().hasClass("html5vid")||f.wrap('<div class="html5vid" style="position:relative;top:0px;left:0px;width:auto;height:auto"><\/div>');r=f.parent();u(i,"loadedmetadata",function(n){n.data("metaloaded",1)}(r));clearInterval(r.data("interval"));r.data("interval",setInterval(function(){var h,c;if(r.data("metaloaded")==1||i.duration!=NaN){if(clearInterval(r.data("interval")),!r.hasClass("HasListener")){r.addClass("HasListener");s.data("dottedoverlay")!="none"&&s.data("dottedoverlay")!=t&&s.find(".tp-dottedoverlay").length!=1&&r.append('<div class="tp-dottedoverlay '+s.data("dottedoverlay")+'"><\/div>');f.attr("control")==t&&(r.find(".tp-video-play-button").length==0&&r.append('<div class="tp-video-play-button"><i class="revicon-right-dir"><\/i><div class="tp-revstop"><\/div><\/div>'),r.find("video, .tp-poster, .tp-video-play-button").click(function(){r.hasClass("videoisplaying")?i.pause():i.play()}));(s.data("forcecover")==1||s.hasClass("fullscreenvideo"))&&(s.data("forcecover")==1&&(ut(r,e.container),r.addClass("fullcoveredvideo"),s.addClass("fullcoveredvideo")),r.css({width:"100%",height:"100%"}));var l=s.find(".tp-vid-play-pause")[0],o=s.find(".tp-vid-mute")[0],v=s.find(".tp-vid-full-screen")[0],n=s.find(".tp-seek-bar")[0],a=s.find(".tp-volume-bar")[0];l!=t&&(u(l,"click",function(){i.paused==!0?i.play():i.pause()}),u(o,"click",function(){i.muted==!1?(i.muted=!0,o.innerHTML="Unmute"):(i.muted=!1,o.innerHTML="Mute")}),u(v,"click",function(){i.requestFullscreen?i.requestFullscreen():i.mozRequestFullScreen?i.mozRequestFullScreen():i.webkitRequestFullscreen&&i.webkitRequestFullscreen()}),u(n,"change",function(){var t=i.duration*(n.value/100);i.currentTime=t}),u(i,"timeupdate",function(){var t=100/i.duration*i.currentTime;n.value=t}),u(n,"mousedown",function(){i.pause()}),u(n,"mouseup",function(){i.play()}),u(a,"change",function(){i.volume=a.value}));u(i,"play",function(){s.data("volume")=="mute"&&(i.muted=!0);r.addClass("videoisplaying");s.data("videoloop")=="loopandnoslidestop"?(e.videoplaying=!1,e.container.trigger("starttimer"),e.container.trigger("revolution.slide.onvideostop")):(e.videoplaying=!0,e.container.trigger("stoptimer"),e.container.trigger("revolution.slide.onvideoplay"));var n=s.find(".tp-vid-play-pause")[0],u=s.find(".tp-vid-mute")[0];n!=t&&(n.innerHTML="Pause");u!=t&&i.muted&&(u.innerHTML="Unmute")});u(i,"pause",function(){r.removeClass("videoisplaying");e.videoplaying=!1;e.container.trigger("starttimer");e.container.trigger("revolution.slide.onvideostop");var n=s.find(".tp-vid-play-pause")[0];n!=t&&(n.innerHTML="Play")});u(i,"ended",function(){r.removeClass("videoisplaying");e.videoplaying=!1;e.container.trigger("starttimer");e.container.trigger("revolution.slide.onvideostop");e.nextslideatend==!0&&e.container.revnext()})}if(h=!1,(s.data("autoplayonlyfirsttime")==!0||s.data("autoplayonlyfirsttime")=="true")&&(h=!0),c=16/9,s.data("aspectratio")=="4:3"&&(c=4/3),r.data("mediaAspect",c),r.closest(".tp-caption").data("forcecover")==1&&(ut(r,e.container),r.addClass("fullcoveredvideo")),f.css({display:"block"}),e.nextslideatend=s.data("nextslideatend"),(s.data("autoplay")==!0||h==!0)&&(s.data("videoloop")=="loopandnoslidestop"?(e.videoplaying=!1,e.container.trigger("starttimer"),e.container.trigger("revolution.slide.onvideostop")):(e.videoplaying=!0,e.container.trigger("stoptimer"),e.container.trigger("revolution.slide.onvideoplay")),s.data("forcerewind")!="on"||r.hasClass("videoisplaying")||i.currentTime>0&&(i.currentTime=0),s.data("volume")=="mute"&&(i.muted=!0),r.data("timerplay",setTimeout(function(){s.data("forcerewind")!="on"||r.hasClass("videoisplaying")||i.currentTime>0&&(i.currentTime=0);s.data("volume")=="mute"&&(i.muted=!0);i.play()},10+s.data("start")))),r.data("ww")==t&&r.data("ww",f.attr("width")),r.data("hh")==t&&r.data("hh",f.attr("height")),!s.hasClass("fullscreenvideo")&&s.data("forcecover")==1)try{r.width(r.data("ww")*e.bw);r.height(r.data("hh")*e.bh)}catch(y){}clearInterval(r.data("interval"))}}),100)});s.data("autoplay")==!0&&(setTimeout(function(){s.data("videoloop")!="loopandnoslidestop"&&(e.videoplaying=!0,e.container.trigger("stoptimer"))},200),s.data("videoloop")!="loopandnoslidestop"&&(e.videoplaying=!0,e.container.trigger("stoptimer")),(s.data("autoplayonlyfirsttime")==!0||s.data("autoplayonlyfirsttime")=="true")&&(s.data("autoplay",!1),s.data("autoplayonlyfirsttime",!1)))}if(ni=0,ti=0,s.find("img").length>0)w=s.find("img"),w.width()==0&&w.css({width:"auto"}),w.height()==0&&w.css({height:"auto"}),w.data("ww")==t&&w.width()>0&&w.data("ww",w.width()),w.data("hh")==t&&w.height()>0&&w.data("hh",w.height()),pt=w.data("ww"),vt=w.data("hh"),pt==t&&(pt=0),vt==t&&(vt=0),w.width(pt*e.bw),w.height(vt*e.bh),ni=w.width(),ti=w.height();else if(s.find("iframe").length>0||s.find("video").length>0){bi=!1;w=s.find("iframe");w.length==0&&(w=s.find("video"),bi=!0);w.css({display:"block"});s.data("ww")==t&&s.data("ww",w.width());s.data("hh")==t&&s.data("hh",w.height());var pt=s.data("ww"),vt=s.data("hh"),v=s;v.data("fsize")==t&&v.data("fsize",parseInt(v.css("font-size"),0)||0);v.data("pt")==t&&v.data("pt",parseInt(v.css("paddingTop"),0)||0);v.data("pb")==t&&v.data("pb",parseInt(v.css("paddingBottom"),0)||0);v.data("pl")==t&&v.data("pl",parseInt(v.css("paddingLeft"),0)||0);v.data("pr")==t&&v.data("pr",parseInt(v.css("paddingRight"),0)||0);v.data("mt")==t&&v.data("mt",parseInt(v.css("marginTop"),0)||0);v.data("mb")==t&&v.data("mb",parseInt(v.css("marginBottom"),0)||0);v.data("ml")==t&&v.data("ml",parseInt(v.css("marginLeft"),0)||0);v.data("mr")==t&&v.data("mr",parseInt(v.css("marginRight"),0)||0);v.data("bt")==t&&v.data("bt",parseInt(v.css("borderTop"),0)||0);v.data("bb")==t&&v.data("bb",parseInt(v.css("borderBottom"),0)||0);v.data("bl")==t&&v.data("bl",parseInt(v.css("borderLeft"),0)||0);v.data("br")==t&&v.data("br",parseInt(v.css("borderRight"),0)||0);v.data("lh")==t&&v.data("lh",parseInt(v.css("lineHeight"),0)||0);v.data("lh")=="auto"&&v.data("lh",v.data("fsize")+4);ki=e.width;di=e.height;ki>e.startwidth&&(ki=e.startwidth);di>e.startheight&&(di=e.startheight);s.hasClass("fullscreenvideo")?(c=0,h=0,s.data("x",0),s.data("y",0),gi=e.height,e.autoHeight=="on"&&(gi=e.container.height()),s.css({width:e.width,height:gi})):s.css({"font-size":v.data("fsize")*e.bw+"px","padding-top":v.data("pt")*e.bh+"px","padding-bottom":v.data("pb")*e.bh+"px","padding-left":v.data("pl")*e.bw+"px","padding-right":v.data("pr")*e.bw+"px","margin-top":v.data("mt")*e.bh+"px","margin-bottom":v.data("mb")*e.bh+"px","margin-left":v.data("ml")*e.bw+"px","margin-right":v.data("mr")*e.bw+"px","border-top":v.data("bt")*e.bh+"px","border-bottom":v.data("bb")*e.bh+"px","border-left":v.data("bl")*e.bw+"px","border-right":v.data("br")*e.bw+"px","line-height":v.data("lh")*e.bh+"px",height:vt*e.bh+"px"});bi==!1?(w.width(pt*e.bw),w.height(vt*e.bh)):s.data("forcecover")==1||s.hasClass("fullscreenvideo")||(w.width(pt*e.bw),w.height(vt*e.bh));ni=w.width();ti=w.height()}else s.find(".tp-resizeme, .tp-resizeme *").each(function(){d(n(this),e)}),s.hasClass("tp-resizeme")&&s.find("*").each(function(){d(n(this),e)}),d(s,e),ti=s.outerHeight(!0),ni=s.outerWidth(!0),ct=s.outerHeight(),ii=s.css("backgroundColor"),s.find(".frontcorner").css({borderWidth:ct+"px",left:0-ct+"px",borderRight:"0px solid transparent",borderTopColor:ii}),s.find(".frontcornertop").css({borderWidth:ct+"px",left:0-ct+"px",borderRight:"0px solid transparent",borderBottomColor:ii}),s.find(".backcorner").css({borderWidth:ct+"px",right:0-ct+"px",borderLeft:"0px solid transparent",borderBottomColor:ii}),s.find(".backcornertop").css({borderWidth:ct+"px",right:0-ct+"px",borderLeft:"0px solid transparent",borderTopColor:ii});e.fullScreenAlignForce=="on"&&(c=0,h=0);s.data("voffset")==t&&s.data("voffset",0);s.data("hoffset")==t&&s.data("hoffset",0);var nr=s.data("voffset")*tt,tr=s.data("hoffset")*tt,ir=e.startwidth*tt,rr=e.startheight*tt;if(e.fullScreenAlignForce=="on"&&(ir=e.container.width(),rr=e.container.height()),(s.data("x")=="center"||s.data("xcenter")=="center")&&(s.data("xcenter","center"),s.data("x",ir/2-s.outerWidth(!0)/2+tr)),(s.data("x")=="left"||s.data("xleft")=="left")&&(s.data("xleft","left"),s.data("x",0/tt+tr)),(s.data("x")=="right"||s.data("xright")=="right")&&(s.data("xright","right"),s.data("x",(ir-s.outerWidth(!0)+tr)/tt)),(s.data("y")=="center"||s.data("ycenter")=="center")&&(s.data("ycenter","center"),s.data("y",rr/2-s.outerHeight(!0)/2+nr)),(s.data("y")=="top"||s.data("ytop")=="top")&&(s.data("ytop","top"),s.data("y",0/e.bh+nr)),(s.data("y")=="bottom"||s.data("ybottom")=="bottom")&&(s.data("ybottom","bottom"),s.data("y",(rr-s.outerHeight(!0)+nr)/tt)),s.data("start")==t&&s.data("start",1e3),ur=s.data("easing"),ur==t&&(ur="punchgs.Power1.easeOut"),li=s.data("start")/1e3,ai=s.data("speed")/1e3,fr=s.data("x")=="center"||s.data("xcenter")=="center"?s.data("x")+c:tt*s.data("x")+c,er=s.data("y")=="center"||s.data("ycenter")=="center"?s.data("y")+h:e.bh*s.data("y")+h,punchgs.TweenLite.set(s,{top:er,left:fr,overwrite:"auto"}),st==0&&(wt=!0),s.data("timeline")==t||wt||(st!=2&&s.data("timeline").gotoAndPlay(0),wt=!0),!wt){if(s.data("timeline")!=t,rt=new punchgs.TimelineLite({smoothChildTiming:!0,onStart:p}),rt.pause(),e.fullScreenAlignForce=="on",ft=s,s.data("mySplitText")!=t&&s.data("mySplitText").revert(),(s.data("splitin")=="chars"||s.data("splitin")=="words"||s.data("splitin")=="lines"||s.data("splitout")=="chars"||s.data("splitout")=="words"||s.data("splitout")=="lines")&&(s.find("a").length>0?s.data("mySplitText",new punchgs.SplitText(s.find("a"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):s.find(".tp-layer-inner-rotation").length>0?s.data("mySplitText",new punchgs.SplitText(s.find(".tp-layer-inner-rotation"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):s.data("mySplitText",new punchgs.SplitText(s,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})),s.addClass("splitted")),s.data("splitin")=="chars"&&(ft=s.data("mySplitText").chars),s.data("splitin")=="words"&&(ft=s.data("mySplitText").words),s.data("splitin")=="lines"&&(ft=s.data("mySplitText").lines),y=a(),nt=a(),s.data("repeat")!=t&&(repeatV=s.data("repeat")),s.data("yoyo")!=t&&(yoyoV=s.data("yoyo")),s.data("repeatdelay")!=t&&(repeatdelayV=s.data("repeatdelay")),b=s.attr("class"),b.match("customin")?y=k(y,s.data("customin")):b.match("randomrotate")?(y.scale=Math.random()*3+1,y.rotation=Math.round(Math.random()*200-100),y.x=Math.round(Math.random()*200-100),y.y=Math.round(Math.random()*200-100)):b.match("lfr")||b.match("skewfromright")?y.x=15+e.width:b.match("lfl")||b.match("skewfromleft")?y.x=-15-ni:b.match("sfl")||b.match("skewfromleftshort")?y.x=-50:b.match("sfr")||b.match("skewfromrightshort")?y.x=50:b.match("lft")?y.y=-25-ti:b.match("lfb")?y.y=25+e.height:b.match("sft")?y.y=-50:b.match("sfb")&&(y.y=50),b.match("skewfromright")||s.hasClass("skewfromrightshort")?y.skewX=-85:(b.match("skewfromleft")||s.hasClass("skewfromleftshort"))&&(y.skewX=85),(b.match("fade")||b.match("sft")||b.match("sfl")||b.match("sfb")||b.match("skewfromleftshort")||b.match("sfr")||b.match("skewfromrightshort"))&&(y.opacity=0),oi().toLowerCase()=="safari",vi=s.data("elementdelay")==t?0:s.data("elementdelay"),nt.ease=y.ease=s.data("easing")==t?punchgs.Power1.easeInOut:s.data("easing"),y.data={},y.data.oldx=y.x,y.data.oldy=y.y,nt.data={},nt.data.oldx=nt.x,nt.data.oldy=nt.y,y.x=y.x*tt,y.y=y.y*tt,or=new punchgs.TimelineLite,st!=2)if(b.match("customin"))ft!=s&&rt.add(punchgs.TweenLite.set(s,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",delay:0,overwrite:"all"})),y.visibility="hidden",nt.visibility="visible",nt.overwrite="all",nt.opacity=1,nt.onComplete=l(),nt.delay=li,nt.force3D="auto",rt.add(or.staggerFromTo(ft,ai,y,nt,vi),"frame0");else if(y.visibility="visible",y.transformPerspective=600,ft!=s&&rt.add(punchgs.TweenLite.set(s,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",delay:0,overwrite:"all"})),nt.visibility="visible",nt.delay=li,nt.onComplete=l(),nt.opacity=1,nt.force3D="auto",b.match("randomrotate")&&ft!=s)for(f=0;f<ft.length;f++)sr={},yi={},n.extend(sr,y),n.extend(yi,nt),y.scale=Math.random()*3+1,y.rotation=Math.round(Math.random()*200-100),y.x=Math.round(Math.random()*200-100),y.y=Math.round(Math.random()*200-100),f!=0&&(yi.delay=li+f*vi),rt.append(punchgs.TweenLite.fromTo(ft[f],ai,sr,yi),"frame0");else rt.add(or.staggerFromTo(ft,ai,y,nt,vi),"frame0");s.data("timeline",rt);br=[];s.data("frames")!=t&&(bt=s.data("frames"),bt=bt.replace(/\s+/g,""),bt=bt.replace("{",""),lr=bt.split("}"),n.each(lr,function(n,t){if(t.length>0){var i=ei(t);hi(s,e,i,"frame"+(n+10),tt)}}));rt=s.data("timeline");s.data("end")!=t&&(st==-1||st==2)?g(s,e,s.data("end")/1e3,y,"frame99",tt):st==-1||st==2?g(s,e,999999,y,"frame99",tt):g(s,e,200,y,"frame99",tt);rt=s.data("timeline");s.data("timeline",rt);et(s,tt);rt.resume()}}wt&&(ot(s),et(s,tt),s.data("timeline")!=t&&(ar=s.data("timeline").getTweensOf(),n.each(ar,function(n,i){if(i.vars.data!=t){var r=i.vars.data.oldx*tt,u=i.vars.data.oldy*tt;if(i.progress()!=1&&i.progress()!=0)try{i.vars.x=r;i.vary.y=u}catch(f){}else i.progress()==1&&punchgs.TweenLite.set(i.target,{x:r,y:u})}})))});y=n("body").find("#"+e.container.attr("id")).find(".tp-bannertimer");y.data("opt",e);s!=t&&setTimeout(function(){s.resume()},30)},oi=function(){var r=navigator.appName,t=navigator.userAgent,i,n=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return n&&(i=t.match(/version\/([\.\d]+)/i))!=null&&(n[2]=i[1]),n=n?[n[1],n[2]]:[r,navigator.appVersion,"-?"],n[0]},wi=function(){var r=navigator.appName,t=navigator.userAgent,i,n=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return n&&(i=t.match(/version\/([\.\d]+)/i))!=null&&(n[2]=i[1]),n=n?[n[1],n[2]]:[r,navigator.appVersion,"-?"],n[1]},d=function(n,i){n.data("fsize")==t&&n.data("fsize",parseInt(n.css("font-size"),0)||0);n.data("pt")==t&&n.data("pt",parseInt(n.css("paddingTop"),0)||0);n.data("pb")==t&&n.data("pb",parseInt(n.css("paddingBottom"),0)||0);n.data("pl")==t&&n.data("pl",parseInt(n.css("paddingLeft"),0)||0);n.data("pr")==t&&n.data("pr",parseInt(n.css("paddingRight"),0)||0);n.data("mt")==t&&n.data("mt",parseInt(n.css("marginTop"),0)||0);n.data("mb")==t&&n.data("mb",parseInt(n.css("marginBottom"),0)||0);n.data("ml")==t&&n.data("ml",parseInt(n.css("marginLeft"),0)||0);n.data("mr")==t&&n.data("mr",parseInt(n.css("marginRight"),0)||0);n.data("bt")==t&&n.data("bt",parseInt(n.css("borderTopWidth"),0)||0);n.data("bb")==t&&n.data("bb",parseInt(n.css("borderBottomWidth"),0)||0);n.data("bl")==t&&n.data("bl",parseInt(n.css("borderLeftWidth"),0)||0);n.data("br")==t&&n.data("br",parseInt(n.css("borderRightWidth"),0)||0);n.data("ls")==t&&n.data("ls",parseInt(n.css("letterSpacing"),0)||0);n.data("lh")==t&&n.data("lh",parseInt(n.css("lineHeight"),0)||"auto");n.data("minwidth")==t&&n.data("minwidth",parseInt(n.css("minWidth"),0)||0);n.data("minheight")==t&&n.data("minheight",parseInt(n.css("minHeight"),0)||0);n.data("maxwidth")==t&&n.data("maxwidth",parseInt(n.css("maxWidth"),0)||"none");n.data("maxheight")==t&&n.data("maxheight",parseInt(n.css("maxHeight"),0)||"none");n.data("wii")==t&&n.data("wii",parseInt(n.css("width"),0)||0);n.data("hii")==t&&n.data("hii",parseInt(n.css("height"),0)||0);n.data("wan")==t&&n.data("wan",n.css("-webkit-transition"));n.data("moan")==t&&n.data("moan",n.css("-moz-animation-transition"));n.data("man")==t&&n.data("man",n.css("-ms-animation-transition"));n.data("ani")==t&&n.data("ani",n.css("transition"));n.data("lh")=="auto"&&n.data("lh",n.data("fsize")+4);n.hasClass("tp-splitted")||(n.css("-webkit-transition","none"),n.css("-moz-transition","none"),n.css("-ms-transition","none"),n.css("transition","none"),punchgs.TweenLite.set(n,{fontSize:Math.round(n.data("fsize")*i.bw)+"px",letterSpacing:Math.floor(n.data("ls")*i.bw)+"px",paddingTop:Math.round(n.data("pt")*i.bh)+"px",paddingBottom:Math.round(n.data("pb")*i.bh)+"px",paddingLeft:Math.round(n.data("pl")*i.bw)+"px",paddingRight:Math.round(n.data("pr")*i.bw)+"px",marginTop:n.data("mt")*i.bh+"px",marginBottom:n.data("mb")*i.bh+"px",marginLeft:n.data("ml")*i.bw+"px",marginRight:n.data("mr")*i.bw+"px",borderTopWidth:Math.round(n.data("bt")*i.bh)+"px",borderBottomWidth:Math.round(n.data("bb")*i.bh)+"px",borderLeftWidth:Math.round(n.data("bl")*i.bw)+"px",borderRightWidth:Math.round(n.data("br")*i.bw)+"px",lineHeight:Math.round(n.data("lh")*i.bh)+"px",minWidth:n.data("minwidth")*i.bw+"px",minHeight:n.data("minheight")*i.bh+"px",overwrite:"auto"}),setTimeout(function(){n.css("-webkit-transition",n.data("wan"));n.css("-moz-transition",n.data("moan"));n.css("-ms-transition",n.data("man"));n.css("transition",n.data("ani"))},30),n.data("maxheight")!="none"&&n.css({maxHeight:n.data("maxheight")*i.bh+"px"}),n.data("maxwidth")!="none"&&n.css({maxWidth:n.data("maxwidth")*i.bw+"px"}))},et=function(i,r){i.find(".rs-pendulum").each(function(){var i=n(this);if(i.data("timeline")==t){i.data("timeline",new punchgs.TimelineLite);var u=i.data("startdeg")==t?-20:i.data("startdeg"),f=i.data("enddeg")==t?20:i.data("enddeg"),e=i.data("speed")==t?2:i.data("speed"),o=i.data("origin")==t?"50% 50%":i.data("origin"),s=i.data("easing")==t?punchgs.Power2.easeInOut:i.data("ease");u=u*r;f=f*r;i.data("timeline").append(new punchgs.TweenLite.fromTo(i,e,{force3D:"auto",rotation:u,transformOrigin:o},{rotation:f,ease:s}));i.data("timeline").append(new punchgs.TweenLite.fromTo(i,e,{force3D:"auto",rotation:f,transformOrigin:o},{rotation:u,ease:s,onComplete:function(){i.data("timeline").restart()}}))}});i.find(".rs-rotate").each(function(){var i=n(this),u,f;i.data("timeline")==t&&(i.data("timeline",new punchgs.TimelineLite),u=i.data("startdeg")==t?0:i.data("startdeg"),f=i.data("enddeg")==t?360:i.data("enddeg"),speed=i.data("speed")==t?2:i.data("speed"),origin=i.data("origin")==t?"50% 50%":i.data("origin"),easing=i.data("easing")==t?punchgs.Power2.easeInOut:i.data("easing"),u=u*r,f=f*r,i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",rotation:u,transformOrigin:origin},{rotation:f,ease:easing,onComplete:function(){i.data("timeline").restart()}})))});i.find(".rs-slideloop").each(function(){var i=n(this);if(i.data("timeline")==t){i.data("timeline",new punchgs.TimelineLite);var u=i.data("xs")==t?0:i.data("xs"),f=i.data("ys")==t?0:i.data("ys"),e=i.data("xe")==t?0:i.data("xe"),o=i.data("ye")==t?0:i.data("ye"),s=i.data("speed")==t?2:i.data("speed"),h=i.data("easing")==t?punchgs.Power2.easeInOut:i.data("easing");u=u*r;f=f*r;e=e*r;o=o*r;i.data("timeline").append(new punchgs.TweenLite.fromTo(i,s,{force3D:"auto",x:u,y:f},{x:e,y:o,ease:h}));i.data("timeline").append(new punchgs.TweenLite.fromTo(i,s,{force3D:"auto",x:e,y:o},{x:u,y:f,onComplete:function(){i.data("timeline").restart()}}))}});i.find(".rs-pulse").each(function(){var i=n(this);if(i.data("timeline")==t){i.data("timeline",new punchgs.TimelineLite);var r=i.data("zoomstart")==t?0:i.data("zoomstart"),u=i.data("zoomend")==t?0:i.data("zoomend"),f=i.data("speed")==t?2:i.data("speed"),e=i.data("easing")==t?punchgs.Power2.easeInOut:i.data("easing");i.data("timeline").append(new punchgs.TweenLite.fromTo(i,f,{force3D:"auto",scale:r},{scale:u,ease:e}));i.data("timeline").append(new punchgs.TweenLite.fromTo(i,f,{force3D:"auto",scale:u},{scale:r,onComplete:function(){i.data("timeline").restart()}}))}});i.find(".rs-wave").each(function(){var i=n(this),u;if(i.data("timeline")==t){i.data("timeline",new punchgs.TimelineLite);var f=i.data("angle")==t?10:i.data("angle"),e=i.data("radius")==t?10:i.data("radius"),o=i.data("speed")==t?-20:i.data("speed"),s=i.data("origin")==t?-20:i.data("origin");f=f*r;e=e*r;u={a:0,ang:f,element:i,unit:e};i.data("timeline").append(new punchgs.TweenLite.fromTo(u,o,{a:360},{a:0,force3D:"auto",ease:punchgs.Linear.easeNone,onUpdate:function(){var n=u.a*(Math.PI/180);punchgs.TweenLite.to(u.element,.1,{force3D:"auto",x:Math.cos(n)*u.unit,y:u.unit*(1-Math.sin(n))})},onComplete:function(){i.data("timeline").restart()}}))}})},ot=function(i){i.find(".rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave").each(function(){var i=n(this);i.data("timeline")!=t&&(i.data("timeline").pause(),i.data("timeline",null))})},si=function(r,u){var f=0,e=r.find(".tp-caption"),o=u.container.find(".tp-static-layers").find(".tp-caption");return n.each(o,function(n,t){e.push(t)}),e.each(function(){var o=-1,r=n(this),h,c,s;if(r.hasClass("tp-static-layer")&&((r.data("startslide")==-1||r.data("startslide")=="-1")&&r.data("startslide",0),(r.data("endslide")==-1||r.data("endslide")=="-1")&&r.data("endslide",u.slideamount),r.hasClass("tp-is-shown")?r.data("startslide")>u.next||r.data("endslide")<u.next?(o=2,r.removeClass("tp-is-shown")):o=0:o=2),o!=0){if(ot(r),r.find("iframe").length>0){punchgs.TweenLite.to(r.find("iframe"),.2,{autoAlpha:0});i()&&r.find("iframe").remove();try{var l=r.find("iframe"),a=l.attr("id"),v=$f(a);v.api("pause");clearTimeout(r.data("timerplay"))}catch(w){}try{h=r.data("player");h.stopVideo();clearTimeout(r.data("timerplay"))}catch(w){}}if(r.find("video").length>0)try{r.find("video").each(function(){var t=n(this).parent(),r=t.attr("id"),i;clearTimeout(t.data("timerplay"));i=this;i.pause()})}catch(w){}try{var e=r.data("timeline"),y=e.getLabelTime("frame99"),p=e.time();y>p&&(c=e.getTweensOf(r),n.each(c,function(n,t){n!=0&&t.pause()}),r.css("opacity")!=0?(s=r.data("endspeed")==t?r.data("speed"):r.data("endspeed"),s>f&&(f=s),e.play("frame99")):e.progress(1,!1))}catch(w){}}}),f},hi=function(n,i,r,u,f){var o=n.data("timeline"),s=new punchgs.TimelineLite,e=n;r.typ=="chars"?e=n.data("mySplitText").chars:r.typ=="words"?e=n.data("mySplitText").words:r.typ=="lines"&&(e=n.data("mySplitText").lines);r.animation.ease=r.ease;r.animation.rotationZ!=t&&(r.animation.rotation=r.animation.rotationZ);r.animation.data={};r.animation.data.oldx=r.animation.x;r.animation.data.oldy=r.animation.y;r.animation.x=r.animation.x*f;r.animation.y=r.animation.y*f;o.add(s.staggerTo(e,r.speed,r.animation,r.elementdelay),r.start);o.addLabel(u,r.start);n.data("timeline",o)},g=function(n,i,r,u,f,e){var c=n.data("timeline"),y=new punchgs.TimelineLite,o=a(),l=n.data("endspeed")==t?n.data("speed"):n.data("endspeed"),s=n.attr("class"),h,v;o.ease=n.data("endeasing")==t?punchgs.Power1.easeInOut:n.data("endeasing");l=l/1e3;s.match("ltr")||s.match("ltl")||s.match("str")||s.match("stl")||s.match("ltt")||s.match("ltb")||s.match("stt")||s.match("stb")||s.match("skewtoright")||s.match("skewtorightshort")||s.match("skewtoleft")||s.match("skewtoleftshort")||s.match("fadeout")||s.match("randomrotateout")?(s.match("skewtoright")||s.match("skewtorightshort")?o.skewX=35:(s.match("skewtoleft")||s.match("skewtoleftshort"))&&(o.skewX=-35),s.match("ltr")||s.match("skewtoright")?o.x=i.width+60:s.match("ltl")||s.match("skewtoleft")?o.x=0-(i.width+60):s.match("ltt")?o.y=0-(i.height+60):s.match("ltb")?o.y=i.height+60:s.match("str")||s.match("skewtorightshort")?(o.x=50,o.opacity=0):s.match("stl")||s.match("skewtoleftshort")?(o.x=-50,o.opacity=0):s.match("stt")?(o.y=-50,o.opacity=0):s.match("stb")?(o.y=50,o.opacity=0):s.match("randomrotateout")?(o.x=Math.random()*i.width,o.y=Math.random()*i.height,o.scale=Math.random()*2+.3,o.rotation=Math.random()*360-180,o.opacity=0):s.match("fadeout")&&(o.opacity=0),s.match("skewtorightshort")?o.x=270:s.match("skewtoleftshort")&&(o.x=-270),o.data={},o.data.oldx=o.x,o.data.oldy=o.y,o.x=o.x*e,o.y=o.y*e,o.overwrite="auto",h=n,h=n,n.data("splitout")=="chars"?h=n.data("mySplitText").chars:n.data("splitout")=="words"?h=n.data("mySplitText").words:n.data("splitout")=="lines"&&(h=n.data("mySplitText").lines),v=n.data("endelementdelay")==t?0:n.data("endelementdelay"),c.add(y.staggerTo(h,l,o,v),r)):n.hasClass("customout")?(o=k(o,n.data("customout")),h=n,n.data("splitout")=="chars"?h=n.data("mySplitText").chars:n.data("splitout")=="words"?h=n.data("mySplitText").words:n.data("splitout")=="lines"&&(h=n.data("mySplitText").lines),v=n.data("endelementdelay")==t?0:n.data("endelementdelay"),o.onStart=function(){punchgs.TweenLite.set(n,{transformPerspective:o.transformPerspective,transformOrigin:o.transformOrigin,overwrite:"auto"})},o.data={},o.data.oldx=o.x,o.data.oldy=o.y,o.x=o.x*e,o.y=o.y*e,c.add(y.staggerTo(h,l,o,v),r)):(u.delay=0,c.add(punchgs.TweenLite.to(n,l,u),r));c.addLabel(f,r);n.data("timeline",c)},ci=function(t,i){t.children().each(function(){try{n(this).die("click")}catch(t){}try{n(this).die("mouseenter")}catch(t){}try{n(this).die("mouseleave")}catch(t){}try{n(this).unbind("hover")}catch(t){}});try{t.die("click","mouseenter","mouseleave")}catch(r){}clearInterval(i.cdint);t=null},li=function(r,u){var f,e;if(u.cd=0,u.loop=0,u.looptogo=u.stopAfterLoops!=t&&u.stopAfterLoops>-1?u.stopAfterLoops:9999999,u.lastslidetoshow=u.stopAtSlide!=t&&u.stopAtSlide>-1?u.stopAtSlide:999,u.stopLoop="off",u.looptogo==0&&(u.stopLoop="on"),u.slideamount>1&&!(u.stopAfterLoops==0&&u.stopAtSlide==1)){f=r.find(".tp-bannertimer");r.on("stoptimer",function(){var t=n(this).find(".tp-bannertimer");t.data("tween").pause();u.hideTimerBar=="on"&&t.css({visibility:"hidden"})});r.on("starttimer",function(){u.conthover!=1&&u.videoplaying!=!0&&u.width>u.hideSliderAtLimit&&u.bannertimeronpause!=!0&&u.overnav!=!0&&(u.stopLoop=="on"&&u.next==u.lastslidetoshow-1||u.noloopanymore==1?u.noloopanymore=1:(f.css({visibility:"visible"}),f.data("tween").resume()));u.hideTimerBar=="on"&&f.css({visibility:"hidden"})});r.on("restarttimer",function(){var t=n(this).find(".tp-bannertimer");u.stopLoop=="on"&&u.next==u.lastslidetoshow-1||u.noloopanymore==1?u.noloopanymore=1:(t.css({visibility:"visible"}),t.data("tween").kill(),t.data("tween",punchgs.TweenLite.fromTo(t,u.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:e,delay:1})));u.hideTimerBar=="on"&&t.css({visibility:"hidden"})});r.on("nulltimer",function(){f.data("tween").pause(0);u.hideTimerBar=="on"&&f.css({visibility:"hidden"})});e=function(){n("body").find(r).length==0&&(ci(r,u),clearInterval(u.cdint));r.trigger("revolution.slide.slideatend");r.data("conthover-changed")==1&&(u.conthover=r.data("conthover"),r.data("conthover-changed",0));u.act=u.next;u.next=u.next+1;u.next>r.find(">ul >li").length-1&&(u.next=0,u.looptogo=u.looptogo-1,u.looptogo<=0&&(u.stopLoop="on"));u.stopLoop=="on"&&u.next==u.lastslidetoshow-1?(r.find(".tp-bannertimer").css({visibility:"hidden"}),r.trigger("revolution.slide.onstop"),u.noloopanymore=1):f.data("tween")===t||f.data("tween").restart();b(r,u)};f.data("tween",punchgs.TweenLite.fromTo(f,u.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:e,delay:1}));f.data("opt",u);r.hover(function(){if(u.onHoverStop=="on"&&!i()){r.trigger("stoptimer");r.trigger("revolution.slide.onpause");var f=r.find(">ul >li:eq("+u.next+") .slotholder");f.find(".defaultimg").each(function(){var i=n(this);i.data("kenburn")!=t&&i.data("kenburn").pause()})}},function(){if(r.data("conthover")!=1){r.trigger("revolution.slide.onresume");r.trigger("starttimer");var i=r.find(">ul >li:eq("+u.next+") .slotholder");i.find(".defaultimg").each(function(){var i=n(this);i.data("kenburn")!=t&&i.data("kenburn").play()})}})}},i=function(){var n=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],t=!1,i;for(i in n)navigator.userAgent.split(n[i]).length>1&&(t=!0);return t},s=function(n,t,i){var u=t.data("owidth"),f=t.data("oheight");if(u/f>i.width/i.height){var e=i.container.width()/u,o=f*e,r=o/i.container.height()*n;return n=n*(100/r),r=100,n=n,n+"% "+r+"% 1"}var e=i.container.width()/u,o=f*e,r=o/i.container.height()*n;return n+"% "+r+"%"},nt=function(i,u,f,e){var w,d,g,h,a;try{w=i.find(">ul:first-child >li:eq("+u.act+")")}catch(ft){w=i.find(">ul:first-child >li:eq(1)")}u.lastslide=u.act;var nt=i.find(">ul:first-child >li:eq("+u.next+")"),o=nt.find(".slotholder"),tt=o.data("bgposition"),it=o.data("bgpositionend"),v=o.data("zoomstart")/100,y=o.data("zoomend")/100,k=o.data("rotationstart"),b=o.data("rotationend"),c=o.data("bgfit"),l=o.data("bgfitend"),rt=o.data("easeme"),ut=o.data("duration")/1e3,p=100;c==t&&(c=100);l==t&&(l=100);d=c;g=l;c=s(c,o,u);l=s(l,o,u);p=s(100,o,u);v==t&&(v=1);y==t&&(y=1);k==t&&(k=0);b==t&&(b=0);v<1&&(v=1);y<1&&(y=1);h={};h.w=parseInt(p.split(" ")[0],0);h.h=parseInt(p.split(" ")[1],0);a=!1;p.split(" ")[2]=="1"&&(a=!0);o.find(".defaultimg").each(function(){var f=n(this);o.find(".kenburnimg").length==0?o.append('<div class="kenburnimg" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;"><img src="'+f.attr("src")+'" style="-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;position:absolute;width:'+h.w+"%;height:"+h.h+'%;"><\/div>'):o.find(".kenburnimg img").css({width:h.w+"%",height:h.h+"%"});var t=o.find(".kenburnimg img"),i=st(u,tt,c,t,a),s=st(u,it,l,t,a);if(a&&(i.w=d/100,s.w=g/100),e){punchgs.TweenLite.set(t,{autoAlpha:0,transformPerspective:1200,transformOrigin:"0% 0%",top:0,left:0,scale:i.w,x:i.x,y:i.y});var v=i.w,y=v*t.width()-u.width,p=v*t.height()-u.height,w=Math.abs(i.x/y*100),k=Math.abs(i.y/p*100);p==0&&(k=0);y==0&&(w=0);f.data("bgposition",w+"% "+k+"%");r(8)||f.data("currotate",ht(t));r(8)||f.data("curscale",h.w*v+"%  "+(h.h*v+"%"));o.find(".kenburnimg").remove()}else f.data("kenburn",punchgs.TweenLite.fromTo(t,ut,{autoAlpha:1,force3D:punchgs.force3d,transformOrigin:"0% 0%",top:0,left:0,scale:i.w,x:i.x,y:i.y},{autoAlpha:1,rotationZ:b,ease:rt,x:s.x,y:s.y,scale:s.w,onUpdate:function(){var n=t[0]._gsTransform.scaleX,i=n*t.width()-u.width,e=n*t.height()-u.height,o=Math.abs(t[0]._gsTransform.x/i*100),s=Math.abs(t[0]._gsTransform.y/e*100);e==0&&(s=0);i==0&&(o=0);f.data("bgposition",o+"% "+s+"%");r(8)||f.data("currotate",ht(t));r(8)||f.data("curscale",h.w*n+"%  "+(h.h*n+"%"))}}))})},st=function(n,t,i,r,u){var f={};f.w=u?parseInt(i.split(" ")[1],0)/100:parseInt(i.split(" ")[0],0)/100;switch(t){case"left top":case"top left":f.x=0;f.y=0;break;case"center top":case"top center":f.x=((0-r.width())*f.w+parseInt(n.width,0))/2;f.y=0;break;case"top right":case"right top":f.x=(0-r.width())*f.w+parseInt(n.width,0);f.y=0;break;case"center left":case"left center":f.x=0;f.y=((0-r.height())*f.w+parseInt(n.height,0))/2;break;case"center center":f.x=((0-r.width())*f.w+parseInt(n.width,0))/2;f.y=((0-r.height())*f.w+parseInt(n.height,0))/2;break;case"center right":case"right center":f.x=(0-r.width())*f.w+parseInt(n.width,0);f.y=((0-r.height())*f.w+parseInt(n.height,0))/2;break;case"bottom left":case"left bottom":f.x=0;f.y=(0-r.height())*f.w+parseInt(n.height,0);break;case"bottom center":case"center bottom":f.x=((0-r.width())*f.w+parseInt(n.width,0))/2;f.y=(0-r.height())*f.w+parseInt(n.height,0);break;case"bottom right":case"right bottom":f.x=(0-r.width())*f.w+parseInt(n.width,0);f.y=(0-r.height())*f.w+parseInt(n.height,0)}return f},ht=function(n){var i=n.css("-webkit-transform")||n.css("-moz-transform")||n.css("-ms-transform")||n.css("-o-transform")||n.css("transform"),t;if(i!=="none")var r=i.split("(")[1].split(")")[0].split(","),u=r[0],f=r[1],t=Math.round(Math.atan2(f,u)*(180/Math.PI));else t=0;return t<0?t+=360:t},ai=function(i,r){var u;try{u=i.find(">ul:first-child >li:eq("+r.act+")")}catch(e){u=i.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var f=i.find(">ul:first-child >li:eq("+r.next+")"),o=u.find(".slotholder"),s=f.find(".slotholder");i.find(".defaultimg").each(function(){var i=n(this);punchgs.TweenLite.killTweensOf(i,!1);punchgs.TweenLite.set(i,{scale:1,rotationZ:0});punchgs.TweenLite.killTweensOf(i.data("kenburn img"),!1);i.data("kenburn")!=t&&i.data("kenburn").pause();i.data("currotate")!=t&&i.data("bgposition")!=t&&i.data("curscale")!=t&&punchgs.TweenLite.set(i,{rotation:i.data("currotate"),backgroundPosition:i.data("bgposition"),backgroundSize:i.data("curscale")});i!=t&&i.data("kenburn img")!=t&&i.data("kenburn img").length>0&&punchgs.TweenLite.set(i.data("kenburn img"),{autoAlpha:0})})},vi=function(t,r){if(i()&&r.parallaxDisableOnMobile=="on")return!1;if(t.find(">ul:first-child >li").each(function(){for(var i=n(this),t=1;t<=10;t++)i.find(".rs-parallaxlevel-"+t).each(function(){var i=n(this);i.wrap('<div style="position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:'+i.css("zIndex")+'" class="tp-parallax-container" data-parallaxlevel="'+r.parallaxLevels[t-1]+'"><\/div>')})}),r.parallax=="mouse"||r.parallax=="scroll+mouse"||r.parallax=="mouse+scroll"){t.mouseenter(function(n){var i=t.find(".current-sr-slide-visible"),r=t.offset().top,u=t.offset().left,f=n.pageX-u,e=n.pageY-r;i.data("enterx",f);i.data("entery",e)});t.on("mousemove.hoverdir, mouseleave.hoverdir",function(i){var u=t.find(".current-sr-slide-visible");switch(i.type){case"mousemove":var f=t.offset().top,e=t.offset().left,o=u.data("enterx"),s=u.data("entery"),h=o-(i.pageX-e),c=s-(i.pageY-f);u.find(".tp-parallax-container").each(function(){var t=n(this),i=parseInt(t.data("parallaxlevel"),0)/100,u=h*i,f=c*i;r.parallax=="scroll+mouse"||r.parallax=="mouse+scroll"?punchgs.TweenLite.to(t,.4,{force3D:"auto",x:u,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(t,.4,{force3D:"auto",x:u,y:f,ease:punchgs.Power3.easeOut,overwrite:"all"})});break;case"mouseleave":u.find(".tp-parallax-container").each(function(){var t=n(this);r.parallax=="scroll+mouse"||r.parallax=="mouse+scroll"?punchgs.TweenLite.to(t,1.5,{force3D:"auto",x:0,ease:punchgs.Power3.easeOut}):punchgs.TweenLite.to(t,1.5,{force3D:"auto",x:0,y:0,ease:punchgs.Power3.easeOut})})}});i()&&(window.ondeviceorientation=function(i){var r=Math.round(i.beta||0),u=Math.round(i.gamma||0),s=t.find(".current-sr-slide-visible"),f,e,o;n(window).width()>n(window).height()&&(f=u,u=r,r=f);e=360/t.width()*u;o=180/t.height()*r;s.find(".tp-parallax-container").each(function(){var t=n(this),i=parseInt(t.data("parallaxlevel"),0)/100,r=e*i,u=o*i;punchgs.TweenLite.to(t,.2,{force3D:"auto",x:r,y:u,ease:punchgs.Power3.easeOut})})})}if(r.parallax=="scroll"||r.parallax=="scroll+mouse"||r.parallax=="mouse+scroll")n(window).on("scroll",function(){h(t,r)})},h=function(t,r){var a,s,h;if(i()&&r.parallaxDisableOnMobile=="on")return!1;var e=t.offset().top,c=n(window).scrollTop(),o=e+t.height()/2,l=e+t.height()/2-c,f=n(window).height()/2,u=f-l;o<f&&(u=u-(f-o));a=t.find(".current-sr-slide-visible");t.find(".tp-parallax-container").each(function(){var t=n(this),r=parseInt(t.data("parallaxlevel"),0)/100,i=u*r;t.data("parallaxoffset",i);punchgs.TweenLite.to(t,.2,{force3D:"auto",y:i,ease:punchgs.Power3.easeOut})});r.parallaxBgFreeze!="on"&&(s=r.parallaxLevels[0]/100,h=u*s,punchgs.TweenLite.to(t,.2,{force3D:"auto",y:h,ease:punchgs.Power3.easeOut}))},yi=function(i,r){var s=i.parent(),u,e,o,h,c;(r.navigationType=="thumb"||r.navsecond=="both")&&s.append('<div class="tp-bullets tp-thumbs '+r.navigationStyle+'"><div class="tp-mask"><div class="tp-thumbcontainer"><\/div><\/div><\/div>');u=s.find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer");e=u.parent();e.width(r.thumbWidth*r.thumbAmount);e.height(r.thumbHeight);e.parent().width(r.thumbWidth*r.thumbAmount);e.parent().height(r.thumbHeight);i.find(">ul:first >li").each(function(n){var f=i.find(">ul:first >li:eq("+n+")"),o=f.find(".defaultimg").css("backgroundColor"),e,s;e=f.data("thumb")!=t?f.data("thumb"):f.find("img:first").attr("src");u.append('<div class="bullet thumb" style="background-color:'+o+";position:relative;width:"+r.thumbWidth+"px;height:"+r.thumbHeight+"px;background-image:url("+e+') !important;background-size:cover;background-position:center center;"><\/div>');s=u.find(".bullet:first")});o=10;u.find(".bullet").each(function(t){var u=n(this);t==r.slideamount-1&&u.addClass("last");t==0&&u.addClass("first");u.width(r.thumbWidth);u.height(r.thumbHeight);o<u.outerWidth(!0)&&(o=u.outerWidth(!0));u.click(function(){r.transition==0&&u.index()!=r.act&&(r.next=u.index(),f(r,i))})});h=o*i.find(">ul:first >li").length;c=u.parent().width();r.thumbWidth=o;c<h&&(n(document).mousemove(function(t){n("body").data("mousex",t.pageX)}),u.parent().mouseenter(function(){var r=n(this),o=r.offset(),f=n("body").data("mousex")-o.left,u=r.width(),s=r.find(".bullet:first").outerWidth(!0),e=s*i.find(">ul:first >li").length,h=e-u+15,c=h/u,t;r.addClass("over");f=f-30;t=0-f*c;t>0&&(t=0);t<0-e+u&&(t=0-e+u);tt(r,t,200)}),u.parent().mousemove(function(){var f=n(this),o=f.offset(),t=n("body").data("mousex")-o.left,r=f.width(),s=f.find(".bullet:first").outerWidth(!0),e=s*i.find(">ul:first >li").length-1,h=e-r+15,c=h/r,u;t=t-3;t<6&&(t=0);t+3>r-6&&(t=r);u=0-t*c;u>0&&(u=0);u<0-e+r&&(u=0-e+r);tt(f,u,0)}),u.parent().mouseleave(function(){var t=n(this);t.removeClass("over");ct(i)}))},ct=function(n){var e=n.parent().find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer"),t=e.parent(),h=t.offset(),u=t.find(".bullet:first").outerWidth(!0),o=t.find(".bullet.selected").index()*u,r=t.width(),u=t.find(".bullet:first").outerWidth(!0),f=u*n.find(">ul:first >li").length,s=f-r,c=s/r,i=0-o;i>0&&(i=0);i<0-f+r&&(i=0-f+r);t.hasClass("over")||tt(t,i,200)},tt=function(n,t){punchgs.TweenLite.to(n.find(".tp-thumbcontainer"),.2,{force3D:"auto",left:t,ease:punchgs.Power3.easeOut,overwrite:"auto"})}}(jQuery);$j(".product-category-carousel").on("init afterChange",function(){$j(".wlc-home-color-swatch").off("click");$j(".wlc-home-color-swatch").on("click",function(){var n=$j(this).find(".product-category__info__ribbon__title");window.location=host+"/colors/"+n.text().replace("#","").trim()})});$j(window).on("load",function(){$j(".wlc-home-color-swatch").click(function(){var n=$j(this).children(".wlc-color-name");n.html()!==undefined&&(window.location=(host+"/colors/"+n.html().replace("Z#","").replace("#","")).toLowerCase())})});var i=0,revapi=function(){i=i+3;$j.ajax({async:!0,type:"GET",url:"slides.aspx?NumResults=3&Start="+i,success:function(){return}})},revapi=null;jQuery(function(n){"use strict";n(".tp-banner-container").length&&n(".tp-banner-container").css({height:"auto"}).animate({opacity:"1"},500)});jQuery(document).ready(function(){"use strict";ShowSlides()})