/*! * version: beta 1.9.7 * date: 2013-05-16 * updates and docs at: http://www.greensock.com * * includes all of the following: tweenlite, tweenmax, timelinelite, timelinemax, easepack, cssplugin, roundpropsplugin, bezierplugin, attrplugin, directionalrotationplugin * * @license copyright (c) 2008-2013, greensock. all rights reserved. * this work is subject to the terms at http://www.greensock.com/terms_of_use.html or for * club greensock members, the software agreement that was issued with your membership. * * @author: jack doyle, jack@greensock.com **/ (window._gsqueue||(window._gsqueue=[])).push(function(){"use strict";window._gsdefine("tweenmax",["core.animation","core.simpletimeline","tweenlite"],function(t,e,i){var s=[].slice,r=function(t,e,s){i.call(this,t,e,s),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatdelay=this.vars.repeatdelay||0,this._dirty=!0},n=function(t){return t.jquery||t.length&&t[0]&&t[0].nodetype&&t[0].style},a=r.prototype=i.to({},.1,{}),o=[];r.version="1.9.7",a.constructor=r,a.kill()._gc=!1,r.killtweensof=r.killdelayedcallsto=i.killtweensof,r.gettweensof=i.gettweensof,r.ticker=i.ticker,a.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatdelay=this.vars.repeatdelay||0,this._uncache(!0),i.prototype.invalidate.call(this)},a.updateto=function(t,e){var s,r=this.ratio;e&&this.timeline&&this._starttime.998){var n=this._time;this.render(0,!0,!1),this._initted=!1,this.render(n,!0,!1)}else if(this._time>0){this._initted=!1,this._init();for(var a,o=1/(1-r),h=this._firstpt;h;)a=h.s+h.c,h.c*=o,h.s=a-h.c,h=h._next}return this},a.render=function(t,e,i){var s,r,n,a,h,l,_,u=this._dirty?this.totalduration():this._totalduration,p=this._time,f=this._totaltime,c=this._cycle;if(t>=u?(this._totaltime=u,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcend?this._ease.getratio(0):0):(this._time=this._duration,this.ratio=this._ease._calcend?this._ease.getratio(1):1),this._reversed||(s=!0,r="oncomplete"),0===this._duration&&((0===t||0>this._rawprevtime)&&this._rawprevtime!==t&&(i=!0,this._rawprevtime>0&&(r="onreversecomplete",e&&(t=-1))),this._rawprevtime=t)):1e-7>t?(this._totaltime=this._time=this._cycle=0,this.ratio=this._ease._calcend?this._ease.getratio(0):0,(0!==f||0===this._duration&&this._rawprevtime>0)&&(r="onreversecomplete",s=this._reversed),0>t?(this._active=!1,0===this._duration&&(this._rawprevtime>=0&&(i=!0),this._rawprevtime=t)):this._initted||(i=!0)):(this._totaltime=this._time=t,0!==this._repeat&&(a=this._duration+this._repeatdelay,this._cycle=this._totaltime/a>>0,0!==this._cycle&&this._cycle===this._totaltime/a&&this._cycle--,this._time=this._totaltime-this._cycle*a,this._yoyo&&0!==(1&this._cycle)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:0>this._time&&(this._time=0)),this._easetype?(h=this._time/this._duration,l=this._easetype,_=this._easepower,(1===l||3===l&&h>=.5)&&(h=1-h),3===l&&(h*=2),1===_?h*=h:2===_?h*=h*h:3===_?h*=h*h*h:4===_&&(h*=h*h*h*h),this.ratio=1===l?1-h:2===l?h:.5>this._time/this._duration?h/2:1-h/2):this.ratio=this._ease.getratio(this._time/this._duration)),p===this._time&&!i)return f!==this._totaltime&&this._onupdate&&(e||this._onupdate.apply(this.vars.onupdatescope||this,this.vars.onupdateparams||o)),void 0;if(!this._initted){if(this._init(),!this._initted)return;this._time&&!s?this.ratio=this._ease.getratio(this._time/this._duration):s&&this._ease._calcend&&(this.ratio=this._ease.getratio(0===this._time?0:1))}for(this._active||this._paused||(this._active=!0),0===f&&(this._startat&&(t>=0?this._startat.render(t,e,i):r||(r="_dummygs")),this.vars.onstart&&(0!==this._totaltime||0===this._duration)&&(e||this.vars.onstart.apply(this.vars.onstartscope||this,this.vars.onstartparams||o))),n=this._firstpt;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onupdate&&(0>t&&this._startat&&this._startat.render(t,e,i),e||this._onupdate.apply(this.vars.onupdatescope||this,this.vars.onupdateparams||o)),this._cycle!==c&&(e||this._gc||this.vars.onrepeat&&this.vars.onrepeat.apply(this.vars.onrepeatscope||this,this.vars.onrepeatparams||o)),r&&(this._gc||(0>t&&this._startat&&!this._onupdate&&this._startat.render(t,e,i),s&&(this._timeline.autoremovechildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"scope"]||this,this.vars[r+"params"]||o)))},r.to=function(t,e,i){return new r(t,e,i)},r.from=function(t,e,i){return i.runbackwards=!0,i.immediaterender=0!=i.immediaterender,new r(t,e,i)},r.fromto=function(t,e,i,s){return s.startat=i,s.immediaterender=0!=s.immediaterender&&0!=i.immediaterender,new r(t,e,s)},r.staggerto=r.allto=function(t,e,a,h,l,_,u){h=h||0;var p,f,c,m,d=a.delay||0,g=[],v=function(){a.oncomplete&&a.oncomplete.apply(a.oncompletescope||this,a.oncompleteparams||o),l.apply(u||this,_||o)};for(t instanceof array||("string"==typeof t&&(t=i.selector(t)||t),n(t)&&(t=s.call(t,0))),p=t.length,c=0;p>c;c++){f={};for(m in a)f[m]=a[m];f.delay=d,c===p-1&&l&&(f.oncomplete=v),g[c]=new r(t[c],e,f),d+=h}return g},r.staggerfrom=r.allfrom=function(t,e,i,s,n,a,o){return i.runbackwards=!0,i.immediaterender=0!=i.immediaterender,r.staggerto(t,e,i,s,n,a,o)},r.staggerfromto=r.allfromto=function(t,e,i,s,n,a,o,h){return s.startat=i,s.immediaterender=0!=s.immediaterender&&0!=i.immediaterender,r.staggerto(t,e,s,n,a,o,h)},r.delayedcall=function(t,e,i,s,n){return new r(e,0,{delay:t,oncomplete:e,oncompleteparams:i,oncompletescope:s,onreversecomplete:e,onreversecompleteparams:i,onreversecompletescope:s,immediaterender:!1,useframes:n,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.istweening=function(t){for(var e,s=i.gettweensof(t),r=s.length;--r>-1;)if(e=s[r],e._active||e._starttime===e._timeline._time&&e._timeline._active)return!0;return!1};var h=function(t,e){for(var s=[],r=0,n=t._first;n;)n instanceof i?s[r++]=n:(e&&(s[r++]=n),s=s.concat(h(n,e)),r=s.length),n=n._next;return s},l=r.getalltweens=function(e){return h(t._roottimeline,e).concat(h(t._rootframestimeline,e))};r.killall=function(t,i,s,r){null==i&&(i=!0),null==s&&(s=!0);var n,a,o,h=l(0!=r),_=h.length,u=i&&s&&r;for(o=0;_>o;o++)a=h[o],(u||a instanceof e||(n=a.target===a.vars.oncomplete)&&s||i&&!n)&&(t?a.totaltime(a.totalduration()):a._enabled(!1,!1))},r.killchildtweensof=function(t,e){if(null!=t){var a,o,h,l,_,u=i._tweenlookup;if("string"==typeof t&&(t=i.selector(t)||t),n(t)&&(t=s(t,0)),t instanceof array)for(l=t.length;--l>-1;)r.killchildtweensof(t[l],e);else{a=[];for(h in u)for(o=u[h].target.parentnode;o;)o===t&&(a=a.concat(u[h].tweens)),o=o.parentnode;for(_=a.length,l=0;_>l;l++)e&&a[l].totaltime(a[l].totalduration()),a[l]._enabled(!1,!1)}}};var _=function(t,i,s,r){void 0===i&&(i=!0),void 0===s&&(s=!0);for(var n,a,o=l(r),h=i&&s&&r,_=o.length;--_>-1;)a=o[_],(h||a instanceof e||(n=a.target===a.vars.oncomplete)&&s||i&&!n)&&a.paused(t)};return r.pauseall=function(t,e,i){_(!0,t,e,i)},r.resumeall=function(t,e,i){_(!1,t,e,i)},a.progress=function(t){return arguments.length?this.totaltime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatdelay),!1):this._time/this.duration()},a.totalprogress=function(t){return arguments.length?this.totaltime(this.totalduration()*t,!1):this._totaltime/this.totalduration()},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalduration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatdelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatdelay)),this.totaltime(t,e)):this._time},a.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},a.totalduration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatdelay)/(this._repeat+1)):(this._dirty&&(this._totalduration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatdelay*this._repeat,this._dirty=!1),this._totalduration)},a.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},a.repeatdelay=function(t){return arguments.length?(this._repeatdelay=t,this._uncache(!0)):this._repeatdelay},a.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0),window._gsdefine("timelinelite",["core.animation","core.simpletimeline","tweenlite"],function(t,e,i){var s=function(t){e.call(this,t),this._labels={},this.autoremovechildren=this.vars.autoremovechildren===!0,this.smoothchildtiming=this.vars.smoothchildtiming===!0,this._sortchildren=!0,this._onupdate=this.vars.onupdate;for(var i,s,n=this.vars,a=r.length;--a>-1;)if(s=n[r[a]])for(i=s.length;--i>-1;)"{self}"===s[i]&&(s=n[r[a]]=s.concat(),s[i]=this);n.tweens instanceof array&&this.add(n.tweens,0,n.align,n.stagger)},r=["onstartparams","onupdateparams","oncompleteparams","onreversecompleteparams","onrepeatparams"],n=[],a=function(t){var e,i={};for(e in t)i[e]=t[e];return i},o=n.slice,h=s.prototype=new e;return s.version="1.9.7",h.constructor=s,h.kill()._gc=!1,h.to=function(t,e,s,r){return e?this.add(new i(t,e,s),r):this.set(t,s,r)},h.from=function(t,e,s,r){return this.add(i.from(t,e,s),r)},h.fromto=function(t,e,s,r,n){return e?this.add(i.fromto(t,e,s,r),n):this.set(t,r,n)},h.staggerto=function(t,e,r,n,h,l,_,u){var p,f=new s({oncomplete:l,oncompleteparams:_,oncompletescope:u});for("string"==typeof t&&(t=i.selector(t)||t),!(t instanceof array)&&t.length&&t[0]&&t[0].nodetype&&t[0].style&&(t=o.call(t,0)),n=n||0,p=0;t.length>p;p++)r.startat&&(r.startat=a(r.startat)),f.to(t[p],e,a(r),p*n);return this.add(f,h)},h.staggerfrom=function(t,e,i,s,r,n,a,o){return i.immediaterender=0!=i.immediaterender,i.runbackwards=!0,this.staggerto(t,e,i,s,r,n,a,o)},h.staggerfromto=function(t,e,i,s,r,n,a,o,h){return s.startat=i,s.immediaterender=0!=s.immediaterender&&0!=i.immediaterender,this.staggerto(t,e,s,r,n,a,o,h)},h.call=function(t,e,s,r){return this.add(i.delayedcall(0,t,e,s),r)},h.set=function(t,e,s){return s=this._parsetimeorlabel(s,0,!0),null==e.immediaterender&&(e.immediaterender=s===this._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportroot=function(t,e){t=t||{},null==t.smoothchildtiming&&(t.smoothchildtiming=!0);var r,n,a=new s(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;)n=r._next,e&&r instanceof i&&r.target===r.vars.oncomplete||a.add(r,r._starttime-r._delay),r=n;return o.add(a,0),a},h.add=function(r,n,a,o){var h,l,_,u,p;if("number"!=typeof n&&(n=this._parsetimeorlabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof array){for(a=a||"normal",o=o||0,h=n,l=r.length,_=0;l>_;_++)(u=r[_])instanceof array&&(u=new s({tweens:u})),this.add(u,h),"string"!=typeof u&&"function"!=typeof u&&("sequence"===a?h=u._starttime+u.totalduration()/u._timescale:"start"===a&&(u._starttime-=u.delay())),h+=o;return this._uncache(!0)}if("string"==typeof r)return this.addlabel(r,n);if("function"!=typeof r)throw"cannot add "+r+" into the timeline; it is neither a tween, timeline, function, nor a string.";r=i.delayedcall(0,r)}if(e.prototype.add.call(this,r,n),this._gc&&!this._paused&&this._time===this._duration&&this._time-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removelabel(e):this.kill(null,e)},h.append=function(t,e){return this.add(t,this._parsetimeorlabel(null,e,!0,t))},h.insert=h.insertmultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},h.appendmultiple=function(t,e,i,s){return this.add(t,this._parsetimeorlabel(null,e,!0,t),i,s)},h.addlabel=function(t,e){return this._labels[t]=this._parsetimeorlabel(e),this},h.removelabel=function(t){return delete this._labels[t],this},h.getlabeltime=function(t){return null!=this._labels[t]?this._labels[t]:-1},h._parsetimeorlabel=function(e,i,s,r){var n;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r instanceof array)for(n=r.length;--n>-1;)r[n]instanceof t&&r[n].timeline===this&&this.remove(r[n]);if("string"==typeof i)return this._parsetimeorlabel(i,s&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,s);if(i=i||0,"string"!=typeof e||!isnan(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(n=e.indexof("="),-1===n)return null==this._labels[e]?s?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseint(e.charat(n-1)+"1",10)*number(e.substr(n+1)),e=n>1?this._parsetimeorlabel(e.substr(0,n-1),0,s):this.duration()}return number(e)+i},h.seek=function(t,e){return this.totaltime("number"==typeof t?t:this._parsetimeorlabel(t),e!==!1)},h.stop=function(){return this.paused(!0)},h.gotoandplay=function(t,e){return this.play(t,e)},h.gotoandstop=function(t,e){return this.pause(t,e)},h.render=function(t,e,i){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var s,r,a,o,h,l=this._dirty?this.totalduration():this._totalduration,_=this._time,u=this._starttime,p=this._timescale,f=this._paused;if(t>=l?(this._totaltime=this._time=l,this._reversed||this._haspausedchild()||(r=!0,o="oncomplete",0===this._duration&&(0===t||0>this._rawprevtime)&&this._rawprevtime!==t&&this._first&&(h=!0,this._rawprevtime>0&&(o="onreversecomplete"))),this._rawprevtime=t,t=l+1e-6):1e-7>t?(this._totaltime=this._time=0,(0!==_||0===this._duration&&this._rawprevtime>0)&&(o="onreversecomplete",r=this._reversed),0>t?(this._active=!1,0===this._duration&&this._rawprevtime>=0&&this._first&&(h=!0)):this._initted||(h=!0),this._rawprevtime=t,t=0):this._totaltime=this._time=this._rawprevtime=t,this._time!==_&&this._first||i||h){if(this._initted||(this._initted=!0),0===_&&this.vars.onstart&&0!==this._time&&(e||this.vars.onstart.apply(this.vars.onstartscope||this,this.vars.onstartparams||n)),this._time>=_)for(s=this._first;s&&(a=s._next,!this._paused||f);)(s._active||s._starttime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalduration():s._totalduration)-(t-s._starttime)*s._timescale,e,i):s.render((t-s._starttime)*s._timescale,e,i)),s=a;else for(s=this._last;s&&(a=s._prev,!this._paused||f);)(s._active||_>=s._starttime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalduration():s._totalduration)-(t-s._starttime)*s._timescale,e,i):s.render((t-s._starttime)*s._timescale,e,i)),s=a;this._onupdate&&(e||this._onupdate.apply(this.vars.onupdatescope||this,this.vars.onupdateparams||n)),o&&(this._gc||(u===this._starttime||p!==this._timescale)&&(0===this._time||l>=this.totalduration())&&(r&&(this._timeline.autoremovechildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this.vars[o].apply(this.vars[o+"scope"]||this,this.vars[o+"params"]||n)))}},h._haspausedchild=function(){for(var t=this._first;t;){if(t._paused||t instanceof s&&t._haspausedchild())return!0;t=t._next}return!1},h.getchildren=function(t,e,s,r){r=r||-9999999999;for(var n=[],a=this._first,o=0;a;)r>a._starttime||(a instanceof i?e!==!1&&(n[o++]=a):(s!==!1&&(n[o++]=a),t!==!1&&(n=n.concat(a.getchildren(!0,e,s)),o=n.length))),a=a._next;return n},h.gettweensof=function(t,e){for(var s=i.gettweensof(t),r=s.length,n=[],a=0;--r>-1;)(s[r].timeline===this||e&&this._contains(s[r]))&&(n[a++]=s[r]);return n},h._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},h.shiftchildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._starttime>=i&&(r._starttime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},h._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.gettweensof(e):this.getchildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},h.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 t!==!1&&(this._labels={}),this._uncache(!0)},h.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},h._enabled=function(t,i){if(t===this._gc)for(var s=this._first;s;)s._enabled(t,!0),s=s._next;return e.prototype._enabled.call(this,t,i)},h.progress=function(t){return arguments.length?this.totaltime(this.duration()*t,!1):this._time/this.duration()},h.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timescale(this._duration/t),this):(this._dirty&&this.totalduration(),this._duration)},h.totalduration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,s=0,r=this._last,n=999999999999;r;)e=r._prev,r._dirty&&r.totalduration(),r._starttime>n&&this._sortchildren&&!r._paused?this.add(r,r._starttime-r._delay):n=r._starttime,0>r._starttime&&!r._paused&&(s-=r._starttime,this._timeline.smoothchildtiming&&(this._starttime+=r._starttime/this._timescale),this.shiftchildren(-r._starttime,!1,-9999999999),n=0),i=r._starttime+r._totalduration/r._timescale,i>s&&(s=i),r=e;this._duration=this._totalduration=s,this._dirty=!1}return this._totalduration}return 0!==this.totalduration()&&0!==t&&this.timescale(this._totalduration/t),this},h.usesframes=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootframestimeline},h.rawtime=function(){return this._paused||0!==this._totaltime&&this._totaltime!==this._totalduration?this._totaltime:(this._timeline.rawtime()-this._starttime)*this._timescale},s},!0),window._gsdefine("timelinemax",["timelinelite","tweenlite","easing.ease"],function(t,e,i){var s=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatdelay=this.vars.repeatdelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},r=[],n=new i(null,null,1,0),a=function(t){for(;t;){if(t._paused)return!0;t=t._timeline}return!1},o=s.prototype=new t;return o.constructor=s,o.kill()._gc=!1,s.version="1.9.7",o.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatdelay=this.vars.repeatdelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},o.addcallback=function(t,i,s,r){return this.add(e.delayedcall(0,t,s,r),i)},o.removecallback=function(t,e){if(null==e)this._kill(null,t);else for(var i=this.gettweensof(t,!1),s=i.length,r=this._parsetimeorlabel(e);--s>-1;)i[s]._starttime===r&&i[s]._enabled(!1,!1);return this},o.tweento=function(t,i){i=i||{};var s,a,o={ease:n,overwrite:2,useframes:this.usesframes(),immediaterender:!1};for(s in i)o[s]=i[s];return o.time=this._parsetimeorlabel(t),a=new e(this,math.abs(number(o.time)-this._time)/this._timescale||.001,o),o.onstart=function(){a.target.paused(!0),a.vars.time!==a.target.time()&&a.duration(math.abs(a.vars.time-a.target.time())/a.target._timescale),i.onstart&&i.onstart.apply(i.onstartscope||a,i.onstartparams||r)},a},o.tweenfromto=function(t,e,i){i=i||{},t=this._parsetimeorlabel(t),i.startat={oncomplete:this.seek,oncompleteparams:[t],oncompletescope:this},i.immediaterender=i.immediaterender!==!1;var s=this.tweento(e,i);return s.duration(math.abs(s.vars.time-t)/this._timescale||.001)},o.render=function(t,e,i){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var s,n,a,o,h,l,_=this._dirty?this.totalduration():this._totalduration,u=this._duration,p=this._time,f=this._totaltime,c=this._starttime,m=this._timescale,d=this._rawprevtime,g=this._paused,v=this._cycle;if(t>=_?(this._locked||(this._totaltime=_,this._cycle=this._repeat),this._reversed||this._haspausedchild()||(n=!0,o="oncomplete",0===u&&(0===t||0>this._rawprevtime)&&this._rawprevtime!==t&&this._first&&(h=!0,this._rawprevtime>0&&(o="onreversecomplete"))),this._rawprevtime=t,this._yoyo&&0!==(1&this._cycle)?this._time=t=0:(this._time=u,t=u+1e-6)):1e-7>t?(this._locked||(this._totaltime=this._cycle=0),this._time=0,(0!==p||0===u&&this._rawprevtime>0&&!this._locked)&&(o="onreversecomplete",n=this._reversed),0>t?(this._active=!1,0===u&&this._rawprevtime>=0&&this._first&&(h=!0)):this._initted||(h=!0),this._rawprevtime=t,t=0):(this._time=this._rawprevtime=t,this._locked||(this._totaltime=t,0!==this._repeat&&(l=u+this._repeatdelay,this._cycle=this._totaltime/l>>0,0!==this._cycle&&this._cycle===this._totaltime/l&&this._cycle--,this._time=this._totaltime-this._cycle*l,this._yoyo&&0!==(1&this._cycle)&&(this._time=u-this._time),this._time>u?(this._time=u,t=u+1e-6):0>this._time?this._time=t=0:t=this._time))),this._cycle!==v&&!this._locked){var y=this._yoyo&&0!==(1&v),t=y===(this._yoyo&&0!==(1&this._cycle)),w=this._totaltime,x=this._cycle,b=this._rawprevtime,p=this._time;this._totaltime=v*u,v>this._cycle?y=!y:this._totaltime+=u,this._time=p,this._rawprevtime=0===u?d-1e-5:d,this._cycle=v,this._locked=!0,p=y?0:u,this.render(p,e,0===u),e||this._gc||this.vars.onrepeat&&this.vars.onrepeat.apply(this.vars.onrepeatscope||this,this.vars.onrepeatparams||r),t&&(p=y?u+1e-6:-1e-6,this.render(p,!0,!1)),this._time=p,this._totaltime=w,this._cycle=x,this._rawprevtime=b,this._locked=!1}if(!(this._time!==p&&this._first||i||h))return f!==this._totaltime&&this._onupdate&&(e||this._onupdate.apply(this.vars.onupdatescope||this,this.vars.onupdateparams||r)),void 0;if(this._initted||(this._initted=!0),0===f&&this.vars.onstart&&0!==this._totaltime&&(e||this.vars.onstart.apply(this.vars.onstartscope||this,this.vars.onstartparams||r)),this._time>=p)for(s=this._first;s&&(a=s._next,!this._paused||g);)(s._active||s._starttime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalduration():s._totalduration)-(t-s._starttime)*s._timescale,e,i):s.render((t-s._starttime)*s._timescale,e,i)),s=a;else for(s=this._last;s&&(a=s._prev,!this._paused||g);)(s._active||p>=s._starttime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalduration():s._totalduration)-(t-s._starttime)*s._timescale,e,i):s.render((t-s._starttime)*s._timescale,e,i)),s=a;this._onupdate&&(e||this._onupdate.apply(this.vars.onupdatescope||this,this.vars.onupdateparams||r)),o&&(this._locked||this._gc||(c===this._starttime||m!==this._timescale)&&(0===this._time||_>=this.totalduration())&&(n&&(this._timeline.autoremovechildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this.vars[o].apply(this.vars[o+"scope"]||this,this.vars[o+"params"]||r)))},o.getactive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var s,r,n=[],o=this.getchildren(t,e,i),h=0,l=o.length;for(s=0;l>s;s++)r=o[s],r._paused||r._timeline._time>=r._starttime&&r._timeline._timee;e++)if(i[e].time>t)return i[e].name;return null},o.getlabelbefore=function(t){null==t&&(t=this._time);for(var e=this.getlabelsarray(),i=e.length;--i>-1;)if(t>e[i].time)return e[i].name;return null},o.getlabelsarray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},o.progress=function(t){return arguments.length?this.totaltime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatdelay),!1):this._time/this.duration()},o.totalprogress=function(t){return arguments.length?this.totaltime(this.totalduration()*t,!1):this._totaltime/this.totalduration()},o.totalduration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatdelay)/(this._repeat+1)):(this._dirty&&(t.prototype.totalduration.call(this),this._totalduration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatdelay*this._repeat),this._totalduration)},o.time=function(t,e){return arguments.length?(this._dirty&&this.totalduration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatdelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatdelay)),this.totaltime(t,e)):this._time},o.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},o.repeatdelay=function(t){return arguments.length?(this._repeatdelay=t,this._uncache(!0)):this._repeatdelay},o.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o.currentlabel=function(t){return arguments.length?this.seek(t,!0):this.getlabelbefore(this._time+1e-8)},s},!0),function(){var t=180/math.pi,e=math.pi/180,i=[],s=[],r=[],n={},a=function(t,e,i,s){this.a=t,this.b=e,this.c=i,this.d=s,this.da=s-t,this.ca=i-t,this.ba=e-t},o=",x,y,z,left,top,right,bottom,margintop,marginleft,marginright,marginbottom,paddingleft,paddingtop,paddingright,paddingbottom,backgroundposition,backgroundposition_y,",h=function(t,e,i,s){var r={a:t},n={},a={},o={c:s},h=(t+e)/2,l=(e+i)/2,_=(i+s)/2,u=(h+l)/2,p=(l+_)/2,f=(p-u)/8;return r.b=h+(t-h)/4,n.b=u+f,r.c=n.a=(r.b+n.b)/2,n.c=a.a=(u+p)/2,a.b=p-f,o.b=_+(s-_)/4,a.c=o.a=(a.b+o.b)/2,[r,n,a,o]},l=function(t,e,n,a,o){var l,_,u,p,f,c,m,d,g,v,y,t,w,x=t.length-1,b=0,p=t[0].a;for(l=0;x>l;l++)f=t[b],_=f.a,u=f.d,p=t[b+1].d,o?(y=i[l],t=s[l],w=.25*(t+y)*e/(a?.5:r[l]||.5),c=u-(u-_)*(a?.5*e:0!==y?w/y:0),m=u+(p-u)*(a?.5*e:0!==t?w/t:0),d=u-(c+((m-c)*(3*y/(y+t)+.5)/4||0))):(c=u-.5*(u-_)*e,m=u+.5*(p-u)*e,d=u-(c+m)/2),c+=d,m+=d,f.c=g=c,f.b=0!==l?p:p=f.a+.6*(f.c-f.a),f.da=u-_,f.ca=g-_,f.ba=p-_,n?(v=h(_,p,g,u),t.splice(b,1,v[0],v[1],v[2],v[3]),b+=4):b++,p=m;f=t[b],f.b=p,f.c=p+.4*(f.d-p),f.da=f.d-f.a,f.ca=f.c-f.a,f.ba=p-f.a,n&&(v=h(f.a,p,f.c,f.d),t.splice(b,1,v[0],v[1],v[2],v[3]))},_=function(t,e,r,n){var o,h,l,_,u,p,f=[];if(n)for(t=[n].concat(t),h=t.length;--h>-1;)"string"==typeof(p=t[h][e])&&"="===p.charat(1)&&(t[h][e]=n[e]+number(p.charat(0)+p.substr(2)));if(o=t.length-2,0>o)return f[0]=new a(t[0][e],0,0,t[-1>o?0:1][e]),f;for(h=0;o>h;h++)l=t[h][e],_=t[h+1][e],f[h]=new a(l,0,0,_),r&&(u=t[h+2][e],i[h]=(i[h]||0)+(_-l)*(_-l),s[h]=(s[h]||0)+(u-_)*(u-_));return f[h]=new a(t[h][e],0,0,t[h+1][e]),f},u=function(t,e,a,h,u,p){var f,c,m,d,g,v,y,t,w={},x=[],b=p||t[0];u="string"==typeof u?","+u+",":o,null==e&&(e=1);for(c in t[0])x.push(c);if(t.length>1){for(t=t[t.length-1],y=!0,f=x.length;--f>-1;)if(c=x[f],math.abs(b[c]-t[c])>.05){y=!1;break}y&&(t=t.concat(),p&&t.unshift(p),t.push(t[1]),p=t[t.length-3])}for(i.length=s.length=r.length=0,f=x.length;--f>-1;)c=x[f],n[c]=-1!==u.indexof(","+c+","),w[c]=_(t,c,n[c],p);for(f=i.length;--f>-1;)i[f]=math.sqrt(i[f]),s[f]=math.sqrt(s[f]);if(!h){for(f=x.length;--f>-1;)if(n[c])for(m=w[x[f]],v=m.length-1,d=0;v>d;d++)g=m[d+1].da/s[d]+m[d].da/i[d],r[d]=(r[d]||0)+g*g;for(f=r.length;--f>-1;)r[f]=math.sqrt(r[f])}for(f=x.length,d=a?4:1;--f>-1;)c=x[f],m=w[c],l(m,e,a,h,n[c]),y&&(m.splice(0,d),m.splice(m.length-d,d));return w},p=function(t,e,i){e=e||"soft";var s,r,n,o,h,l,_,u,p,f,c,m={},d="cubic"===e?3:2,g="soft"===e,v=[];if(g&&i&&(t=[i].concat(t)),null==t||d+1>t.length)throw"invalid bezier data";for(p in t[0])v.push(p);for(l=v.length;--l>-1;){for(p=v[l],m[p]=h=[],f=0,u=t.length,_=0;u>_;_++)s=null==i?t[_][p]:"string"==typeof(c=t[_][p])&&"="===c.charat(1)?i[p]+number(c.charat(0)+c.substr(2)):number(c),g&&_>1&&u-1>_&&(h[f++]=(s+h[f-2])/2),h[f++]=s;for(u=f-d+1,f=0,_=0;u>_;_+=d)s=h[_],r=h[_+1],n=h[_+2],o=2===d?0:h[_+3],h[f++]=c=3===d?new a(s,r,n,o):new a(s,(2*r+s)/3,(2*r+n)/3,n);h.length=f}return m},f=function(t,e,i){for(var s,r,n,a,o,h,l,_,u,p,f,c=1/i,m=t.length;--m>-1;)for(p=t[m],n=p.a,a=p.d-n,o=p.c-n,h=p.b-n,s=r=0,_=1;i>=_;_++)l=c*_,u=1-l,s=r-(r=(l*l*a+3*u*(l*o+u*h))*l),f=m*i+_-1,e[f]=(e[f]||0)+s*s},c=function(t,e){e=e>>0||6;var i,s,r,n,a=[],o=[],h=0,l=0,_=e-1,u=[],p=[];for(i in t)f(t[i],a,e);for(r=a.length,s=0;r>s;s++)h+=math.sqrt(a[s]),n=s%e,p[n]=h,n===_&&(l+=h,n=s/e>>0,u[n]=p,o[n]=l,h=0,p=[]);return{length:l,lengths:o,segments:u}},m=window._gsdefine.plugin({propname:"bezier",priority:-1,api:2,global:!0,init:function(t,e,i){this._target=t,e instanceof array&&(e={values:e}),this._func={},this._round={},this._props=[],this._timeres=null==e.timeresolution?6:parseint(e.timeresolution,10);var s,r,n,a,o,h=e.values||[],l={},_=h[0],f=e.autorotate||i.vars.orienttobezier;this._autorotate=f?f instanceof array?f:[["x","y","rotation",f===!0?0:number(f)||0]]:null;for(s in _)this._props.push(s);for(n=this._props.length;--n>-1;)s=this._props[n],this._overwriteprops.push(s),r=this._func[s]="function"==typeof t[s],l[s]=r?t[s.indexof("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():parsefloat(t[s]),o||l[s]!==h[0][s]&&(o=l);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?u(h,isnan(e.curviness)?1:e.curviness,!1,"thrubasic"===e.type,e.correlate,o):p(h,e.type,l),this._segcount=this._beziers[s].length,this._timeres){var m=c(this._beziers,this._timeres);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curseg=this._segments[0],this._s2=this._curseg[0],this._prec=1/this._curseg.length}if(f=this._autorotate)for(f[0]instanceof array||(this._autorotate=f=[f]),n=f.length;--n>-1;)for(a=0;3>a;a++)s=f[n][a],this._func[s]="function"==typeof t[s]?t[s.indexof("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]:!1;return!0},set:function(e){var i,s,r,n,a,o,h,l,_,u,p=this._segcount,f=this._func,c=this._target;if(this._timeres){if(_=this._lengths,u=this._curseg,e*=this._length,r=this._li,e>this._l2&&p-1>r){for(l=p-1;l>r&&e>=(this._l2=_[++r]););this._l1=_[r-1],this._li=r,this._curseg=u=this._segments[r],this._s2=u[this._s1=this._si=0]}else if(this._l1>e&&r>0){for(;r>0&&(this._l1=_[--r])>=e;);0===r&&this._l1>e?this._l1=0:r++,this._l2=_[r],this._li=r,this._curseg=u=this._segments[r],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(i=r,e-=this._l1,r=this._si,e>this._s2&&u.length-1>r){for(l=u.length-1;l>r&&e>=(this._s2=u[++r]););this._s1=u[r-1],this._si=r}else if(this._s1>e&&r>0){for(;r>0&&(this._s1=u[--r])>=e;);0===r&&this._s1>e?this._s1=0:r++,this._s2=u[r],this._si=r}o=(r+(e-this._s1)/(this._s2-this._s1))*this._prec}else i=0>e?0:e>=1?p-1:p*e>>0,o=(e-i*(1/p))*p;for(s=1-o,r=this._props.length;--r>-1;)n=this._props[r],a=this._beziers[n][i],h=(o*o*a.da+3*s*(o*a.ca+s*a.ba))*o+a.a,this._round[n]&&(h=h+(h>0?.5:-.5)>>0),f[n]?c[n](h):c[n]=h;if(this._autorotate){var m,d,g,v,y,t,w,x=this._autorotate;for(r=x.length;--r>-1;)n=x[r][2],t=x[r][3]||0,w=x[r][4]===!0?1:t,a=this._beziers[x[r][0]],m=this._beziers[x[r][1]],a&&m&&(a=a[i],m=m[i],d=a.a+(a.b-a.a)*o,v=a.b+(a.c-a.b)*o,d+=(v-d)*o,v+=(a.c+(a.d-a.c)*o-v)*o,g=m.a+(m.b-m.a)*o,y=m.b+(m.c-m.b)*o,g+=(y-g)*o,y+=(m.c+(m.d-m.c)*o-y)*o,h=math.atan2(y-g,v-d)*w+t,f[n]?c[n](h):c[n]=h)}}}),d=m.prototype;m.bezierthrough=u,m.cubictoquadratic=h,m._autocss=!0,m.quadratictocubic=function(t,e,i){return new a(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssregister=function(){var t=window._gsdefine.globals.cssplugin;if(t){var i=t._internals,s=i._parsetoproxy,r=i._setpluginratio,n=i.cssproptween;i._registercomplexspecialprop("bezier",{parser:function(t,i,a,o,h,l){i instanceof array&&(i={values:i}),l=new m;var _,u,p,f=i.values,c=f.length-1,d=[],g={};if(0>c)return h;for(_=0;c>=_;_++)p=s(t,f[_],o,h,l,c!==_),d[_]=p.end;for(u in i)g[u]=i[u];return g.values=d,h=new n(t,"bezier",0,0,p.pt,2),h.data=p,h.plugin=l,h.setratio=r,0===g.autorotate&&(g.autorotate=!0),!g.autorotate||g.autorotate instanceof array||(_=g.autorotate===!0?0:number(g.autorotate)*e,g.autorotate=null!=p.end.left?[["left","top","rotation",_,!0]]:null!=p.end.x?[["x","y","rotation",_,!0]]:!1),g.autorotate&&(o._transform||o._enabletransforms(!1),p.autorotate=o._target._gstransform),l._oninittween(p.proxy,g,o._tween),h}})}},d._roundprops=function(t,e){for(var i=this._overwriteprops,s=i.length;--s>-1;)(t[i[s]]||t.bezier||t.bezierthrough)&&(this._round[i[s]]=e)},d._kill=function(t){var e,i,s=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=s.length;--i>-1;)s[i]===e&&s.splice(i,1);return this._super._kill.call(this,t)}}(),window._gsdefine("plugins.cssplugin",["plugins.tweenplugin","tweenlite"],function(t,e){var i,s,r,n,a=function(){t.call(this,"css"),this._overwriteprops.length=0},o={},h=a.prototype=new t("css");h.constructor=a,a.version="1.9.7",a.api=2,a.defaulttransformperspective=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}; var l,_,u,p,f,c,m=/(?:\d|\-\d|\.\d|\-\.\d)+/g,d=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,g=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-za-z0-9]*(?:%|\b)/gi,v=/[^\d\-\.]/g,y=/(?:\d|\-|\+|=|#|\.)*/g,t=/opacity *= *([^)]*)/,w=/opacity:([^;]*)/,x=/alpha\(opacity *=.+?\)/i,b=/^(rgb|hsl)/,p=/([a-z])/g,k=/-([a-z])/gi,r=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,s=function(t,e){return e.touppercase()},a=/(?:left|right|width)/i,c=/(m11|m12|m21|m22)=[\d\-\.e]+/gi,o=/progid\:dximagetransform\.microsoft\.matrix\(.+?\)/i,d=/,(?=[^\)]*(?:\(|$))/gi,m=math.pi/180,i=180/math.pi,f={},e=document,n=e.createelement("div"),l=e.createelement("img"),x=a._internals={_specialprops:o},u=navigator.useragent,z=function(){var t,e=u.indexof("android"),i=e.createelement("div");return u=-1!==u.indexof("safari")&&-1===u.indexof("chrome")&&(-1===e||number(u.substr(e+8,1))>3),f=u&&6>number(u.substr(u.indexof("version/")+8,1)),p=-1!==u.indexof("firefox"),/msie ([0-9]{1,}[\.0-9]{0,})/.exec(u),c=parsefloat(regexp.$1),i.innerhtml="a",t=i.getelementsbytagname("a")[0],t?/^0.55/.test(t.style.opacity):!1}(),y=function(t){return t.test("string"==typeof t?t:(t.currentstyle?t.currentstyle.filter:t.style.filter)||"")?parsefloat(regexp.$1)/100:1},b=function(t){window.console&&console.log(t)},j="",q="",v=function(t,e){e=e||n;var i,s,r=e.style;if(void 0!==r[t])return t;for(t=t.charat(0).touppercase()+t.substr(1),i=["o","moz","ms","ms","webkit"],s=5;--s>-1&&void 0===r[i[s]+t];);return s>=0?(q=3===s?"ms":i[s],j="-"+q.tolowercase()+"-",q+t):null},z=e.defaultview?e.defaultview.getcomputedstyle:function(){},g=a.getstyle=function(t,e,i,s,r){var n;return z||"opacity"!==e?(!s&&t.style[e]?n=t.style[e]:(i=i||z(t,null))?(t=i.getpropertyvalue(e.replace(p,"-$1").tolowercase()),n=t||i.length?t:i[e]):t.currentstyle&&(i=t.currentstyle,n=i[e]),null==r||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:r):y(t)},$=function(t,e,i,s,r){if("px"===s||!s)return i;if("auto"===s||!i)return 0;var n,a=a.test(e),o=t,h=n.style,l=0>i;return l&&(i=-i),"%"===s&&-1!==e.indexof("border")?n=i/100*(a?t.clientwidth:t.clientheight):(h.csstext="border-style:solid; border-width:0; position:absolute; line-height:0;","%"!==s&&o.appendchild?h[a?"borderleftwidth":"bordertopwidth"]=i+s:(o=t.parentnode||e.body,h[a?"width":"height"]=i+s),o.appendchild(n),n=parsefloat(n[a?"offsetwidth":"offsetheight"]),o.removechild(n),0!==n||r||(n=$(t,e,i,s,!0))),l?-n:n},q=function(t,e,i){if("absolute"!==g(t,"position",i))return 0;var s="left"===e?"left":"top",r=g(t,"margin"+s,i);return t["offset"+s]-($(t,e,parsefloat(r),r.replace(y,""))||0)},w=function(t,e){var i,s,r={};if(e=e||z(t,null))if(i=e.length)for(;--i>-1;)r[e[i].replace(k,s)]=e.getpropertyvalue(e[i]);else for(i in e)r[i]=e[i];else if(e=t.currentstyle||t.style)for(i in e)r[i.replace(k,s)]=e[i];return z||(r.opacity=y(t)),s=be(t,e,!1),r.rotation=s.rotation*i,r.skewx=s.skewx*i,r.scalex=s.scalex,r.scaley=s.scaley,r.x=s.x,r.y=s.y,xe&&(r.z=s.z,r.rotationx=s.rotationx*i,r.rotationy=s.rotationy*i,r.scalez=s.scalez),r.filters&&delete r.filters,r},h=function(t,e,i,s,r){var n,a,o,h={},l=t.style;for(a in i)"csstext"!==a&&"length"!==a&&isnan(a)&&(e[a]!==(n=i[a])||r&&r[a])&&-1===a.indexof("origin")&&("number"==typeof n||"string"==typeof n)&&(h[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(v,"")?n:0:q(t,a),void 0!==l[a]&&(o=new ue(l,a,l[a],o)));if(s)for(a in s)"classname"!==a&&(h[a]=s[a]);return{difs:h,firstmpt:o}},k={width:["left","right"],height:["top","bottom"]},j=["marginleft","marginright","margintop","marginbottom"],te=function(t,e,i){var s=parsefloat("width"===e?t.offsetwidth:t.offsetheight),r=k[e],n=r.length;for(i=i||z(t,null);--n>-1;)s-=parsefloat(g(t,"padding"+r[n],i,!0))||0,s-=parsefloat(g(t,"border"+r[n]+"width",i,!0))||0;return s},ee=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),s=-1!==t.indexof("left")?"0%":-1!==t.indexof("right")?"100%":i[0],r=-1!==t.indexof("top")?"0%":-1!==t.indexof("bottom")?"100%":i[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===s||isnan(parsefloat(s)))&&(s="50%"),e&&(e.oxp=-1!==s.indexof("%"),e.oyp=-1!==r.indexof("%"),e.oxr="="===s.charat(1),e.oyr="="===r.charat(1),e.ox=parsefloat(s.replace(v,"")),e.oy=parsefloat(r.replace(v,""))),s+" "+r+(i.length>2?" "+i[2]:"")},ie=function(t,e){return"string"==typeof t&&"="===t.charat(1)?parseint(t.charat(0)+"1",10)*parsefloat(t.substr(2)):parsefloat(t)-parsefloat(e)},se=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charat(1)?parseint(t.charat(0)+"1",10)*number(t.substr(2))+e:parsefloat(t)},re=function(t,e,i,s){var r,n,a,o,h=1e-6;return null==t?o=e:"number"==typeof t?o=t*m:(r=2*math.pi,n=t.split("_"),a=number(n[0].replace(v,""))*(-1===t.indexof("rad")?m:1)-("="===t.charat(1)?0:e),n.length&&(s&&(s[i]=e+a),-1!==t.indexof("short")&&(a%=r,a!==a%(r/2)&&(a=0>a?a+r:a-r)),-1!==t.indexof("_cw")&&0>a?a=(a+9999999999*r)%r-(0|a/r)*r:-1!==t.indexof("ccw")&&a>0&&(a=(a-9999999999*r)%r-(0|a/r)*r)),o=e+a),h>o&&o>-h&&(o=0),o},ne={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]},ae=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},oe=function(t){var e,i,s,r,n,a;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charat(t.length-1)&&(t=t.substr(0,t.length-1)),ne[t]?ne[t]:"#"===t.charat(0)?(4===t.length&&(e=t.charat(1),i=t.charat(2),s=t.charat(3),t="#"+e+e+i+i+s+s),t=parseint(t.substr(1),16),[t>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(m),r=number(t[0])%360/360,n=number(t[1])/100,a=number(t[2])/100,i=.5>=a?a*(n+1):a+n-a*n,e=2*a-i,t.length>3&&(t[3]=number(t[3])),t[0]=ae(r+1/3,e,i),t[1]=ae(r,e,i),t[2]=ae(r-1/3,e,i),t):(t=t.match(m)||ne.transparent,t[0]=number(t[0]),t[1]=number(t[1]),t[2]=number(t[2]),t.length>3&&(t[3]=number(t[3])),t)):ne.black},he="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\b#.+?\\b";for(h in ne)he+="|"+h+"\\b";he=regexp(he+")","gi");var le=function(t,e,i,s){if(null==t)return function(t){return t};var r,n=e?(t.match(he)||[""])[0]:"",a=t.split(n).join("").match(g)||[],o=t.substr(0,t.indexof(a[0])),h=")"===t.charat(t.length-1)?")":"",l=-1!==t.indexof(" ")?" ":",",_=a.length,u=_>0?a[0].replace(m,""):"";return _?r=e?function(t){var e,p,f,c;if("number"==typeof t)t+=u;else if(s&&d.test(t)){for(c=t.replace(d,"|").split("|"),f=0;c.length>f;f++)c[f]=r(c[f]);return c.join(",")}if(e=(t.match(he)||[n])[0],p=t.split(e).join("").match(g)||[],f=p.length,_>f--)for(;_>++f;)p[f]=i?p[0|(f-1)/2]:a[f];return o+p.join(l)+l+e+h+(-1!==t.indexof("inset")?" inset":"")}:function(t){var e,n,p;if("number"==typeof t)t+=u;else if(s&&d.test(t)){for(n=t.replace(d,"|").split("|"),p=0;n.length>p;p++)n[p]=r(n[p]);return n.join(",")}if(e=t.match(g)||[],p=e.length,_>p--)for(;_>++p;)e[p]=i?e[0|(p-1)/2]:a[p];return o+e.join(l)+h}:function(t){return t}},_e=function(t){return t=t.split(","),function(e,i,s,r,n,a,o){var h,l=(i+"").split(" ");for(o={},h=0;4>h;h++)o[t[h]]=l[h]=l[h]||l[(h-1)/2>>0];return r.parse(e,o,n,a)}},ue=(x._setpluginratio=function(t){this.plugin.setratio(t);for(var e,i,s,r,n=this.data,a=n.proxy,o=n.firstmpt,h=1e-6;o;)e=a[o.v],o.r?e=e>0?0|e+.5:0|e-.5:h>e&&e>-h&&(e=0),o.t[o.p]=e,o=o._next;if(n.autorotate&&(n.autorotate.rotation=a.rotation),1===t)for(o=n.firstmpt;o;){if(i=o.t,i.type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,s=1;i.l>s;s++)r+=i["xn"+s]+i["xs"+(s+1)];i.e=r}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,s,r){this.t=t,this.p=e,this.v=i,this.r=r,s&&(s._prev=this,this._next=s)}),pe=(x._parsetoproxy=function(t,e,i,s,r,n){var a,o,h,l,_,u=s,p={},f={},c=i._transform,m=f;for(i._transform=null,f=e,s=_=i.parse(t,e,s,r),f=m,n&&(i._transform=c,u&&(u._prev=null,u._prev&&(u._prev._next=null)));s&&s!==u;){if(1>=s.type&&(o=s.p,f[o]=s.s+s.c,p[o]=s.s,n||(l=new ue(s,"s",o,l,s.r),s.c=0),1===s.type))for(a=s.l;--a>0;)h="xn"+a,o=s.p+"_"+h,f[o]=s.data[h],p[o]=s[h],n||(l=new ue(s,h,o,l,s.rxp[h]));s=s._next}return{proxy:p,end:f,firstmpt:l,pt:_}},x.cssproptween=function(t,e,s,r,a,o,h,l,_,u,p){this.t=t,this.p=e,this.s=s,this.c=r,this.n=h||"css_"+e,t instanceof pe||n.push(this.n),this.r=l,this.type=o||0,_&&(this.pr=_,i=!0),this.b=void 0===u?s:u,this.e=void 0===p?s+r:p,a&&(this._next=a,a._prev=this)}),fe=a.parsecomplex=function(t,e,i,s,r,n,a,o,h,_){i=i||n||"",a=new pe(t,e,0,0,a,_?2:1,null,!1,o,i,s),s+="";var u,p,f,c,g,v,y,t,w,x,p,k,r=i.split(", ").join(",").split(" "),s=s.split(", ").join(",").split(" "),a=r.length,c=l!==!1;for((-1!==s.indexof(",")||-1!==i.indexof(","))&&(r=r.join(" ").replace(d,", ").split(" "),s=s.join(" ").replace(d,", ").split(" "),a=r.length),a!==s.length&&(r=(n||"").split(" "),a=r.length),a.plugin=h,a.setratio=_,u=0;a>u;u++)if(c=r[u],g=s[u],t=parsefloat(c),t||0===t)a.appendxtra("",t,ie(g,t),g.replace(d,""),c&&-1!==g.indexof("px"),!0);else if(r&&("#"===c.charat(0)||ne[c]||b.test(c)))k=","===g.charat(g.length-1)?"),":")",c=oe(c),g=oe(g),w=c.length+g.length>6,w&&!z&&0===g[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(s[u]).join("transparent")):(z||(w=!1),a.appendxtra(w?"rgba(":"rgb(",c[0],g[0]-c[0],",",!0,!0).appendxtra("",c[1],g[1]-c[1],",",!0).appendxtra("",c[2],g[2]-c[2],w?",":k,!0),w&&(c=4>c.length?1:c[3],a.appendxtra("",c,(4>g.length?1:g[3])-c,k,!1)));else if(v=c.match(m)){if(y=g.match(d),!y||y.length!==v.length)return a;for(f=0,p=0;v.length>p;p++)p=v[p],x=c.indexof(p,f),a.appendxtra(c.substr(f,x-f),number(p),ie(y[p],p),"",c&&"px"===c.substr(x+p.length,2),0===p),f=x+p.length;a["xs"+a.l]+=c.substr(f)}else a["xs"+a.l]+=a.l?" "+c:c;if(-1!==s.indexof("=")&&a.data){for(k=a.xs0+a.data.s,u=1;a.l>u;u++)k+=a["xs"+u]+a.data["xn"+u];a.e=k+a["xs"+u]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},ce=9;for(h=pe.prototype,h.l=h.pr=0;--ce>0;)h["xn"+ce]=0,h["xs"+ce]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setratio=h.rxp=null,h.appendxtra=function(t,e,i,s,r,n){var a=this,o=a.l;return a["xs"+o]+=n&&o?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setratio?2:1,a["xs"+a.l]=s||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=r,a["xn"+o]=e,a.plugin||(a.xfirst=new pe(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+(s||""),a)};var me=function(t,e){e=e||{},this.p=e.prefix?v(t)||t:t,o[t]=o[this.p]=this,this.format=e.formatter||le(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},de=x._registercomplexspecialprop=function(t,e,i){"object"!=typeof e&&(e={parser:i});var s,r,n=t.split(","),a=e.defaultvalue;for(i=i||[a],s=0;n.length>s;s++)e.prefix=0===s&&e.prefix,e.defaultvalue=i[s]||a,r=new me(n[s],e)},ge=function(t){if(!o[t]){var e=t.charat(0).touppercase()+t.substr(1)+"plugin";de(t,{parser:function(t,i,s,r,n,a,h){var l=(window.greensockglobals||window).com.greensock.plugins[e];return l?(l._cssregister(),o[s].parse(t,i,s,r,n,a,h)):(b("error: "+e+" js file not loaded."),n)}})}};h=me.prototype,h.parsecomplex=function(t,e,i,s,r,n){var a,o,h,l,_,u,p=this.keyword;if(this.multi&&(d.test(i)||d.test(e)?(o=e.replace(d,"|").split("|"),h=i.replace(d,"|").split("|")):p&&(o=[e],h=[i])),h){for(l=h.length>o.length?h.length:o.length,a=0;l>a;a++)e=o[a]=o[a]||this.dflt,i=h[a]=h[a]||this.dflt,p&&(_=e.indexof(p),u=i.indexof(p),_!==u&&(i=-1===u?h:o,i[a]+=" "+p));e=o.join(", "),i=h.join(", ")}return fe(t,this.p,e,i,this.clrs,this.dflt,s,this.pr,r,n)},h.parse=function(t,e,i,s,n,a){return this.parsecomplex(t.style,this.format(g(t,this.p,r,!1,this.dflt)),this.format(e),n,a)},a.registerspecialprop=function(t,e,i){de(t,{parser:function(t,s,r,n,a,o){var h=new pe(t,r,0,0,a,2,r,!1,i);return h.plugin=o,h.setratio=e(t,s,n._tween,r),h},priority:i})};var ve="scalex,scaley,scalez,x,y,z,skewx,rotation,rotationx,rotationy,perspective".split(","),ye=v("transform"),te=j+"transform",we=v("transformorigin"),xe=null!==v("perspective"),be=function(t,e,i){var s,r,n,o,h,l,_,u,p,f,c,m,d,g=i?t._gstransform||{skewy:0}:{skewy:0},v=0>g.scalex,y=2e-5,t=1e5,w=-math.pi+1e-4,x=math.pi-1e-4,b=xe?parsefloat(g(t,we,e,!1,"0 0 0").split(" ")[2])||g.zorigin||0:0;if(ye)s=g(t,te,e,!0);else if(t.currentstyle)if(s=t.currentstyle.filter.match(c),s&&4===s.length)s=[s[0].substr(4),number(s[2].substr(4)),number(s[1].substr(4)),s[3].substr(4),g.x||0,g.y||0].join(",");else{if(null!=g.x)return g;s=""}for(r=(s||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],n=r.length;--n>-1;)o=number(r[n]),r[n]=(h=o-(o|=0))?(0|h*t+(0>h?-.5:.5))/t+o:o;if(16===r.length){var p=r[8],k=r[9],r=r[10],s=r[12],a=r[13],o=r[14];if(g.zorigin&&(o=-g.zorigin,s=p*o-r[12],a=k*o-r[13],o=r*o+g.zorigin-r[14]),!i||null==g.rotationx){var d,m,i,f,e,n,l,x=r[0],u=r[1],z=r[2],y=r[3],b=r[4],j=r[5],q=r[6],v=r[7],z=r[11],$=g.rotationx=math.atan2(q,r),q=w>$||$>x;$&&(f=math.cos(-$),e=math.sin(-$),d=b*f+p*e,m=j*f+k*e,i=q*f+r*e,p=b*-e+p*f,k=j*-e+k*f,r=q*-e+r*f,z=v*-e+z*f,b=d,j=m,q=i),$=g.rotationy=math.atan2(p,x),$&&(n=w>$||$>x,f=math.cos(-$),e=math.sin(-$),d=x*f-p*e,m=u*f-k*e,i=z*f-r*e,k=u*e+k*f,r=z*e+r*f,z=y*e+z*f,x=d,u=m,z=i),$=g.rotation=math.atan2(u,j),$&&(l=w>$||$>x,f=math.cos(-$),e=math.sin(-$),x=x*f+b*e,m=u*f+j*e,j=u*-e+j*f,q=z*-e+q*f,u=m),l&&q?g.rotation=g.rotationx=0:l&&n?g.rotation=g.rotationy=0:n&&q&&(g.rotationy=g.rotationx=0),g.scalex=(0|math.sqrt(x*x+u*u)*t+.5)/t,g.scaley=(0|math.sqrt(j*j+k*k)*t+.5)/t,g.scalez=(0|math.sqrt(q*q+r*r)*t+.5)/t,g.skewx=0,g.perspective=z?1/(0>z?-z:z):0,g.x=s,g.y=a,g.z=o}}else if(!(xe&&0!==r.length&&g.x===r[4]&&g.y===r[5]&&(g.rotationx||g.rotationy)||void 0!==g.x&&"none"===g(t,"display",e))){var w=r.length>=6,h=w?r[0]:1,k=r[1]||0,j=r[2]||0,te=w?r[3]:1;g.x=r[4]||0,g.y=r[5]||0,l=math.sqrt(h*h+k*k),_=math.sqrt(te*te+j*j),u=h||k?math.atan2(k,h):g.rotation||0,p=j||te?math.atan2(j,te)+u:g.skewx||0,f=l-math.abs(g.scalex||0),c=_-math.abs(g.scaley||0),math.abs(p)>math.pi/2&&math.abs(p)<1.5*math.pi&&(v?(l*=-1,p+=0>=u?math.pi:-math.pi,u+=0>=u?math.pi:-math.pi):(_*=-1,p+=0>=p?math.pi:-math.pi)),m=(u-g.rotation)%math.pi,d=(p-g.skewx)%math.pi,(void 0===g.skewx||f>y||-y>f||c>y||-y>c||m>w&&x>m&&false|m*t||d>w&&x>d&&false|d*t)&&(g.scalex=l,g.scaley=_,g.rotation=u,g.skewx=p),xe&&(g.rotationx=g.rotationy=g.z=0,g.perspective=parsefloat(a.defaulttransformperspective)||0,g.scalez=1)}g.zorigin=b;for(n in g)y>g[n]&&g[n]>-y&&(g[n]=0);return i&&(t._gstransform=g),g},pe=function(t){var e,i,s=this.data,r=-s.rotation,n=r+s.skewx,a=1e5,o=(0|math.cos(r)*s.scalex*a)/a,h=(0|math.sin(r)*s.scalex*a)/a,l=(0|math.sin(n)*-s.scaley*a)/a,_=(0|math.cos(n)*s.scaley*a)/a,u=this.t.style,p=this.t.currentstyle;if(p){i=h,h=-l,l=-i,e=p.filter,u.filter="";var f,m,d=this.t.offsetwidth,g=this.t.offsetheight,v="absolute"!==p.position,w="progid:dximagetransform.microsoft.matrix(m11="+o+", m12="+h+", m21="+l+", m22="+_,x=s.x,b=s.y;if(null!=s.ox&&(f=(s.oxp?.01*d*s.ox:s.ox)-d/2,m=(s.oyp?.01*g*s.oy:s.oy)-g/2,x+=f-(f*o+m*h),b+=m-(f*l+m*_)),v)f=d/2,m=g/2,w+=", dx="+(f-(f*o+m*h)+x)+", dy="+(m-(f*l+m*_)+b)+")";else{var p,k,r,s=8>c?1:-1;for(f=s.ieoffsetx||0,m=s.ieoffsety||0,s.ieoffsetx=math.round((d-((0>o?-o:o)*d+(0>h?-h:h)*g))/2+x),s.ieoffsety=math.round((g-((0>_?-_:_)*g+(0>l?-l:l)*d))/2+b),ce=0;4>ce;ce++)k=j[ce],p=p[k],i=-1!==p.indexof("px")?parsefloat(p):$(this.t,k,parsefloat(p),p.replace(y,""))||0,r=i!==s[k]?2>ce?-s.ieoffsetx:-s.ieoffsety:2>ce?f-s.ieoffsetx:m-s.ieoffsety,u[k]=(s[k]=math.round(i-r*(0===ce||2===ce?1:s)))+"px";w+=", sizingmethod='auto expand')"}u.filter=-1!==e.indexof("dximagetransform.microsoft.matrix(")?e.replace(o,w):w+" "+e,(0===t||1===t)&&1===o&&0===h&&0===l&&1===_&&(v&&-1===w.indexof("dx=0, dy=0")||t.test(e)&&100!==parsefloat(regexp.$1)||-1===e.indexof("gradient(")&&u.removeattribute("filter"))}},ke=function(){var t,e,i,s,r,n,a,o,h,l=this.data,_=this.t.style,u=l.perspective,f=l.scalex,c=0,m=0,d=0,g=0,v=l.scaley,y=0,t=0,w=0,x=0,b=l.scalez,p=0,k=0,r=0,s=u?-1/u:0,a=l.rotation,c=l.zorigin,o=1e5;p&&(a=_.top?"top":_.bottom?"bottom":parsefloat(g(this.t,"top",null,!1))?"bottom":"top",i=g(this.t,a,null,!1),o=parsefloat(i)||0,h=i.substr((o+"").length)||"px",l._fffix=!l._fffix,_[a]=(l._fffix?o+.05:o-.05)+h),(a||l.skewx)&&(i=f*math.cos(a),s=v*math.sin(a),a-=l.skewx,c=f*-math.sin(a),v*=math.cos(a),f=i,g=s),a=l.rotationy,a&&(t=math.cos(a),e=math.sin(a),i=f*t,s=g*t,r=b*-e,n=s*-e,m=f*e,y=g*e,b*=t,s*=t,f=i,g=s,w=r,k=n),a=l.rotationx,a&&(t=math.cos(a),e=math.sin(a),i=c*t+m*e,s=v*t+y*e,r=x*t+b*e,n=r*t+s*e,m=c*-e+m*t,y=v*-e+y*t,b=x*-e+b*t,s=r*-e+s*t,c=i,v=s,x=r,r=n),c&&(p-=c,d=m*p,t=y*p,p=b*p+c),d=(i=(d+=l.x)-(d|=0))?(0|i*o+(0>i?-.5:.5))/o+d:d,t=(i=(t+=l.y)-(t|=0))?(0|i*o+(0>i?-.5:.5))/o+t:t,p=(i=(p+=l.z)-(p|=0))?(0|i*o+(0>i?-.5:.5))/o+p:p,_[ye]="matrix3d("+[(0|f*o)/o,(0|g*o)/o,(0|w*o)/o,(0|k*o)/o,(0|c*o)/o,(0|v*o)/o,(0|x*o)/o,(0|r*o)/o,(0|m*o)/o,(0|y*o)/o,(0|b*o)/o,(0|s*o)/o,d,t,p,u?1+-p/u:1].join(",")+")"},re=function(){var t,e,i,s,r,n,a,o,h,l=this.data,_=this.t,u=_.style;p&&(t=u.top?"top":u.bottom?"bottom":parsefloat(g(_,"top",null,!1))?"bottom":"top",e=g(_,t,null,!1),i=parsefloat(e)||0,s=e.substr((i+"").length)||"px",l._fffix=!l._fffix,u[t]=(l._fffix?i+.05:i-.05)+s),l.rotation||l.skewx?(r=l.rotation,n=r-l.skewx,a=1e5,o=l.scalex*a,h=l.scaley*a,u[ye]="matrix("+(0|math.cos(r)*o)/a+","+(0|math.sin(r)*o)/a+","+(0|math.sin(n)*-h)/a+","+(0|math.cos(n)*h)/a+","+l.x+","+l.y+")"):u[ye]="matrix("+l.scalex+",0,0,"+l.scaley+","+l.x+","+l.y+")"};de("transform,scale,scalex,scaley,scalez,x,y,z,rotation,rotationx,rotationy,rotationz,skewx,skewy,shortrotation,shortrotationx,shortrotationy,shortrotationz,transformorigin,transformperspective,directionalrotation",{parser:function(t,e,i,s,n,a,o){if(s._transform)return n;var h,l,_,u,p,f,c,m=s._transform=be(t,r,!0),d=t.style,g=1e-6,v=ve.length,y=o,t={};if("string"==typeof y.transform&&ye)_=d.csstext,d[ye]=y.transform,d.display="block",h=be(t,null,!1),d.csstext=_;else if("object"==typeof y){if(h={scalex:se(null!=y.scalex?y.scalex:y.scale,m.scalex),scaley:se(null!=y.scaley?y.scaley:y.scale,m.scaley),scalez:se(null!=y.scalez?y.scalez:y.scale,m.scalez),x:se(y.x,m.x),y:se(y.y,m.y),z:se(y.z,m.z),perspective:se(y.transformperspective,m.perspective)},c=y.directionalrotation,null!=c)if("object"==typeof c)for(_ in c)y[_]=c[_];else y.rotation=c;h.rotation=re("rotation"in y?y.rotation:"shortrotation"in y?y.shortrotation+"_short":"rotationz"in y?y.rotationz:m.rotation*i,m.rotation,"rotation",t),xe&&(h.rotationx=re("rotationx"in y?y.rotationx:"shortrotationx"in y?y.shortrotationx+"_short":m.rotationx*i||0,m.rotationx,"rotationx",t),h.rotationy=re("rotationy"in y?y.rotationy:"shortrotationy"in y?y.shortrotationy+"_short":m.rotationy*i||0,m.rotationy,"rotationy",t)),h.skewx=null==y.skewx?m.skewx:re(y.skewx,m.skewx),h.skewy=null==y.skewy?m.skewy:re(y.skewy,m.skewy),(l=h.skewy-m.skewy)&&(h.skewx+=l,h.rotation+=l)}for(p=m.z||m.rotationx||m.rotationy||h.z||h.rotationx||h.rotationy||h.perspective,p||null==y.scale||(h.scalez=1);--v>-1;)i=ve[v],u=h[i]-m[i],(u>g||-g>u||null!=f[i])&&(f=!0,n=new pe(m,i,m[i],u,n),i in t&&(n.e=t[i]),n.xs0=0,n.plugin=a,s._overwriteprops.push(n.n));return u=y.transformorigin,(u||xe&&p&&m.zorigin)&&(ye?(f=!0,u=(u||g(t,i,r,!1,"50% 50%"))+"",i=we,n=new pe(d,i,0,0,n,-1,"css_transformorigin"),n.b=d[i],n.plugin=a,xe?(_=m.zorigin,u=u.split(" "),m.zorigin=(u.length>2?parsefloat(u[2]):_)||0,n.xs0=n.e=d[i]=u[0]+" "+(u[1]||"50%")+" 0px",n=new pe(m,"zorigin",0,0,n,-1,n.n),n.b=_,n.xs0=n.e=m.zorigin):n.xs0=n.e=d[i]=u):ee(u+"",m)),f&&(s._transformtype=p||3===this._transformtype?3:2),n},prefix:!0}),de("boxshadow",{defaultvalue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),de("borderradius",{defaultvalue:"0px",parser:function(t,e,i,n,a){e=this.format(e);var o,h,l,_,u,p,f,c,m,d,g,v,y,t,w,x,b=["bordertopleftradius","bordertoprightradius","borderbottomrightradius","borderbottomleftradius"],p=t.style;for(m=parsefloat(t.offsetwidth),d=parsefloat(t.offsetheight),o=e.split(" "),h=0;b.length>h;h++)this.p.indexof("border")&&(b[h]=v(b[h])),u=_=g(t,b[h],r,!1,"0px"),-1!==u.indexof(" ")&&(_=u.split(" "),u=_[0],_=_[1]),p=l=o[h],f=parsefloat(u),v=u.substr((f+"").length),y="="===p.charat(1),y?(c=parseint(p.charat(0)+"1",10),p=p.substr(2),c*=parsefloat(p),g=p.substr((c+"").length-(0>c?1:0))||""):(c=parsefloat(p),g=p.substr((c+"").length)),""===g&&(g=s[i]||v),g!==v&&(t=$(t,"borderleft",f,v),w=$(t,"bordertop",f,v),"%"===g?(u=100*(t/m)+"%",_=100*(w/d)+"%"):"em"===g?(x=$(t,"borderleft",1,"em"),u=t/x+"em",_=w/x+"em"):(u=t+"px",_=w+"px"),y&&(p=parsefloat(u)+c+g,l=parsefloat(_)+c+g)),a=fe(p,b[h],u+" "+_,p+" "+l,!1,"0px",a);return a},prefix:!0,formatter:le("0px 0px 0px 0px",!1,!0)}),de("backgroundposition",{defaultvalue:"0 0",parser:function(t,e,i,s,n,a){var o,h,l,_,u,p,f="background-position",m=r||z(t,null),d=this.format((m?c?m.getpropertyvalue(f+"-x")+" "+m.getpropertyvalue(f+"-y"):m.getpropertyvalue(f):t.currentstyle.backgroundpositionx+" "+t.currentstyle.backgroundpositiony)||"0 0"),g=this.format(e);if(-1!==d.indexof("%")!=(-1!==g.indexof("%"))&&(p=g(t,"backgroundimage").replace(r,""),p&&"none"!==p)){for(o=d.split(" "),h=g.split(" "),l.setattribute("src",p),l=2;--l>-1;)d=o[l],_=-1!==d.indexof("%"),_!==(-1!==h[l].indexof("%"))&&(u=0===l?t.offsetwidth-l.width:t.offsetheight-l.height,o[l]=_?parsefloat(d)/100*u+"px":100*(parsefloat(d)/u)+"%");d=o.join(" ")}return this.parsecomplex(t.style,d,g,n,a)},formatter:ee}),de("backgroundsize",{defaultvalue:"0 0",formatter:ee}),de("perspective",{defaultvalue:"0px",prefix:!0}),de("perspectiveorigin",{defaultvalue:"50% 50%",prefix:!0}),de("transformstyle",{prefix:!0}),de("backfacevisibility",{prefix:!0}),de("margin",{parser:_e("margintop,marginright,marginbottom,marginleft")}),de("padding",{parser:_e("paddingtop,paddingright,paddingbottom,paddingleft")}),de("clip",{defaultvalue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,s,n,a){var o,h,l;return 9>c?(h=t.currentstyle,l=8>c?" ":",",o="rect("+h.cliptop+l+h.clipright+l+h.clipbottom+l+h.clipleft+")",e=this.format(e).split(",").join(l)):(o=this.format(g(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parsecomplex(t.style,o,e,n,a)}}),de("textshadow",{defaultvalue:"0px 0px 0px #999",color:!0,multi:!0}),de("autoround,strictunits",{parser:function(t,e,i,s,r){return r}}),de("border",{defaultvalue:"0px solid #000",parser:function(t,e,i,s,n,a){return this.parsecomplex(t.style,this.format(g(t,"bordertopwidth",r,!1,"0px")+" "+g(t,"bordertopstyle",r,!1,"solid")+" "+g(t,"bordertopcolor",r,!1,"#000")),this.format(e),n,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(he)||["#000"])[0]}}),de("float,cssfloat,stylefloat",{parser:function(t,e,i,s,r){var n=t.style,a="cssfloat"in n?"cssfloat":"stylefloat";return new pe(n,a,0,0,r,-1,i,!1,0,n[a],e)}});var se=function(t){var e,i=this.t,s=i.filter,r=0|this.s+this.c*t;100===r&&(-1===s.indexof("atrix(")&&-1===s.indexof("radient(")?(i.removeattribute("filter"),e=!g(this.data,"filter")):(i.filter=s.replace(x,""),e=!0)),e||(this.xn1&&(i.filter=s=s||"alpha(opacity=100)"),-1===s.indexof("opacity")?i.filter+=" alpha(opacity="+r+")":i.filter=s.replace(t,"opacity="+r))};de("opacity,alpha,autoalpha",{defaultvalue:"1",parser:function(t,e,i,s,n,a){var o,h=parsefloat(g(t,"opacity",r,!1,"1")),l=t.style;return e=parsefloat(e),"autoalpha"===i&&(o=g(t,"visibility",r),1===h&&"hidden"===o&&0!==e&&(h=0),n=new pe(l,"visibility",0,0,n,-1,null,!1,0,0!==h?"visible":"hidden",0===e?"hidden":"visible"),n.xs0="visible",s._overwriteprops.push(n.n)),z?n=new pe(l,"opacity",h,e-h,n):(n=new pe(l,"opacity",100*h,100*(e-h),n),n.xn1="autoalpha"===i?1:0,l.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=a,n.setratio=se),n}});var ae=function(t,e){e&&(t.removeproperty?t.removeproperty(e.replace(p,"-$1").tolowercase()):t.removeattribute(e))},ce=function(t){if(this.t._gsclasspt=this,1===t||0===t){this.t.classname=0===t?this.b:this.e;for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:ae(i,e.p),e=e._next;1===t&&this.t._gsclasspt===this&&(this.t._gsclasspt=null)}else this.t.classname!==this.e&&(this.t.classname=this.e)};de("classname",{parser:function(t,e,s,n,a,o,h){var l,_,u,p,f,c=t.classname,m=t.style.csstext;if(a=n._classnamept=new pe(t,s,0,0,a,2),a.setratio=ce,a.pr=-11,i=!0,a.b=c,_=w(t,r),u=t._gsclasspt){for(p={},f=u.data;f;)p[f.p]=1,f=f._next;u.setratio(1)}return t._gsclasspt=a,a.e="="!==e.charat(1)?e:c.replace(regexp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charat(0)?" "+e.substr(2):""),n._tween._duration&&(t.classname=a.e,l=h(t,_,w(t),h,p),t.classname=c,a.data=l.firstmpt,t.style.csstext=m,a=a.xfirst=n.parse(t,l.difs,a,o)),a}});var oe=function(t){if((1===t||0===t)&&this.data._totaltime===this.data._totalduration)for(var e,i="all"===this.e,s=this.t.style,r=i?s.csstext.split(";"):this.e.split(","),n=r.length,a=o.transform.parse;--n>-1;)e=r[n],i&&(e=e.substr(0,e.indexof(":")).split(" ").join("")),o[e]&&(e=o[e].parse===a?ye:o[e].p),ae(s,e)};for(de("clearprops",{parser:function(t,e,s,r,n){return n=new pe(t,s,0,0,n,2),n.setratio=oe,n.e=e,n.pr=-10,n.data=r._tween,i=!0,n}}),h="bezier,throwprops,physicsprops,physics2d".split(","),ce=h.length;ce--;)ge(h[ce]);h=a.prototype,h._firstpt=null,h._oninittween=function(t,e,o){if(!t.nodetype)return!1;this._target=t,this._tween=o,this._vars=e,l=e.autoround,i=!1,s=e.suffixmap||a.suffixmap,r=z(t,""),n=this._overwriteprops;var h,p,c,m,d,g,v,y,t,x=t.style;if(_&&""===x.zindex&&(h=g(t,"zindex",r),("auto"===h||""===h)&&(x.zindex=0)),"string"==typeof e&&(m=x.csstext,h=w(t,r),x.csstext=m+";"+e,h=h(t,h,w(t)).difs,!z&&w.test(e)&&(h.opacity=parsefloat(regexp.$1)),e=h,x.csstext=m),this._firstpt=p=this.parse(t,e,null),this._transformtype){for(t=3===this._transformtype,ye?u&&(_=!0,""===x.zindex&&(v=g(t,"zindex",r),("auto"===v||""===v)&&(x.zindex=0)),f&&(x.webkitbackfacevisibility=this._vars.webkitbackfacevisibility||(t?"visible":"hidden"))):x.zoom=1,c=p;c&&c._next;)c=c._next;y=new pe(t,"transform",0,0,null,2),this._linkcssp(y,null,c),y.setratio=t&&xe?ke:ye?re:pe,y.data=this._transform||be(t,r,!0),n.pop()}if(i){for(;p;){for(g=p._next,c=m;c&&c.pr>p.pr;)c=c._next;(p._prev=c?c._prev:d)?p._prev._next=p:m=p,(p._next=c)?c._prev=p:d=p,p=g}this._firstpt=m}return!0},h.parse=function(t,e,i,n){var a,h,_,u,p,f,c,m,d,g,v=t.style;for(a in e)f=e[a],h=o[a],h?i=h.parse(t,f,a,this,i,n,e):(p=g(t,a,r)+"",d="string"==typeof f,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexof("color")||d&&b.test(f)?(d||(f=oe(f),f=(f.length>3?"rgba(":"rgb(")+f.join(",")+")"),i=fe(v,a,p,f,!0,"transparent",i,0,n)):!d||-1===f.indexof(" ")&&-1===f.indexof(",")?(_=parsefloat(p),c=_||0===_?p.substr((_+"").length):"",(""===p||"auto"===p)&&("width"===a||"height"===a?(_=te(t,a,r),c="px"):"left"===a||"top"===a?(_=q(t,a,r),c="px"):(_="opacity"!==a?0:1,c="")),g=d&&"="===f.charat(1),g?(u=parseint(f.charat(0)+"1",10),f=f.substr(2),u*=parsefloat(f),m=f.replace(y,"")):(u=parsefloat(f),m=d?f.substr((u+"").length)||"":""),""===m&&(m=s[a]||c),f=u||0===u?(g?u+_:u)+m:e[a],c!==m&&""!==m&&(u||0===u)&&(_||0===_)&&(_=$(t,a,_,c),"%"===m?(_/=$(t,a,100,"%")/100,_>100&&(_=100),e.strictunits!==!0&&(p=_+"%")):"em"===m?_/=$(t,a,1,"em"):(u=$(t,a,u,m),m="px"),g&&(u||0===u)&&(f=u+_+m)),g&&(u+=_),!_&&0!==_||!u&&0!==u?void 0!==v[a]&&(f||"nan"!=f+""&&null!=f)?(i=new pe(v,a,u||_||0,0,i,-1,"css_"+a,!1,0,p,f),i.xs0="none"!==f||"display"!==a&&-1===a.indexof("style")?f:p):b("invalid "+a+" tween value: "+e[a]):(i=new pe(v,a,_,u-_,i,0,"css_"+a,l!==!1&&("px"===m||"zindex"===a),0,p,f),i.xs0=m)):i=fe(v,a,p,f,!0,null,i,0,n)),n&&i&&!i.plugin&&(i.plugin=n);return i},h.setratio=function(t){var e,i,s,r=this._firstpt,n=1e-6;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||this._tween._rawprevtime===-1e-6)for(;r;){if(e=r.c*t+r.s,r.r?e=e>0?0|e+.5:0|e-.5:n>e&&e>-n&&(e=0),r.type)if(1===r.type)if(s=r.l,2===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===s)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,s=1;r.l>s;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setratio&&r.setratio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setratio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setratio(t),r=r._next},h._enabletransforms=function(t){this._transformtype=t||3===this._transformtype?3:2},h._linkcssp=function(t,e,i,s){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),i?i._next=t:s||null!==this._firstpt||(this._firstpt=t),t._prev?t._prev._next=t._next:this._firstpt===t&&(this._firstpt=t._next),t._next=e,t._prev=i),t},h._kill=function(e){var i,s,r,n=e;if(e.css_autoalpha||e.css_alpha){n={};for(s in e)n[s]=e[s];n.css_opacity=1,n.css_autoalpha&&(n.css_visibility=1)}return e.css_classname&&(i=this._classnamept)&&(r=i.xfirst,r&&r._prev?this._linkcssp(r._prev,i._next,r._prev._prev):r===this._firstpt&&(this._firstpt=i._next),i._next&&this._linkcssp(i._next,i._next._next,r._prev),this._classnamept=null),t.prototype._kill.call(this,n)};var de=function(t,e,i){var s,r,n,a;if(t.slice)for(r=t.length;--r>-1;)de(t[r],e,i);else for(s=t.childnodes,r=s.length;--r>-1;)n=s[r],a=n.type,n.style&&(e.push(w(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childnodes.length||de(n,e,i)};return a.cascadeto=function(t,i,s){var r,n,a,o=e.to(t,i,s),h=[o],l=[],_=[],u=[],p=e._internals.reservedprops;for(t=o._targets||o.target,de(t,l,u),o.render(i,!0),de(t,_),o.render(0,!0),o._enabled(!0),r=u.length;--r>-1;)if(n=h(u[r],l[r],_[r]),n.firstmpt){n=n.difs;for(a in s)p[a]&&(n[a]=s[a]);h.push(e.to(u[r],i,n))}return h},t.activate([a]),a},!0),function(){var t=window._gsdefine.plugin({propname:"roundprops",priority:-1,api:2,init:function(t,e,i){return this._tween=i,!0}}),e=t.prototype;e._oninitallprops=function(){for(var t,e,i,s=this._tween,r=s.vars.roundprops instanceof array?s.vars.roundprops:s.vars.roundprops.split(","),n=r.length,a={},o=s._proplookup.roundprops;--n>-1;)a[r[n]]=1;for(n=r.length;--n>-1;)for(t=r[n],e=s._firstpt;e;)i=e._next,e.pg?e.t._roundprops(a,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:s._firstpt===e&&(s._firstpt=i),e._next=e._prev=null,s._proplookup[t]=o),e=i;return!1},e._add=function(t,e,i,s){this._addtween(t,e,i,i+s,e,!0),this._overwriteprops.push(e)}}(),window._gsdefine.plugin({propname:"attr",api:2,init:function(t,e){var i;if("function"!=typeof t.setattribute)return!1;this._target=t,this._proxy={};for(i in e)this._addtween(this._proxy,i,parsefloat(t.getattribute(i)),e[i],i),this._overwriteprops.push(i);return!0},set:function(t){this._super.setratio.call(this,t);for(var e,i=this._overwriteprops,s=i.length;--s>-1;)e=i[s],this._target.setattribute(e,this._proxy[e]+"")}}),window._gsdefine.plugin({propname:"directionalrotation",api:2,init:function(t,e){"object"!=typeof e&&(e={rotation:e}),this.finals={};var i,s,r,n,a,o,h=e.useradians===!0?2*math.pi:360,l=1e-6;for(i in e)"useradians"!==i&&(o=(e[i]+"").split("_"),s=o[0],r=parsefloat("function"!=typeof t[i]?t[i]:t[i.indexof("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]()),n=this.finals[i]="string"==typeof s&&"="===s.charat(1)?r+parseint(s.charat(0)+"1",10)*number(s.substr(2)):number(s)||0,a=n-r,o.length&&(s=o.join("_"),-1!==s.indexof("short")&&(a%=h,a!==a%(h/2)&&(a=0>a?a+h:a-h)),-1!==s.indexof("_cw")&&0>a?a=(a+9999999999*h)%h-(0|a/h)*h:-1!==s.indexof("ccw")&&a>0&&(a=(a-9999999999*h)%h-(0|a/h)*h)),(a>l||-l>a)&&(this._addtween(t,i,r,r+a,i),this._overwriteprops.push(i)));return!0},set:function(t){var e;if(1!==t)this._super.setratio.call(this,t);else for(e=this._firstpt;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next }})._autocss=!0,window._gsdefine("easing.back",["easing.ease"],function(t){var e,i,s,r=window.greensockglobals||window,n=r.com.greensock,a=2*math.pi,o=math.pi/2,h=n._class,l=function(e,i){var s=h("easing."+e,function(){},!0),r=s.prototype=new t;return r.constructor=s,r.getratio=i,s},_=t.register||function(){},u=function(t,e,i,s){var r=h("easing."+t,{easeout:new e,easein:new i,easeinout:new s},!0);return _(r,t),r},p=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)},f=function(e,i){var s=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=s.prototype=new t;return r.constructor=s,r.getratio=i,r.config=function(t){return new s(t)},s},c=u("back",f("backout",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),f("backin",function(t){return t*t*((this._p1+1)*t-this._p1)}),f("backinout",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=h("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=i===!0},!0),d=m.prototype=new t;return d.constructor=m,d.getratio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcend?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._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},m.ease=new m(.7,.7),d.config=m.config=function(t,e,i){return new m(t,e,i)},e=h("easing.steppedease",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),d=e.prototype=new t,d.constructor=e,d.getratio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},d.config=e.config=function(t){return new e(t)},i=h("easing.roughease",function(e){e=e||{};for(var i,s,r,n,a,o,h=e.taper||"none",l=[],_=0,u=0|(e.points||20),f=u,c=e.randomize!==!1,m=e.clamp===!0,d=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=c?math.random():1/u*f,s=d?d.getratio(i):i,"none"===h?r=g:"out"===h?(n=1-i,r=n*n*g):"in"===h?r=i*i*g:.5>i?(n=2*i,r=.5*n*n*g):(n=2*(1-i),r=.5*n*n*g),c?s+=math.random()*r-.5*r:f%2?s+=.5*r:s-=.5*r,m&&(s>1?s=1:0>s&&(s=0)),l[_++]={x:i,y:s};for(l.sort(function(t,e){return t.x-e.x}),o=new p(1,1,null),f=u;--f>-1;)a=l[f],o=new p(a.x,a.y,o);this._prev=new p(0,0,0!==o.t?o:o.next)},!0),d=i.prototype=new t,d.constructor=i,d.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&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},d.config=function(t){return new i(t)},i.ease=new i,u("bounce",l("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}),l("bouncein",function(t){return 1/2.75>(t=1-t)?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)}),l("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})),u("circ",l("circout",function(t){return math.sqrt(1-(t-=1)*t)}),l("circin",function(t){return-(math.sqrt(1-t*t)-1)}),l("circinout",function(t){return 1>(t*=2)?-.5*(math.sqrt(1-t*t)-1):.5*(math.sqrt(1-(t-=2)*t)+1)})),s=function(e,i,s){var r=h("easing."+e,function(t,e){this._p1=t||1,this._p2=e||s,this._p3=this._p2/a*(math.asin(1/this._p1)||0)},!0),n=r.prototype=new t;return n.constructor=r,n.getratio=i,n.config=function(t,e){return new r(t,e)},r},u("elastic",s("elasticout",function(t){return this._p1*math.pow(2,-10*t)*math.sin((t-this._p3)*a/this._p2)+1},.3),s("elasticin",function(t){return-(this._p1*math.pow(2,10*(t-=1))*math.sin((t-this._p3)*a/this._p2))},.3),s("elasticinout",function(t){return 1>(t*=2)?-.5*this._p1*math.pow(2,10*(t-=1))*math.sin((t-this._p3)*a/this._p2):.5*this._p1*math.pow(2,-10*(t-=1))*math.sin((t-this._p3)*a/this._p2)+1},.45)),u("expo",l("expoout",function(t){return 1-math.pow(2,-10*t)}),l("expoin",function(t){return math.pow(2,10*(t-1))-.001}),l("expoinout",function(t){return 1>(t*=2)?.5*math.pow(2,10*(t-1)):.5*(2-math.pow(2,-10*(t-1)))})),u("sine",l("sineout",function(t){return math.sin(t*o)}),l("sinein",function(t){return-math.cos(t*o)+1}),l("sineinout",function(t){return-.5*(math.cos(math.pi*t)-1)})),h("easing.easelookup",{find:function(e){return t.map[e]}},!0),_(r.slowmo,"slowmo","ease,"),_(i,"roughease","ease,"),_(e,"steppedease","ease,"),c},!0)}),function(t){"use strict";var e,i,s,r,n,a=t.greensockglobals||t,o=function(t){var e,i=t.split("."),s=a;for(e=0;i.length>e;e++)s[i[e]]=s=s[i[e]]||{};return s},h=o("com.greensock"),l=[].slice,_=function(){},u={},p=function(e,i,s,r){this.sc=u[e]?u[e].sc:[],u[e]=this,this.gsclass=null,this.func=s;var n=[];this.check=function(h){for(var l,_,f,c,m=i.length,d=m;--m>-1;)(l=u[i[m]]||new p(i[m],[])).gsclass?(n[m]=l.gsclass,d--):h&&l.sc.push(this);if(0===d&&s)for(_=("com.greensock."+e).split("."),f=_.pop(),c=o(_.join("."))[f]=this.gsclass=s.apply(s,n),r&&(a[f]=c,"function"==typeof define&&define.amd?define((t.greensockamdpath?t.greensockamdpath+"/":"")+e.split(".").join("/"),[],function(){return c}):"undefined"!=typeof module&&module.exports&&(module.exports=c)),m=0;this.sc.length>m;m++)this.sc[m].check()},this.check(!0)},f=t._gsdefine=function(t,e,i,s){return new p(t,e,i,s)},c=h._class=function(t,e,i){return e=e||function(){},f(t,[],function(){return e},i),e};f.globals=a;var m=[0,0,1,1],d=[],g=c("easing.ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?m.concat(e):m},!0),v=g.map={},y=g.register=function(t,e,i,s){for(var r,n,a,o,l=e.split(","),_=l.length,u=(i||"easein,easeout,easeinout").split(",");--_>-1;)for(n=l[_],r=s?c("easing."+n,null,!0):h.easing[n]||{},a=u.length;--a>-1;)o=u[a],v[n+"."+o]=v[o+n]=r[o]=t.getratio?t:t[o]||new t};for(s=g.prototype,s._calcend=!1,s.getratio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:.5>t?s/2:1-s/2},e=["linear","quad","cubic","quart","quint,strong"],i=e.length;--i>-1;)s=e[i]+",power"+i,y(new g(null,null,1,i),s,"easeout",!0),y(new g(null,null,2,i),s,"easein"+(0===i?",easenone":"")),y(new g(null,null,3,i),s,"easeinout");v.linear=h.easing.linear.easein,v.swing=h.easing.quad.easeinout;var t=c("events.eventdispatcher",function(t){this._listeners={},this._eventtarget=t||this});s=t.prototype,s.addeventlistener=function(t,e,i,s,a){a=a||0;var o,h,l=this._listeners[t],_=0;for(null==l&&(this._listeners[t]=l=[]),h=l.length;--h>-1;)o=l[h],o.c===e&&o.s===i?l.splice(h,1):0===_&&a>o.pr&&(_=h+1);l.splice(_,0,{c:e,s:i,up:s,pr:a}),this!==r||n||r.wake()},s.removeeventlistener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return s.splice(i,1),void 0},s.dispatchevent=function(t){var e,i,s,r=this._listeners[t];if(r)for(e=r.length,i=this._eventtarget;--e>-1;)s=r[e],s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i)};var w=t.requestanimationframe,x=t.cancelanimationframe,b=date.now||function(){return(new date).gettime()};for(e=["ms","moz","webkit","o"],i=e.length;--i>-1&&!w;)w=t[e[i]+"requestanimationframe"],x=t[e[i]+"cancelanimationframe"]||t[e[i]+"cancelrequestanimationframe"];c("ticker",function(t,e){var i,s,a,o,h,l=this,u=b(),p=e!==!1&&w,f=function(t){l.time=(b()-u)/1e3;var e=a,r=l.time-h;(!i||r>0||t===!0)&&(l.frame++,h+=r+(r>=o?.004:o-r),l.dispatchevent("tick")),t!==!0&&e===a&&(a=s(f))};t.call(l),this.time=this.frame=0,this.tick=function(){f(!0)},this.sleep=function(){null!=a&&(p&&x?x(a):cleartimeout(a),s=_,a=null,l===r&&(n=!1))},this.wake=function(){null!==a&&l.sleep(),s=0===i?_:p&&w?w:function(t){return settimeout(t,0|1e3*(h-l.time)+1)},l===r&&(n=!0),f(2)},this.fps=function(t){return arguments.length?(i=t,o=1/(i||60),h=this.time+o,l.wake(),void 0):i},this.useraf=function(t){return arguments.length?(l.sleep(),p=t,l.fps(i),void 0):p},l.fps(t),settimeout(function(){p&&(!a||5>l.frame)&&l.useraf(!1)},1500)}),s=h.ticker.prototype=new h.events.eventdispatcher,s.constructor=h.ticker;var p=c("core.animation",function(t,e){if(this.vars=e||{},this._duration=this._totalduration=t||0,this._delay=number(this.vars.delay)||0,this._timescale=1,this._active=this.vars.immediaterender===!0,this.data=this.vars.data,this._reversed=this.vars.reversed===!0,n){n||r.wake();var i=this.vars.useframes?e:n;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});r=p.ticker=new h.ticker,s=p.prototype,s._dirty=s._gc=s._initted=s._paused=!1,s._totaltime=s._time=0,s._rawprevtime=-1,s._next=s._last=s._onupdate=s._timeline=s.timeline=null,s._paused=!1,s.play=function(t,e){return arguments.length&&this.seek(t,e),this.reversed(!1).paused(!1)},s.pause=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!0)},s.resume=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!1)},s.seek=function(t,e){return this.totaltime(number(t),e!==!1)},s.restart=function(t,e){return this.reversed(!1).paused(!1).totaltime(t?-this._delay:0,e!==!1,!0)},s.reverse=function(t,e){return arguments.length&&this.seek(t||this.totalduration(),e),this.reversed(!0).paused(!1)},s.render=function(){},s.invalidate=function(){return this},s._enabled=function(t,e){return n||r.wake(),this._gc=!t,this._active=t&&!this._paused&&this._totaltime>0&&this._totaltime-1;)"{self}"===i[r]&&(i=n[t+"params"]=i.concat(),i[r]=this);"onupdate"===t&&(this._onupdate=e)}return this},s.delay=function(t){return arguments.length?(this._timeline.smoothchildtiming&&this.starttime(this._starttime+t-this._delay),this._delay=t,this):this._delay},s.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},s.totaltime=function(t,e,i){if(n||r.wake(),!arguments.length)return this._totaltime;if(this._timeline){if(0>t&&!i&&(t+=this.totalduration()),this._timeline.smoothchildtiming){this._dirty&&this.totalduration();var s=this._totalduration,a=this._timeline;if(t>s&&!i&&(t=s),this._starttime=(this._paused?this._pausetime:a._time)-(this._reversed?s-t:t)/this._timescale,a._dirty||this._uncache(!1),!a._active)for(;a._timeline;)a.totaltime(a._totaltime,!0),a=a._timeline}this._gc&&this._enabled(!0,!1),this._totaltime!==t&&this.render(t,e,!1)}return this},s.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},s.timescale=function(t){if(!arguments.length)return this._timescale;if(t=t||1e-6,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)},s.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totaltime(this._totaltime,!0)),this):this._reversed},s.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){n||t||r.wake();var e=this._timeline.rawtime(),i=e-this._pausetime;!t&&this._timeline.smoothchildtiming&&(this._starttime+=i,this._uncache(!1)),this._pausetime=t?e:null,this._paused=t,this._active=!t&&this._totaltime>0&&this._totaltimes;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},s._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,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),this._timeline&&this._uncache(!0)),this},s.render=function(t,e,i){var s,r=this._first;for(this._totaltime=this._time=this._rawprevtime=t;r;)s=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=s},s.rawtime=function(){return n||r.wake(),this._totaltime};var r=c("tweenlite",function(t,e,i){if(p.call(this,e,i),null==t)throw"cannot tween a null target.";this.target=t="string"!=typeof t?t:r.selector(t)||t;var s,r,n,a=t.jquery||t.length&&t[0]&&t[0].nodetype&&t[0].style,o=this.vars.overwrite;if(this._overwrite=o=null==o?f[r.defaultoverwrite]:"number"==typeof o?o>>0:f[o],(a||t instanceof array)&&"number"!=typeof t[0])for(this._targets=n=l.call(t,0),this._proplookup=[],this._siblings=[],s=0;n.length>s;s++)r=n[s],r?"string"!=typeof r?r.length&&r[0]&&r[0].nodetype&&r[0].style?(n.splice(s--,1),this._targets=n=n.concat(l.call(r,0))):(this._siblings[s]=l(r,this,!1),1===o&&this._siblings[s].length>1&&x(r,this,null,1,this._siblings[s])):(r=n[s--]=r.selector(r),"string"==typeof r&&n.splice(s+1,1)):n.splice(s--,1);else this._proplookup={},this._siblings=l(t,this,!1),1===o&&this._siblings.length>1&&x(t,this,null,1,this._siblings);(this.vars.immediaterender||0===e&&0===this._delay&&this.vars.immediaterender!==!1)&&this.render(-this._delay,!1,!0)},!0),s=function(t){return t.length&&t[0]&&t[0].nodetype&&t[0].style},a=function(t,e){var i,s={};for(i in t)i[i]||i in e&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"classname"!==i||!(!o[i]||o[i]&&o[i]._autocss)||(s[i]=t[i],delete t[i]);t.css=s};s=r.prototype=new p,s.constructor=r,s.kill()._gc=!1,s.ratio=0,s._firstpt=s._targets=s._overwrittenprops=s._startat=null,s._notifypluginsofenabled=!1,r.version="1.9.7",r.defaultease=s._ease=new g(null,null,1,1),r.defaultoverwrite="auto",r.ticker=r,r.autosleep=!0,r.selector=t.$||t.jquery||function(e){return t.$?(r.selector=t.$,t.$(e)):t.document?t.document.getelementbyid("#"===e.charat(0)?e.substr(1):e):e};var c=r._internals={},o=r._plugins={},d=r._tweenlookup={},m=0,i=c.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},f={none:0,all:1,auto:2,concurrent:3,allonstart:4,preexisting:5,"true":1,"false":0},e=p._rootframestimeline=new k,n=p._roottimeline=new k;n._starttime=r.time,e._starttime=r.frame,n._active=e._active=!0,p._updateroot=function(){if(n.render((r.time-n._starttime)*n._timescale,!1,!1),e.render((r.frame-e._starttime)*e._timescale,!1,!1),!(r.frame%120)){var t,e,i;for(i in d){for(e=d[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete d[i]}if(i=n._first,(!i||i._paused)&&r.autosleep&&!e._first&&1===r._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||r.sleep()}}},r.addeventlistener("tick",p._updateroot);var l=function(t,e,i){var s,r,n=t._gstweenid;if(d[n||(t._gstweenid=n="t"+m++)]||(d[n]={target:t,tweens:[]}),e&&(s=d[n].tweens,s[r=s.length]=e,i))for(;--r>-1;)s[r]===e&&s.splice(r,1);return d[n].tweens},x=function(t,e,i,s,r){var n,a,o,h;if(1===s||s>=4){for(h=r.length,n=0;h>n;n++)if((o=r[n])!==e)o._gc||o._enabled(!1,!1)&&(a=!0);else if(5===s)break;return a}var l,_=e._starttime+1e-10,u=[],p=0,f=0===e._duration;for(n=r.length;--n>-1;)(o=r[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(l=l||u(e,0,f),0===u(o,l,f)&&(u[p++]=o)):_>=o._starttime&&o._starttime+o.totalduration()/o._timescale+1e-10>_&&((f||!o._initted)&&2e-10>=_-o._starttime||(u[p++]=o)));for(n=p;--n>-1;)o=u[n],2===s&&o._kill(i,t)&&(a=!0),(2!==s||!o._firstpt&&o._initted)&&o._enabled(!1,!1)&&(a=!0);return a},u=function(t,e,i){for(var s=t._timeline,r=s._timescale,n=t._starttime,a=1e-10;s._timeline;){if(n+=s._starttime,r*=s._timescale,s._paused)return-100;s=s._timeline}return n/=r,n>e?n-e:i&&n===e||!t._initted&&2*a>n-e?a:(n+=t.totalduration()/t._timescale/r)>e+a?0:n-e-a};s._init=function(){var t,e,i,s,r=this.vars,n=this._overwrittenprops,a=this._duration,o=r.ease;if(r.startat){if(r.startat.overwrite=0,r.startat.immediaterender=!0,this._startat=r.to(this.target,0,r.startat),r.immediaterender&&(this._startat=null,0===this._time&&0!==a))return}else if(r.runbackwards&&r.immediaterender&&0!==a)if(this._startat)this._startat.render(-1,!0),this._startat=null;else if(0===this._time){i={};for(s in r)i[s]&&"autocss"!==s||(i[s]=r[s]);return i.overwrite=0,this._startat=r.to(this.target,0,i),void 0}if(this._ease=o?o instanceof g?r.easeparams instanceof array?o.config.apply(o,r.easeparams):o:"function"==typeof o?new g(o,r.easeparams):v[o]||r.defaultease:r.defaultease,this._easetype=this._ease._type,this._easepower=this._ease._power,this._firstpt=null,this._targets)for(t=this._targets.length;--t>-1;)this._initprops(this._targets[t],this._proplookup[t]={},this._siblings[t],n?n[t]:null)&&(e=!0);else e=this._initprops(this.target,this._proplookup,this._siblings,n);if(e&&r._onpluginevent("_oninitallprops",this),n&&(this._firstpt||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runbackwards)for(i=this._firstpt;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onupdate=r.onupdate,this._initted=!0},s._initprops=function(t,e,i,s){var r,n,a,o,h,l,_;if(null==t)return!1;this.vars.css||t.style&&t.nodetype&&o.css&&this.vars.autocss!==!1&&a(this.vars,t);for(r in this.vars){if(i[r]){if(("onstartparams"===r||"onupdateparams"===r||"oncompleteparams"===r||"onreversecompleteparams"===r||"onrepeatparams"===r)&&(h=this.vars[r]))for(n=h.length;--n>-1;)"{self}"===h[n]&&(h=this.vars[r]=h.concat(),h[n]=this)}else if(o[r]&&(o=new o[r])._oninittween(t,this.vars[r],this)){for(this._firstpt=l={_next:this._firstpt,t:o,p:"setratio",s:0,c:1,f:!0,n:r,pg:!0,pr:o._priority},n=o._overwriteprops.length;--n>-1;)e[o._overwriteprops[n]]=this._firstpt;(o._priority||o._oninitallprops)&&(a=!0),(o._ondisable||o._onenable)&&(this._notifypluginsofenabled=!0)}else this._firstpt=e[r]=l={_next:this._firstpt,t:t,p:r,f:"function"==typeof t[r],n:r,pg:!1,pr:0},l.s=l.f?t[r.indexof("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parsefloat(t[r]),_=this.vars[r],l.c="string"==typeof _&&"="===_.charat(1)?parseint(_.charat(0)+"1",10)*number(_.substr(2)):number(_)-l.s||0;l&&l._next&&(l._next._prev=l)}return s&&this._kill(s,t)?this._initprops(t,e,i,s):this._overwrite>1&&this._firstpt&&i.length>1&&x(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initprops(t,e,i,s)):a},s.render=function(t,e,i){var s,r,n,a=this._time;if(t>=this._duration)this._totaltime=this._time=this._duration,this.ratio=this._ease._calcend?this._ease.getratio(1):1,this._reversed||(s=!0,r="oncomplete"),0===this._duration&&((0===t||0>this._rawprevtime)&&this._rawprevtime!==t&&(i=!0,this._rawprevtime>0&&(r="onreversecomplete",e&&(t=-1))),this._rawprevtime=t);else if(1e-7>t)this._totaltime=this._time=0,this.ratio=this._ease._calcend?this._ease.getratio(0):0,(0!==a||0===this._duration&&this._rawprevtime>0)&&(r="onreversecomplete",s=this._reversed),0>t?(this._active=!1,0===this._duration&&(this._rawprevtime>=0&&(i=!0),this._rawprevtime=t)):this._initted||(i=!0);else if(this._totaltime=this._time=t,this._easetype){var o=t/this._duration,h=this._easetype,l=this._easepower;(1===h||3===h&&o>=.5)&&(o=1-o),3===h&&(o*=2),1===l?o*=o:2===l?o*=o*o:3===l?o*=o*o*o:4===l&&(o*=o*o*o*o),this.ratio=1===h?1-o:2===h?o:.5>t/this._duration?o/2:1-o/2}else this.ratio=this._ease.getratio(t/this._duration);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted)return;this._time&&!s?this.ratio=this._ease.getratio(this._time/this._duration):s&&this._ease._calcend&&(this.ratio=this._ease.getratio(0===this._time?0:1))}for(this._active||this._paused||(this._active=!0),0===a&&(this._startat&&(t>=0?this._startat.render(t,e,i):r||(r="_dummygs")),this.vars.onstart&&(0!==this._time||0===this._duration)&&(e||this.vars.onstart.apply(this.vars.onstartscope||this,this.vars.onstartparams||d))),n=this._firstpt;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onupdate&&(0>t&&this._startat&&this._startat.render(t,e,i),e||this._onupdate.apply(this.vars.onupdatescope||this,this.vars.onupdateparams||d)),r&&(this._gc||(0>t&&this._startat&&!this._onupdate&&this._startat.render(t,e,i),s&&(this._timeline.autoremovechildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"scope"]||this,this.vars[r+"params"]||d)))}},s._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:r.selector(e)||e;var i,s,r,n,a,o,h,l;if((e instanceof array||s(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i])&&(o=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._proplookup[i]||{},this._overwrittenprops=this._overwrittenprops||[],s=this._overwrittenprops[i]=t?this._overwrittenprops[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._proplookup,s=this._overwrittenprops=t?this._overwrittenprops||{}:"all"}if(a){h=t||a,l=t!==s&&"all"!==s&&t!==a&&(null==t||t._tempkill!==!0);for(r in h)(n=a[r])&&(n.pg&&n.t._kill(h)&&(o=!0),n.pg&&0!==n.t._overwriteprops.length||(n._prev?n._prev._next=n._next:n===this._firstpt&&(this._firstpt=n._next),n._next&&(n._next._prev=n._prev),n._next=n._prev=null),delete a[r]),l&&(s[r]=1);!this._firstpt&&this._initted&&this._enabled(!1,!1)}}return o},s.invalidate=function(){return this._notifypluginsofenabled&&r._onpluginevent("_ondisable",this),this._firstpt=null,this._overwrittenprops=null,this._onupdate=null,this._startat=null,this._initted=this._active=this._notifypluginsofenabled=!1,this._proplookup=this._targets?{}:[],this},s._enabled=function(t,e){if(n||r.wake(),t&&this._gc){var i,s=this._targets;if(s)for(i=s.length;--i>-1;)this._siblings[i]=l(s[i],this,!0);else this._siblings=l(this.target,this,!0)}return p.prototype._enabled.call(this,t,e),this._notifypluginsofenabled&&this._firstpt?r._onpluginevent(t?"_onenable":"_ondisable",this):!1},r.to=function(t,e,i){return new r(t,e,i)},r.from=function(t,e,i){return i.runbackwards=!0,i.immediaterender=0!=i.immediaterender,new r(t,e,i)},r.fromto=function(t,e,i,s){return s.startat=i,s.immediaterender=0!=s.immediaterender&&0!=i.immediaterender,new r(t,e,s)},r.delayedcall=function(t,e,i,s,r){return new r(e,0,{delay:t,oncomplete:e,oncompleteparams:i,oncompletescope:s,onreversecomplete:e,onreversecompleteparams:i,onreversecompletescope:s,immediaterender:!1,useframes:r,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.killtweensof=r.killdelayedcallsto=function(t,e){for(var i=r.gettweensof(t),s=i.length;--s>-1;)i[s]._kill(e,t)},r.gettweensof=function(t){if(null==t)return[];t="string"!=typeof t?t:r.selector(t)||t;var e,i,s,r;if((t instanceof array||s(t))&&"number"!=typeof t[0]){for(e=t.length,i=[];--e>-1;)i=i.concat(r.gettweensof(t[e]));for(e=i.length;--e>-1;)for(r=i[e],s=e;--s>-1;)r===i[s]&&i.splice(e,1)}else for(i=l(t).concat(),e=i.length;--e>-1;)i[e]._gc&&i.splice(e,1);return i};var z=c("plugins.tweenplugin",function(t,e){this._overwriteprops=(t||"").split(","),this._propname=this._overwriteprops[0],this._priority=e||0,this._super=z.prototype},!0);if(s=z.prototype,z.version="1.9.1",z.api=2,s._firstpt=null,s._addtween=function(t,e,i,s,r,n){var a,o;null!=s&&(a="number"==typeof s||"="!==s.charat(1)?number(s)-i:parseint(s.charat(0)+"1",10)*number(s.substr(2)))&&(this._firstpt=o={_next:this._firstpt,t:t,p:e,s:i,c:a,f:"function"==typeof t[e],n:r||e,r:n},o._next&&(o._next._prev=o))},s.setratio=function(t){for(var e,i=this._firstpt,s=1e-6;i;)e=i.c*t+i.s,i.r?e=e+(e>0?.5:-.5)>>0:s>e&&e>-s&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},s._kill=function(t){var e,i=this._overwriteprops,s=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(;s;)null!=t[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstpt===s&&(this._firstpt=s._next)),s=s._next;return!1},s._roundprops=function(t,e){for(var i=this._firstpt;i;)(t[this._propname]||null!=i.n&&t[i.n.split(this._propname+"_").join("")])&&(i.r=e),i=i._next},r._onpluginevent=function(t,e){var i,s,r,n,a,o=e._firstpt;if("_oninitallprops"===t){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=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},z.activate=function(t){for(var e=t.length;--e>-1;)t[e].api===z.api&&(o[(new t[e])._propname]=t[e]);return!0},f.plugin=function(t){if(!(t&&t.propname&&t.init&&t.api))throw"illegal plugin definition.";var e,i=t.propname,s=t.priority||0,r=t.overwriteprops,n={init:"_oninittween",set:"setratio",kill:"_kill",round:"_roundprops",initall:"_oninitallprops"},a=c("plugins."+i.charat(0).touppercase()+i.substr(1)+"plugin",function(){z.call(this,i,s),this._overwriteprops=r||[]},t.global===!0),o=a.prototype=new z(i);o.constructor=a,a.api=t.api;for(e in n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,z.activate([a]),a},e=t._gsqueue){for(i=0;e.length>i;i++)e[i]();for(s in u)u[s].func||t.console.log("gsap encountered missing dependency: com.greensock."+s)}n=!1}(window);