if(function(t){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(function(t){function e(e){return!e||void 0!==e.allowPageScroll||void 0===e.swipe&&void 0===e.swipeStatus||(e.allowPageScroll=h),void 0!==e.click&&void 0===e.tap&&(e.tap=e.click),e||(e={}),e=t.extend({},t.fn.swipetp.defaults,e),this.each(function(){var n=t(this),r=n.data(k);r||(r=new i(this,e),n.data(k,r))})}function i(e,i){function C(e){if(!(ht()||t(e.target).closest(i.excludedElements,Gt).length>0)){var n,r=e.originalEvent?e.originalEvent:e,s=r.touches,a=s?s[0]:r;return Wt=y,s?Ut=s.length:e.preventDefault(),Nt=0,Ft=null,Yt=null,It=0,Xt=0,zt=0,Bt=1,jt=0,qt=dt(),Vt=mt(),ot(),!s||Ut===i.fingers||i.fingers===v||V()?(pt(0,a),Qt=Ot(),2==Ut&&(pt(1,s[1]),Xt=zt=yt(qt[0].start,qt[1].start)),(i.swipeStatus||i.pinchStatus)&&(n=N(r,Wt))):n=!1,!1===n?(Wt=b,N(r,Wt),n):(i.hold&&(te=setTimeout(t.proxy(function(){Gt.trigger("hold",[r.target]),i.hold&&(n=i.hold.call(Gt,r,r.target))},this),i.longTapThreshold)),ut(!0),null)}}function A(t){var e=t.originalEvent?t.originalEvent:t;if(Wt!==T&&Wt!==b&&!lt()){var n,r=e.touches,s=ft(r?r[0]:e);if(Ht=Ot(),r&&(Ut=r.length),i.hold&&clearTimeout(te),Wt=w,2==Ut&&(0==Xt?(pt(1,r[1]),Xt=zt=yt(qt[0].start,qt[1].start)):(ft(r[1]),zt=yt(qt[0].end,qt[1].end),Yt=Tt(qt[0].end,qt[1].end)),Bt=wt(Xt,zt),jt=Math.abs(Xt-zt)),Ut===i.fingers||i.fingers===v||!r||V()){if(Ft=St(s.start,s.end),j(t,Ft),Nt=bt(s.start,s.end),It=xt(),_t(Ft,Nt),(i.swipeStatus||i.pinchStatus)&&(n=N(e,Wt)),!i.triggerOnTouchEnd||i.triggerOnTouchLeave){var a=!0;if(i.triggerOnTouchLeave){var o=kt(this);a=Ct(s.end,o)}!i.triggerOnTouchEnd&&a?Wt=L(w):i.triggerOnTouchLeave&&!a&&(Wt=L(T)),Wt!=b&&Wt!=T||N(e,Wt)}}else N(e,Wt=b);!1===n&&N(e,Wt=b)}}function R(t){var e=t.originalEvent?t.originalEvent:t,n=e.touches;return n&&n.length?(at(),!0):(lt()&&(Ut=$t),Ht=Ot(),It=xt(),X()||!I()?N(e,Wt=b):i.triggerOnTouchEnd||0==i.triggerOnTouchEnd&&Wt===w?(t.preventDefault(),N(e,Wt=T)):!i.triggerOnTouchEnd&&Z()?F(e,Wt=T,c):Wt===w&&N(e,Wt=b),ut(!1),null)}function M(){Ut=0,Ht=0,Qt=0,Xt=0,zt=0,Bt=1,ot(),ut(!1)}function E(t){var e=t.originalEvent?t.originalEvent:t;i.triggerOnTouchLeave&&N(e,Wt=L(T))}function D(){Gt.unbind(Rt,C),Gt.unbind(Lt,M),Gt.unbind(Mt,A),Gt.unbind(Et,R),Dt&&Gt.unbind(Dt,E),ut(!1)}function L(t){var e=t,n=B(),r=I(),s=X();return!n||s?e=b:!r||t!=w||i.triggerOnTouchEnd&&!i.triggerOnTouchLeave?!r&&t==T&&i.triggerOnTouchLeave&&(e=b):e=T,e}function N(t,e){var i,n=t.touches;return q()||U()||G()||V()?((q()||U())&&(i=F(t,e,p)),(G()||V())&&!1!==i&&(i=F(t,e,f))):rt()&&!1!==i?i=F(t,e,d):st()&&!1!==i?i=F(t,e,_):nt()&&!1!==i&&(i=F(t,e,c)),e===b&&M(t),e===T&&(n?n.length||M(t):M(t)),i}function F(e,h,u){var g;if(u==p){if(Gt.trigger("swipeStatus",[h,Ft||null,Nt||0,It||0,Ut,qt]),i.swipeStatus&&!1===(g=i.swipeStatus.call(Gt,e,h,Ft||null,Nt||0,It||0,Ut,qt)))return!1;if(h==T&&W()){if(Gt.trigger("swipe",[Ft,Nt,It,Ut,qt]),i.swipe&&!1===(g=i.swipe.call(Gt,e,Ft,Nt,It,Ut,qt)))return!1;switch(Ft){case n:Gt.trigger("swipeLeft",[Ft,Nt,It,Ut,qt]),i.swipeLeft&&(g=i.swipeLeft.call(Gt,e,Ft,Nt,It,Ut,qt));break;case r:Gt.trigger("swipeRight",[Ft,Nt,It,Ut,qt]),i.swipeRight&&(g=i.swipeRight.call(Gt,e,Ft,Nt,It,Ut,qt));break;case s:Gt.trigger("swipeUp",[Ft,Nt,It,Ut,qt]),i.swipeUp&&(g=i.swipeUp.call(Gt,e,Ft,Nt,It,Ut,qt));break;case a:Gt.trigger("swipeDown",[Ft,Nt,It,Ut,qt]),i.swipeDown&&(g=i.swipeDown.call(Gt,e,Ft,Nt,It,Ut,qt))}}}if(u==f){if(Gt.trigger("pinchStatus",[h,Yt||null,jt||0,It||0,Ut,Bt,qt]),i.pinchStatus&&!1===(g=i.pinchStatus.call(Gt,e,h,Yt||null,jt||0,It||0,Ut,Bt,qt)))return!1;if(h==T&&Y())switch(Yt){case o:Gt.trigger("pinchIn",[Yt||null,jt||0,It||0,Ut,Bt,qt]),i.pinchIn&&(g=i.pinchIn.call(Gt,e,Yt||null,jt||0,It||0,Ut,Bt,qt));break;case l:Gt.trigger("pinchOut",[Yt||null,jt||0,It||0,Ut,Bt,qt]),i.pinchOut&&(g=i.pinchOut.call(Gt,e,Yt||null,jt||0,It||0,Ut,Bt,qt))}}return u==c?h!==b&&h!==T||(clearTimeout(Jt),clearTimeout(te),$()&&!tt()?(Kt=Ot(),Jt=setTimeout(t.proxy(function(){Kt=null,Gt.trigger("tap",[e.target]),i.tap&&(g=i.tap.call(Gt,e,e.target))},this),i.doubleTapThreshold)):(Kt=null,Gt.trigger("tap",[e.target]),i.tap&&(g=i.tap.call(Gt,e,e.target)))):u==d?h!==b&&h!==T||(clearTimeout(Jt),Kt=null,Gt.trigger("doubletap",[e.target]),i.doubleTap&&(g=i.doubleTap.call(Gt,e,e.target))):u==_&&(h!==b&&h!==T||(clearTimeout(Jt),Kt=null,Gt.trigger("longtap",[e.target]),i.longTap&&(g=i.longTap.call(Gt,e,e.target)))),g}function I(){var t=!0;return null!==i.threshold&&(t=Nt>=i.threshold),t}function X(){var t=!1;return null!==i.cancelThreshold&&null!==Ft&&(t=gt(Ft)-Nt>=i.cancelThreshold),t}function z(){return null===i.pinchThreshold||jt>=i.pinchThreshold}function B(){return!i.maxTimeThreshold||!(It>=i.maxTimeThreshold)}function j(t,e){if(!1!==i.preventDefaultEvents)if(i.allowPageScroll===h)t.preventDefault();else{var o=i.allowPageScroll===u;switch(e){case n:(i.swipeLeft&&o||!o&&i.allowPageScroll!=g)&&t.preventDefault();break;case r:(i.swipeRight&&o||!o&&i.allowPageScroll!=g)&&t.preventDefault();break;case s:(i.swipeUp&&o||!o&&i.allowPageScroll!=m)&&t.preventDefault();break;case a:(i.swipeDown&&o||!o&&i.allowPageScroll!=m)&&t.preventDefault()}}}function Y(){var t=Q(),e=H(),i=z();return t&&e&&i}function V(){return!!(i.pinchStatus||i.pinchIn||i.pinchOut)}function G(){return!(!Y()||!V())}function W(){var t=B(),e=I(),i=Q(),n=H();return!X()&&n&&i&&e&&t}function U(){return!!(i.swipe||i.swipeStatus||i.swipeLeft||i.swipeRight||i.swipeUp||i.swipeDown)}function q(){return!(!W()||!U())}function Q(){return Ut===i.fingers||i.fingers===v||!P}function H(){return 0!==qt[0].end.x}function Z(){return!!i.tap}function $(){return!!i.doubleTap}function K(){return!!i.longTap}function J(){if(null==Kt)return!1;var t=Ot();return $()&&t-Kt<=i.doubleTapThreshold}function tt(){return J()}function et(){return(1===Ut||!P)&&(isNaN(Nt)||Nti.longTapThreshold&&Nt=0?n:i<=360&&i>=315?n:i>=135&&i<=225?r:i>45&&i<135?a:s}function Ot(){return(new Date).getTime()}function kt(e){var i=(e=t(e)).offset();return{left:i.left,right:i.left+e.outerWidth(),top:i.top,bottom:i.top+e.outerHeight()}}function Ct(t,e){return t.x>e.left&&t.xe.top&&t.y-1;)(p=g[s[v]]||new m(s[v],[])).gsClass?(l[v]=p.gsClass,x--):h&&p.sc.push(this);if(0===x&&a){if(f=("com.greensock."+n).split("."),c=f.pop(),d=u(f.join("."))[c]=this.gsClass=a.apply(a,l),o)if(r[c]=i[c]=d,!(_="undefined"!=typeof module&&module.exports)&&"function"==typeof define&&define.amd)define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+n.split(".").pop(),[],function(){return d});else if(_)if(n===e){module.exports=i[e]=d;for(v in i)d[v]=i[v]}else i[e]&&(i[e][c]=d);for(v=0;v-1;)for(s=l[h],r=n?x("easing."+s,null,!0):p.easing[s]||{},a=u.length;--a>-1;)o=u[a],T[s+"."+o]=T[o+s]=r[o]=t.getRatio?t:t[o]||new t};for((o=w.prototype)._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},a=(s=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)o=s[a]+",Power"+a,b(new w(null,null,1,a),o,"easeOut",!0),b(new w(null,null,2,a),o,"easeIn"+(0===a?",easeNone":"")),b(new w(null,null,3,a),o,"easeInOut");T.linear=p.easing.Linear.easeIn,T.swing=p.easing.Quad.easeInOut;var P=x("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(o=P.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var s,a,o=this._listeners[t],u=0;for(this!==l||h||l.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)s=o[a],s.c===e&&s.s===i?o.splice(a,1):0===u&&s.pr-1;)if(n[i].c===e)return void n.splice(i,1)},o.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(n=r[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var S=t.requestAnimationFrame,O=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},C=k();for(a=(s=["ms","moz","webkit","o"]).length;--a>-1&&!S;)S=t[s[a]+"RequestAnimationFrame"],O=t[s[a]+"CancelAnimationFrame"]||t[s[a]+"CancelRequestAnimationFrame"];x("Ticker",function(t,e){var i,r,s,a,o,u=this,p=k(),c=!(!1===e||!S)&&"auto",_=500,g=33,m=function(t){var e,n,l=k()-C;l>_&&(p+=l-g),C+=l,u.time=(C-p)/1e3,e=u.time-o,(!i||e>0||!0===t)&&(u.frame++,o+=e+(e>=a?.004:a-e),n=!0),!0!==t&&(s=r(m)),n&&u.dispatchEvent("tick")};P.call(u),u.time=u.frame=0,u.tick=function(){m(!0)},u.lagSmoothing=function(t,e){_=t||1/f,g=Math.min(e,_,0)},u.sleep=function(){null!=s&&(c&&O?O(s):clearTimeout(s),r=d,s=null,u===l&&(h=!1))},u.wake=function(t){null!==s?u.sleep():t?p+=-C+(C=k()):u.frame>10&&(C=k()-_+5),r=0===i?d:c&&S?S:function(t){return setTimeout(t,1e3*(o-u.time)+1|0)},u===l&&(h=!0),m(2)},u.fps=function(t){return arguments.length?(i=t,a=1/(i||60),o=this.time+a,void u.wake()):i},u.useRAF=function(t){return arguments.length?(u.sleep(),c=t,void u.fps(i)):c},u.fps(t),setTimeout(function(){"auto"===c&&u.frame<5&&"hidden"!==n.visibilityState&&u.useRAF(!1)},1500)}),(o=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var A=x("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,Q){h||l.wake();var i=this.vars.useFrames?q:Q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});l=A.ticker=new p.Ticker,(o=A.prototype)._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;var R=function(){h&&k()-C>2e3&&l.wake(),setTimeout(R,2e3)};R(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(t,e,i){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},o.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},o._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},o.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=_(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(h||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(N.length&&Z(),this.render(t,e,!1),N.length&&Z())}return this},o.progress=o.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},o.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},o.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||f,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},o.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(h||t||l.wake(),e=n.rawTime(),i=e-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var M=x("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(o=M.prototype=new A).constructor=M,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(t,e,i,n){var r,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(s=t._startTime;r&&r._startTime>s;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},o.rawTime=function(){return h||l.wake(),this._totalTime};var E=x("TweenLite",function(e,i,n){if(A.call(this,i,n),this.render=E.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:E.selector(e)||e;var r,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?U[E.defaultOverwrite]:"number"==typeof l?l>>0:U[l],(o||e instanceof Array||e.push&&_(e))&&"number"!=typeof e[0])for(this._targets=a=c(e),this._propLookup=[],this._siblings=[],r=0;r1&&J(s,this,null,1,this._siblings[r])):"string"==typeof(s=a[r--]=E.selector(s))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=$(e,this,!1),1===l&&this._siblings.length>1&&J(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-f,this.render(Math.min(0,-this._delay)))},!0),D=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},L=function(t,e){var i,n={};for(i in t)W[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!Y[i]||Y[i]&&Y[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};(o=E.prototype=new A).constructor=E,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,E.version="1.19.1",E.defaultEase=o._ease=new w(null,null,1,1),E.defaultOverwrite="auto",E.ticker=l,E.autoSleep=120,E.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},E.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(E.selector=i,i(e)):void 0===n?e:n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e)};var N=[],F={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,X=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m(e,this._target||i.t):1e-6>e&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},z=function(t,e,i,n){var r,s,a,o,l,h,u,p=[],f=0,c="",d=0;for(p.start=t,p.end=e,t=p[0]=t+"",e=p[1]=e+"",i&&(i(p),t=p[0],e=p[1]),p.length=0,r=t.match(I)||[],s=e.match(I)||[],n&&(n._next=null,n.blob=1,p._firstPT=p._applyPT=n),l=s.length,o=0;l>o;o++)u=s[o],h=e.substr(f,e.indexOf(u,f)-f),c+=h||!o?h:",",f+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),u===r[o]||r.length<=o?c+=u:(c&&(p.push(c),c=""),a=parseFloat(r[o]),p.push(a),p._firstPT={_next:p._firstPT,t:p,p:p.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:d&&4>d?Math.round:0}),f+=u.length;return(c+=e.substr(f))&&p.push(c),p.setRatio=X,p},B=function(t,e,i,n,r,s,a,o,l){"function"==typeof n&&(n=n(l||0,t));var h,u=typeof t[e],p="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:p?a?t[p](a):t[p]():t[e],c="string"==typeof n&&"="===n.charAt(1),d={t:t,p:e,s:f,f:"function"===u,pg:0,n:r||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:c?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-f||0};return("number"!=typeof f||"number"!=typeof n&&!c)&&(a||isNaN(f)||!c&&isNaN(n)||"boolean"==typeof f||"boolean"==typeof n?(d.fp=a,h=z(f,c?d.s+d.c:n,o||E.defaultStringFilter,d),d={t:h,p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(d.s=parseFloat(f),c||(d.c=parseFloat(n)-d.s||0))),d.c?((d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d):void 0},j=E._internals={isArray:_,isSelector:D,lazyTweens:N,blobDif:z},Y=E._plugins={},V=j.tweenLookup={},G=0,W=j.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,id:1},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},q=A._rootFramesTimeline=new M,Q=A._rootTimeline=new M,H=30,Z=j.lazyRender=function(){var t,e=N.length;for(F={};--e>-1;)(t=N[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};Q._startTime=l.time,q._startTime=l.frame,Q._active=q._active=!0,setTimeout(Z,1),A._updateRoot=E.render=function(){var t,e,i;if(N.length&&Z(),Q.render((l.time-Q._startTime)*Q._timeScale,!1,!1),q.render((l.frame-q._startTime)*q._timeScale,!1,!1),N.length&&Z(),l.frame>=H){H=l.frame+(parseInt(E.autoSleep,10)||120);for(i in V){for(t=(e=V[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete V[i]}if((!(i=Q._first)||i._paused)&&E.autoSleep&&!q._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",A._updateRoot);var $=function(t,e,i){var n,r,s=t._gsTweenID;if(V[s||(t._gsTweenID=s="t"+G++)]||(V[s]={target:t,tweens:[]}),e&&(n=V[s].tweens,n[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return V[s].tweens},K=function(t,e,i,n){var r,s,a=t.vars.onOverwrite;return a&&(r=a(t,e,i,n)),(a=E.onOverwrite)&&(s=a(t,e,i,n)),!1!==r&&!1!==s},J=function(t,e,i,n,r){var s,a,o,l;if(1===n||n>=4){for(l=r.length,s=0;l>s;s++)if((o=r[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===n)break;return a}var h,u=e._startTime+f,p=[],c=0,d=0===e._duration;for(s=r.length;--s>-1;)(o=r[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||tt(e,0,d),0===tt(o,h,d)&&(p[c++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((d||!o._initted)&&u-o._startTime<=2e-10||(p[c++]=o)));for(s=c;--s>-1;)if(o=p[s],2===n&&o._kill(i,t,e)&&(a=!0),2!==n||!o._firstPT&&o._initted){if(2!==n&&!K(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},tt=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return s/=r,s>e?s-e:i&&s===e||!t._initted&&2*f>s-e?f:(s+=t.totalDuration()/t._timeScale/r)>e+f?0:s-e-f};o._init=function(){var t,e,i,n,r,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,u=a.ease;if(a.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={};for(n in a.startAt)r[n]=a.startAt[n];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==a.lazy,r.startAt=r.delay=null,this._startAt=E.to(this.target,0,r),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(h=!1),i={};for(n in a)W[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=E.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof w?u:"function"==typeof u?new w(u,a.easeParams):T[u]||E.defaultEase:E.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&E._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},o._initProps=function(e,i,n,r,s){var a,o,l,h,u,p;if(null==e)return!1;F[e._gsTweenID]&&Z(),this.vars.css||e.style&&e!==t&&e.nodeType&&Y.css&&!1!==this.vars.autoCSS&&L(this.vars,e);for(a in this.vars)if(p=this.vars[a],W[a])p&&(p instanceof Array||p.push&&_(p))&&-1!==p.join("").indexOf("{self}")&&(this.vars[a]=p=this._swapSelfInParams(p,this));else if(Y[a]&&(h=new Y[a])._onInitTween(e,this.vars[a],this,s)){for(this._firstPT=u={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=B.call(this,e,a,"get",p,a,0,null,this.vars.stringFilter,s);return r&&this._kill(r,e)?this._initProps(e,i,n,r,s):this._overwrite>1&&this._firstPT&&n.length>1&&J(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,r,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},o.render=function(t,e,i){var n,r,s,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0>h||0>=t&&t>=-1e-7||h===f&&"isPause"!==this.data)&&h!==t&&(i=!0,h>f&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:f);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&h>0)&&(r="onReverseComplete",n=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(h!==f||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:f)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,p=this._easeType,c=this._easePower;(1===p||3===p&&u>=.5)&&(u=1-u),3===p&&(u*=2),1===c?u*=u:2===c?u*=u*u:3===c?u*=u*u*u:4===c&&(u*=u*u*u*u),this.ratio=1===p?1-u:2===p?u:.5>t/l?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=h,N.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==o||n||i)&&this._callback("onUpdate")),r&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&this._rawPrevTime===f&&a!==f&&(this._rawPrevTime=0))}},o._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:E.selector(e)||e;var n,r,s,a,o,l,h,u,p,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((_(e)||D(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){o=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==r&&"all"!==r&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(E.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(p||(p=[]),p.push(s));if((p||!t)&&!K(this,i,e,p))return!1}for(s in h)(a=o[s])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(r[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},o.invalidate=function(){return this._notifyPluginsOfEnabled&&E._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],A.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-f,this.render(Math.min(0,-this._delay))),this},o._enabled=function(t,e){if(h||l.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=$(n[i],this,!0);else this._siblings=$(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&E._onPluginEvent(t?"_onEnable":"_onDisable",this)},E.to=function(t,e,i){return new E(t,e,i)},E.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new E(t,e,i)},E.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new E(t,e,n)},E.delayedCall=function(t,e,i,n,r){return new E(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},E.set=function(t,e){return new E(t,0,e)},E.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:E.selector(t)||t;var i,n,r,s;if((_(t)||D(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(E.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(s=n[i],r=i;--r>-1;)s===n[r]&&n.splice(i,1)}else for(n=$(t).concat(),i=n.length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n},E.killTweensOf=E.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=E.getTweensOf(t,e),r=n.length;--r>-1;)n[r]._kill(i,t)};var et=x("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=et.prototype},!0);if(o=et.prototype,et.version="1.19.0",et.API=2,o._firstPT=null,o._addTween=B,o.setRatio=X,o._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},o._mod=o._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},E._onPluginEvent=function(t,e){var i,n,r,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:s)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:s=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},et.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===et.API&&(Y[(new t[e])._propName]=t[e]);return!0},v.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=x("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){et.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),o=a.prototype=new et(i);o.constructor=a,a.API=t.API;for(e in s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,et.activate([a]),a},s=t._gsQueue){for(a=0;at._rawPrevTime||0===t._rawPrevTime&&a._reversed,u=h?0:r,f=h?r:0;if(e||!this._forcingPlayhead){for(a.pause(l),s=t._prev;s&&s._startTime===l;)s._rawPrevTime=f,s=s._prev;for(s=t._next;s&&s._startTime===l;)s._rawPrevTime=u,s=s._next;e&&e.apply(n||a.vars.callbackScope||a,i||p),(this._forcingPlayhead||!a._paused)&&a.seek(o)}},_=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=n.prototype=new e;return n.version="1.17.0",g.constructor=n,g.kill()._gc=g._forcingPlayhead=!1,g.to=function(t,e,n,r){var s=n.repeat&&f.TweenMax||i;return e?this.add(new s(t,e,n),r):this.set(t,n,r)},g.from=function(t,e,n,r){return this.add((n.repeat&&f.TweenMax||i).from(t,e,n),r)},g.fromTo=function(t,e,n,r,s){var a=r.repeat&&f.TweenMax||i;return e?this.add(a.fromTo(t,e,n,r),s):this.set(t,r,s)},g.staggerTo=function(t,e,r,s,a,l,h,u){var p,f=new n({onComplete:l,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=_(t)),0>(s=s||0)&&((t=_(t)).reverse(),s*=-1),p=0;t.length>p;p++)r.startAt&&(r.startAt=c(r.startAt)),f.to(t[p],e,c(r),p*s);return this.add(f,a)},g.staggerFrom=function(t,e,i,n,r,s,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,r,s,a,o)},g.staggerFromTo=function(t,e,i,n,r,s,a,o,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,r,s,a,o,l)},g.call=function(t,e,n,r){return this.add(i.delayedCall(0,t,e,n),r)},g.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var r,s,a=new n(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,r=o._first;r;)s=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||a.add(r,r._startTime-r._delay),r=s;return o.add(a,0),a},g.add=function(r,s,a,o){var h,u,p,f,c,d;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&l(r)){for(a=a||"normal",o=o||0,h=s,u=r.length,p=0;u>p;p++)l(f=r[p])&&(f=new n({tweens:f})),this.add(f,h),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?h=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),h+=o;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,s);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,s),(this._gc||this._time===this._duration)&&!this._paused&&this._durationr._startTime;c._timeline;)d&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},g.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&l(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){e.prototype._remove.call(this,t,i);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},g.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,n,r){var s=i.delayedCall(0,d,["{self}",e,n,r],this);return s.data="isPause",this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,n,r){var s;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(s=r.length;--s>-1;)r[s]instanceof t&&r[s].timeline===this&&this.remove(r[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(s=e.indexOf("=")))return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,n):this.duration()}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,a,o,l,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,c=this._startTime,d=this._timeScale,_=this._paused;if(t>=p)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>r&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=p+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(o="onReverseComplete",s=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=s=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;t=0,this._initted||(l=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(e||this._callback("onStart")),this._time>=f)for(n=this._first;n&&(a=n._next,!this._paused||_);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;else for(n=this._last;n&&(a=n._prev,!this._paused||_);)(n._active||f>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;this._onUpdate&&(e||(h.length&&u(),this._callback("onUpdate"))),o&&(this._gc||(c===this._startTime||d!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(s&&(h.length&&u(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,n,r){r=r||-9999999999;for(var s=[],a=this._first,o=0;a;)r>a._startTime||(a instanceof i?!1!==e&&(s[o++]=a):(!1!==n&&(s[o++]=a),!1!==t&&(s=s.concat(a.getChildren(!0,e,n)),o=s.length))),a=a._next;return s},g.getTweensOf=function(t,e){var n,r,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),r=(n=i.getTweensOf(t)).length;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(a[o++]=n[r]);return s&&this._enabled(!1,!0),a},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,s=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(){this._forcingPlayhead=!0;var e=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,s=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>s&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):s=r._startTime,0>r._startTime&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),s=0),(i=r._startTime+r._totalDuration/r._timeScale)>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineLite};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,r=_gsScope.GreenSockGlobals||_gsScope,s=r.com.greensock,a=2*Math.PI,o=Math.PI/2,l=s._class,h=function(e,i){var n=l("easing."+e,function(){},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,n},u=t.register||function(){},p=function(t,e,i,n,r){var s=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return u(s,t),s},f=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},c=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,r.config=function(t){return new n(t)},n},d=p("Back",c("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),c("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),c("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),_=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=_.prototype=new t;return g.constructor=_,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},_.ease=new _(.7,.7),g.config=_.config=function(t,e,i){return new _(t,e,i)},e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},i=l("easing.RoughEase",function(e){for(var i,n,r,s,a,o,l=(e=e||{}).taper||"none",h=[],u=0,p=0|(e.points||20),c=p,d=!1!==e.randomize,_=!0===e.clamp,g=e.template instanceof t?e.template:null,m="number"==typeof e.strength?.4*e.strength:.4;--c>-1;)i=d?Math.random():1/p*c,n=g?g.getRatio(i):i,"none"===l?r=m:"out"===l?(s=1-i,r=s*s*m):"in"===l?r=i*i*m:.5>i?(s=2*i,r=s*s*.5*m):(s=2*(1-i),r=s*s*.5*m),d?n+=Math.random()*r-.5*r:c%2?n+=.5*r:n-=.5*r,_&&(n>1?n=1:0>n&&(n=0)),h[u++]={x:i,y:n};for(h.sort(function(t,e){return t.x-e.x}),o=new f(1,1,null),c=p;--c>-1;)a=h[c],o=new f(a.x,a.y,o);this._prev=new f(0,0,0!==o.t?o:o.next)},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,p("Bounce",h("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),h("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),h("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),p("Circ",h("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),h("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),h("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var r=l("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=r.prototype=new t;return s.constructor=r,s.getRatio=i,s.config=function(t,e){return new r(t,e)},r},p("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),p("Expo",h("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),h("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),h("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),p("Sine",h("SineOut",function(t){return Math.sin(t*o)}),h("SineIn",function(t){return 1-Math.cos(t*o)}),h("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),u(r.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(e,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";var t=function(){return _gsScope.GreenSockGlobals||_gsScope};"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=t())}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,s,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=_gsScope._gsDefine.globals,l={},h=a.prototype=new t("css");h.constructor=a,a.version="1.19.1",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,h="px",a.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var u,p,f,c,d,_,g,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,x=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,b=/opacity *= *([^)]*)/i,P=/opacity:([^;]*)/i,S=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,k=/([A-Z])/g,C=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,R=function(t,e){return e.toUpperCase()},M=/(?:Left|Right|Width)/i,E=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,F=Math.PI/180,I=180/Math.PI,X={},z={style:{}},B=_gsScope.document||{createElement:function(){return z}},j=function(t,e){return B.createElementNS?B.createElementNS(e||"http://www.w3.org/1999/xhtml",t):B.createElement(t)},Y=j("div"),V=j("img"),G=a._internals={_specialProps:l},W=(_gsScope.navigator||{}).userAgent||"",U=function(){var t=W.indexOf("Android"),e=j("a");return f=-1!==W.indexOf("Safari")&&-1===W.indexOf("Chrome")&&(-1===t||parseFloat(W.substr(t+8,2))>3),d=f&&parseFloat(W.substr(W.indexOf("Version/")+8,2))<6,c=-1!==W.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(W)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(W))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),q=function(t){return b.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Q=function(t){_gsScope.console&&console.log(t)},H="",Z="",$=function(t,e){var i,n,r=(e=e||Y).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(Z=3===n?"ms":i[n],H="-"+Z.toLowerCase()+"-",Z+t):null},K=B.defaultView?B.defaultView.getComputedStyle:function(){},J=a.getStyle=function(t,e,i,n,r){var s;return U||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||K(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(k,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):q(t)},tt=G.convertToPixels=function(t,i,n,r,s){if("px"===r||!r)return n;if("auto"===r||!n)return 0;var o,l,h,u=M.test(i),p=t,f=Y.style,c=0>n,d=1===n;if(c&&(n=-n),d&&(n*=100),"%"===r&&-1!==i.indexOf("border"))o=n/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==r&&p.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[u?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(p=t.parentNode||B.body,l=p._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*n/100;f[u?"width":"height"]=n+r}p.appendChild(Y),o=parseFloat(Y[u?"offsetWidth":"offsetHeight"]),p.removeChild(Y),u&&"%"===r&&!1!==a.cacheWidths&&(l=p._gsCache=p._gsCache||{},l.time=h,l.width=o/n*100),0!==o||s||(o=tt(t,i,n,r,!0))}return d&&(o/=100),c?-o:o},et=G.calculateOffset=function(t,e,i){if("absolute"!==J(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=J(t,"margin"+n,i);return t["offset"+n]-(tt(t,e,parseFloat(r),r.replace(T,""))||0)},it=function(t,e){var i,n,r,s={};if(e=e||K(t,null))if(i=e.length)for(;--i>-1;)(-1===(r=e[i]).indexOf("-transform")||At===r)&&(s[r.replace(C,R)]=e.getPropertyValue(r));else for(i in e)(-1===i.indexOf("Transform")||Ct===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(C,R)]=e[i]);return U||(s.opacity=q(t)),n=Vt(t,e,!1),s.rotation=n.rotation,s.skewX=n.skewX,s.scaleX=n.scaleX,s.scaleY=n.scaleY,s.x=n.x,s.y=n.y,Mt&&(s.z=n.z,s.rotationX=n.rotationX,s.rotationY=n.rotationY,s.scaleZ=n.scaleZ),s.filters&&delete s.filters,s},nt=function(t,e,i,n,r){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(w,"")?s:0:et(t,a),void 0!==h[a]&&(o=new vt(h,a,h[a],o)));if(n)for(a in n)"className"!==a&&(l[a]=n[a]);return{difs:l,firstMPT:o}},rt={width:["Left","Right"],height:["Top","Bottom"]},st=["marginLeft","marginRight","marginTop","marginBottom"],at=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||K(t))[e]||0;if(t.getCTM&&Bt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=rt[e],s=r.length;for(i=i||K(t,null);--s>-1;)n-=parseFloat(J(t,"padding"+r[s],i,!0))||0,n-=parseFloat(J(t,"border"+r[s]+"Width",i,!0))||0;return n},ot=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,n=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(n.length>3&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i2?" "+n[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(r.replace(w,"")),e.oy=parseFloat(s.replace(w,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(m,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){return"function"==typeof t&&(t=t(m,g)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,i,n){var r,s,a,o,l;return"function"==typeof t&&(t=t(m,g)),null==t?o=e:"number"==typeof t?o=t:(r=360,s=t.split("_"),l="="===t.charAt(1),a=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:I)-(l?0:e),s.length&&(n&&(n[i]=e+a),-1!==t.indexOf("short")&&(a%=r)!==a%(r/2)&&(a=0>a?a+r:a-r),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*r)%r-(a/r|0)*r:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*r)%r-(a/r|0)*r)),o=e+a),1e-6>o&&o>-1e-6&&(o=0),o},pt={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]},ft=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,255*(1>6*t?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},ct=a.parseColor=function(t,e){var i,n,r,s,a,o,l,h,u,p,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(n=t.charAt(1),r=t.charAt(2),s=t.charAt(3),t="#"+n+n+r+r+s+s),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(x)}else a=Number(i[0])%360/360,o=Number(i[1])/100,l=Number(i[2])/100,r=.5>=l?l*(o+1):l+o-l*o,n=2*l-r,i.length>3&&(i[3]=Number(t[3])),i[0]=ft(a+1/3,n,r),i[1]=ft(a,n,r),i[2]=ft(a-1/3,n,r);else i=t.match(v)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!f&&(n=i[0]/255,r=i[1]/255,s=i[2]/255,h=Math.max(n,r,s),u=Math.min(n,r,s),l=(h+u)/2,h===u?a=o=0:(p=h-u,o=l>.5?p/(2-h-u):p/(h+u),a=h===n?(r-s)/p+(s>r?6:0):h===r?(s-n)/p+2:(n-r)/p+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},dt=function(t,e){var i,n,r,s=t.match(_t)||[],a=0,o=s.length?"":t;for(i=0;i0?a[0].replace(v,""):"";return u?r=e?function(t){var e,f,c,d;if("number"==typeof t)t+=p;else if(n&&L.test(t)){for(d=t.replace(L,"|").split("|"),c=0;cc--)for(;++cf--)for(;++fl;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return r.parse(e,o,s,a)}},vt=(G._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod(o.rotation,this.t):o.rotation),1===t||0===t)for(l=a.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;n0;)l="xn"+a,o=n.p+"_"+l,c[o]=n.data[l],f[o]=n[l],s||(h=new vt(n,l,o,h,n.rxp[l]));n=n._next}return{proxy:f,end:c,firstMPT:h,pt:u}},G.CSSPropTween=function(t,e,n,r,a,o,l,h,u,p,f){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||e,t instanceof xt||s.push(this.n),this.r=h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===p?n:p,this.e=void 0===f?n+r:f,a&&(this._next=a,a._prev=this)}),yt=function(t,e,i,n,r,s){var a=new xt(t,e,i,n-i,r,-1,s);return a.b=i,a.e=a.xs0=n,a},wt=a.parseComplex=function(t,e,i,n,r,s,o,l,h,p){i=i||s||"","function"==typeof n&&(n=n(m,g)),o=new xt(t,e,0,0,o,p?2:1,null,!1,l,i,n),n+="",r&&_t.test(n+i)&&(n=[i,n],a.colorStringFilter(n),i=n[0],n=n[1]);var f,c,d,_,y,w,T,b,P,S,O,k,C,A=i.split(", ").join(",").split(" "),R=n.split(", ").join(",").split(" "),M=A.length,E=!1!==u;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(A=A.join(" ").replace(L,", ").split(" "),R=R.join(" ").replace(L,", ").split(" "),M=A.length),M!==R.length&&(A=(s||"").split(" "),M=A.length),o.plugin=h,o.setRatio=p,_t.lastIndex=0,f=0;M>f;f++)if(_=A[f],y=R[f],(b=parseFloat(_))||0===b)o.appendXtra("",b,lt(y,b),y.replace(x,""),E&&-1!==y.indexOf("px"),!0);else if(r&&_t.test(_))k=y.indexOf(")")+1,k=")"+(k?y.substr(k):""),C=-1!==y.indexOf("hsl")&&U,_=ct(_,C),y=ct(y,C),P=_.length+y.length>6,P&&!U&&0===y[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(R[f]).join("transparent")):(U||(P=!1),C?o.appendXtra(P?"hsla(":"hsl(",_[0],lt(y[0],_[0]),",",!1,!0).appendXtra("",_[1],lt(y[1],_[1]),"%,",!1).appendXtra("",_[2],lt(y[2],_[2]),P?"%,":"%"+k,!1):o.appendXtra(P?"rgba(":"rgb(",_[0],y[0]-_[0],",",!0,!0).appendXtra("",_[1],y[1]-_[1],",",!0).appendXtra("",_[2],y[2]-_[2],P?",":k,!0),P&&(_=_.length<4?1:_[3],o.appendXtra("",_,(y.length<4?1:y[3])-_,k,!1))),_t.lastIndex=0;else if(w=_.match(v)){if(!(T=y.match(x))||T.length!==w.length)return o;for(d=0,c=0;c0;)h["xn"+Tt]=0,h["xs"+Tt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,n,r,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=n||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=r,a["xn"+o]=e,a.plugin||(a.xfirst=new xt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=r,a)):(a["xs"+o]+=e+(n||""),a)};var bt=function(t,e){e=e||{},this.p=e.prefix?$(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},Pt=G._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r=t.split(","),s=e.defaultValue;for(i=i||[s],n=0;no.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&(u=e.indexOf(f),p=i.indexOf(f),u!==p&&(-1===p?o[a]=o[a].split(f).join(""):-1===u&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return wt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},h.parse=function(t,e,i,n,s,a,o){return this.parseComplex(t.style,this.format(J(t,this.p,r,!1,this.dflt)),this.format(e),s,a)},a.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,n,r,s,a,o,l){var h=new xt(t,r,0,0,a,2,r,!1,i);return h.plugin=o,h.setRatio=e(t,n,s._tween,r),h},priority:i})},a.useSVGTransformAttr=!0;var Ot,kt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ct=$("transform"),At=H+"transform",Rt=$("transformOrigin"),Mt=null!==$("perspective"),Et=G.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Mt)&&(a.defaultForce3D||"auto")},Dt=_gsScope.SVGElement,Lt=function(t,e,i){var n,r=B.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(n in i)r.setAttributeNS(null,n.replace(s,"$1-$2").toLowerCase(),i[n]);return e.appendChild(r),r},Nt=B.documentElement||{},Ft=function(){var t,e,i,n=_||/Android/i.test(W)&&!_gsScope.chrome;return B.createElementNS&&!n&&(t=Lt("svg",Nt),e=Lt("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[Rt]="50% 50%",e.style[Ct]="scaleX(0.5)",n=i===e.getBoundingClientRect().width&&!(c&&Mt),Nt.removeChild(t)),n}(),It=function(t,e,i,n,r,s){var o,l,h,u,p,f,c,d,_,g,m,v,x,y,w=t._gsTransform,T=Yt(t,!0);w&&(x=w.xOrigin,y=w.yOrigin),(!n||(o=n.split(" ")).length<2)&&(0===(c=t.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),e=ot(e).split(" "),o=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=u=parseFloat(o[0]),i.yOrigin=p=parseFloat(o[1]),n&&T!==jt&&(f=T[0],c=T[1],d=T[2],_=T[3],g=T[4],m=T[5],(v=f*_-c*d)&&(l=u*(_/v)+p*(-d/v)+(d*m-_*g)/v,h=u*(-c/v)+p*(f/v)-(f*m-c*g)/v,u=i.xOrigin=o[0]=l,p=i.yOrigin=o[1]=h)),w&&(s&&(i.xOffset=w.xOffset,i.yOffset=w.yOffset,w=i),r||!1!==r&&!1!==a.defaultSmoothOrigin?(l=u-x,h=p-y,w.xOffset+=l*T[0]+h*T[2]-l,w.yOffset+=l*T[1]+h*T[3]-h):w.xOffset=w.yOffset=0),s||t.setAttribute("data-svg-origin",o.join(" "))},Xt=function(t){var e,i=j("svg",this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,r=this.nextSibling,s=this.style.cssText;if(Nt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Xt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?n.insertBefore(this,r):n.appendChild(this),Nt.removeChild(i),this.style.cssText=s,e},zt=function(t){try{return t.getBBox()}catch(e){return Xt.call(t,!0)}},Bt=function(t){return!(!(Dt&&t.getCTM&&zt(t))||t.parentNode&&!t.ownerSVGElement)},jt=[1,0,0,1,0,0],Yt=function(t,e){var i,n,r,s,a,o,l=t._gsTransform||new Et,h=t.style;if(Ct?n=J(t,At,null,!0):t.currentStyle&&(n=t.currentStyle.filter.match(E),n=n&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),l.x||0,l.y||0].join(","):""),(i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n)&&Ct&&((o="none"===K(t).display)||!t.parentNode)&&(o&&(s=h.display,h.display="block"),t.parentNode||(a=1,Nt.appendChild(t)),n=J(t,At,null,!0),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,s?h.display=s:o&&qt(h,"display"),a&&Nt.removeChild(t)),(l.svg||t.getCTM&&Bt(t))&&(i&&-1!==(h[Ct]+"").indexOf("matrix")&&(n=h[Ct],i=0),r=t.getAttribute("transform"),i&&r&&(-1!==r.indexOf("matrix")?(n=r,i=0):-1!==r.indexOf("translate")&&(n="matrix(1,0,0,1,"+r.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return jt;for(r=(n||"").match(v)||[],Tt=r.length;--Tt>-1;)s=Number(r[Tt]),r[Tt]=(a=s-(s|=0))?(1e5*a+(0>a?-.5:.5)|0)/1e5+s:s;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Vt=G.getTransform=function(t,i,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var s,o,l,h,u,p,f=n?t._gsTransform||new Et:new Et,c=f.scaleX<0,d=1e5,_=Mt?parseFloat(J(t,Rt,i,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0,g=parseFloat(a.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Bt(t)),f.svg&&(It(t,J(t,Rt,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=a.useSVGTransformAttr||Ft),(s=Yt(t))!==jt){if(16===s.length){var m,v,x,y,w,T=s[0],b=s[1],P=s[2],S=s[3],O=s[4],k=s[5],C=s[6],A=s[7],R=s[8],M=s[9],E=s[10],D=s[12],L=s[13],N=s[14],F=s[11],X=Math.atan2(C,E);f.zOrigin&&(N=-f.zOrigin,D=R*N-s[12],L=M*N-s[13],N=E*N+f.zOrigin-s[14]),f.rotationX=X*I,X&&(y=Math.cos(-X),w=Math.sin(-X),m=O*y+R*w,v=k*y+M*w,x=C*y+E*w,R=O*-w+R*y,M=k*-w+M*y,E=C*-w+E*y,F=A*-w+F*y,O=m,k=v,C=x),X=Math.atan2(-P,E),f.rotationY=X*I,X&&(y=Math.cos(-X),w=Math.sin(-X),m=T*y-R*w,v=b*y-M*w,x=P*y-E*w,M=b*w+M*y,E=P*w+E*y,F=S*w+F*y,T=m,b=v,P=x),X=Math.atan2(b,T),f.rotation=X*I,X&&(y=Math.cos(-X),w=Math.sin(-X),T=T*y+O*w,v=b*y+k*w,k=b*-w+k*y,C=P*-w+C*y,b=v),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),f.scaleX=(Math.sqrt(T*T+b*b)*d+.5|0)/d,f.scaleY=(Math.sqrt(k*k+M*M)*d+.5|0)/d,f.scaleZ=(Math.sqrt(C*C+E*E)*d+.5|0)/d,f.rotationX||f.rotationY?f.skewX=0:(f.skewX=O||k?Math.atan2(O,k)*I+f.rotation:f.skewX||0,Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(c?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180))),f.perspective=F?1/(0>F?-F:F):0,f.x=D,f.y=L,f.z=N,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*O),f.y-=f.yOrigin-(f.yOrigin*b-f.xOrigin*k))}else if(!Mt||r||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var z=s.length>=6,B=z?s[0]:1,j=s[1]||0,Y=s[2]||0,V=z?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(B*B+j*j),h=Math.sqrt(V*V+Y*Y),u=B||j?Math.atan2(j,B)*I:f.rotation||0,p=Y||V?Math.atan2(Y,V)*I+u:f.skewX||0,Math.abs(p)>90&&Math.abs(p)<270&&(c?(l*=-1,p+=0>=u?180:-180,u+=0>=u?180:-180):(h*=-1,p+=0>=p?180:-180)),f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=p,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*B+f.yOrigin*Y),f.y-=f.yOrigin-(f.xOrigin*j+f.yOrigin*V))}f.zOrigin=_;for(o in f)f[o]<2e-5&&f[o]>-2e-5&&(f[o]=0)}return n&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Ct]?e.delayedCall(.001,function(){qt(t.style,Ct)}):!Ot&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Gt=function(t){var e,i,n=this.data,r=-n.rotation*F,s=r+n.skewX*F,a=1e5,o=(Math.cos(r)*n.scaleX*a|0)/a,l=(Math.sin(r)*n.scaleX*a|0)/a,h=(Math.sin(s)*-n.scaleY*a|0)/a,u=(Math.cos(s)*n.scaleY*a|0)/a,p=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-h,h=-i,e=f.filter,p.filter="";var c,d,g=this.t.offsetWidth,m=this.t.offsetHeight,v="absolute"!==f.position,x="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,y=n.x+g*n.xPercent/100,w=n.y+m*n.yPercent/100;if(null!=n.ox&&(c=(n.oxp?g*n.ox*.01:n.ox)-g/2,d=(n.oyp?m*n.oy*.01:n.oy)-m/2,y+=c-(c*o+d*l),w+=d-(c*h+d*u)),v?(c=g/2,d=m/2,x+=", Dx="+(c-(c*o+d*l)+y)+", Dy="+(d-(c*h+d*u)+w)+")"):x+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?p.filter=e.replace(D,x):p.filter=x+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===x.indexOf("Dx=0, Dy=0")||b.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&p.removeAttribute("filter")),!v){var P,S,O,k=8>_?1:-1;for(c=n.ieOffsetX||0,d=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>o?-o:o)*g+(0>l?-l:l)*m))/2+y),n.ieOffsetY=Math.round((m-((0>u?-u:u)*m+(0>h?-h:h)*g))/2+w),Tt=0;4>Tt;Tt++)S=st[Tt],P=f[S],i=-1!==P.indexOf("px")?parseFloat(P):tt(this.t,S,parseFloat(P),P.replace(T,""))||0,O=i!==n[S]?2>Tt?-n.ieOffsetX:-n.ieOffsetY:2>Tt?c-n.ieOffsetX:d-n.ieOffsetY,p[S]=(n[S]=Math.round(i-O*(0===Tt||2===Tt?1:k)))+"px"}}},Wt=G.set3DTransformRatio=G.setTransformRatio=function(t){var e,i,n,r,s,a,o,l,h,u,p,f,d,_,g,m,v,x,y,w,T,b,P,S=this.data,O=this.t.style,k=S.rotation,C=S.rotationX,A=S.rotationY,R=S.scaleX,M=S.scaleY,E=S.scaleZ,D=S.x,L=S.y,N=S.z,I=S.svg,X=S.perspective,z=S.force3D,B=S.skewY,j=S.skewX;if(B&&(j+=B,k+=B),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||N||X||A||C||1!==E)||Ot&&I||!Mt)k||j||I?(k*=F,b=j*F,P=1e5,i=Math.cos(k)*R,s=Math.sin(k)*R,n=Math.sin(k-b)*-M,a=Math.cos(k-b)*M,b&&"simple"===S.skewType&&(e=Math.tan(b-B*F),e=Math.sqrt(1+e*e),n*=e,a*=e,B&&(e=Math.tan(B*F),e=Math.sqrt(1+e*e),i*=e,s*=e)),I&&(D+=S.xOrigin-(S.xOrigin*i+S.yOrigin*n)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset,Ot&&(S.xPercent||S.yPercent)&&(g=this.t.getBBox(),D+=.01*S.xPercent*g.width,L+=.01*S.yPercent*g.height),(g=1e-6)>D&&D>-g&&(D=0),g>L&&L>-g&&(L=0)),y=(i*P|0)/P+","+(s*P|0)/P+","+(n*P|0)/P+","+(a*P|0)/P+","+D+","+L+")",I&&Ot?this.t.setAttribute("transform","matrix("+y):O[Ct]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+y):O[Ct]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+M+","+D+","+L+")";else{if(c&&((g=1e-4)>R&&R>-g&&(R=E=2e-5),g>M&&M>-g&&(M=E=2e-5),!X||S.z||S.rotationX||S.rotationY||(X=0)),k||j)k*=F,m=i=Math.cos(k),v=s=Math.sin(k),j&&(k-=j*F,m=Math.cos(k),v=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((j-B)*F),e=Math.sqrt(1+e*e),m*=e,v*=e,S.skewY&&(e=Math.tan(B*F),e=Math.sqrt(1+e*e),i*=e,s*=e))),n=-v,a=m;else{if(!(A||C||1!==E||X||I))return void(O[Ct]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+L+"px,"+N+"px)"+(1!==R||1!==M?" scale("+R+","+M+")":""));i=a=1,n=s=0}u=1,r=o=l=h=p=f=0,d=X?-1/X:0,_=S.zOrigin,g=1e-6,w=",",T="0",(k=A*F)&&(m=Math.cos(k),v=Math.sin(k),l=-v,p=d*-v,r=i*v,o=s*v,u=m,d*=m,i*=m,s*=m),(k=C*F)&&(m=Math.cos(k),v=Math.sin(k),e=n*m+r*v,x=a*m+o*v,h=u*v,f=d*v,r=n*-v+r*m,o=a*-v+o*m,u*=m,d*=m,n=e,a=x),1!==E&&(r*=E,o*=E,u*=E,d*=E),1!==M&&(n*=M,a*=M,h*=M,f*=M),1!==R&&(i*=R,s*=R,l*=R,p*=R),(_||I)&&(_&&(D+=r*-_,L+=o*-_,N+=u*-_+_),I&&(D+=S.xOrigin-(S.xOrigin*i+S.yOrigin*n)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset),g>D&&D>-g&&(D=T),g>L&&L>-g&&(L=T),g>N&&N>-g&&(N=0)),y=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",y+=(g>i&&i>-g?T:i)+w+(g>s&&s>-g?T:s)+w+(g>l&&l>-g?T:l),y+=w+(g>p&&p>-g?T:p)+w+(g>n&&n>-g?T:n)+w+(g>a&&a>-g?T:a),C||A||1!==E?(y+=w+(g>h&&h>-g?T:h)+w+(g>f&&f>-g?T:f)+w+(g>r&&r>-g?T:r),y+=w+(g>o&&o>-g?T:o)+w+(g>u&&u>-g?T:u)+w+(g>d&&d>-g?T:d)+w):y+=",0,0,0,0,1,0,",y+=D+w+L+w+N+w+(X?1+-N/X:1)+")",O[Ct]=y}};(h=Et.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Pt("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(t,e,i,n,s,o,l){if(n._lastParsedTransform===l)return s;n._lastParsedTransform=l;var h,u=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(h=l[i],l[i]=e),u&&(l.scale=u(m,t));var p,f,c,d,_,v,x,y,w,T=t._gsTransform,b=t.style,P=kt.length,S=l,O={},k="transformOrigin",C=Vt(t,r,!0,S.parseTransform),A=S.transform&&("function"==typeof S.transform?S.transform(m,g):S.transform);if(n._transform=C,A&&"string"==typeof A&&Ct)f=Y.style,f[Ct]=A,f.display="block",f.position="absolute",B.body.appendChild(Y),p=Vt(Y,null,!1),C.svg&&(v=C.xOrigin,x=C.yOrigin,p.x-=C.xOffset,p.y-=C.yOffset,(S.transformOrigin||S.svgOrigin)&&(A={},It(t,ot(S.transformOrigin),A,S.svgOrigin,S.smoothOrigin,!0),v=A.xOrigin,x=A.yOrigin,p.x-=A.xOffset-C.xOffset,p.y-=A.yOffset-C.yOffset),(v||x)&&(y=Yt(Y,!0),p.x-=v-(v*y[0]+x*y[2]),p.y-=x-(v*y[1]+x*y[3]))),B.body.removeChild(Y),p.perspective||(p.perspective=C.perspective),null!=S.xPercent&&(p.xPercent=ht(S.xPercent,C.xPercent)),null!=S.yPercent&&(p.yPercent=ht(S.yPercent,C.yPercent));else if("object"==typeof S){if(p={scaleX:ht(null!=S.scaleX?S.scaleX:S.scale,C.scaleX),scaleY:ht(null!=S.scaleY?S.scaleY:S.scale,C.scaleY),scaleZ:ht(S.scaleZ,C.scaleZ),x:ht(S.x,C.x),y:ht(S.y,C.y),z:ht(S.z,C.z),xPercent:ht(S.xPercent,C.xPercent),yPercent:ht(S.yPercent,C.yPercent),perspective:ht(S.transformPerspective,C.perspective)},null!=(_=S.directionalRotation))if("object"==typeof _)for(f in _)S[f]=_[f];else S.rotation=_;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(p.x=0,p.xPercent=ht(S.x,C.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(p.y=0,p.yPercent=ht(S.y,C.yPercent)),p.rotation=ut("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":"rotationZ"in S?S.rotationZ:C.rotation,C.rotation,"rotation",O),Mt&&(p.rotationX=ut("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",O),p.rotationY=ut("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",O)),p.skewX=ut(S.skewX,C.skewX),p.skewY=ut(S.skewY,C.skewY)}for(Mt&&null!=S.force3D&&(C.force3D=S.force3D,d=!0),C.skewType=S.skewType||C.skewType||a.defaultSkewType,(c=C.force3D||C.z||C.rotationX||C.rotationY||p.z||p.rotationX||p.rotationY||p.perspective)||null==S.scale||(p.scaleZ=1);--P>-1;)w=kt[P],((A=p[w]-C[w])>1e-6||-1e-6>A||null!=S[w]||null!=X[w])&&(d=!0,s=new xt(C,w,C[w],A,s),w in O&&(s.e=O[w]),s.xs0=0,s.plugin=o,n._overwriteProps.push(s.n));return A=S.transformOrigin,C.svg&&(A||S.svgOrigin)&&(v=C.xOffset,x=C.yOffset,It(t,ot(A),p,S.svgOrigin,S.smoothOrigin),s=yt(C,"xOrigin",(T?C:p).xOrigin,p.xOrigin,s,k),s=yt(C,"yOrigin",(T?C:p).yOrigin,p.yOrigin,s,k),(v!==C.xOffset||x!==C.yOffset)&&(s=yt(C,"xOffset",T?v:C.xOffset,C.xOffset,s,k),s=yt(C,"yOffset",T?x:C.yOffset,C.yOffset,s,k)),A="0px 0px"),(A||Mt&&c&&C.zOrigin)&&(Ct?(d=!0,w=Rt,A=(A||J(t,w,r,!1,"50% 50%"))+"",s=new xt(b,w,0,0,s,-1,k),s.b=b[w],s.plugin=o,Mt?(f=C.zOrigin,A=A.split(" "),C.zOrigin=(A.length>2&&(0===f||"0px"!==A[2])?parseFloat(A[2]):f)||0,s.xs0=s.e=A[0]+" "+(A[1]||"50%")+" 0px",s=new xt(C,"zOrigin",0,0,s,-1,s.n),s.b=f,s.xs0=s.e=C.zOrigin):s.xs0=s.e=A):ot(A+"",C)),d&&(n._transformType=C.svg&&Ot||!c&&3!==this._transformType?2:3),h&&(l[i]=h),u&&(l.scale=u),s},prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a,o){e=this.format(e);var l,h,u,p,f,c,d,_,g,m,v,x,y,w,T,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(g=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),l=e.split(" "),h=0;h_?1:0))||""):(_=parseFloat(c),v=c.substr((_+"").length)),""===v&&(v=n[i]||x),v!==x&&(w=tt(t,"borderLeft",d,x),T=tt(t,"borderTop",d,x),"%"===v?(f=w/g*100+"%",p=T/m*100+"%"):"em"===v?(b=tt(t,"borderLeft",1,"em"),f=w/b+"em",p=T/b+"em"):(f=w+"px",p=T+"px"),y&&(c=parseFloat(f)+_+v,u=parseFloat(p)+_+v)),a=wt(S,P[h],f+" "+p,c+" "+u,!1,"0px",a);return a},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,s,a){return wt(t.style,i,this.format(J(t,i,r,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,a){var o,l,h,u,p,f,c="background-position",d=r||K(t,null),g=this.format((d?_?d.getPropertyValue(c+"-x")+" "+d.getPropertyValue(c+"-y"):d.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==g.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&(f=J(t,"backgroundImage").replace(A,""))&&"none"!==f){for(o=g.split(" "),l=m.split(" "),V.setAttribute("src",f),h=2;--h>-1;)g=o[h],(u=-1!==g.indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(p=0===h?t.offsetWidth-V.width:t.offsetHeight-V.height,o[h]=u?parseFloat(g)/100*p+"px":parseFloat(g)/p*100+"%");g=o.join(" ")}return this.parseComplex(t.style,g,m,s,a)},formatter:ot}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return t+="",ot(-1===t.indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:mt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:mt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,a){var o,l,h;return 9>_?(l=t.currentStyle,h=8>_?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(J(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,a){var o=J(t,"borderTopWidth",r,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(T,"");return"px"!==h&&(o=parseFloat(o)/tt(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+J(t,"borderTopStyle",r,!1,"solid")+" "+J(t,"borderTopColor",r,!1,"#000")),l.join(" "),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(_t)||["#000"])[0]}}),Pt("borderWidth",{parser:mt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new xt(a,o,0,0,r,-1,i,!1,0,a[o],e)}});var Ut=function(t){var e,i=this.t,n=i.filter||J(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!J(this.data,"filter")):(i.filter=n.replace(S,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(b,"opacity="+r))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,a){var o=parseFloat(J(t,"opacity",r,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===J(t,"visibility",r)&&0!==e&&(o=0),U?s=new xt(l,"opacity",o,e-o,s):(s=new xt(l,"opacity",100*o,100*(e-o),s),s.xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=Ut),h&&(s=new xt(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit"),s.xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var qt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(k,"-$1").toLowerCase())):t.removeAttribute(e))},Qt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(t,e,n,s,a,o,l){var h,u,p,f,c,d=t.getAttribute("class")||"",_=t.style.cssText;if(a=s._classNamePT=new xt(t,n,0,0,a,2),a.setRatio=Qt,a.pr=-11,i=!0,a.b=d,u=it(t,r),p=t._gsClassPT){for(f={},c=p.data;c;)f[c.p]=1,c=c._next;p.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=nt(t,u,it(t),l,f),t.setAttribute("class",d),a.data=h.firstMPT,t.style.cssText=_,a=a.xfirst=s.parse(t,h.difs,a,o)}});var Ht=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,s,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(e=this.e.split(" ").join("").split(","),n=e.length;--n>-1;)i=e[n],l[i]&&(l[i].parse===o?r=!0:i="transformOrigin"===i?Rt:l[i].p),qt(a,i);r&&(qt(a,Ct),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(t,e,n,r,s){return s=new xt(t,n,0,0,s,2),s.setRatio=Ht,s.e=e,s.pr=-10,s.data=r._tween,i=!0,s}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Tt=h.length;Tt--;)St(h[Tt]);(h=a.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,o,h){if(!t.nodeType)return!1;this._target=g=t,this._tween=o,this._vars=e,m=h,u=e.autoRound,i=!1,n=e.suffixMap||a.suffixMap,r=K(t,""),s=this._overwriteProps;var c,_,v,x,y,w,T,b,S,O=t.style;if(p&&""===O.zIndex&&("auto"===(c=J(t,"zIndex",r))||""===c)&&this._addLazySet(O,"zIndex",0),"string"==typeof e&&(x=O.cssText,c=it(t,r),O.cssText=x+";"+e,c=nt(t,c,it(t)).difs,!U&&P.test(e)&&(c.opacity=parseFloat(RegExp.$1)),e=c,O.cssText=x),e.className?this._firstPT=_=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(S=3===this._transformType,Ct?f&&(p=!0,""===O.zIndex&&("auto"===(T=J(t,"zIndex",r))||""===T)&&this._addLazySet(O,"zIndex",0),d&&this._addLazySet(O,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(S?"visible":"hidden"))):O.zoom=1,v=_;v&&v._next;)v=v._next;b=new xt(t,"transform",0,0,null,2),this._linkCSSP(b,null,v),b.setRatio=Ct?Wt:Gt,b.data=this._transform||Vt(t,r,!0),b.tween=o,b.pr=-1,s.pop()}if(i){for(;_;){for(w=_._next,v=x;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:y)?_._prev._next=_:x=_,(_._next=v)?v._prev=_:y=_,_=w}this._firstPT=x}return!0},h.parse=function(t,e,i,s){var a,o,h,p,f,c,d,_,v,x,y=t.style;for(a in e)"function"==typeof(c=e[a])&&(c=c(m,g)),o=l[a],o?i=o.parse(t,c,a,this,i,s,e):(f=J(t,a,r)+"",v="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||v&&O.test(c)?(v||(c=ct(c),c=(c.length>3?"rgba(":"rgb(")+c.join(",")+")"),i=wt(y,a,f,c,!0,"transparent",i,0,s)):v&&N.test(c)?i=wt(y,a,f,c,!0,null,i,0,s):(h=parseFloat(f),d=h||0===h?f.substr((h+"").length):"",(""===f||"auto"===f)&&("width"===a||"height"===a?(h=at(t,a,r),d="px"):"left"===a||"top"===a?(h=et(t,a,r),d="px"):(h="opacity"!==a?0:1,d="")),x=v&&"="===c.charAt(1),x?(p=parseInt(c.charAt(0)+"1",10),c=c.substr(2),p*=parseFloat(c),_=c.replace(T,"")):(p=parseFloat(c),_=v?c.replace(T,""):""),""===_&&(_=a in n?n[a]:d),c=p||0===p?(x?p+h:p)+_:e[a],d!==_&&""!==_&&(p||0===p)&&h&&(h=tt(t,a,h,d),"%"===_?(h/=tt(t,a,100,"%")/100,!0!==e.strictUnits&&(f=h+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?h/=tt(t,a,1,_):"px"!==_&&(p=tt(t,a,p,_),_="px"),x&&(p||0===p)&&(c=p+h+_)),x&&(p+=h),!h&&0!==h||!p&&0!==p?void 0!==y[a]&&(c||c+""!="NaN"&&null!=c)?(i=new xt(y,a,p||h||0,0,i,-1,a,!1,0,f,c),i.xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:f):Q("invalid "+a+" tween value: "+e[a]):(i=new xt(y,a,h,p-h,i,0,a,!1!==u&&("px"===_||"zIndex"===a),0,f,c),i.xs0=_))),s&&i&&!i.plugin&&(i.plugin=s);return i},h.setRatio=function(t){var e,i,n,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(n=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;n-1;)$t(t[r],e,i);else for(n=t.childNodes,r=n.length;--r>-1;)s=n[r],a=s.type,s.style&&(e.push(it(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||$t(s,e,i)};return a.cascadeTo=function(t,i,n){var r,s,a,o,l=e.to(t,i,n),h=[l],u=[],p=[],f=[],c=e._internals.reservedProps;for(t=l._targets||l.target,$t(t,u,f),l.render(i,!0,!0),$t(t,p),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((s=nt(f[r],u[r],p[r])).firstMPT){s=s.difs;for(a in n)c[a]&&(s[a]=n[a]);o={};for(a in s)o[a]=u[r][a];h.push(e.fromTo(f[r],i,o,s))}return h},t.activate([a]),a},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).CSSPlugin};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=e())}(),function(t){"use strict";var e=t.GreenSockGlobals||t,i=function(t){var i,n=t.split("."),r=e;for(i=0;ie;e++)if(i=t[e],l(i))for(n=i.length,n=0;n":">")}},m=i.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=m.selector(t)),!t)throw"cannot split a null element.";this.elements=l(t)?h(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},v=function(t,e,i){var n=t.nodeType;if(1===n||9===n||11===n)for(t=t.firstChild;t;t=t.nextSibling)v(t,e,i);else(3===n||4===n)&&(t.nodeValue=t.nodeValue.split(e).join(i))},x=function(t,e){for(var i=e.length;--i>-1;)t.push(e[i])},y=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},w=function(t,e,i){for(var n;t&&t!==e;){if(n=t._next||t.nextSibling)return n.textContent.charAt(0)===i;t=t.parentNode||t._parent}return!1},T=function(t){var e,i,n=y(t.childNodes),r=n.length;for(e=0;r>e;e++)i=n[e],i._isSplit?T(i):(e&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=3===i.nodeType?i.nodeValue:i.firstChild.nodeValue:3!==i.nodeType&&t.insertBefore(i.firstChild,i),t.removeChild(i))},b=function(t,e,i,n,a,l,h){var u,p,f,c,d,_,g,m,y,b,P,S,O=s(t),k=o(t,"paddingLeft",O),C=-999,A=o(t,"borderBottomWidth",O)+o(t,"borderTopWidth",O),R=o(t,"borderLeftWidth",O)+o(t,"borderRightWidth",O),M=o(t,"paddingTop",O)+o(t,"paddingBottom",O),E=o(t,"paddingLeft",O)+o(t,"paddingRight",O),D=.2*o(t,"fontSize"),L=o(t,"textAlign",O,!0),N=[],F=[],I=[],X=e.wordDelimiter||" ",z=e.span?"span":"div",B=e.type||e.split||"chars,words,lines",j=a&&-1!==B.indexOf("lines")?[]:null,Y=-1!==B.indexOf("words"),V=-1!==B.indexOf("chars"),G="absolute"===e.position||!0===e.absolute,W=e.linesClass,U=-1!==(W||"").indexOf("++"),q=[];for(j&&1===t.children.length&&t.children[0]._isSplit&&(t=t.children[0]),U&&(W=W.split("++").join("")),f=(p=t.getElementsByTagName("*")).length,d=[],u=0;f>u;u++)d[u]=p[u];if(j||G)for(u=0;f>u;u++)c=d[u],((_=c.parentNode===t)||G||V&&!Y)&&(S=c.offsetTop,j&&_&&Math.abs(S-C)>D&&"BR"!==c.nodeName&&(g=[],j.push(g),C=S),G&&(c._x=c.offsetLeft,c._y=S,c._w=c.offsetWidth,c._h=c.offsetHeight),j&&((c._isSplit&&_||!V&&_||Y&&_||!Y&&c.parentNode.parentNode===t&&!c.parentNode._isSplit)&&(g.push(c),c._x-=k,w(c,t,X)&&(c._wordEnd=!0)),"BR"===c.nodeName&&c.nextSibling&&"BR"===c.nextSibling.nodeName&&j.push([])));for(u=0;f>u;u++)c=d[u],_=c.parentNode===t,"BR"!==c.nodeName?(G&&(y=c.style,Y||_||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),y.left=c._x+"px",y.top=c._y+"px",y.position="absolute",y.display="block",y.width=c._w+1+"px",y.height=c._h+"px"),!Y&&V?c._isSplit?(c._next=c.nextSibling,c.parentNode.appendChild(c)):c.parentNode._isSplit?(c._parent=c.parentNode,!c.previousSibling&&c.firstChild&&(c.firstChild._isFirst=!0),c.nextSibling&&" "===c.nextSibling.textContent&&!c.nextSibling.nextSibling&&q.push(c.nextSibling),c._next=c.nextSibling&&c.nextSibling._isFirst?null:c.nextSibling,c.parentNode.removeChild(c),d.splice(u--,1),f--):_||(S=!c.nextSibling&&w(c.parentNode,t,X),c.parentNode._parent&&c.parentNode._parent.appendChild(c),S&&c.parentNode.appendChild(r.createTextNode(" ")),e.span&&(c.style.display="inline"),N.push(c)):c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML?F.push(c):V&&!c._isSplit&&(e.span&&(c.style.display="inline"),N.push(c))):j||G?(c.parentNode&&c.parentNode.removeChild(c),d.splice(u--,1),f--):Y||t.appendChild(c);for(u=q.length;--u>-1;)q[u].parentNode.removeChild(q[u]);if(j){for(G&&(b=r.createElement(z),t.appendChild(b),P=b.offsetWidth+"px",S=b.offsetParent===t?0:t.offsetLeft,t.removeChild(b)),y=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(m=" "===X&&(!G||!Y&&!V),u=0;up;p++)"BR"!==g[p].nodeName&&(c=g[p],b.appendChild(c),m&&c._wordEnd&&b.appendChild(r.createTextNode(" ")),G&&(0===p&&(b.style.top=c._y+"px",b.style.left=k+S+"px"),c.style.top="0px",S&&(c.style.left=c._x-S+"px")));0===f?b.innerHTML=" ":Y||V||(T(b),v(b,String.fromCharCode(160)," ")),G&&(b.style.width=P,b.style.height=c._h+"px"),t.appendChild(b)}t.style.cssText=y}G&&(h>t.clientHeight&&(t.style.height=h-M+"px",t.clientHeightt.clientWidth&&(t.style.width=l-E+"px",t.clientWidth":"",C=!0,A=r.createElement("div"),R=t.parentNode;for(R.insertBefore(A,t),A.textContent=t.nodeValue,R.removeChild(t),m=-1!==(a=n(t=A)).indexOf("<"),!1!==e.reduceWhiteSpace&&(a=a.replace(p," ").replace(u,"")),m&&(a=a.split("<").join("{{LT}}")),_=a.length,o=(" "===a.charAt(0)?O:"")+i(),l=0;_>l;l++)if((g=a.charAt(l))===S&&a.charAt(l-1)!==S&&l){for(o+=C?k:"",C=!1;a.charAt(l+1)===S;)o+=O,l++;l===_-1?o+=O:")"!==a.charAt(l+1)&&(o+=O+i(),C=!0)}else"{"===g&&"{{LT}}"===a.substr(l,6)?(o+=b?s()+"{{LT}}":"{{LT}}",l+=5):g.charCodeAt(0)>=55296&&g.charCodeAt(0)<=56319||a.charCodeAt(l+1)>=65024&&a.charCodeAt(l+1)<=65039?(x=d(a.substr(l,2)),y=d(a.substr(l+2,2)),h=x>=f&&c>=x&&y>=f&&c>=y||y>=127995&&127999>=y?4:2,o+=b&&" "!==g?s()+a.substr(l,h)+"":a.substr(l,h),l+=h-1):o+=b&&" "!==g?s()+g+"":g;t.outerHTML=o+(C?k:""),m&&v(R,"{{LT}}","<")},S=function(t,e,i,n){var r,s,a=y(t.childNodes),l=a.length,h="absolute"===e.position||!0===e.absolute;if(3!==t.nodeType||l>1){for(e.absolute=!1,r=0;l>r;r++)(3!==(s=a[r]).nodeType||/\S+/.test(s.nodeValue))&&(h&&3!==s.nodeType&&"inline"===o(s,"display",null,!0)&&(s.style.display="inline-block",s.style.position="relative"),s._isSplit=!0,S(s,e,i,n));return e.absolute=h,void(t._isSplit=!0)}P(t,e,i,n)},O=m.prototype;O.split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,i,n,r=this.elements.length,s=t.span?"span":"div",a=("absolute"===t.position||t.absolute,g(t.wordsClass,s)),o=g(t.charsClass,s);--r>-1;)n=this.elements[r],this._originals[r]=n.innerHTML,e=n.clientHeight,i=n.clientWidth,S(n,t,a,o),b(n,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},O.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},m.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(m.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)},m.version="0.5.6"}(_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText};"function"==typeof define&&define.amd?define([],e):"undefined"!=typeof module&&module.exports&&(module.exports=e())}();try{window.GreenSockGlobals=null,window._gsQueue=null,window._gsDefine=null,delete window.GreenSockGlobals,delete window._gsQueue,delete window._gsDefine}catch(t){}try{window.GreenSockGlobals=oldgs,window._gsQueue=oldgs_queue}catch(t){}if(1==window.tplogs)try{console.groupEnd()}catch(t){}!function(t,e){t.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]},t.expr[":"].uncached=function(e){var i=document.createElement("img");return i.src=e.src,t(e).is('img[src!=""]')&&!i.complete},t.fn.waitForImages=function(e,i,n){if(t.isPlainObject(arguments[0])&&(i=e.each,n=e.waitForAll,e=e.finished),e=e||t.noop,i=i||t.noop,n=!!n,!t.isFunction(e)||!t.isFunction(i))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var r=t(this),s=[];if(n){var a=t.waitForImages.hasImageProperties||[],o=/url\((['"]?)(.*?)\1\)/g;r.find("*").each(function(){var e=t(this);e.is("img:uncached")&&s.push({src:e.attr("src"),element:e[0]}),t.each(a,function(t,i){var n=e.css(i);if(!n)return!0;for(var r;r=o.exec(n);)s.push({src:r[2],element:e[0]})})})}else r.find("img:uncached").each(function(){s.push({src:this.src,element:this})});var l=s.length,h=0;0==l&&e.call(r[0]),t.each(s,function(n,s){var a=new Image;t(a).bind("load error",function(t){if(h++,i.call(s.element,h,l,"load"==t.type),h==l)return e.call(r[0]),!1}),a.src=s.src})})}}(jQuery);