chbim-plugins
Version:
此插件和chbim云平台强绑定
13 lines • 974 kB
JavaScript
(function(Pi,oi){typeof exports=="object"&&typeof module<"u"?oi(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],oi):(Pi=typeof globalThis<"u"?globalThis:Pi||self,oi(Pi["chbim-plugins"]={},Pi.Vue))})(this,function(Pi,oi){"use strict";var S1=Object.defineProperty;var E1=(Pi,oi,Ll)=>oi in Pi?S1(Pi,oi,{enumerable:!0,configurable:!0,writable:!0,value:Ll}):Pi[oi]=Ll;var Vo=(Pi,oi,Ll)=>(E1(Pi,typeof oi!="symbol"?oi+"":oi,Ll),Ll);const Ll="",Tf=((x,a)=>{const o=x.__vccOpts||x;for(const[c,f]of a)o[c]=f;return o})(Object.assign({name:"MukButton"},{props:{size:{type:String,default:"middle"},type:{type:String,default:"default"}},setup(x){return(a,o)=>(oi.openBlock(),oi.createElementBlock("button",{class:oi.normalizeClass(["muk-btn",[x.size,x.type]])},[oi.renderSlot(a.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-0e6d93cd"]]);class Vp{constructor(){this.dom={mask:document.querySelector(".js-mask"),slices:[...document.querySelectorAll(".js-mask__slice")],lines:[...document.querySelectorAll(".js-mask-line")],logo:document.querySelector(".js-logo"),titles:[...document.querySelectorAll(".js-transition-title")]},this.tl=null,this.state=!1,this.init()}resetScroll(){window.scrollTo(0,0)}createTimeline(){this.tl=new TimelineMax({paused:!0,onComplete:()=>{this.state=!1}}),this.tl.set(this.dom.titles,{yPercent:0}).set(this.dom.mask,{autoAlpha:1}).staggerFromTo(this.dom.slices,1.5,{xPercent:100},{xPercent:0,ease:Expo.easeInOut},-.075).addCallback(this.resetScroll.bind(this)).addLabel("loaderStart").set(this.dom.titles,{yPercent:-100}).set([this.dom.lines[0],this.dom.logo],{autoAlpha:1}).fromTo(this.dom.logo,1,{yPercent:-100,rotation:10},{yPercent:0,rotation:0,ease:Expo.easeOut}).addLabel("intermediateFrame").staggerFromTo(this.dom.lines,.5,{scaleX:0},{scaleX:1,ease:Expo.easeInOut},.75,"-=1").set(this.dom.lines,{transformOrigin:"right"}).fromTo(this.dom.lines[0],1,{scaleX:1},{scaleX:0,ease:Expo.easeInOut}).fromTo(this.dom.logo,1,{yPercent:0},{yPercent:105,ease:Expo.easeOut},"-=1").staggerFromTo(this.dom.slices,.5,{xPercent:0},{xPercent:100,ease:Expo.easeInOut},.075).set(this.dom.mask,{autoAlpha:0}).addLabel("imagesStart","-=0.85").staggerFromTo(this.dom.titles,1.5,{yPercent:100},{yPercent:0,ease:Expo.easeInOut},.05,"imagesStart").addLabel("loaderEnd")}continuation(){this.init(),this.resetScroll(),this.tl.tweenFromTo("loaderStart","loaderEnd")}show(){this.init(),this.tl.tweenFromTo("loaderStart","intermediateFrame")}hide(){this.resetScroll(),this.tl.tweenFromTo("intermediateFrame","loaderEnd")}init(){document.querySelector(".mask-line.js-mask-line")&&document.querySelector(".mask-line.js-mask-line").removeAttribute("style"),document.querySelector(".mask-line__inner.js-mask-line")&&document.querySelector(".mask-line__inner.js-mask-line").removeAttribute("style"),this.createTimeline()}}const Wp={class:"mask js-mask"},jp=oi.createElementVNode("div",{class:"mask__slice js-mask__slice"},null,-1),Xp=oi.createElementVNode("div",{class:"mask__slice js-mask__slice"},null,-1),qp=oi.createElementVNode("div",{class:"mask__slice js-mask__slice"},null,-1),Yp={class:"mask__inner"},Zp={class:"logo logo--mask"},Jp={class:"js-logo",style:{color:"#fff"}},$p=oi.createElementVNode("div",{class:"mask-line js-mask-line"},[oi.createElementVNode("div",{class:"mask-line__inner js-mask-line"})],-1),Kp={name:"BimCutscenes"},Sf=oi.defineComponent({...Kp,props:{text:{type:String,default:"CHBIM云平台"}},setup(x,{expose:a}){const o=oi.ref(null),c=()=>{o.value===null&&(o.value=new Vp)},f=()=>{c(),o.value.continuation()};return oi.onMounted(()=>{c()}),a({continuation:f}),(u,m)=>(oi.openBlock(),oi.createElementBlock("div",Wp,[jp,Xp,qp,oi.createElementVNode("div",Yp,[oi.createElementVNode("figure",Zp,[oi.createElementVNode("p",Jp,oi.toDisplayString(x.text),1)]),$p])]))}}),P1="";/*!
* VERSION: 2.0.2
* DATE: 2018-08-27
* UPDATES AND DOCS AT: http://greensock.com
*
* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
*
* @license Copyright (c) 2008-2018, 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 ln=typeof module<"u"&&module.exports&&typeof global<"u"?global:globalThis||window;(ln._gsQueue||(ln._gsQueue=[])).push(function(){ln._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(x,a,o){var c=function(E){var P,w=[],T=E.length;for(P=0;P!==T;w.push(E[P++]));return w},f=function(E,P,w){var T,I,C=E.cycle;for(T in C)I=C[T],E[T]=typeof I=="function"?I(w,P[w]):I[w%I.length];delete E.cycle},u=function(E,P,w){o.call(this,E,P,w),this._cycle=0,this._yoyo=this.vars.yoyo===!0||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=u.prototype.render},m=1e-10,g=o._internals,v=g.isSelector,S=g.isArray,b=u.prototype=o.to({},.1,{}),O=[];u.version="2.0.2",b.constructor=u,b.kill()._gc=!1,u.killTweensOf=u.killDelayedCallsTo=o.killTweensOf,u.getTweensOf=o.getTweensOf,u.lagSmoothing=o.lagSmoothing,u.ticker=o.ticker,u.render=o.render,b.invalidate=function(){return this._yoyo=this.vars.yoyo===!0||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),o.prototype.invalidate.call(this)},b.updateTo=function(E,P){var w,T=this.ratio,I=this.vars.immediateRender||E.immediateRender;P&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(w in E)this.vars[w]=E[w];if(this._initted||I){if(P)this._initted=!1,I&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&o._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var C=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(C,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||I)for(var U,N=1/(1-T),X=this._firstPT;X;)U=X.s+X.c,X.c*=N,X.s=U-X.c,X=X._next}return this},b.render=function(E,P,w){this._initted||this._duration===0&&this.vars.repeat&&this.invalidate();var T,I,C,U,N,X,J,Z,ct,Rt=this._dirty?this.totalDuration():this._totalDuration,tt=this._time,_t=this._totalTime,G=this._cycle,Pt=this._duration,Et=this._rawPrevTime;if(E>=Rt-1e-7&&E>=0?(this._totalTime=Rt,this._cycle=this._repeat,this._yoyo&&1&this._cycle?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=Pt,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(T=!0,I="onComplete",w=w||this._timeline.autoRemoveChildren),Pt===0&&(this._initted||!this.vars.lazy||w)&&(this._startTime===this._timeline._duration&&(E=0),(0>Et||0>=E&&E>=-1e-7||Et===m&&this.data!=="isPause")&&Et!==E&&(w=!0,Et>m&&(I="onReverseComplete")),this._rawPrevTime=Z=!P||E||Et===E?E:m)):1e-7>E?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(_t!==0||Pt===0&&Et>0)&&(I="onReverseComplete",T=this._reversed),0>E&&(this._active=!1,Pt===0&&(this._initted||!this.vars.lazy||w)&&(Et>=0&&(w=!0),this._rawPrevTime=Z=!P||E||Et===E?E:m)),this._initted||(w=!0)):(this._totalTime=this._time=E,this._repeat!==0&&(U=Pt+this._repeatDelay,this._cycle=this._totalTime/U>>0,this._cycle!==0&&this._cycle===this._totalTime/U&&E>=_t&&this._cycle--,this._time=this._totalTime-this._cycle*U,this._yoyo&&1&this._cycle&&(this._time=Pt-this._time,ct=this._yoyoEase||this.vars.yoyoEase,ct&&(this._yoyoEase||(ct!==!0||this._initted?this._yoyoEase=ct=ct===!0?this._ease:ct instanceof Ease?ct:Ease.map[ct]:(ct=this.vars.ease,this._yoyoEase=ct=ct?ct instanceof Ease?ct:typeof ct=="function"?new Ease(ct,this.vars.easeParams):Ease.map[ct]||o.defaultEase:o.defaultEase)),this.ratio=ct?1-ct.getRatio((Pt-this._time)/Pt):0)),this._time>Pt?this._time=Pt:this._time<0&&(this._time=0)),this._easeType&&!ct?(N=this._time/Pt,X=this._easeType,J=this._easePower,(X===1||X===3&&N>=.5)&&(N=1-N),X===3&&(N*=2),J===1?N*=N:J===2?N*=N*N:J===3?N*=N*N*N:J===4&&(N*=N*N*N*N),X===1?this.ratio=1-N:X===2?this.ratio=N:this._time/Pt<.5?this.ratio=N/2:this.ratio=1-N/2):ct||(this.ratio=this._ease.getRatio(this._time/Pt))),tt===this._time&&!w&&G===this._cycle)return void(_t!==this._totalTime&&this._onUpdate&&(P||this._callback("onUpdate")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!w&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=tt,this._totalTime=_t,this._rawPrevTime=Et,this._cycle=G,g.lazyTweens.push(this),void(this._lazy=[E,P]);!this._time||T||ct?T&&this._ease._calcEnd&&!ct&&(this.ratio=this._ease.getRatio(this._time===0?0:1)):this.ratio=this._ease.getRatio(this._time/Pt)}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==tt&&E>=0&&(this._active=!0),_t===0&&(this._initted===2&&E>0&&this._init(),this._startAt&&(E>=0?this._startAt.render(E,!0,w):I||(I="_dummyGS")),this.vars.onStart&&(this._totalTime!==0||Pt===0)&&(P||this._callback("onStart"))),C=this._firstPT;C;)C.f?C.t[C.p](C.c*this.ratio+C.s):C.t[C.p]=C.c*this.ratio+C.s,C=C._next;this._onUpdate&&(0>E&&this._startAt&&this._startTime&&this._startAt.render(E,!0,w),P||(this._totalTime!==_t||I)&&this._callback("onUpdate")),this._cycle!==G&&(P||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),I&&(!this._gc||w)&&(0>E&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(E,!0,w),T&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!P&&this.vars[I]&&this._callback(I),Pt===0&&this._rawPrevTime===m&&Z!==m&&(this._rawPrevTime=0))},u.to=function(E,P,w){return new u(E,P,w)},u.from=function(E,P,w){return w.runBackwards=!0,w.immediateRender=w.immediateRender!=0,new u(E,P,w)},u.fromTo=function(E,P,w,T){return T.startAt=w,T.immediateRender=T.immediateRender!=0&&w.immediateRender!=0,new u(E,P,T)},u.staggerTo=u.allTo=function(E,P,w,T,I,C,U){T=T||0;var N,X,J,Z,ct=0,Rt=[],tt=function(){w.onComplete&&w.onComplete.apply(w.onCompleteScope||this,arguments),I.apply(U||w.callbackScope||this,C||O)},_t=w.cycle,G=w.startAt&&w.startAt.cycle;for(S(E)||(typeof E=="string"&&(E=o.selector(E)||E),v(E)&&(E=c(E))),E=E||[],0>T&&(E=c(E),E.reverse(),T*=-1),N=E.length-1,J=0;N>=J;J++){X={};for(Z in w)X[Z]=w[Z];if(_t&&(f(X,E,J),X.duration!=null&&(P=X.duration,delete X.duration)),G){G=X.startAt={};for(Z in w.startAt)G[Z]=w.startAt[Z];f(X.startAt,E,J)}X.delay=ct+(X.delay||0),J===N&&I&&(X.onComplete=tt),Rt[J]=new u(E[J],P,X),ct+=T}return Rt},u.staggerFrom=u.allFrom=function(E,P,w,T,I,C,U){return w.runBackwards=!0,w.immediateRender=w.immediateRender!=0,u.staggerTo(E,P,w,T,I,C,U)},u.staggerFromTo=u.allFromTo=function(E,P,w,T,I,C,U,N){return T.startAt=w,T.immediateRender=T.immediateRender!=0&&w.immediateRender!=0,u.staggerTo(E,P,T,I,C,U,N)},u.delayedCall=function(E,P,w,T,I){return new u(P,0,{delay:E,onComplete:P,onCompleteParams:w,callbackScope:T,onReverseComplete:P,onReverseCompleteParams:w,immediateRender:!1,useFrames:I,overwrite:0})},u.set=function(E,P){return new u(E,0,P)},u.isTweening=function(E){return o.getTweensOf(E,!0).length>0};var k=function(E,P){for(var w=[],T=0,I=E._first;I;)I instanceof o?w[T++]=I:(P&&(w[T++]=I),w=w.concat(k(I,P)),T=w.length),I=I._next;return w},R=u.getAllTweens=function(E){return k(x._rootTimeline,E).concat(k(x._rootFramesTimeline,E))};u.killAll=function(E,P,w,T){P==null&&(P=!0),w==null&&(w=!0);var I,C,U,N=R(T!=0),X=N.length,J=P&&w&&T;for(U=0;X>U;U++)C=N[U],(J||C instanceof a||(I=C.target===C.vars.onComplete)&&w||P&&!I)&&(E?C.totalTime(C._reversed?0:C.totalDuration()):C._enabled(!1,!1))},u.killChildTweensOf=function(E,P){if(E!=null){var w,T,I,C,U,N=g.tweenLookup;if(typeof E=="string"&&(E=o.selector(E)||E),v(E)&&(E=c(E)),S(E))for(C=E.length;--C>-1;)u.killChildTweensOf(E[C],P);else{w=[];for(I in N)for(T=N[I].target.parentNode;T;)T===E&&(w=w.concat(N[I].tweens)),T=T.parentNode;for(U=w.length,C=0;U>C;C++)P&&w[C].totalTime(w[C].totalDuration()),w[C]._enabled(!1,!1)}}};var F=function(E,P,w,T){P=P!==!1,w=w!==!1,T=T!==!1;for(var I,C,U=R(T),N=P&&w&&T,X=U.length;--X>-1;)C=U[X],(N||C instanceof a||(I=C.target===C.vars.onComplete)&&w||P&&!I)&&C.paused(E)};return u.pauseAll=function(E,P,w){F(!0,E,P,w)},u.resumeAll=function(E,P,w){F(!1,E,P,w)},u.globalTimeScale=function(E){var P=x._rootTimeline,w=o.ticker.time;return arguments.length?(E=E||m,P._startTime=w-(w-P._startTime)*P._timeScale/E,P=x._rootFramesTimeline,w=o.ticker.frame,P._startTime=w-(w-P._startTime)*P._timeScale/E,P._timeScale=x._rootTimeline._timeScale=E,E):P._timeScale},b.progress=function(E,P){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-E:E)+this._cycle*(this._duration+this._repeatDelay),P):this._time/this.duration()},b.totalProgress=function(E,P){return arguments.length?this.totalTime(this.totalDuration()*E,P):this._totalTime/this.totalDuration()},b.time=function(E,P){return arguments.length?(this._dirty&&this.totalDuration(),E>this._duration&&(E=this._duration),this._yoyo&&1&this._cycle?E=this._duration-E+this._cycle*(this._duration+this._repeatDelay):this._repeat!==0&&(E+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(E,P)):this._time},b.duration=function(E){return arguments.length?x.prototype.duration.call(this,E):this._duration},b.totalDuration=function(E){return arguments.length?this._repeat===-1?this:this.duration((E-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},b.repeat=function(E){return arguments.length?(this._repeat=E,this._uncache(!0)):this._repeat},b.repeatDelay=function(E){return arguments.length?(this._repeatDelay=E,this._uncache(!0)):this._repeatDelay},b.yoyo=function(E){return arguments.length?(this._yoyo=E,this):this._yoyo},u},!0),ln._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(x,a,o){var c=function(w){a.call(this,w),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var T,I,C=this.vars;for(I in C)T=C[I],v(T)&&T.join("").indexOf("{self}")!==-1&&(C[I]=this._swapSelfInParams(T));v(C.tweens)&&this.add(C.tweens,0,C.align,C.stagger)},f=1e-10,u=o._internals,m=c._internals={},g=u.isSelector,v=u.isArray,S=u.lazyTweens,b=u.lazyRender,O=ln._gsDefine.globals,k=function(w){var T,I={};for(T in w)I[T]=w[T];return I},R=function(w,T,I){var C,U,N=w.cycle;for(C in N)U=N[C],w[C]=typeof U=="function"?U(I,T[I]):U[I%U.length];delete w.cycle},F=m.pauseCallback=function(){},E=function(w){var T,I=[],C=w.length;for(T=0;T!==C;I.push(w[T++]));return I},P=c.prototype=new a;return c.version="2.0.2",P.constructor=c,P.kill()._gc=P._forcingPlayhead=P._hasPause=!1,P.to=function(w,T,I,C){var U=I.repeat&&O.TweenMax||o;return T?this.add(new U(w,T,I),C):this.set(w,I,C)},P.from=function(w,T,I,C){return this.add((I.repeat&&O.TweenMax||o).from(w,T,I),C)},P.fromTo=function(w,T,I,C,U){var N=C.repeat&&O.TweenMax||o;return T?this.add(N.fromTo(w,T,I,C),U):this.set(w,C,U)},P.staggerTo=function(w,T,I,C,U,N,X,J){var Z,ct,Rt=new c({onComplete:N,onCompleteParams:X,callbackScope:J,smoothChildTiming:this.smoothChildTiming}),tt=I.cycle;for(typeof w=="string"&&(w=o.selector(w)||w),w=w||[],g(w)&&(w=E(w)),C=C||0,0>C&&(w=E(w),w.reverse(),C*=-1),ct=0;ct<w.length;ct++)Z=k(I),Z.startAt&&(Z.startAt=k(Z.startAt),Z.startAt.cycle&&R(Z.startAt,w,ct)),tt&&(R(Z,w,ct),Z.duration!=null&&(T=Z.duration,delete Z.duration)),Rt.to(w[ct],T,Z,ct*C);return this.add(Rt,U)},P.staggerFrom=function(w,T,I,C,U,N,X,J){return I.immediateRender=I.immediateRender!=0,I.runBackwards=!0,this.staggerTo(w,T,I,C,U,N,X,J)},P.staggerFromTo=function(w,T,I,C,U,N,X,J,Z){return C.startAt=I,C.immediateRender=C.immediateRender!=0&&I.immediateRender!=0,this.staggerTo(w,T,C,U,N,X,J,Z)},P.call=function(w,T,I,C){return this.add(o.delayedCall(0,w,T,I),C)},P.set=function(w,T,I){return I=this._parseTimeOrLabel(I,0,!0),T.immediateRender==null&&(T.immediateRender=I===this._time&&!this._paused),this.add(new o(w,0,T),I)},c.exportRoot=function(w,T){w=w||{},w.smoothChildTiming==null&&(w.smoothChildTiming=!0);var I,C,U,N,X=new c(w),J=X._timeline;for(T==null&&(T=!0),J._remove(X,!0),X._startTime=0,X._rawPrevTime=X._time=X._totalTime=J._time,U=J._first;U;)N=U._next,T&&U instanceof o&&U.target===U.vars.onComplete||(C=U._startTime-U._delay,0>C&&(I=1),X.add(U,C)),U=N;return J.add(X,0),I&&X.totalDuration(),X},P.add=function(w,T,I,C){var U,N,X,J,Z,ct;if(typeof T!="number"&&(T=this._parseTimeOrLabel(T,0,!0,w)),!(w instanceof x)){if(w instanceof Array||w&&w.push&&v(w)){for(I=I||"normal",C=C||0,U=T,N=w.length,X=0;N>X;X++)v(J=w[X])&&(J=new c({tweens:J})),this.add(J,U),typeof J!="string"&&typeof J!="function"&&(I==="sequence"?U=J._startTime+J.totalDuration()/J._timeScale:I==="start"&&(J._startTime-=J.delay())),U+=C;return this._uncache(!0)}if(typeof w=="string")return this.addLabel(w,T);if(typeof w!="function")throw"Cannot add "+w+" into the timeline; it is not a tween, timeline, function, or string.";w=o.delayedCall(0,w)}if(a.prototype.add.call(this,w,T),w._time&&(U=Math.max(0,Math.min(w.totalDuration(),(this.rawTime()-w._startTime)*w._timeScale)),Math.abs(U-w._totalTime)>1e-5&&w.render(U,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(Z=this,ct=Z.rawTime()>w._startTime;Z._timeline;)ct&&Z._timeline.smoothChildTiming?Z.totalTime(Z._totalTime,!0):Z._gc&&Z._enabled(!0,!1),Z=Z._timeline;return this},P.remove=function(w){if(w instanceof x){this._remove(w,!1);var T=w._timeline=w.vars.useFrames?x._rootFramesTimeline:x._rootTimeline;return w._startTime=(w._paused?w._pauseTime:T._time)-(w._reversed?w.totalDuration()-w._totalTime:w._totalTime)/w._timeScale,this}if(w instanceof Array||w&&w.push&&v(w)){for(var I=w.length;--I>-1;)this.remove(w[I]);return this}return typeof w=="string"?this.removeLabel(w):this.kill(null,w)},P._remove=function(w,T){a.prototype._remove.call(this,w,T);var I=this._last;return I?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},P.append=function(w,T){return this.add(w,this._parseTimeOrLabel(null,T,!0,w))},P.insert=P.insertMultiple=function(w,T,I,C){return this.add(w,T||0,I,C)},P.appendMultiple=function(w,T,I,C){return this.add(w,this._parseTimeOrLabel(null,T,!0,w),I,C)},P.addLabel=function(w,T){return this._labels[w]=this._parseTimeOrLabel(T),this},P.addPause=function(w,T,I,C){var U=o.delayedCall(0,F,I,C||this);return U.vars.onComplete=U.vars.onReverseComplete=T,U.data="isPause",this._hasPause=!0,this.add(U,w)},P.removeLabel=function(w){return delete this._labels[w],this},P.getLabelTime=function(w){return this._labels[w]!=null?this._labels[w]:-1},P._parseTimeOrLabel=function(w,T,I,C){var U,N;if(C instanceof x&&C.timeline===this)this.remove(C);else if(C&&(C instanceof Array||C.push&&v(C)))for(N=C.length;--N>-1;)C[N]instanceof x&&C[N].timeline===this&&this.remove(C[N]);if(U=typeof w!="number"||T?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,typeof T=="string")return this._parseTimeOrLabel(T,I&&typeof w=="number"&&this._labels[T]==null?w-U:0,I);if(T=T||0,typeof w!="string"||!isNaN(w)&&this._labels[w]==null)w==null&&(w=U);else{if(N=w.indexOf("="),N===-1)return this._labels[w]==null?I?this._labels[w]=U+T:T:this._labels[w]+T;T=parseInt(w.charAt(N-1)+"1",10)*Number(w.substr(N+1)),w=N>1?this._parseTimeOrLabel(w.substr(0,N-1),0,I):U}return Number(w)+T},P.seek=function(w,T){return this.totalTime(typeof w=="number"?w:this._parseTimeOrLabel(w),T!==!1)},P.stop=function(){return this.paused(!0)},P.gotoAndPlay=function(w,T){return this.play(w,T)},P.gotoAndStop=function(w,T){return this.pause(w,T)},P.render=function(w,T,I){this._gc&&this._enabled(!0,!1);var C,U,N,X,J,Z,ct,Rt=this._time,tt=this._dirty?this.totalDuration():this._totalDuration,_t=this._startTime,G=this._timeScale,Pt=this._paused;if(Rt!==this._time&&(w+=this._time-Rt),w>=tt-1e-7&&w>=0)this._totalTime=this._time=tt,this._reversed||this._hasPausedChild()||(U=!0,X="onComplete",J=!!this._timeline.autoRemoveChildren,this._duration===0&&(0>=w&&w>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===f)&&this._rawPrevTime!==w&&this._first&&(J=!0,this._rawPrevTime>f&&(X="onReverseComplete"))),this._rawPrevTime=this._duration||!T||w||this._rawPrevTime===w?w:f,w=tt+1e-4;else if(1e-7>w)if(this._totalTime=this._time=0,(Rt!==0||this._duration===0&&this._rawPrevTime!==f&&(this._rawPrevTime>0||0>w&&this._rawPrevTime>=0))&&(X="onReverseComplete",U=this._reversed),0>w)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(J=U=!0,X="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(J=!0),this._rawPrevTime=w;else{if(this._rawPrevTime=this._duration||!T||w||this._rawPrevTime===w?w:f,w===0&&U)for(C=this._first;C&&C._startTime===0;)C._duration||(U=!1),C=C._next;w=0,this._initted||(J=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!T){if(w>=Rt)for(C=this._first;C&&C._startTime<=w&&!Z;)C._duration||C.data!=="isPause"||C.ratio||C._startTime===0&&this._rawPrevTime===0||(Z=C),C=C._next;else for(C=this._last;C&&C._startTime>=w&&!Z;)C._duration||C.data==="isPause"&&C._rawPrevTime>0&&(Z=C),C=C._prev;Z&&(this._time=w=Z._startTime,this._totalTime=w+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=w}if(this._time!==Rt&&this._first||I||J||Z){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==Rt&&w>0&&(this._active=!0),Rt===0&&this.vars.onStart&&(this._time===0&&this._duration||T||this._callback("onStart")),ct=this._time,ct>=Rt)for(C=this._first;C&&(N=C._next,ct===this._time&&(!this._paused||Pt));)(C._active||C._startTime<=ct&&!C._paused&&!C._gc)&&(Z===C&&this.pause(),C._reversed?C.render((C._dirty?C.totalDuration():C._totalDuration)-(w-C._startTime)*C._timeScale,T,I):C.render((w-C._startTime)*C._timeScale,T,I)),C=N;else for(C=this._last;C&&(N=C._prev,ct===this._time&&(!this._paused||Pt));){if(C._active||C._startTime<=Rt&&!C._paused&&!C._gc){if(Z===C){for(Z=C._prev;Z&&Z.endTime()>this._time;)Z.render(Z._reversed?Z.totalDuration()-(w-Z._startTime)*Z._timeScale:(w-Z._startTime)*Z._timeScale,T,I),Z=Z._prev;Z=null,this.pause()}C._reversed?C.render((C._dirty?C.totalDuration():C._totalDuration)-(w-C._startTime)*C._timeScale,T,I):C.render((w-C._startTime)*C._timeScale,T,I)}C=N}this._onUpdate&&(T||(S.length&&b(),this._callback("onUpdate"))),X&&(this._gc||(_t===this._startTime||G!==this._timeScale)&&(this._time===0||tt>=this.totalDuration())&&(U&&(S.length&&b(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!T&&this.vars[X]&&this._callback(X)))}},P._hasPausedChild=function(){for(var w=this._first;w;){if(w._paused||w instanceof c&&w._hasPausedChild())return!0;w=w._next}return!1},P.getChildren=function(w,T,I,C){C=C||-9999999999;for(var U=[],N=this._first,X=0;N;)N._startTime<C||(N instanceof o?T!==!1&&(U[X++]=N):(I!==!1&&(U[X++]=N),w!==!1&&(U=U.concat(N.getChildren(!0,T,I)),X=U.length))),N=N._next;return U},P.getTweensOf=function(w,T){var I,C,U=this._gc,N=[],X=0;for(U&&this._enabled(!0,!0),I=o.getTweensOf(w),C=I.length;--C>-1;)(I[C].timeline===this||T&&this._contains(I[C]))&&(N[X++]=I[C]);return U&&this._enabled(!1,!0),N},P.recent=function(){return this._recent},P._contains=function(w){for(var T=w.timeline;T;){if(T===this)return!0;T=T.timeline}return!1},P.shiftChildren=function(w,T,I){I=I||0;for(var C,U=this._first,N=this._labels;U;)U._startTime>=I&&(U._startTime+=w),U=U._next;if(T)for(C in N)N[C]>=I&&(N[C]+=w);return this._uncache(!0)},P._kill=function(w,T){if(!w&&!T)return this._enabled(!1,!1);for(var I=T?this.getTweensOf(T):this.getChildren(!0,!0,!1),C=I.length,U=!1;--C>-1;)I[C]._kill(w,T)&&(U=!0);return U},P.clear=function(w){var T=this.getChildren(!1,!0,!0),I=T.length;for(this._time=this._totalTime=0;--I>-1;)T[I]._enabled(!1,!1);return w!==!1&&(this._labels={}),this._uncache(!0)},P.invalidate=function(){for(var w=this._first;w;)w.invalidate(),w=w._next;return x.prototype.invalidate.call(this)},P._enabled=function(w,T){if(w===this._gc)for(var I=this._first;I;)I._enabled(w,!0),I=I._next;return a.prototype._enabled.call(this,w,T)},P.totalTime=function(w,T,I){this._forcingPlayhead=!0;var C=x.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,C},P.duration=function(w){return arguments.length?(this.duration()!==0&&w!==0&&this.timeScale(this._duration/w),this):(this._dirty&&this.totalDuration(),this._duration)},P.totalDuration=function(w){if(!arguments.length){if(this._dirty){for(var T,I,C=0,U=this._last,N=999999999999;U;)T=U._prev,U._dirty&&U.totalDuration(),U._startTime>N&&this._sortChildren&&!U._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(U,U._startTime-U._delay),this._calculatingDuration=0):N=U._startTime,U._startTime<0&&!U._paused&&(C-=U._startTime,this._timeline.smoothChildTiming&&(this._startTime+=U._startTime/this._timeScale,this._time-=U._startTime,this._totalTime-=U._startTime,this._rawPrevTime-=U._startTime),this.shiftChildren(-U._startTime,!1,-9999999999),N=0),I=U._startTime+U._totalDuration/U._timeScale,I>C&&(C=I),U=T;this._duration=this._totalDuration=C,this._dirty=!1}return this._totalDuration}return w&&this.totalDuration()?this.timeScale(this._totalDuration/w):this},P.paused=function(w){if(!w)for(var T=this._first,I=this._time;T;)T._startTime===I&&T.data==="isPause"&&(T._rawPrevTime=0),T=T._next;return x.prototype.paused.apply(this,arguments)},P.usesFrames=function(){for(var w=this._timeline;w._timeline;)w=w._timeline;return w===x._rootFramesTimeline},P.rawTime=function(w){return w&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(w)-this._startTime)*this._timeScale},c},!0),ln._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(x,a,o){var c=function(O){x.call(this,O),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},f=1e-10,u=a._internals,m=u.lazyTweens,g=u.lazyRender,v=ln._gsDefine.globals,S=new o(null,null,1,0),b=c.prototype=new x;return b.constructor=c,b.kill()._gc=!1,c.version="2.0.2",b.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),x.prototype.invalidate.call(this)},b.addCallback=function(O,k,R,F){return this.add(a.delayedCall(0,O,R,F),k)},b.removeCallback=function(O,k){if(O)if(k==null)this._kill(null,O);else for(var R=this.getTweensOf(O,!1),F=R.length,E=this._parseTimeOrLabel(k);--F>-1;)R[F]._startTime===E&&R[F]._enabled(!1,!1);return this},b.removePause=function(O){return this.removeCallback(x._internals.pauseCallback,O)},b.tweenTo=function(O,k){k=k||{};var R,F,E,P={ease:S,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},w=k.repeat&&v.TweenMax||a;for(F in k)P[F]=k[F];return P.time=this._parseTimeOrLabel(O),R=Math.abs(Number(P.time)-this._time)/this._timeScale||.001,E=new w(this,R,P),P.onStart=function(){E.target.paused(!0),E.vars.time===E.target.time()||R!==E.duration()||E.isFromTo||E.duration(Math.abs(E.vars.time-E.target.time())/E.target._timeScale).render(E.time(),!0,!0),k.onStart&&k.onStart.apply(k.onStartScope||k.callbackScope||E,k.onStartParams||[])},E},b.tweenFromTo=function(O,k,R){R=R||{},O=this._parseTimeOrLabel(O),R.startAt={onComplete:this.seek,onCompleteParams:[O],callbackScope:this},R.immediateRender=R.immediateRender!==!1;var F=this.tweenTo(k,R);return F.isFromTo=1,F.duration(Math.abs(F.vars.time-O)/this._timeScale||.001)},b.render=function(O,k,R){this._gc&&this._enabled(!0,!1);var F,E,P,w,T,I,C,U,N=this._time,X=this._dirty?this.totalDuration():this._totalDuration,J=this._duration,Z=this._totalTime,ct=this._startTime,Rt=this._timeScale,tt=this._rawPrevTime,_t=this._paused,G=this._cycle;if(N!==this._time&&(O+=this._time-N),O>=X-1e-7&&O>=0)this._locked||(this._totalTime=X,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(E=!0,w="onComplete",T=!!this._timeline.autoRemoveChildren,this._duration===0&&(0>=O&&O>=-1e-7||0>tt||tt===f)&&tt!==O&&this._first&&(T=!0,tt>f&&(w="onReverseComplete"))),this._rawPrevTime=this._duration||!k||O||this._rawPrevTime===O?O:f,this._yoyo&&1&this._cycle?this._time=O=0:(this._time=J,O=J+1e-4);else if(1e-7>O)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(N!==0||J===0&&tt!==f&&(tt>0||0>O&&tt>=0)&&!this._locked)&&(w="onReverseComplete",E=this._reversed),0>O)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(T=E=!0,w="onReverseComplete"):tt>=0&&this._first&&(T=!0),this._rawPrevTime=O;else{if(this._rawPrevTime=J||!k||O||this._rawPrevTime===O?O:f,O===0&&E)for(F=this._first;F&&F._startTime===0;)F._duration||(E=!1),F=F._next;O=0,this._initted||(T=!0)}else if(J===0&&0>tt&&(T=!0),this._time=this._rawPrevTime=O,this._locked||(this._totalTime=O,this._repeat!==0&&(I=J+this._repeatDelay,this._cycle=this._totalTime/I>>0,this._cycle!==0&&this._cycle===this._totalTime/I&&O>=Z&&this._cycle--,this._time=this._totalTime-this._cycle*I,this._yoyo&&1&this._cycle&&(this._time=J-this._time),this._time>J?(this._time=J,O=J+1e-4):this._time<0?this._time=O=0:O=this._time)),this._hasPause&&!this._forcingPlayhead&&!k){if(O=this._time,O>=N||this._repeat&&G!==this._cycle)for(F=this._first;F&&F._startTime<=O&&!C;)F._duration||F.data!=="isPause"||F.ratio||F._startTime===0&&this._rawPrevTime===0||(C=F),F=F._next;else for(F=this._last;F&&F._startTime>=O&&!C;)F._duration||F.data==="isPause"&&F._rawPrevTime>0&&(C=F),F=F._prev;C&&C._startTime<J&&(this._time=O=C._startTime,this._totalTime=O+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==G&&!this._locked){var Pt=this._yoyo&&(1&G)!==0,Et=Pt===(this._yoyo&&(1&this._cycle)!==0),At=this._totalTime,ce=this._cycle,re=this._rawPrevTime,Ft=this._time;if(this._totalTime=G*J,this._cycle<G?Pt=!Pt:this._totalTime+=J,this._time=N,this._rawPrevTime=J===0?tt-1e-4:tt,this._cycle=G,this._locked=!0,N=Pt?0:J,this.render(N,k,J===0),k||this._gc||this.vars.onRepeat&&(this._cycle=ce,this._locked=!1,this._callback("onRepeat")),N!==this._time||(Et&&(this._cycle=G,this._locked=!0,N=Pt?J+1e-4:-1e-4,this.render(N,!0,!1)),this._locked=!1,this._paused&&!_t))return;this._time=Ft,this._totalTime=At,this._cycle=ce,this._rawPrevTime=re}if(!(this._time!==N&&this._first||R||T||C))return void(Z!==this._totalTime&&this._onUpdate&&(k||this._callback("onUpdate")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==Z&&O>0&&(this._active=!0),Z===0&&this.vars.onStart&&(this._totalTime===0&&this._totalDuration||k||this._callback("onStart")),U=this._time,U>=N)for(F=this._first;F&&(P=F._next,U===this._time&&(!this._paused||_t));)(F._active||F._startTime<=this._time&&!F._paused&&!F._gc)&&(C===F&&this.pause(),F._reversed?F.render((F._dirty?F.totalDuration():F._totalDuration)-(O-F._startTime)*F._timeScale,k,R):F.render((O-F._startTime)*F._timeScale,k,R)),F=P;else for(F=this._last;F&&(P=F._prev,U===this._time&&(!this._paused||_t));){if(F._active||F._startTime<=N&&!F._paused&&!F._gc){if(C===F){for(C=F._prev;C&&C.endTime()>this._time;)C.render(C._reversed?C.totalDuration()-(O-C._startTime)*C._timeScale:(O-C._startTime)*C._timeScale,k,R),C=C._prev;C=null,this.pause()}F._reversed?F.render((F._dirty?F.totalDuration():F._totalDuration)-(O-F._startTime)*F._timeScale,k,R):F.render((O-F._startTime)*F._timeScale,k,R)}F=P}this._onUpdate&&(k||(m.length&&g(),this._callback("onUpdate"))),w&&(this._locked||this._gc||(ct===this._startTime||Rt!==this._timeScale)&&(this._time===0||X>=this.totalDuration())&&(E&&(m.length&&g(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!k&&this.vars[w]&&this._callback(w)))},b.getActive=function(O,k,R){O==null&&(O=!0),k==null&&(k=!0),R==null&&(R=!1);var F,E,P=[],w=this.getChildren(O,k,R),T=0,I=w.length;for(F=0;I>F;F++)E=w[F],E.isActive()&&(P[T++]=E);return P},b.getLabelAfter=function(O){O||O!==0&&(O=this._time);var k,R=this.getLabelsArray(),F=R.length;for(k=0;F>k;k++)if(R[k].time>O)return R[k].name;return null},b.getLabelBefore=function(O){O==null&&(O=this._time);for(var k=this.getLabelsArray(),R=k.length;--R>-1;)if(k[R].time<O)return k[R].name;return null},b.getLabelsArray=function(){var O,k=[],R=0;for(O in this._labels)k[R++]={time:this._labels[O],name:O};return k.sort(function(F,E){return F.time-E.time}),k},b.invalidate=function(){return this._locked=!1,x.prototype.invalidate.call(this)},b.progress=function(O,k){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-O:O)+this._cycle*(this._duration+this._repeatDelay),k):this._time/this.duration()||0},b.totalProgress=function(O,k){return arguments.length?this.totalTime(this.totalDuration()*O,k):this._totalTime/this.totalDuration()||0},b.totalDuration=function(O){return arguments.length?this._repeat!==-1&&O?this.timeScale(this.totalDuration()/O):this:(this._dirty&&(x.prototype.totalDuration.call(this),this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},b.time=function(O,k){return arguments.length?(this._dirty&&this.totalDuration(),O>this._duration&&(O=this._duration),this._yoyo&&1&this._cycle?O=this._duration-O+this._cycle*(this._duration+this._repeatDelay):this._repeat!==0&&(O+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(O,k)):this._time},b.repeat=function(O){return arguments.length?(this._repeat=O,this._uncache(!0)):this._repeat},b.repeatDelay=function(O){return arguments.length?(this._repeatDelay=O,this._uncache(!0)):this._repeatDelay},b.yoyo=function(O){return arguments.length?(this._yoyo=O,this):this._yoyo},b.currentLabel=function(O){return arguments.length?this.seek(O,!0):this.getLabelBefore(this._time+1e-8)},c},!0),function(){var x=180/Math.PI,a=[],o=[],c=[],f={},u=ln._gsDefine.globals,m=function(w,T,I,C){I===C&&(I=C-(C-T)/1e6),w===T&&(T=w+(I-w)/1e6),this.a=w,this.b=T,this.c=I,this.d=C,this.da=C-w,this.ca=I-w,this.ba=T-w},g=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",v=function(w,T,I,C){var U={a:w},N={},X={},J={c:C},Z=(w+T)/2,ct=(T+I)/2,Rt=(I+C)/2,tt=(Z+ct)/2,_t=(ct+Rt)/2,G=(_t-tt)/8;return U.b=Z+(w-Z)/4,N.b=tt+G,U.c=N.a=(U.b+N.b)/2,N.c=X.a=(tt+_t)/2,X.b=_t-G,J.b=Rt+(C-Rt)/4,X.c=J.a=(X.b+J.b)/2,[U,N,X,J]},S=function(w,T,I,C,U){var N,X,J,Z,ct,Rt,tt,_t,G,Pt,Et,At,ce,re=w.length-1,Ft=0,It=w[0].a;for(N=0;re>N;N++)ct=w[Ft],X=ct.a,J=ct.d,Z=w[Ft+1].d,U?(Et=a[N],At=o[N],ce=(At+Et)*T*.25/(C?.5:c[N]||.5),Rt=J-(J-X)*(C?.5*T:Et!==0?ce/Et:0),tt=J+(Z-J)*(C?.5*T:At!==0?ce/At:0),_t=J-(Rt+((tt-Rt)*(3*Et/(Et+At)+.5)/4||0))):(Rt=J-(J-X)*T*.5,tt=J+(Z-J)*T*.5,_t=J-(Rt+tt)/2),Rt+=_t,tt+=_t,ct.c=G=Rt,N!==0?ct.b=It:ct.b=It=ct.a+.6*(ct.c-ct.a),ct.da=J-X,ct.ca=G-X,ct.ba=It-X,I?(Pt=v(X,It,G,J),w.splice(Ft,1,Pt[0],Pt[1],Pt[2],Pt[3]),Ft+=4):Ft++,It=tt;ct=w[Ft],ct.b=It,ct.c=It+.4*(ct.d-It),ct.da=ct.d-ct.a,ct.ca=ct.c-ct.a,ct.ba=It-ct.a,I&&(Pt=v(ct.a,It,ct.c,ct.d),w.splice(Ft,1,Pt[0],Pt[1],Pt[2],Pt[3]))},b=function(w,T,I,C){var U,N,X,J,Z,ct,Rt=[];if(C)for(w=[C].concat(w),N=w.length;--N>-1;)typeof(ct=w[N][T])=="string"&&ct.charAt(1)==="="&&(w[N][T]=C[T]+Number(ct.charAt(0)+ct.substr(2)));if(U=w.length-2,0>U)return Rt[0]=new m(w[0][T],0,0,w[0][T]),Rt;for(N=0;U>N;N++)X=w[N][T],J=w[N+1][T],Rt[N]=new m(X,0,0,J),I&&(Z=w[N+2][T],a[N]=(a[N]||0)+(J-X)*(J-X),o[N]=(o[N]||0)+(Z-J)*(Z-J));return Rt[N]=new m(w[N][T],0,0,w[N+1][T]),Rt},O=function(w,T,I,C,U,N){var X,J,Z,ct,Rt,tt,_t,G,Pt={},Et=[],At=N||w[0];U=typeof U=="string"?","+U+",":g,T==null&&(T=1);for(J in w[0])Et.push(J);if(w.length>1){for(G=w[w.length-1],_t=!0,X=Et.length;--X>-1;)if(J=Et[X],Math.abs(At[J]-G[J])>.05){_t=!1;break}_t&&(w=w.concat(),N&&w.unshift(N),w.push(w[1]),N=w[w.length-3])}for(a.length=o.length=c.length=0,X=Et.length;--X>-1;)J=Et[X],f[J]=U.indexOf(","+J+",")!==-1,Pt[J]=b(w,J,f[J],N);for(X=a.length;--X>-1;)a[X]=Math.sqrt(a[X]),o[X]=Math.sqrt(o[X]);if(!C){for(X=Et.length;--X>-1;)if(f[J])for(Z=Pt[Et[X]],tt=Z.length-1,ct=0;tt>ct;ct++)Rt=Z[ct+1].da/o[ct]+Z[ct].da/a[ct]||0,c[ct]=(c[ct]||0)+Rt*Rt;for(X=c.length;--X>-1;)c[X]=Math.sqrt(c[X])}for(X=Et.length,ct=I?4:1;--X>-1;)J=Et[X],Z=Pt[J],S(Z,T,I,C,f[J]),_t&&(Z.splice(0,ct),Z.splice(Z.length-ct,ct));return Pt},k=function(w,T,I){T=T||"soft";var C,U,N,X,J,Z,ct,Rt,tt,_t,G,Pt={},Et=T==="cubic"?3:2,At=T==="soft",ce=[];if(At&&I&&(w=[I].concat(w)),w==null||w.length<Et+1)throw"invalid Bezier data";for(tt in w[0])ce.push(tt);for(Z=ce.length;--Z>-1;){for(tt=ce[Z],Pt[tt]=J=[],_t=0,Rt=w.length,ct=0;Rt>ct;ct++)C=I==null?w[ct][tt]:typeof(G=w[ct][tt])=="string"&&G.charAt(1)==="="?I[tt]+Number(G.charAt(0)+G.substr(2)):Number(G),At&&ct>1&&Rt-1>ct&&(J[_t++]=(C+J[_t-2])/2),J[_t++]=C;for(Rt=_t-Et+1,_t=0,ct=0;Rt>ct;ct+=Et)C=J[ct],U=J[ct+1],N=J[ct+2],X=Et===2?0:J[ct+3],J[_t++]=G=Et===3?new m(C,U,N,X):new m(C,(2*U+C)/3,(2*U+N)/3,N);J.length=_t}return Pt},R=function(w,T,I){for(var C,U,N,X,J,Z,ct,Rt,tt,_t,G,Pt=1/I,Et=w.length;--Et>-1;)for(_t=w[Et],N=_t.a,X=_t.d-N,J=_t.c-N,Z=_t.b-N,C=U=0,Rt=1;I>=Rt;Rt++)ct=Pt*Rt,tt=1-ct,C=U-(U=(ct*ct*X+3*tt*(ct*J+tt*Z))*ct),G=Et*I+Rt-1,T[G]=(T[G]||0)+C*C},F=function(w,T){T=T>>0||6;var I,C,U,N,X=[],J=[],Z=0,ct=0,Rt=T-1,tt=[],_t=[];for(I in w)R(w[I],X,T);for(U=X.length,C=0;U>C;C++)Z+=Math.sqrt(X[C]),N=C%T,_t[N]=Z,N===Rt&&(ct+=Z,N=C/T>>0,tt[N]=_t,J[N]=ct,Z=0,_t=[]);return{length:ct,lengths:J,segments:tt}},E=ln._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(w,T,I){this._target=w,T instanceof Array&&(T={values:T}),this._func={},this._mod={},this._props=[],this._timeRes=T.timeResolution==null?6:parseInt(T.timeResolution,10);var C,U,N,X,J,Z=T.values||[],ct={},Rt=Z[0],tt=T.autoRotate||I.vars.orientToBezier;this._autoRotate=tt?tt instanceof Array?tt:[["x","y","rotation",tt===!0?0:Number(tt)||0]]:null;for(C in Rt)this._props.push(C);for(N=this._props.length;--N>-1;)C=this._props[N],this._overwriteProps.push(C),U=this._func[C]=typeof w[C]=="function",ct[C]=U?w[C.indexOf("set")||typeof w["get"+C.substr(3)]!="function"?C:"get"+C.substr(3)]():parseFloat(w[C]),J||ct[C]!==Z[0][C]&&(J=ct);if(this._beziers=T.type!=="cubic"&&T.type!=="quadratic"&&T.type!=="soft"?O(Z,isNaN(T.curviness)?1:T.curviness,!1,T.type==="thruBasic",T.correlate,J):k(Z,T.type,ct),this._segCount=this._beziers[C].length,this._timeRes){var _t=F(this._beziers,this._timeRes);this._length=_t.length,this._lengths=_t.lengths,this._segments=_t.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(tt=this._autoRotate)for(this._initialRotations=[],tt[0]instanceof Array||(this._autoRotate=tt=[tt]),N=tt.length;--N>-1;){for(X=0;3>X;X++)C=tt[N][X],this._func[C]=typeof w[C]=="function"?w[C.indexOf("set")||typeof w["get"+C.substr(3)]!="function"?C:"get"+C.substr(3)]:!1;C=tt[N][2],this._initialRotations[N]=(this._func[C]?this._func[C].call(this._target):this._target[C])||0,this._overwriteProps.push(C)}return this._startRatio=I.vars.runBackwards?1:0,!0},set:function(w){var T,I,C,U,N,X,J,Z,ct,Rt,tt=this._segCount,_t=this._func,G=this._target,Pt=w!==this._startRatio;if(this._timeRes){if(ct=this._lengths,Rt=this._curSeg,w*=this._length,C=this._li,w>this._l2&&tt-1>C){for(Z=tt-1;Z>C&&(this._l2=ct[++C])<=w;);this._l1=ct[C-1],this._li=C,this._curSeg=Rt=this._segments[C],this._s2=Rt[this._s1=this._si=0]}else if(w<this._l1&&C>0){for(;C>0&&(this._l1=ct[--C])>=w;);C===0&&w<this._l1?this._l1=0:C++,this._l2=ct[C],this._li=C,this._curSeg=Rt=this._segments[C],this._s1=Rt[(this._si=Rt.length-1)-1]||0,this._s2=Rt[this._si]}if(T=C,w-=this._l1,C=this._si,w>this._s2&&C<Rt.length-1){for(Z=Rt.length-1;Z>C&&(this._s2=Rt[++C])<=w;);this._s1=Rt[C-1],this._si=C}else if(w<this._s1&&C>0){for(;C>0&&(this._s1=Rt[--C])>=w;);C===0&&w<this._s1?this._s1=0:C++,this._s2=Rt[C],this._si=C}X=(C+(w-this._s1)/(this._s2-this._s1))*this._prec||0}else T=0>w?0:w>=1?tt-1:tt*w>>0,X=(w-T*(1/tt))*tt;for(I=1-X,C=this._props.length;--C>-1;)U=this._props[C],N=this._beziers[U][T],J=(X*X*N.da+3*I*(X*N.ca+I*N.ba))*X+N.a,this._mod[U]&&(J=this._mod[U](J,G)),_t[U]?G[U](J):G[U]=J;if(this._autoRotate){var Et,At,ce,re,Ft,It,Nt,Pe=this._autoRotate;for(C=Pe.length;--C>-1;)U=Pe[C][2],It=Pe[C][3]||0,Nt=Pe[C][4]===!0?1:x,N=this._beziers[Pe[C][0]],Et=this._beziers[Pe[C][1]],N&&Et&&(N=N[T],Et=Et[T],At=N.a+(N.b-N.a)*X,re=N.b+(N.c-N.b)*X,At+=(re-At)*X,re+=(N.c+(N.d-N.c)*X-re)*X,ce=Et.a+(Et.b-Et.a)*X,Ft=Et.b+(Et.c-Et.b)*X,ce+=(Ft-ce)*X,Ft+=(Et.c+(Et.d-Et.c)*X-Ft)*X,J=Pt?Math.atan2(Ft-ce,re-At)*Nt+It:this._initialRotations[C],this._mod[U]&&(J=this._mod[U](J,G)),_t[U]?G[U](J):G[U]=J)}}}),P=E.prototype;E.bezierThrough=O,E.cubicToQuadratic=v,E._autoCSS=!0,E.quadraticToCubic=function(w,T,I){return new m(w,(2*T+w)/3,(2*T+I)/3,I)},E._cssRegister=function(){var w=u.CSSPlugin;if(w){var T=w._internals,I=T._parseToProxy,C=T._setPluginRatio,U=T.CSSPropTween;T._registerComplexSpecialProp("bezier",{parser:function(N,X,J,Z,ct,Rt){X instanceof Array&&(X={values:X}),Rt=new E;var tt,_t,G,Pt=X.values,Et=Pt.length-1,At=[],ce={};if(0>Et)return ct;for(tt=0;Et>=tt;tt++)G=I(N,Pt[tt],Z,ct,Rt,Et!==tt),At[tt]=G.end;for(_t in X)ce[_t]=X[_t];return ce.values=At,ct=new U(N,"bezier",0,0,G.pt,2),ct.data=G,ct.plugin=Rt,ct.setRatio=C,ce.autoRotate===0&&(ce.autoRotate=!0),!ce.autoRotate||ce.autoRotate instanceof Array||(tt=ce.autoRotate===!0?0:Number(ce.autoRotate),ce.autoRotate=G.end.left!=null?[["left","top","rotation",tt,!1]]:G.end.x!=null?[["x","y","rotation",tt,!1]]:!1),ce.autoRotate&&(Z._transform||Z._enableTransforms(!1),G.autoRotate=Z._target._gsTransform,G.proxy.rotation=G.autoRotate.rotation||0,Z._overwriteProps.push("rotation")),Rt._onInitTween(G.proxy,ce,Z._tween),ct}})}},P._mod=function(w){for(var T,I=this._overwriteProps,C=I.length;--C>-1;)T=w[I[C]],T&&typeof T=="function"&&(this._mod[I[C]]=T)},P._kill=function(w){var T,I,C=this._props;for(T in this._beziers)if(T in w)for(delete this._beziers[T],delete this._func[T],I=C.length;--I>-1;)C[I]===T&&C.splice(I,1);if(C=this._autoRotate)for(I=C.length;--I>-1;)w[C[I][2]]&&C.splice(I,1);return this._super._kill.call(this,w)}}(),ln._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(x,a){var o,c,f,u,m=function(){x.call(this,"css"),this._overwriteProps.length=0,this.setRatio=m.prototype.setRatio},g=ln._gsDefine.globals,v={},S=m.prototype=new x("css");S.constructor=m,m.version="2.0.2",m.API=2,m.defaultTransformPerspective=0,m.defaultSkewType="compensated",m.defaultSmoothOrigin=!0,S="px",m.suffixMap={top:S,right:S,bottom:S,left:S,width:S,height:S,fontSize:S,padding:S,margin:S,perspective:S,lineHeight:""};var b,O,k,R,F,E,P,w,T=/(?:\-|\.|\b)(\d|\.|e\-)+/g,I=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,C=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,U=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,N=/(?:\d|\-|\+|=|#|\.)*/g,X=/opacity *= *([^)]*)/i,J=/opacity:([^;]*)/i,Z=/alpha\(opacity *=.+?\)/i,ct=/^(rgb|hsl)/,Rt=/([A-Z])/g,tt=/-([a-z])/gi,_t=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,G=function(V,et){return et.toUpperCase()},Pt=/(?:Left|Right|Width)/i,Et=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,At=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,ce=/,(?=[^\)]*(?:\(|$))/gi,re=/[\s,\(]/i,Ft=Math.PI/180,It=180/Math.PI,Nt={},Pe={style:{}},pe=ln.document||{createElement:function(){return Pe}},Wt=function(V,et){return pe.createElementNS?pe.createElementNS(et||"http://www.w3.org/1999/xhtml",V):pe.createElement(V)},$e=Wt("div"),Si=Wt("img"),Oe=m._internals={_specialProps:v},Ge=(ln.navigator||{}).userAgent||"",pi=function(){var V=Ge.indexOf("Android"),et=Wt("a");return k=Ge.indexOf("Safari")!==-1&&Ge.indexOf("Chrome")===-1&&(V===-1||parseFloat(Ge.substr(V+8,2))>3),F=k&&parseFloat(Ge.substr(Ge.indexOf("Version/")+8,2))<6,R=Ge.indexOf("Firefox")!==-1,(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Ge)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Ge))&&(E=parseFloat(RegExp.$1)),et?(et.style.cssText="top:1px;opacity:.55;",/^0.55/.test(et.style.opacity)):!1}(),Di=function(V){return X.test(typeof V=="string"?V:(V.currentStyle?V.currentStyle.filter:V.style.filter)||"")?parseFloat(RegExp.$1)/100:1},gn=function(V){ln.console},Qi="",W="",Jt=function(V,et){et=et||$e;var lt,at,j=et.style;if(j[V]!==void 0)return V;for(V=V.charAt(0).toUpperCase()+V.substr(1),lt=["O","Moz","ms","Ms","Webkit"],at=5;--at>-1&&j[lt[at]+V]===void 0;);return at>=0?(W=at===3?"ms":lt[at],Qi="-"+W.toLowerCase()+"-",W+V):null},jt=(typeof window<"u"?window:pe.defaultView||{getComputedStyle:function(){}}).getComputedStyle,dt=m.getStyle=function(V,et,lt,at,j){var St;return pi||et!=="opacity"?(!at&&V.style[et]?St=V.style[et]:(lt=lt||jt(V))?St=lt[et]||lt.getPropertyValue(et)||lt.getPropertyValue(et.replace(Rt,"-$1").toLowerCase()):V.currentStyle&&(St=V.currentStyle[et]),j==null||St&&St!=="none"&&St!=="auto"&&St!=="auto auto"?St:j):Di(V)},pt=Oe.convertToPixels=function(V,et,lt,at,j){if(at==="px"||!at&&et!=="lineHeight")return lt;if(at==="auto"||!lt)return 0;var St,ht,Ot,Gt=Pt.test(et),zt=V,Tt=$e.style,he=0>lt,se=lt===1;if(he&&(lt=-lt),se&&(lt*=100),et!=="lineHeight"||at)if(at==="%"&&et.indexOf("border")!==-1)St=lt/100*(Gt?V.clientWidth:V.clientHeight);else{if(Tt.cssText="border:0 solid red;position:"+dt(V,"position")+";line-height:0;",at!=="%"&&zt.appendChild&&at.charAt(0)!=="v"&&at!=="rem")Tt[Gt?"borderLeftWidth":"borderTopWidth"]=lt+at;else{if(zt=V.parentNode||pe.body,dt(zt,"display").indexOf("flex")!==-1&&(Tt.position="absolute"),ht=zt._gsCache,Ot=a.ticker.frame,ht&&Gt&&ht.time===Ot)return ht.width*lt/100;Tt[Gt?"width":"height"]=lt+at}zt.appendChild($e),St=parseFloat($e[Gt?"offsetWidth":"offsetHeight"]),zt.removeChild($e),Gt&&at==="%"&&m.cacheWidths!==!1&&(ht=zt._gsCache=zt._gsCache||{},ht.time=Ot,ht.width=St/lt*100),St!==0||j||(St=pt(V,et,lt,at,!0))}else ht=jt(V).lineHeight,V.style.lineHeight=lt,St=parseFloat(jt(V).lineHeight),V.style.lineHeight=ht;return se&&(St/=100),he?-St:St},Dt=Oe.calculateOffset=function(V,et,lt){if(dt(V,"position",lt)!=="absolute")return 0;var at=et==="left"?"Left":"Top",j=dt(V,"margin"+at,lt);return V["offset"+at]-(pt(V,et,parseFloat(j),j.replace(N,""))||0)},ie=function(V,et){var lt,at,j,St={};if(et=et||jt(V,null))if(lt=et.length)for(;--lt>-1;)j=et[lt],(j.indexOf("-transform")===-1||ra===j)&&(St[j.replace(tt,G)]=et.getPropertyValue(j));else for(lt in et)(lt.indexOf("Transform")===-1||Sn===lt)&&(St[lt]=et[lt]);else if(et=V.currentStyle||V.style)for(lt in et)typeof lt=="string"&&St[lt]===void 0&&(St[lt.replace(tt,G)]=et[lt]);return pi||(St.opacity=Di(V)),at=co(V,et,!1),St.rotation=at.rotation,St.skewX=at.skewX,St.scaleX=at.scaleX,St.scaleY=at.scaleY,St.x=at.x,St.y=at.y,yr&&(St.z=at.z,St.rotationX=at.rotationX,St.rotationY=at.rotationY,St.scaleZ=at.scaleZ),St.filters&&delete St.filters,St},Kt=function(V,et,lt,at,j){var St,ht,Ot,Gt={},zt=V.style;for(ht in lt)ht!=="cssText"&&ht!=="length"&&isNaN(ht)&&(et[ht]!==(St=lt[ht])||j&&j[ht])&&ht.indexOf("Origin")===-1&&(typeof St=="number"||typeof St=="string")&&(Gt[ht]=St!=="auto"||ht!=="left"&&ht!=="top"?St!==""&&St!=="auto"&&St!=="none"||typeof et[ht]!="string"||et[ht].replace(U,"")===""?St:0:Dt(V,ht),zt[ht]!==void 0&&(Ot=new ni(zt,ht,zt[ht],Ot)));if(at)for(ht in at)ht!=="className"&&(Gt[ht]=at[ht]);return{difs:Gt,firstMPT:Ot}},z={width:["Left","Right"],height:["Top","Bottom"]},Q=["marginLeft","marginRight","marginTop","marginBottom"],st=function(V,et,lt){if((V.nodeName+"").toLowerCase()==="svg")return(lt||jt(V))[et]||0;if(V.getCTM&&Wl(V))return V.getBBox()[et]||0;var at=parseFloat(et==="width"?V.offsetWidth:V.offsetHeight),j=z[et],St=j.length;for(lt=lt||jt(V,null);--St>-1;)at-=parseFloat(dt(V,"padding"+j[St],lt,!0))||0,at-=parseFloat(dt(V,"border"+j[St]+"Width",lt,!0))||0;return at},nt=function(V,et){if(V==="contain"||V==="auto"||V==="auto auto")return V+" ";(V==null||V==="")&&(V="0 0");var lt,at=V.split(" "),j=V.indexOf("left")!==-1?"0%":V.indexOf("right")!==-1?"100%":at[0],St=V.indexOf("top")!==-1?"0%":V.indexOf("bottom")!==-1?"100%":at[1];if(at.length>3&&!et){for(at=V.split(", ").join(",").split(","),V=[],lt=0;lt<at.length;lt++)V.push(nt(at[lt]));return V.join(",")}return St==null?St=j==="center"?"50%":"0":St==="center"&&(St="50%"),(j==="center"||isNaN(parseFloat(j))&&(j+"").indexOf("=")===-1)&&(j="50%"),V=j+" "+St+(at.length>2?" "+at[2]:""),et&&(et.oxp=j.indexOf("%")!==-1,et.oyp=St.indexOf("%")!==-1,et.oxr=j.charAt(1)==="=",et.oyr=St.charAt(1)==="=",et.ox=parseFloat(j.replace(U,"")),et.oy=parseFloat(St.replace(U,"")),et.v=V),et||V},vt=function(V,et){return typeof V=="function"&&(V=V(w,P)),typeof V=="string"&&V.charAt(1)==="="?parseInt(V.charAt(0)+"1",10)*parseFloat(V.substr(2)):parseFloat(V)-parseFloat(et)||0},Ut=function(V,et){typeof V=="function"&&(V=V(w,P));var lt=typeof V=="string"&&V.charAt(1)==="=";return typeof V=="string"&&V.charAt(V.length-2)==="v"&&(V=(lt?V.substr(0,2):0)+window["inner"+(V.substr(-2)==="vh"?"Height":"Width")]*(parseFloat(lt?V.substr(2):V)/100)),V==null?et:lt?parseInt(V.charAt(0)+"1",10)*parseFloat(V.substr(2))+et:parseFloat(V)||0},qt=function(V,et,lt,at){var j,St,ht,Ot,Gt,zt=1e-6;return typeof V=="function"&&(V=V(w,P)),V==null?Ot=et:typeof V=="number"?Ot=V:(j=360,St=V.split("_"),Gt=V.charAt(1)==="=",ht=(Gt?parseInt(V.charAt(0)+"1",10)*parseFloat(St[0].substr(2)):parseFloat(St[0]))*(V.indexOf("rad")===-1?1:It)-(Gt?0:et),St.length&&(at&&(at[lt]=et+ht),V.index