simplynailbar.pl
Open in
urlscan Pro
91.227.123.80
Public Scan
URL:
https://simplynailbar.pl/wp-content/plugins/revslider/public/assets/js/extensions/revolution.extension.layeranimation.min...
Submission: On November 24 via api from US — Scanned from PL
Submission: On November 24 via api from US — Scanned from PL
Form analysis
0 forms found in the DOMText Content
/************************************************ * REVOLUTION 5.4.6.4 EXTENSION - LAYER ANIMATION * @version: 3.6.5 (08.03.2018) * @requires jquery.themepunch.revolution.js * @author ThemePunch ************************************************/ !function(e){"use strict";var t=jQuery.fn.revolution,i=(t.is_mobile(),t.is_android(),{alias:"LayerAnimation Min JS",name:"revolution.extensions.layeranimation.min.js",min_core:"5.4.6.4",version:"3.6.5"});jQuery.extend(!0,t,{updateMarkup:function(e,t){var i=jQuery(e).data();if(void 0!==i.start&&!i.frames_added&&void 0===i.frames){var a=new Array,n=h(l(),i.transform_in,void 0,!1),r=h(l(),i.transform_out,void 0,!1),o=h(l(),i.transform_hover,void 0,!1);jQuery.isNumeric(i.end)&&jQuery.isNumeric(i.start)&&jQuery.isNumeric(n.speed)&&(i.end=parseInt(i.end,0)-(parseInt(i.start,0)+parseFloat(n.speed,0))),a.push({frame:"0",delay:i.start,from:i.transform_in,to:i.transform_idle,split:i.splitin,speed:n.speed,ease:n.anim.ease,mask:i.mask_in,splitdelay:i.elementdelay}),a.push({frame:"5",delay:i.end,to:i.transform_out,split:i.splitout,speed:r.speed,ease:r.anim.ease,mask:i.mask_out,splitdelay:i.elementdelay}),i.transform_hover&&a.push({frame:"hover",to:i.transform_hover,style:i.style_hover,speed:o.speed,ease:o.anim.ease,splitdelay:i.elementdelay}),i.frames=a}if(!i.frames_added){if(i.inframeindex=0,i.outframeindex=-1,i.hoverframeindex=-1,void 0!==i.frames)for(var s=0;s<i.frames.length;s++)void 0!==i.frames[s].sfx_effect&&i.frames[s].sfx_effect.indexOf("block")>=0&&(0===s?(i.frames[s].from="o:0",i.frames[s].to="o:1"):i.frames[s].to="o:0",i._sfx="block"),void 0===i.frames[0].from&&(i.frames[0].from="o:inherit"),0===i.frames[0].delay&&(i.frames[0].delay=20),"hover"===i.frames[s].frame?i.hoverframeindex=s:"frame_999"!==i.frames[s].frame&&"frame_out"!==i.frames[s].frame&&"last"!==i.frames[s].frame&&"end"!==i.frames[s].frame||(i.outframeindex=s),void 0!==i.frames[s].split&&i.frames[s].split.match(/chars|words|lines/g)&&(i.splittext=!0);i.outframeindex=-1===i.outframeindex?-1===i.hoverframeindex?i.frames.length-1:i.frames.length-2:i.outframeindex,i.frames_added=!0}},animcompleted:function(e,i){var a=e.data(),n=a.videotype,r=a.autoplay,o=a.autoplayonlyfirsttime;null!=n&&"none"!=n&&(1==r||"true"==r||"on"==r||"1sttime"==r||o?(("carousel"!==i.sliderType||"carousel"===i.sliderType&&"on"===i.carousel.showLayersAllTime&&e.closest("li").hasClass("active-revslide")||"carousel"===i.sliderType&&"on"!==i.carousel.showLayersAllTime&&e.closest("li").hasClass("active-revslide"))&&t.playVideo(e,i),t.toggleState(e.data("videotoggledby")),(o||"1sttime"==r)&&(a.autoplayonlyfirsttime=!1,a.autoplay="off")):("no1sttime"==r&&(a.datasetautoplay="on"),t.unToggleState(e.data("videotoggledby"))))},handleStaticLayers:function(e,t){var i=parseInt(e.data("startslide"),0),a=parseInt(e.data("endslide"),0);i<0&&(i=0),a<0&&(a=t.realslideamount),0===i&&a===t.realslideamount-1&&(a=t.realslideamount+1),e.data("startslide",i),e.data("endslide",a)},animateTheCaptions:function(e){if("stop"===t.compare_version(i).check)return!1;var a=e.opt,n=e.slide,r=e.recall,o=e.maintimeline,s=e.preset,d=e.startslideanimat,l="carousel"===a.sliderType?0:a.width/2-a.gridwidth[a.curWinRange]*a.bw/2,m=n.data("index");if(a.layers=a.layers||new Object,a.layers[m]=a.layers[m]||n.find(".tp-caption"),a.layers.static=a.layers.static||a.c.find(".tp-static-layers").find(".tp-caption"),void 0===a.timelines&&t.createTimelineStructure(a),a.conh=a.c.height(),a.conw=a.c.width(),a.ulw=a.ul.width(),a.ulh=a.ul.height(),a.debugMode){n.addClass("indebugmode"),n.find(".helpgrid").remove(),a.c.find(".hglayerinfo").remove(),n.append('<div class="helpgrid" style="width:'+a.gridwidth[a.curWinRange]*a.bw+"px;height:"+a.gridheight[a.curWinRange]*a.bw+'px;"></div>');var c=n.find(".helpgrid");c.append('<div class="hginfo">Zoom:'+Math.round(100*a.bw)+"% Device Level:"+a.curWinRange+" Grid Preset:"+a.gridwidth[a.curWinRange]+"x"+a.gridheight[a.curWinRange]+"</div>"),a.c.append('<div class="hglayerinfo"></div>'),c.append('<div class="tlhg"></div>')}void 0!==m&&a.layers[m]&&jQuery.each(a.layers[m],function(e,i){var n=jQuery(this);t.updateMarkup(this,a),t.prepareSingleCaption({caption:n,opt:a,offsetx:l,offsety:0,index:e,recall:r,preset:s}),s&&0!==d||t.buildFullTimeLine({caption:n,opt:a,offsetx:l,offsety:0,index:e,recall:r,preset:s,regenerate:0===d}),r&&"carousel"===a.sliderType&&"on"===a.carousel.showLayersAllTime&&t.animcompleted(n,a)}),a.layers.static&&jQuery.each(a.layers.static,function(e,i){var n=jQuery(this),o=n.data();!0!==o.hoveredstatus&&!0!==o.inhoveroutanimation?(t.updateMarkup(this,a),t.prepareSingleCaption({caption:n,opt:a,offsetx:l,offsety:0,index:e,recall:r,preset:s}),s&&0!==d||!0===o.veryfirstststic||(t.buildFullTimeLine({caption:n,opt:a,offsetx:l,offsety:0,index:e,recall:r,preset:s,regenerate:0===d}),o.veryfirstststic=!0),r&&"carousel"===a.sliderType&&"on"===a.carousel.showLayersAllTime&&t.animcompleted(n,a)):t.prepareSingleCaption({caption:n,opt:a,offsetx:l,offsety:0,index:e,recall:r,preset:s})});var p=-1===a.nextSlide||void 0===a.nextSlide?0:a.nextSlide;void 0!==a.rowzones&&(p=p>a.rowzones.length?a.rowzones.length:p),null!=a.rowzones&&a.rowzones.length>0&&null!=a.rowzones[p]&&p>=0&&p<=a.rowzones.length&&a.rowzones[p].length>0&&t.setSize(a),s||void 0!==d&&(void 0!==m&&jQuery.each(a.timelines[m].layers,function(e,i){var n=i.layer.data();"none"!==i.wrapper&&void 0!==i.wrapper||("keep"==i.triggerstate&&"on"===n.triggerstate?t.playAnimationFrame({caption:i.layer,opt:a,frame:"frame_0",triggerdirection:"in",triggerframein:"frame_0",triggerframeout:"frame_999"}):i.timeline.restart())}),a.timelines.staticlayers&&jQuery.each(a.timelines.staticlayers.layers,function(e,i){var n=i.layer.data(),r=p>=i.firstslide&&p<=i.lastslide,o=p<i.firstslide||p>i.lastslide,s=i.timeline.getLabelTime("slide_"+i.firstslide),d=i.timeline.getLabelTime("slide_"+i.lastslide),l=n.static_layer_timeline_time,m="in"===n.animdirection||"out"!==n.animdirection&&void 0,c="bytrigger"===n.frames[0].delay,g=(n.frames[n.frames.length-1].delay,n.triggered_startstatus),u=n.lasttriggerstate;!0!==n.hoveredstatus&&1!=n.inhoveroutanimation&&(void 0!==l&&m&&("keep"==u?(t.playAnimationFrame({caption:i.layer,opt:a,frame:"frame_0",triggerdirection:"in",triggerframein:"frame_0",triggerframeout:"frame_999"}),n.triggeredtimeline.time(l)):!0!==n.hoveredstatus&&i.timeline.time(l)),"reset"===u&&"hidden"===g&&(i.timeline.time(0),n.animdirection="out"),r?m?p===i.lastslide&&(i.timeline.play(d),n.animdirection="in"):(c||"in"===n.animdirection||i.timeline.play(s),("visible"==g&&"keep"!==u||"keep"===u&&!0===m||"visible"==g&&void 0===m)&&(i.timeline.play(s+.01),n.animdirection="in")):o&&m&&i.timeline.play("frame_999"))})),null!=o&&setTimeout(function(){o.resume()},30)},prepareSingleCaption:function(e){var i=e.caption,a=i.data(),n=e.opt,r=e.recall,o=e.recall,s=(e.preset,jQuery("body").hasClass("rtl"));if(a._pw=void 0===a._pw?i.closest(".tp-parallax-wrap"):a._pw,a._lw=void 0===a._lw?i.closest(".tp-loop-wrap"):a._lw,a._mw=void 0===a._mw?i.closest(".tp-mask-wrap"):a._mw,a._responsive=a.responsive||"on",a._respoffset=a.responsive_offset||"on",a._ba=a.basealign||"grid",a._gw="grid"===a._ba?n.width:n.ulw,a._gh="grid"===a._ba?n.height:n.ulh,a._lig=void 0===a._lig?i.hasClass("rev_layer_in_group")?i.closest(".rev_group"):i.hasClass("rev_layer_in_column")?i.closest(".rev_column_inner"):i.hasClass("rev_column_inner")?i.closest(".rev_row"):"none":a._lig,a._column=void 0===a._column?i.hasClass("rev_column_inner")?i.closest(".rev_column"):"none":a._column,a._row=void 0===a._row?i.hasClass("rev_column_inner")?i.closest(".rev_row"):"none":a._row,a._ingroup=void 0===a._ingroup?!(i.hasClass("rev_group")||!i.closest(".rev_group")):a._ingroup,a._isgroup=void 0===a._isgroup?!!i.hasClass("rev_group"):a._isgroup,a._nctype=a.type||"none",a._cbgc_auto=void 0===a._cbgc_auto?"column"===a._nctype&&a._pw.find(".rev_column_bg_auto_sized"):a._cbgc_auto,a._cbgc_man=void 0===a._cbgc_man?"column"===a._nctype&&a._pw.find(".rev_column_bg_man_sized"):a._cbgc_man,a._slideid=a._slideid||i.closest(".tp-revslider-slidesli").data("index"),a._id=void 0===a._id?i.data("id")||i.attr("id"):a._id,a._slidelink=void 0===a._slidelink?void 0!==i.hasClass("slidelink")&&i.hasClass("slidelink"):a._slidelink,void 0===a._li&&(i.hasClass("tp-static-layer")?(a._isstatic=!0,a._li=i.closest(".tp-static-layers"),a._slideid="staticlayers"):a._li=i.closest(".tp-revslider-slidesli")),a._row=void 0===a._row?"column"===a._nctype&&a._pw.closest(".rev_row"):a._row,void 0===a._togglelisteners&&i.find(".rs-toggled-content")?(a._togglelisteners=!0,void 0===a.actions&&i.click(function(){t.swaptoggleState(i)})):a._togglelisteners=!1,"fullscreen"==n.sliderLayout&&(e.offsety=a._gh/2-n.gridheight[n.curWinRange]*n.bh/2),("on"==n.autoHeight||null!=n.minHeight&&n.minHeight>0)&&(e.offsety=n.conh/2-n.gridheight[n.curWinRange]*n.bh/2),e.offsety<0&&(e.offsety=0),n.debugMode){i.closest("li").find(".helpgrid").css({top:e.offsety+"px",left:e.offsetx+"px"});var d=n.c.find(".hglayerinfo");i.on("hover, mouseenter",function(){var e="";i.data()&&jQuery.each(i.data(),function(t,i){"object"!=typeof i&&(e=e+'<span style="white-space:nowrap"><span style="color:#27ae60">'+t+":</span>"+i+"</span> ")}),d.html(e)})}if("off"===(void 0===a.visibility?"oon":_(a.visibility,n)[n.forcedWinRange]||_(a.visibility,n)||"ooon")||a._gw<n.hideCaptionAtLimit&&"on"==a.captionhidden||a._gw<n.hideAllCaptionAtLimit?a._pw.addClass("tp-hidden-caption"):a._pw.removeClass("tp-hidden-caption"),a.layertype="html",e.offsetx<0&&(e.offsetx=0),null!=a.thumbimage&&null==a.videoposter&&(a.videoposter=a.thumbimage),i.find("img").length>0){var l=i.find("img");a.layertype="image",0==l.width()&&l.css({width:"auto"}),0==l.height()&&l.css({height:"auto"}),null==l.data("ww")&&l.width()>0&&l.data("ww",l.width()),null==l.data("hh")&&l.height()>0&&l.data("hh",l.height());var m=l.data("ww"),c=l.data("hh"),p="slide"==a._ba?n.ulw:n.gridwidth[n.curWinRange],g="slide"==a._ba?n.ulh:n.gridheight[n.curWinRange],u="full"===(m=_(l.data("ww"),n)[n.curWinRange]||_(l.data("ww"),n)||"auto")||"full-proportional"===m,f="full"===(c=_(l.data("hh"),n)[n.curWinRange]||_(l.data("hh"),n)||"auto")||"full-proportional"===c;if("full-proportional"===m){var h=l.data("owidth"),v=l.data("oheight");h/p<v/g?(m=p,c=v*(p/h)):(c=g,m=h*(g/v))}else m=u?p:!jQuery.isNumeric(m)&&m.indexOf("%")>0?m:parseFloat(m),c=f?g:!jQuery.isNumeric(c)&&c.indexOf("%")>0?c:parseFloat(c);m=void 0===m?0:m,c=void 0===c?0:c,"off"!==a._responsive?("grid"!=a._ba&&u?jQuery.isNumeric(m)?l.css({width:m+"px"}):l.css({width:m}):jQuery.isNumeric(m)?l.css({width:m*n.bw+"px"}):l.css({width:m}),"grid"!=a._ba&&f?jQuery.isNumeric(c)?l.css({height:c+"px"}):l.css({height:c}):jQuery.isNumeric(c)?l.css({height:c*n.bh+"px"}):l.css({height:c})):l.css({width:m,height:c}),a._ingroup&&"row"!==a._nctype&&(void 0!==m&&!jQuery.isNumeric(m)&&"string"===jQuery.type(m)&&m.indexOf("%")>0&&punchgs.TweenLite.set([a._lw,a._pw,a._mw],{minWidth:m}),void 0!==c&&!jQuery.isNumeric(c)&&"string"===jQuery.type(c)&&c.indexOf("%")>0&&punchgs.TweenLite.set([a._lw,a._pw,a._mw],{minHeight:c}))}if("slide"===a._ba)e.offsetx=0,e.offsety=0;else if(a._isstatic&&void 0!==n.carousel&&void 0!==n.carousel.horizontal_align&&"carousel"===n.sliderType){switch(n.carousel.horizontal_align){case"center":e.offsetx=0+(n.ulw-n.gridwidth[n.curWinRange]*n.bw)/2;break;case"left":break;case"right":e.offsetx=n.ulw-n.gridwidth[n.curWinRange]*n.bw}e.offsetx=e.offsetx<0?0:e.offsetx}var y="html5"==a.audio?"audio":"video";if(i.hasClass("tp-videolayer")||i.hasClass("tp-audiolayer")||i.find("iframe").length>0||i.find(y).length>0){if(a.layertype="video",t.manageVideoLayer&&t.manageVideoLayer(i,n,r,o),!r&&!o){a.videotype;t.resetVideo&&t.resetVideo(i,n,e.preset)}var T=a.aspectratio;null!=T&&T.split(":").length>1&&t.prepareCoveredVideo(n,i);l=i.find("iframe")?i.find("iframe"):l=i.find(y);var j=!i.find("iframe"),L=i.hasClass("coverscreenvideo");l.css({display:"block"}),null==i.data("videowidth")&&(i.data("videowidth",l.width()),i.data("videoheight",l.height()));m=_(i.data("videowidth"),n)[n.curWinRange]||_(i.data("videowidth"),n)||"auto",c=_(i.data("videoheight"),n)[n.curWinRange]||_(i.data("videoheight"),n)||"auto";m="auto"===m||!jQuery.isNumeric(m)&&m.indexOf("%")>0?"auto"===m?"auto":"grid"===a._ba?n.gridwidth[n.curWinRange]*n.bw:a._gw:parseFloat(m)*n.bw+"px",c="auto"===c||!jQuery.isNumeric(c)&&c.indexOf("%")>0?"auto"===c?"auto":"grid"===a._ba?n.gridheight[n.curWinRange]*n.bw:a._gh:parseFloat(c)*n.bh+"px",a.cssobj=void 0===a.cssobj?w(i,0):a.cssobj;var I=x(a.cssobj,n);if("auto"==I.lineHeight&&(I.lineHeight=I.fontSize+4),i.hasClass("fullscreenvideo")||L){e.offsetx=0,e.offsety=0,i.data("x",0),i.data("y",0);var W=a._gh;"on"==n.autoHeight&&(W=n.conh),i.css({width:a._gw,height:W})}else punchgs.TweenLite.set(i,{paddingTop:Math.round(I.paddingTop*n.bh)+"px",paddingBottom:Math.round(I.paddingBottom*n.bh)+"px",paddingLeft:Math.round(I.paddingLeft*n.bw)+"px",paddingRight:Math.round(I.paddingRight*n.bw)+"px",marginTop:I.marginTop*n.bh+"px",marginBottom:I.marginBottom*n.bh+"px",marginLeft:I.marginLeft*n.bw+"px",marginRight:I.marginRight*n.bw+"px",borderTopWidth:Math.round(I.borderTopWidth*n.bh)+"px",borderBottomWidth:Math.round(I.borderBottomWidth*n.bh)+"px",borderLeftWidth:Math.round(I.borderLeftWidth*n.bw)+"px",borderRightWidth:Math.round(I.borderRightWidth*n.bw)+"px",width:m,height:c});(0==j&&!L||1!=a.forcecover&&!i.hasClass("fullscreenvideo")&&!L)&&(l.width(m),l.height(c)),a._ingroup&&null!==a.videowidth&&void 0!==a.videowidth&&!jQuery.isNumeric(a.videowidth)&&a.videowidth.indexOf("%")>0&&punchgs.TweenLite.set([a._lw,a._pw,a._mw],{minWidth:a.videowidth})}k(i,n,0,a._responsive),i.hasClass("tp-resizeme")&&i.find("*").each(function(){k(jQuery(this),n,"rekursive",a._responsive)});var R=i.outerHeight(),C=i.css("backgroundColor");b(i,".frontcorner","left","borderRight","borderTopColor",R,C),b(i,".frontcornertop","left","borderRight","borderBottomColor",R,C),b(i,".backcorner","right","borderLeft","borderBottomColor",R,C),b(i,".backcornertop","right","borderLeft","borderTopColor",R,C),"on"==n.fullScreenAlignForce&&(e.offsetx=0,e.offsety=0),"block"===a._sfx&&void 0===a._bmask&&(a._bmask=jQuery('<div class="tp-blockmask"></div>'),a._mw.append(a._bmask)),a.arrobj=new Object,a.arrobj.voa=_(a.voffset,n)[n.curWinRange]||_(a.voffset,n)[0],a.arrobj.hoa=_(a.hoffset,n)[n.curWinRange]||_(a.hoffset,n)[0],a.arrobj.elx=_(a.x,n)[n.curWinRange]||_(a.x,n)[0],a.arrobj.ely=_(a.y,n)[n.curWinRange]||_(a.y,n)[0];var z=0==a.arrobj.voa.length?0:a.arrobj.voa,O=0==a.arrobj.hoa.length?0:a.arrobj.hoa,Q=0==a.arrobj.elx.length?0:a.arrobj.elx,S=0==a.arrobj.ely.length?0:a.arrobj.ely;a.eow=i.outerWidth(!0),a.eoh=i.outerHeight(!0),0==a.eow&&0==a.eoh&&(a.eow=n.ulw,a.eoh=n.ulh);var M="off"!==a._respoffset?parseInt(z,0)*n.bw:parseInt(z,0),P="off"!==a._respoffset?parseInt(O,0)*n.bw:parseInt(O,0),A="grid"===a._ba?n.gridwidth[n.curWinRange]*n.bw:a._gw,B="grid"===a._ba?n.gridheight[n.curWinRange]*n.bw:a._gh;"on"==n.fullScreenAlignForce&&(A=n.ulw,B=n.ulh),"none"!==a._lig&&null!=a._lig&&(A=a._lig.width(),B=a._lig.height(),e.offsetx=0,e.offsety=0),Q="center"===Q||"middle"===Q?A/2-a.eow/2+P:"left"===Q?P:"right"===Q?A-a.eow-P:"off"!==a._respoffset?Q*n.bw:Q,S="center"==S||"middle"==S?B/2-a.eoh/2+M:"top"==S?M:"bottom"==S?B-a.eoh-M:"off"!==a._respoffset?S*n.bw:S,s&&!a._slidelink&&(Q+=a.eow),a._slidelink&&(Q=0),a.calcx=parseInt(Q,0)+e.offsetx,a.calcy=parseInt(S,0)+e.offsety;var F=i.css("z-Index");if("row"!==a._nctype&&"column"!==a._nctype)punchgs.TweenLite.set(a._pw,{zIndex:F,top:a.calcy,left:a.calcx,overwrite:"auto"});else if("row"!==a._nctype)punchgs.TweenLite.set(a._pw,{zIndex:F,width:a.columnwidth,top:0,left:0,overwrite:"auto"});else if("row"===a._nctype){var X="grid"===a._ba?A+"px":"100%";punchgs.TweenLite.set(a._pw,{zIndex:F,width:X,top:0,left:e.offsetx,overwrite:"auto"})}if(void 0!==a.blendmode&&punchgs.TweenLite.set(a._pw,{mixBlendMode:a.blendmode}),"row"===a._nctype&&(a.columnbreak<=n.curWinRange?i.addClass("rev_break_columns"):i.removeClass("rev_break_columns")),"on"==a.loopanimation&&punchgs.TweenLite.set(a._lw,{minWidth:a.eow,minHeight:a.eoh}),"column"===a._nctype){var Y=void 0!==i[0]._gsTransform?i[0]._gsTransform.y:0,H=parseInt(a._column[0].style.paddingTop,0);punchgs.TweenLite.set(i,{y:0}),punchgs.TweenLite.set(a._cbgc_man,{y:parseInt(H+a._column.offset().top-i.offset().top,0)}),punchgs.TweenLite.set(i,{y:Y})}a._ingroup&&"row"!==a._nctype&&(void 0!==a._groupw&&!jQuery.isNumeric(a._groupw)&&a._groupw.indexOf("%")>0&&punchgs.TweenLite.set([a._lw,a._pw,a._mw],{minWidth:a._groupw}),void 0!==a._grouph&&!jQuery.isNumeric(a._grouph)&&a._grouph.indexOf("%")>0&&punchgs.TweenLite.set([a._lw,a._pw,a._mw],{minHeight:a._grouph}))},createTimelineStructure:function(e){e.timelines=e.timelines||new Object,e.c.find(".tp-revslider-slidesli, .tp-static-layers").each(function(){var t=jQuery(this),i=t.data("index");e.timelines[i]=e.timelines[i]||{},e.timelines[i].layers=e.timelines[i].layers||new Object,t.find(".tp-caption").each(function(t){var a,n,r,o,s;a=jQuery(this),n=e.timelines[i].layers,r=i,s=new punchgs.TimelineLite({paused:!0}),(n=n||new Object)[a.attr("id")]=n[a.attr("id")]||new Object,"staticlayers"===r&&(n[a.attr("id")].firstslide=a.data("startslide"),n[a.attr("id")].lastslide=a.data("endslide")),a.data("slideid",r),n[a.attr("id")].defclasses=o=a[0].className,n[a.attr("id")].wrapper=o.indexOf("rev_layer_in_column")>=0?a.closest(".rev_column_inner"):o.indexOf("rev_column_inner")>=0?a.closest(".rev_row"):o.indexOf("rev_layer_in_group")>=0?a.closest(".rev_group"):"none",n[a.attr("id")].timeline=s,n[a.attr("id")].layer=a,n[a.attr("id")].triggerstate=a.data("lasttriggerstate"),n[a.attr("id")].dchildren=o.indexOf("rev_row")>=0?a[0].getElementsByClassName("rev_column_inner"):o.indexOf("rev_column_inner")>=0?a[0].getElementsByClassName("tp-caption"):o.indexOf("rev_group")>=0?a[0].getElementsByClassName("rev_layer_in_group"):"none",a.data("timeline",s)})})},buildFullTimeLine:function(e){var i,a,n=e.caption,r=n.data(),s=e.opt,d={},l=g();if(!(i=s.timelines[r._slideid].layers[r._id]).generated||!0===e.regenerate){if(a=i.timeline,i.generated=!0,void 0!==r.current_timeline&&!0!==e.regenerate?(r.current_timeline_pause=r.current_timeline.paused(),r.current_timeline_time=r.current_timeline.time(),r.current_is_nc_timeline=a===r.current_timeline,r.static_layer_timeline_time=r.current_timeline_time):(r.static_layer_timeline_time=r.current_timeline_time,r.current_timeline_time=0,r.current_timeline&&r.current_timeline.clear()),a.clear(),d.svg=null!=r.svg_src&&n.find("svg"),d.svg&&(r.idlesvg=c(r.svg_idle,m()),punchgs.TweenLite.set(d.svg,r.idlesvg.anim)),-1!==r.hoverframeindex&&void 0!==r.hoverframeindex&&!n.hasClass("rs-hover-ready")){if(n.addClass("rs-hover-ready"),r.hovertimelines={},r.hoveranim=h(l,r.frames[r.hoverframeindex].to),r.hoveranim=y(r.hoveranim,r.frames[r.hoverframeindex].style),d.svg){var p=c(r.svg_hover,m());null!=r.hoveranim.anim.color&&(p.anim.fill=r.hoveranim.anim.color,r.idlesvg.anim.css.fill=d.svg.css("fill")),r.hoversvg=p}n.hover(function(e){var t={caption:jQuery(e.currentTarget),opt:s,firstframe:"frame_0",lastframe:"frame_999"},i=(o(t),t.caption),a=i.data(),n=a.frames[a.hoverframeindex];a.forcehover=n.force,a.hovertimelines.item=punchgs.TweenLite.to(i,n.speed/1e3,a.hoveranim.anim),(a.hoverzIndex||a.hoveranim.anim&&a.hoveranim.anim.zIndex)&&(a.basiczindex=void 0===a.basiczindex?a.cssobj.zIndex:a.basiczindex,a.hoverzIndex=void 0===a.hoverzIndex?a.hoveranim.anim.zIndex:a.hoverzIndex,a.inhoverinanimation=!0,0===n.speed&&(a.inhoverinanimation=!1),a.hovertimelines.pwhoveranim=punchgs.TweenLite.to(a._pw,n.speed/1e3,{overwrite:"auto",zIndex:a.hoverzIndex}),a.hovertimelines.pwhoveranim.eventCallback("onComplete",function(e){e.inhoverinanimation=!1},[a])),d.svg&&(a.hovertimelines.svghoveranim=punchgs.TweenLite.to([d.svg,d.svg.find("path")],n.speed/1e3,a.hoversvg.anim)),a.hoveredstatus=!0},function(e){var t={caption:jQuery(e.currentTarget),opt:s,firstframe:"frame_0",lastframe:"frame_999"},i=(o(t),t.caption),a=i.data(),n=a.frames[a.hoverframeindex];a.hoveredstatus=!1,a.inhoveroutanimation=!0,a.hovertimelines.item.pause(),a.hovertimelines.item=punchgs.TweenLite.to(i,n.speed/1e3,jQuery.extend(!0,{},a._gsTransformTo)),0==n.speed&&(a.inhoveroutanimation=!1),a.hovertimelines.item.eventCallback("onComplete",function(e){e.inhoveroutanimation=!1},[a]),void 0!==a.hovertimelines.pwhoveranim&&(a.hovertimelines.pwhoveranim=punchgs.TweenLite.to(a._pw,n.speed/1e3,{overwrite:"auto",zIndex:a.basiczindex})),d.svg&&punchgs.TweenLite.to([d.svg,d.svg.find("path")],n.speed/1e3,a.idlesvg.anim)})}for(var u=0;u<r.frames.length;u++)if(u!==r.hoverframeindex){var f=u===r.inframeindex?"frame_0":u===r.outframeindex||"frame_999"===r.frames[u].frame?"frame_999":"frame_"+u;r.frames[u].framename=f,i[f]={},i[f].timeline=new punchgs.TimelineLite({align:"normal"});var v=r.frames[u].delay,_=(r.triggered_startstatus,void 0!==v?jQuery.inArray(v,["slideenter","bytrigger","wait"])>=0?v:parseInt(v,0)/1e3:"wait");void 0!==i.firstslide&&"frame_0"===f&&(a.addLabel("slide_"+i.firstslide+"_pause",0),a.addPause("slide_"+i.firstslide+"_pause"),a.addLabel("slide_"+i.firstslide,"+=0.005")),void 0!==i.lastslide&&"frame_999"===f&&(a.addLabel("slide_"+i.lastslide+"_pause","+=0.01"),a.addPause("slide_"+i.lastslide+"_pause"),a.addLabel("slide_"+i.lastslide,"+=0.005")),jQuery.isNumeric(_)?a.addLabel(f,"+="+_):(a.addLabel("pause_"+u,"+=0.01"),a.addPause("pause_"+u),a.addLabel(f,"+=0.01")),a=t.createFrameOnTimeline({caption:e.caption,timeline:a,label:f,frameindex:u,opt:s})}e.regenerate||(r.current_is_nc_timeline&&(r.current_timeline=a),r.current_timeline_pause?a.pause(r.current_timeline_time):a.time(r.current_timeline_time))}},createFrameOnTimeline:function(e){var t=e.caption,i=t.data(),o=e.label,m=e.timeline,c=e.frameindex,g=e.opt,u=t,_={},b=g.timelines[i._slideid].layers[i._id],y=i.frames.length-1,w=i.frames[c].split,x=i.frames[c].split_direction,T=i.frames[c].sfx_effect,k=!1;if(x=void 0===x?"forward":x,-1!==i.hoverframeindex&&i.hoverframeindex==y&&(y-=1),_.content=new punchgs.TimelineLite({align:"normal"}),_.mask=new punchgs.TimelineLite({align:"normal"}),void 0===m.vars.id&&(m.vars.id=Math.round(1e5*Math.random())),"column"===i._nctype&&(m.add(punchgs.TweenLite.set(i._cbgc_man,{visibility:"visible"}),o),m.add(punchgs.TweenLite.set(i._cbgc_auto,{visibility:"hidden"}),o)),i.splittext&&0===c){void 0!==i.mySplitText&&i.mySplitText.revert();var j=t.find("a").length>0?t.find("a"):t;i.mySplitText=new punchgs.SplitText(j,{type:"chars,words,lines",charsClass:"tp-splitted tp-charsplit",wordsClass:"tp-splitted tp-wordsplit",linesClass:"tp-splitted tp-linesplit"}),t.addClass("splitted")}void 0!==i.mySplitText&&w&&w.match(/chars|words|lines/g)&&(u=i.mySplitText[w],k=!0);var L,I,W=c!==i.outframeindex?h(l(),i.frames[c].to,void 0,k,u.length-1):void 0!==i.frames[c].to&&null===i.frames[c].to.match(/auto:auto/g)?h(p(),i.frames[c].to,1==g.sdir,k,u.length-1):h(p(),i.frames[i.inframeindex].from,0==g.sdir,k,u.length-1),R=void 0!==i.frames[c].from?h(W,i.frames[i.inframeindex].from,1==g.sdir,k,u.length-1):void 0,C=i.frames[c].splitdelay;if(0!==c||e.fromcurrentstate?I=v(i.frames[c].mask):L=v(i.frames[c].mask),W.anim.ease=void 0===i.frames[c].ease?punchgs.Power1.easeInOut:i.frames[c].ease,void 0!==R&&(R.anim.ease=void 0===i.frames[c].ease?punchgs.Power1.easeInOut:i.frames[c].ease,R.speed=void 0===i.frames[c].speed?R.speed:i.frames[c].speed,R.anim.x=R.anim.x*g.bw||f(R.anim.x,g,i.eow,i.eoh,i.calcy,i.calcx,"horizontal"),R.anim.y=R.anim.y*g.bw||f(R.anim.y,g,i.eow,i.eoh,i.calcy,i.calcx,"vertical")),void 0!==W&&(W.anim.ease=void 0===i.frames[c].ease?punchgs.Power1.easeInOut:i.frames[c].ease,W.speed=void 0===i.frames[c].speed?W.speed:i.frames[c].speed,W.anim.x=W.anim.x*g.bw||f(W.anim.x,g,i.eow,i.eoh,i.calcy,i.calcx,"horizontal"),W.anim.y=W.anim.y*g.bw||f(W.anim.y,g,i.eow,i.eoh,i.calcy,i.calcx,"vertical")),t.data("iframes")&&m.add(punchgs.TweenLite.set(t.find("iframe"),{autoAlpha:1}),o+"+=0.001"),c===i.outframeindex&&(i.frames[c].to&&i.frames[c].to.match(/auto:auto/g),W.speed=void 0===i.frames[c].speed||"inherit"===i.frames[c].speed?i.frames[i.inframeindex].speed:i.frames[c].speed,W.anim.ease=void 0===i.frames[c].ease||"inherit"===i.frames[c].ease?i.frames[i.inframeindex].ease:i.frames[c].ease,W.anim.overwrite="auto"),0!==c||e.fromcurrentstate)0===c&&e.fromcurrentstate&&(W.speed=R.speed);else{if(u!=t){var z=jQuery.extend({},W.anim,!0);m.add(punchgs.TweenLite.set(t,W.anim),o),(W=l()).ease=z.ease,void 0!==z.filter&&(W.anim.filter=z.filter),void 0!==z["-webkit-filter"]&&(W.anim["-webkit-filter"]=z["-webkit-filter"])}R.anim.visibility="hidden",R.anim.immediateRender=!0,W.anim.visibility="visible"}e.fromcurrentstate&&(W.anim.immediateRender=!0);var O=-1;if(0===c&&!e.fromcurrentstate&&void 0!==i._bmask&&void 0!==T&&T.indexOf("block")>=0||c===i.outframeindex&&!e.fromcurrentstate&&void 0!==i._bmask&&void 0!==T&&T.indexOf("block")>=0){var Q=0===c?R.speed/1e3/2:W.speed/1e3/2,S=[{scaleY:1,scaleX:0,transformOrigin:"0% 50%"},{scaleY:1,scaleX:1,ease:W.anim.ease}],M={scaleY:1,scaleX:0,transformOrigin:"100% 50%",ease:W.anim.ease};switch(O=void 0===C?Q:C+Q,T){case"blocktoleft":case"blockfromright":S[0].transformOrigin="100% 50%",M.transformOrigin="0% 50%";break;case"blockfromtop":case"blocktobottom":S=[{scaleX:1,scaleY:0,transformOrigin:"50% 0%"},{scaleX:1,scaleY:1,ease:W.anim.ease}],M={scaleX:1,scaleY:0,transformOrigin:"50% 100%",ease:W.anim.ease};break;case"blocktotop":case"blockfrombottom":S=[{scaleX:1,scaleY:0,transformOrigin:"50% 100%"},{scaleX:1,scaleY:1,ease:W.anim.ease}],M={scaleX:1,scaleY:0,transformOrigin:"50% 0%",ease:W.anim.ease}}S[0].background=i.frames[c].sfxcolor,m.add(_.mask.fromTo(i._bmask,Q,S[0],S[1],C),o),m.add(_.mask.to(i._bmask,Q,M,O),o)}if(k)var P=s(u.length-1,x);if(0!==c||e.fromcurrentstate)if("block"===i._sfx_out&&c===i.outframeindex)m.add(_.content.staggerTo(u,.001,{autoAlpha:0,delay:O}),o),m.add(_.content.staggerTo(u,W.speed/1e3/2-.001,{x:0,delay:O}),o+"+=0.001");else if(k&&void 0!==P){F={to:d(W.anim)};for(var A in u){Y=jQuery.extend({},W.anim);for(var B in F.to)Y[B]=parseInt(F.to[B].values[F.to[B].index],0),F.to[B].index=F.to[B].index<F.to[B].len?F.to[B].index+1:0;void 0!==i.frames[c].color&&(Y.color=i.frames[c].color),void 0!==i.frames[c].bgcolor&&(Y.backgroundColor=i.frames[c].bgcolor),m.add(_.content.to(u[P[A]],W.speed/1e3,Y,C*A),o)}}else void 0!==i.frames[c].color&&(W.anim.color=i.frames[c].color),void 0!==i.frames[c].bgcolor&&(W.anim.backgroundColor=i.frames[c].bgcolor),m.add(_.content.staggerTo(u,W.speed/1e3,W.anim,C),o);else if("block"===i._sfx_in)m.add(_.content.staggerFromTo(u,.05,{x:0,y:0,autoAlpha:0},{x:0,y:0,autoAlpha:1,delay:O}),o);else if(k&&void 0!==P){var F={from:d(R.anim),to:d(W.anim)};for(var A in u){var X=jQuery.extend({},R.anim),Y=jQuery.extend({},W.anim);for(var B in F.from)X[B]=parseInt(F.from[B].values[F.from[B].index],0),F.from[B].index=F.from[B].index<F.from[B].len?F.from[B].index+1:0;Y.ease=X.ease,void 0!==i.frames[c].color&&(X.color=i.frames[c].color,Y.color=i.cssobj.styleProps.color),void 0!==i.frames[c].bgcolor&&(X.backgroundColor=i.frames[c].bgcolor,Y.backgroundColor=i.cssobj.styleProps["background-color"]),m.add(_.content.fromTo(u[P[A]],R.speed/1e3,X,Y,C*A),o)}}else void 0!==i.frames[c].color&&(R.anim.color=i.frames[c].color,W.anim.color=i.cssobj.styleProps.color),void 0!==i.frames[c].bgcolor&&(R.anim.backgroundColor=i.frames[c].bgcolor,W.anim.backgroundColor=i.cssobj.styleProps["background-color"]),m.add(_.content.staggerFromTo(u,R.speed/1e3,R.anim,W.anim,C),o);return void 0===I||!1===I||0===c&&e.ignorefirstframe||(I.anim.ease=void 0===I.anim.ease||"inherit"===I.anim.ease?i.frames[0].ease:I.anim.ease,I.anim.overflow="hidden",I.anim.x=I.anim.x*g.bw||f(I.anim.x,g,i.eow,i.eoh,i.calcy,i.calcx,"horizontal"),I.anim.y=I.anim.y*g.bw||f(I.anim.y,g,i.eow,i.eoh,i.calcy,i.calcx,"vertical")),0===c&&L&&!1!==L&&!e.fromcurrentstate||0===c&&e.ignorefirstframe?((I=new Object).anim=new Object,I.anim.overwrite="auto",I.anim.ease=W.anim.ease,I.anim.x=I.anim.y=0,L&&!1!==L&&(L.anim.x=L.anim.x*g.bw||f(L.anim.x,g,i.eow,i.eoh,i.calcy,i.calcx,"horizontal"),L.anim.y=L.anim.y*g.bw||f(L.anim.y,g,i.eow,i.eoh,i.calcy,i.calcx,"vertical"),L.anim.overflow="hidden")):0===c&&m.add(_.mask.set(i._mw,{overflow:"visible"}),o),void 0!==L&&void 0!==I&&!1!==L&&!1!==I?m.add(_.mask.fromTo(i._mw,R.speed/1e3,L.anim,I.anim,C),o):void 0!==I&&!1!==I&&m.add(_.mask.to(i._mw,W.speed/1e3,I.anim,C),o),m.addLabel(o+"_end"),i._gsTransformTo&&c===y&&i.hoveredstatus&&(i.hovertimelines.item=punchgs.TweenLite.to(t,0,i._gsTransformTo)),i._gsTransformTo=!1,_.content.eventCallback("onStart",a,[c,b,i._pw,i,m,W.anim,t,e.updateStaticTimeline,g]),_.content.eventCallback("onUpdate",n,[o,i._id,i._pw,i,m,c,jQuery.extend(!0,{},W.anim),e.updateStaticTimeline,t,g]),_.content.eventCallback("onComplete",r,[c,i.frames.length,y,i._pw,i,m,e.updateStaticTimeline,t,g]),m},endMoveCaption:function(e){e.firstframe="frame_0",e.lastframe="frame_999";var i=o(e),a=e.caption.data();if(void 0!==e.frame?i.timeline.play(e.frame):(!i.static||e.currentslide>=i.removeonslide||e.currentslide<i.showonslide)&&(i.outnow=new punchgs.TimelineLite,i.timeline.pause(),!0===a.visibleelement&&t.createFrameOnTimeline({caption:e.caption,timeline:i.outnow,label:"outnow",frameindex:e.caption.data("outframeindex"),opt:e.opt,fromcurrentstate:!0}).play()),e.checkchildrens&&i.timeline_obj&&i.timeline_obj.dchildren&&"none"!==i.timeline_obj.dchildren&&i.timeline_obj.dchildren.length>0)for(var n=0;n<i.timeline_obj.dchildren.length;n++)t.endMoveCaption({caption:jQuery(i.timeline_obj.dchildren[n]),opt:e.opt})},playAnimationFrame:function(e){e.firstframe=e.triggerframein,e.lastframe=e.triggerframeout;var i,a=o(e),n=e.caption.data(),r=0;for(var s in n.frames)n.frames[s].framename===e.frame&&(i=r),r++;void 0!==n.triggeredtimeline&&n.triggeredtimeline.pause(),n.triggeredtimeline=new punchgs.TimelineLite,a.timeline.pause();var d=!0===n.visibleelement;n.triggeredtimeline=t.createFrameOnTimeline({caption:e.caption,timeline:n.triggeredtimeline,label:"triggered",frameindex:i,updateStaticTimeline:!0,opt:e.opt,ignorefirstframe:!0,fromcurrentstate:d}).play()},removeTheCaptions:function(e,a){if("stop"===t.compare_version(i).check)return!1;var n=e.data("index"),r=new Array;a.layers[n]&&jQuery.each(a.layers[n],function(e,t){r.push(t)});var o=t.currentSlideIndex(a);r&&jQuery.each(r,function(e){var i=jQuery(this);"carousel"===a.sliderType&&"on"===a.carousel.showLayersAllTime?(clearTimeout(i.data("videoplaywait")),t.stopVideo&&t.stopVideo(i,a),t.removeMediaFromList&&t.removeMediaFromList(i,a),a.lastplayedvideos=[]):(I(i),clearTimeout(i.data("videoplaywait")),t.endMoveCaption({caption:i,opt:a,currentslide:o}),t.removeMediaFromList&&t.removeMediaFromList(i,a),a.lastplayedvideos=[])})}});var a=function(e,i,a,n,r,o,s,d,l){var m={};if(m.layer=s,m.eventtype=0===e?"enterstage":e===n.outframeindex?"leavestage":"framestarted",m.layertype=s.data("layertype"),n.active=!0,m.frame_index=e,m.layersettings=s.data(),l.c.trigger("revolution.layeraction",[m]),"on"==n.loopanimation&&L(n._lw,l.bw),"enterstage"===m.eventtype&&(n.animdirection="in",n.visibleelement=!0,t.toggleState(n.layertoggledby)),"none"!==i.dchildren&&void 0!==i.dchildren&&i.dchildren.length>0)if(0===e)for(var c=0;c<i.dchildren.length;c++)jQuery(i.dchildren[c]).data("timeline").play(0);else if(e===n.outframeindex)for(c=0;c<i.dchildren.length;c++)t.endMoveCaption({caption:jQuery(i.dchildren[c]),opt:l,checkchildrens:!0});punchgs.TweenLite.set(a,{visibility:"visible"}),n.current_frame=e,n.current_timeline=r,n.current_timeline_time=r.time(),d&&(n.static_layer_timeline_time=n.current_timeline_time),n.last_frame_started=e},n=function(e,t,i,a,n,r,o,s,d,l){"column"===a._nctype&&j(d,l),punchgs.TweenLite.set(i,{visibility:"visible"}),a.current_frame=r,a.current_timeline=n,a.current_timeline_time=n.time(),s&&(a.static_layer_timeline_time=a.current_timeline_time),void 0!==a.hoveranim&&!1===a._gsTransformTo&&(a._gsTransformTo=o,a._gsTransformTo&&a._gsTransformTo.startAt&&delete a._gsTransformTo.startAt,void 0===a.cssobj.styleProps.css?a._gsTransformTo=jQuery.extend(!0,{},a.cssobj.styleProps,a._gsTransformTo):a._gsTransformTo=jQuery.extend(!0,{},a.cssobj.styleProps.css,a._gsTransformTo)),a.visibleelement=!0},r=function(e,i,a,n,r,o,s,d,l){var m={};m.layer=d,m.eventtype=0===e?"enteredstage":e===i-1||e===a?"leftstage":"frameended",m.layertype=d.data("layertype"),m.layersettings=d.data(),l.c.trigger("revolution.layeraction",[m]),"leftstage"!==m.eventtype&&t.animcompleted(d,l),"leftstage"===m.eventtype&&t.stopVideo&&t.stopVideo(d,l),"column"===r._nctype&&(punchgs.TweenLite.to(r._cbgc_man,.01,{visibility:"hidden"}),punchgs.TweenLite.to(r._cbgc_auto,.01,{visibility:"visible"})),"leftstage"===m.eventtype&&(r.active=!1,punchgs.TweenLite.set(n,{visibility:"hidden",overwrite:"auto"}),r.animdirection="out",r.visibleelement=!1,t.unToggleState(r.layertoggledby),"video"===r._nctype&&t.resetVideo&&setTimeout(function(){t.resetVideo(d,l)},100)),r.current_frame=e,r.current_timeline=o,r.current_timeline_time=o.time(),s&&(r.static_layer_timeline_time=r.current_timeline_time)},o=function(e){var t={};return e.firstframe=void 0===e.firstframe?"frame_0":e.firstframe,e.lastframe=void 0===e.lastframe?"frame_999":e.lastframe,t.id=e.caption.data("id")||e.caption.attr("id"),t.slideid=e.caption.data("slideid")||e.caption.closest(".tp-revslider-slidesli").data("index"),t.timeline_obj=e.opt.timelines[t.slideid].layers[t.id],t.timeline=t.timeline_obj.timeline,t.ffs=t.timeline.getLabelTime(e.firstframe),t.ffe=t.timeline.getLabelTime(e.firstframe+"_end"),t.lfs=t.timeline.getLabelTime(e.lastframe),t.lfe=t.timeline.getLabelTime(e.lastframe+"_end"),t.ct=t.timeline.time(),t.static=null!=t.timeline_obj.firstslide||null!=t.timeline_obj.lastslide,t.static&&(t.showonslide=t.timeline_obj.firstslide,t.removeonslide=t.timeline_obj.lastslide),t},s=function(e,t){var i=new Array;switch(t){case"forward":case"random":for(var a=0;a<=e;a++)i.push(a);"random"===t&&(i=function(e){for(var t,i,a=e.length;0!==a;)i=Math.floor(Math.random()*a),t=e[a-=1],e[a]=e[i],e[i]=t;return e}(i));break;case"backward":for(a=0;a<=e;a++)i.push(e-a);break;case"middletoedge":var n=Math.ceil(e/2),r=n-1,o=n+1;i.push(n);for(a=0;a<n;a++)r>=0&&i.push(r),o<=e&&i.push(o),r--,o++;break;case"edgetomiddle":for(r=e,o=0,a=0;a<=Math.floor(e/2);a++)i.push(r),o<r&&i.push(o),r--,o++}return i},d=function(e){var t={};for(var i in e)"string"==typeof e[i]&&e[i].indexOf("|")>=0&&(void 0===t[i]&&(t[i]={index:0}),t[i].values=e[i].replace("[","").replace("]","").split("|"),t[i].len=t[i].values.length-1);return t},l=function(e){return(e=void 0===e?new Object:e).anim=void 0===e.anim?new Object:e.anim,e.anim.x=void 0===e.anim.x?0:e.anim.x,e.anim.y=void 0===e.anim.y?0:e.anim.y,e.anim.z=void 0===e.anim.z?0:e.anim.z,e.anim.rotationX=void 0===e.anim.rotationX?0:e.anim.rotationX,e.anim.rotationY=void 0===e.anim.rotationY?0:e.anim.rotationY,e.anim.rotationZ=void 0===e.anim.rotationZ?0:e.anim.rotationZ,e.anim.scaleX=void 0===e.anim.scaleX?1:e.anim.scaleX,e.anim.scaleY=void 0===e.anim.scaleY?1:e.anim.scaleY,e.anim.skewX=void 0===e.anim.skewX?0:e.anim.skewX,e.anim.skewY=void 0===e.anim.skewY?0:e.anim.skewY,e.anim.opacity=void 0===e.anim.opacity?1:e.anim.opacity,e.anim.transformOrigin=void 0===e.anim.transformOrigin?"50% 50%":e.anim.transformOrigin,e.anim.transformPerspective=void 0===e.anim.transformPerspective?600:e.anim.transformPerspective,e.anim.rotation=void 0===e.anim.rotation?0:e.anim.rotation,e.anim.force3D=void 0===e.anim.force3D?"auto":e.anim.force3D,e.anim.autoAlpha=void 0===e.anim.autoAlpha?1:e.anim.autoAlpha,e.anim.visibility=void 0===e.anim.visibility?"visible":e.anim.visibility,e.anim.overwrite=void 0===e.anim.overwrite?"auto":e.anim.overwrite,e.speed=void 0===e.speed?.3:e.speed,e.filter=void 0===e.filter?"blur(0px) grayscale(0%) brightness(100%)":e.filter,e["-webkit-filter"]=void 0===e["-webkit-filter"]?"blur(0px) grayscale(0%) brightness(100%)":e["-webkit-filter"],e},m=function(){var e=new Object;return e.anim=new Object,e.anim.stroke="none",e.anim.strokeWidth=0,e.anim.strokeDasharray="none",e.anim.strokeDashoffset="0",e},c=function(e,t){var i=e.split(";");return i&&jQuery.each(i,function(e,i){var a=i.split(":"),n=a[0],r=a[1];"sc"==n&&(t.anim.stroke=r),"sw"==n&&(t.anim.strokeWidth=r),"sda"==n&&(t.anim.strokeDasharray=r),"sdo"==n&&(t.anim.strokeDashoffset=r)}),t},p=function(){var e=new Object;return e.anim=new Object,e.anim.x=0,e.anim.y=0,e.anim.z=0,e},g=function(){var e=new Object;return e.anim=new Object,e.speed=.2,e},u=function(e,t,i,a,n){if(n=void 0===n?"":n,jQuery.isNumeric(parseFloat(e)))return parseFloat(e)+n;if(void 0===e||"inherit"===e)return t+"ext";if(e.split("{").length>1){var r=e.split(","),o=parseFloat(r[1].split("}")[0]);if(r=parseFloat(r[0].split("{")[1]),void 0!==i&&void 0!==a){parseInt(Math.random()*(o-r),0),parseInt(r,0);for(var s=0;s<a;s++)e=e+"|"+(parseInt(Math.random()*(o-r),0)+parseInt(r,0))+n;e+="]"}else e=Math.random()*(o-r)+r}return e},f=function(e,t,i,a,n,r,o){return!jQuery.isNumeric(e)&&e.match(/%]/g)?(e=e.split("[")[1].split("]")[0],"horizontal"==o?e=(i+2)*parseInt(e,0)/100:"vertical"==o&&(e=(a+2)*parseInt(e,0)/100)):e="top"===(e="left"===(e="layer_top"===(e="layer_left"===e?0-i:"layer_right"===e?i:e)?0-a:"layer_bottom"===e?a:e)||"stage_left"===e?0-i-r:"right"===e||"stage_right"===e?t.conw-r:"center"===e||"stage_center"===e?t.conw/2-i/2-r:e)||"stage_top"===e?0-a-n:"bottom"===e||"stage_bottom"===e?t.conh-n:"middle"===e||"stage_middle"===e?t.conh/2-a/2-n:e,e},h=function(e,t,i,a,n){var r=new Object;if(r=jQuery.extend(!0,{},r,e),void 0===t)return r;var o=t.split(";"),s="";return o&&jQuery.each(o,function(e,t){var o=t.split(":"),d=o[0],l=o[1];i&&"none"!==i&&null!=l&&l.length>0&&l.match(/\(R\)/)&&("["===(l="right"===(l=l.replace("(R)",""))?"left":"left"===l?"right":"top"===l?"bottom":"bottom"===l?"top":l)[0]&&"-"===l[1]?l=l.replace("[-","["):"["===l[0]&&"-"!==l[1]?l=l.replace("[","[-"):"-"===l[0]?l=l.replace("-",""):l[0].match(/[1-9]/)&&(l="-"+l)),null!=l&&(l=l.replace(/\(R\)/,""),"rotationX"!=d&&"rX"!=d||(r.anim.rotationX=u(l,r.anim.rotationX,a,n,"deg")),"rotationY"!=d&&"rY"!=d||(r.anim.rotationY=u(l,r.anim.rotationY,a,n,"deg")),"rotationZ"!=d&&"rZ"!=d||(r.anim.rotation=u(l,r.anim.rotationZ,a,n,"deg")),"scaleX"!=d&&"sX"!=d||(r.anim.scaleX=u(l,r.anim.scaleX,a,n)),"scaleY"!=d&&"sY"!=d||(r.anim.scaleY=u(l,r.anim.scaleY,a,n)),"opacity"!=d&&"o"!=d||(r.anim.opacity=u(l,r.anim.opacity,a,n)),"fb"==d&&(s=""===s?"blur("+parseInt(l,0)+"px)":s+" blur("+parseInt(l,0)+"px)"),"fg"==d&&(s=""===s?"grayscale("+parseInt(l,0)+"%)":s+" grayscale("+parseInt(l,0)+"%)"),"fbr"==d&&(s=""===s?"brightness("+parseInt(l,0)+"%)":s+" brightness("+parseInt(l,0)+"%)"),0===r.anim.opacity&&(r.anim.autoAlpha=0),r.anim.opacity=0==r.anim.opacity?1e-4:r.anim.opacity,"skewX"!=d&&"skX"!=d||(r.anim.skewX=u(l,r.anim.skewX,a,n)),"skewY"!=d&&"skY"!=d||(r.anim.skewY=u(l,r.anim.skewY,a,n)),"x"==d&&(r.anim.x=u(l,r.anim.x,a,n)),"y"==d&&(r.anim.y=u(l,r.anim.y,a,n)),"z"==d&&(r.anim.z=u(l,r.anim.z,a,n)),"transformOrigin"!=d&&"tO"!=d||(r.anim.transformOrigin=l.toString()),"transformPerspective"!=d&&"tP"!=d||(r.anim.transformPerspective=parseInt(l,0)),"speed"!=d&&"s"!=d||(r.speed=parseFloat(l)))}),""!==s&&(r.anim["-webkit-filter"]=s,r.anim.filter=s),r},v=function(e){if(void 0===e)return!1;var t=new Object;t.anim=new Object;var i=e.split(";");return i&&jQuery.each(i,function(e,i){var a=(i=i.split(":"))[0],n=i[1];"x"==a&&(t.anim.x=n),"y"==a&&(t.anim.y=n),"s"==a&&(t.speed=parseFloat(n)),"e"!=a&&"ease"!=a||(t.anim.ease=n)}),t},_=function(e,t,i){if(null==e&&(e=0),!jQuery.isArray(e)&&"string"===jQuery.type(e)&&(e.split(",").length>1||e.split("[").length>1)){var a=(e=(e=e.replace("[","")).replace("]","")).match(/'/g)?e.split("',"):e.split(",");e=new Array,a&&jQuery.each(a,function(t,i){i=(i=i.replace("'","")).replace("'",""),e.push(i)})}else{var n=e;jQuery.isArray(e)||(e=new Array).push(n)}n=e[e.length-1];if(e.length<t.rle)for(var r=1;r<=t.curWinRange;r++)e.push(n);return e};function b(e,t,i,a,n,r,o){var s=e.find(t);s.css("borderWidth",r+"px"),s.css(i,0-r+"px"),s.css(a,"0px solid transparent"),s.css(n,o)}var y=function(e,t){if(void 0===t)return e;var i=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("c:","color:")).replace("bg:","background-color:")).replace("bw:","border-width:")).replace("bc:","border-color:")).replace("br:","borderRadius:")).replace("bs:","border-style:")).replace("td:","text-decoration:")).replace("zi:","zIndex:")).split(";");return i&&jQuery.each(i,function(t,i){var a=i.split(":");a[0].length>0&&("background-color"===a[0]&&a[1].indexOf("gradient")>=0&&(a[0]="background"),e.anim[a[0]]=a[1])}),e},w=function(e,t){var i,a=new Object,n=!1;if("rekursive"==t&&(i=e.closest(".tp-caption"))&&e.css("fontSize")===i.css("fontSize")&&e.css("fontWeight")===i.css("fontWeight")&&e.css("lineHeight")===i.css("lineHeight")&&(n=!0),a.basealign=e.data("basealign")||"grid",a.fontSize=n?void 0===i.data("fontsize")?parseInt(i.css("fontSize"),0)||0:i.data("fontsize"):void 0===e.data("fontsize")?parseInt(e.css("fontSize"),0)||0:e.data("fontsize"),a.fontWeight=n?void 0===i.data("fontweight")?parseInt(i.css("fontWeight"),0)||0:i.data("fontweight"):void 0===e.data("fontweight")?parseInt(e.css("fontWeight"),0)||0:e.data("fontweight"),a.whiteSpace=n?void 0===i.data("whitespace")?i.css("whitespace")||"normal":i.data("whitespace"):void 0===e.data("whitespace")?e.css("whitespace")||"normal":e.data("whitespace"),a.textAlign=n?void 0===i.data("textalign")?i.css("textalign")||"inherit":i.data("textalign"):void 0===e.data("textalign")?e.css("textalign")||"inherit":e.data("textalign"),a.zIndex=n?void 0===i.data("zIndex")?i.css("zIndex")||"inherit":i.data("zIndex"):void 0===e.data("zIndex")?e.css("zIndex")||"inherit":e.data("zIndex"),-1!==jQuery.inArray(e.data("layertype"),["video","image","audio"])||e.is("img")?a.lineHeight=0:a.lineHeight=n?void 0===i.data("lineheight")?parseInt(i.css("lineHeight"),0)||0:i.data("lineheight"):void 0===e.data("lineheight")?parseInt(e.css("lineHeight"),0)||0:e.data("lineheight"),a.letterSpacing=n?void 0===i.data("letterspacing")?parseFloat(i.css("letterSpacing"),0)||0:i.data("letterspacing"):void 0===e.data("letterspacing")?parseFloat(e.css("letterSpacing"))||0:e.data("letterspacing"),a.paddingTop=void 0===e.data("paddingtop")?parseInt(e.css("paddingTop"),0)||0:e.data("paddingtop"),a.paddingBottom=void 0===e.data("paddingbottom")?parseInt(e.css("paddingBottom"),0)||0:e.data("paddingbottom"),a.paddingLeft=void 0===e.data("paddingleft")?parseInt(e.css("paddingLeft"),0)||0:e.data("paddingleft"),a.paddingRight=void 0===e.data("paddingright")?parseInt(e.css("paddingRight"),0)||0:e.data("paddingright"),a.marginTop=void 0===e.data("margintop")?parseInt(e.css("marginTop"),0)||0:e.data("margintop"),a.marginBottom=void 0===e.data("marginbottom")?parseInt(e.css("marginBottom"),0)||0:e.data("marginbottom"),a.marginLeft=void 0===e.data("marginleft")?parseInt(e.css("marginLeft"),0)||0:e.data("marginleft"),a.marginRight=void 0===e.data("marginright")?parseInt(e.css("marginRight"),0)||0:e.data("marginright"),a.borderTopWidth=void 0===e.data("bordertopwidth")?parseInt(e.css("borderTopWidth"),0)||0:e.data("bordertopwidth"),a.borderBottomWidth=void 0===e.data("borderbottomwidth")?parseInt(e.css("borderBottomWidth"),0)||0:e.data("borderbottomwidth"),a.borderLeftWidth=void 0===e.data("borderleftwidth")?parseInt(e.css("borderLeftWidth"),0)||0:e.data("borderleftwidth"),a.borderRightWidth=void 0===e.data("borderrightwidth")?parseInt(e.css("borderRightWidth"),0)||0:e.data("borderrightwidth"),"rekursive"!=t){if(a.color=void 0===e.data("color")?"nopredefinedcolor":e.data("color"),a.whiteSpace=n?void 0===i.data("whitespace")?i.css("whiteSpace")||"nowrap":i.data("whitespace"):void 0===e.data("whitespace")?e.css("whiteSpace")||"nowrap":e.data("whitespace"),a.textAlign=n?void 0===i.data("textalign")?i.css("textalign")||"inherit":i.data("textalign"):void 0===e.data("textalign")?e.css("textalign")||"inherit":e.data("textalign"),a.fontWeight=n?void 0===i.data("fontweight")?parseInt(i.css("fontWeight"),0)||0:i.data("fontweight"):void 0===e.data("fontweight")?parseInt(e.css("fontWeight"),0)||0:e.data("fontweight"),a.minWidth=void 0===e.data("width")?parseInt(e.css("minWidth"),0)||0:e.data("width"),a.minHeight=void 0===e.data("height")?parseInt(e.css("minHeight"),0)||0:e.data("height"),null!=e.data("videowidth")&&null!=e.data("videoheight")){var r=e.data("videowidth"),o=e.data("videoheight");r="100%"===r?"none":r,o="100%"===o?"none":o,e.data("width",r),e.data("height",o)}a.maxWidth=void 0===e.data("width")?parseInt(e.css("maxWidth"),0)||"none":e.data("width"),a.maxHeight=-1!==jQuery.inArray(e.data("type"),["column","row"])?"none":void 0===e.data("height")?parseInt(e.css("maxHeight"),0)||"none":e.data("height"),a.wan=void 0===e.data("wan")?parseInt(e.css("-webkit-transition"),0)||"none":e.data("wan"),a.moan=void 0===e.data("moan")?parseInt(e.css("-moz-animation-transition"),0)||"none":e.data("moan"),a.man=void 0===e.data("man")?parseInt(e.css("-ms-animation-transition"),0)||"none":e.data("man"),a.ani=void 0===e.data("ani")?parseInt(e.css("transition"),0)||"none":e.data("ani")}return a.styleProps={borderTopLeftRadius:e[0].style.borderTopLeftRadius,borderTopRightRadius:e[0].style.borderTopRightRadius,borderBottomRightRadius:e[0].style.borderBottomRightRadius,borderBottomLeftRadius:e[0].style.borderBottomLeftRadius,background:e[0].style.background,boxShadow:e[0].style.boxShadow,"background-color":e[0].style["background-color"],"border-top-color":e[0].style["border-top-color"],"border-bottom-color":e[0].style["border-bottom-color"],"border-right-color":e[0].style["border-right-color"],"border-left-color":e[0].style["border-left-color"],"border-top-style":e[0].style["border-top-style"],"border-bottom-style":e[0].style["border-bottom-style"],"border-left-style":e[0].style["border-left-style"],"border-right-style":e[0].style["border-right-style"],"border-left-width":e[0].style["border-left-width"],"border-right-width":e[0].style["border-right-width"],"border-bottom-width":e[0].style["border-bottom-width"],"border-top-width":e[0].style["border-top-width"],color:e[0].style.color,"text-decoration":e[0].style["text-decoration"],"font-style":e[0].style["font-style"]},""!==a.styleProps.background&&void 0!==a.styleProps.background&&a.styleProps.background!==a.styleProps["background-color"]||delete a.styleProps.background,""==a.styleProps.color&&(a.styleProps.color=e.css("color")),a},x=function(e,t){var i=new Object;return e&&jQuery.each(e,function(a,n){var r=_(n,t)[t.curWinRange];i[a]=void 0!==r?r:e[a]}),i},T=function(e,t,i,a){return e="full"===(e=jQuery.isNumeric(e)?e*t+"px":e)?a:"auto"===e||"none"===e?i:e},k=function(e,t,i,a){var n=e.data();n=void 0===n?{}:n;try{if("BR"==e[0].nodeName||"br"==e[0].tagName)return!1}catch(e){}n.cssobj=void 0===n.cssobj?w(e,i):n.cssobj;var r=x(n.cssobj,t),o=t.bw,s=t.bh;"off"===a&&(o=1,s=1),"auto"==r.lineHeight&&(r.lineHeight=r.fontSize+4);var d={Top:r.marginTop,Bottom:r.marginBottom,Left:r.marginLeft,Right:r.marginRight};if("column"===n._nctype&&(punchgs.TweenLite.set(n._column,{paddingTop:Math.round(r.marginTop*s)+"px",paddingBottom:Math.round(r.marginBottom*s)+"px",paddingLeft:Math.round(r.marginLeft*o)+"px",paddingRight:Math.round(r.marginRight*o)+"px"}),d={Top:0,Bottom:0,Left:0,Right:0}),!e.hasClass("tp-splitted")){if(e.css("-webkit-transition","none"),e.css("-moz-transition","none"),e.css("-ms-transition","none"),e.css("transition","none"),(void 0!==e.data("transform_hover")||void 0!==e.data("style_hover"))&&punchgs.TweenLite.set(e,r.styleProps),punchgs.TweenLite.set(e,{fontSize:Math.round(r.fontSize*o)+"px",fontWeight:r.fontWeight,letterSpacing:Math.floor(r.letterSpacing*o)+"px",paddingTop:Math.round(r.paddingTop*s)+"px",paddingBottom:Math.round(r.paddingBottom*s)+"px",paddingLeft:Math.round(r.paddingLeft*o)+"px",paddingRight:Math.round(r.paddingRight*o)+"px",marginTop:d.Top*s+"px",marginBottom:d.Bottom*s+"px",marginLeft:d.Left*o+"px",marginRight:d.Right*o+"px",borderTopWidth:Math.round(r.borderTopWidth*s)+"px",borderBottomWidth:Math.round(r.borderBottomWidth*s)+"px",borderLeftWidth:Math.round(r.borderLeftWidth*o)+"px",borderRightWidth:Math.round(r.borderRightWidth*o)+"px",lineHeight:Math.round(r.lineHeight*s)+"px",textAlign:r.textAlign,overwrite:"auto"}),"rekursive"!=i){var l="slide"==r.basealign?t.ulw:t.gridwidth[t.curWinRange],m="slide"==r.basealign?t.ulh:t.gridheight[t.curWinRange],c=T(r.maxWidth,o,"none",l),p=T(r.maxHeight,s,"none",m),g=T(r.minWidth,o,"0px",l),u=T(r.minHeight,s,"0px",m);if(g=void 0===g?0:g,u=void 0===u?0:u,c=void 0===c?"none":c,p=void 0===p?"none":p,n._isgroup&&("#1/1#"===g&&(g=c=l),"#1/2#"===g&&(g=c=l/2),"#1/3#"===g&&(g=c=l/3),"#1/4#"===g&&(g=c=l/4),"#1/5#"===g&&(g=c=l/5),"#1/6#"===g&&(g=c=l/6),"#2/3#"===g&&(g=c=l/3*2),"#3/4#"===g&&(g=c=l/4*3),"#2/5#"===g&&(g=c=l/5*2),"#3/5#"===g&&(g=c=l/5*3),"#4/5#"===g&&(g=c=l/5*4),"#3/6#"===g&&(g=c=l/6*3),"#4/6#"===g&&(g=c=l/6*4),"#5/6#"===g&&(g=c=l/6*5)),n._ingroup&&(n._groupw=g,n._grouph=u),punchgs.TweenLite.set(e,{maxWidth:c,maxHeight:p,minWidth:g,minHeight:u,whiteSpace:r.whiteSpace,textAlign:r.textAlign,overwrite:"auto"}),"nopredefinedcolor"!=r.color&&punchgs.TweenLite.set(e,{color:r.color,overwrite:"auto"}),null!=n.svg_src){var f="nopredefinedcolor"!=r.color&&null!=r.color?r.color:null!=r.css&&"nopredefinedcolor"!=r.css.color&&null!=r.css.color?r.css.color:null!=r.styleProps.color?r.styleProps.color:null!=r.styleProps.css&&null!=r.styleProps.css.color&&r.styleProps.css.color;0!=f&&(punchgs.TweenLite.set(e.find("svg"),{fill:f,overwrite:"auto"}),punchgs.TweenLite.set(e.find("svg path"),{fill:f,overwrite:"auto"}))}}"column"===n._nctype&&(void 0===n._column_bg_set&&(n._column_bg_set=e.css("backgroundColor"),n._column_bg_image=e.css("backgroundImage"),n._column_bg_image_repeat=e.css("backgroundRepeat"),n._column_bg_image_position=e.css("backgroundPosition"),n._column_bg_image_size=e.css("backgroundSize"),n._column_bg_opacity=e.data("bgopacity"),n._column_bg_opacity=void 0===n._column_bg_opacity?1:n._column_bg_opacity,punchgs.TweenLite.set(e,{backgroundColor:"transparent",backgroundImage:""})),setTimeout(function(){j(e,t)},1),n._cbgc_auto&&n._cbgc_auto.length>0&&(n._cbgc_auto[0].style.backgroundSize=n._column_bg_image_size,jQuery.isArray(r.marginLeft)?punchgs.TweenLite.set(n._cbgc_auto,{borderTopWidth:r.marginTop[t.curWinRange]*s+"px",borderLeftWidth:r.marginLeft[t.curWinRange]*o+"px",borderRightWidth:r.marginRight[t.curWinRange]*o+"px",borderBottomWidth:r.marginBottom[t.curWinRange]*s+"px",backgroundColor:n._column_bg_set,backgroundImage:n._column_bg_image,backgroundRepeat:n._column_bg_image_repeat,backgroundPosition:n._column_bg_image_position,opacity:n._column_bg_opacity}):punchgs.TweenLite.set(n._cbgc_auto,{borderTopWidth:r.marginTop*s+"px",borderLeftWidth:r.marginLeft*o+"px",borderRightWidth:r.marginRight*o+"px",borderBottomWidth:r.marginBottom*s+"px",backgroundColor:n._column_bg_set,backgroundImage:n._column_bg_image,backgroundRepeat:n._column_bg_image_repeat,backgroundPosition:n._column_bg_image_position,opacity:n._column_bg_opacity}))),setTimeout(function(){e.css("-webkit-transition",e.data("wan")),e.css("-moz-transition",e.data("moan")),e.css("-ms-transition",e.data("man")),e.css("transition",e.data("ani"))},30)}},j=function(e,t){var i,a,n,r=e.data();r._cbgc_man&&r._cbgc_man.length>0&&(jQuery.isArray(r.cssobj.marginLeft)?(r.cssobj.marginLeft[t.curWinRange]*t.bw,i=r.cssobj.marginTop[t.curWinRange]*t.bh,a=r.cssobj.marginBottom[t.curWinRange]*t.bh,r.cssobj.marginRight[t.curWinRange],t.bw):(r.cssobj.marginLeft*t.bw,i=r.cssobj.marginTop*t.bh,a=r.cssobj.marginBottom*t.bh,r.cssobj.marginRight,t.bw),n=r._row.hasClass("rev_break_columns")?"100%":r._row.height()-(i+a)+"px",r._cbgc_man[0].style.backgroundSize=r._column_bg_image_size,punchgs.TweenLite.set(r._cbgc_man,{width:"100%",height:n,backgroundColor:r._column_bg_set,backgroundImage:r._column_bg_image,backgroundRepeat:r._column_bg_image_repeat,backgroundPosition:r._column_bg_image_position,overwrite:"auto",opacity:r._column_bg_opacity}))},L=function(e,t){var i=e.data();if(e.hasClass("rs-pendulum")&&null==i._loop_timeline){i._loop_timeline=new punchgs.TimelineLite;var a=null==e.data("startdeg")?-20:e.data("startdeg"),n=null==e.data("enddeg")?20:e.data("enddeg"),r=null==e.data("speed")?2:e.data("speed"),o=null==e.data("origin")?"50% 50%":e.data("origin"),s=null==e.data("easing")?punchgs.Power2.easeInOut:e.data("easing");a*=t,n*=t,i._loop_timeline.append(new punchgs.TweenLite.fromTo(e,r,{force3D:"auto",rotation:a,transformOrigin:o},{rotation:n,ease:s})),i._loop_timeline.append(new punchgs.TweenLite.fromTo(e,r,{force3D:"auto",rotation:n,transformOrigin:o},{rotation:a,ease:s,onComplete:function(){i._loop_timeline.restart()}}))}if(e.hasClass("rs-rotate")&&null==i._loop_timeline){i._loop_timeline=new punchgs.TimelineLite;a=null==e.data("startdeg")?0:e.data("startdeg"),n=null==e.data("enddeg")?360:e.data("enddeg"),r=null==e.data("speed")?2:e.data("speed"),o=null==e.data("origin")?"50% 50%":e.data("origin"),s=null==e.data("easing")?punchgs.Power2.easeInOut:e.data("easing");a*=t,n*=t,i._loop_timeline.append(new punchgs.TweenLite.fromTo(e,r,{force3D:"auto",rotation:a,transformOrigin:o},{rotation:n,ease:s,onComplete:function(){i._loop_timeline.restart()}}))}if(e.hasClass("rs-slideloop")&&null==i._loop_timeline){i._loop_timeline=new punchgs.TimelineLite;var d=null==e.data("xs")?0:e.data("xs"),l=null==e.data("ys")?0:e.data("ys"),m=null==e.data("xe")?0:e.data("xe"),c=null==e.data("ye")?0:e.data("ye");r=null==e.data("speed")?2:e.data("speed"),s=null==e.data("easing")?punchgs.Power2.easeInOut:e.data("easing");d*=t,l*=t,m*=t,c*=t,i._loop_timeline.append(new punchgs.TweenLite.fromTo(e,r,{force3D:"auto",x:d,y:l},{x:m,y:c,ease:s})),i._loop_timeline.append(new punchgs.TweenLite.fromTo(e,r,{force3D:"auto",x:m,y:c},{x:d,y:l,onComplete:function(){i._loop_timeline.restart()}}))}if(e.hasClass("rs-pulse")&&null==i._loop_timeline){i._loop_timeline=new punchgs.TimelineLite;var p=null==e.data("zoomstart")?0:e.data("zoomstart"),g=null==e.data("zoomend")?0:e.data("zoomend");r=null==e.data("speed")?2:e.data("speed"),s=null==e.data("easing")?punchgs.Power2.easeInOut:e.data("easing");i._loop_timeline.append(new punchgs.TweenLite.fromTo(e,r,{force3D:"auto",scale:p},{scale:g,ease:s})),i._loop_timeline.append(new punchgs.TweenLite.fromTo(e,r,{force3D:"auto",scale:g},{scale:p,onComplete:function(){i._loop_timeline.restart()}}))}if(e.hasClass("rs-wave")&&null==i._loop_timeline){i._loop_timeline=new punchgs.TimelineLite;var u=null==e.data("angle")?10:parseInt(e.data("angle"),0),f=null==e.data("radius")?10:parseInt(e.data("radius"),0),h=(r=null==e.data("speed")?-20:e.data("speed"),(o=null==e.data("origin")?"50% 50%":e.data("origin")).split(" ")),v=new Object;h.length>=1?(v.x=h[0],v.y=h[1]):(v.x="50%",v.y="50%");var _={a:0,ang:u,element:e,unit:f*=t,xoffset:0+(parseInt(v.x,0)/100-.5)*e.width(),yoffset:-1*f+(parseInt(v.y,0)/100-.5)*e.height()},b=parseInt(u,0),y=new punchgs.TweenLite.fromTo(_,r,{a:0+b},{a:360+b,force3D:"auto",ease:punchgs.Linear.easeNone});y.eventCallback("onUpdate",function(e){var t=e.a*(Math.PI/180),i=e.yoffset+e.unit*(1-Math.sin(t)),a=e.xoffset+Math.cos(t)*e.unit;punchgs.TweenLite.to(e.element,.1,{force3D:"auto",x:a,y:i})},[_]),y.eventCallback("onComplete",function(e){e._loop_timeline.restart()},[i]),i._loop_timeline.append(y)}},I=function(e){e.closest(".rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave").each(function(){null!=this._loop_timeline&&(this._loop_timeline.pause(),this._loop_timeline=null)})}}(jQuery);