1/*! 2 * VERSION: beta 1.9.4 3 * DATE: 2014-07-17 4 * UPDATES AND DOCS AT: http://www.greensock.com 5 * 6 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. 7 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for 8 * Club GreenSock members, the software agreement that was issued with your membership. 9 * 10 * @author: Jack Doyle, [email protected] 11 **/ 12var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){_gsScope._gsDefine("easing.Back",["easing.Ease"],function(F){var z,w,G,b=_gsScope.GreenSockGlobals||_gsScope,k=b.com.greensock,C=2*Math.PI,j=Math.PI/2,x=k._class,v=function(f,a){var c=x("easing."+f,function(){},!0),d=c.prototype=new F;return d.constructor=c,d.getRatio=a,c},D=F.register||function(){},E=function(c,h,a,d){var f=x("easing."+c,{easeOut:new h,easeIn:new a,easeInOut:new d},!0);return D(f,c),f},B=function(c,d,a){this.t=c,this.v=d,a&&(this.next=a,a.prev=this,this.c=a.v-d,this.gap=a.t-c)},g=function(f,a){var c=x("easing."+f,function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1},!0),d=c.prototype=new F;return d.constructor=c,d.getRatio=a,d.config=function(e){return new c(e)},c},y=E("Back",g("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),g("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),g("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),q=x("easing.SlowMo",function(c,d,a){d=d||0===d?d:0.7,null==c?c=0.7:c>1&&(c=1),this._p=1!==c?d:0,this._p1=(1-c)/2,this._p2=c,this._p3=this._p1+this._p2,this._calcEnd=a===!0},!0),A=q.prototype=new F;return A.constructor=q,A.getRatio=function(a){var c=a+(0.5-a)*this._p;return this._p1>a?this._calcEnd?1-(a=1-a/this._p1)*a:c-(a=1-a/this._p1)*a*a*a*c:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:c+(a-c)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:c},q.ease=new q(0.7,0.7),A.config=q.config=function(c,d,a){return new q(c,d,a)},z=x("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),A=z.prototype=new F,A.constructor=z,A.getRatio=function(a){return 0>a?a=0:a>=1&&(a=0.999999999),(this._p2*a>>0)*this._p1},A.config=z.config=function(a){return new z(a)},w=x("easing.RoughEase",function(P){P=P||{};for(var L,U,c,I,R,H,M=P.taper||"none",K=[],S=0,T=0|(P.points||20),t=T,O=P.randomize!==!1,J=P.clamp===!0,Q=P.template instanceof F?P.template:null,N="number"==typeof P.strength?0.4*P.strength:0.4;--t>-1;){L=O?Math.random():1/T*t,U=Q?Q.getRatio(L):L,"none"===M?c=N:"out"===M?(I=1-L,c=I*I*N):"in"===M?c=L*L*N:0.5>L?(I=2*L,c=0.5*I*I*N):(I=2*(1-L),c=0.5*I*I*N),O?U+=Math.random()*c-0.5*c:t%2?U+=0.5*c:U-=0.5*c,J&&(U>1?U=1:0>U&&(U=0)),K[S++]={x:L,y:U}}for(K.sort(function(a,d){return a.x-d.x}),H=new B(1,1,null),t=T;--t>-1;){R=K[t],H=new B(R.x,R.y,H)}this._prev=new B(0,0,0!==H.t?H:H.next)},!0),A=w.prototype=new F,A.constructor=w,A.getRatio=function(a){var c=this._prev;if(a>c.t){for(;c.next&&a>=c.t;){c=c.next}c=c.prev}else{for(;c.prev&&c.t>=a;){c=c.prev}}return this._prev=c,c.v+(a-c.t)/c.gap*c.c},A.config=function(a){return new w(a)},w.ease=new w,E("Bounce",v("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+0.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),v("BounceIn",function(a){return 1/2.75>(a=1-a)?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+0.75):2.5/2.75>a?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),v("BounceInOut",function(a){var c=0.5>a;return a=c?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+0.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375,c?0.5*(1-a):0.5*a+0.5})),E("Circ",v("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),v("CircIn",function(a){return -(Math.sqrt(1-a*a)-1)}),v("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)})),G=function(f,a,c){var d=x("easing."+f,function(i,l){this._p1=i||1,this._p2=l||c,this._p3=this._p2/C*(Math.asin(1/this._p1)||0)},!0),h=d.prototype=new F;return h.constructor=d,h.getRatio=a,h.config=function(i,l){return new d(i,l)},d},E("Elastic",G("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*C/this._p2)+1},0.3),G("ElasticIn",function(a){return -(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*C/this._p2))},0.3),G("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*C/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*C/this._p2)+1},0.45)),E("Expo",v("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),v("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),v("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))})),E("Sine",v("SineOut",function(a){return Math.sin(a*j)}),v("SineIn",function(a){return -Math.cos(a*j)+1}),v("SineInOut",function(a){return -0.5*(Math.cos(Math.PI*a)-1)})),x("easing.EaseLookup",{find:function(a){return F.map[a]}},!0),D(b.SlowMo,"SlowMo","ease,"),D(w,"RoughEase","ease,"),D(z,"SteppedEase","ease,"),y},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(); 13/*! 14 * VERSION: 1.13.1 15 * DATE: 2014-07-22 16 * UPDATES AND DOCS AT: http://www.greensock.com 17 * 18 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. 19 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
20 * Club GreenSock members, the software agreement that was issued with your membership. 21 * 22 * @author: Jack Doyle, [email protected] 23 */ 24(function(ay,aN){var aJ=ay.GreenSockGlobals=ay.GreenSockGlobals||ay;if(!aJ.TweenLite){var az,aE,aA,aR,aD,aG=function(a){var c,b=a.split("."),d=aJ;for(c=0;b.length>c;c++){d[b[c]]=d=d[b[c]]||{}}return d},aK=aG("com.greensock"),aS=1e-10,ax=function(b){var d,a=[],c=b.length;for(d=0;d!==c;a.push(b[d++])){}return a},aM=function(){},aF=function(){var a=Object.prototype.toString,b=a.call([]);return function(c){return null!=c&&(c instanceof Array||"object"==typeof c&&!!c.push&&a.call(c)===b)}}(),aC={},aP=function(c,f,d,b){this.sc=aC[c]?aC[c].sc:[],aC[c]=this,this.gsClass=null,this.func=d;var e=[];this.check=function(k){for(var j,i,l,a,n=f.length,g=n;--n>-1;){(j=aC[f[n]]||new aP(f[n],[])).gsClass?(e[n]=j.gsClass,g--):k&&j.sc.push(this)}if(0===g&&d){for(i=("com.greensock."+c).split("."),l=i.pop(),a=aG(i.join("."))[l]=this.gsClass=d.apply(d,e),b&&(aJ[l]=a,"function"==typeof define&&define.amd?define((ay.GreenSockAMDPath?ay.GreenSockAMDPath+"/":"")+c.split(".").pop(),[],function(){return a}):c===aN&&"undefined"!=typeof module&&module.exports&&(module.exports=a)),n=0;this.sc.length>n;n++){this.sc[n].check()}}},this.check(!0)},aO=ay._gsDefine=function(b,d,a,c){return new aP(b,d,a,c)},aw=aK._class=function(b,c,a){return c=c||function(){},aO(b,[],function(){return c},a),c};aO.globals=aJ;var aL=[0,0,1,1],W=[],at=aw("easing.Ease",function(b,d,a,c){this._func=b,this._type=a||0,this._power=c||0,this._params=d?aL.concat(d):aL},!0),av=at.map={},aa=at.register=function(p,h,g,q){for(var d,b,j,c,f=h.split(","),k=f.length,m=(g||"easeIn,easeOut,easeInOut").split(",");--k>-1;){for(b=f[k],d=q?aw("easing."+b,null,!0):aK.easing[b]||{},j=m.length;--j>-1;){c=m[j],av[b+"."+c]=av[c+b]=d[c]=p.getRatio?p:p[c]||new p}}};for(aA=at.prototype,aA._calcEnd=!1,aA.getRatio=function(b){if(this._func){return this._params[0]=b,this._func.apply(null,this._params)}var d=this._type,a=this._power,c=1===d?1-b:2===d?b:0.5>b?2*b:2*(1-b);return 1===a?c*=c:2===a?c*=c*c:3===a?c*=c*c*c:4===a&&(c*=c*c*c*c),1===d?1-c:2===d?c:0.5>b?c/2:1-c/2},az=["Linear","Quad","Cubic","Quart","Quint,Strong"],aE=az.length;--aE>-1;){aA=az[aE]+",Power"+aE,aa(new at(null,null,1,aE),aA,"easeOut",!0),aa(new at(null,null,2,aE),aA,"easeIn"+(0===aE?",easeNone":"")),aa(new at(null,null,3,aE),aA,"easeInOut")}av.linear=aK.easing.Linear.easeIn,av.swing=aK.easing.Quad.easeInOut;var aQ=aw("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});aA=aQ.prototype,aA.addEventListener=function(k,g,d,m,b){b=b||0;var a,c,f=this._listeners[k],j=0;for(null==f&&(this._listeners[k]=f=[]),c=f.length;--c>-1;){a=f[c],a.c===g&&a.s===d?f.splice(c,1):0===j&&b>a.pr&&(j=c+1)}f.splice(j,0,{c:g,s:d,up:m,pr:b}),this!==aR||aD||aR.wake()},aA.removeEventListener=function(b,d){var a,c=this._listeners[b];if(c){for(a=c.length;--a>-1;){if(c[a].c===d){return c.splice(a,1),void 0}}}},aA.dispatchEvent=function(b){var d,a,c,f=this._listeners[b];if(f){for(d=f.length,a=this._eventTarget;--d>-1;){c=f[d],c.up?c.c.call(c.s||a,{type:b,target:a}):c.c.call(c.s||a)}}};var aH=ay.requestAnimationFrame,ap=ay.cancelAnimationFrame,X=Date.now||function(){return(new Date).getTime()},au=X();for(az=["ms","moz","webkit","o"],aE=az.length;--aE>-1&&!aH;){aH=ay[az[aE]+"RequestAnimationFrame"],ap=ay[az[aE]+"CancelAnimationFrame"]||ay[az[aE]+"CancelRequestAnimationFrame"]}aw("Ticker",function(y,q){var k,z,f,a,j,o=this,x=X(),g=q!==!1&&aH,b=500,w=33,v=function(d){var h,c,i=X()-au;i>b&&(x+=i-w),au+=i,o.time=(au-x)/1000,h=o.time-j,(!k||h>0||d===!0)&&(o.frame++,j+=h+(h>=a?0.004:a-h),c=!0),d!==!0&&(f=z(v)),c&&o.dispatchEvent("tick")};aQ.call(o),o.time=o.frame=0,o.tick=function(){v(!0)},o.lagSmoothing=function(c,d){b=c||1/aS,w=Math.min(d,b,0)},o.sleep=function(){null!=f&&(g&&ap?ap(f):clearTimeout(f),z=aM,f=null,o===aR&&(aD=!1))},o.wake=function(){null!==f?o.sleep():o.frame>10&&(au=X()-b+5),z=0===k?aM:g&&aH?aH:function(c){return setTimeout(c,0|1000*(j-o.time)+1)},o===aR&&(aD=!0),v(2)},o.fps=function(c){return arguments.length?(k=c,a=1/(k||60),j=this.time+a,o.wake(),void 0):k},o.useRAF=function(c){return arguments.length?(o.sleep(),g=c,o.fps(k),void 0):g},o.fps(y),setTimeout(function(){g&&(!f||5>o.frame)&&o.useRAF(!1)},1500)}),aA=aK.Ticker.prototype=new aK.events.EventDispatcher,aA.constructor=aK.Ticker;var an=aw("core.Animation",function(b,c){if(this.vars=c=c||{},this._duration=this._totalDuration=b||0,this._delay=Number(c.delay)||0,this._timeScale=1,this._active=c.immediateRender===!0,this.data=c.data,this._reversed=c.reversed===!0,ao){aD||aR.wake();var a=this.vars.useFrames?aB:ao;a.add(this,a._time),this.vars.paused&&this.paused(!0)}});aR=an.ticker=new aK.Ticker,aA=an.prototype,aA._dirty=aA._gc=aA._initted=aA._paused=!1,aA._totalTime=aA._time=0,aA._rawPrevTime=-1,aA._next=aA._last=aA._onUpdate=aA._timeline=aA.timeline=null,aA._paused=!1;var Y=function(){aD&&X()-au>2000&&aR.wake(),setTimeout(Y,2000)};Y(),aA.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},aA.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},aA.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},aA.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},aA.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},aA.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},aA.render=function(){},aA.invalidate=function(){return this},aA.isActive=function(){var b,c=this._timeline,a=this._startTime;return !c||!this._gc&&!this._paused&&c.isActive()&&(b=c.rawTime())>=a&&a+this.totalDuration()/this._timeScale>b},aA._enabled=function(a,b){return aD||aR.wake(),this._gc=!a,this._active=this.isActive(),b!==!0&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},aA._kill=function(){return this._enabled(!1,!1)},aA.kill=function(a,b){return this._kill(a,b),this},aA._uncache=function(a){for(var b=a?this:this.timeline;b;){b._dirty=!0,b=b.timeline}return this},aA._swapSelfInParams=function(b){for(var c=b.length,a=b.concat();--c>-1;){"{self}"===b[c]&&(a[c]=this)}return a},aA.eventCallback=function(b,d,a,c){if("on"===(b||"").substr(0,2)){var f=this.vars;if(1===arguments.length){return f[b]}null==d?delete f[b]:(f[b]=d,f[b+"Params"]=aF(a)&&-1!==a.join("").indexOf("{self}")?this._swapSelfInParams(a):a,f[b+"Scope"]=c),"onUpdate"===b&&(this._onUpdate=d)}return this},aA.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},aA.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},aA.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},aA.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(a>this._duration?this._duration:a,b)):this._time},aA.totalTime=function(b,d,a){if(aD||aR.wake(),!arguments.length){return this._totalTime}if(this._timeline){if(0>b&&!a&&(b+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var c=this._totalDuration,f=this._timeline;if(b>c&&!a&&(b=c),this._startTime=(this._paused?this._pauseTime:f._time)-(this._reversed?c-b:b)/this._timeScale,f._dirty||this._uncache(!1),f._timeline){for(;f._timeline;){f._timeline._time!==(f._startTime+f._totalTime)/f._timeScale&&f.totalTime(f._totalTime,!0),f=f._timeline}}}this._gc&&this._enabled(!0,!1),(this._totalTime!==b||0===this._duration)&&(this.render(b,d,
24!1),ab.length&&ad())}return this},aA.progress=aA.totalProgress=function(a,b){return arguments.length?this.totalTime(this.duration()*a,b):this._time/this.duration()},aA.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},aA.timeScale=function(b){if(!arguments.length){return this._timeScale}if(b=b||aS,this._timeline&&this._timeline.smoothChildTiming){var c=this._pauseTime,a=c||0===c?c:this._timeline.totalTime();this._startTime=a-(a-this._startTime)*this._timeScale/b}return this._timeScale=b,this._uncache(!1)},aA.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},aA.paused=function(b){if(!arguments.length){return this._paused}if(b!=this._paused&&this._timeline){aD||b||aR.wake();var d=this._timeline,a=d.rawTime(),c=a-this._pauseTime;!b&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=b?a:null,this._paused=b,this._active=this.isActive(),!b&&0!==c&&this._initted&&this.duration()&&this.render(d.smoothChildTiming?this._totalTime:(a-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!b&&this._enabled(!0,!1),this};var am=aw("core.SimpleTimeline",function(a){an.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});aA=am.prototype=new an,aA.constructor=am,aA.kill()._gc=!1,aA._first=aA._last=null,aA._sortChildren=!1,aA.add=aA.insert=function(b,d){var a,c;if(b._startTime=Number(d||0)+b._delay,b._paused&&this!==b._timeline&&(b._pauseTime=b._startTime+(this.rawTime()-b._startTime)/b._timeScale),b.timeline&&b.timeline._remove(b,!0),b.timeline=b._timeline=this,b._gc&&b._enabled(!0,!0),a=this._last,this._sortChildren){for(c=b._startTime;a&&a._startTime>c;){a=a._prev}}return a?(b._next=a._next,a._next=b):(b._next=this._first,this._first=b),b._next?b._next._prev=b:this._last=b,b._prev=a,this._timeline&&this._uncache(!0),this},aA._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,this._timeline&&this._uncache(!0)),this},aA.render=function(b,d,a){var c,f=this._first;for(this._totalTime=this._time=this._rawPrevTime=b;f;){c=f._next,(f._active||b>=f._startTime&&!f._paused)&&(f._reversed?f.render((f._dirty?f.totalDuration():f._totalDuration)-(b-f._startTime)*f._timeScale,d,a):f.render((b-f._startTime)*f._timeScale,d,a)),f=c}},aA.rawTime=function(){return aD||aR.wake(),this._totalTime};var ah=aw("TweenLite",function(h,d,f){if(an.call(this,d,f),this.render=ah.prototype.render,null==h){throw"Cannot tween a null target."}this.target=h="string"!=typeof h?h:ah.selector(h)||h;var k,g,c,j=h.jquery||h.length&&h!==ay&&h[0]&&(h[0]===ay||h[0].nodeType&&h[0].style&&!h.nodeType),b=this.vars.overwrite;if(this._overwrite=b=null==b?Z[ah.defaultOverwrite]:"number"==typeof b?b>>0:Z[b],(j||h instanceof Array||h.push&&aF(h))&&"number"!=typeof h[0]){for(this._targets=c=ax(h),this._propLookup=[],this._siblings=[],k=0;c.length>k;k++){g=c[k],g?"string"!=typeof g?g.length&&g!==ay&&g[0]&&(g[0]===ay||g[0].nodeType&&g[0].style&&!g.nodeType)?(c.splice(k--,1),this._targets=c=c.concat(ax(g))):(this._siblings[k]=aq(g,this,!1),1===b&&this._siblings[k].length>1&&af(g,this,null,1,this._siblings[k])):(g=c[k--]=ah.selector(g),"string"==typeof g&&c.splice(k+1,1)):c.splice(k--,1)}}else{this._propLookup={},this._siblings=aq(h,this,!1),1===b&&this._siblings.length>1&&af(h,this,null,1,this._siblings)}(this.vars.immediateRender||0===d&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-aS,this.render(-this._delay))},!0),al=function(a){return a.length&&a!==ay&&a[0]&&(a[0]===ay||a[0].nodeType&&a[0].style&&!
24a.nodeType)},ar=function(b,d){var a,c={};for(a in b){aj[a]||a in d&&"transform"!==a&&"x"!==a&&"y"!==a&&"width"!==a&&"height"!==a&&"className"!==a&&"border"!==a||!(!V[a]||V[a]&&V[a]._autoCSS)||(c[a]=b[a],delete b[a])}b.css=c};aA=ah.prototype=new an,aA.constructor=ah,aA.kill()._gc=!1,aA.ratio=0,aA._firstPT=aA._targets=aA._overwrittenProps=aA._startAt=null,aA._notifyPluginsOfEnabled=aA._lazy=!1,ah.version="1.13.1",ah.defaultEase=aA._ease=new at(null,null,1,1),ah.defaultOverwrite="auto",ah.ticker=aR,ah.autoSleep=!0,ah.lagSmoothing=function(a,b){aR.lagSmoothing(a,b)},ah.selector=ay.$||ay.jQuery||function(b){var a=ay.$||ay.jQuery;return a?(ah.selector=a,a(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)};var ab=[],ae={},ac=ah._internals={isArray:aF,isSelector:al,lazyTweens:ab},V=ah._plugins={},ak=ac.tweenLookup={},aI=0,aj=ac.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},Z={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},aB=an._rootFramesTimeline=new am,ao=an._rootTimeline=new am,ad=ac.lazyRender=function(){var a=ab.length;for(ae={};--a>-1;){az=ab[a],az&&az._lazy!==!1&&(az.render(az._lazy,!1,!0),az._lazy=!1)}ab.length=0};ao._startTime=aR.time,aB._startTime=aR.frame,ao._active=aB._active=!0,setTimeout(ad,1),an._updateRoot=ah.render=function(){var b,c,a;if(ab.length&&ad(),ao.render((aR.time-ao._startTime)*ao._timeScale,!1,!1),aB.render((aR.frame-aB._startTime)*aB._timeScale,!1,!1),ab.length&&ad(),!(aR.frame%120)){for(a in ak){for(c=ak[a].tweens,b=c.length;--b>-1;){c[b]._gc&&c.splice(b,1)}0===c.length&&delete ak[a]}if(a=ao._first,(!a||a._paused)&&ah.autoSleep&&!aB._first&&1===aR._listeners.tick.length){for(;a&&a._paused;){a=a._next}a||aR.sleep()}}},aR.addEventListener("tick",an._updateRoot);var aq=function(b,f,a){var c,g,d=b._gsTweenID;if(ak[d||(b._gsTweenID=d="t"+aI++)]||(ak[d]={target:b,tweens:[]}),f&&(c=ak[d].tweens,c[g=c.length]=f,a)){for(;--g>-1;){c[g]===f&&c.splice(g,1)}}return ak[d].tweens},af=function(A,x,q,B,g){var b,y,d,k;if(1===B||B>=4){for(k=g.length,b=0;k>b;b++){if((d=g[b])!==x){d._gc||d._enabled(!1,!1)&&(y=!0)}else{if(5===B){break}}}return y}var v,z=x._startTime+aS,w=[],j=0,c=0===x._duration;for(b=g.length;--b>-1;){(d=g[b])===x||d._gc||d._paused||(d._timeline!==x._timeline?(v=v||ai(x,0,c),0===ai(d,v,c)&&(w[j++]=d)):z>=d._startTime&&d._startTime+d.totalDuration()/d._timeScale>z&&((c||!d._initted)&&2e-10>=z-d._startTime||(w[j++]=d)))}for(b=j;--b>-1;){d=w[b],2===B&&d._kill(q,A)&&(y=!0),(2!==B||!d._firstPT&&d._initted)&&d._enabled(!1,!1)&&(y=!0)}return y},ai=function(b,f,a){for(var c=b._timeline,g=c._timeScale,d=b._startTime;c._timeline;){if(d+=c._startTime,g*=c._timeScale,c._paused){return -100}c=c._timeline}return d/=g,d>f?d-f:a&&d===f||!b._initted&&2*aS>d-f?aS:(d+=b.totalDuration()/b._timeScale/g)>f+aS?0:d-f-aS};aA._init=function(){var p,k,g,q,d,b=this.vars,m=this._overwrittenProps,c=this._duration,f=!!b.immediateRender,j=b.ease;if(b.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),d={};for(q in b.startAt){d[q]=b.startAt[q]}if(d.overwrite=!1,d.immediateRender=!0,d.lazy=f&&b.lazy!==!1,d.startAt=d.delay=null,this._startAt=ah.to(this.target,0,d),f){if(this._time>0){this._startAt=null}else{if(0!==c){return}}}}else{if(b.runBackwards&&0!==c){if(this._startAt){this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null}else{g={};for(q in b){aj[q]&&"autoCSS"!==q||(g[q]=b[q])}if(g.overwrite=0,g.data="isFromStart",g.lazy=f&&b.lazy!==!1,g.immediateRender=f,this._startAt=ah.to(this.target,0,g),f){if(0===this._time){return}}else{this._startAt._init(),this._startAt._enabled(!1)}}}}
24if(this._ease=j=j?j instanceof at?j:"function"==typeof j?new at(j,b.easeParams):av[j]||ah.defaultEase:ah.defaultEase,b.easeParams instanceof Array&&j.config&&(this._ease=j.config.apply(j,b.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets){for(p=this._targets.length;--p>-1;){this._initProps(this._targets[p],this._propLookup[p]={},this._siblings[p],m?m[p]:null)&&(k=!0)}}else{k=this._initProps(this.target,this._propLookup,this._siblings,m)}if(k&&ah._onPluginEvent("_onInitAllProps",this),m&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),b.runBackwards){for(g=this._firstPT;g;){g.s+=g.c,g.c=-g.c,g=g._next}}this._onUpdate=b.onUpdate,this._initted=!0},aA._initProps=function(k,g,q,d){var b,m,c,f,j,p;if(null==k){return !1}ae[k._gsTweenID]&&ad(),this.vars.css||k.style&&k!==ay&&k.nodeType&&V.css&&this.vars.autoCSS!==!1&&ar(this.vars,k);for(b in this.vars){if(p=this.vars[b],aj[b]){p&&(p instanceof Array||p.push&&aF(p))&&-1!==p.join("").indexOf("{self}")&&(this.vars[b]=p=this._swapSelfInParams(p,this))}else{if(V[b]&&(f=new V[b])._onInitTween(k,this.vars[b],this)){for(this._firstPT=j={_next:this._firstPT,t:f,p:"setRatio",s:0,c:1,f:!0,n:b,pg:!0,pr:f._priority},m=f._overwriteProps.length;--m>-1;){g[f._overwriteProps[m]]=this._firstPT}(f._priority||f._onInitAllProps)&&(c=!0),(f._onDisable||f._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else{this._firstPT=g[b]=j={_next:this._firstPT,t:k,p:b,f:"function"==typeof k[b],n:b,pg:!1,pr:0},j.s=j.f?k[b.indexOf("set")||"function"!=typeof k["get"+b.substr(3)]?b:"get"+b.substr(3)]():parseFloat(k[b]),j.c="string"==typeof p&&"="===p.charAt(1)?parseInt(p.charAt(0)+"1",10)*Number(p.substr(2)):Number(p)-j.s||0}}j&&j._next&&(j._next._prev=j)}return d&&this._kill(d,k)?this._initProps(k,g,q,d):this._overwrite>1&&this._firstPT&&q.length>1&&af(k,this,g,this._overwrite,q)?(this._kill(g,k),this._initProps(k,g,q,d)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(ae[k._gsTweenID]=!0),c)},aA.render=function(y,v,k){var z,d,b,w,c=this._time,j=this._duration,p=this._rawPrevTime;if(y>=j){this._totalTime=this._time=j,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(z=!0,d="onComplete"),0===j&&(this._initted||!this.vars.lazy||k)&&(this._startTime===this._timeline._duration&&(y=0),(0===y||0>p||p===aS)&&p!==y&&(k=!0,p>aS&&(d="onReverseComplete")),this._rawPrevTime=w=!v||y||p===y?y:aS)}else{if(1e-7>y){this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==c||0===j&&p>0&&p!==aS)&&(d="onReverseComplete",z=this._reversed),0>y?(this._active=!1,0===j&&(this._initted||!this.vars.lazy||k)&&(p>=0&&(k=!0),this._rawPrevTime=w=!v||y||p===y?y:aS)):this._initted||(k=!0)}else{if(this._totalTime=this._time=y,this._easeType){var x=y/j,q=this._easeType,g=this._easePower;(1===q||3===q&&x>=0.5)&&(x=1-x),3===q&&(x*=2),1===g?x*=x:2===g?x*=x*x:3===g?x*=x*x*x:4===g&&(x*=x*x*x*x),this.ratio=1===q?1-x:2===q?x:0.5>y/j?x/2:1-x/2}else{this.ratio=this._ease.getRatio(y/j)}}}if(this._time!==c||k){if(!this._initted){if(this._init(),!this._initted||this._gc){return}if(!k&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)){return this._time=this._totalTime=c,this._rawPrevTime=p,ab.push(this),this._lazy=y,void 0}this._time&&!z?this.ratio=this._ease.getRatio(this._time/j):z&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==c&&y>=0&&(this._active=!0),0===c&&(this._startAt&&(y>=0?this._startAt.render(y,v,k):d||(d="_dummyGS")),this.vars.onStart&&(0!==this._time||0===j)&&(v||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||W))),b=this._firstPT;b;){b.f?b.t[b.p](b.c*this.ratio+b.s):b.t[b.p]=b.c*this.ratio+b.s,b=b._next}this._onUpdate&&(0>y&&this._startAt&&this._startTime&&this._startAt.render(y,v,k),v||(this._time!==c||z)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||W)),d&&(!this._gc||k)&&(0>y&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(y,v,k),z&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!v&&this.vars[d]&&this.vars[d].apply(this.vars[d+"Scope"]||this,this.vars[d+"Params"]||W),0===j&&this._rawPrevTime===aS&&w!==aS&&(this._rawPrevTime=0))}},aA._kill=function(p,k){if("all"===p&&(p=null),null==p&&(null==k||k===this.target)){return this._lazy=!1,this._enabled(!1,!1)}k="string"!=typeof k?k||this._targets||this.target:ah.selector(k)||k;var g,q,d,b,m,c,f,j;if((aF(k)||al(k))&&"number"!=typeof k[0]){for(g=k.length;--g>-1;){this._kill(p,k[g])&&(c=!0)}}else{if(this._targets){for(g=this._targets.length;--g>-1;){if(k===this._targets[g]){m=this._propLookup[g]||{},this._overwrittenProps=this._overwrittenProps||[],q=this._overwrittenProps[g]=p?this._overwrittenProps[g]||{}:"all";break}}}else{if(k!==this.target){return !1}m=this._propLookup,q=this._overwrittenProps=p?this._overwrittenProps||{}:"all"}if(m){f=p||m,j=p!==q&&"all"!==q&&p!==m&&("object"!=typeof p||!p._tempKill);for(d in f){(b=m[d])&&(b.pg&&b.t._kill(f)&&(c=!0),b.pg&&0!==b.t._overwriteProps.length||(b._prev?b._prev._next=b._next:b===this._firstPT&&(this._firstPT=b._next),b._next&&(b._next._prev=b._prev),b._next=b._prev=null),delete m[d]),j&&(q[d]=1)}!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return c},aA.invalidate=function(){return this._notifyPluginsOfEnabled&&ah._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=this._lazy=!1,this._propLookup=this._targets?{}:[],this},aA._enabled=function(b,d){if(aD||aR.wake(),b&&this._gc){var a,c=this._targets;if(c){for(a=c.length;--a>-1;){this._siblings[a]=aq(c[a],this,!0)}}else{this._siblings=aq(this.target,this,!0)}}return an.prototype._enabled.call(this,b,d),this._notifyPluginsOfEnabled&&this._firstPT?ah._onPluginEvent(b?"_onEnable":"_onDisable",this):!1},ah.to=function(b,c,a){return new ah(b,c,a)},ah.from=function(b,c,a){return a.runBackwards=!0,a.immediateRender=0!=a.immediateRender,new ah(b,c,a)},ah.fromTo=function(b,d,a,c){return c.startAt=a,c.immediateRender=0!=c.immediateRender&&0!=a.immediateRender,new ah(b,d,c)},ah.delayedCall=function(b,d,a,c,f){return new ah(d,0,{delay:b,onComplete:d,onCompleteParams:a,onCompleteScope:c,onReverseComplete:d,onReverseCompleteParams:a,onReverseCompleteScope:c,immediateRender:!1,useFrames:f,overwrite:0})},ah.set=function(a,b){return new ah(a,0,b)},ah.getTweensOf=function(b,f){if(null==b){return[]}b="string"!=typeof b?b:ah.selector(b)||b;
24var a,c,g,d;if((aF(b)||al(b))&&"number"!=typeof b[0]){for(a=b.length,c=[];--a>-1;){c=c.concat(ah.getTweensOf(b[a],f))}for(a=c.length;--a>-1;){for(d=c[a],g=a;--g>-1;){d===c[g]&&c.splice(a,1)}}}else{for(c=aq(b).concat(),a=c.length;--a>-1;){(c[a]._gc||f&&!c[a].isActive())&&c.splice(a,1)}}return c},ah.killTweensOf=ah.killDelayedCallsTo=function(b,d,a){"object"==typeof d&&(a=d,d=!1);for(var c=ah.getTweensOf(b,d),f=c.length;--f>-1;){c[f]._kill(a,b)}};var ag=aw("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=ag.prototype},!0);if(aA=ag.prototype,ag.version="1.10.1",ag.API=2,aA._firstPT=null,aA._addTween=function(d,h,c,f,k,g){var b,j;return null!=f&&(b="number"==typeof f||"="!==f.charAt(1)?Number(f)-c:parseInt(f.charAt(0)+"1",10)*Number(f.substr(2)))?(this._firstPT=j={_next:this._firstPT,t:d,p:h,s:c,c:b,f:"function"==typeof d[h],n:k||h,r:g},j._next&&(j._next._prev=j),j):void 0},aA.setRatio=function(b){for(var d,a=this._firstPT,c=0.000001;a;){d=a.c*b+a.s,a.r?d=Math.round(d):c>d&&d>-c&&(d=0),a.f?a.t[a.p](d):a.t[a.p]=d,a=a._next}},aA._kill=function(b){var d,a=this._overwriteProps,c=this._firstPT;if(null!=b[this._propName]){this._overwriteProps=[]}else{for(d=a.length;--d>-1;){null!=b[a[d]]&&a.splice(d,1)}}for(;c;){null!=b[c.n]&&(c._next&&(c._next._prev=c._prev),c._prev?(c._prev._next=c._next,c._prev=null):this._firstPT===c&&(this._firstPT=c._next)),c=c._next}return !1},aA._roundProps=function(b,c){for(var a=this._firstPT;a;){(b[this._propName]||null!=a.n&&b[a.n.split(this._propName+"_").join("")])&&(a.r=c),a=a._next}},ah._onPluginEvent=function(d,h){var c,f,k,g,b,j=h._firstPT;if("_onInitAllProps"===d){for(;j;){for(b=j._next,f=k;f&&f.pr>j.pr;){f=f._next}(j._prev=f?f._prev:g)?j._prev._next=j:k=j,(j._next=f)?f._prev=j:g=j,j=b}j=h._firstPT=k}for(;j;){j.pg&&"function"==typeof j.t[d]&&j.t[d]()&&(c=!0),j=j._next}return c},ag.activate=function(a){for(var b=a.length;--b>-1;){a[b].API===ag.API&&(V[(new a[b])._propName]=a[b])}return !0},aO.plugin=function(d){if(!(d&&d.propName&&d.init&&d.API)){throw"illegal plugin definition."}var h,c=d.propName,f=d.priority||0,k=d.overwriteProps,g={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},b=aw("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){ag.call(this,c,f),this._overwriteProps=k||[]},d.global===!0),j=b.prototype=new ag(c);j.constructor=b,b.API=d.API;for(h in g){"function"==typeof d[h]&&(j[g[h]]=d[h])}return b.version=d.version,ag.activate([b]),b},az=ay._gsQueue){for(aE=0;az.length>aE;aE++){az[aE]()}for(aA in aC){aC[aA].func||ay.console.log("GSAP encountered missing dependency: com.greensock."+aA)}}aD=!1}})("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenLite");self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{};var Prism=function(){var d=/\blang(?:uage)?-(?!\*)(\w+)\b/i,c=self.Prism={util:{encode:function(a){return a instanceof f?new f(a.type,c.util.encode(a.content),a.alias):"Array"===c.util.type(a)?a.map(c.util.encode):a.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(a){return Object.prototype.toString.call(a).match(/\[object (\w+)\]/)[1]},clone:function(i){var j=c.util.type(i);switch(j){case"Object":var g={};for(var h in i){i.hasOwnProperty(h)&&(g[h]=c.util.clone(i[h]))}return g;case"Array":return i.slice()}return i}},languages:{extend:function(i,j){var g=c.util.clone(c.languages[i]);for(var h in j){g[h]=j[h]}return g},insertBefore:function(p,t,h,m){m=m||c.languages;var j=m[p];if(2==arguments.length){h=arguments[1];for(var g in h){h.hasOwnProperty(g)&&(j[g]=h[g])}return j}var k={};for(var q in j){if(j.hasOwnProperty(q)){if(q==t){for(var g in h){h.hasOwnProperty(g)&&(k[g]=h[g])}}k[q]=j[q]}}return c.languages.DFS(c.languages,function(a,e){e===m[p]&&a!=p&&(this[a]=k)}),m[p]=k},DFS:function(i,j,g){for(var h in i){i.hasOwnProperty(h)&&(j.call(i,h,i[h],g||h),"Object"===c.util.type(i[h])?c.languages.DFS(i[h],j):"Array"===c.util.type(i[h])&&c.languages.DFS(i[h],j,h))}}},highlightAll:function(k,l){for(var g,j=document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'),h=0;g=j[h++];){c.highlightElement(g,k===!0,l)}},highlightElement:function(p,e,k){for(var j,t,h=p;h&&!d.test(h.className);){h=h.parentNode}if(h&&(j=(h.className.match(d)||[,""])[1],t=c.languages[j]),t){p.className=p.className.replace(d,"").replace(/\s+/g," ")+" language-"+j,h=p.parentNode,/pre/i.test(h.nodeName)&&(h.className=h.className.replace(d,"").replace(/\s+/g," ")+" language-"+j);var m=p.textContent;if(m){m=m.replace(/^\n/,"");var n={element:p,language:j,grammar:t,code:m};if(c.hooks.run("before-highlight",n),e&&self.Worker){var q=new Worker(c.filename);q.onmessage=function(a){n.highlightedCode=f.stringify(JSON.parse(a.data),j),c.hooks.run("before-insert",n),n.element.innerHTML=n.highlightedCode,k&&k.call(n.element),c.hooks.run("after-highlight",n)},q.postMessage(JSON.stringify({language:n.language,code:n.code}))}else{n.highlightedCode=c.highlight(n.code,n.grammar,n.language),c.hooks.run("before-insert",n),n.element.innerHTML=n.highlightedCode,k&&k.call(p),c.hooks.run("after-highlight",n)}}}},highlight:function(k,g,j){var h=c.tokenize(k,g);return f.stringify(c.util.encode(h),j)},tokenize:function(P,F){var T=c.Token,C=[P],J=F.rest;if(J){for(var H in J){F[H]=J[H]}delete F.rest}P:for(var H in F){if(F.hasOwnProperty(H)&&F[H]){var B=F[H];B="Array"===c.util.type(B)?B:[B];for(var E=0;E<B.length;++E){var L=B[E],R=L.inside,A=!!L.lookbehind,M=0,K=L.alias;L=L.pattern||L;for(var D=0;D<C.length;D++){var Q=C[D];if(C.length>P.length){break P}if(!(Q instanceof T)){L.lastIndex=0;var G=L.exec(Q);if(G){A&&(M=G[1].length);var t=G.index-1+M,G=G[0].slice(M),z=G.length,I=t+z,S=Q.slice(0,t+1),x=Q.slice(I+1),j=[D,1];S&&j.push(S);var q=new T(H,R?c.tokenize(G,R):G,K);j.push(q),x&&j.push(x),Array.prototype.splice.apply(C,j)}}}}}}return C},hooks:{all:{},add:function(h,i){var g=c.hooks.all;g[h]=g[h]||[],g[h].push(i)},run:function(k,l){var g=c.hooks.all[k];if(g&&g.length){for(var j,h=0;j=g[h++];){j(l)}}}}},f=c.Token=function(g,a,h){this.type=g,this.content=a,this.alias=h};if(f.stringify=function(n,h,m){if("string"==typeof n){return n}if("[object Array]"==Object.prototype.toString.call(n)){return n.map(function(a){return f.stringify(a,h,n)}).join("")}var j={type:n.type,content:f.stringify(n.content,h,m),tag:"span",classes:["token",n.type],attributes:{},language:h,parent:m};if("comment"==j.type&&(j.attributes.spellcheck="true"),n.alias){var g="Array"===c.util.type(n.alias)?n.alias:[n.alias];Array.prototype.push.apply(j.classes,g)}c.hooks.run("wrap",j);var k="";for(var p in j.attributes){k+=p+'="'+(j.attributes[p]||"")+'"'}return"<"+j.tag+' class="'+j.classes.join(" ")+'" '+k+">"+j.content+"</"+j.tag+">"},!self.document){return self.addEventListener?(self.addEventListener("message",function(i){var j=JSON.parse(i.data),g=j.language,h=j.code;self.postMessage(JSON.stringify(c.util.encode(c.tokenize(h,c.languages[g])))),self.close()},!1),self.Prism):self.Prism}var b=document.getElementsByTagName("script");return b=b[b.length-1],b&&(c.filename=b.src,document.addEventListener&&!b.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",c.highlightAll)),self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism);Prism.languages.markup={comment:/<!--[\w\W]*?-->/g,prolog:/<\?.+?\?>/,doctype:/<!DOCTYPE.+?>/,cdata:/<!\[CDATA\[[\w\W]*?]]>/i,tag:{pattern:/<\/?[\w:-]+\s*(?:\s+[\w:-]+(?:=(?:("|')(\\?[\w\W])*?\1|[^\s'">=]+))?\s*)*\/?>/gi,inside:{tag:{pattern:/^<\/?[\w:-]+/i,inside:{punctuation:/^<\/?/,namespace:/^[\w-]+?:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/gi,inside:{punctuation:/=|>|"/g}},punctuation:/\/?>/g,"attr-name":{pattern:/[\w:-]+/g,inside:{namespace:/^[\w-]+?:/}}}},entity:/\&#?[\da-z]{1,8};/gi},Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))});Prism.languages.css={comment:/\/\*[\w\W]*?\*\//g,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*{))/gi,inside:{punctuation:/[;:]/g}},url:/url\((["']?).*?\1\)/gi,selector:/[^\{\}\s][^\{\};
24]*(?=\s*\{)/g,property:/(\b|\B)[\w-]+(?=\s*:)/gi,string:/("|')(\\?.)*?\1/g,important:/\B!important\b/gi,punctuation:/[\{\};:]/g,"function":/[-a-z0-9]+(?=\()/gi},Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/<style[\w\W]*?>[\w\W]*?<\/style>/gi,inside:{tag:{pattern:/<style[\w\W]*?>|<\/style>/gi,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.css},alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').+?\1/gi,inside:{"attr-name":{pattern:/^\s*style/gi,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/gi,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag));Prism.languages.css.selector={pattern:/[^\{\}\s][^\{\}]*(?=\s*\{)/g,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/g,"pseudo-class":/:[-\w]+(?:\(.*\))?/g,"class":/\.[-:\.\w]+/g,id:/#[-:\.\w]+/g}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,6}/gi,entity:/\\[\da-f]{1,8}/gi,number:/[\d%\.]+/g});Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//g,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*?(\r?\n|$)/g,lookbehind:!0}],string:/("|')(\\?.)*?\1/g,"class-name":{pattern:/((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/gi,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/g,"boolean":/\b(true|false)\b/g,"function":{pattern:/[a-z0-9_]+\(/gi,inside:{punctuation:/\(/}},number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/g,operator:/[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|\~|\^|\%/g,ignore:/&(lt|gt|amp);/gi,punctuation:/[{}[\];(),.:]/g};Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/g,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|-?Infinity)\b/g,"function":/(?!\d)[a-z0-9_$]+(?=\()/gi}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/g,lookbehind:!0}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/<script[\w\W]*?>[\w\W]*?<\/script>/gi,inside:{tag:{pattern:/<script[\w\W]*?>|<\/script>/gi,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.javascript},alias:"language-javascript"}});Prism.languages.php=Prism.languages.extend("clike",{keyword:/\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/gi,constant:/\b[A-Z0-9_]{2,}\b/g,comment:{pattern:/(^|[^\\])(\/\*[\w\W]*?\*\/|(^|[^:])(\/\/|#).*?(\r?\n|$))/g,lookbehind:!0}}),Prism.languages.insertBefore("php","keyword",{delimiter:/(\?>|<\?php|<\?)/gi,variable:/(\$\w+)\b/gi,"package":{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/g,lookbehind:!0,inside:{punctuation:/\\/}}}),Prism.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/g,lookbehind:!0}}),Prism.languages.markup&&(Prism.hooks.add("before-highlight",function(a){"php"===a.language&&(a.tokenStack=[],a.backupCode=a.code,a.code=a.code.replace(/(?:<\?php|<\?)[\w\W]*?(?:\?>)/gi,function(b){return a.tokenStack.push(b),"{{{PHP"+a.tokenStack.length+"}}}"}))}),Prism.hooks.add("before-insert",function(a){"php"===a.language&&(a.code=a.backupCode,delete a.backupCode)}),Prism.hooks.add("after-highlight",function(c){if("php"===c.language){for(var d,b=0;d=c.tokenStack[b];b++){c.highlightedCode=c.highlightedCode.replace("{{{PHP"+(b+1)+"}}}",Prism.highlight(d,c.grammar,"php"))}c.element.innerHTML=c.highlightedCode}}),Prism.hooks.add("wrap",function(a){"php"===a.language&&"markup"===a.type&&(a.content=a.content.replace(/(\{\{\{PHP[0-9]+\}\}\})/g,'<span class="token php">$1</span>'))}),Prism.languages.insertBefore("php","comment",{markup:{pattern:/<[^?]\/?(.*?)>/g,inside:Prism.languages.markup},php:/\{\{\{PHP[0-9]+\}\}\}/g}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.