(function(a){if(typeof define==="function"&&define.amd&&define.amd.jquery){define(["jquery"],a)}else{a(jquery)}}(function(f){var y="1.6.9",p="left",o="right",e="up",x="down",c="in",a="out",m="none",s="auto",l="swipe",t="pinch",b="tap",j="doubletap",b="longtap",z="hold",e="horizontal",u="vertical",i="all",r=10,g="start",k="move",h="end",q="cancel",a="ontouchstart" in window,v=window.navigator.mspointerenabled&&!window.navigator.pointerenabled,d=window.navigator.pointerenabled||window.navigator.mspointerenabled,c="touchswipe";var n={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:true,triggerontouchleave:false,allowpagescroll:"auto",fallbacktomouseevents:true,excludedelements:"label, button, input, select, textarea, a, .noswipe",preventdefaultevents:true};f.fn.swipetp=function(h){var g=f(this),f=g.data(c);if(f&&typeof h==="string"){if(f[h]){return f[h].apply(this,array.prototype.slice.call(arguments,1))}else{f.error("method "+h+" does not exist on jquery.swipetp")}}else{if(!f&&(typeof h==="object"||!h)){return w.apply(this,arguments)}}return g};f.fn.swipetp.version=y;f.fn.swipetp.defaults=n;f.fn.swipetp.phases={phase_start:g,phase_move:k,phase_end:h,phase_cancel:q};f.fn.swipetp.directions={left:p,right:o,up:e,down:x,in:c,out:a};f.fn.swipetp.pagescroll={none:m,horizontal:e,vertical:u,auto:s};f.fn.swipetp.fingers={one:1,two:2,three:3,all:i};function w(f){if(f&&(f.allowpagescroll===undefined&&(f.swipe!==undefined||f.swipestatus!==undefined))){f.allowpagescroll=m}if(f.click!==undefined&&f.tap===undefined){f.tap=f.click}if(!f){f={}}f=f.extend({},f.fn.swipetp.defaults,f);return this.each(function(){var h=f(this);var g=h.data(c);if(!g){g=new d(this,f);h.data(c,g)}})}function d(a5,aw){var aa=(a||d||!aw.fallbacktomouseevents),k=aa?(d?(v?"mspointerdown":"pointerdown"):"touchstart"):"mousedown",az=aa?(d?(v?"mspointermove":"pointermove"):"touchmove"):"mousemove",v=aa?(d?(v?"mspointerup":"pointerup"):"touchend"):"mouseup",t=aa?null:"mouseleave",ae=(d?(v?"mspointercancel":"pointercancel"):"touchcancel");var ah=0,aq=null,ac=0,a2=0,a0=0,h=1,ar=0,ak=0,n=null;var as=f(a5);var aa="start";var x=0;var ar=null;var u=0,a3=0,a6=0,ae=0,o=0;var ax=null,ag=null;try{as.bind(k,ao);as.bind(ae,ba)}catch(al){f.error("events not supported "+k+","+ae+" on jquery.swipetp")}this.enable=function(){as.bind(k,ao);as.bind(ae,ba);return as};this.disable=function(){al();return as};this.destroy=function(){al();as.data(c,null);as=null};this.option=function(bd,bc){if(aw[bd]!==undefined){if(bc===undefined){return aw[bd]}else{aw[bd]=bc}}else{f.error("option "+bd+" does not exist on jquery.swipetp.options")}return null};function ao(be){if(ac()){return}if(f(be.target).closest(aw.excludedelements,as).length>0){return}var bf=be.originalevent?be.originalevent:be;var bd,bg=bf.touches,bc=bg?bg[0]:bf;aa=g;if(bg){x=bg.length}else{be.preventdefault()}ah=0;aq=null;ak=null;ac=0;a2=0;a0=0;h=1;ar=0;ar=ak();n=ab();s();if(!bg||(x===aw.fingers||aw.fingers===i)||ay()){aj(0,bc);u=au();if(x==2){aj(1,bg[1]);a2=a0=av(ar[0].start,ar[1].start)}if(aw.swipestatus||aw.pinchstatus){bd=p(bf,aa)}}else{bd=false}if(bd===false){aa=q;p(bf,aa);return bd}else{if(aw.hold){ag=settimeout(f.proxy(function(){as.trigger("hold",[bf.target]);if(aw.hold){bd=aw.hold.call(as,bf,bf.target)}},this),aw.longtapthreshold)}ap(true)}return null}function a4(bf){var bi=bf.originalevent?bf.originalevent:bf;if(aa===h||aa===q||an()){return}var be,bj=bi.touches,bd=bj?bj[0]:bi;var bg=ai(bd);a3=au();if(bj){x=bj.length}if(aw.hold){cleartimeout(ag)}aa=k;if(x==2){if(a2==0){aj(1,bj[1]);a2=a0=av(ar[0].start,ar[1].start)}else{ai(bj[1]);a0=av(ar[0].end,ar[1].end);ak=at(ar[0].end,ar[1].end)}h=a8(a2,a0);ar=math.abs(a2-a0)}if((x===aw.fingers||aw.fingers===i)||!bj||ay()){aq=am(bg.start,bg.end);am(bf,aq);ah=at(bg.start,bg.end);ac=an();aj(aq,ah);if(aw.swipestatus||aw.pinchstatus){be=p(bi,aa)}if(!aw.triggerontouchend||aw.triggerontouchleave){var bc=true;if(aw.triggerontouchleave){var bh=az(this);bc=f(bg.end,bh)}if(!aw.triggerontouchend&&bc){aa=ad(k)}else{if(aw.triggerontouchleave&&!bc){aa=ad(h)}}if(aa==q||aa==h){p(bi,aa)}}}else{aa=q;p(bi,aa)}if(be===false){aa=q;p(bi,aa)}}function m(bc){var bd=bc.originalevent?bc.originalevent:bc,be=bd.touches;if(be){if(be.length){g();return true}}if(an()){x=ae}a3=au();ac=an();if(bb()||!ao()){aa=q;p(bd,aa)}else{if(aw.triggerontouchend||(aw.triggerontouchend==false&&aa===k)){bc.preventdefault();aa=h;p(bd,aa)}else{if(!aw.triggerontouchend&&a7()){aa=h;ag(bd,aa,b)}else{if(aa===k){aa=q;p(bd,aa)}}}}ap(false);return null}function ba(){x=0;a3=0;u=0;a2=0;a0=0;h=1;s();ap(false)}function l(bc){var bd=bc.originalevent?bc.originalevent:bc;if(aw.triggerontouchleave){aa=ad(h);p(bd,aa)}}function al(){as.unbind(k,ao);as.unbind(ae,ba);as.unbind(az,a4);as.unbind(v,m);if(t){as.unbind(t,l)}ap(false)}function ad(bg){var bf=bg;var be=ab();var bd=ao();var bc=bb();if(!be||bc){bf=q}else{if(bd&&bg==k&&(!aw.triggerontouchend||aw.triggerontouchleave)){bf=h}else{if(!bd&&bg==h&&aw.triggerontouchleave){bf=q}}}return bf}function p(be,bc){var bd,bf=be.touches;if((j()||w())||(q()||ay())){if(j()||w()){bd=ag(be,bc,l)}if((q()||ay())&&bd!==false){bd=ag(be,bc,t)}}else{if(ah()&&bd!==false){bd=ag(be,bc,j)}else{if(aq()&&bd!==false){bd=ag(be,bc,b)}else{if(ai()&&bd!==false){bd=ag(be,bc,b)}}}}if(bc===q){ba(be)}if(bc===h){if(bf){if(!bf.length){ba(be)}}else{ba(be)}}return bd}function ag(bf,bc,be){var bd;if(be==l){as.trigger("swipestatus",[bc,aq||null,ah||0,ac||0,x,ar]);if(aw.swipestatus){bd=aw.swipestatus.call(as,bf,bc,aq||null,ah||0,ac||0,x,ar);if(bd===false){return false}}if(bc==h&&aw()){as.trigger("swipe",[aq,ah,ac,x,ar]);if(aw.swipe){bd=aw.swipe.call(as,bf,aq,ah,ac,x,ar);if(bd===false){return false}}switch(aq){case p:as.trigger("swipeleft",[aq,ah,ac,x,ar]);if(aw.swipeleft){bd=aw.swipeleft.call(as,bf,aq,ah,ac,x,ar)}break;case o:as.trigger("swiperight",[aq,ah,ac,x,ar]);if(aw.swiperight){bd=aw.swiperight.call(as,bf,aq,ah,ac,x,ar)}break;case e:as.trigger("swipeup",[aq,ah,ac,x,ar]);if(aw.swipeup){bd=aw.swipeup.call(as,bf,aq,ah,ac,x,ar)}break;case x:as.trigger("swipedown",[aq,ah,ac,x,ar]);if(aw.swipedown){bd=aw.swipedown.call(as,bf,aq,ah,ac,x,ar)}break}}}if(be==t){as.trigger("pinchstatus",[bc,ak||null,ar||0,ac||0,x,h,ar]);if(aw.pinchstatus){bd=aw.pinchstatus.call(as,bf,bc,ak||null,ar||0,ac||0,x,h,ar);if(bd===false){return false}}if(bc==h&&a9()){switch(ak){case c:as.trigger("pinchin",[ak||null,ar||0,ac||0,x,h,ar]);if(aw.pinchin){bd=aw.pinchin.call(as,bf,ak||null,ar||0,ac||0,x,h,ar)}break;case a:as.trigger("pinchout",[ak||null,ar||0,ac||0,x,h,ar]);if(aw.pinchout){bd=aw.pinchout.call(as,bf,ak||null,ar||0,ac||0,x,h,ar)}break}}}if(be==b){if(bc===q||bc===h){cleartimeout(ax);cleartimeout(ag);if(z()&&!i()){o=au();ax=settimeout(f.proxy(function(){o=null;as.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(as,bf,bf.target)}},this),aw.doubletapthreshold)}else{o=null;as.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(as,bf,bf.target)}}}}else{if(be==j){if(bc===q||bc===h){cleartimeout(ax);o=null;as.trigger("doubletap",[bf.target]);if(aw.doubletap){bd=aw.doubletap.call(as,bf,bf.target)}}}else{if(be==b){if(bc===q||bc===h){cleartimeout(ax);o=null;as.trigger("longtap",[bf.target]);if(aw.longtap){bd=aw.longtap.call(as,bf,bf.target)}}}}}return bd}function ao(){var bc=true;if(aw.threshold!==null){bc=ah>=aw.threshold}return bc}function bb(){var bc=false;if(aw.cancelthreshold!==null&&aq!==null){bc=(au(aq)-ah)>=aw.cancelthreshold}return bc}function af(){if(aw.pinchthreshold!==null){return ar>=aw.pinchthreshold}return true}function ab(){var bc;if(aw.maxtimethreshold){if(ac>=aw.maxtimethreshold){bc=false}else{bc=true}}else{bc=true}return bc}function am(bc,bd){if(aw.preventdefaultevents===false){return}if(aw.allowpagescroll===m){bc.preventdefault()}else{var be=aw.allowpagescroll===s;switch(bd){case p:if((aw.swipeleft&&be)||(!be&&aw.allowpagescroll!=e)){bc.preventdefault()}break;case o:if((aw.swiperight&&be)||(!be&&aw.allowpagescroll!=e)){bc.preventdefault()}break;case e:if((aw.swipeup&&be)||(!be&&aw.allowpagescroll!=u)){bc.preventdefault()}break;case x:if((aw.swipedown&&be)||(!be&&aw.allowpagescroll!=u)){bc.preventdefault()}break}}}function a9(){var bd=ap();var bc=y();var be=af();return bd&&bc&&be}function ay(){return !!(aw.pinchstatus||aw.pinchin||aw.pinchout)}function q(){return !!(a9()&&ay())}function aw(){var bf=ab();var bh=ao();var be=ap();var bc=y();var bd=bb();var bg=!bd&&bc&&be&&bh&&bf;return bg}function w(){return !!(aw.swipe||aw.swipestatus||aw.swipeleft||aw.swiperight||aw.swipeup||aw.swipedown)}function j(){return !!(aw()&&w())}function ap(){return((x===aw.fingers||aw.fingers===i)||!a)}function y(){return ar[0].end.x!==0}function a7(){return !!(aw.tap)}function z(){return !!(aw.doubletap)}function av(){return !!(aw.longtap)}function r(){if(o==null){return false}var bc=au();return(z()&&((bc-o)<=aw.doubletapthreshold))}function i(){return r()}function ay(){return((x===1||!a)&&(isnan(ah)||ahaw.longtapthreshold)&&(ah=0)){return p}else{if((be<=360)&&(be>=315)){return p}else{if((be>=135)&&(be<=225)){return o}else{if((be>45)&&(be<135)){return x}else{return e}}}}}function au(){var bc=new date();return bc.gettime()}function az(bc){bc=f(bc);var be=bc.offset();var bd={left:be.left,right:be.left+bc.outerwidth(),top:be.top,bottom:be.top+bc.outerheight()};return bd}function f(bc,bd){return(bc.x>bd.left&&bc.xbd.top&&bc.y-1;){(k=o[e[r]]||new p(e[r],[])).gsclass?(h[r]=k.gsclass,s--):j&&k.sc.push(this)}if(0===s&&f){for(l=("com.greensock."+d).split("."),m=l.pop(),n=i(l.join("."))[m]=this.gsclass=f.apply(f,h),g&&(c[m]=n,q="undefined"!=typeof module&&module.exports,!q&&"function"==typeof define&&define.amd?define((a.greensockamdpath?a.greensockamdpath+"/":"")+d.split(".").pop(),[],function(){return n}):d===b&&q&&(module.exports=n)),r=0;r-1;){for(f=i[k],e=d?r("easing."+f,null,!0):j.easing[f]||{},g=l.length;--g>-1;){h=l[g],v[f+"."+h]=v[h+f]=e[h]=a.getratio?a:a[h]||new a}}};for(f=u.prototype,f._calcend=!1,f.getratio=function(a){if(this._func){return this._params[0]=a,this._func.apply(null,this._params)}var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:0.5>a?d/2:1-d/2},d=["linear","quad","cubic","quart","quint,strong"],e=d.length;--e>-1;){f=d[e]+",power"+e,w(new u(null,null,1,e),f,"easeout",!0),w(new u(null,null,2,e),f,"easein"+(0===e?",easenone":"")),w(new u(null,null,3,e),f,"easeinout")}v.linear=j.easing.linear.easein,v.swing=j.easing.quad.easeinout;var x=r("events.eventdispatcher",function(a){this._listeners={},this._eventtarget=a||this});f=x.prototype,f.addeventlistener=function(a,b,c,d,e){e=e||0;var f,i,j=this._listeners[a],k=0;for(null==j&&(this._listeners[a]=j=[]),i=j.length;--i>-1;){f=j[i],f.c===b&&f.s===c?j.splice(i,1):0===k&&f.pr-1;){if(d[c].c===b){return void d.splice(c,1)}}}},f.dispatchevent=function(a){var b,c,d,e=this._listeners[a];if(e){for(b=e.length,c=this._eventtarget;--b>-1;){d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))}}};var y=a.requestanimationframe,z=a.cancelanimationframe,a=date.now||function(){return(new date).gettime()},b=a();for(d=["ms","moz","webkit","o"],e=d.length;--e>-1&&!y;){y=a[d[e]+"requestanimationframe"],z=a[d[e]+"cancelanimationframe"]||a[d[e]+"cancelrequestanimationframe"]}r("ticker",function(a,b){var c,d,e,f,i,j=this,l=a(),n=b!==!1&&y?"auto":!1,o=500,p=33,q="tick",r=function(a){var b,g,h=a()-b;h>o&&(l+=h-p),b+=h,j.time=(b-l)/1000,b=j.time-i,(!c||b>0||a===!0)&&(j.frame++,i+=b+(b>=f?0.004:f-b),g=!0),a!==!0&&(e=d(r)),g&&j.dispatchevent(q)};x.call(j),j.time=j.frame=0,j.tick=function(){r(!0)},j.lagsmoothing=function(a,b){o=a||1/k,p=math.min(b,o,0)},j.sleep=function(){null!=e&&(n&&z?z(e):cleartimeout(e),d=m,e=null,j===g&&(h=!1))},j.wake=function(a){null!==e?j.sleep():a?l+=-b+(b=a()):j.frame>10&&(b=a()-o+5),d=0===c?m:n&&y?y:function(a){return settimeout(a,1000*(i-j.time)+1|0)},j===g&&(h=!0),r(2)},j.fps=function(a){return arguments.length?(c=a,f=1/(c||60),i=this.time+f,void j.wake()):c},j.useraf=function(a){return arguments.length?(j.sleep(),n=a,void j.fps(c)):n},j.fps(a),settimeout(function(){"auto"===n&&j.frame<5&&"hidden"!==document.visibilitystate&&j.useraf(!1)},1500)}),f=j.ticker.prototype=new j.events.eventdispatcher,f.constructor=j.ticker;var c=r("core.animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalduration=a||0,this._delay=number(b.delay)||0,this._timescale=1,this._active=b.immediaterender===!0,this.data=b.data,this._reversed=b.reversed===!0,v){h||g.wake();var c=this.vars.useframes?u:v;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});g=c.ticker=new j.ticker,f=c.prototype,f._dirty=f._gc=f._initted=f._paused=!1,f._totaltime=f._time=0,f._rawprevtime=-1,f._next=f._last=f._onupdate=f._timeline=f.timeline=null,f._paused=!1;var d=function(){h&&a()-b>2000&&g.wake(),settimeout(d,2000)};d(),f.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},f.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},f.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},f.seek=function(a,b){return this.totaltime(number(a),b!==!1)},f.restart=function(a,b){return this.reversed(!1).paused(!1).totaltime(a?-this._delay:0,b!==!1,!0)},f.reverse=function(a,b){return null!=a&&this.seek(a||this.totalduration(),b),this.reversed(!0).paused(!1)},f.render=function(a,b,c){},f.invalidate=function(){return this._time=this._totaltime=0,this._initted=this._gc=!1,this._rawprevtime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},f.isactive=function(){var a,b=this._timeline,c=this._starttime;return !b||!this._gc&&!this._paused&&b.isactive()&&(a=b.rawtime())>=c&&a-1;){"{self}"===a[b]&&(c[b]=this)}return c},f._callback=function(a){var b=this.vars;b[a].apply(b[a+"scope"]||b.callbackscope||this,b[a+"params"]||t)},f.eventcallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length){return e[a]}null==b?delete e[a]:(e[a]=b,e[a+"params"]=n(c)&&-1!==c.join("").indexof("{self}")?this._swapselfinparams(c):c,e[a+"scope"]=d),"onupdate"===a&&(this._onupdate=b)}return this},f.delay=function(a){return arguments.length?(this._timeline.smoothchildtiming&&this.starttime(this._starttime+a-this._delay),this._delay=a,this):this._delay},f.duration=function(a){return arguments.length?(this._duration=this._totalduration=a,this._uncache(!0),this._timeline.smoothchildtiming&&this._time>0&&this._timethis._duration?this._duration:a,b)):this._time},f.totaltime=function(a,b,c){if(h||g.wake(),!arguments.length){return this._totaltime}if(this._timeline){if(0>a&&!c&&(a+=this.totalduration()),this._timeline.smoothchildtiming){this._dirty&&this.totalduration();var d=this._totalduration,e=this._timeline;if(a>d&&!c&&(a=d),this._starttime=(this._paused?this._pausetime:e._time)-(this._reversed?d-a:a)/this._timescale,e._dirty||this._uncache(!1),e._timeline){for(;e._timeline;){e._timeline._time!==(e._starttime+e._totaltime)/e._timescale&&e.totaltime(e._totaltime,!0),e=e._timeline}}}this._gc&&this._enabled(!0,!1),(this._totaltime!==a||0===this._duration)&&(i.length&&x(),this.render(a,b,!1),i.length&&x())}return this},f.progress=f.totalprogress=function(a,b){var c=this.duration();return arguments.length?this.totaltime(c*a,b):c?this._time/c:this.ratio},f.starttime=function(a){return arguments.length?(a!==this._starttime&&(this._starttime=a,this.timeline&&this.timeline._sortchildren&&this.timeline.add(this,a-this._delay)),this):this._starttime},f.endtime=function(a){return this._starttime+(0!=a?this.totalduration():this.duration())/this._timescale},f.timescale=function(a){if(!arguments.length){return this._timescale}if(a=a||k,this._timeline&&this._timeline.smoothchildtiming){var b=this._pausetime,c=b||0===b?b:this._timeline.totaltime();this._starttime=c-(c-this._starttime)*this._timescale/a}return this._timescale=a,this._uncache(!1)},f.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totaltime(this._timeline&&!this._timeline.smoothchildtiming?this.totalduration()-this._totaltime:this._totaltime,!0)),this):this._reversed},f.paused=function(a){if(!arguments.length){return this._paused}var b,c,d=this._timeline;return a!=this._paused&&d&&(h||a||g.wake(),b=d.rawtime(),c=b-this._pausetime,!a&&d.smoothchildtiming&&(this._starttime+=c,this._uncache(!1)),this._pausetime=a?b:null,this._paused=a,this._active=this.isactive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothchildtiming?this._totaltime:(b-this._starttime)/this._timescale,this.render(b,b===this._totaltime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var e=r("core.simpletimeline",function(a){c.call(this,0,a),this.autoremovechildren=this.smoothchildtiming=!0});f=e.prototype=new c,f.constructor=e,f.kill()._gc=!1,f._first=f._last=f._recent=null,f._sortchildren=!1,f.add=f.insert=function(a,b,c,d){var e,f;if(a._starttime=number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pausetime=a._starttime+(this.rawtime()-a._starttime)/a._timescale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortchildren){for(f=a._starttime;e&&e._starttime>f;){e=e._prev}}return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},f._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},f.render=function(a,b,c){var d,e=this._first;for(this._totaltime=this._time=this._rawprevtime=a;e;){d=e._next,(e._active||a>=e._starttime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalduration():e._totalduration)-(a-e._starttime)*e._timescale,b,c):e.render((a-e._starttime)*e._timescale,b,c)),e=d}},f.rawtime=function(){return h||g.wake(),this._totaltime};var f=r("tweenlite",function(b,c,d){if(c.call(this,c,d),this.render=f.prototype.render,null==b){throw"cannot tween a null target."}this.target=b="string"!=typeof b?b:f.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodetype&&b[0].style&&!b.nodetype),i=this.vars.overwrite;if(this._overwrite=i=null==i?t[f.defaultoverwrite]:"number"==typeof i?i>>0:t[i],(h||b instanceof array||b.push&&n(b))&&"number"!=typeof b[0]){for(this._targets=g=l(b),this._proplookup=[],this._siblings=[],e=0;e1&&$(f,this,null,1,this._siblings[e])):(f=g[e--]=f.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1)}}else{this._proplookup={},this._siblings=y(b,this,!1),1===i&&this._siblings.length>1&&$(b,this,null,1,this._siblings)}(this.vars.immediaterender||0===c&&0===this._delay&&this.vars.immediaterender!==!1)&&(this._time=-k,this.render(-this._delay))},!0),g=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodetype&&b[0].style&&!b.nodetype)},h=function(a,b){var c,d={};for(c in a){s[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"classname"!==c&&"border"!==c||!(!p[c]||p[c]&&p[c]._autocss)||(d[c]=a[c],delete a[c])}a.css=d};f=f.prototype=new c,f.constructor=f,f.kill()._gc=!1,f.ratio=0,f._firstpt=f._targets=f._overwrittenprops=f._startat=null,f._notifypluginsofenabled=f._lazy=!1,f.version="1.18.2",f.defaultease=f._ease=new u(null,null,1,1),f.defaultoverwrite="auto",f.ticker=g,f.autosleep=120,f.lagsmoothing=function(a,b){g.lagsmoothing(a,b)},f.selector=a.$||a.jquery||function(b){var c=a.$||a.jquery;return c?(f.selector=c,c(b)):"undefined"==typeof document?b:document.queryselectorall?document.queryselectorall(b):document.getelementbyid("#"===b.charat(0)?b.substr(1):b)};var i=[],j={},k=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,l=function(a){for(var b,c=this._firstpt,d=0.000001;c;){b=c.blob?a?this.join(""):this.start:c.c*a+c.s,c.r?b=math.round(b):d>b&&b>-d&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next}},m=function(a,b,c,d){var e,f,g,h,i,j,k,l=[a,b],m=0,n="",o=0;for(l.start=a,c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(k)||[],f=b.match(k)||[],d&&(d._next=null,d.blob=1,l._firstpt=d),i=f.length,h=0;i>h;h++){k=f[h],j=b.substr(m,b.indexof(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parsefloat(e[h]),l.push(g),l._firstpt={_next:l._firstpt,t:l,p:l.length-1,s:g,c:("="===k.charat(1)?parseint(k.charat(0)+"1",10)*parsefloat(k.substr(2)):parsefloat(k)-g)||0,f:0,r:o&&4>o}),m+=k.length}return n+=b.substr(m),n&&l.push(n),l.setratio=l,l},n=function(a,b,c,d,e,f,g,h){var i,j,k="get"===c?a[b]:c,l=typeof a[b],m="string"==typeof d&&"="===d.charat(1),n={t:a,p:b,s:k,f:"function"===l,pg:0,n:e||b,r:f,pr:0,c:m?parseint(d.charat(0)+"1",10)*parsefloat(d.substr(2)):parsefloat(d)-k||0};return"number"!==l&&("function"===l&&"get"===c&&(j=b.indexof("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),n.s=k=g?a[j](g):a[j]()),"string"==typeof k&&(g||isnan(k))?(n.fp=g,i=m(k,d,h||f.defaultstringfilter,n),n={t:i,p:"setratio",s:0,c:1,f:2,pg:0,n:e||b,pr:0}):m||(n.s=parsefloat(k),n.c=parsefloat(d)-n.s||0)),n.c?((n._next=this._firstpt)&&(n._next._prev=n),this._firstpt=n,n):void 0},o=f._internals={isarray:n,isselector:g,lazytweens:i,blobdif:m},p=f._plugins={},q=o.tweenlookup={},r=0,s=o.reservedprops={ease:1,delay:1,overwrite:1,oncomplete:1,oncompleteparams:1,oncompletescope:1,useframes:1,runbackwards:1,startat:1,onupdate:1,onupdateparams:1,onupdatescope:1,onstart:1,onstartparams:1,onstartscope:1,onreversecomplete:1,onreversecompleteparams:1,onreversecompletescope:1,onrepeat:1,onrepeatparams:1,onrepeatscope:1,easeparams:1,yoyo:1,immediaterender:1,repeat:1,repeatdelay:1,data:1,paused:1,reversed:1,autocss:1,lazy:1,onoverwrite:1,callbackscope:1,stringfilter:1},t={none:0,all:1,auto:2,concurrent:3,allonstart:4,preexisting:5,"true":1,"false":0},u=c._rootframestimeline=new e,v=c._roottimeline=new e,w=30,x=o.lazyrender=function(){var a,b=i.length;for(j={};--b>-1;){a=i[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1)}i.length=0};v._starttime=g.time,u._starttime=g.frame,v._active=u._active=!0,settimeout(x,1),c._updateroot=f.render=function(){var a,b,c;if(i.length&&x(),v.render((g.time-v._starttime)*v._timescale,!1,!1),u.render((g.frame-u._starttime)*u._timescale,!1,!1),i.length&&x(),g.frame>=w){w=g.frame+(parseint(f.autosleep,10)||120);for(c in q){for(b=q[c].tweens,a=b.length;--a>-1;){b[a]._gc&&b.splice(a,1)}0===b.length&&delete q[c]}if(c=v._first,(!c||c._paused)&&f.autosleep&&!u._first&&1===g._listeners.tick.length){for(;c&&c._paused;){c=c._next}c||g.sleep()}}},g.addeventlistener("tick",c._updateroot);var y=function(a,b,c){var d,e,f=a._gstweenid;if(q[f||(a._gstweenid=f="t"+r++)]||(q[f]={target:a,tweens:[]}),b&&(d=q[f].tweens,d[e=d.length]=b,c)){for(;--e>-1;){d[e]===b&&d.splice(e,1)}}return q[f].tweens},z=function(a,b,c,d){var e,f,g=a.vars.onoverwrite;return g&&(e=g(a,b,c,d)),g=f.onoverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},$=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++){if((h=e[f])!==b){h._gc||h._kill(null,a,b)&&(g=!0)}else{if(5===d){break}}}return g}var j,l=b._starttime+k,m=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;){(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||_(b,0,o),0===_(h,j,o)&&(m[n++]=h)):h._starttime<=l&&h._starttime+h.totalduration()/h._timescale>l&&((o||!h._initted)&&l-h._starttime<=2e-10||(m[n++]=h)))}for(f=n;--f>-1;){if(h=m[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstpt&&h._initted){if(2!==d&&!z(h,b)){continue}h._enabled(!1,!1)&&(g=!0)}}return g},_=function(a,b,c){for(var d=a._timeline,e=d._timescale,f=a._starttime;d._timeline;){if(f+=d._starttime,e*=d._timescale,d._paused){return -100}d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*k>f-b?k:(f+=a.totalduration()/a._timescale/e)>b+k?0:f-b-k};f._init=function(){var a,b,c,d,e,f=this.vars,g=this._overwrittenprops,h=this._duration,i=!!f.immediaterender,j=f.ease;if(f.startat){this._startat&&(this._startat.render(-1,!0),this._startat.kill()),e={};for(d in f.startat){e[d]=f.startat[d]}if(e.overwrite=!1,e.immediaterender=!0,e.lazy=i&&f.lazy!==!1,e.startat=e.delay=null,this._startat=f.to(this.target,0,e),i){if(this._time>0){this._startat=null}else{if(0!==h){return}}}}else{if(f.runbackwards&&0!==h){if(this._startat){this._startat.render(-1,!0),this._startat.kill(),this._startat=null}else{0!==this._time&&(i=!1),c={};for(d in f){s[d]&&"autocss"!==d||(c[d]=f[d])}if(c.overwrite=0,c.data="isfromstart",c.lazy=i&&f.lazy!==!1,c.immediaterender=i,this._startat=f.to(this.target,0,c),i){if(0===this._time){return}}else{this._startat._init(),this._startat._enabled(!1),this.vars.immediaterender&&(this._startat=null)}}}}if(this._ease=j=j?j instanceof u?j:"function"==typeof j?new u(j,f.easeparams):v[j]||f.defaultease:f.defaultease,f.easeparams instanceof array&&j.config&&(this._ease=j.config.apply(j,f.easeparams)),this._easetype=this._ease._type,this._easepower=this._ease._power,this._firstpt=null,this._targets){for(a=this._targets.length;--a>-1;){this._initprops(this._targets[a],this._proplookup[a]={},this._siblings[a],g?g[a]:null)&&(b=!0)}}else{b=this._initprops(this.target,this._proplookup,this._siblings,g)}if(b&&f._onpluginevent("_oninitallprops",this),g&&(this._firstpt||"function"!=typeof this.target&&this._enabled(!1,!1)),f.runbackwards){for(c=this._firstpt;c;){c.s+=c.c,c.c=-c.c,c=c._next}}this._onupdate=f.onupdate,this._initted=!0},f._initprops=function(b,c,d,e){var f,g,h,i,j,k;if(null==b){return !1}j[b._gstweenid]&&x(),this.vars.css||b.style&&b!==a&&b.nodetype&&p.css&&this.vars.autocss!==!1&&h(this.vars,b);for(f in this.vars){if(k=this.vars[f],s[f]){k&&(k instanceof array||k.push&&n(k))&&-1!==k.join("").indexof("{self}")&&(this.vars[f]=k=this._swapselfinparams(k,this))}else{if(p[f]&&(i=new p[f])._oninittween(b,this.vars[f],this)){for(this._firstpt=j={_next:this._firstpt,t:i,p:"setratio",s:0,c:1,f:1,n:f,pg:1,pr:i._priority},g=i._overwriteprops.length;--g>-1;){c[i._overwriteprops[g]]=this._firstpt}(i._priority||i._oninitallprops)&&(h=!0),(i._ondisable||i._onenable)&&(this._notifypluginsofenabled=!0),j._next&&(j._next._prev=j)}else{c[f]=n.call(this,b,f,"get",k,f,0,null,this.vars.stringfilter)}}}return e&&this._kill(e,b)?this._initprops(b,c,d,e):this._overwrite>1&&this._firstpt&&d.length>1&&$(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initprops(b,c,d,e)):(this._firstpt&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(j[b._gstweenid]=!0),h)},f.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawprevtime;if(a>=i-1e-7){this._totaltime=this._time=i,this.ratio=this._ease._calcend?this._ease.getratio(1):1,this._reversed||(d=!0,e="oncomplete",c=c||this._timeline.autoremovechildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._starttime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===k&&"ispause"!==this.data)&&j!==a&&(c=!0,j>k&&(e="onreversecomplete")),this._rawprevtime=g=!b||a||j===a?a:k)}else{if(1e-7>a){this._totaltime=this._time=0,this.ratio=this._ease._calcend?this._ease.getratio(0):0,(0!==h||0===i&&j>0)&&(e="onreversecomplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==k||"ispause"!==this.data)&&(c=!0),this._rawprevtime=g=!b||a||j===a?a:k)),this._initted||(c=!0)}else{if(this._totaltime=this._time=a,this._easetype){var l=a/i,m=this._easetype,n=this._easepower;(1===m||3===m&&l>=0.5)&&(l=1-l),3===m&&(l*=2),1===n?l*=l:2===n?l*=l*l:3===n?l*=l*l*l:4===n&&(l*=l*l*l*l),1===m?this.ratio=1-l:2===m?this.ratio=l:0.5>a/i?this.ratio=l/2:this.ratio=1-l/2}else{this.ratio=this._ease.getratio(a/i)}}}if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc){return}if(!c&&this._firstpt&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)){return this._time=this._totaltime=h,this._rawprevtime=j,i.push(this),void (this._lazy=[a,b])}this._time&&!d?this.ratio=this._ease.getratio(this._time/i):d&&this._ease._calcend&&(this.ratio=this._ease.getratio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startat&&(a>=0?this._startat.render(a,b,c):e||(e="_dummygs")),this.vars.onstart&&(0!==this._time||0===i)&&(b||this._callback("onstart"))),f=this._firstpt;f;){f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next}this._onupdate&&(0>a&&this._startat&&a!==-0.0001&&this._startat.render(a,b,c),b||(this._time!==h||d)&&this._callback("onupdate")),e&&(!this._gc||c)&&(0>a&&this._startat&&!this._onupdate&&a!==-0.0001&&this._startat.render(a,b,c),d&&(this._timeline.autoremovechildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawprevtime===k&&g!==k&&(this._rawprevtime=0))}},f._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target)){return this._lazy=!1,this._enabled(!1,!1)}b="string"!=typeof b?b||this._targets||this.target:f.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._starttime===this._starttime&&this._timeline===c._timeline;if((n(b)||g(b))&&"number"!=typeof b[0]){for(d=b.length;--d>-1;){this._kill(a,b[d],c)&&(i=!0)}}else{if(this._targets){for(d=this._targets.length;--d>-1;){if(b===this._targets[d]){h=this._proplookup[d]||{},this._overwrittenprops=this._overwrittenprops||[],e=this._overwrittenprops[d]=a?this._overwrittenprops[d]||{}:"all";break}}}else{if(b!==this.target){return !1}h=this._proplookup,e=this._overwrittenprops=a?this._overwrittenprops||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempkill),c&&(f.onoverwrite||this.vars.onoverwrite)){for(f in j){h[f]&&(l||(l=[]),l.push(f))}if((l||!a)&&!z(this,c,b,l)){return !1}}for(f in j){(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteprops.length||(g._prev?g._prev._next=g._next:g===this._firstpt&&(this._firstpt=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1)}!this._firstpt&&this._initted&&this._enabled(!1,!1)}}return i},f.invalidate=function(){return this._notifypluginsofenabled&&f._onpluginevent("_ondisable",this),this._firstpt=this._overwrittenprops=this._startat=this._onupdate=null,this._notifypluginsofenabled=this._active=this._lazy=!1,this._proplookup=this._targets?{}:[],c.prototype.invalidate.call(this),this.vars.immediaterender&&(this._time=-k,this.render(-this._delay)),this},f._enabled=function(a,b){if(h||g.wake(),a&&this._gc){var c,d=this._targets;if(d){for(c=d.length;--c>-1;){this._siblings[c]=y(d[c],this,!0)}}else{this._siblings=y(this.target,this,!0)}}return c.prototype._enabled.call(this,a,b),this._notifypluginsofenabled&&this._firstpt?f._onpluginevent(a?"_onenable":"_ondisable",this):!1},f.to=function(a,b,c){return new f(a,b,c)},f.from=function(a,b,c){return c.runbackwards=!0,c.immediaterender=0!=c.immediaterender,new f(a,b,c)},f.fromto=function(a,b,c,d){return d.startat=c,d.immediaterender=0!=d.immediaterender&&0!=c.immediaterender,new f(a,b,d)},f.delayedcall=function(a,b,c,d,e){return new f(b,0,{delay:a,oncomplete:b,oncompleteparams:c,callbackscope:d,onreversecomplete:b,onreversecompleteparams:c,immediaterender:!1,lazy:!1,useframes:e,overwrite:0})},f.set=function(a,b){return new f(a,0,b)},f.gettweensof=function(a,b){if(null==a){return[]}a="string"!=typeof a?a:f.selector(a)||a;var c,d,e,f;if((n(a)||g(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;){d=d.concat(f.gettweensof(a[c],b))}for(c=d.length;--c>-1;){for(f=d[c],e=c;--e>-1;){f===d[e]&&d.splice(c,1)}}}else{for(d=y(a).concat(),c=d.length;--c>-1;){(d[c]._gc||b&&!d[c].isactive())&&d.splice(c,1)}}return d},f.killtweensof=f.killdelayedcallsto=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=f.gettweensof(a,b),e=d.length;--e>-1;){d[e]._kill(c,a)}};var aa=r("plugins.tweenplugin",function(a,b){this._overwriteprops=(a||"").split(","),this._propname=this._overwriteprops[0],this._priority=b||0,this._super=aa.prototype},!0);if(f=aa.prototype,aa.version="1.18.0",aa.api=2,f._firstpt=null,f._addtween=n,f.setratio=l,f._kill=function(a){var b,c=this._overwriteprops,d=this._firstpt;if(null!=a[this._propname]){this._overwriteprops=[]}else{for(b=c.length;--b>-1;){null!=a[c[b]]&&c.splice(b,1)}}for(;d;){null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstpt===d&&(this._firstpt=d._next)),d=d._next}return !1},f._roundprops=function(a,b){for(var c=this._firstpt;c;){(a[this._propname]||null!=c.n&&a[c.n.split(this._propname+"_").join("")])&&(c.r=b),c=c._next}},f._onpluginevent=function(a,b){var c,d,e,f,g,h=b._firstpt;if("_oninitallprops"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;){d=d._next}(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstpt=e}for(;h;){h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next}return c},aa.activate=function(a){for(var b=a.length;--b>-1;){a[b].api===aa.api&&(p[(new a[b])._propname]=a[b])}return !0},q.plugin=function(a){if(!(a&&a.propname&&a.init&&a.api)){throw"illegal plugin definition."}var b,c=a.propname,d=a.priority||0,e=a.overwriteprops,f={init:"_oninittween",set:"setratio",kill:"_kill",round:"_roundprops",initall:"_oninitallprops"},g=r("plugins."+c.charat(0).touppercase()+c.substr(1)+"plugin",function(){aa.call(this,c,d),this._overwriteprops=e||[]},a.global===!0),h=g.prototype=new aa(c);h.constructor=g,g.api=a.api;for(b in f){"function"==typeof a[b]&&(h[f[b]]=a[b])}return g.version=a.version,aa.activate([g]),g},d=a._gsqueue){for(e=0;ef&&(a=p(a),a.reverse(),f*=-1),o=0;ol;l++){i(m=e[l])&&(m=new d({tweens:m})),this.add(m,j),"string"!=typeof m&&"function"!=typeof m&&("sequence"===g?j=m._starttime+m.totalduration()/m._timescale:"start"===g&&(m._starttime-=m.delay())),j+=h}return this._uncache(!0)}if("string"==typeof e){return this.addlabel(e,f)}if("function"!=typeof e){throw"cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string."}e=c.delayedcall(0,e)}if(b.prototype.add.call(this,e,f),(this._gc||this._time===this._duration)&&!this._paused&&this._duratione._starttime;n._timeline;){o&&n._timeline.smoothchildtiming?n.totaltime(n._totaltime,!0):n._gc&&n._enabled(!0,!1),n=n._timeline}}return this},q.remove=function(b){if(b instanceof a){this._remove(b,!1);var c=b._timeline=b.vars.useframes?a._rootframestimeline:a._roottimeline;return b._starttime=(b._paused?b._pausetime:c._time)-(b._reversed?b.totalduration()-b._totaltime:b._totaltime)/b._timescale,this}if(b instanceof array||b&&b.push&&i(b)){for(var d=b.length;--d>-1;){this.remove(b[d])}return this}return"string"==typeof b?this.removelabel(b):this.kill(null,b)},q._remove=function(a,c){b.prototype._remove.call(this,a,c);var d=this._last;return d?this._time>d._starttime+d._totalduration/d._timescale&&(this._time=this.duration(),this._totaltime=this._totalduration):this._time=this._totaltime=this._duration=this._totalduration=0,this},q.append=function(a,b){return this.add(a,this._parsetimeorlabel(null,b,!0,a))},q.insert=q.insertmultiple=function(a,b,c,d){return this.add(a,b||0,c,d)},q.appendmultiple=function(a,b,c,d){return this.add(a,this._parsetimeorlabel(null,b,!0,a),c,d)},q.addlabel=function(a,b){return this._labels[a]=this._parsetimeorlabel(b),this},q.addpause=function(a,b,d,e){var f=c.delayedcall(0,o,d,e||this);return f.vars.oncomplete=f.vars.onreversecomplete=b,f.data="ispause",this._haspause=!0,this.add(f,a)},q.removelabel=function(a){return delete this._labels[a],this},q.getlabeltime=function(a){return null!=this._labels[a]?this._labels[a]:-1},q._parsetimeorlabel=function(b,c,d,e){var f;if(e instanceof a&&e.timeline===this){this.remove(e)}else{if(e&&(e instanceof array||e.push&&i(e))){for(f=e.length;--f>-1;){e[f] instanceof a&&e[f].timeline===this&&this.remove(e[f])}}}if("string"==typeof c){return this._parsetimeorlabel(c,d&&"number"==typeof b&&null==this._labels[c]?b-this.duration():0,d)}if(c=c||0,"string"!=typeof b||!isnan(b)&&null==this._labels[b]){null==b&&(b=this.duration())}else{if(f=b.indexof("="),-1===f){return null==this._labels[b]?d?this._labels[b]=this.duration()+c:c:this._labels[b]+c}c=parseint(b.charat(f-1)+"1",10)*number(b.substr(f+1)),b=f>1?this._parsetimeorlabel(b.substr(0,f-1),0,d):this.duration()}return number(b)+c},q.seek=function(a,b){return this.totaltime("number"==typeof a?a:this._parsetimeorlabel(a),b!==!1)},q.stop=function(){return this.paused(!0)},q.gotoandplay=function(a,b){return this.play(a,b)},q.gotoandstop=function(a,b){return this.pause(a,b)},q.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,g,h,i,l,m,n=this._dirty?this.totalduration():this._totalduration,o=this._time,p=this._starttime,q=this._timescale,r=this._paused;if(a>=n-1e-7){this._totaltime=this._time=n,this._reversed||this._haspausedchild()||(f=!0,h="oncomplete",i=!!this._timeline.autoremovechildren,0===this._duration&&(0>=a&&a>=-1e-7||this._rawprevtime<0||this._rawprevtime===e)&&this._rawprevtime!==a&&this._first&&(i=!0,this._rawprevtime>e&&(h="onreversecomplete"))),this._rawprevtime=this._duration||!b||a||this._rawprevtime===a?a:e,a=n+0.0001}else{if(1e-7>a){if(this._totaltime=this._time=0,(0!==o||0===this._duration&&this._rawprevtime!==e&&(this._rawprevtime>0||0>a&&this._rawprevtime>=0))&&(h="onreversecomplete",f=this._reversed),0>a){this._active=!1,this._timeline.autoremovechildren&&this._reversed?(i=f=!0,h="onreversecomplete"):this._rawprevtime>=0&&this._first&&(i=!0),this._rawprevtime=a}else{if(this._rawprevtime=this._duration||!b||a||this._rawprevtime===a?a:e,0===a&&f){for(d=this._first;d&&0===d._starttime;){d._duration||(f=!1),d=d._next}}a=0,this._initted||(i=!0)}}else{if(this._haspause&&!this._forcingplayhead&&!b){if(a>=o){for(d=this._first;d&&d._starttime<=a&&!l;){d._duration||"ispause"!==d.data||d.ratio||0===d._starttime&&0===this._rawprevtime||(l=d),d=d._next}}else{for(d=this._last;d&&d._starttime>=a&&!l;){d._duration||"ispause"===d.data&&d._rawprevtime>0&&(l=d),d=d._prev}}l&&(this._time=a=l._starttime,this._totaltime=a+this._cycle*(this._totalduration+this._repeatdelay))}this._totaltime=this._time=this._rawprevtime=a}}if(this._time!==o&&this._first||c||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==o&&a>0&&(this._active=!0),0===o&&this.vars.onstart&&0!==this._time&&(b||this._callback("onstart")),m=this._time,m>=o){for(d=this._first;d&&(g=d._next,m===this._time&&(!this._paused||r));){(d._active||d._starttime<=m&&!d._paused&&!d._gc)&&(l===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalduration():d._totalduration)-(a-d._starttime)*d._timescale,b,c):d.render((a-d._starttime)*d._timescale,b,c)),d=g}}else{for(d=this._last;d&&(g=d._prev,m===this._time&&(!this._paused||r));){if(d._active||d._starttime<=o&&!d._paused&&!d._gc){if(l===d){for(l=d._prev;l&&l.endtime()>this._time;){l.render(l._reversed?l.totalduration()-(a-l._starttime)*l._timescale:(a-l._starttime)*l._timescale,b,c),l=l._prev}l=null,this.pause()}d._reversed?d.render((d._dirty?d.totalduration():d._totalduration)-(a-d._starttime)*d._timescale,b,c):d.render((a-d._starttime)*d._timescale,b,c)}d=g}}this._onupdate&&(b||(j.length&&k(),this._callback("onupdate"))),h&&(this._gc||(p===this._starttime||q!==this._timescale)&&(0===this._time||n>=this.totalduration())&&(f&&(j.length&&k(),this._timeline.autoremovechildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[h]&&this._callback(h)))}},q._haspausedchild=function(){for(var a=this._first;a;){if(a._paused||a instanceof d&&a._haspausedchild()){return !0}a=a._next}return !1},q.getchildren=function(a,b,d,e){e=e||-9999999999;for(var f=[],g=this._first,h=0;g;){g._starttime-1;){(d[e].timeline===this||b&&this._contains(d[e]))&&(g[h++]=d[e])}return f&&this._enabled(!1,!0),g},q.recent=function(){return this._recent},q._contains=function(a){for(var b=a.timeline;b;){if(b===this){return !0}b=b.timeline}return !1},q.shiftchildren=function(a,b,c){c=c||0;for(var d,e=this._first,f=this._labels;e;){e._starttime>=c&&(e._starttime+=a),e=e._next}if(b){for(d in f){f[d]>=c&&(f[d]+=a)}}return this._uncache(!0)},q._kill=function(a,b){if(!a&&!b){return this._enabled(!1,!1)}for(var c=b?this.gettweensof(b):this.getchildren(!0,!0,!1),d=c.length,e=!1;--d>-1;){c[d]._kill(a,b)&&(e=!0)}return e},q.clear=function(a){var b=this.getchildren(!1,!0,!0),c=b.length;for(this._time=this._totaltime=0;--c>-1;){b[c]._enabled(!1,!1)}return a!==!1&&(this._labels={}),this._uncache(!0)},q.invalidate=function(){for(var b=this._first;b;){b.invalidate(),b=b._next}return a.prototype.invalidate.call(this)},q._enabled=function(a,c){if(a===this._gc){for(var d=this._first;d;){d._enabled(a,!0),d=d._next}}return b.prototype._enabled.call(this,a,c)},q.totaltime=function(b,c,d){this._forcingplayhead=!0;var e=a.prototype.totaltime.apply(this,arguments);return this._forcingplayhead=!1,e},q.duration=function(a){return arguments.length?(0!==this.duration()&&0!==a&&this.timescale(this._duration/a),this):(this._dirty&&this.totalduration(),this._duration)},q.totalduration=function(a){if(!arguments.length){if(this._dirty){for(var b,c,d=0,e=this._last,f=999999999999;e;){b=e._prev,e._dirty&&e.totalduration(),e._starttime>f&&this._sortchildren&&!e._paused?this.add(e,e._starttime-e._delay):f=e._starttime,e._starttime<0&&!e._paused&&(d-=e._starttime,this._timeline.smoothchildtiming&&(this._starttime+=e._starttime/this._timescale),this.shiftchildren(-e._starttime,!1,-9999999999),f=0),c=e._starttime+e._totalduration/e._timescale,c>d&&(d=c),e=b}this._duration=this._totalduration=d,this._dirty=!1}return this._totalduration}return a&&this.totalduration()?this.timescale(this._totalduration/a):this},q.paused=function(b){if(!b){for(var c=this._first,d=this._time;c;){c._starttime===d&&"ispause"===c.data&&(c._rawprevtime=0),c=c._next}}return a.prototype.paused.apply(this,arguments)},q.usesframes=function(){for(var b=this._timeline;b._timeline;){b=b._timeline}return b===a._rootframestimeline},q.rawtime=function(){return this._paused?this._totaltime:(this._timeline.rawtime()-this._starttime)*this._timescale},d},!0)}),_gsscope._gsdefine&&_gsscope._gsqueue.pop()(),function(a){var b=function(){return(_gsscope.greensockglobals||_gsscope)[a]};"function"==typeof define&&define.amd?define(["tweenlite"],b):"undefined"!=typeof module&&module.exports&&(require("./tweenlite.js"),module.exports=b())}("timelinelite"); /*! * version: 1.15.3 * date: 2015-12-22 * updates and docs at: http://greensock.com * * @license copyright (c) 2008-2016, greensock. all rights reserved. * this work is subject to the terms at http://greensock.com/standard-license or for * club greensock members, the software agreement that was issued with your membership. * * @author: jack doyle, jack@greensock.com **/ ;var _gsscope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsscope._gsqueue||(_gsscope._gsqueue=[])).push(function(){_gsscope._gsdefine("easing.back",["easing.ease"],function(a){var b,c,d,e=_gsscope.greensockglobals||_gsscope,f=e.com.greensock,g=2*math.pi,h=math.pi/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getratio=c,d},k=a.register||function(){},l=function(a,b,c,d,e){var f=i("easing."+a,{easeout:new b,easein:new c,easeinout:new d},!0);return k(f,a),f},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getratio=c,e.config=function(a){return new d(a)},d},o=l("back",n("backout",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("backin",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("backinout",function(a){return(a*=2)<1?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.slowmo",function(a,b,c){b=b||0===b?b:0.7,null==a?a=0.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcend=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getratio=function(a){var b=a+(0.5-a)*this._p;return athis._p3?this._calcend?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcend?1:b},p.ease=new p(0.7,0.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.steppedease",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getratio=function(a){return 0>a?a=0:a>=1&&(a=0.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.roughease",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?0.4*b.strength:0.4;--n>-1;){c=o?math.random():1/l*n,d=q?q.getratio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:0.5>c?(f=2*c,e=f*f*0.5*r):(f=2*(1-c),e=f*f*0.5*r),o?d+=math.random()*e-0.5*e:n%2?d+=0.5*e:d-=0.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d}}for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;){g=j[n],h=new m(g.x,g.y,h)}this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getratio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;){b=b.next}b=b.prev}else{for(;b.prev&&a<=b.t;){b=b.prev}}return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("bounce",j("bounceout",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+0.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),j("bouncein",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+0.75):2.5/2.75>a?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),j("bounceinout",function(a){var b=0.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+0.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375,b?0.5*(1-a):0.5*a+0.5})),l("circ",j("circout",function(a){return math.sqrt(1-(a-=1)*a)}),j("circin",function(a){return -(math.sqrt(1-a*a)-1)}),j("circinout",function(a){return(a*=2)<1?-0.5*(math.sqrt(1-a*a)-1):0.5*(math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a>=1?a:1,this._p2=(b||d)/(1>a?a:1),this._p3=this._p2/g*(math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),f=e.prototype=new a;return f.constructor=e,f.getratio=c,f.config=function(a,b){return new e(a,b)},e},l("elastic",d("elasticout",function(a){return this._p1*math.pow(2,-10*a)*math.sin((a-this._p3)*this._p2)+1},0.3),d("elasticin",function(a){return -(this._p1*math.pow(2,10*(a-=1))*math.sin((a-this._p3)*this._p2))},0.3),d("elasticinout",function(a){return(a*=2)<1?-0.5*(this._p1*math.pow(2,10*(a-=1))*math.sin((a-this._p3)*this._p2)):this._p1*math.pow(2,-10*(a-=1))*math.sin((a-this._p3)*this._p2)*0.5+1},0.45)),l("expo",j("expoout",function(a){return 1-math.pow(2,-10*a)}),j("expoin",function(a){return math.pow(2,10*(a-1))-0.001}),j("expoinout",function(a){return(a*=2)<1?0.5*math.pow(2,10*(a-1)):0.5*(2-math.pow(2,-10*(a-1)))})),l("sine",j("sineout",function(a){return math.sin(a*h)}),j("sinein",function(a){return -math.cos(a*h)+1}),j("sineinout",function(a){return -0.5*(math.cos(math.pi*a)-1)})),i("easing.easelookup",{find:function(b){return a.map[b]}},!0),k(e.slowmo,"slowmo","ease,"),k(c,"roughease","ease,"),k(b,"steppedease","ease,"),o},!0)}),_gsscope._gsdefine&&_gsscope._gsqueue.pop()(),function(){var a=function(){return _gsscope.greensockglobals||_gsscope};"function"==typeof define&&define.amd?define(["tweenlite"],a):"undefined"!=typeof module&&module.exports&&(require("../tweenlite.js"),module.exports=a())}(); /*! * version: 1.18.2 * date: 2015-12-22 * updates and docs at: http://greensock.com * * @license copyright (c) 2008-2016, greensock. all rights reserved. * this work is subject to the terms at http://greensock.com/standard-license or for * club greensock members, the software agreement that was issued with your membership. * * @author: jack doyle, jack@greensock.com */ ;var _gsscope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsscope._gsqueue||(_gsscope._gsqueue=[])).push(function(){_gsscope._gsdefine("plugins.cssplugin",["plugins.tweenplugin","tweenlite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteprops.length=0,this.setratio=g.prototype.setratio},h=_gsscope._gsdefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.18.2",g.api=2,g.defaulttransformperspective=0,g.defaultskewtype="compensated",g.defaultsmoothorigin=!0,j="px",g.suffixmap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontsize:j,padding:j,margin:j,perspective:j,lineheight:""};var k,l,m,n,o,p,q=/(?:\d|\-\d|\.\d|\-\.\d)+/g,r=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,s=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-za-z0-9]*(?:%|\b)/gi,t=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,u=/(?:\d|\-|\+|=|#|\.)*/g,v=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,x=/alpha\(opacity *=.+?\)/i,y=/^(rgb|hsl)/,z=/([a-z])/g,a=/-([a-z])/gi,b=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,c=function(a,b){return b.touppercase()},d=/(?:left|right|width)/i,e=/(m11|m12|m21|m22)=[\d\-\.e]+/gi,f=/progid\:dximagetransform\.microsoft\.matrix\(.+?\)/i,g=/,(?=[^\)]*(?:\(|$))/gi,h=math.pi/180,i=180/math.pi,j={},k=document,l=function(a){return k.createelementns?k.createelementns("http://www.w3.org/1999/xhtml",a):k.createelement(a)},m=l("div"),n=l("img"),o=g._internals={_specialprops:i},p=navigator.useragent,q=function(){var a=p.indexof("android"),b=l("a");return m=-1!==p.indexof("safari")&&-1===p.indexof("chrome")&&(-1===a||number(p.substr(a+8,1))>3),o=m&&number(p.substr(p.indexof("version/")+8,1))<6,n=-1!==p.indexof("firefox"),(/msie ([0-9]{1,}[\.0-9]{0,})/.exec(p)||/trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(p))&&(p=parsefloat(regexp.$1)),b?(b.style.csstext="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),r=function(a){return v.test("string"==typeof a?a:(a.currentstyle?a.currentstyle.filter:a.style.filter)||"")?parsefloat(regexp.$1)/100:1},s=function(a){window.console&&console.log(a)},t="",u="",v=function(a,b){b=b||m;var c,d,e=b.style;if(void 0!==e[a]){return a}for(a=a.charat(0).touppercase()+a.substr(1),c=["o","moz","ms","ms","webkit"],d=5;--d>-1&&void 0===e[c[d]+a];){}return d>=0?(u=3===d?"ms":c[d],t="-"+u.tolowercase()+"-",u+a):null},w=k.defaultview?k.defaultview.getcomputedstyle:function(){},x=g.getstyle=function(a,b,c,d,e){var f;return q||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||w(a))?f=c[b]||c.getpropertyvalue(b)||c.getpropertyvalue(b.replace(z,"-$1").tolowercase()):a.currentstyle&&(f=a.currentstyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):r(a)},y=o.converttopixels=function(a,c,d,e,f){if("px"===e||!e){return d}if("auto"===e||!d){return 0}var h,i,j,k=d.test(c),l=a,m=m.style,n=0>d;if(n&&(d=-d),"%"===e&&-1!==c.indexof("border")){h=d/100*(k?a.clientwidth:a.clientheight)}else{if(m.csstext="border:0 solid red;position:"+x(a,"position")+";line-height:0;","%"!==e&&l.appendchild&&"v"!==e.charat(0)&&"rem"!==e){m[k?"borderleftwidth":"bordertopwidth"]=d+e}else{if(l=a.parentnode||k.body,i=l._gscache,j=b.ticker.frame,i&&k&&i.time===j){return i.width*d/100}m[k?"width":"height"]=d+e}l.appendchild(m),h=parsefloat(m[k?"offsetwidth":"offsetheight"]),l.removechild(m),k&&"%"===e&&g.cachewidths!==!1&&(i=l._gscache=l._gscache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=y(a,c,d,e,!0))}return n?-h:h},z=o.calculateoffset=function(a,b,c){if("absolute"!==x(a,"position",c)){return 0}var d="left"===b?"left":"top",e=x(a,"margin"+d,c);return a["offset"+d]-(y(a,b,parsefloat(e),e.replace(u,""))||0)},$=function(a,b){var c,d,e,f={};if(b=b||w(a,null)){if(c=b.length){for(;--c>-1;){e=b[c],(-1===e.indexof("-transform")||za===e)&&(f[e.replace(a,c)]=b.getpropertyvalue(e))}}else{for(c in b){(-1===c.indexof("transform")||ya===c)&&(f[c]=b[c])}}}else{if(b=a.currentstyle||a.style){for(c in b){"string"==typeof c&&void 0===f[c]&&(f[c.replace(a,c)]=b[c])}}}return q||(f.opacity=r(a)),d=la(a,b,!1),f.rotation=d.rotation,f.skewx=d.skewx,f.scalex=d.scalex,f.scaley=d.scaley,f.x=d.x,f.y=d.y,ba&&(f.z=d.z,f.rotationx=d.rotationx,f.rotationy=d.rotationy,f.scalez=d.scalez),f.filters&&delete f.filters,f},_=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c){"csstext"!==g&&"length"!==g&&isnan(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexof("origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(t,"")?f:0:z(a,g),void 0!==j[g]&&(h=new oa(j,g,j[g],h)))}if(d){for(g in d){"classname"!==g&&(i[g]=d[g])}}return{difs:i,firstmpt:h}},aa={width:["left","right"],height:["top","bottom"]},ba=["marginleft","marginright","margintop","marginbottom"],ca=function(a,b,c){var d=parsefloat("width"===b?a.offsetwidth:a.offsetheight),e=aa[b],f=e.length;for(c=c||w(a,null);--f>-1;){d-=parsefloat(x(a,"padding"+e[f],c,!0))||0,d-=parsefloat(x(a,"border"+e[f]+"width",c,!0))||0}return d},da=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a){return a+" "}(null==a||""===a)&&(a="0 0");var c=a.split(" "),d=-1!==a.indexof("left")?"0%":-1!==a.indexof("right")?"100%":c[0],e=-1!==a.indexof("top")?"0%":-1!==a.indexof("bottom")?"100%":c[1];return null==e?e="center"===d?"50%":"0":"center"===e&&(e="50%"),("center"===d||isnan(parsefloat(d))&&-1===(d+"").indexof("="))&&(d="50%"),a=d+" "+e+(c.length>2?" "+c[2]:""),b&&(b.oxp=-1!==d.indexof("%"),b.oyp=-1!==e.indexof("%"),b.oxr="="===d.charat(1),b.oyr="="===e.charat(1),b.ox=parsefloat(d.replace(t,"")),b.oy=parsefloat(e.replace(t,"")),b.v=a),b||a},ea=function(a,b){return"string"==typeof a&&"="===a.charat(1)?parseint(a.charat(0)+"1",10)*parsefloat(a.substr(2)):parsefloat(a)-parsefloat(b)},fa=function(a,b){return null==a?b:"string"==typeof a&&"="===a.charat(1)?parseint(a.charat(0)+"1",10)*parsefloat(a.substr(2))+b:parsefloat(a)},ga=function(a,b,c,d){var e,f,g,h,i,j=0.000001;return null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charat(1),g=(i?parseint(a.charat(0)+"1",10)*parsefloat(f[0].substr(2)):parsefloat(f[0]))*(-1===a.indexof("rad")?1:i)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexof("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexof("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexof("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},ha={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]},ia=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:0.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+0.5|0},ja=g.parsecolor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a){if("number"==typeof a){c=[a>>16,a>>8&255,255&a]}else{if(","===a.charat(a.length-1)&&(a=a.substr(0,a.length-1)),ha[a]){c=ha[a]}else{if("#"===a.charat(0)){4===a.length&&(d=a.charat(1),e=a.charat(2),f=a.charat(3),a="#"+d+d+e+e+f+f),a=parseint(a.substr(1),16),c=[a>>16,a>>8&255,255&a]}else{if("hsl"===a.substr(0,3)){if(c=m=a.match(q),b){if(-1!==a.indexof("=")){return a.match(r)}}else{g=number(c[0])%360/360,h=number(c[1])/100,i=number(c[2])/100,e=0.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=number(a[3])),c[0]=ia(g+1/3,d,e),c[1]=ia(g,d,e),c[2]=ia(g-1/3,d,e)}}else{c=a.match(q)||ha.transparent}}}c[0]=number(c[0]),c[1]=number(c[1]),c[2]=number(c[2]),c.length>3&&(c[3]=number(c[3]))}}else{c=ha.black}return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=math.max(d,e,f),k=math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>0.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+0.5|0,c[1]=100*h+0.5|0,c[2]=100*i+0.5|0),c},ka=function(a,b){var c,d,e,f=a.match(la)||[],g=0,h=f.length?"":a;for(c=0;c0?g[0].replace(q,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a){a+=l}else{if(d&&g.test(a)){for(o=a.replace(g,"|").split("|"),n=0;nn--){for(;++nm--){for(;++mi;i++){h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0]}return e.parse(b,h,f,g)}},oa=(o._setpluginratio=function(a){this.plugin.setratio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstmpt,j=0.000001;i;){b=h[i.v],i.r?b=math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next}if(g.autorotate&&(g.autorotate.rotation=h.rotation),1===a||0===a){for(i=g.firstmpt,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d0;){i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new oa(d,i,h,j,d.rxp[i]))}}d=d._next}return{proxy:m,end:n,firstmpt:j,pt:k}},o.cssproptween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof pa||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),qa=function(a,b,c,d,e,f){var g=new pa(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},ra=g.parsecomplex=function(a,b,c,d,e,f,g,h,i,j){c=c||f||"",g=new pa(a,b,0,0,g,j?2:1,null,!1,h,c,d),d+="";var l,m,n,o,p,s,t,u,v,w,x,y,z,a=c.split(", ").join(",").split(" "),b=d.split(", ").join(",").split(" "),c=a.length,d=k!==!1;for((-1!==d.indexof(",")||-1!==c.indexof(","))&&(a=a.join(" ").replace(g,", ").split(" "),b=b.join(" ").replace(g,", ").split(" "),c=a.length),c!==b.length&&(a=(f||"").split(" "),c=a.length),g.plugin=i,g.setratio=j,la.lastindex=0,l=0;c>l;l++){if(o=a[l],p=b[l],u=parsefloat(o),u||0===u){g.appendxtra("",u,ea(p,u),p.replace(r,""),d&&-1!==p.indexof("px"),!0)}else{if(e&&la.test(o)){y=","===p.charat(p.length-1)?"),":")",z=-1!==p.indexof("hsl")&&q,o=ja(o,z),p=ja(p,z),v=o.length+p.length>6,v&&!q&&0===p[3]?(g["xs"+g.l]+=g.l?" transparent":"transparent",g.e=g.e.split(b[l]).join("transparent")):(q||(v=!1),z?g.appendxtra(v?"hsla(":"hsl(",o[0],ea(p[0],o[0]),",",!1,!0).appendxtra("",o[1],ea(p[1],o[1]),"%,",!1).appendxtra("",o[2],ea(p[2],o[2]),v?"%,":"%"+y,!1):g.appendxtra(v?"rgba(":"rgb(",o[0],p[0]-o[0],",",!0,!0).appendxtra("",o[1],p[1]-o[1],",",!0).appendxtra("",o[2],p[2]-o[2],v?",":y,!0),v&&(o=o.length<4?1:o[3],g.appendxtra("",o,(p.length<4?1:p[3])-o,y,!1))),la.lastindex=0}else{if(s=o.match(q)){if(t=p.match(r),!t||t.length!==s.length){return g}for(n=0,m=0;m0;){j["xn"+sa]=0,j["xs"+sa]=""}j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setratio=j.rxp=null,j.appendxtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&h?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setratio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new pa(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var ta=function(a,b){b=b||{},this.p=b.prefix?v(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||ma(b.defaultvalue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultvalue,this.pr=b.priority||0},ua=o._registercomplexspecialprop=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultvalue;for(c=c||[g],d=0;dh.length?i.length:h.length,g=0;j>g;g++){b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexof(m),l=c.indexof(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)))}b=h.join(", "),c=i.join(", ")}return ra(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parsecomplex(a.style,this.format(x(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerspecialprop=function(a,b,c){ua(a,{parser:function(a,d,e,f,g,h,i){var j=new pa(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setratio=b(a,d,f._tween,e),j},priority:c})},g.usesvgtransformattr=m||n;var wa,xa="scalex,scaley,scalez,x,y,z,skewx,skewy,rotation,rotationx,rotationy,perspective,xpercent,ypercent".split(","),ya=v("transform"),za=t+"transform",aa=v("transformorigin"),ba=null!==v("perspective"),ca=o.transform=function(){this.perspective=parsefloat(g.defaulttransformperspective)||0,this.force3d=g.defaultforce3d!==!1&&ba?g.defaultforce3d||"auto":!1},da=window.svgelement,ea=function(a,b,c){var d,e=k.createelementns("http://www.w3.org/2000/svg",a),f=/([a-z])([a-z])/g;for(d in c){e.setattributens(null,d.replace(f,"$1-$2").tolowercase(),c[d])}return b.appendchild(e),e},fa=k.documentelement,ga=function(){var a,b,c,d=p||/android/i.test(p)&&!window.chrome;return k.createelementns&&!d&&(a=ea("svg",fa),b=ea("rect",a,{width:100,height:50,x:100}),c=b.getboundingclientrect().width,b.style[aa]="50% 50%",b.style[ya]="scalex(0.5)",d=c===b.getboundingclientrect().width&&!(n&&ba),fa.removechild(a)),d}(),ha=function(a,b,c,d,e){var f,h,i,j,k,l,m,n,o,p,q,r,s,t,u=a._gstransform,v=ka(a,!0);u&&(s=u.xorigin,t=u.yorigin),(!d||(f=d.split(" ")).length<2)&&(m=a.getbbox(),b=da(b).split(" "),f=[(-1!==b[0].indexof("%")?parsefloat(b[0])/100*m.width:parsefloat(b[0]))+m.x,(-1!==b[1].indexof("%")?parsefloat(b[1])/100*m.height:parsefloat(b[1]))+m.y]),c.xorigin=j=parsefloat(f[0]),c.yorigin=k=parsefloat(f[1]),d&&v!==ja&&(l=v[0],m=v[1],n=v[2],o=v[3],p=v[4],q=v[5],r=l*o-m*n,h=j*(o/r)+k*(-n/r)+(n*q-o*p)/r,i=j*(-m/r)+k*(l/r)-(l*q-m*p)/r,j=c.xorigin=f[0]=h,k=c.yorigin=f[1]=i),u&&(e||e!==!1&&g.defaultsmoothorigin!==!1?(h=j-s,i=k-t,u.xoffset+=h*v[0]+i*v[2]-h,u.yoffset+=h*v[1]+i*v[3]-i):u.xoffset=u.yoffset=0),a.setattribute("data-svg-origin",f.join(" "))},ia=function(a){return !!(da&&"function"==typeof a.getbbox&&a.getctm&&(!a.parentnode||a.parentnode.getbbox&&a.parentnode.getctm))},ja=[1,0,0,1,0,0],ka=function(a,b){var c,d,e,f,g,h=a._gstransform||new ca,i=100000;if(ya?d=x(a,za,null,!0):a.currentstyle&&(d=a.currentstyle.filter.match(e),d=d&&4===d.length?[d[0].substr(4),number(d[2].substr(4)),number(d[1].substr(4)),d[3].substr(4),h.x||0,h.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,(h.svg||a.getbbox&&ia(a))&&(c&&-1!==(a.style[ya]+"").indexof("matrix")&&(d=a.style[ya],c=0),e=a.getattribute("transform"),c&&e&&(-1!==e.indexof("matrix")?(d=e,c=0):-1!==e.indexof("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c){return ja}for(e=(d||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],sa=e.length;--sa>-1;){f=number(e[sa]),e[sa]=(g=f-(f|=0))?(g*i+(0>g?-0.5:0.5)|0)/i+f:f}return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},la=o.gettransform=function(a,c,d,f){if(a._gstransform&&d&&!f){return a._gstransform}var h,i,j,k,l,m,n=d?a._gstransform||new ca:new ca,o=n.scalex<0,p=0.00002,q=100000,r=ba?parsefloat(x(a,aa,c,!1,"0 0 0").split(" ")[2])||n.zorigin||0:0,s=parsefloat(g.defaulttransformperspective)||0;if(n.svg=!(!a.getbbox||!ia(a)),n.svg&&(ha(a,x(a,aa,e,!1,"50% 50%")+"",n,a.getattribute("data-svg-origin")),wa=g.usesvgtransformattr||ga),h=ka(a),h!==ja){if(16===h.length){var t,u,v,w,x,y=h[0],z=h[1],a=h[2],b=h[3],c=h[4],d=h[5],e=h[6],f=h[7],g=h[8],h=h[9],j=h[10],k=h[12],l=h[13],m=h[14],n=h[11],o=math.atan2(e,j);n.zorigin&&(m=-n.zorigin,k=g*m-h[12],l=h*m-h[13],m=j*m+n.zorigin-h[14]),n.rotationx=o*i,o&&(w=math.cos(-o),x=math.sin(-o),t=c*w+g*x,u=d*w+h*x,v=e*w+j*x,g=c*-x+g*w,h=d*-x+h*w,j=e*-x+j*w,n=f*-x+n*w,c=t,d=u,e=v),o=math.atan2(-a,j),n.rotationy=o*i,o&&(w=math.cos(-o),x=math.sin(-o),t=y*w-g*x,u=z*w-h*x,v=a*w-j*x,h=z*x+h*w,j=a*x+j*w,n=b*x+n*w,y=t,z=u,a=v),o=math.atan2(z,y),n.rotation=o*i,o&&(w=math.cos(-o),x=math.sin(-o),y=y*w+c*x,u=z*w+d*x,d=z*-x+d*w,e=a*-x+e*w,z=u),n.rotationx&&math.abs(n.rotationx)+math.abs(n.rotation)>359.9&&(n.rotationx=n.rotation=0,n.rotationy=180-n.rotationy),n.scalex=(math.sqrt(y*y+z*z)*q+0.5|0)/q,n.scaley=(math.sqrt(d*d+h*h)*q+0.5|0)/q,n.scalez=(math.sqrt(e*e+j*j)*q+0.5|0)/q,n.skewx=0,n.perspective=n?1/(0>n?-n:n):0,n.x=k,n.y=l,n.z=m,n.svg&&(n.x-=n.xorigin-(n.xorigin*y-n.yorigin*c),n.y-=n.yorigin-(n.yorigin*z-n.xorigin*d))}else{if((!ba||f||!h.length||n.x!==h[4]||n.y!==h[5]||!n.rotationx&&!n.rotationy)&&(void 0===n.x||"none"!==x(a,"display",c))){var p=h.length>=6,q=p?h[0]:1,r=h[1]||0,s=h[2]||0,t=p?h[3]:1;n.x=h[4]||0,n.y=h[5]||0,j=math.sqrt(q*q+r*r),k=math.sqrt(t*t+s*s),l=q||r?math.atan2(r,q)*i:n.rotation||0,m=s||t?math.atan2(s,t)*i+l:n.skewx||0,math.abs(m)>90&&math.abs(m)<270&&(o?(j*=-1,m+=0>=l?180:-180,l+=0>=l?180:-180):(k*=-1,m+=0>=m?180:-180)),n.scalex=j,n.scaley=k,n.rotation=l,n.skewx=m,ba&&(n.rotationx=n.rotationy=n.z=0,n.perspective=s,n.scalez=1),n.svg&&(n.x-=n.xorigin-(n.xorigin*q+n.yorigin*s),n.y-=n.yorigin-(n.xorigin*r+n.yorigin*t))}}n.zorigin=r;for(i in n){n[i]-p&&(n[i]=0)}}return d&&(a._gstransform=n,n.svg&&(wa&&a.style[ya]?b.delayedcall(0.001,function(){pa(a.style,ya)}):!wa&&a.getattribute("transform")&&b.delayedcall(0.001,function(){a.removeattribute("transform")}))),n},ma=function(a){var b,c,d=this.data,e=-d.rotation*h,f=e+d.skewx*h,g=100000,h=(math.cos(e)*d.scalex*g|0)/g,i=(math.sin(e)*d.scalex*g|0)/g,j=(math.sin(f)*-d.scaley*g|0)/g,k=(math.cos(f)*d.scaley*g|0)/g,l=this.t.style,m=this.t.currentstyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetwidth,r=this.t.offsetheight,s="absolute"!==m.position,t="progid:dximagetransform.microsoft.matrix(m11="+h+", m12="+i+", m21="+j+", m22="+k,w=d.x+q*d.xpercent/100,x=d.y+r*d.ypercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*0.01:d.ox)-q/2,o=(d.oyp?r*d.oy*0.01:d.oy)-r/2,w+=n-(n*h+o*i),x+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", dx="+(n-(n*h+o*i)+w)+", dy="+(o-(n*j+o*k)+x)+")"):t+=", sizingmethod='auto expand')",-1!==b.indexof("dximagetransform.microsoft.matrix(")?l.filter=b.replace(f,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexof("dx=0, dy=0")||v.test(b)&&100!==parsefloat(regexp.$1)||-1===b.indexof(b.indexof("alpha"))&&l.removeattribute("filter")),!s){var y,z,a,b=8>p?1:-1;for(n=d.ieoffsetx||0,o=d.ieoffsety||0,d.ieoffsetx=math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+w),d.ieoffsety=math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+x),sa=0;4>sa;sa++){z=ba[sa],y=m[z],c=-1!==y.indexof("px")?parsefloat(y):y(this.t,z,parsefloat(y),y.replace(u,""))||0,a=c!==d[z]?2>sa?-d.ieoffsetx:-d.ieoffsety:2>sa?n-d.ieoffsetx:o-d.ieoffsety,l[z]=(d[z]=math.round(c-a*(0===sa||2===sa?1:b)))+"px"}}}},na=o.set3dtransformratio=o.settransformratio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,a=this.t.style,b=z.rotation,c=z.rotationx,d=z.rotationy,e=z.scalex,f=z.scaley,g=z.scalez,i=z.x,j=z.y,k=z.z,l=z.svg,m=z.perspective,n=z.force3d;if(((1===a||0===a)&&"auto"===n&&(this.tween._totaltime===this.tween._totalduration||!this.tween._totaltime)||!n)&&!k&&!m&&!d&&!c&&1===g||wa&&l||!ba){return void (b||z.skewx||l?(b*=h,x=z.skewx*h,y=100000,b=math.cos(b)*e,e=math.sin(b)*e,c=math.sin(b-x)*-f,f=math.cos(b-x)*f,x&&"simple"===z.skewtype&&(s=math.tan(x),s=math.sqrt(1+s*s),c*=s,f*=s,z.skewy&&(b*=s,e*=s)),l&&(i+=z.xorigin-(z.xorigin*b+z.yorigin*c)+z.xoffset,j+=z.yorigin-(z.xorigin*e+z.yorigin*f)+z.yoffset,wa&&(z.xpercent||z.ypercent)&&(p=this.t.getbbox(),i+=0.01*z.xpercent*p.width,j+=0.01*z.ypercent*p.height),p=0.000001,p>i&&i>-p&&(i=0),p>j&&j>-p&&(j=0)),u=(b*y|0)/y+","+(e*y|0)/y+","+(c*y|0)/y+","+(f*y|0)/y+","+i+","+j+")",l&&wa?this.t.setattribute("transform","matrix("+u):a[ya]=(z.xpercent||z.ypercent?"translate("+z.xpercent+"%,"+z.ypercent+"%) matrix(":"matrix(")+u):a[ya]=(z.xpercent||z.ypercent?"translate("+z.xpercent+"%,"+z.ypercent+"%) matrix(":"matrix(")+e+",0,0,"+f+","+i+","+j+")")}if(n&&(p=0.0001,p>e&&e>-p&&(e=g=0.00002),p>f&&f>-p&&(f=g=0.00002),!m||z.z||z.rotationx||z.rotationy||(m=0)),b||z.skewx){b*=h,q=b=math.cos(b),r=e=math.sin(b),z.skewx&&(b-=z.skewx*h,q=math.cos(b),r=math.sin(b),"simple"===z.skewtype&&(s=math.tan(z.skewx*h),s=math.sqrt(1+s*s),q*=s,r*=s,z.skewy&&(b*=s,e*=s))),c=-r,f=q}else{if(!(d||c||1!==g||m||l)){return void (a[ya]=(z.xpercent||z.ypercent?"translate("+z.xpercent+"%,"+z.ypercent+"%) translate3d(":"translate3d(")+i+"px,"+j+"px,"+k+"px)"+(1!==e||1!==f?" scale("+e+","+f+")":""))}b=f=1,c=e=0}j=1,d=g=h=i=k=l=0,m=m?-1/m:0,o=z.zorigin,p=0.000001,v=",",w="0",b=d*h,b&&(q=math.cos(b),r=math.sin(b),h=-r,k=m*-r,d=b*r,g=e*r,j=q,m*=q,b*=q,e*=q),b=c*h,b&&(q=math.cos(b),r=math.sin(b),s=c*q+d*r,t=f*q+g*r,i=j*r,l=m*r,d=c*-r+d*q,g=f*-r+g*q,j*=q,m*=q,c=s,f=t),1!==g&&(d*=g,g*=g,j*=g,m*=g),1!==f&&(c*=f,f*=f,i*=f,l*=f),1!==e&&(b*=e,e*=e,h*=e,k*=e),(o||l)&&(o&&(i+=d*-o,j+=g*-o,k+=j*-o+o),l&&(i+=z.xorigin-(z.xorigin*b+z.yorigin*c)+z.xoffset,j+=z.yorigin-(z.xorigin*e+z.yorigin*f)+z.yoffset),p>i&&i>-p&&(i=w),p>j&&j>-p&&(j=w),p>k&&k>-p&&(k=0)),u=z.xpercent||z.ypercent?"translate("+z.xpercent+"%,"+z.ypercent+"%) matrix3d(":"matrix3d(",u+=(p>b&&b>-p?w:b)+v+(p>e&&e>-p?w:e)+v+(p>h&&h>-p?w:h),u+=v+(p>k&&k>-p?w:k)+v+(p>c&&c>-p?w:c)+v+(p>f&&f>-p?w:f),c||d||1!==g?(u+=v+(p>i&&i>-p?w:i)+v+(p>l&&l>-p?w:l)+v+(p>d&&d>-p?w:d),u+=v+(p>g&&g>-p?w:g)+v+(p>j&&j>-p?w:j)+v+(p>m&&m>-p?w:m)+v):u+=",0,0,0,0,1,0,",u+=i+v+j+v+k+v+(m?1+-k/m:1)+")",a[ya]=u};j=ca.prototype,j.x=j.y=j.z=j.skewx=j.skewy=j.rotation=j.rotationx=j.rotationy=j.zorigin=j.xpercent=j.ypercent=j.xoffset=j.yoffset=0,j.scalex=j.scaley=j.scalez=1,ua("transform,scale,scalex,scaley,scalez,x,y,z,rotation,rotationx,rotationy,rotationz,skewx,skewy,shortrotation,shortrotationx,shortrotationy,shortrotationz,transformorigin,svgorigin,transformperspective,directionalrotation,parsetransform,force3d,skewtype,xpercent,ypercent,smoothorigin",{parser:function(a,b,c,d,f,h,i){if(d._lastparsedtransform===i){return f}d._lastparsedtransform=i;var j,k,l,m,n,o,p,q,r,s,t=a._gstransform,u=a.style,v=0.000001,w=xa.length,x=i,y={},z="transformorigin";if(i.display?(m=x(a,"display"),u.display="block",j=la(a,e,!0,i.parsetransform),u.display=m):j=la(a,e,!0,i.parsetransform),d._transform=j,"string"==typeof x.transform&&ya){m=m.style,m[ya]=x.transform,m.display="block",m.position="absolute",k.body.appendchild(m),k=la(m,null,!1),k.body.removechild(m),k.perspective||(k.perspective=j.perspective),null!=x.xpercent&&(k.xpercent=fa(x.xpercent,j.xpercent)),null!=x.ypercent&&(k.ypercent=fa(x.ypercent,j.ypercent))}else{if("object"==typeof x){if(k={scalex:fa(null!=x.scalex?x.scalex:x.scale,j.scalex),scaley:fa(null!=x.scaley?x.scaley:x.scale,j.scaley),scalez:fa(x.scalez,j.scalez),x:fa(x.x,j.x),y:fa(x.y,j.y),z:fa(x.z,j.z),xpercent:fa(x.xpercent,j.xpercent),ypercent:fa(x.ypercent,j.ypercent),perspective:fa(x.transformperspective,j.perspective)},q=x.directionalrotation,null!=q){if("object"==typeof q){for(m in q){x[m]=q[m]}}else{x.rotation=q}}"string"==typeof x.x&&-1!==x.x.indexof("%")&&(k.x=0,k.xpercent=fa(x.x,j.xpercent)),"string"==typeof x.y&&-1!==x.y.indexof("%")&&(k.y=0,k.ypercent=fa(x.y,j.ypercent)),k.rotation=ga("rotation" in x?x.rotation:"shortrotation" in x?x.shortrotation+"_short":"rotationz" in x?x.rotationz:j.rotation,j.rotation,"rotation",y),ba&&(k.rotationx=ga("rotationx" in x?x.rotationx:"shortrotationx" in x?x.shortrotationx+"_short":j.rotationx||0,j.rotationx,"rotationx",y),k.rotationy=ga("rotationy" in x?x.rotationy:"shortrotationy" in x?x.shortrotationy+"_short":j.rotationy||0,j.rotationy,"rotationy",y)),k.skewx=null==x.skewx?j.skewx:ga(x.skewx,j.skewx),k.skewy=null==x.skewy?j.skewy:ga(x.skewy,j.skewy),(l=k.skewy-j.skewy)&&(k.skewx+=l,k.rotation+=l)}}for(ba&&null!=x.force3d&&(j.force3d=x.force3d,p=!0),j.skewtype=x.skewtype||j.skewtype||g.defaultskewtype,o=j.force3d||j.z||j.rotationx||j.rotationy||k.z||k.rotationx||k.rotationy||k.perspective,o||null==x.scale||(k.scalez=1);--w>-1;){c=xa[w],n=k[c]-j[c],(n>v||-v>n||null!=x[c]||null!=j[c])&&(p=!0,f=new pa(j,c,j[c],n,f),c in y&&(f.e=y[c]),f.xs0=0,f.plugin=h,d._overwriteprops.push(f.n))}return n=x.transformorigin,j.svg&&(n||x.svgorigin)&&(r=j.xoffset,s=j.yoffset,ha(a,da(n),k,x.svgorigin,x.smoothorigin),f=qa(j,"xorigin",(t?j:k).xorigin,k.xorigin,f,z),f=qa(j,"yorigin",(t?j:k).yorigin,k.yorigin,f,z),(r!==j.xoffset||s!==j.yoffset)&&(f=qa(j,"xoffset",t?r:j.xoffset,j.xoffset,f,z),f=qa(j,"yoffset",t?s:j.yoffset,j.yoffset,f,z)),n=wa?null:"0px 0px"),(n||ba&&o&&j.zorigin)&&(ya?(p=!0,c=aa,n=(n||x(a,c,e,!1,"50% 50%"))+"",f=new pa(u,c,0,0,f,-1,z),f.b=u[c],f.plugin=h,ba?(m=j.zorigin,n=n.split(" "),j.zorigin=(n.length>2&&(0===m||"0px"!==n[2])?parsefloat(n[2]):m)||0,f.xs0=f.e=n[0]+" "+(n[1]||"50%")+" 0px",f=new pa(j,"zorigin",0,0,f,-1,f.n),f.b=m,f.xs0=f.e=j.zorigin):f.xs0=f.e=n):da(n+"",j)),p&&(d._transformtype=j.svg&&wa||!o&&3!==this._transformtype?2:3),f},prefix:!0}),ua("boxshadow",{defaultvalue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ua("borderradius",{defaultvalue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["bordertopleftradius","bordertoprightradius","borderbottomrightradius","borderbottomleftradius"],z=a.style;for(q=parsefloat(a.offsetwidth),r=parsefloat(a.offsetheight),i=b.split(" "),j=0;jp?1:0))||""):(p=parsefloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=y(a,"borderleft",o,t),w=y(a,"bordertop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=y(a,"borderleft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parsefloat(m)+p+s,k=parsefloat(l)+p+s)),g=ra(z,y[j],m+" "+l,n+" "+k,!1,"0px",g)}return g},prefix:!0,formatter:ma("0px 0px 0px 0px",!1,!0)}),ua("backgroundposition",{defaultvalue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||w(a,null),q=this.format((o?p?o.getpropertyvalue(n+"-x")+" "+o.getpropertyvalue(n+"-y"):o.getpropertyvalue(n):a.currentstyle.backgroundpositionx+" "+a.currentstyle.backgroundpositiony)||"0 0"),r=this.format(b);if(-1!==q.indexof("%")!=(-1!==r.indexof("%"))&&(m=x(a,"backgroundimage").replace(b,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),n.setattribute("src",m),j=2;--j>-1;){q=h[j],k=-1!==q.indexof("%"),k!==(-1!==i[j].indexof("%"))&&(l=0===j?a.offsetwidth-n.width:a.offsetheight-n.height,h[j]=k?parsefloat(q)/100*l+"px":parsefloat(q)/l*100+"%")}q=h.join(" ")}return this.parsecomplex(a.style,q,r,f,g)},formatter:da}),ua("backgroundsize",{defaultvalue:"0 0",formatter:da}),ua("perspective",{defaultvalue:"0px",prefix:!0}),ua("perspectiveorigin",{defaultvalue:"50% 50%",prefix:!0}),ua("transformstyle",{prefix:!0}),ua("backfacevisibility",{prefix:!0}),ua("userselect",{prefix:!0}),ua("margin",{parser:na("margintop,marginright,marginbottom,marginleft")}),ua("padding",{parser:na("paddingtop,paddingright,paddingbottom,paddingleft")}),ua("clip",{defaultvalue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentstyle,j=8>p?" ":",",h="rect("+i.cliptop+j+i.clipright+j+i.clipbottom+j+i.clipleft+")",b=this.format(b).split(",").join(j)):(h=this.format(x(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parsecomplex(a.style,h,b,f,g)}}),ua("textshadow",{defaultvalue:"0px 0px 0px #999",color:!0,multi:!0}),ua("autoround,strictunits",{parser:function(a,b,c,d,e){return e}}),ua("border",{defaultvalue:"0px solid #000",parser:function(a,b,c,d,f,g){return this.parsecomplex(a.style,this.format(x(a,"bordertopwidth",e,!1,"0px")+" "+x(a,"bordertopstyle",e,!1,"solid")+" "+x(a,"bordertopcolor",e,!1,"#000")),this.format(b),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(la)||["#000"])[0]}}),ua("borderwidth",{parser:na("bordertopwidth,borderrightwidth,borderbottomwidth,borderleftwidth")}),ua("float,cssfloat,stylefloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssfloat" in g?"cssfloat":"stylefloat";return new pa(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var oa=function(a){var b,c=this.t,d=c.filter||x(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexof("atrix(")&&-1===d.indexof("radient(")&&-1===d.indexof("oader(")?(c.removeattribute("filter"),b=!x(this.data,"filter")):(c.filter=d.replace(x,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexof("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(v,"opacity="+e))};ua("opacity,alpha,autoalpha",{defaultvalue:"1",parser:function(a,b,c,d,f,g){var h=parsefloat(x(a,"opacity",e,!1,"1")),i=a.style,j="autoalpha"===c;return"string"==typeof b&&"="===b.charat(1)&&(b=("-"===b.charat(0)?-1:1)*parsefloat(b.substr(2))+h),j&&1===h&&"hidden"===x(a,"visibility",e)&&0!==b&&(h=0),q?f=new pa(i,"opacity",h,b-h,f):(f=new pa(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setratio=oa),j&&(f=new pa(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteprops.push(f.n),d._overwriteprops.push(c)),f}});var pa=function(a,b){b&&(a.removeproperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeproperty(b.replace(z,"-$1").tolowercase())):a.removeattribute(b))},qa=function(a){if(this.t._gsclasspt=this,1===a||0===a){this.t.setattribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;){b.v?c[b.p]=b.v:pa(c,b.p),b=b._next}1===a&&this.t._gsclasspt===this&&(this.t._gsclasspt=null)}else{this.t.getattribute("class")!==this.e&&this.t.setattribute("class",this.e)}};ua("classname",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getattribute("class")||"",p=a.style.csstext;if(g=f._classnamept=new pa(a,d,0,0,g,2),g.setratio=qa,g.pr=-11,c=!0,g.b=o,k=$(a,e),l=a._gsclasspt){for(m={},n=l.data;n;){m[n.p]=1,n=n._next}l.setratio(1)}return a._gsclasspt=g,g.e="="!==b.charat(1)?b:o.replace(new regexp("\\s*\\b"+b.substr(2)+"\\b"),"")+("+"===b.charat(0)?" "+b.substr(2):""),a.setattribute("class",g.e),j=_(a,k,$(a),i,m),a.setattribute("class",o),g.data=j.firstmpt,a.style.csstext=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var ra=function(a){if((1===a||0===a)&&this.data._totaltime===this.data._totalduration&&"isfromstart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e){g.csstext="",e=!0}else{for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;){c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformorigin"===c?aa:i[c].p),pa(g,c)}}e&&(pa(g,ya),f=this.t._gstransform,f&&(f.svg&&(this.t.removeattribute("data-svg-origin"),this.t.removeattribute("transform")),delete this.t._gstransform))}};for(ua("clearprops",{parser:function(a,b,d,e,f){return f=new pa(a,d,0,0,f,2),f.setratio=ra,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwprops,physicsprops,physics2d".split(","),sa=j.length;sa--;){va(j[sa])}j=g.prototype,j._firstpt=j._lastparsedtransform=j._transform=null,j._oninittween=function(a,b,h){if(!a.nodetype){return !1}this._target=a,this._tween=h,this._vars=b,k=b.autoround,c=!1,d=b.suffixmap||g.suffixmap,e=w(a,""),f=this._overwriteprops;var j,n,p,q,r,s,t,u,v,x=a.style;if(l&&""===x.zindex&&(j=x(a,"zindex",e),("auto"===j||""===j)&&this._addlazyset(x,"zindex",0)),"string"==typeof b&&(q=x.csstext,j=$(a,e),x.csstext=q+";"+b,j=_(a,j,$(a)).difs,!q&&w.test(b)&&(j.opacity=parsefloat(regexp.$1)),b=j,x.csstext=q),b.classname?this._firstpt=n=i.classname.parse(a,b.classname,"classname",this,null,null,b):this._firstpt=n=this.parse(a,b,null),this._transformtype){for(v=3===this._transformtype,ya?m&&(l=!0,""===x.zindex&&(t=x(a,"zindex",e),("auto"===t||""===t)&&this._addlazyset(x,"zindex",0)),o&&this._addlazyset(x,"webkitbackfacevisibility",this._vars.webkitbackfacevisibility||(v?"visible":"hidden"))):x.zoom=1,p=n;p&&p._next;){p=p._next}u=new pa(a,"transform",0,0,null,2),this._linkcssp(u,null,p),u.setratio=ya?na:ma,u.data=this._transform||la(a,e,!0),u.tween=h,u.pr=-1,f.pop()}if(c){for(;n;){for(s=n._next,p=q;p&&p.pr>n.pr;){p=p._next}(n._prev=p?p._prev:r)?n._prev._next=n:q=n,(n._next=p)?p._prev=n:r=n,n=s}this._firstpt=q}return !0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,q,r,s=a.style;for(g in b){n=b[g],h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=x(a,g,e)+"",q="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexof("color")||q&&y.test(n)?(q||(n=ja(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=ra(s,g,m,n,!0,"transparent",c,0,f)):!q||-1===n.indexof(" ")&&-1===n.indexof(",")?(j=parsefloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=ca(a,g,e),o="px"):"left"===g||"top"===g?(j=z(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),r=q&&"="===n.charat(1),r?(l=parseint(n.charat(0)+"1",10),n=n.substr(2),l*=parsefloat(n),p=n.replace(u,"")):(l=parsefloat(n),p=q?n.replace(u,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(r?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=y(a,g,j,o),"%"===p?(j/=y(a,g,100,"%")/100,b.strictunits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=y(a,g,1,p):"px"!==p&&(l=y(a,g,l,p),p="px"),r&&(l||0===l)&&(n=l+j+p)),r&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==s[g]&&(n||n+""!="nan"&&null!=n)?(c=new pa(s,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexof("style")?n:m):s("invalid "+g+" tween value: "+b[g]):(c=new pa(s,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zindex"===g),0,m,n),c.xs0=p)):c=ra(s,g,m,n,!0,null,c,0,f)),f&&c&&!c.plugin&&(c.plugin=f)}return c},j.setratio=function(a){var b,c,d,e=this._firstpt,f=0.000001;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time){if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawprevtime===-0.000001){for(;e;){if(b=e.c*a+e.s,e.r?b=math.round(b):f>b&&b>-f&&(b=0),e.type){if(1===e.type){if(d=e.l,2===d){e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2}else{if(3===d){e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3}else{if(4===d){e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4}else{if(5===d){e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5}else{for(c=e.xs0+b+e.xs1,d=1;d-1;){ta(a[e],b,c)}}else{for(d=a.childnodes,e=d.length;--e>-1;){f=d[e],g=f.type,f.style&&(b.push($(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childnodes.length||ta(f,b,c)}}};return g.cascadeto=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedprops;for(a=i._targets||i.target,ta(a,k,m),i.render(c,!0,!0),ta(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;){if(f=_(m[e],k[e],l[e]),f.firstmpt){f=f.difs;for(g in d){n[g]&&(f[g]=d[g])}h={};for(g in f){h[g]=k[e][g]}j.push(b.fromto(m[e],c,h,f))}}return j},a.activate([g]),g},!0)}),_gsscope._gsdefine&&_gsscope._gsqueue.pop()(),function(a){var b=function(){return(_gsscope.greensockglobals||_gsscope)[a]};"function"==typeof define&&define.amd?define(["tweenlite"],b):"undefined"!=typeof module&&module.exports&&(require("../tweenlite.js"),module.exports=b())}("cssplugin"); /*! * version: 0.3.4 * date: 2015-08-15 * updates and docs at: http://greensock.com * * @license copyright (c) 2008-2016, greensock. all rights reserved. * splittext is a club greensock membership benefit; you must have a valid membership to use * this code without violating the terms of use. visit http://www.greensock.com/club/ to sign up or get more details. * this work is subject to the software agreement that was issued with your membership. * * @author: jack doyle, jack@greensock.com */ ;var _gsscope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;!function(a){var b=a.greensockglobals||a,c=function(a){var c,d=a.split("."),e=b;for(c=0;cb;b++){if(c=a[b],j(c)){for(d=c.length,d=0;d||
)/gi,n=f.all&&!f.addeventlistener,o="
":">")}},q=d.splittext=b.splittext=function(a,b){if("string"==typeof a&&(a=q.selector(a)),!a){throw"cannot split a null element."}this.elements=j(a)?k(a):[a],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=b||{},this.split(b)},r=function(a,b,c){var d=a.nodetype;if(1===d||9===d||11===d){for(a=a.firstchild;a;a=a.nextsibling){r(a,b,c)}}else{(3===d||4===d)&&(a.nodevalue=a.nodevalue.split(b).join(c))}},s=function(a,b){for(var c=b.length;--c>-1;){a.push(b[c])}},t=function(a,b,c,d,h){m.test(a.innerhtml)&&(a.innerhtml=a.innerhtml.replace(m,l));var j,k,n,o,q,t,u,v,w,x,y,z,a,b,c=e(a),d=b.type||b.split||"chars,words,lines",e=-1!==d.indexof("lines")?[]:null,f=-1!==d.indexof("words"),g=-1!==d.indexof("chars"),h="absolute"===b.position||b.absolute===!0,i=h?"­ ":" ",j=-999,k=g(a),l=i(a,"paddingleft",k),m=i(a,"borderbottomwidth",k)+i(a,"bordertopwidth",k),n=i(a,"borderleftwidth",k)+i(a,"borderrightwidth",k),o=i(a,"paddingtop",k)+i(a,"paddingbottom",k),p=i(a,"paddingleft",k)+i(a,"paddingright",k),q=i(a,"textalign",k,!0),r=a.clientheight,s=a.clientwidth,t="
",u=p(b.wordsclass),v=p(b.charsclass),w=-1!==(b.linesclass||"").indexof("++"),x=b.linesclass,y=-1!==c.indexof("<"),z=!0,$=[],_=[],aa=[];for(w&&(x=x.split("++").join("")),y&&(c=c.split("<").join("{{lt}}")),j=c.length,o=u(),q=0;j>q;q++){if(u=c.charat(q),")"===u&&c.substr(q,20)===l){o+=(z?t:"")+"
",z=!1,q!==j-20&&c.substr(q+20,20)!==l&&(o+=" "+u(),z=!0),q+=19}else{if(" "===u&&" "!==c.charat(q-1)&&q!==j-1&&c.substr(q-20,20)!==l){for(o+=z?t:"",z=!1;" "===c.charat(q+1);){o+=i,q++}(")"!==c.charat(q+1)||c.substr(q+1,20)!==l)&&(o+=i+u(),z=!0)}else{"{"===u&&"{{lt}}"===c.substr(q,6)?(o+=g?v()+"{{lt}}":"{{lt}}",q+=5):o+=g&&" "!==u?v()+u+"":u}}}for(a.innerhtml=o+(z?t:""),y&&r(a,"{{lt}}","<"),t=a.getelementsbytagname("*"),j=t.length,v=[],q=0;j>q;q++){v[q]=t[q]}if(e||h){for(q=0;j>q;q++){w=v[q],n=w.parentnode===a,(n||h||g&&!f)&&(x=w.offsettop,e&&n&&x!==j&&"br"!==w.nodename&&(k=[],e.push(k),j=x),h&&(w._x=w.offsetleft,w._y=x,w._w=w.offsetwidth,w._h=w.offsetheight),e&&(f!==n&&g||(k.push(w),w._x-=l),n&&q&&(v[q-1]._wordend=!0),"br"===w.nodename&&w.nextsibling&&"br"===w.nextsibling.nodename&&e.push([])))}}for(q=0;j>q;q++){w=v[q],n=w.parentnode===a,"br"!==w.nodename?(h&&(z=w.style,f||n||(w._x+=w.parentnode._x,w._y+=w.parentnode._y),z.left=w._x+"px",z.top=w._y+"px",z.position="absolute",z.display="block",z.width=w._w+1+"px",z.height=w._h+"px"),f?n&&""!==w.innerhtml?_.push(w):g&&$.push(w):n?(a.removechild(w),v.splice(q--,1),j--):!n&&g&&(x=!e&&!h&&w.nextsibling,a.appendchild(w),x||a.appendchild(f.createtextnode(" ")),$.push(w))):e||h?(a.removechild(w),v.splice(q--,1),j--):f||a.appendchild(w)}if(e){for(h&&(y=f.createelement("div"),a.appendchild(y),a=y.offsetwidth+"px",x=y.offsetparent===a?0:a.offsetleft,a.removechild(y)),z=a.style.csstext,a.style.csstext="display:none;";a.firstchild;){a.removechild(a.firstchild)}for(b=!h||!f&&!g,q=0;qt;t++){"br"!==k[t].nodename&&(w=k[t],y.appendchild(w),b&&(w._wordend||f)&&y.appendchild(f.createtextnode(" ")),h&&(0===t&&(y.style.top=w._y+"px",y.style.left=l+x+"px"),w.style.top="0px",x&&(w.style.left=w._x-x+"px")))}0===j&&(y.innerhtml=" "),f||g||(y.innerhtml=e(y).split(string.fromcharcode(160)).join(" ")),h&&(y.style.width=a,y.style.height=w._h+"px"),a.appendchild(y)}a.style.csstext=z}h&&(r>a.clientheight&&(a.style.height=r-o+"px",a.clientheighta.clientwidth&&(a.style.width=s-p+"px",a.clientwidth-1;){this._originals[b]=this.elements[b].innerhtml,t(this.elements[b],this.vars,this.chars,this.words,this.lines)}return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.issplit=!0,this},u.revert=function(){if(!this._originals){throw"revert() call wasn't scoped properly."}for(var a=this._originals.length;--a>-1;){this.elements[a].innerhtml=this._originals[a]}return this.chars=[],this.words=[],this.lines=[],this.issplit=!1,this},q.selector=a.$||a.jquery||function(b){var c=a.$||a.jquery;return c?(q.selector=c,c(b)):"undefined"==typeof document?b:document.queryselectorall?document.queryselectorall(b):document.getelementbyid("#"===b.charat(0)?b.substr(1):b)},q.version="0.3.4"}(_gsscope),function(a){var b=function(){return(_gsscope.greensockglobals||_gsscope)[a]};"function"==typeof define&&define.amd?define(["tweenlite"],b):"undefined"!=typeof module&&module.exports&&(module.exports=b())}("splittext");try{window.greensockglobals=null;window._gsqueue=null;window._gsdefine=null;delete (window.greensockglobals);delete (window._gsqueue);delete (window._gsdefine)}catch(e){}try{window.greensockglobals=oldgs;window._gsqueue=oldgs_queue}catch(e){}if(window.tplogs==true){try{console.groupend()}catch(e){}}(function(e,t){e.waitforimages={hasimageproperties:["backgroundimage","liststyleimage","borderimage","bordercornerimage"]};e.expr[":"].uncached=function(t){var n=document.createelement("img");n.src=t.src;return e(t).is('img[src!=""]')&&!n.complete};e.fn.waitforimages=function(t,n,r){if(e.isplainobject(arguments[0])){n=t.each;r=t.waitforall;t=t.finished}t=t||e.noop;n=n||e.noop;r=!!r;if(!e.isfunction(t)||!e.isfunction(n)){throw new typeerror("an invalid callback was supplied.")}return this.each(function(){var i=e(this),s=[];if(r){var o=e.waitforimages.hasimageproperties||[],u=/url\((['"]?)(.*?)\1\)/g;i.find("*").each(function(){var t=e(this);if(t.is("img:uncached")){s.push({src:t.attr("src"),element:t[0]})}e.each(o,function(e,n){var r=t.css(n);if(!r){return true}var i;while(i=u.exec(r)){s.push({src:i[2],element:t[0]})}})})}else{i.find("img:uncached").each(function(){s.push({src:this.src,element:this})})}var f=s.length,l=0;if(f==0){t.call(i[0])}e.each(s,function(r,s){var o=new image;e(o).bind("load error",function(e){l++;n.call(s.element,l,f,e.type=="load");if(l==f){t.call(i[0]);return false}});o.src=s.src})})}})(jquery);