(function(Re){var se=jQuery.fn.revolution,be={alias:"SlideAnimations Min JS",name:"revolution.extensions.slideanims.min.js",min_core:"5.4.5",version:"1.8"};jQuery.extend(!0,se,{animateSlide:function(o,u,Y,L,f,l,h,t){return se.compare_version(be).check==="stop"?t:Ae(o,u,Y,L,f,l,h,t)}});var ce=function(o,u,Y,L){var f=o,l=f.find(".defaultimg"),h=l.data("mediafilter"),t=f.data("zoomstart"),e=f.data("rotationstart");l.data("currotate")!=null&&(e=l.data("currotate")),l.data("curscale")!=null&&L=="box"?t=100*l.data("curscale"):l.data("curscale")!=null&&(t=l.data("curscale")),se.slotSize(l,u);var de=l.attr("src"),A=l.data("bgcolor"),V=u.width,v=u.height,g=l.data("fxof");A===void 0&&(A=l.css("backgroundColor")),u.autoHeight=="on"&&(v=u.c.height()),g==null&&(g=0);var S=0,i=l.data("bgfit"),d=l.data("bgrepeat"),m=l.data("bgposition");i==null&&(i="cover"),d==null&&(d="no-repeat"),m==null&&(m="center center");var B="";switch(B=A!==void 0&&0<=A.indexOf("gradient")?"background:"+A:"background-color:"+A+";background-image:url("+de+");background-repeat:"+d+";background-size:"+i+";background-position:"+m,L){case"box":for(var H=0,s=0,C=0;C
'),s+=u.sloth,t!=null&&e!=null&&punchgs.TweenLite.set(f.find(".slot").last(),{rotationZ:e});H+=u.slotw}break;case"vertical":case"horizontal":if(L=="horizontal")for(Y||(S=0-u.slotw),j=0;j
'),t!=null&&e!=null&&punchgs.TweenLite.set(f.find(".slot").last(),{rotationZ:e});else for(Y||(S=0-u.sloth),j=0;j
'),t!=null&&e!=null&&punchgs.TweenLite.set(f.find(".slot").last(),{rotationZ:e})}},F=function(o,u){return u==null||jQuery.isNumeric(o)||o==null?o:o.split(",")[u]},Ae=function(o,u,Y,L,f,l,h,t){var e=Y[0].opt,de=f.index(),A=L.index()e.delay?e.delay:i,i+=v[4],e.slots=F(L.data("slotamount"),S),e.slots=e.slots==null||e.slots=="default"?v[12]:e.slots=="random"?Math.round(12*Math.random()+4):e.slots,e.slots=e.slots<1?u=="boxslide"?Math.round(6*Math.random()+3):u=="flyin"?Math.round(4*Math.random()+1):e.slots:e.slots,e.slots=(o==4||o==5||o==6)&&e.slots<3?3:e.slots,e.slots=v[3]!=0?Math.min(e.slots,v[3]):e.slots,e.slots=o==9?e.width/e.slots:o==10?e.height/e.slots:e.slots,e.rotate=F(L.data("rotate"),S),e.rotate=e.rotate==null||e.rotate=="default"?0:e.rotate==999||e.rotate=="random"?Math.round(360*Math.random()):e.rotate,e.rotate=e.ie||e.ie9?0:e.rotate,o!=11&&(v[7]!=null&&ce(h,e,v[7],v[5]),v[6]!=null&&ce(l,e,v[6],v[5])),t.add(punchgs.TweenLite.set(l.find(".defaultvid"),{y:0,x:0,top:0,left:0,scale:1}),0),t.add(punchgs.TweenLite.set(h.find(".defaultvid"),{y:0,x:0,top:0,left:0,scale:1}),0),t.add(punchgs.TweenLite.set(l.find(".defaultvid"),{y:"+0%",x:"+0%"}),0),t.add(punchgs.TweenLite.set(h.find(".defaultvid"),{y:"+0%",x:"+0%"}),0),t.add(punchgs.TweenLite.set(l,{autoAlpha:1,y:"+0%",x:"+0%"}),0),t.add(punchgs.TweenLite.set(h,{autoAlpha:1,y:"+0%",x:"+0%"}),0),t.add(punchgs.TweenLite.set(l.parent(),{backgroundColor:"transparent"}),0),t.add(punchgs.TweenLite.set(h.parent(),{backgroundColor:"transparent"}),0);var d=F(L.data("easein"),S),m=F(L.data("easeout"),S);if(d=d==="default"?v[9]||punchgs.Power2.easeInOut:d||v[9]||punchgs.Power2.easeInOut,m=m==="default"?v[10]||punchgs.Power2.easeInOut:m||v[10]||punchgs.Power2.easeInOut,o==0){var B=Math.ceil(e.height/e.sloth),H=0;l.find(".slotslide").each(function(r){var n=jQuery(this);(H+=1)==B&&(H=0),t.add(punchgs.TweenLite.from(n,i/600,{opacity:0,top:0-e.sloth,left:0-e.slotw,rotation:e.rotate,force3D:"auto",ease:d}),(15*r+30*H)/1500)})}if(o==1&&l.find(".slotslide").each(function(r){var n=jQuery(this),p=Math.random()*i+300,G=500*Math.random()+200;t.add(punchgs.TweenLite.from(n,p/1e3,{autoAlpha:0,force3D:"auto",rotation:e.rotate,ease:d}),G/1e3)}),o==2){var s=new punchgs.TimelineLite;h.find(".slotslide").each(function(){var r=jQuery(this);s.add(punchgs.TweenLite.to(r,i/1e3,{left:e.slotw,ease:d,force3D:"auto",rotation:0-e.rotate}),0),t.add(s,0)}),l.find(".slotslide").each(function(){var r=jQuery(this);s.add(punchgs.TweenLite.from(r,i/1e3,{left:0-e.slotw,ease:d,force3D:"auto",rotation:e.rotate}),0),t.add(s,0)})}if(o==3&&(s=new punchgs.TimelineLite,h.find(".slotslide").each(function(){var r=jQuery(this);s.add(punchgs.TweenLite.to(r,i/1e3,{top:e.sloth,ease:d,rotation:e.rotate,force3D:"auto",transformPerspective:600}),0),t.add(s,0)}),l.find(".slotslide").each(function(){var r=jQuery(this);s.add(punchgs.TweenLite.from(r,i/1e3,{top:0-e.sloth,rotation:e.rotate,ease:m,force3D:"auto",transformPerspective:600}),0),t.add(s,0)})),o==4||o==5){setTimeout(function(){h.find(".defaultimg").css({opacity:0})},100);var C=i/1e3;s=new punchgs.TimelineLite,h.find(".slotslide").each(function(r){var n=jQuery(this),p=r*C/e.slots;o==5&&(p=(e.slots-r-1)*C/e.slots/1.5),s.add(punchgs.TweenLite.to(n,3*C,{transformPerspective:600,force3D:"auto",top:0+e.height,opacity:.5,rotation:e.rotate,ease:d,delay:p}),0),t.add(s,0)}),l.find(".slotslide").each(function(r){var n=jQuery(this),p=r*C/e.slots;o==5&&(p=(e.slots-r-1)*C/e.slots/1.5),s.add(punchgs.TweenLite.from(n,3*C,{top:0-e.height,opacity:.5,rotation:e.rotate,force3D:"auto",ease:punchgs.eo,delay:p}),0),t.add(s,0)})}if(o==6&&(e.slots<2&&(e.slots=2),e.slots%2&&(e.slots=e.slots+1),s=new punchgs.TimelineLite,setTimeout(function(){h.find(".defaultimg").css({opacity:0})},100),h.find(".slotslide").each(function(r){var n=jQuery(this);if(r+1e.delay&&(i=e.delay),s=new punchgs.TimelineLite,setTimeout(function(){h.find(".defaultimg").css({opacity:0})},100),h.find(".slotslide").each(function(){var r=jQuery(this).find("div");s.add(punchgs.TweenLite.to(r,i/1e3,{left:0-e.slotw/2+"px",top:0-e.height/2+"px",width:2*e.slotw+"px",height:2*e.height+"px",opacity:0,rotation:e.rotate,force3D:"auto",ease:d}),0),t.add(s,0)}),l.find(".slotslide").each(function(r){var n=jQuery(this).find("div");s.add(punchgs.TweenLite.fromTo(n,i/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-r*e.slotw+"px",ease:m,force3D:"auto",top:"0px",width:e.width,height:e.height,opacity:1,rotation:0,delay:.1}),0),t.add(s,0)})),o==8&&((i*=3)>e.delay&&(i=e.delay),s=new punchgs.TimelineLite,h.find(".slotslide").each(function(){var r=jQuery(this).find("div");s.add(punchgs.TweenLite.to(r,i/1e3,{left:0-e.width/2+"px",top:0-e.sloth/2+"px",width:2*e.width+"px",height:2*e.sloth+"px",force3D:"auto",ease:d,opacity:0,rotation:e.rotate}),0),t.add(s,0)}),l.find(".slotslide").each(function(r){var n=jQuery(this).find("div");s.add(punchgs.TweenLite.fromTo(n,i/1e3,{left:0,top:0,opacity:0,force3D:"auto"},{left:"0px",top:0-r*e.sloth+"px",width:l.find(".defaultimg").data("neww")+"px",height:l.find(".defaultimg").data("newh")+"px",opacity:1,ease:m,rotation:0}),0),t.add(s,0)})),(o==9||o==10)&&l.find(".slotslide").each(function(r){var n=jQuery(this);t.add(punchgs.TweenLite.fromTo(n,i/2e3,{autoAlpha:0,force3D:"auto",transformPerspective:600},{autoAlpha:1,ease:d,delay:r*e.slots/100/2e3}),0)}),o==27||o==28||o==29||o==30){var j=l.find(".slot"),ue=o==27||o==29?"-100%":"+100%",De=o==27||o==29?"+100%":"-100%",je=o==27||o==29?"-80%":"80%",Qe=o==27||o==29?"+80%":"-80%",Me=o==27||o==29?"+10%":"-10%",pe={overwrite:"all"},ge={autoAlpha:0,zIndex:1,force3D:"auto",ease:d},we={position:"inherit",autoAlpha:0,overwrite:"all",zIndex:1},me={autoAlpha:1,force3D:"auto",ease:m},ve={overwrite:"all",zIndex:2,opacity:1,autoAlpha:1},ye={autoAlpha:1,force3D:"auto",overwrite:"all",ease:d},xe={overwrite:"all",zIndex:2,autoAlpha:1},Te={autoAlpha:1,force3D:"auto",ease:d},W=(o==27||o==28?1:2)==1?"y":"x";pe[W]="0px",ge[W]=ue,we[W]=Me,me[W]="0%",ve[W]=De,ye[W]=ue,xe[W]=je,Te[W]=Qe,j.append(''),t.add(punchgs.TweenLite.fromTo(h,i/1e3,pe,ge),0),t.add(punchgs.TweenLite.fromTo(l.find(".defaultimg"),i/2e3,we,me),i/2e3),t.add(punchgs.TweenLite.fromTo(j,i/1e3,ve,ye),0),t.add(punchgs.TweenLite.fromTo(j.find(".slotslide div"),i/1e3,xe,Te),0)}if(o==31||o==32||o==33||o==34){i=6e3,d=punchgs.Power3.easeInOut;var q=i/1e3;mas=q-q/5,_nt=o,fy=_nt==31?"+100%":_nt==32?"-100%":"0%",fx=_nt==33?"+100%":_nt==34?"-100%":"0%",ty=_nt==31?"-100%":_nt==32?"+100%":"0%",tx=_nt==33?"-100%":_nt==34?"+100%":"0%",t.add(punchgs.TweenLite.fromTo(h,q-.2*q,{y:0,x:0},{y:ty,x:tx,ease:m}),.2*q),t.add(punchgs.TweenLite.fromTo(l,q,{y:fy,x:fx},{y:"0%",x:"0%",ease:d}),0),l.find(".slot").remove(),l.find(".defaultimg").clone().appendTo(l).addClass("slot"),function(r,n,p,G,T){var k=r.find(".slot"),D=[2,1.2,.9,.7,.55,.42],z=r.width(),b=r.height();k.wrap('
');for(var O=0;O<6;O++)k.parent().clone(!1).appendTo(nextsh);r.find(".slot-circle-wrapper").each(function(a){if(a<6){var J=jQuery(this),c=J.find(".slot"),M=be.delay&&(i=e.delay),setTimeout(function(){punchgs.TweenLite.set(h.find(".defaultimg"),{autoAlpha:0})},100);var Q=e.width,y=e.height,ze=l.find(".slotslide, .defaultvid"),ee=0,te=0,P=1,U=1,he=1,fe=i/1e3,oe=fe;e.sliderLayout!="fullwidth"&&e.sliderLayout!="fullscreen"||(Q=ze.width(),y=ze.height()),o==12?ee=Q:o==15?ee=0-Q:o==13?te=y:o==14&&(te=0-y),g==1&&(P=0),g==2&&(P=0),g==3&&(fe=i/1300),g!=4&&g!=5||(U=.6),g==6&&(U=1.4),g!=5&&g!=6||(he=1.4,te=ee=y=Q=P=0),g==6&&(he=.6),g==7&&(y=Q=0);var Le=l.find(".slotslide"),ae=h.find(".slotslide, .defaultvid");if(t.add(punchgs.TweenLite.set(f,{zIndex:15}),0),t.add(punchgs.TweenLite.set(L,{zIndex:20}),0),g==8?(t.add(punchgs.TweenLite.set(f,{zIndex:20}),0),t.add(punchgs.TweenLite.set(L,{zIndex:15}),0),t.add(punchgs.TweenLite.set(Le,{left:0,top:0,scale:1,opacity:1,rotation:0,ease:d,force3D:"auto"}),0)):t.add(punchgs.TweenLite.from(Le,fe,{left:ee,top:te,scale:he,opacity:P,rotation:e.rotate,ease:d,force3D:"auto"}),0),g!=4&&g!=5||(y=Q=0),g!=1)switch(o){case 12:t.add(punchgs.TweenLite.to(ae,oe,{left:0-Q+"px",force3D:"auto",scale:U,opacity:P,rotation:e.rotate,ease:m}),0);break;case 15:t.add(punchgs.TweenLite.to(ae,oe,{left:Q+"px",force3D:"auto",scale:U,opacity:P,rotation:e.rotate,ease:m}),0);break;case 13:t.add(punchgs.TweenLite.to(ae,oe,{top:0-y+"px",force3D:"auto",scale:U,opacity:P,rotation:e.rotate,ease:m}),0);break;case 14:t.add(punchgs.TweenLite.to(ae,oe,{top:y+"px",force3D:"auto",scale:U,opacity:P,rotation:e.rotate,ease:m}),0)}}if(o==16){s=new punchgs.TimelineLite,t.add(punchgs.TweenLite.set(f,{position:"absolute","z-index":20}),0),t.add(punchgs.TweenLite.set(L,{position:"absolute","z-index":15}),0),f.wrapInner('
'),f.find(".tp-half-one").clone(!0).appendTo(f).addClass("tp-half-two"),f.find(".tp-half-two").removeClass("tp-half-one"),Q=e.width,y=e.height,e.autoHeight=="on"&&(y=Y.height()),f.find(".tp-half-one .defaultimg").wrap('
'),f.find(".tp-half-two .defaultimg").wrap('
'),f.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"}),f.find(".tp-half-two .tp-caption").wrapAll('
'),t.add(punchgs.TweenLite.set(f.find(".tp-half-two"),{width:Q,height:y,overflow:"hidden",zIndex:15,position:"absolute",top:y/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"}),0),t.add(punchgs.TweenLite.set(f.find(".tp-half-one"),{width:Q,height:y/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"}),0),f.find(".defaultimg");var ke=Math.round(20*Math.random()-10),Oe=Math.round(20*Math.random()-10),Ie=Math.round(20*Math.random()-10),Xe=.4*Math.random()-.2,Ye=.4*Math.random()-.2,Se=1*Math.random()+1,_e=1*Math.random()+1,Ve=.3*Math.random()+.3;t.add(punchgs.TweenLite.set(f.find(".tp-half-one"),{overflow:"hidden"}),0),t.add(punchgs.TweenLite.fromTo(f.find(".tp-half-one"),i/800,{width:Q,height:y/2,position:"absolute",top:"0px",left:"0px",force3D:"auto",transformOrigin:"center top"},{scale:Se,rotation:ke,y:0-y-y/4,autoAlpha:0,ease:d}),0),t.add(punchgs.TweenLite.fromTo(f.find(".tp-half-two"),i/800,{width:Q,height:y,overflow:"hidden",position:"absolute",top:y/2,left:"0px",force3D:"auto",transformOrigin:"center bottom"},{scale:_e,rotation:Oe,y:y+y/4,ease:d,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(f,{position:"absolute","z-index":15}),punchgs.TweenLite.set(L,{position:"absolute","z-index":20}),0