nextend-gsap.min.js 96.7 KB
N2Require("GSAP",[],[],function(t,e,i){var r,n,s="undefined"!=typeof r&&r.exports&&"undefined"!=typeof global?global:this||window;(s._gsQueue||(s._gsQueue=[])).push(function(){"use strict";s._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,r,n=s.GreenSockGlobals||s,a=n.com.greensock,o=2*Math.PI,l=Math.PI/2,h=a._class,u=function(e,i){var r=h("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},f=t.register||function(){},p=function(t,e,i,r,n){var s=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return f(s,t),s},c=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)},_=function(e,i){var r=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},d=p("Back",_("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),_("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),_("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)})),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),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?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),g.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),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=h("easing.RoughEase",function(e){e=e||{};for(var i,r,n,s,a,o,l=e.taper||"none",h=[],u=0,f=0|(e.points||20),p=f,_=e.randomize!==!1,d=e.clamp===!0,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--p>-1;)i=_?Math.random():1/f*p,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?(s=1-i,n=s*s*g):"in"===l?n=i*i*g:.5>i?(s=2*i,n=s*s*.5*g):(s=2*(1-i),n=s*s*.5*g),_?r+=Math.random()*n-.5*n:p%2?r+=.5*n:r-=.5*n,d&&(r>1?r=1:0>r&&(r=0)),h[u++]={x:i,y:r};for(h.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),p=f;--p>-1;)a=h[p],o=new c(a.x,a.y,o);this._prev=new c(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",u("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}),u("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)}),u("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",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),r=function(e,i,r){var n=h("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},p("Elastic",r("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2))},.3),r("ElasticInOut",function(t){return(t*=2)<1?-.5*(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),p("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),p("Sine",u("SineOut",function(t){return Math.sin(t*l)}),u("SineIn",function(t){return-Math.cos(t*l)+1}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),f(n.SlowMo,"SlowMo","ease,"),f(i,"RoughEase","ease,"),f(e,"SteppedEase","ease,"),d},!0)}),s._gsDefine&&s._gsQueue.pop()(),function(){"use strict";var t=function(){return s.GreenSockGlobals||s};"function"==typeof n&&n.amd?n(["TweenLite"],t):"undefined"!=typeof r&&r.exports&&(require("../TweenLite.js"),r.exports=t())}();var s="undefined"!=typeof r&&r.exports&&"undefined"!=typeof global?global:this||window;(s._gsQueue||(s._gsQueue=[])).push(function(){"use strict";var t,e,i=/(\d|\.)+/g,r=["redMultiplier","greenMultiplier","blueMultiplier","alphaMultiplier","redOffset","greenOffset","blueOffset","alphaOffset"],n={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]},a=function(t){return""===t||null==t||"none"===t?n.transparent:n[t]?n[t]:"number"==typeof t?[t>>16,t>>8&255,255&t]:"#"===t.charAt(0)?(4===t.length&&(t="#"+t.charAt(1)+t.charAt(1)+t.charAt(2)+t.charAt(2)+t.charAt(3)+t.charAt(3)),t=parseInt(t.substr(1),16),[t>>16,t>>8&255,255&t]):t.match(i)||n.transparent},o=function(e,i,n){if(!t&&(t=s.ColorFilter||s.createjs.ColorFilter,!t))throw"EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded.";for(var o,l,h,u,f,p=e.filters||[],c=p.length;--c>-1;)if(p[c]instanceof t){l=p[c];break}if(l||(l=new t,p.push(l),e.filters=p),h=l.clone(),null!=i.tint)o=a(i.tint),u=null!=i.tintAmount?Number(i.tintAmount):1,h.redOffset=Number(o[0])*u,h.greenOffset=Number(o[1])*u,h.blueOffset=Number(o[2])*u,h.redMultiplier=h.greenMultiplier=h.blueMultiplier=1-u;else for(f in i)"exposure"!==f&&"brightness"!==f&&(h[f]=Number(i[f]));for(null!=i.exposure?(h.redOffset=h.greenOffset=h.blueOffset=255*(Number(i.exposure)-1),h.redMultiplier=h.greenMultiplier=h.blueMultiplier=1):null!=i.brightness&&(u=Number(i.brightness)-1,h.redOffset=h.greenOffset=h.blueOffset=u>0?255*u:0,h.redMultiplier=h.greenMultiplier=h.blueMultiplier=1-Math.abs(u)),c=8;--c>-1;)f=r[c],l[f]!==h[f]&&n._addTween(l,f,l[f],h[f],"easel_colorFilter");if(n._overwriteProps.push("easel_colorFilter"),!e.cacheID)throw"EaselPlugin warning: for filters to display in EaselJS, you must call the object's cache() method first. "+e},l=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],h=.212671,u=.71516,f=.072169,p=function(t,e){if(!(t instanceof Array&&e instanceof Array))return e;var i,r,n=[],s=0,a=0;for(i=0;4>i;i++){for(r=0;5>r;r++)a=4===r?t[s+4]:0,n[s+r]=t[s]*e[r]+t[s+1]*e[r+5]+t[s+2]*e[r+10]+t[s+3]*e[r+15]+a;s+=5}return n},c=function(t,e){if(isNaN(e))return t;var i=1-e,r=i*h,n=i*u,s=i*f;return p([r+e,n,s,0,0,r,n+e,s,0,0,r,n,s+e,0,0,0,0,0,1,0],t)},_=function(t,e,i){isNaN(i)&&(i=1);var r=a(e),n=r[0]/255,s=r[1]/255,o=r[2]/255,l=1-i;return p([l+i*n*h,i*n*u,i*n*f,0,0,i*s*h,l+i*s*u,i*s*f,0,0,i*o*h,i*o*u,l+i*o*f,0,0,0,0,0,1,0],t)},d=function(t,e){if(isNaN(e))return t;e*=Math.PI/180;var i=Math.cos(e),r=Math.sin(e);return p([h+i*(1-h)+r*-h,u+i*-u+r*-u,f+i*-f+r*(1-f),0,0,h+i*-h+.143*r,u+i*(1-u)+.14*r,f+i*-f+r*-.283,0,0,h+i*-h+r*-(1-h),u+i*-u+r*u,f+i*(1-f)+r*f,0,0,0,0,0,1,0,0,0,0,0,1],t)},m=function(t,e){return isNaN(e)?t:(e+=.01,p([e,0,0,0,128*(1-e),0,e,0,0,128*(1-e),0,0,e,0,128*(1-e),0,0,0,1,0],t))},g=function(t,i,r){if(!e&&(e=s.ColorMatrixFilter||s.createjs.ColorMatrixFilter,!e))throw"EaselPlugin error: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded.";for(var n,a,o,h=t.filters||[],u=h.length;--u>-1;)if(h[u]instanceof e){o=h[u];break}for(o||(o=new e(l.slice()),h.push(o),t.filters=h),a=o.matrix,n=l.slice(),null!=i.colorize&&(n=_(n,i.colorize,Number(i.colorizeAmount))),null!=i.contrast&&(n=m(n,Number(i.contrast))),null!=i.hue&&(n=d(n,Number(i.hue))),null!=i.saturation&&(n=c(n,Number(i.saturation))),u=n.length;--u>-1;)n[u]!==a[u]&&r._addTween(a,u,a[u],n[u],"easel_colorMatrixFilter");if(r._overwriteProps.push("easel_colorMatrixFilter"),!t.cacheID)throw"EaselPlugin warning: for filters to display in EaselJS, you must call the object's cache() method first. "+t;r._matrix=a};s._gsDefine.plugin({propName:"easel",priority:-1,version:"0.2.0",API:2,init:function(t,e,i,r){this._target=t;var n,s,a,l,h;for(n in e)h=e[n],"function"==typeof h&&(h=h(r,t)),"colorFilter"===n||"tint"===n||"tintAmount"===n||"exposure"===n||"brightness"===n?a||(o(t,e.colorFilter||e,this),a=!0):"saturation"===n||"contrast"===n||"hue"===n||"colorize"===n||"colorizeAmount"===n?l||(g(t,e.colorMatrixFilter||e,this),l=!0):"frame"===n?(this._firstPT=s={_next:this._firstPT,t:t,p:"gotoAndStop",s:t.currentFrame,f:!0,n:"frame",pr:0,type:0,m:Math.round},s.c="number"==typeof h?h-s.s:"string"==typeof h?parseFloat(h.split("=").join("")):0,s._next&&(s._next._prev=s)):null!=t[n]&&(this._firstPT=s={_next:this._firstPT,t:t,p:n,f:"function"==typeof t[n],n:n,pr:0,type:0},s.s=s.f?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),s.c="number"==typeof h?h-s.s:"string"==typeof h?parseFloat(h.split("=").join("")):0,s._next&&(s._next._prev=s));return!0},set:function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.c*t+i.s,i.m?e=i.m(e,i.t):r>e&&e>-r&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next;this._target.cacheID&&this._target.updateCache()}})}),s._gsDefine&&s._gsQueue.pop()();var s="undefined"!=typeof r&&r.exports&&"undefined"!=typeof global?global:this||window;(s._gsQueue||(s._gsQueue=[])).push(function(){"use strict";s._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,a,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},l=s._gsDefine.globals,h={},u=o.prototype=new t("css");u.constructor=o,o.version="1.19.0",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,u="px",o.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var f,p,c,_,d,m,g,v,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,x=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *= *([^)]*)/i,O=/opacity:([^;]*)/i,S=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,C=/([A-Z])/g,A=/-([a-z])/gi,M=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,R=function(t,e){return e.toUpperCase()},N=/(?:Left|Right|Width)/i,F=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,X=/,(?=[^\)]*(?:\(|$))/gi,L=/[\s,\(]/i,z=Math.PI/180,I=180/Math.PI,E={},Y=document,B=function(t){return Y.createElementNS?Y.createElementNS("http://www.w3.org/1999/xhtml",t):Y.createElement(t)},j=B("div"),V=B("img"),W=o._internals={_specialProps:h},q=navigator.userAgent,G=function(){var t=q.indexOf("Android"),e=B("a");return c=-1!==q.indexOf("Safari")&&-1===q.indexOf("Chrome")&&(-1===t||Number(q.substr(t+8,1))>3),d=c&&Number(q.substr(q.indexOf("Version/")+8,1))<6,_=-1!==q.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(q)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(q))&&(m=parseFloat(RegExp.$1)),e?(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity)):!1}(),U=function(t){return P.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Q=function(t){window.console&&console.log(t)},Z="",$="",H=function(t,e){e=e||j;var i,r,n=e.style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?($=3===r?"ms":i[r],Z="-"+$.toLowerCase()+"-",$+t):null},J=Y.defaultView?Y.defaultView.getComputedStyle:function(){},K=o.getStyle=function(t,e,i,r,n){var s;return G||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||J(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):U(t)},tt=W.convertToPixels=function(t,i,r,n,s){if("px"===n||!n)return r;if("auto"===n||!r)return 0;var a,l,h,u=N.test(i),f=t,p=j.style,c=0>r,_=1===r;if(c&&(r=-r),_&&(r*=100),"%"===n&&-1!==i.indexOf("border"))a=r/100*(u?t.clientWidth:t.clientHeight);else{if(p.cssText="border:0 solid red;position:"+K(t,"position")+";line-height:0;","%"!==n&&f.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)p[u?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(f=t.parentNode||Y.body,l=f._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*r/100;p[u?"width":"height"]=r+n}f.appendChild(j),a=parseFloat(j[u?"offsetWidth":"offsetHeight"]),f.removeChild(j),u&&"%"===n&&o.cacheWidths!==!1&&(l=f._gsCache=f._gsCache||{},l.time=h,l.width=a/r*100),0!==a||s||(a=tt(t,i,r,n,!0))}return _&&(a/=100),c?-a:a},et=W.calculateOffset=function(t,e,i){if("absolute"!==K(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=K(t,"margin"+r,i);return t["offset"+r]-(tt(t,e,parseFloat(n),n.replace(b,""))||0)},it=function(t,e){var i,r,n,s={};if(e=e||J(t,null))if(i=e.length)for(;--i>-1;)n=e[i],(-1===n.indexOf("-transform")||At===n)&&(s[n.replace(A,R)]=e.getPropertyValue(n));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(A,R)]=e[i]);return G||(s.opacity=U(t)),r=jt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Rt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},rt=function(t,e,i,r,n){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||n&&n[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(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},nt={width:["Left","Right"],height:["Top","Bottom"]},st=["marginLeft","marginRight","marginTop","marginBottom"],at=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||J(t))[e]||0;if(t.getBBox&&Et(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=nt[e],s=n.length;for(i=i||J(t,null);--s>-1;)r-=parseFloat(K(t,"padding"+n[s],i,!0))||0,r-=parseFloat(K(t,"border"+n[s]+"Width",i,!0))||0;return r},ot=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(ot(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+s+(r.length>2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(w,"")),e.oy=parseFloat(s.replace(w,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(v,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(v,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,r){var n,s,a,o,l,h=1e-6;return"function"==typeof t&&(t=t(v,g)),null==t?o=e:"number"==typeof t?o=t:(n=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&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&(a%=n,a!==a%(n/2)&&(a=0>a?a+n:a-n)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*n)%n-(a/n|0)*n:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*n)%n-(a/n|0)*n)),o=e+a),h>o&&o>-h&&(o=0),o},ft={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]},pt=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=o.parseColor=function(t,e){var i,r,n,s,a,o,l,h,u,f,p;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)),ft[t])i=ft[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+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=p=t.match(y),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,n=.5>=l?l*(o+1):l+o-l*o,r=2*l-n,i.length>3&&(i[3]=Number(t[3])),i[0]=pt(a+1/3,r,n),i[1]=pt(a,r,n),i[2]=pt(a-1/3,r,n);else i=t.match(y)||ft.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=ft.black;return e&&!p&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,h=Math.max(r,n,s),u=Math.min(r,n,s),l=(h+u)/2,h===u?a=o=0:(f=h-u,o=l>.5?f/(2-h-u):f/(h+u),a=h===r?(n-s)/f+(s>n?6:0):h===n?(s-r)/f+2:(r-n)/f+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},_t=function(t,e){var i,r,n,s=t.match(dt)||[],a=0,o=s.length?"":t;for(i=0;i<s.length;i++)r=s[i],n=t.substr(a,t.indexOf(r,a)-a),a+=n.length+r.length,r=ct(r,e),3===r.length&&r.push(1),o+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return o+t.substr(a)},dt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(u in ft)dt+="|"+u+"\\b";dt=new RegExp(dt+")","gi"),o.colorStringFilter=function(t){var e,i=t[0]+t[1];dt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=_t(t[0],e),t[1]=_t(t[1],e)),dt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=o.colorStringFilter);var mt=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(dt)||[""])[0]:"",a=t.split(s).join("").match(T)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=a.length,f=u>0?a[0].replace(y,""):"";return u?n=e?function(t){var e,p,c,_;if("number"==typeof t)t+=f;else if(r&&X.test(t)){for(_=t.replace(X,"|").split("|"),c=0;c<_.length;c++)_[c]=n(_[c]);return _.join(",")}if(e=(t.match(dt)||[s])[0],p=t.split(e).join("").match(T)||[],c=p.length,u>c--)for(;++c<u;)p[c]=i?p[(c-1)/2|0]:a[c];return o+p.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,p;if("number"==typeof t)t+=f;else if(r&&X.test(t)){for(s=t.replace(X,"|").split("|"),p=0;p<s.length;p++)s[p]=n(s[p]);return s.join(",")}if(e=t.match(T)||[],p=e.length,u>p--)for(;++p<u;)e[p]=i?e[(p-1)/2|0]:a[p];return o+e.join(h)+l}:function(t){return t}},gt=function(t){return t=t.split(","),function(e,i,r,n,s,a,o){var l,h=(i+"").split(" ");for(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return n.parse(e,o,s,a)}},vt=(W._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT,h=1e-6;l;)e=o[l.v],l.r?e=Math.round(e):h>e&&e>-h&&(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,i.type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),yt=(W._parseToProxy=function(t,e,i,r,n,s){var a,o,l,h,u,f=r,p={},c={},_=i._transform,d=E;for(i._transform=null,E=e,r=u=i.parse(t,e,r,n),E=d,s&&(i._transform=_,f&&(f._prev=null,f._prev&&(f._prev._next=null)));r&&r!==f;){if(r.type<=1&&(o=r.p,c[o]=r.s+r.c,p[o]=r.s,s||(h=new vt(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;--a>0;)l="xn"+a,o=r.p+"_"+l,c[o]=r.data[l],p[o]=r[l],s||(h=new vt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:p,end:c,firstMPT:h,pt:u}},W.CSSPropTween=function(t,e,r,n,s,o,l,h,u,f,p){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof yt||a.push(this.n),this.r=h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===f?r:f,this.e=void 0===p?r+n:p,s&&(this._next=s,s._prev=this)}),xt=function(t,e,i,r,n,s){var a=new yt(t,e,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a},Tt=o.parseComplex=function(t,e,i,r,n,s,a,l,h,u){i=i||s||"","function"==typeof r&&(r=r(v,g)),a=new yt(t,e,0,0,a,u?2:1,null,!1,l,i,r),r+="",n&&dt.test(r+i)&&(r=[i,r],o.colorStringFilter(r),i=r[0],r=r[1]);var p,c,_,d,m,T,w,b,P,O,S,k,C,A=i.split(", ").join(",").split(" "),M=r.split(", ").join(",").split(" "),R=A.length,N=f!==!1;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(A=A.join(" ").replace(X,", ").split(" "),M=M.join(" ").replace(X,", ").split(" "),R=A.length),R!==M.length&&(A=(s||"").split(" "),R=A.length),a.plugin=h,a.setRatio=u,dt.lastIndex=0,p=0;R>p;p++)if(d=A[p],m=M[p],b=parseFloat(d),b||0===b)a.appendXtra("",b,lt(m,b),m.replace(x,""),N&&-1!==m.indexOf("px"),!0);else if(n&&dt.test(d))k=m.indexOf(")")+1,k=")"+(k?m.substr(k):""),C=-1!==m.indexOf("hsl")&&G,d=ct(d,C),m=ct(m,C),P=d.length+m.length>6,P&&!G&&0===m[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(M[p]).join("transparent")):(G||(P=!1),C?a.appendXtra(P?"hsla(":"hsl(",d[0],lt(m[0],d[0]),",",!1,!0).appendXtra("",d[1],lt(m[1],d[1]),"%,",!1).appendXtra("",d[2],lt(m[2],d[2]),P?"%,":"%"+k,!1):a.appendXtra(P?"rgba(":"rgb(",d[0],m[0]-d[0],",",!0,!0).appendXtra("",d[1],m[1]-d[1],",",!0).appendXtra("",d[2],m[2]-d[2],P?",":k,!0),P&&(d=d.length<4?1:d[3],a.appendXtra("",d,(m.length<4?1:m[3])-d,k,!1))),dt.lastIndex=0;else if(T=d.match(y)){if(w=m.match(x),!w||w.length!==T.length)return a;for(_=0,c=0;c<T.length;c++)S=T[c],O=d.indexOf(S,_),a.appendXtra(d.substr(_,O-_),Number(S),lt(w[c],S),"",N&&"px"===d.substr(O+S.length,2),0===c),_=O+S.length;a["xs"+a.l]+=d.substr(_)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+m:m;if(-1!==r.indexOf("=")&&a.data){for(k=a.xs0+a.data.s,p=1;p<a.l;p++)k+=a["xs"+p]+a.data["xn"+p];a.e=k+a["xs"+p]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},wt=9;for(u=yt.prototype,u.l=u.pr=0;--wt>0;)u["xn"+wt]=0,u["xs"+wt]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,r,n,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]=r||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new yt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n,a)):(a["xs"+o]+=e+(r||""),a)};var bt=function(t,e){e=e||{},this.p=e.prefix?H(t)||t:t,h[t]=h[this.p]=this,this.format=e.formatter||mt(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=W._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n,s=t.split(","),a=e.defaultValue;for(i=i||[a],r=0;r<s.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||a,n=new bt(s[r],e)},Ot=W._registerPluginProp=function(t){if(!h[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Pt(t,{parser:function(t,i,r,n,s,a,o){var u=l.com.greensock.plugins[e];return u?(u._cssRegister(),h[r].parse(t,i,r,n,s,a,o)):(Q("Error: "+e+" js file not loaded."),s)}})}};u=bt.prototype,u.parseComplex=function(t,e,i,r,n,s){var a,o,l,h,u,f,p=this.keyword;if(this.multi&&(X.test(i)||X.test(e)?(o=e.replace(X,"|").split("|"),l=i.replace(X,"|").split("|")):p&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,p&&(u=e.indexOf(p),f=i.indexOf(p),u!==f&&(-1===f?o[a]=o[a].split(p).join(""):-1===u&&(o[a]+=" "+p)));e=o.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},u.parse=function(t,e,i,r,s,a,o){return this.parseComplex(t.style,this.format(K(t,this.p,n,!1,this.dflt)),this.format(e),s,a)},o.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,r,n,s,a,o,l){var h=new yt(t,n,0,0,a,2,n,!1,i);return h.plugin=o,h.setRatio=e(t,r,s._tween,n),h},priority:i})},o.useSVGTransformAttr=c||_;var St,kt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ct=H("transform"),At=Z+"transform",Mt=H("transformOrigin"),Rt=null!==H("perspective"),Nt=W.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=o.defaultForce3D!==!1&&Rt?o.defaultForce3D||"auto":!1},Ft=window.SVGElement,Dt=function(t,e,i){var r,n=Y.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Xt=Y.documentElement,Lt=function(){var t,e,i,r=m||/Android/i.test(q)&&!window.chrome;return Y.createElementNS&&!r&&(t=Dt("svg",Xt),e=Dt("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[Mt]="50% 50%",e.style[Ct]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(_&&Rt),Xt.removeChild(t)),r}(),zt=function(t,e,i,r,n,s){var a,l,h,u,f,p,c,_,d,m,g,v,y,x,T=t._gsTransform,w=Bt(t,!0);T&&(y=T.xOrigin,x=T.yOrigin),(!r||(a=r.split(" ")).length<2)&&(c=t.getBBox(),e=ot(e).split(" "),a=[(-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(a[0]),i.yOrigin=f=parseFloat(a[1]),r&&w!==Yt&&(p=w[0],c=w[1],_=w[2],d=w[3],m=w[4],g=w[5],v=p*d-c*_,l=u*(d/v)+f*(-_/v)+(_*g-d*m)/v,h=u*(-c/v)+f*(p/v)-(p*g-c*m)/v,u=i.xOrigin=a[0]=l,f=i.yOrigin=a[1]=h),T&&(s&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),n||n!==!1&&o.defaultSmoothOrigin!==!1?(l=u-y,h=f-x,T.xOffset+=l*w[0]+h*w[2]-l,T.yOffset+=l*w[1]+h*w[3]-h):T.xOffset=T.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},It=function(t){try{return t.getBBox()}catch(t){}},Et=function(t){return!!(Ft&&t.getBBox&&t.getCTM&&It(t)&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},Yt=[1,0,0,1,0,0],Bt=function(t,e){var i,r,n,s,a,o,l=t._gsTransform||new Nt,h=1e5,u=t.style;if(Ct?r=K(t,At,null,!0):t.currentStyle&&(r=t.currentStyle.filter.match(F),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),l.x||0,l.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,i&&Ct&&((o="none"===J(t).display)||!t.parentNode)&&(o&&(s=u.display,u.display="block"),t.parentNode||(a=1,Xt.appendChild(t)),r=K(t,At,null,!0),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?u.display=s:o&&Gt(u,"display"),a&&Xt.removeChild(t)),(l.svg||t.getBBox&&Et(t))&&(i&&-1!==(u[Ct]+"").indexOf("matrix")&&(r=u[Ct],i=0),n=t.getAttribute("transform"),i&&n&&(-1!==n.indexOf("matrix")?(r=n,i=0):-1!==n.indexOf("translate")&&(r="matrix(1,0,0,1,"+n.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return Yt;for(n=(r||"").match(y)||[],wt=n.length;--wt>-1;)s=Number(n[wt]),n[wt]=(a=s-(s|=0))?(a*h+(0>a?-.5:.5)|0)/h+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},jt=W.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,a,l,h,u,f,p=r?t._gsTransform||new Nt:new Nt,c=p.scaleX<0,_=2e-5,d=1e5,m=Rt?parseFloat(K(t,Mt,i,!1,"0 0 0").split(" ")[2])||p.zOrigin||0:0,g=parseFloat(o.defaultTransformPerspective)||0;if(p.svg=!(!t.getBBox||!Et(t)),p.svg&&(zt(t,K(t,Mt,i,!1,"50% 50%")+"",p,t.getAttribute("data-svg-origin")),St=o.useSVGTransformAttr||Lt),s=Bt(t),s!==Yt){if(16===s.length){var v,y,x,T,w,b=s[0],P=s[1],O=s[2],S=s[3],k=s[4],C=s[5],A=s[6],M=s[7],R=s[8],N=s[9],F=s[10],D=s[12],X=s[13],L=s[14],z=s[11],E=Math.atan2(A,F);p.zOrigin&&(L=-p.zOrigin,D=R*L-s[12],X=N*L-s[13],L=F*L+p.zOrigin-s[14]),p.rotationX=E*I,E&&(T=Math.cos(-E),w=Math.sin(-E),v=k*T+R*w,y=C*T+N*w,x=A*T+F*w,R=k*-w+R*T,N=C*-w+N*T,F=A*-w+F*T,z=M*-w+z*T,k=v,C=y,A=x),E=Math.atan2(-O,F),p.rotationY=E*I,E&&(T=Math.cos(-E),w=Math.sin(-E),v=b*T-R*w,y=P*T-N*w,x=O*T-F*w,N=P*w+N*T,F=O*w+F*T,z=S*w+z*T,b=v,P=y,O=x),E=Math.atan2(P,b),p.rotation=E*I,E&&(T=Math.cos(-E),w=Math.sin(-E),b=b*T+k*w,y=P*T+C*w,C=P*-w+C*T,A=O*-w+A*T,P=y),p.rotationX&&Math.abs(p.rotationX)+Math.abs(p.rotation)>359.9&&(p.rotationX=p.rotation=0,p.rotationY=180-p.rotationY),p.scaleX=(Math.sqrt(b*b+P*P)*d+.5|0)/d,p.scaleY=(Math.sqrt(C*C+N*N)*d+.5|0)/d,p.scaleZ=(Math.sqrt(A*A+F*F)*d+.5|0)/d,p.rotationX||p.rotationY?p.skewX=0:(p.skewX=k||C?Math.atan2(k,C)*I+p.rotation:p.skewX||0,Math.abs(p.skewX)>90&&Math.abs(p.skewX)<270&&(c?(p.scaleX*=-1,p.skewX+=p.rotation<=0?180:-180,p.rotation+=p.rotation<=0?180:-180):(p.scaleY*=-1,p.skewX+=p.skewX<=0?180:-180))),p.perspective=z?1/(0>z?-z:z):0,p.x=D,p.y=X,p.z=L,p.svg&&(p.x-=p.xOrigin-(p.xOrigin*b-p.yOrigin*k),p.y-=p.yOrigin-(p.yOrigin*P-p.xOrigin*C))}else if(!Rt||n||!s.length||p.x!==s[4]||p.y!==s[5]||!p.rotationX&&!p.rotationY){var Y=s.length>=6,B=Y?s[0]:1,j=s[1]||0,V=s[2]||0,W=Y?s[3]:1;p.x=s[4]||0,p.y=s[5]||0,l=Math.sqrt(B*B+j*j),h=Math.sqrt(W*W+V*V),u=B||j?Math.atan2(j,B)*I:p.rotation||0,f=V||W?Math.atan2(V,W)*I+u:p.skewX||0,Math.abs(f)>90&&Math.abs(f)<270&&(c?(l*=-1,f+=0>=u?180:-180,u+=0>=u?180:-180):(h*=-1,f+=0>=f?180:-180)),p.scaleX=l,p.scaleY=h,p.rotation=u,p.skewX=f,Rt&&(p.rotationX=p.rotationY=p.z=0,p.perspective=g,p.scaleZ=1),p.svg&&(p.x-=p.xOrigin-(p.xOrigin*B+p.yOrigin*V),p.y-=p.yOrigin-(p.xOrigin*j+p.yOrigin*W))}p.zOrigin=m;for(a in p)p[a]<_&&p[a]>-_&&(p[a]=0)}return r&&(t._gsTransform=p,p.svg&&(St&&t.style[Ct]?e.delayedCall(.001,function(){Gt(t.style,Ct)}):!St&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),p},Vt=function(t){var e,i,r=this.data,n=-r.rotation*z,s=n+r.skewX*z,a=1e5,o=(Math.cos(n)*r.scaleX*a|0)/a,l=(Math.sin(n)*r.scaleX*a|0)/a,h=(Math.sin(s)*-r.scaleY*a|0)/a,u=(Math.cos(s)*r.scaleY*a|0)/a,f=this.t.style,p=this.t.currentStyle;if(p){i=l,l=-h,h=-i,e=p.filter,f.filter="";var c,_,d=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==p.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,x=r.x+d*r.xPercent/100,T=r.y+g*r.yPercent/100;if(null!=r.ox&&(c=(r.oxp?d*r.ox*.01:r.ox)-d/2,_=(r.oyp?g*r.oy*.01:r.oy)-g/2,x+=c-(c*o+_*l),T+=_-(c*h+_*u)),v?(c=d/2,_=g/2,y+=", Dx="+(c-(c*o+_*l)+x)+", Dy="+(_-(c*h+_*u)+T)+")"):y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?f.filter=e.replace(D,y):f.filter=y+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===y.indexOf("Dx=0, Dy=0")||P.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&f.removeAttribute("filter")),!v){var w,O,S,k=8>m?1:-1;for(c=r.ieOffsetX||0,_=r.ieOffsetY||0,r.ieOffsetX=Math.round((d-((0>o?-o:o)*d+(0>l?-l:l)*g))/2+x),r.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*d))/2+T),wt=0;4>wt;wt++)O=st[wt],w=p[O],i=-1!==w.indexOf("px")?parseFloat(w):tt(this.t,O,parseFloat(w),w.replace(b,""))||0,S=i!==r[O]?2>wt?-r.ieOffsetX:-r.ieOffsetY:2>wt?c-r.ieOffsetX:_-r.ieOffsetY,f[O]=(r[O]=Math.round(i-S*(0===wt||2===wt?1:k)))+"px"}}},Wt=W.set3DTransformRatio=W.setTransformRatio=function(t){
var e,i,r,n,s,a,o,l,h,u,f,p,c,d,m,g,v,y,x,T,w,b,P,O=this.data,S=this.t.style,k=O.rotation,C=O.rotationX,A=O.rotationY,M=O.scaleX,R=O.scaleY,N=O.scaleZ,F=O.x,D=O.y,X=O.z,L=O.svg,I=O.perspective,E=O.force3D;if(((1===t||0===t)&&"auto"===E&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!E)&&!X&&!I&&!A&&!C&&1===N||St&&L||!Rt)return void(k||O.skewX||L?(k*=z,b=O.skewX*z,P=1e5,e=Math.cos(k)*M,n=Math.sin(k)*M,i=Math.sin(k-b)*-R,s=Math.cos(k-b)*R,b&&"simple"===O.skewType&&(v=Math.tan(b-O.skewY*z),v=Math.sqrt(1+v*v),i*=v,s*=v,O.skewY&&(v=Math.tan(O.skewY*z),v=Math.sqrt(1+v*v),e*=v,n*=v)),L&&(F+=O.xOrigin-(O.xOrigin*e+O.yOrigin*i)+O.xOffset,D+=O.yOrigin-(O.xOrigin*n+O.yOrigin*s)+O.yOffset,St&&(O.xPercent||O.yPercent)&&(d=this.t.getBBox(),F+=.01*O.xPercent*d.width,D+=.01*O.yPercent*d.height),d=1e-6,d>F&&F>-d&&(F=0),d>D&&D>-d&&(D=0)),x=(e*P|0)/P+","+(n*P|0)/P+","+(i*P|0)/P+","+(s*P|0)/P+","+F+","+D+")",L&&St?this.t.setAttribute("transform","matrix("+x):S[Ct]=(O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) matrix(":"matrix(")+x):S[Ct]=(O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) matrix(":"matrix(")+M+",0,0,"+R+","+F+","+D+")");if(_&&(d=1e-4,d>M&&M>-d&&(M=N=2e-5),d>R&&R>-d&&(R=N=2e-5),!I||O.z||O.rotationX||O.rotationY||(I=0)),k||O.skewX)k*=z,m=e=Math.cos(k),g=n=Math.sin(k),O.skewX&&(k-=O.skewX*z,m=Math.cos(k),g=Math.sin(k),"simple"===O.skewType&&(v=Math.tan((O.skewX-O.skewY)*z),v=Math.sqrt(1+v*v),m*=v,g*=v,O.skewY&&(v=Math.tan(O.skewY*z),v=Math.sqrt(1+v*v),e*=v,n*=v))),i=-g,s=m;else{if(!(A||C||1!==N||I||L))return void(S[Ct]=(O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) translate3d(":"translate3d(")+F+"px,"+D+"px,"+X+"px)"+(1!==M||1!==R?" scale("+M+","+R+")":""));e=s=1,i=n=0}h=1,r=a=o=l=u=f=0,p=I?-1/I:0,c=O.zOrigin,d=1e-6,T=",",w="0",k=A*z,k&&(m=Math.cos(k),g=Math.sin(k),o=-g,u=p*-g,r=e*g,a=n*g,h=m,p*=m,e*=m,n*=m),k=C*z,k&&(m=Math.cos(k),g=Math.sin(k),v=i*m+r*g,y=s*m+a*g,l=h*g,f=p*g,r=i*-g+r*m,a=s*-g+a*m,h*=m,p*=m,i=v,s=y),1!==N&&(r*=N,a*=N,h*=N,p*=N),1!==R&&(i*=R,s*=R,l*=R,f*=R),1!==M&&(e*=M,n*=M,o*=M,u*=M),(c||L)&&(c&&(F+=r*-c,D+=a*-c,X+=h*-c+c),L&&(F+=O.xOrigin-(O.xOrigin*e+O.yOrigin*i)+O.xOffset,D+=O.yOrigin-(O.xOrigin*n+O.yOrigin*s)+O.yOffset),d>F&&F>-d&&(F=w),d>D&&D>-d&&(D=w),d>X&&X>-d&&(X=0)),x=O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) matrix3d(":"matrix3d(",x+=(d>e&&e>-d?w:e)+T+(d>n&&n>-d?w:n)+T+(d>o&&o>-d?w:o),x+=T+(d>u&&u>-d?w:u)+T+(d>i&&i>-d?w:i)+T+(d>s&&s>-d?w:s),C||A||1!==N?(x+=T+(d>l&&l>-d?w:l)+T+(d>f&&f>-d?w:f)+T+(d>r&&r>-d?w:r),x+=T+(d>a&&a>-d?w:a)+T+(d>h&&h>-d?w:h)+T+(d>p&&p>-d?w:p)+T):x+=",0,0,0,0,1,0,",x+=F+T+D+T+X+T+(I?1+-X/I:1)+")",S[Ct]=x};u=Nt.prototype,u.x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.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,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var h;"function"==typeof l[i]&&(h=l[i],l[i]=e);var u,f,p,c,_,d,m,y,x,T=t._gsTransform,w=t.style,b=1e-6,P=kt.length,O=l,S={},k="transformOrigin",C=jt(t,n,!0,O.parseTransform),A=O.transform&&("function"==typeof O.transform?O.transform(v,g):O.transform);if(r._transform=C,A&&"string"==typeof A&&Ct)f=j.style,f[Ct]=A,f.display="block",f.position="absolute",Y.body.appendChild(j),u=jt(j,null,!1),C.svg&&(d=C.xOrigin,m=C.yOrigin,u.x-=C.xOffset,u.y-=C.yOffset,(O.transformOrigin||O.svgOrigin)&&(A={},zt(t,ot(O.transformOrigin),A,O.svgOrigin,O.smoothOrigin,!0),d=A.xOrigin,m=A.yOrigin,u.x-=A.xOffset-C.xOffset,u.y-=A.yOffset-C.yOffset),(d||m)&&(y=Bt(j,!0),u.x-=d-(d*y[0]+m*y[2]),u.y-=m-(d*y[1]+m*y[3]))),Y.body.removeChild(j),u.perspective||(u.perspective=C.perspective),null!=O.xPercent&&(u.xPercent=ht(O.xPercent,C.xPercent)),null!=O.yPercent&&(u.yPercent=ht(O.yPercent,C.yPercent));else if("object"==typeof O){if(u={scaleX:ht(null!=O.scaleX?O.scaleX:O.scale,C.scaleX),scaleY:ht(null!=O.scaleY?O.scaleY:O.scale,C.scaleY),scaleZ:ht(O.scaleZ,C.scaleZ),x:ht(O.x,C.x),y:ht(O.y,C.y),z:ht(O.z,C.z),xPercent:ht(O.xPercent,C.xPercent),yPercent:ht(O.yPercent,C.yPercent),perspective:ht(O.transformPerspective,C.perspective)},_=O.directionalRotation,null!=_)if("object"==typeof _)for(f in _)O[f]=_[f];else O.rotation=_;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(u.x=0,u.xPercent=ht(O.x,C.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(u.y=0,u.yPercent=ht(O.y,C.yPercent)),u.rotation=ut("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:C.rotation-C.skewY,C.rotation-C.skewY,"rotation",S),Rt&&(u.rotationX=ut("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",S),u.rotationY=ut("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",S)),u.skewX=ut(O.skewX,C.skewX-C.skewY),(u.skewY=ut(O.skewY,C.skewY))&&(u.skewX+=u.skewY,u.rotation+=u.skewY)}for(Rt&&null!=O.force3D&&(C.force3D=O.force3D,c=!0),C.skewType=O.skewType||C.skewType||o.defaultSkewType,p=C.force3D||C.z||C.rotationX||C.rotationY||u.z||u.rotationX||u.rotationY||u.perspective,p||null==O.scale||(u.scaleZ=1);--P>-1;)x=kt[P],A=u[x]-C[x],(A>b||-b>A||null!=O[x]||null!=E[x])&&(c=!0,s=new yt(C,x,C[x],A,s),x in S&&(s.e=S[x]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return A=O.transformOrigin,C.svg&&(A||O.svgOrigin)&&(d=C.xOffset,m=C.yOffset,zt(t,ot(A),u,O.svgOrigin,O.smoothOrigin),s=xt(C,"xOrigin",(T?C:u).xOrigin,u.xOrigin,s,k),s=xt(C,"yOrigin",(T?C:u).yOrigin,u.yOrigin,s,k),(d!==C.xOffset||m!==C.yOffset)&&(s=xt(C,"xOffset",T?d:C.xOffset,C.xOffset,s,k),s=xt(C,"yOffset",T?m:C.yOffset,C.yOffset,s,k)),A=St?null:"0px 0px"),(A||Rt&&p&&C.zOrigin)&&(Ct?(c=!0,x=Mt,A=(A||K(t,x,n,!1,"50% 50%"))+"",s=new yt(w,x,0,0,s,-1,k),s.b=w[x],s.plugin=a,Rt?(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 yt(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)),c&&(r._transformType=C.svg&&St||!p&&3!==this._transformType?2:3),h&&(l[i]=h),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,f,p,c,_,d,m,g,v,y,x,T,w,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),h=0;h<P.length;h++)this.p.indexOf("border")&&(P[h]=H(P[h])),p=f=K(t,P[h],n,!1,"0px"),-1!==p.indexOf(" ")&&(f=p.split(" "),p=f[0],f=f[1]),c=u=l[h],_=parseFloat(p),y=p.substr((_+"").length),x="="===c.charAt(1),x?(d=parseInt(c.charAt(0)+"1",10),c=c.substr(2),d*=parseFloat(c),v=c.substr((d+"").length-(0>d?1:0))||""):(d=parseFloat(c),v=c.substr((d+"").length)),""===v&&(v=r[i]||y),v!==y&&(T=tt(t,"borderLeft",_,y),w=tt(t,"borderTop",_,y),"%"===v?(p=T/m*100+"%",f=w/g*100+"%"):"em"===v?(b=tt(t,"borderLeft",1,"em"),p=T/b+"em",f=w/b+"em"):(p=T+"px",f=w+"px"),x&&(c=parseFloat(p)+d+v,u=parseFloat(f)+d+v)),a=Tt(O,P[h],p+" "+f,c+" "+u,!1,"0px",a);return a},prefix:!0,formatter:mt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,a){return Tt(t.style,i,this.format(K(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:mt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,a){var o,l,h,u,f,p,c="background-position",_=n||J(t,null),d=this.format((_?m?_.getPropertyValue(c+"-x")+" "+_.getPropertyValue(c+"-y"):_.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==d.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(p=K(t,"backgroundImage").replace(M,""),p&&"none"!==p)){for(o=d.split(" "),l=g.split(" "),V.setAttribute("src",p),h=2;--h>-1;)d=o[h],u=-1!==d.indexOf("%"),u!==(-1!==l[h].indexOf("%"))&&(f=0===h?t.offsetWidth-V.width:t.offsetHeight-V.height,o[h]=u?parseFloat(d)/100*f+"px":parseFloat(d)/f*100+"%");d=o.join(" ")}return this.parseComplex(t.style,d,g,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:gt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:gt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,a){var o,l,h;return 9>m?(l=t.currentStyle,h=8>m?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(K(t,this.p,n,!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,r,n){return n}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,a){var o=K(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(b,"");return"px"!==h&&(o=parseFloat(o)/tt(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+K(t,"borderTopStyle",n,!1,"solid")+" "+K(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),Pt("borderWidth",{parser:gt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new yt(a,o,0,0,n,-1,i,!1,0,a[o],e)}});var qt=function(t){var e,i=this.t,r=i.filter||K(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!K(this.data,"filter")):(i.filter=r.replace(S,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(P,"opacity="+n))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,a){var o=parseFloat(K(t,"opacity",n,!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"===K(t,"visibility",n)&&0!==e&&(o=0),G?s=new yt(l,"opacity",o,e-o,s):(s=new yt(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=qt),h&&(s=new yt(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit"),s.xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Gt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},Ut=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:Gt(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,r,s,a,o,l){var h,u,f,p,c,_=t.getAttribute("class")||"",d=t.style.cssText;if(a=s._classNamePT=new yt(t,r,0,0,a,2),a.setRatio=Ut,a.pr=-11,i=!0,a.b=_,u=it(t,n),f=t._gsClassPT){for(p={},c=f.data;c;)p[c.p]=1,c=c._next;f.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:_.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=rt(t,u,it(t),l,p),t.setAttribute("class",_),a.data=h.firstMPT,t.style.cssText=d,a=a.xfirst=s.parse(t,h.difs,a,o)}});var Qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,a=this.t.style,o=h.transform.parse;if("all"===this.e)a.cssText="",n=!0;else for(e=this.e.split(" ").join("").split(","),r=e.length;--r>-1;)i=e[r],h[i]&&(h[i].parse===o?n=!0:i="transformOrigin"===i?Mt:h[i].p),Gt(a,i);n&&(Gt(a,Ct),s=this.t._gsTransform,s&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(t,e,r,n,s){return s=new yt(t,r,0,0,s,2),s.setRatio=Qt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),wt=u.length;wt--;)Ot(u[wt]);u=o.prototype,u._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,s,l){if(!t.nodeType)return!1;this._target=g=t,this._tween=s,this._vars=e,v=l,f=e.autoRound,i=!1,r=e.suffixMap||o.suffixMap,n=J(t,""),a=this._overwriteProps;var u,_,m,y,x,T,w,b,P,S=t.style;if(p&&""===S.zIndex&&(u=K(t,"zIndex",n),("auto"===u||""===u)&&this._addLazySet(S,"zIndex",0)),"string"==typeof e&&(y=S.cssText,u=it(t,n),S.cssText=y+";"+e,u=rt(t,u,it(t)).difs,!G&&O.test(e)&&(u.opacity=parseFloat(RegExp.$1)),e=u,S.cssText=y),e.className?this._firstPT=_=h.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,Ct?c&&(p=!0,""===S.zIndex&&(w=K(t,"zIndex",n),("auto"===w||""===w)&&this._addLazySet(S,"zIndex",0)),d&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):S.zoom=1,m=_;m&&m._next;)m=m._next;b=new yt(t,"transform",0,0,null,2),this._linkCSSP(b,null,m),b.setRatio=Ct?Wt:Vt,b.data=this._transform||jt(t,n,!0),b.tween=s,b.pr=-1,a.pop()}if(i){for(;_;){for(T=_._next,m=y;m&&m.pr>_.pr;)m=m._next;(_._prev=m?m._prev:x)?_._prev._next=_:y=_,(_._next=m)?m._prev=_:x=_,_=T}this._firstPT=y}return!0},u.parse=function(t,e,i,s){var a,o,l,u,p,c,_,d,m,y,x=t.style;for(a in e)c=e[a],"function"==typeof c&&(c=c(v,g)),o=h[a],o?i=o.parse(t,c,a,this,i,s,e):(p=K(t,a,n)+"",m="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&k.test(c)?(m||(c=ct(c),c=(c.length>3?"rgba(":"rgb(")+c.join(",")+")"),i=Tt(x,a,p,c,!0,"transparent",i,0,s)):m&&L.test(c)?i=Tt(x,a,p,c,!0,null,i,0,s):(l=parseFloat(p),_=l||0===l?p.substr((l+"").length):"",(""===p||"auto"===p)&&("width"===a||"height"===a?(l=at(t,a,n),_="px"):"left"===a||"top"===a?(l=et(t,a,n),_="px"):(l="opacity"!==a?0:1,_="")),y=m&&"="===c.charAt(1),y?(u=parseInt(c.charAt(0)+"1",10),c=c.substr(2),u*=parseFloat(c),d=c.replace(b,"")):(u=parseFloat(c),d=m?c.replace(b,""):""),""===d&&(d=a in r?r[a]:_),c=u||0===u?(y?u+l:u)+d:e[a],_!==d&&""!==d&&(u||0===u)&&l&&(l=tt(t,a,l,_),"%"===d?(l/=tt(t,a,100,"%")/100,e.strictUnits!==!0&&(p=l+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?l/=tt(t,a,1,d):"px"!==d&&(u=tt(t,a,u,d),d="px"),y&&(u||0===u)&&(c=u+l+d)),y&&(u+=l),!l&&0!==l||!u&&0!==u?void 0!==x[a]&&(c||c+""!="NaN"&&null!=c)?(i=new yt(x,a,u||l||0,0,i,-1,a,!1,0,p,c),i.xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:p):Q("invalid "+a+" tween value: "+e[a]):(i=new yt(x,a,l,u-l,i,0,a,f!==!1&&("px"===d||"zIndex"===a),0,p,c),i.xs0=d))),s&&i&&!i.plugin&&(i.plugin=s);return i},u.setRatio=function(t){var e,i,r,n=this._firstPT,s=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(;n;){if(e=n.c*t+n.s,n.r?e=Math.round(e):s>e&&e>-s&&(e=0),n.type)if(1===n.type)if(r=n.l,2===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=Math.round(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},u._enableTransforms=function(t){this._transform=this._transform||jt(this._target,n,!0),this._transformType=this._transform.svg&&St||!t&&3!==this._transformType?2:3};var Zt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};u._addLazySet=function(t,e,i){var r=this._firstPT=new yt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=Zt,r.data=this},u._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},u._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&t[e.p]===Math.round&&(e.r=1),e=e._next},u._kill=function(e){var i,r,n,s=e;if(e.autoAlpha||e.alpha){s={};for(r in e)s[r]=e[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&(n=i.xfirst,n&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==r&&i.plugin._kill&&(i.plugin._kill(e),r=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var $t=function(t,e,i){var r,n,s,a;if(t.slice)for(n=t.length;--n>-1;)$t(t[n],e,i);else for(r=t.childNodes,n=r.length;--n>-1;)s=r[n],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 o.cascadeTo=function(t,i,r){var n,s,a,o,l=e.to(t,i,r),h=[l],u=[],f=[],p=[],c=e._internals.reservedProps;for(t=l._targets||l.target,$t(t,u,p),l.render(i,!0,!0),$t(t,f),l.render(0,!0,!0),l._enabled(!0),n=p.length;--n>-1;)if(s=rt(p[n],u[n],f[n]),s.firstMPT){s=s.difs;for(a in r)c[a]&&(s[a]=r[a]);o={};for(a in s)o[a]=u[n][a];h.push(e.fromTo(p[n],i,o,s))}return h},t.activate([o]),o},!0)}),s._gsDefine&&s._gsQueue.pop()(),function(t){"use strict";var e=function(){return(s.GreenSockGlobals||s)[t]};"function"==typeof n&&n.amd?n(["TweenLite"],e):"undefined"!=typeof r&&r.exports&&(require("../TweenLite.js"),r.exports=e())}("CSSPlugin"),!function(t,e){"use strict";var i={},s=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!s.TweenLite){var a,o,l,h,u,f=function(t){var e,i=t.split("."),r=s;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},p=f("com.greensock"),c=1e-10,_=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},d=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),g={},v=function(a,o,l,h){this.sc=g[a]?g[a].sc:[],g[a]=this,this.gsClass=null,this.func=l;var u=[];this.check=function(p){for(var c,_,d,m,y,x=o.length,T=x;--x>-1;)(c=g[o[x]]||new v(o[x],[])).gsClass?(u[x]=c.gsClass,T--):p&&c.sc.push(this);if(0===T&&l){if(_=("com.greensock."+a).split("."),d=_.pop(),m=f(_.join("."))[d]=this.gsClass=l.apply(l,u),h)if(s[d]=i[d]=m,y="undefined"!=typeof r&&r.exports,!y&&"function"==typeof n&&n.amd)n((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+a.split(".").pop(),[],function(){return m});else if(y)if(a===e){r.exports=i[e]=m;for(x in i)m[x]=i[x]}else i[e]&&(i[e][d]=m);for(x=0;x<this.sc.length;x++)this.sc[x].check()}},this.check(!0)},y=t._gsDefine=function(t,e,i,r){return new v(t,e,i,r)},x=p._class=function(t,e,i){return e=e||function(){},y(t,[],function(){return e},i),e};y.globals=s;var T=[0,0,1,1],w=x("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?T.concat(e):T},!0),b=w.map={},P=w.register=function(t,e,i,r){for(var n,s,a,o,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=l[h],n=r?x("easing."+s,null,!0):p.easing[s]||{},a=u.length;--a>-1;)o=u[a],b[s+"."+o]=b[o+s]=n[o]=t.getRatio?t:t[o]||new t};for(l=w.prototype,l._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},a=["Linear","Quad","Cubic","Quart","Quint,Strong"],o=a.length;--o>-1;)l=a[o]+",Power"+o,P(new w(null,null,1,o),l,"easeOut",!0),P(new w(null,null,2,o),l,"easeIn"+(0===o?",easeNone":"")),P(new w(null,null,3,o),l,"easeInOut");b.linear=p.easing.Linear.easeIn,b.swing=p.easing.Quad.easeInOut;var O=x("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});l=O.prototype,l.addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==h||u||h.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===l&&s.pr<n&&(l=a+1);o.splice(l,0,{c:e,s:i,up:r,pr:n})},l.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for(e=n.length,e>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)r=n[e],r&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var S=t.requestAnimationFrame,k=t.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},A=C();for(a=["ms","moz","webkit","o"],o=a.length;--o>-1&&!S;)S=t[a[o]+"RequestAnimationFrame"],k=t[a[o]+"CancelAnimationFrame"]||t[a[o]+"CancelRequestAnimationFrame"];x("Ticker",function(t,e){var i,r,n,s,a,o=this,l=C(),f=e!==!1&&S?"auto":!1,p=500,_=33,m="tick",g=function(t){var e,h,u=C()-A;u>p&&(l+=u-_),A+=u,o.time=(A-l)/1e3,e=o.time-a,(!i||e>0||t===!0)&&(o.frame++,a+=e+(e>=s?.004:s-e),h=!0),t!==!0&&(n=r(g)),h&&o.dispatchEvent(m)};O.call(o),o.time=o.frame=0,o.tick=function(){g(!0)},o.lagSmoothing=function(t,e){p=t||1/c,_=Math.min(e,p,0)},o.sleep=function(){null!=n&&(f&&k?k(n):clearTimeout(n),r=d,n=null,o===h&&(u=!1))},o.wake=function(t){null!==n?o.sleep():t?l+=-A+(A=C()):o.frame>10&&(A=C()-p+5),r=0===i?d:f&&S?S:function(t){return setTimeout(t,1e3*(a-o.time)+1|0)},o===h&&(u=!0),g(2)},o.fps=function(t){return arguments.length?(i=t,s=1/(i||60),a=this.time+s,void o.wake()):i},o.useRAF=function(t){return arguments.length?(o.sleep(),f=t,void o.fps(i)):f},o.fps(t),setTimeout(function(){"auto"===f&&o.frame<5&&"hidden"!==document.visibilityState&&o.useRAF(!1)},1500)}),l=p.Ticker.prototype=new p.events.EventDispatcher,l.constructor=p.Ticker;var M=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=e.immediateRender===!0,this.data=e.data,this._reversed=e.reversed===!0,Z){u||h.wake();var i=this.vars.useFrames?Q:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=M.ticker=new p.Ticker,l=M.prototype,l._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var R=function(){u&&C()-A>2e3&&h.wake(),setTimeout(R,2e3)};R(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&t<i+this.totalDuration()/this._timeScale},l._enabled=function(t,e){return u||h.wake(),this._gc=!t,this._active=this.isActive(),e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},l._kill=function(t,e){return this._enabled(!1,!1)},l.kill=function(t,e){return this._kill(t,e),this},l._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},l._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this,s=r?r.length:0;switch(s){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},l.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(u||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(L.length&&H(),this.render(t,e,!1),L.length&&H())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.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},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||c,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)},l.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},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(u||t||h.wake(),e=r.rawTime(),i=e-this._pauseTime,!t&&r.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=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var N=x("core.SimpleTimeline",function(t){M.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});l=N.prototype=new M,l.constructor=N,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,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),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._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},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused)&&(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=r},l.rawTime=function(){return u||h.wake(),this._totalTime};var F=x("TweenLite",function(e,i,r){if(M.call(this,i,r),this.render=F.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:F.selector(e)||e;var n,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[F.defaultOverwrite]:"number"==typeof l?l>>0:U[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=a=_(e),this._propLookup=[],this._siblings=[],n=0;n<a.length;n++)s=a[n],s?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(n--,1),this._targets=a=a.concat(_(s))):(this._siblings[n]=J(s,this,!1),1===l&&this._siblings[n].length>1&&tt(s,this,null,1,this._siblings[n])):(s=a[n--]=F.selector(s),"string"==typeof s&&a.splice(n+1,1)):a.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-c,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)},X=function(t,e){var i,r={};for(i in t)G[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!V[i]||V[i]&&V[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r};l=F.prototype=new M,l.constructor=F,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,F.version="1.19.0",F.defaultEase=l._ease=new w(null,null,1,1),F.defaultOverwrite="auto",F.ticker=h,F.autoSleep=120,F.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},F.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(F.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var L=[],z={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,E=function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.blob?t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m(e,this._target||i.t):r>e&&e>-r&&(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},Y=function(t,e,i,r){var n,s,a,o,l,h,u,f=[t,e],p=0,c="",_=0;for(f.start=t,i&&(i(f),t=f[0],e=f[1]),f.length=0,n=t.match(I)||[],s=e.match(I)||[],r&&(r._next=null,r.blob=1,f._firstPT=f._applyPT=r),l=s.length,o=0;l>o;o++)u=s[o],h=e.substr(p,e.indexOf(u,p)-p),c+=h||!o?h:",",p+=h.length,_?_=(_+1)%5:"rgba("===h.substr(-5)&&(_=1),u===n[o]||n.length<=o?c+=u:(c&&(f.push(c),c=""),a=parseFloat(n[o]),f.push(a),f._firstPT={_next:f._firstPT,t:f,p:f.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:_&&4>_?Math.round:0}),p+=u.length;return c+=e.substr(p),c&&f.push(c),f.setRatio=E,f},B=function(t,e,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,t));var h,u,f="get"===i?t[e]:i,p=typeof t[e],c="string"==typeof r&&"="===r.charAt(1),_={t:t,p:e,s:f,f:"function"===p,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:c?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-f||0};return"number"!==p&&("function"===p&&"get"===i&&(u=e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),_.s=f=a?t[u](a):t[u]()),"string"==typeof f&&(a||isNaN(f))?(_.fp=a,h=Y(f,r,o||F.defaultStringFilter,_),_={t:h,p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):c||(_.s=parseFloat(f),_.c=parseFloat(r)-_.s||0)),_.c?((_._next=this._firstPT)&&(_._next._prev=_),this._firstPT=_,_):void 0},j=F._internals={isArray:m,isSelector:D,lazyTweens:L,blobDif:Y},V=F._plugins={},W=j.tweenLookup={},q=0,G=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=M._rootFramesTimeline=new N,Z=M._rootTimeline=new N,$=30,H=j.lazyRender=function(){var t,e=L.length;for(z={};--e>-1;)t=L[e],t&&t._lazy!==!1&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);L.length=0};Z._startTime=h.time,Q._startTime=h.frame,Z._active=Q._active=!0,setTimeout(H,1),M._updateRoot=F.render=function(){var t,e,i;if(L.length&&H(),Z.render((h.time-Z._startTime)*Z._timeScale,!1,!1),Q.render((h.frame-Q._startTime)*Q._timeScale,!1,!1),L.length&&H(),h.frame>=$){$=h.frame+(parseInt(F.autoSleep,10)||120);for(i in W){for(e=W[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete W[i]}if(i=Z._first,(!i||i._paused)&&F.autoSleep&&!Q._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",M._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(W[s||(t._gsTweenID=s="t"+q++)]||(W[s]={target:t,tweens:[]}),e&&(r=W[s].tweens,r[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return W[s].tweens},K=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),a=F.onOverwrite,a&&(s=a(t,e,i,r)),n!==!1&&s!==!1},tt=function(t,e,i,r,n){var s,a,o,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var h,u=e._startTime+c,f=[],p=0,_=0===e._duration;for(s=n.length;--s>-1;)(o=n[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||et(e,0,_),0===et(o,h,_)&&(f[p++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((_||!o._initted)&&u-o._startTime<=2e-10||(f[p++]=o)));for(s=p;--s>-1;)if(o=f[s],2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted){if(2!==r&&!K(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return s/=n,s>e?s-e:i&&s===e||!t._initted&&2*c>s-e?c:(s+=t.totalDuration()/t._timeScale/n)>e+c?0:s-e-c};l._init=function(){var t,e,i,r,n,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()),n={};for(r in a.startAt)n[r]=a.startAt[r];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&a.lazy!==!1,n.startAt=n.delay=null,this._startAt=F.to(this.target,0,n),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(r in a)G[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&a.lazy!==!1,i.immediateRender=h,this._startAt=F.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):b[u]||F.defaultEase:F.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&&F._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},l._initProps=function(e,i,r,n,s){var a,o,l,h,u,f;if(null==e)return!1;z[e._gsTweenID]&&H(),this.vars.css||e.style&&e!==t&&e.nodeType&&V.css&&this.vars.autoCSS!==!1&&X(this.vars,e);for(a in this.vars)if(f=this.vars[a],G[a])f&&(f instanceof Array||f.push&&m(f))&&-1!==f.join("").indexOf("{self}")&&(this.vars[a]=f=this._swapSelfInParams(f,this));else if(V[a]&&(h=new V[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",f,a,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&tt(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(z[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-7)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,n="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===c&&"isPause"!==this.data)&&h!==t&&(i=!0,h>c&&(n="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:c);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)&&(n="onReverseComplete",r=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(h!==c||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:c)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,f=this._easeType,p=this._easePower;(1===f||3===f&&u>=.5)&&(u=1-u),3===f&&(u*=2),1===p?u*=u:2===p?u*=u*u:3===p?u*=u*u*u:4===p&&(u*=u*u*u*u),1===f?this.ratio=1-u:2===f?this.ratio=u:.5>t/l?this.ratio=u/2:this.ratio=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&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=h,L.push(this),void(this._lazy=[t,e]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):n||(n="_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&&t!==-1e-4&&this._startAt.render(t,e,i),e||(this._time!==o||r||i)&&this._callback("onUpdate")),n&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&t!==-1e-4&&this._startAt.render(t,e,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n),0===l&&this._rawPrevTime===c&&a!==c&&(this._rawPrevTime=0))}},l._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:F.selector(e)||e;var r,n,s,a,o,l,h,u,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((m(e)||D(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(F.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(f||(f=[]),f.push(s));if((f||!t)&&!K(this,i,e,f))return!1}for(s in h)(a=o[s])&&(p&&(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&&(n[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},l.invalidate=function(){return this._notifyPluginsOfEnabled&&F._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],M.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-c,this.render(Math.min(0,-this._delay))),this},l._enabled=function(t,e){if(u||h.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return M.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?F._onPluginEvent(t?"_onEnable":"_onDisable",this):!1},F.to=function(t,e,i){return new F(t,e,i)},F.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new F(t,e,i)},F.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new F(t,e,r)},F.delayedCall=function(t,e,i,r,n){return new F(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},F.set=function(t,e){return new F(t,0,e)},F.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:F.selector(t)||t;var i,r,n,s;if((m(t)||D(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(F.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else for(r=J(t).concat(),i=r.length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r},F.killTweensOf=F.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=F.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var it=x("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(l=it.prototype,it.version="1.19.0",it.API=2,l._firstPT=null,l._addTween=B,l.setRatio=E,l._kill=function(t){var e,i=this._overwriteProps,r=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(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")],e&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},F._onPluginEvent=function(t,e){var i,r,n,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(V[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=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(){it.call(this,i,r),this._overwriteProps=n||[]},t.global===!0),o=a.prototype=new it(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,it.activate([a]),a},a=t._gsQueue){for(o=0;o<a.length;o++)a[o]();for(l in g)g[l].func||t.console.log("GSAP encountered missing dependency: "+l)}u=!1}}("undefined"!=typeof r&&r.exports&&"undefined"!=typeof global?global:this||window,"TweenLite");var s="undefined"!=typeof r&&r.exports&&"undefined"!=typeof global?global:this||window;(s._gsQueue||(s._gsQueue=[])).push(function(){"use strict";s._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=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;var i,r,n=this.vars;for(r in n)i=n[r],h(i)&&-1!==i.join("").indexOf("{self}")&&(n[r]=this._swapSelfInParams(i));h(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)},n=1e-10,a=i._internals,o=r._internals={},l=a.isSelector,h=a.isArray,u=a.lazyTweens,f=a.lazyRender,p=s._gsDefine.globals,c=function(t){var e,i={};for(e in t)i[e]=t[e];return i},_=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i]):n[i%n.length];delete t.cycle},d=o.pauseCallback=function(){},m=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},g=r.prototype=new e;return r.version="1.19.0",g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&p.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&p.TweenMax||i).from(t,e,r),n)},g.fromTo=function(t,e,r,n,s){var a=n.repeat&&p.TweenMax||i;return e?this.add(a.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,a,o,h,u){var f,p,d=new r({onComplete:o,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),g=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],l(t)&&(t=m(t)),s=s||0,0>s&&(t=m(t),t.reverse(),s*=-1),p=0;p<t.length;p++)f=c(n),f.startAt&&(f.startAt=c(f.startAt),f.startAt.cycle&&_(f.startAt,t,p)),g&&(_(f,t,p),null!=f.duration&&(e=f.duration,delete f.duration)),d.to(t[p],e,f,p*s);return this.add(d,a)},g.staggerFrom=function(t,e,i,r,n,s,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,r,n,s,a,o)},g.staggerFromTo=function(t,e,i,r,n,s,a,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,r,n,s,a,o,l)},g.call=function(t,e,r,n){return this.add(i.delayedCall(0,t,e,r),n)},g.set=function(t,e,r){return r=this._parseTimeOrLabel(r,0,!0),null==e.immediateRender&&(e.immediateRender=r===this._time&&!this._paused),this.add(new i(t,0,e),r)},r.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var n,s,a=new r(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,n=o._first;n;)s=n._next,e&&n instanceof i&&n.target===n.vars.onComplete||a.add(n,n._startTime-n._delay),n=s;return o.add(a,0),a},g.add=function(n,s,a,o){var l,u,f,p,c,_;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&h(n)){for(a=a||"normal",o=o||0,l=s,u=n.length,f=0;u>f;f++)h(p=n[f])&&(p=new r({tweens:p})),this.add(p,l),"string"!=typeof p&&"function"!=typeof p&&("sequence"===a?l=p._startTime+p.totalDuration()/p._timeScale:"start"===a&&(p._startTime-=p.delay())),l+=o;return this._uncache(!0)}if("string"==typeof n)return this.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(this,n,s),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(c=this,_=c.rawTime()>n._startTime;c._timeline;)_&&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){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&h(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);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 r=this._last;return r?this._time>r._startTime+r._totalDuration/r._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,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,d,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,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,r,n){var s;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&h(n)))for(s=n.length;--s>-1;)n[s]instanceof t&&n[s].timeline===this&&this.remove(n[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(s=e.indexOf("="),-1===s)return null==this._labels[e]?r?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,r):this.duration()}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},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 r,s,a,o,l,h,p,c=this._dirty?this.totalDuration():this._totalDuration,_=this._time,d=this._startTime,m=this._timeScale,g=this._paused;if(t>=c-1e-7)this._totalTime=this._time=c,this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===n)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>n&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:n,t=c+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==_||0===this._duration&&this._rawPrevTime!==n&&(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:n,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=_)for(r=this._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==_&&this._first||i||l||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==_&&t>0&&(this._active=!0),0===_&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),p=this._time,p>=_)for(r=this._first;r&&(a=r._next,p===this._time&&(!this._paused||g));)(r._active||r._startTime<=p&&!r._paused&&!r._gc)&&(h===r&&this.pause(),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=a;else for(r=this._last;r&&(a=r._prev,p===this._time&&(!this._paused||g));){if(r._active||r._startTime<=_&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause()}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=a}this._onUpdate&&(e||(u.length&&f(),this._callback("onUpdate"))),o&&(this._gc||(d===this._startTime||m!==this._timeScale)&&(0===this._time||c>=this.totalDuration())&&(s&&(u.length&&f(),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 r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)a._startTime<n||(a instanceof i?e!==!1&&(s[o++]=a):(r!==!1&&(s[o++]=a),t!==!1&&(s=s.concat(a.getChildren(!0,e,r)),o=s.length))),a=a._next;return s},g.getTweensOf=function(t,e){var r,n,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),r=i.getTweensOf(t),n=r.length;--n>-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(a[o++]=r[n]);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 r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=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),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},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 t!==!1&&(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 r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},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,r=0,n=this._last,s=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>s&&this._sortChildren&&!n._paused?this.add(n,n._startTime-n._delay):s=n._startTime,n._startTime<0&&!n._paused&&(r-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale),this.shiftChildren(-n._startTime,!1,-9999999999),s=0),i=n._startTime+n._totalDuration/n._timeScale,i>r&&(r=i),n=e;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!e)for(var i=this._first,r=this._time;i;)i._startTime===r&&"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},r},!0)}),s._gsDefine&&s._gsQueue.pop()(),function(t){"use strict";var e=function(){return(s.GreenSockGlobals||s)[t]};"function"==typeof n&&n.amd?n(["TweenLite"],e):"undefined"!=typeof r&&r.exports&&(require("./TweenLite.js"),r.exports=e())}("TimelineLite");var s="undefined"!=typeof r&&r.exports&&"undefined"!=typeof global?global:this||window;!function(t){"use strict";var e=t.GreenSockGlobals||t,i=function(t){var i,r=t.split("."),n=e;for(i=0;i<r.length;i++)n[r[i]]=n=n[r[i]]||{};return n},r=i("com.greensock.utils"),n=function(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=n(t)}else if(3===e||4===e)return t.nodeValue;return i},s=document,a=s.defaultView?s.defaultView.getComputedStyle:function(){},o=/([A-Z])/g,l=function(t,e,i,r){var n;return(i=i||a(t,null))?(t=i.getPropertyValue(e.replace(o,"-$1").toLowerCase()),n=t||i.length?t:i[e]):t.currentStyle&&(i=t.currentStyle,n=i[e]),r?n:parseInt(n,10)||0},h=function(t){return!!(t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},u=function(t){var e,i,r,n=[],s=t.length;for(e=0;s>e;e++)if(i=t[e],h(i))for(r=i.length,r=0;r<i.length;r++)n.push(i[r]);else n.push(i);return n},f=/(?:\r|\n|\t\t)/g,p=/(?:\s\s+)/g,c=55296,_=56319,d=56320,m=127462,g=127487,v=127995,y=127999,x=function(t){return(t.charCodeAt(0)-c<<10)+(t.charCodeAt(1)-d)+65536},T=s.all&&!s.addEventListener,w=" style='position:relative;display:inline-block;"+(T?"*display:inline;*zoom:1;'":"'"),b=function(t,e){t=t||"";var i=-1!==t.indexOf("++"),r=1;return i&&(t=t.split("++").join("")),function(){return"<"+e+w+(t?" class='"+t+(i?r++:"")+"'>":">")}},P=r.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=P.selector(t)),!t)throw"cannot split a null element.";this.elements=h(t)?u(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},O=function(t,e,i){var r=t.nodeType;if(1===r||9===r||11===r)for(t=t.firstChild;t;t=t.nextSibling)O(t,e,i);else(3===r||4===r)&&(t.nodeValue=t.nodeValue.split(e).join(i))},S=function(t,e){for(var i=e.length;--i>-1;)t.push(e[i])},k=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},C=function(t,e,i){for(var r;t&&t!==e;){if(r=t._next||t.nextSibling)return r.textContent.charAt(0)===i;t=t.parentNode||t._parent}return!1},A=function(t){var e,i,r=k(t.childNodes),n=r.length;for(e=0;n>e;e++)i=r[e],i._isSplit?A(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))},M=function(t,e,i,r,n,o,h){var u,f,p,c,_,d,m,g,v,y,x,T,w=a(t),b=l(t,"paddingLeft",w),P=-999,k=l(t,"borderBottomWidth",w)+l(t,"borderTopWidth",w),M=l(t,"borderLeftWidth",w)+l(t,"borderRightWidth",w),R=l(t,"paddingTop",w)+l(t,"paddingBottom",w),N=l(t,"paddingLeft",w)+l(t,"paddingRight",w),F=.2*l(t,"fontSize"),D=l(t,"textAlign",w,!0),X=[],L=[],z=[],I=e.wordDelimiter||" ",E=e.span?"span":"div",Y=e.type||e.split||"chars,words,lines",B=n&&-1!==Y.indexOf("lines")?[]:null,j=-1!==Y.indexOf("words"),V=-1!==Y.indexOf("chars"),W="absolute"===e.position||e.absolute===!0,q=e.linesClass,G=-1!==(q||"").indexOf("++");for(B&&1===t.children.length&&(t=t.children[0]),G&&(q=q.split("++").join("")),f=t.getElementsByTagName("*"),p=f.length,_=[],u=0;p>u;u++)_[u]=f[u];if(B||W)for(u=0;p>u;u++)c=_[u],d=c.parentNode===t,(d||W||V&&!j)&&(T=c.offsetTop,B&&d&&Math.abs(T-P)>F&&"BR"!==c.nodeName&&(m=[],B.push(m),P=T),W&&(c._x=c.offsetLeft,c._y=T,c._w=c.offsetWidth,c._h=c.offsetHeight),B&&((c._isSplit&&d||!V&&d||j&&d||!j&&c.parentNode.parentNode===t&&!c.parentNode._isSplit)&&(m.push(c),c._x-=b,C(c,t,I)&&(c._wordEnd=!0)),"BR"===c.nodeName&&c.nextSibling&&"BR"===c.nextSibling.nodeName&&B.push([])));for(u=0;p>u;u++)c=_[u],d=c.parentNode===t,"BR"!==c.nodeName?(W&&(v=c.style,j||d||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),v.left=c._x+"px",v.top=c._y+"px",v.position="absolute",v.display="block",v.width=c._w+1+"px",v.height=c._h+"px"),!j&&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._next=c.nextSibling&&c.nextSibling._isFirst?null:c.nextSibling,c.parentNode.removeChild(c),_.splice(u--,1),p--):d||(T=!c.nextSibling&&C(c.parentNode,t,I),c.parentNode._parent&&c.parentNode._parent.appendChild(c),T&&c.parentNode.appendChild(s.createTextNode(" ")),e.span&&(c.style.display="inline"),X.push(c)):c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML?L.push(c):V&&!c._isSplit&&(e.span&&(c.style.display="inline"),X.push(c))):B||W?(t.removeChild(c),_.splice(u--,1),p--):j||t.appendChild(c);if(B){for(W&&(y=s.createElement(E),t.appendChild(y),x=y.offsetWidth+"px",T=y.offsetParent===t?0:t.offsetLeft,t.removeChild(y)),v=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(g=" "===I&&(!W||!j&&!V),u=0;u<B.length;u++){for(m=B[u],y=s.createElement(E),y.style.cssText="display:block;text-align:"+D+";position:"+(W?"absolute;":"relative;"),q&&(y.className=q+(G?u+1:"")),z.push(y),p=m.length,f=0;p>f;f++)"BR"!==m[f].nodeName&&(c=m[f],y.appendChild(c),g&&c._wordEnd&&y.appendChild(s.createTextNode(" ")),W&&(0===f&&(y.style.top=c._y+"px",y.style.left=b+T+"px"),c.style.top="0px",T&&(c.style.left=c._x-T+"px")));0===p?y.innerHTML="&nbsp;":j||V||(A(y),O(y,String.fromCharCode(160)," ")),W&&(y.style.width=x,y.style.height=c._h+"px"),t.appendChild(y)}t.style.cssText=v}W&&(h>t.clientHeight&&(t.style.height=h-R+"px",t.clientHeight<h&&(t.style.height=h+k+"px")),o>t.clientWidth&&(t.style.width=o-N+"px",t.clientWidth<o&&(t.style.width=o+M+"px"))),S(i,X),S(r,L),S(n,z)},R=function(t,e,i,r){var a,o,l,h,u,d,T,w,b,P=e.span?"span":"div",S=e.type||e.split||"chars,words,lines",k=(-1!==S.indexOf("words"),-1!==S.indexOf("chars")),C="absolute"===e.position||e.absolute===!0,A=e.wordDelimiter||" ",M=" "!==A?"":C?"&#173; ":" ",R=e.span?"</span>":"</div>",N=!0,F=s.createElement("div"),D=t.parentNode;for(D.insertBefore(F,t),F.textContent=t.nodeValue,D.removeChild(t),t=F,a=n(t),T=-1!==a.indexOf("<"),e.reduceWhiteSpace!==!1&&(a=a.replace(p," ").replace(f,"")),T&&(a=a.split("<").join("{{LT}}")),u=a.length,o=(" "===a.charAt(0)?M:"")+i(),
l=0;u>l;l++)if(d=a.charAt(l),d===A&&a.charAt(l-1)!==A&&l){for(o+=N?R:"",N=!1;a.charAt(l+1)===A;)o+=M,l++;l===u-1?o+=M:")"!==a.charAt(l+1)&&(o+=M+i(),N=!0)}else"{"===d&&"{{LT}}"===a.substr(l,6)?(o+=k?r()+"{{LT}}</"+P+">":"{{LT}}",l+=5):d.charCodeAt(0)>=c&&d.charCodeAt(0)<=_||a.charCodeAt(l+1)>=65024&&a.charCodeAt(l+1)<=65039?(w=x(a.substr(l,2)),b=x(a.substr(l+2,2)),h=w>=m&&g>=w&&b>=m&&g>=b||b>=v&&y>=b?4:2,o+=k&&" "!==d?r()+a.substr(l,h)+"</"+P+">":a.substr(l,h),l+=h-1):o+=k&&" "!==d?r()+d+"</"+P+">":d;t.outerHTML=o+(N?R:""),T&&O(D,"{{LT}}","<")},N=function(t,e,i,r){var n,s,a=k(t.childNodes),o=a.length,h="absolute"===e.position||e.absolute===!0;if(3!==t.nodeType||o>1){for(e.absolute=!1,n=0;o>n;n++)s=a[n],(3!==s.nodeType||/\S+/.test(s.nodeValue))&&(h&&3!==s.nodeType&&"inline"===l(s,"display",null,!0)&&(s.style.display="inline-block",s.style.position="relative"),s._isSplit=!0,N(s,e,i,r));return e.absolute=h,void(t._isSplit=!0)}R(t,e,i,r)},F=P.prototype;F.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,r,n=this.elements.length,s=t.span?"span":"div",a=("absolute"===t.position||t.absolute===!0,b(t.wordsClass,s)),o=b(t.charsClass,s);--n>-1;)r=this.elements[n],this._originals[n]=r.innerHTML,e=r.clientHeight,i=r.clientWidth,N(r,t,a,o),M(r,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},F.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},P.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(P.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)},P.version="0.5.6"}(s),function(t){"use strict";var e=function(){return(s.GreenSockGlobals||s)[t]};"function"==typeof n&&n.amd?n([],e):"undefined"!=typeof r&&r.exports&&(r.exports=e())}("SplitText"),window.NextendTimeline=this.TimelineLite,window.NextendTween=this.TweenLite,window.NextendSplitText=this.SplitText,function(){var t=document.createElement("div"),e=/Edge\/\d./i.test(navigator.userAgent)?!1:t.style.webkitFilter!==i?"webkitFilter":t.style.filter!==i?"filter":!1,r=e?"filter"==e?e:"-"+e.replace(/([A-Z])/g,"-$1").toLowerCase():"";s._gsDefine.plugin({propName:"n2blur",API:2,version:"1.1.0",overwriteProps:["n2blur"],init:function(t,i,r,n){if(!e)return!0;"function"==typeof i&&(i=i(n,t));var s=window.getComputedStyle(t)[e],a="blur("+i+"px)";return"none"===s&&(s="blur(0px)"),this._style=t.style,this._remove=!i,this._addTween(t.style,e,s,a,"n2blur"),!0},set:function(t){this._super.setRatio.call(this,t),1===t&&this._remove&&this._style.removeProperty(r)}})}()});