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