{"version":3,"names":[],"mappings":"","sources":["main.js"],"sourcesContent":["!function(){return function t(e,r,n){function i(a,o){if(!r[a]){if(!e[a]){var A=\"function\"==typeof require&&require;if(!o&&A)return A(a,!0);if(s)return s(a,!0);var l=new Error(\"Cannot find module '\"+a+\"'\");throw l.code=\"MODULE_NOT_FOUND\",l}var h=r[a]={exports:{}};e[a][0].call(h.exports,function(t){return i(e[a][1][t]||t)},h,h.exports,t,e,r,n)}return r[a].exports}for(var s=\"function\"==typeof require&&require,a=0;a1&&void 0!==arguments[1]?arguments[1]:\"strict\",r=[],n=[],i=[];return t.forEach(function(t,s){var a=N.get(t);if(a>h?(i.push(!0),a-=h):i.push(!1),-1!==[\"normal\",\"auto\",\"loose\"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return n.push(s),r.push(16);if(4===a||11===a){if(0===s)return n.push(s),r.push(E);var o=r[s-1];return-1===V.indexOf(o)?(n.push(n[s-1]),r.push(o)):(n.push(s),r.push(E))}return n.push(s),31===a?r.push(\"strict\"===e?v:S):a===H?r.push(E):29===a?r.push(E):43===a?t>=131072&&t<=196605||t>=196608&&t<=262141?r.push(S):r.push(E):void r.push(a)}),[n,r,i]},j=function(t,e,r,n){var i=n[r];if(Array.isArray(t)?-1!==t.indexOf(i):t===i)for(var s=r;s<=n.length;){var a=n[++s];if(a===e)return!0;if(a!==c)break}if(i===c)for(var o=r;o>0;){var A=n[--o];if(Array.isArray(t)?-1!==t.indexOf(A):t===A)for(var l=r;l<=n.length;){var h=n[++l];if(h===e)return!0;if(h!==c)break}if(A!==c)break}return!1},Y=function(t,e){for(var r=t;r>=0;){var n=e[r];if(n!==c)return n;r--}return 0},W=function(t,e,r,n,i){if(0===r[n])return M;var s=n-1;if(Array.isArray(i)&&!0===i[s])return M;var a=s-1,o=s+1,A=e[s],l=a>=0?e[a]:0,h=e[o];if(2===A&&3===h)return M;if(-1!==R.indexOf(A))return D;if(-1!==R.indexOf(h))return M;if(-1!==L.indexOf(h))return M;if(8===Y(s,e))return k;if(11===N.get(t[s])&&(h===S||h===T||h===x))return M;if(7===A||7===h)return M;if(9===A)return M;if(-1===[c,u,f].indexOf(A)&&9===h)return M;if(-1!==[p,d,m,_,C].indexOf(h))return M;if(Y(s,e)===y)return M;if(j(23,y,s,e))return M;if(j([p,d],v,s,e))return M;if(j(12,12,s,e))return M;if(A===c)return k;if(23===A||23===h)return M;if(16===h||16===A)return k;if(-1!==[u,f,v].indexOf(h)||14===A)return M;if(36===l&&-1!==G.indexOf(A))return M;if(A===C&&36===h)return M;if(h===g&&-1!==O.concat(g,m,B,S,T,x).indexOf(A))return M;if(-1!==O.indexOf(h)&&A===B||-1!==O.indexOf(A)&&h===B)return M;if(A===b&&-1!==[S,T,x].indexOf(h)||-1!==[S,T,x].indexOf(A)&&h===w)return M;if(-1!==O.indexOf(A)&&-1!==K.indexOf(h)||-1!==K.indexOf(A)&&-1!==O.indexOf(h))return M;if(-1!==[b,w].indexOf(A)&&(h===B||-1!==[y,f].indexOf(h)&&e[o+1]===B)||-1!==[y,f].indexOf(A)&&h===B||A===B&&-1!==[B,C,_].indexOf(h))return M;if(-1!==[B,C,_,p,d].indexOf(h))for(var E=s;E>=0;){var H=e[E];if(H===B)return M;if(-1===[C,_].indexOf(H))break;E--}if(-1!==[b,w].indexOf(h))for(var V=-1!==[p,d].indexOf(A)?a:s;V>=0;){var X=e[V];if(X===B)return M;if(-1===[C,_].indexOf(X))break;V--}if(U===A&&-1!==[U,P,F,Q].indexOf(h)||-1!==[P,F].indexOf(A)&&-1!==[P,I].indexOf(h)||-1!==[I,Q].indexOf(A)&&h===I)return M;if(-1!==z.indexOf(A)&&-1!==[g,w].indexOf(h)||-1!==z.indexOf(h)&&A===b)return M;if(-1!==O.indexOf(A)&&-1!==O.indexOf(h))return M;if(A===_&&-1!==O.indexOf(h))return M;if(-1!==O.concat(B).indexOf(A)&&h===y||-1!==O.concat(B).indexOf(h)&&A===d)return M;if(41===A&&41===h){for(var W=r[s],J=1;W>0&&41===e[--W];)J++;if(J%2!=0)return M}return A===T&&h===x?M:k},J=(r.lineBreakAtIndex=function(t,e){if(0===e)return M;if(e>=t.length)return D;var r=X(t),n=s(r,2),i=n[0],a=n[1];return W(t,a,i,e)},function(t,e){e||(e={lineBreak:\"normal\",wordBreak:\"normal\"});var r=X(t,e.lineBreak),n=s(r,3),i=n[0],a=n[1],o=n[2];return\"break-all\"!==e.wordBreak&&\"break-word\"!==e.wordBreak||(a=a.map(function(t){return-1!==[B,E,H].indexOf(t)?S:t})),[i,a,\"keep-all\"===e.wordBreak?o.map(function(e,r){return e&&t[r]>=19968&&t[r]<=40959}):null]}),q=(r.inlineBreakOpportunities=function(t,e){var r=(0,l.toCodePoints)(t),n=M,i=J(r,e),a=s(i,3),o=a[0],A=a[1],h=a[2];return r.forEach(function(t,e){n+=(0,l.fromCodePoint)(t)+(e>=r.length-1?D:W(r,A,o,e+1,h))}),n},function(){function t(e,r,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this._codePoints=e,this.required=r===D,this.start=n,this.end=i}return i(t,[{key:\"slice\",value:function(){return l.fromCodePoint.apply(void 0,function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e=h)return{done:!0};for(var t=M;u>s,h=r.UTRIE2_DATA_BLOCK_LENGTH=1<>s,f=r.UTRIE2_INDEX_2_BMP_LENGTH=l+u,p=r.UTRIE2_UTF8_2B_INDEX_2_OFFSET=f,d=r.UTRIE2_UTF8_2B_INDEX_2_LENGTH=32,m=r.UTRIE2_INDEX_1_OFFSET=p+d,g=r.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH=65536>>a,v=r.UTRIE2_INDEX_2_BLOCK_LENGTH=1<=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>s])<>s)])<>a),e=this.index[e],e+=t>>s&y,e=((e=this.index[e])<=55296&&i<=56319&&r>10),i%1024+56320)),(r+1===t||e.length>16384)&&(n+=String.fromCharCode.apply(String,e),e.length=0)}return n};for(var n=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",i=\"undefined\"==typeof Uint8Array?[]:new Uint8Array(256),s=0;s>4,c[s++]=(15&o)<<4|A>>2,c[s++]=(3&A)<<6|63&l;return h},r.polyUint16Array=function(t){for(var e=t.length,r=[],n=0;nc)&&(s[A]=c,f.push(A,c),i[A]=o));if(void 0!==r&&void 0===s[r]){var p=[\"Could not find a path from \",e,\" to \",r,\".\"].join(\"\");throw new Error(p)}return i},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var i=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,i={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(i[e]=r[e]);return i.queue=[],i.sorter=t.sorter||r.default_sorter,i},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};void 0!==e&&(e.exports=n)},{}],7:[function(t,e,r){(function(t){var r=void 0!==e&&e.exports&&void 0!==t?t:this||window;(r._gsQueue||(r._gsQueue=[])).push(function(){\"use strict\";var t,e,n,i,s,a,o,A,l,h,c,u,f,p;r._gsDefine(\"TweenMax\",[\"core.Animation\",\"core.SimpleTimeline\",\"TweenLite\"],function(t,e,r){var n=function(t){var e,r=[],n=t.length;for(e=0;e!==n;r.push(t[e++]));return r},i=function(t,e,r){var n,i,s=t.cycle;for(n in s)i=s[n],t[n]=\"function\"==typeof i?i(r,e[r]):i[r%i.length];delete t.cycle},s=function(t,e,n){r.call(this,t,e,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=s.prototype.render},a=r._internals,o=a.isSelector,A=a.isArray,l=s.prototype=r.to({},.1,{}),h=[];s.version=\"1.20.5\",l.constructor=s,l.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=r.killTweensOf,s.getTweensOf=r.getTweensOf,s.lagSmoothing=r.lagSmoothing,s.ticker=r.ticker,s.render=r.render,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),r.prototype.invalidate.call(this)},l.updateTo=function(t,e){var n,i=this.ratio,s=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||s)for(var o,A=1/(1-i),l=this._firstPT;l;)o=l.s+l.c,l.c*=A,l.s=o-l.c,l=l._next;return this},l.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var i,s,o,A,l,h,c,u,f,p=this._dirty?this.totalDuration():this._totalDuration,d=this._time,m=this._totalTime,g=this._cycle,v=this._duration,y=this._rawPrevTime;if(t>=p-1e-7&&t>=0?(this._totalTime=p,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=v,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(i=!0,s=\"onComplete\",n=n||this._timeline.autoRemoveChildren),0===v&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&t>=-1e-7||1e-10===y&&\"isPause\"!==this.data)&&y!==t&&(n=!0,y>1e-10&&(s=\"onReverseComplete\")),this._rawPrevTime=u=!e||t||y===t?t:1e-10)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===v&&y>0)&&(s=\"onReverseComplete\",i=this._reversed),t<0&&(this._active=!1,0===v&&(this._initted||!this.vars.lazy||n)&&(y>=0&&(n=!0),this._rawPrevTime=u=!e||t||y===t?t:1e-10)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(A=v+this._repeatDelay,this._cycle=this._totalTime/A>>0,0!==this._cycle&&this._cycle===this._totalTime/A&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*A,this._yoyo&&0!=(1&this._cycle)&&(this._time=v-this._time,(f=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==f||this._initted?this._yoyoEase=f=!0===f?this._ease:f instanceof Ease?f:Ease.map[f]:(f=this.vars.ease,this._yoyoEase=f=f?f instanceof Ease?f:\"function\"==typeof f?new Ease(f,this.vars.easeParams):Ease.map[f]||r.defaultEase:r.defaultEase)),this.ratio=f?1-f.getRatio((v-this._time)/v):0)),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType&&!f?(l=this._time/v,(1===(h=this._easeType)||3===h&&l>=.5)&&(l=1-l),3===h&&(l*=2),1===(c=this._easePower)?l*=l:2===c?l*=l*l:3===c?l*=l*l*l:4===c&&(l*=l*l*l*l),1===h?this.ratio=1-l:2===h?this.ratio=l:this._time/v<.5?this.ratio=l/2:this.ratio=1-l/2):f||(this.ratio=this._ease.getRatio(this._time/v))),d!==this._time||n||g!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=d,this._totalTime=m,this._rawPrevTime=y,this._cycle=g,a.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||i||f?i&&this._ease._calcEnd&&!f&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/v)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==d&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):s||(s=\"_dummyGS\")),this.vars.onStart&&(0===this._totalTime&&0!==v||e||this._callback(\"onStart\"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==m||s)&&this._callback(\"onUpdate\")),this._cycle!==g&&(e||this._gc||this.vars.onRepeat&&this._callback(\"onRepeat\")),s&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===v&&1e-10===this._rawPrevTime&&1e-10!==u&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback(\"onUpdate\"))},s.to=function(t,e,r){return new s(t,e,r)},s.from=function(t,e,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new s(t,e,r)},s.fromTo=function(t,e,r,n){return n.startAt=r,n.immediateRender=0!=n.immediateRender&&0!=r.immediateRender,new s(t,e,n)},s.staggerTo=s.allTo=function(t,e,a,l,c,u,f){l=l||0;var p,d,m,g,v=0,y=[],_=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),c.apply(f||a.callbackScope||this,u||h)},B=a.cycle,w=a.startAt&&a.startAt.cycle;for(A(t)||(\"string\"==typeof t&&(t=r.selector(t)||t),o(t)&&(t=n(t))),t=t||[],l<0&&((t=n(t)).reverse(),l*=-1),p=t.length-1,m=0;m<=p;m++){for(g in d={},a)d[g]=a[g];if(B&&(i(d,t,m),null!=d.duration&&(e=d.duration,delete d.duration)),w){for(g in w=d.startAt={},a.startAt)w[g]=a.startAt[g];i(d.startAt,t,m)}d.delay=v+(d.delay||0),m===p&&c&&(d.onComplete=_),y[m]=new s(t[m],e,d),v+=l}return y},s.staggerFrom=s.allFrom=function(t,e,r,n,i,a,o){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,s.staggerTo(t,e,r,n,i,a,o)},s.staggerFromTo=s.allFromTo=function(t,e,r,n,i,a,o,A){return n.startAt=r,n.immediateRender=0!=n.immediateRender&&0!=r.immediateRender,s.staggerTo(t,e,n,i,a,o,A)},s.delayedCall=function(t,e,r,n,i){return new s(e,0,{delay:t,onComplete:e,onCompleteParams:r,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:r,immediateRender:!1,useFrames:i,overwrite:0})},s.set=function(t,e){return new s(t,0,e)},s.isTweening=function(t){return r.getTweensOf(t,!0).length>0};var c=function(t,e){for(var n=[],i=0,s=t._first;s;)s instanceof r?n[i++]=s:(e&&(n[i++]=s),i=(n=n.concat(c(s,e))).length),s=s._next;return n},u=s.getAllTweens=function(e){return c(t._rootTimeline,e).concat(c(t._rootFramesTimeline,e))};s.killAll=function(t,r,n,i){null==r&&(r=!0),null==n&&(n=!0);var s,a,o,A=u(0!=i),l=A.length,h=r&&n&&i;for(o=0;o-1;)s.killChildTweensOf(t[c],e);else{for(h in i=[],f)for(l=f[h].target.parentNode;l;)l===t&&(i=i.concat(f[h].tweens)),l=l.parentNode;for(u=i.length,c=0;c-1;)a=o[l],(A||a instanceof e||(s=a.target===a.vars.onComplete)&&n||r&&!s)&&a.paused(t)};return s.pauseAll=function(t,e,r){f(!0,t,e,r)},s.resumeAll=function(t,e,r){f(!1,t,e,r)},s.globalTimeScale=function(e){var n=t._rootTimeline,i=r.ticker.time;return arguments.length?(e=e||1e-10,n._startTime=i-(i-n._startTime)*n._timeScale/e,n=t._rootFramesTimeline,i=r.ticker.frame,n._startTime=i-(i-n._startTime)*n._timeScale/e,n._timeScale=t._rootTimeline._timeScale=e,e):n._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},l.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s},!0),r._gsDefine(\"TimelineLite\",[\"core.Animation\",\"core.SimpleTimeline\",\"TweenLite\"],function(t,e,n){var i=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var r,n,i=this.vars;for(n in i)r=i[n],A(r)&&-1!==r.join(\"\").indexOf(\"{self}\")&&(i[n]=this._swapSelfInParams(r));A(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},s=n._internals,a=i._internals={},o=s.isSelector,A=s.isArray,l=s.lazyTweens,h=s.lazyRender,c=r._gsDefine.globals,u=function(t){var e,r={};for(e in t)r[e]=t[e];return r},f=function(t,e,r){var n,i,s=t.cycle;for(n in s)i=s[n],t[n]=\"function\"==typeof i?i(r,e[r]):i[r%i.length];delete t.cycle},p=a.pauseCallback=function(){},d=function(t){var e,r=[],n=t.length;for(e=0;e!==n;r.push(t[e++]));return r},m=i.prototype=new e;return i.version=\"1.20.4\",m.constructor=i,m.kill()._gc=m._forcingPlayhead=m._hasPause=!1,m.to=function(t,e,r,i){var s=r.repeat&&c.TweenMax||n;return e?this.add(new s(t,e,r),i):this.set(t,r,i)},m.from=function(t,e,r,i){return this.add((r.repeat&&c.TweenMax||n).from(t,e,r),i)},m.fromTo=function(t,e,r,i,s){var a=i.repeat&&c.TweenMax||n;return e?this.add(a.fromTo(t,e,r,i),s):this.set(t,i,s)},m.staggerTo=function(t,e,r,s,a,A,l,h){var c,p,m=new i({onComplete:A,onCompleteParams:l,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),g=r.cycle;for(\"string\"==typeof t&&(t=n.selector(t)||t),o(t=t||[])&&(t=d(t)),(s=s||0)<0&&((t=d(t)).reverse(),s*=-1),p=0;pr._startTime;f._timeline;)p&&f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._gc&&f._enabled(!0,!1),f=f._timeline;return this},m.remove=function(e){if(e instanceof t){this._remove(e,!1);var r=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:r._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&A(e)){for(var n=e.length;--n>-1;)this.remove(e[n]);return this}return\"string\"==typeof e?this.removeLabel(e):this.kill(null,e)},m._remove=function(t,r){return e.prototype._remove.call(this,t,r),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,r,n){return this.add(t,e||0,r,n)},m.appendMultiple=function(t,e,r,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),r,n)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,r,i){var s=n.delayedCall(0,p,r,i||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data=\"isPause\",this._hasPause=!0,this.add(s,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(e,r,n,i){var s,a;if(i instanceof t&&i.timeline===this)this.remove(i);else if(i&&(i instanceof Array||i.push&&A(i)))for(a=i.length;--a>-1;)i[a]instanceof t&&i[a].timeline===this&&this.remove(i[a]);if(s=\"number\"!=typeof e||r?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,\"string\"==typeof r)return this._parseTimeOrLabel(r,n&&\"number\"==typeof e&&null==this._labels[r]?e-s:0,n);if(r=r||0,\"string\"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(a=e.indexOf(\"=\")))return null==this._labels[e]?n?this._labels[e]=s+r:r:this._labels[e]+r;r=parseInt(e.charAt(a-1)+\"1\",10)*Number(e.substr(a+1)),e=a>1?this._parseTimeOrLabel(e.substr(0,a-1),0,n):s}return Number(e)+r},m.seek=function(t,e){return this.totalTime(\"number\"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)},m.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var n,i,s,a,o,A,c,u=this._time,f=this._dirty?this.totalDuration():this._totalDuration,p=this._startTime,d=this._timeScale,m=this._paused;if(u!==this._time&&(t+=this._time-u),t>=f-1e-7&&t>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(i=!0,a=\"onComplete\",o=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(o=!0,this._rawPrevTime>1e-10&&(a=\"onReverseComplete\"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=f+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==u||0===this._duration&&1e-10!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(a=\"onReverseComplete\",i=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(o=i=!0,a=\"onReverseComplete\"):this._rawPrevTime>=0&&this._first&&(o=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&i)for(n=this._first;n&&0===n._startTime;)n._duration||(i=!1),n=n._next;t=0,this._initted||(o=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=u)for(n=this._first;n&&n._startTime<=t&&!A;)n._duration||\"isPause\"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(A=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!A;)n._duration||\"isPause\"===n.data&&n._rawPrevTime>0&&(A=n),n=n._prev;A&&(this._time=t=A._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==u&&this._first||r||o||A){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==u&&t>0&&(this._active=!0),0===u&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback(\"onStart\")),(c=this._time)>=u)for(n=this._first;n&&(s=n._next,c===this._time&&(!this._paused||m));)(n._active||n._startTime<=c&&!n._paused&&!n._gc)&&(A===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)),n=s;else for(n=this._last;n&&(s=n._prev,c===this._time&&(!this._paused||m));){if(n._active||n._startTime<=u&&!n._paused&&!n._gc){if(A===n){for(A=n._prev;A&&A.endTime()>this._time;)A.render(A._reversed?A.totalDuration()-(t-A._startTime)*A._timeScale:(t-A._startTime)*A._timeScale,e,r),A=A._prev;A=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)}n=s}this._onUpdate&&(e||(l.length&&h(),this._callback(\"onUpdate\"))),a&&(this._gc||p!==this._startTime&&d===this._timeScale||(0===this._time||f>=this.totalDuration())&&(i&&(l.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},m._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof i&&t._hasPausedChild())return!0;t=t._next}return!1},m.getChildren=function(t,e,r,i){i=i||-9999999999;for(var s=[],a=this._first,o=0;a;)a._startTime-1;)(r[i].timeline===this||e&&this._contains(r[i]))&&(a[o++]=r[i]);return s&&this._enabled(!1,!0),a},m.recent=function(){return this._recent},m._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,r){r=r||0;for(var n,i=this._first,s=this._labels;i;)i._startTime>=r&&(i._startTime+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return this._uncache(!0)},m._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var r=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=r.length,i=!1;--n>-1;)r[n]._kill(t,e)&&(i=!0);return i},m.clear=function(t){var e=this.getChildren(!1,!0,!0),r=e.length;for(this._time=this._totalTime=0;--r>-1;)e[r]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},m.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},m._enabled=function(t,r){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,r)},m.totalTime=function(e,r,n){this._forcingPlayhead=!0;var i=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,i},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,r,n=0,i=this._last,s=999999999999;i;)e=i._prev,i._dirty&&i.totalDuration(),i._startTime>s&&this._sortChildren&&!i._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(i,i._startTime-i._delay),this._calculatingDuration=0):s=i._startTime,i._startTime<0&&!i._paused&&(n-=i._startTime,this._timeline.smoothChildTiming&&(this._startTime+=i._startTime/this._timeScale,this._time-=i._startTime,this._totalTime-=i._startTime,this._rawPrevTime-=i._startTime),this.shiftChildren(-i._startTime,!1,-9999999999),s=0),(r=i._startTime+i._totalDuration/i._timeScale)>n&&(n=r),i=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},m.paused=function(e){if(!e)for(var r=this._first,n=this._time;r;)r._startTime===n&&\"isPause\"===r.data&&(r._rawPrevTime=0),r=r._next;return t.prototype.paused.apply(this,arguments)},m.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},m.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},i},!0),r._gsDefine(\"TimelineMax\",[\"TimelineLite\",\"TweenLite\",\"easing.Ease\"],function(t,e,n){var i=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},s=e._internals,a=s.lazyTweens,o=s.lazyRender,A=r._gsDefine.globals,l=new n(null,null,1,0),h=i.prototype=new t;return h.constructor=i,h.kill()._gc=!1,i.version=\"1.20.4\",h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},h.addCallback=function(t,r,n,i){return this.add(e.delayedCall(0,t,n,i),r)},h.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var r=this.getTweensOf(t,!1),n=r.length,i=this._parseTimeOrLabel(e);--n>-1;)r[n]._startTime===i&&r[n]._enabled(!1,!1);return this},h.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},h.tweenTo=function(t,r){r=r||{};var n,i,s,a={ease:l,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},o=r.repeat&&A.TweenMax||e;for(i in r)a[i]=r[i];return a.time=this._parseTimeOrLabel(t),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,s=new o(this,n,a),a.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||n!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),r.onStart&&r.onStart.apply(r.onStartScope||r.callbackScope||s,r.onStartParams||[])},s},h.tweenFromTo=function(t,e,r){r=r||{},t=this._parseTimeOrLabel(t),r.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},r.immediateRender=!1!==r.immediateRender;var n=this.tweenTo(e,r);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},h.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var n,i,s,A,l,h,c,u,f=this._time,p=this._dirty?this.totalDuration():this._totalDuration,d=this._duration,m=this._totalTime,g=this._startTime,v=this._timeScale,y=this._rawPrevTime,_=this._paused,B=this._cycle;if(f!==this._time&&(t+=this._time-f),t>=p-1e-7&&t>=0)this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(i=!0,A=\"onComplete\",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||y<0||1e-10===y)&&y!==t&&this._first&&(l=!0,y>1e-10&&(A=\"onReverseComplete\"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=d,t=d+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==f||0===d&&1e-10!==y&&(y>0||t<0&&y>=0)&&!this._locked)&&(A=\"onReverseComplete\",i=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=i=!0,A=\"onReverseComplete\"):y>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=d||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&i)for(n=this._first;n&&0===n._startTime;)n._duration||(i=!1),n=n._next;t=0,this._initted||(l=!0)}else if(0===d&&y<0&&(l=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(h=d+this._repeatDelay,this._cycle=this._totalTime/h>>0,0!==this._cycle&&this._cycle===this._totalTime/h&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=d-this._time),this._time>d?(this._time=d,t=d+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=f||this._repeat&&B!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!c;)n._duration||\"isPause\"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(c=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!c;)n._duration||\"isPause\"===n.data&&n._rawPrevTime>0&&(c=n),n=n._prev;c&&c._startTime0&&(this._active=!0),0===m&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback(\"onStart\")),(u=this._time)>=f)for(n=this._first;n&&(s=n._next,u===this._time&&(!this._paused||_));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(c===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)),n=s;else for(n=this._last;n&&(s=n._prev,u===this._time&&(!this._paused||_));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(c===n){for(c=n._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,r),c=c._prev;c=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)}n=s}this._onUpdate&&(e||(a.length&&o(),this._callback(\"onUpdate\"))),A&&(this._locked||this._gc||g!==this._startTime&&v===this._timeScale||(0===this._time||p>=this.totalDuration())&&(i&&(a.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[A]&&this._callback(A)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback(\"onUpdate\"))},h.getActive=function(t,e,r){null==t&&(t=!0),null==e&&(e=!0),null==r&&(r=!1);var n,i,s=[],a=this.getChildren(t,e,r),o=0,A=a.length;for(n=0;nt)return r[e].name;return null},h.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),r=e.length;--r>-1;)if(e[r].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},h.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0),t=180/Math.PI,e=[],n=[],i=[],s={},a=r._gsDefine.globals,o=function(t,e,r,n){r===n&&(r=n-(n-e)/1e6),t===e&&(e=t+(r-t)/1e6),this.a=t,this.b=e,this.c=r,this.d=n,this.da=n-t,this.ca=r-t,this.ba=e-t},A=function(t,e,r,n){var i={a:t},s={},a={},o={c:n},A=(t+e)/2,l=(e+r)/2,h=(r+n)/2,c=(A+l)/2,u=(l+h)/2,f=(u-c)/8;return i.b=A+(t-A)/4,s.b=c+f,i.c=s.a=(i.b+s.b)/2,s.c=a.a=(c+u)/2,a.b=u-f,o.b=h+(n-h)/4,a.c=o.a=(a.b+o.b)/2,[i,s,a,o]},l=function(t,r,s,a,o){var l,h,c,u,f,p,d,m,g,v,y,_,B,w=t.length-1,b=0,C=t[0].a;for(l=0;l-1;)\"string\"==typeof(u=t[A][r])&&\"=\"===u.charAt(1)&&(t[A][r]=s[r]+Number(u.charAt(0)+u.substr(2)));if((a=t.length-2)<0)return f[0]=new o(t[0][r],0,0,t[0][r]),f;for(A=0;A1){for(y=t[t.length-1],v=!0,u=B.length;--u>-1;)if(f=B[u],Math.abs(w[f]-y[f])>.05){v=!1;break}v&&(t=t.concat(),c&&t.unshift(c),t.push(t[1]),c=t[t.length-3])}for(e.length=n.length=i.length=0,u=B.length;--u>-1;)f=B[u],s[f]=-1!==A.indexOf(\",\"+f+\",\"),_[f]=h(t,f,s[f],c);for(u=e.length;--u>-1;)e[u]=Math.sqrt(e[u]),n[u]=Math.sqrt(n[u]);if(!o){for(u=B.length;--u>-1;)if(s[f])for(g=(p=_[B[u]]).length-1,d=0;d-1;)i[u]=Math.sqrt(i[u])}for(u=B.length,d=a?4:1;--u>-1;)p=_[f=B[u]],l(p,r,a,o,s[f]),v&&(p.splice(0,d),p.splice(p.length-d,d));return _},u=function(t,e,r){for(var n,i,s,a,o,A,l,h,c,u,f,p=1/r,d=t.length;--d>-1;)for(s=(u=t[d]).a,a=u.d-s,o=u.c-s,A=u.b-s,n=i=0,h=1;h<=r;h++)n=i-(i=((l=p*h)*l*a+3*(c=1-l)*(l*o+c*A))*l),e[f=d*r+h-1]=(e[f]||0)+n*n},f=r._gsDefine.plugin({propName:\"bezier\",priority:-1,version:\"1.3.8\",API:2,global:!0,init:function(t,e,r){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,i,s,a,A,l=e.values||[],h={},f=l[0],p=e.autoRotate||r.vars.orientToBezier;for(n in this._autoRotate=p?p instanceof Array?p:[[\"x\",\"y\",\"rotation\",!0===p?0:Number(p)||0]]:null,f)this._props.push(n);for(s=this._props.length;--s>-1;)n=this._props[s],this._overwriteProps.push(n),i=this._func[n]=\"function\"==typeof t[n],h[n]=i?t[n.indexOf(\"set\")||\"function\"!=typeof t[\"get\"+n.substr(3)]?n:\"get\"+n.substr(3)]():parseFloat(t[n]),A||h[n]!==l[0][n]&&(A=h);if(this._beziers=\"cubic\"!==e.type&&\"quadratic\"!==e.type&&\"soft\"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,\"thruBasic\"===e.type,e.correlate,A):function(t,e,r){var n,i,s,a,A,l,h,c,u,f,p,d={},m=\"cubic\"===(e=e||\"soft\")?3:2,g=\"soft\"===e,v=[];if(g&&r&&(t=[r].concat(t)),null==t||t.length-1;){for(d[u=v[l]]=A=[],f=0,c=t.length,h=0;h1&&h>0||6)-1,c=[],f=[];for(r in t)u(t[r],a,e);for(i=a.length,n=0;n>0]=f,o[s]=l,A=0,f=[]);return{length:l,lengths:o,segments:c}}(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.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(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),s=p.length;--s>-1;){for(a=0;a<3;a++)n=p[s][a],this._func[n]=\"function\"==typeof t[n]&&t[n.indexOf(\"set\")||\"function\"!=typeof t[\"get\"+n.substr(3)]?n:\"get\"+n.substr(3)];n=p[s][2],this._initialRotations[s]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=r.vars.runBackwards?1:0,!0},set:function(e){var r,n,i,s,a,o,A,l,h,c,u=this._segCount,f=this._func,p=this._target,d=e!==this._startRatio;if(this._timeRes){if(h=this._lengths,c=this._curSeg,e*=this._length,i=this._li,e>this._l2&&i0){for(;i>0&&(this._l1=h[--i])>=e;);0===i&&ethis._s2&&i0){for(;i>0&&(this._s1=c[--i])>=e;);0===i&&e=1?u-1:u*e>>0)*(1/u))*u;for(n=1-o,i=this._props.length;--i>-1;)s=this._props[i],A=(o*o*(a=this._beziers[s][r]).da+3*n*(o*a.ca+n*a.ba))*o+a.a,this._mod[s]&&(A=this._mod[s](A,p)),f[s]?p[s](A):p[s]=A;if(this._autoRotate){var m,g,v,y,_,B,w,b=this._autoRotate;for(i=b.length;--i>-1;)s=b[i][2],B=b[i][3]||0,w=!0===b[i][4]?1:t,a=this._beziers[b[i][0]],m=this._beziers[b[i][1]],a&&m&&(a=a[r],m=m[r],g=a.a+(a.b-a.a)*o,g+=((y=a.b+(a.c-a.b)*o)-g)*o,y+=(a.c+(a.d-a.c)*o-y)*o,v=m.a+(m.b-m.a)*o,v+=((_=m.b+(m.c-m.b)*o)-v)*o,_+=(m.c+(m.d-m.c)*o-_)*o,A=d?Math.atan2(_-v,y-g)*w+B:this._initialRotations[i],this._mod[s]&&(A=this._mod[s](A,p)),f[s]?p[s](A):p[s]=A)}}}),p=f.prototype,f.bezierThrough=c,f.cubicToQuadratic=A,f._autoCSS=!0,f.quadraticToCubic=function(t,e,r){return new o(t,(2*e+t)/3,(2*e+r)/3,r)},f._cssRegister=function(){var t=a.CSSPlugin;if(t){var e=t._internals,r=e._parseToProxy,n=e._setPluginRatio,i=e.CSSPropTween;e._registerComplexSpecialProp(\"bezier\",{parser:function(t,e,s,a,o,A){e instanceof Array&&(e={values:e}),A=new f;var l,h,c,u=e.values,p=u.length-1,d=[],m={};if(p<0)return o;for(l=0;l<=p;l++)c=r(t,u[l],a,o,A,p!==l),d[l]=c.end;for(h in e)m[h]=e[h];return m.values=d,(o=new i(t,\"bezier\",0,0,c.pt,2)).data=c,o.plugin=A,o.setRatio=n,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(l=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=c.end.left?[[\"left\",\"top\",\"rotation\",l,!1]]:null!=c.end.x&&[[\"x\",\"y\",\"rotation\",l,!1]]),m.autoRotate&&(a._transform||a._enableTransforms(!1),c.autoRotate=a._target._gsTransform,c.proxy.rotation=c.autoRotate.rotation||0,a._overwriteProps.push(\"rotation\")),A._onInitTween(c.proxy,m,a._tween),o}})}},p._mod=function(t){for(var e,r=this._overwriteProps,n=r.length;--n>-1;)(e=t[r[n]])&&\"function\"==typeof e&&(this._mod[r[n]]=e)},p._kill=function(t){var e,r,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],r=n.length;--r>-1;)n[r]===e&&n.splice(r,1);if(n=this._autoRotate)for(r=n.length;--r>-1;)t[n[r][2]]&&n.splice(r,1);return this._super._kill.call(this,t)},r._gsDefine(\"plugins.CSSPlugin\",[\"plugins.TweenPlugin\",\"TweenLite\"],function(t,e){var n,i,s,a,o=function(){t.call(this,\"css\"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},A=r._gsDefine.globals,l={},h=o.prototype=new t(\"css\");h.constructor=o,o.version=\"1.20.5\",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType=\"compensated\",o.defaultSmoothOrigin=!0,h=\"px\",o.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:\"\"};var c,u,f,p,d,m,g,v,y=/(?:\\-|\\.|\\b)(\\d|\\.|e\\-)+/g,_=/(?:\\d|\\-\\d|\\.\\d|\\-\\.\\d|\\+=\\d|\\-=\\d|\\+=.\\d|\\-=\\.\\d)+/g,B=/(?:\\+=|\\-=|\\-|\\b)[\\d\\-\\.]+[a-zA-Z0-9]*(?:%|\\b)/gi,w=/(?![+-]?\\d*\\.?\\d+|[+-]|e[+-]\\d+)[^0-9]/g,b=/(?:\\d|\\-|\\+|=|#|\\.)*/g,C=/opacity *= *([^)]*)/i,E=/opacity:([^;]*)/i,T=/alpha\\(opacity *=.+?\\)/i,x=/^(rgb|hsl)/,F=/([A-Z])/g,Q=/-([a-z])/gi,S=/(^(?:url\\(\\\"|url\\())|(?:(\\\"\\))$|\\)$)/gi,U=function(t,e){return e.toUpperCase()},P=/(?:Left|Right|Width)/i,I=/(M11|M12|M21|M22)=[\\d\\-\\.e]+/gi,H=/progid\\:DXImageTransform\\.Microsoft\\.Matrix\\(.+?\\)/i,D=/,(?=[^\\)]*(?:\\(|$))/gi,M=/[\\s,\\(]/i,k=Math.PI/180,N=180/Math.PI,O={},R={style:{}},L=r.document||{createElement:function(){return R}},K=function(t,e){return L.createElementNS?L.createElementNS(e||\"http://www.w3.org/1999/xhtml\",t):L.createElement(t)},V=K(\"div\"),z=K(\"img\"),G=o._internals={_specialProps:l},X=(r.navigator||{}).userAgent||\"\",j=function(){var t=X.indexOf(\"Android\"),e=K(\"a\");return f=-1!==X.indexOf(\"Safari\")&&-1===X.indexOf(\"Chrome\")&&(-1===t||parseFloat(X.substr(t+8,2))>3),d=f&&parseFloat(X.substr(X.indexOf(\"Version/\")+8,2))<6,p=-1!==X.indexOf(\"Firefox\"),(/MSIE ([0-9]{1,}[\\.0-9]{0,})/.exec(X)||/Trident\\/.*rv:([0-9]{1,}[\\.0-9]{0,})/.exec(X))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText=\"top:1px;opacity:.55;\",/^0.55/.test(e.style.opacity))}(),Y=function(t){return C.test(\"string\"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||\"\")?parseFloat(RegExp.$1)/100:1},W=function(t){r.console&&console.log(t)},J=\"\",q=\"\",$=function(t,e){var r,n,i=(e=e||V).style;if(void 0!==i[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),r=[\"O\",\"Moz\",\"ms\",\"Ms\",\"Webkit\"],n=5;--n>-1&&void 0===i[r[n]+t];);return n>=0?(J=\"-\"+(q=3===n?\"ms\":r[n]).toLowerCase()+\"-\",q+t):null},Z=(\"undefined\"!=typeof window?window:L.defaultView||{getComputedStyle:function(){}}).getComputedStyle,tt=o.getStyle=function(t,e,r,n,i){var s;return j||\"opacity\"!==e?(!n&&t.style[e]?s=t.style[e]:(r=r||Z(t))?s=r[e]||r.getPropertyValue(e)||r.getPropertyValue(e.replace(F,\"-$1\").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==i||s&&\"none\"!==s&&\"auto\"!==s&&\"auto auto\"!==s?s:i):Y(t)},et=G.convertToPixels=function(t,r,n,i,s){if(\"px\"===i||!i&&\"lineHeight\"!==r)return n;if(\"auto\"===i||!n)return 0;var a,A,l,h=P.test(r),c=t,u=V.style,f=n<0,p=1===n;if(f&&(n=-n),p&&(n*=100),\"lineHeight\"!==r||i)if(\"%\"===i&&-1!==r.indexOf(\"border\"))a=n/100*(h?t.clientWidth:t.clientHeight);else{if(u.cssText=\"border:0 solid red;position:\"+tt(t,\"position\")+\";line-height:0;\",\"%\"!==i&&c.appendChild&&\"v\"!==i.charAt(0)&&\"rem\"!==i)u[h?\"borderLeftWidth\":\"borderTopWidth\"]=n+i;else{if(c=t.parentNode||L.body,-1!==tt(c,\"display\").indexOf(\"flex\")&&(u.position=\"absolute\"),A=c._gsCache,l=e.ticker.frame,A&&h&&A.time===l)return A.width*n/100;u[h?\"width\":\"height\"]=n+i}c.appendChild(V),a=parseFloat(V[h?\"offsetWidth\":\"offsetHeight\"]),c.removeChild(V),h&&\"%\"===i&&!1!==o.cacheWidths&&((A=c._gsCache=c._gsCache||{}).time=l,A.width=a/n*100),0!==a||s||(a=et(t,r,n,i,!0))}else A=Z(t).lineHeight,t.style.lineHeight=n,a=parseFloat(Z(t).lineHeight),t.style.lineHeight=A;return p&&(a/=100),f?-a:a},rt=G.calculateOffset=function(t,e,r){if(\"absolute\"!==tt(t,\"position\",r))return 0;var n=\"left\"===e?\"Left\":\"Top\",i=tt(t,\"margin\"+n,r);return t[\"offset\"+n]-(et(t,e,parseFloat(i),i.replace(b,\"\"))||0)},nt=function(t,e){var r,n,i,s={};if(e=e||Z(t,null))if(r=e.length)for(;--r>-1;)-1!==(i=e[r]).indexOf(\"-transform\")&&Ht!==i||(s[i.replace(Q,U)]=e.getPropertyValue(i));else for(r in e)-1!==r.indexOf(\"Transform\")&&It!==r||(s[r]=e[r]);else if(e=t.currentStyle||t.style)for(r in e)\"string\"==typeof r&&void 0===s[r]&&(s[r.replace(Q,U)]=e[r]);return j||(s.opacity=Y(t)),n=jt(t,e,!1),s.rotation=n.rotation,s.skewX=n.skewX,s.scaleX=n.scaleX,s.scaleY=n.scaleY,s.x=n.x,s.y=n.y,Mt&&(s.z=n.z,s.rotationX=n.rotationX,s.rotationY=n.rotationY,s.scaleZ=n.scaleZ),s.filters&&delete s.filters,s},it=function(t,e,r,n,i){var s,a,o,A={},l=t.style;for(a in r)\"cssText\"!==a&&\"length\"!==a&&isNaN(a)&&(e[a]!==(s=r[a])||i&&i[a])&&-1===a.indexOf(\"Origin\")&&(\"number\"!=typeof s&&\"string\"!=typeof s||(A[a]=\"auto\"!==s||\"left\"!==a&&\"top\"!==a?\"\"!==s&&\"auto\"!==s&&\"none\"!==s||\"string\"!=typeof e[a]||\"\"===e[a].replace(w,\"\")?s:0:rt(t,a),void 0!==l[a]&&(o=new yt(l,a,l[a],o))));if(n)for(a in n)\"className\"!==a&&(A[a]=n[a]);return{difs:A,firstMPT:o}},st={width:[\"Left\",\"Right\"],height:[\"Top\",\"Bottom\"]},at=[\"marginLeft\",\"marginRight\",\"marginTop\",\"marginBottom\"],ot=function(t,e,r){if(\"svg\"===(t.nodeName+\"\").toLowerCase())return(r||Z(t))[e]||0;if(t.getCTM&&zt(t))return t.getBBox()[e]||0;var n=parseFloat(\"width\"===e?t.offsetWidth:t.offsetHeight),i=st[e],s=i.length;for(r=r||Z(t,null);--s>-1;)n-=parseFloat(tt(t,\"padding\"+i[s],r,!0))||0,n-=parseFloat(tt(t,\"border\"+i[s]+\"Width\",r,!0))||0;return n},At=function(t,e){if(\"contain\"===t||\"auto\"===t||\"auto auto\"===t)return t+\" \";null!=t&&\"\"!==t||(t=\"0 0\");var r,n=t.split(\" \"),i=-1!==t.indexOf(\"left\")?\"0%\":-1!==t.indexOf(\"right\")?\"100%\":n[0],s=-1!==t.indexOf(\"top\")?\"0%\":-1!==t.indexOf(\"bottom\")?\"100%\":n[1];if(n.length>3&&!e){for(n=t.split(\", \").join(\",\").split(\",\"),t=[],r=0;r2?\" \"+n[2]:\"\"),e&&(e.oxp=-1!==i.indexOf(\"%\"),e.oyp=-1!==s.indexOf(\"%\"),e.oxr=\"=\"===i.charAt(1),e.oyr=\"=\"===s.charAt(1),e.ox=parseFloat(i.replace(w,\"\")),e.oy=parseFloat(s.replace(w,\"\")),e.v=t),e||t},lt=function(t,e){return\"function\"==typeof t&&(t=t(v,g)),\"string\"==typeof t&&\"=\"===t.charAt(1)?parseInt(t.charAt(0)+\"1\",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){return\"function\"==typeof t&&(t=t(v,g)),null==t?e:\"string\"==typeof t&&\"=\"===t.charAt(1)?parseInt(t.charAt(0)+\"1\",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,r,n){var i,s,a,o;return\"function\"==typeof t&&(t=t(v,g)),null==t?a=e:\"number\"==typeof t?a=t:(360,i=t.split(\"_\"),s=((o=\"=\"===t.charAt(1))?parseInt(t.charAt(0)+\"1\",10)*parseFloat(i[0].substr(2)):parseFloat(i[0]))*(-1===t.indexOf(\"rad\")?1:N)-(o?0:e),i.length&&(n&&(n[r]=e+s),-1!==t.indexOf(\"short\")&&(s%=360)!==s%180&&(s=s<0?s+360:s-360),-1!==t.indexOf(\"_cw\")&&s<0?s=(s+3599999999640)%360-360*(s/360|0):-1!==t.indexOf(\"ccw\")&&s>0&&(s=(s-3599999999640)%360-360*(s/360|0))),a=e+s),a<1e-6&&a>-1e-6&&(a=0),a},ut={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]},ft=function(t,e,r){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},pt=o.parseColor=function(t,e){var r,n,i,s,a,o,A,l,h,c,u;if(t)if(\"number\"==typeof t)r=[t>>16,t>>8&255,255&t];else{if(\",\"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ut[t])r=ut[t];else if(\"#\"===t.charAt(0))4===t.length&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t=\"#\"+n+n+i+i+s+s),r=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if(\"hsl\"===t.substr(0,3))if(r=u=t.match(y),e){if(-1!==t.indexOf(\"=\"))return t.match(_)}else a=Number(r[0])%360/360,o=Number(r[1])/100,n=2*(A=Number(r[2])/100)-(i=A<=.5?A*(o+1):A+o-A*o),r.length>3&&(r[3]=Number(r[3])),r[0]=ft(a+1/3,n,i),r[1]=ft(a,n,i),r[2]=ft(a-1/3,n,i);else r=t.match(y)||ut.transparent;r[0]=Number(r[0]),r[1]=Number(r[1]),r[2]=Number(r[2]),r.length>3&&(r[3]=Number(r[3]))}else r=ut.black;return e&&!u&&(n=r[0]/255,i=r[1]/255,s=r[2]/255,A=((l=Math.max(n,i,s))+(h=Math.min(n,i,s)))/2,l===h?a=o=0:(c=l-h,o=A>.5?c/(2-l-h):c/(l+h),a=l===n?(i-s)/c+(i0?a[0].replace(y,\"\"):\"\";return h?i=e?function(t){var e,u,f,p;if(\"number\"==typeof t)t+=c;else if(n&&D.test(t)){for(p=t.replace(D,\"|\").split(\"|\"),f=0;ff--)for(;++fu--)for(;++u>0];return i.parse(e,o,s,a)}},yt=(G._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,r,n,i,s,a=this.data,o=a.proxy,A=a.firstMPT;A;)e=o[A.v],A.r?e=A.r(e):e<1e-6&&e>-1e-6&&(e=0),A.t[A.p]=e,A=A._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t)for(A=a.firstMPT,s=1===t?\"e\":\"b\";A;){if((r=A.t).type){if(1===r.type){for(i=r.xs0+r.s+r.xs1,n=1;n0;)A=\"xn\"+a,f[o=n.p+\"_\"+A]=n.data[A],u[o]=n[A],s||(l=new yt(n,A,o,l,n.rxp[A]));n=n._next}return{proxy:u,end:f,firstMPT:l,pt:h}},G.CSSPropTween=function(t,e,r,i,s,o,A,l,h,c,u){this.t=t,this.p=e,this.s=r,this.c=i,this.n=A||e,t instanceof _t||a.push(this.n),this.r=l?\"function\"==typeof l?l:Math.round:l,this.type=o||0,h&&(this.pr=h,n=!0),this.b=void 0===c?r:c,this.e=void 0===u?r+i:u,s&&(this._next=s,s._prev=this)}),Bt=function(t,e,r,n,i,s){var a=new _t(t,e,r,n-r,i,-1,s);return a.b=r,a.e=a.xs0=n,a},wt=o.parseComplex=function(t,e,r,n,i,s,a,A,l,h){r=r||s||\"\",\"function\"==typeof n&&(n=n(v,g)),a=new _t(t,e,0,0,a,h?2:1,null,!1,A,r,n),n+=\"\",i&&mt.test(n+r)&&(n=[r,n],o.colorStringFilter(n),r=n[0],n=n[1]);var u,f,p,d,m,B,w,b,C,E,T,x,F,Q=r.split(\", \").join(\",\").split(\" \"),S=n.split(\", \").join(\",\").split(\" \"),U=Q.length,P=!1!==c;for(-1===n.indexOf(\",\")&&-1===r.indexOf(\",\")||(-1!==(n+r).indexOf(\"rgb\")||-1!==(n+r).indexOf(\"hsl\")?(Q=Q.join(\" \").replace(D,\", \").split(\" \"),S=S.join(\" \").replace(D,\", \").split(\" \")):(Q=Q.join(\" \").split(\",\").join(\", \").split(\" \"),S=S.join(\" \").split(\",\").join(\", \").split(\" \")),U=Q.length),U!==S.length&&(U=(Q=(s||\"\").split(\" \")).length),a.plugin=l,a.setRatio=h,mt.lastIndex=0,u=0;u6)&&!j&&0===m[3]?(a[\"xs\"+a.l]+=a.l?\" transparent\":\"transparent\",a.e=a.e.split(S[u]).join(\"transparent\")):(j||(C=!1),F?a.appendXtra(E.substr(0,E.indexOf(\"hsl\"))+(C?\"hsla(\":\"hsl(\"),d[0],lt(m[0],d[0]),\",\",!1,!0).appendXtra(\"\",d[1],lt(m[1],d[1]),\"%,\",!1).appendXtra(\"\",d[2],lt(m[2],d[2]),C?\"%,\":\"%\"+x,!1):a.appendXtra(E.substr(0,E.indexOf(\"rgb\"))+(C?\"rgba(\":\"rgb(\"),d[0],m[0]-d[0],\",\",Math.round,!0).appendXtra(\"\",d[1],m[1]-d[1],\",\",Math.round).appendXtra(\"\",d[2],m[2]-d[2],C?\",\":x,Math.round),C&&(d=d.length<4?1:d[3],a.appendXtra(\"\",d,(m.length<4?1:m[3])-d,x,!1))),mt.lastIndex=0;else if(B=d.match(y)){if(!(w=m.match(_))||w.length!==B.length)return a;for(p=0,f=0;f0;)h[\"xn\"+bt]=0,h[\"xs\"+bt]=\"\";h.xs0=\"\",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,r,n,i,s){var a=this,o=a.l;return a[\"xs\"+o]+=s&&(o||a[\"xs\"+o])?\" \"+t:t||\"\",r||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a[\"xs\"+a.l]=n||\"\",o>0?(a.data[\"xn\"+o]=e+r,a.rxp[\"xn\"+o]=i,a[\"xn\"+o]=e,a.plugin||(a.xfirst=new _t(a,\"xn\"+o,e,r,a.xfirst||a,0,a.n,i,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+r},a.rxp={},a.s=e,a.c=r,a.r=i,a)):(a[\"xs\"+o]+=e+(n||\"\"),a)};var Ct=function(t,e){e=e||{},this.p=e.prefix&&$(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},Et=G._registerComplexSpecialProp=function(t,e,r){\"object\"!=typeof e&&(e={parser:r});var n,i=t.split(\",\"),s=e.defaultValue;for(r=r||[s],n=0;no.length?A.length:o.length,a=0;a-1;)s=Number(i[bt]),i[bt]=(a=s-(s|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+s:s;return e&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i},jt=G.getTransform=function(t,r,n,i){if(t._gsTransform&&n&&!i)return t._gsTransform;var s,a,A,l,h,c,u=n&&t._gsTransform||new kt,f=u.scaleX<0,p=Mt&&(parseFloat(tt(t,Dt,r,!1,\"0 0 0\").split(\" \")[2])||u.zOrigin)||0,d=parseFloat(o.defaultTransformPerspective)||0;if(u.svg=!(!t.getCTM||!zt(t)),u.svg&&(Kt(t,tt(t,Dt,r,!1,\"50% 50%\")+\"\",u,t.getAttribute(\"data-svg-origin\")),xt=o.useSVGTransformAttr||Lt),(s=Xt(t))!==Gt){if(16===s.length){var m,g,v,y,_,B=s[0],w=s[1],b=s[2],C=s[3],E=s[4],T=s[5],x=s[6],F=s[7],Q=s[8],S=s[9],U=s[10],P=s[12],I=s[13],H=s[14],D=s[11],M=Math.atan2(x,U);u.zOrigin&&(P=Q*(H=-u.zOrigin)-s[12],I=S*H-s[13],H=U*H+u.zOrigin-s[14]),u.rotationX=M*N,M&&(m=E*(y=Math.cos(-M))+Q*(_=Math.sin(-M)),g=T*y+S*_,v=x*y+U*_,Q=E*-_+Q*y,S=T*-_+S*y,U=x*-_+U*y,D=F*-_+D*y,E=m,T=g,x=v),M=Math.atan2(-b,U),u.rotationY=M*N,M&&(g=w*(y=Math.cos(-M))-S*(_=Math.sin(-M)),v=b*y-U*_,S=w*_+S*y,U=b*_+U*y,D=C*_+D*y,B=m=B*y-Q*_,w=g,b=v),M=Math.atan2(w,B),u.rotation=M*N,M&&(m=B*(y=Math.cos(M))+w*(_=Math.sin(M)),g=E*y+T*_,v=Q*y+S*_,w=w*y-B*_,T=T*y-E*_,S=S*y-Q*_,B=m,E=g,Q=v),u.rotationX&&Math.abs(u.rotationX)+Math.abs(u.rotation)>359.9&&(u.rotationX=u.rotation=0,u.rotationY=180-u.rotationY),M=Math.atan2(E,T),u.scaleX=(1e5*Math.sqrt(B*B+w*w+b*b)+.5|0)/1e5,u.scaleY=(1e5*Math.sqrt(T*T+x*x)+.5|0)/1e5,u.scaleZ=(1e5*Math.sqrt(Q*Q+S*S+U*U)+.5|0)/1e5,B/=u.scaleX,E/=u.scaleY,w/=u.scaleX,T/=u.scaleY,Math.abs(M)>2e-5?(u.skewX=M*N,E=0,\"simple\"!==u.skewType&&(u.scaleY*=1/Math.cos(M))):u.skewX=0,u.perspective=D?1/(D<0?-D:D):0,u.x=P,u.y=I,u.z=H,u.svg&&(u.x-=u.xOrigin-(u.xOrigin*B-u.yOrigin*E),u.y-=u.yOrigin-(u.yOrigin*w-u.xOrigin*T))}else if(!Mt||i||!s.length||u.x!==s[4]||u.y!==s[5]||!u.rotationX&&!u.rotationY){var k=s.length>=6,O=k?s[0]:1,R=s[1]||0,L=s[2]||0,K=k?s[3]:1;u.x=s[4]||0,u.y=s[5]||0,A=Math.sqrt(O*O+R*R),l=Math.sqrt(K*K+L*L),h=O||R?Math.atan2(R,O)*N:u.rotation||0,c=L||K?Math.atan2(L,K)*N+h:u.skewX||0,u.scaleX=A,u.scaleY=l,u.rotation=h,u.skewX=c,Mt&&(u.rotationX=u.rotationY=u.z=0,u.perspective=d,u.scaleZ=1),u.svg&&(u.x-=u.xOrigin-(u.xOrigin*O+u.yOrigin*L),u.y-=u.yOrigin-(u.xOrigin*R+u.yOrigin*K))}for(a in Math.abs(u.skewX)>90&&Math.abs(u.skewX)<270&&(f?(u.scaleX*=-1,u.skewX+=u.rotation<=0?180:-180,u.rotation+=u.rotation<=0?180:-180):(u.scaleY*=-1,u.skewX+=u.skewX<=0?180:-180)),u.zOrigin=p,u)u[a]<2e-5&&u[a]>-2e-5&&(u[a]=0)}return n&&(t._gsTransform=u,u.svg&&(xt&&t.style[It]?e.delayedCall(.001,function(){qt(t.style,It)}):!xt&&t.getAttribute(\"transform\")&&e.delayedCall(.001,function(){t.removeAttribute(\"transform\")}))),u},Yt=function(t){var e,r,n=this.data,i=-n.rotation*k,s=i+n.skewX*k,a=(Math.cos(i)*n.scaleX*1e5|0)/1e5,o=(Math.sin(i)*n.scaleX*1e5|0)/1e5,A=(Math.sin(s)*-n.scaleY*1e5|0)/1e5,l=(Math.cos(s)*n.scaleY*1e5|0)/1e5,h=this.t.style,c=this.t.currentStyle;if(c){r=o,o=-A,A=-r,e=c.filter,h.filter=\"\";var u,f,p=this.t.offsetWidth,d=this.t.offsetHeight,g=\"absolute\"!==c.position,v=\"progid:DXImageTransform.Microsoft.Matrix(M11=\"+a+\", M12=\"+o+\", M21=\"+A+\", M22=\"+l,y=n.x+p*n.xPercent/100,_=n.y+d*n.yPercent/100;if(null!=n.ox&&(y+=(u=(n.oxp?p*n.ox*.01:n.ox)-p/2)-(u*a+(f=(n.oyp?d*n.oy*.01:n.oy)-d/2)*o),_+=f-(u*A+f*l)),v+=g?\", Dx=\"+((u=p/2)-(u*a+(f=d/2)*o)+y)+\", Dy=\"+(f-(u*A+f*l)+_)+\")\":\", sizingMethod='auto expand')\",-1!==e.indexOf(\"DXImageTransform.Microsoft.Matrix(\")?h.filter=e.replace(H,v):h.filter=v+\" \"+e,0!==t&&1!==t||1===a&&0===o&&0===A&&1===l&&(g&&-1===v.indexOf(\"Dx=0, Dy=0\")||C.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf(\"Alpha\"))&&h.removeAttribute(\"filter\")),!g){var B,w,E,T=m<8?1:-1;for(u=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((p-((a<0?-a:a)*p+(o<0?-o:o)*d))/2+y),n.ieOffsetY=Math.round((d-((l<0?-l:l)*d+(A<0?-A:A)*p))/2+_),bt=0;bt<4;bt++)E=(r=-1!==(B=c[w=at[bt]]).indexOf(\"px\")?parseFloat(B):et(this.t,w,parseFloat(B),B.replace(b,\"\"))||0)!==n[w]?bt<2?-n.ieOffsetX:-n.ieOffsetY:bt<2?u-n.ieOffsetX:f-n.ieOffsetY,h[w]=(n[w]=Math.round(r-E*(0===bt||2===bt?1:T)))+\"px\"}}},Wt=G.set3DTransformRatio=G.setTransformRatio=function(t){var e,r,n,i,s,a,o,A,l,h,c,u,f,d,m,g,v,y,_,B,w=this.data,b=this.t.style,C=w.rotation,E=w.rotationX,T=w.rotationY,x=w.scaleX,F=w.scaleY,Q=w.scaleZ,S=w.x,U=w.y,P=w.z,I=w.svg,H=w.perspective,D=w.force3D,M=w.skewY,N=w.skewX;if(M&&(N+=M,C+=M),!((1!==t&&0!==t||\"auto\"!==D||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&D||P||H||T||E||1!==Q)||xt&&I||!Mt)C||N||I?(C*=k,B=N*k,1e5,r=Math.cos(C)*x,s=Math.sin(C)*x,n=Math.sin(C-B)*-F,a=Math.cos(C-B)*F,B&&\"simple\"===w.skewType&&(e=Math.tan(B-M*k),n*=e=Math.sqrt(1+e*e),a*=e,M&&(e=Math.tan(M*k),r*=e=Math.sqrt(1+e*e),s*=e)),I&&(S+=w.xOrigin-(w.xOrigin*r+w.yOrigin*n)+w.xOffset,U+=w.yOrigin-(w.xOrigin*s+w.yOrigin*a)+w.yOffset,xt&&(w.xPercent||w.yPercent)&&(m=this.t.getBBox(),S+=.01*w.xPercent*m.width,U+=.01*w.yPercent*m.height),S<(m=1e-6)&&S>-m&&(S=0),U-m&&(U=0)),_=(1e5*r|0)/1e5+\",\"+(1e5*s|0)/1e5+\",\"+(1e5*n|0)/1e5+\",\"+(1e5*a|0)/1e5+\",\"+S+\",\"+U+\")\",I&&xt?this.t.setAttribute(\"transform\",\"matrix(\"+_):b[It]=(w.xPercent||w.yPercent?\"translate(\"+w.xPercent+\"%,\"+w.yPercent+\"%) matrix(\":\"matrix(\")+_):b[It]=(w.xPercent||w.yPercent?\"translate(\"+w.xPercent+\"%,\"+w.yPercent+\"%) matrix(\":\"matrix(\")+x+\",0,0,\"+F+\",\"+S+\",\"+U+\")\";else{if(p&&(x<(m=1e-4)&&x>-m&&(x=Q=2e-5),F-m&&(F=Q=2e-5),!H||w.z||w.rotationX||w.rotationY||(H=0)),C||N)C*=k,g=r=Math.cos(C),v=s=Math.sin(C),N&&(C-=N*k,g=Math.cos(C),v=Math.sin(C),\"simple\"===w.skewType&&(e=Math.tan((N-M)*k),g*=e=Math.sqrt(1+e*e),v*=e,w.skewY&&(e=Math.tan(M*k),r*=e=Math.sqrt(1+e*e),s*=e))),n=-v,a=g;else{if(!(T||E||1!==Q||H||I))return void(b[It]=(w.xPercent||w.yPercent?\"translate(\"+w.xPercent+\"%,\"+w.yPercent+\"%) translate3d(\":\"translate3d(\")+S+\"px,\"+U+\"px,\"+P+\"px)\"+(1!==x||1!==F?\" scale(\"+x+\",\"+F+\")\":\"\"));r=a=1,n=s=0}h=1,i=o=A=l=c=u=0,f=H?-1/H:0,d=w.zOrigin,m=1e-6,\",\",\"0\",(C=T*k)&&(g=Math.cos(C),A=-(v=Math.sin(C)),c=f*-v,i=r*v,o=s*v,h=g,f*=g,r*=g,s*=g),(C=E*k)&&(e=n*(g=Math.cos(C))+i*(v=Math.sin(C)),y=a*g+o*v,l=h*v,u=f*v,i=n*-v+i*g,o=a*-v+o*g,h*=g,f*=g,n=e,a=y),1!==Q&&(i*=Q,o*=Q,h*=Q,f*=Q),1!==F&&(n*=F,a*=F,l*=F,u*=F),1!==x&&(r*=x,s*=x,A*=x,c*=x),(d||I)&&(d&&(S+=i*-d,U+=o*-d,P+=h*-d+d),I&&(S+=w.xOrigin-(w.xOrigin*r+w.yOrigin*n)+w.xOffset,U+=w.yOrigin-(w.xOrigin*s+w.yOrigin*a)+w.yOffset),S-m&&(S=\"0\"),U-m&&(U=\"0\"),P-m&&(P=0)),_=w.xPercent||w.yPercent?\"translate(\"+w.xPercent+\"%,\"+w.yPercent+\"%) matrix3d(\":\"matrix3d(\",_+=(r-m?\"0\":r)+\",\"+(s-m?\"0\":s)+\",\"+(A-m?\"0\":A),_+=\",\"+(c-m?\"0\":c)+\",\"+(n-m?\"0\":n)+\",\"+(a-m?\"0\":a),E||T||1!==Q?(_+=\",\"+(l-m?\"0\":l)+\",\"+(u-m?\"0\":u)+\",\"+(i-m?\"0\":i),_+=\",\"+(o-m?\"0\":o)+\",\"+(h-m?\"0\":h)+\",\"+(f-m?\"0\":f)+\",\"):_+=\",0,0,0,0,1,0,\",_+=S+\",\"+U+\",\"+P+\",\"+(H?1+-P/H:1)+\")\",b[It]=_}};(h=kt.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Et(\"transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin\",{parser:function(t,e,r,n,i,a,A){if(n._lastParsedTransform===A)return i;n._lastParsedTransform=A;var l,h=A.scale&&\"function\"==typeof A.scale?A.scale:0;\"function\"==typeof A[r]&&(l=A[r],A[r]=e),h&&(A.scale=h(v,t));var c,u,f,p,d,m,y,_,B,w=t._gsTransform,b=t.style,C=Pt.length,E=A,T={},x=jt(t,s,!0,E.parseTransform),F=E.transform&&(\"function\"==typeof E.transform?E.transform(v,g):E.transform);if(x.skewType=E.skewType||x.skewType||o.defaultSkewType,n._transform=x,F&&\"string\"==typeof F&&It)(u=V.style)[It]=F,u.display=\"block\",u.position=\"absolute\",-1!==F.indexOf(\"%\")&&(u.width=tt(t,\"width\"),u.height=tt(t,\"height\")),L.body.appendChild(V),c=jt(V,null,!1),\"simple\"===x.skewType&&(c.scaleY*=Math.cos(c.skewX*k)),x.svg&&(m=x.xOrigin,y=x.yOrigin,c.x-=x.xOffset,c.y-=x.yOffset,(E.transformOrigin||E.svgOrigin)&&(F={},Kt(t,At(E.transformOrigin),F,E.svgOrigin,E.smoothOrigin,!0),m=F.xOrigin,y=F.yOrigin,c.x-=F.xOffset-x.xOffset,c.y-=F.yOffset-x.yOffset),(m||y)&&(_=Xt(V,!0),c.x-=m-(m*_[0]+y*_[2]),c.y-=y-(m*_[1]+y*_[3]))),L.body.removeChild(V),c.perspective||(c.perspective=x.perspective),null!=E.xPercent&&(c.xPercent=ht(E.xPercent,x.xPercent)),null!=E.yPercent&&(c.yPercent=ht(E.yPercent,x.yPercent));else if(\"object\"==typeof E){if(c={scaleX:ht(null!=E.scaleX?E.scaleX:E.scale,x.scaleX),scaleY:ht(null!=E.scaleY?E.scaleY:E.scale,x.scaleY),scaleZ:ht(E.scaleZ,x.scaleZ),x:ht(E.x,x.x),y:ht(E.y,x.y),z:ht(E.z,x.z),xPercent:ht(E.xPercent,x.xPercent),yPercent:ht(E.yPercent,x.yPercent),perspective:ht(E.transformPerspective,x.perspective)},null!=(d=E.directionalRotation))if(\"object\"==typeof d)for(u in d)E[u]=d[u];else E.rotation=d;\"string\"==typeof E.x&&-1!==E.x.indexOf(\"%\")&&(c.x=0,c.xPercent=ht(E.x,x.xPercent)),\"string\"==typeof E.y&&-1!==E.y.indexOf(\"%\")&&(c.y=0,c.yPercent=ht(E.y,x.yPercent)),c.rotation=ct(\"rotation\"in E?E.rotation:\"shortRotation\"in E?E.shortRotation+\"_short\":\"rotationZ\"in E?E.rotationZ:x.rotation,x.rotation,\"rotation\",T),Mt&&(c.rotationX=ct(\"rotationX\"in E?E.rotationX:\"shortRotationX\"in E?E.shortRotationX+\"_short\":x.rotationX||0,x.rotationX,\"rotationX\",T),c.rotationY=ct(\"rotationY\"in E?E.rotationY:\"shortRotationY\"in E?E.shortRotationY+\"_short\":x.rotationY||0,x.rotationY,\"rotationY\",T)),c.skewX=ct(E.skewX,x.skewX),c.skewY=ct(E.skewY,x.skewY)}for(Mt&&null!=E.force3D&&(x.force3D=E.force3D,p=!0),(f=x.force3D||x.z||x.rotationX||x.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==E.scale||(c.scaleZ=1);--C>-1;)((F=c[B=Pt[C]]-x[B])>1e-6||F<-1e-6||null!=E[B]||null!=O[B])&&(p=!0,i=new _t(x,B,x[B],F,i),B in T&&(i.e=T[B]),i.xs0=0,i.plugin=a,n._overwriteProps.push(i.n));return F=E.transformOrigin,x.svg&&(F||E.svgOrigin)&&(m=x.xOffset,y=x.yOffset,Kt(t,At(F),c,E.svgOrigin,E.smoothOrigin),i=Bt(x,\"xOrigin\",(w?x:c).xOrigin,c.xOrigin,i,\"transformOrigin\"),i=Bt(x,\"yOrigin\",(w?x:c).yOrigin,c.yOrigin,i,\"transformOrigin\"),m===x.xOffset&&y===x.yOffset||(i=Bt(x,\"xOffset\",w?m:x.xOffset,x.xOffset,i,\"transformOrigin\"),i=Bt(x,\"yOffset\",w?y:x.yOffset,x.yOffset,i,\"transformOrigin\")),F=\"0px 0px\"),(F||Mt&&f&&x.zOrigin)&&(It?(p=!0,B=Dt,F=(F||tt(t,B,s,!1,\"50% 50%\"))+\"\",(i=new _t(b,B,0,0,i,-1,\"transformOrigin\")).b=b[B],i.plugin=a,Mt?(u=x.zOrigin,F=F.split(\" \"),x.zOrigin=(F.length>2&&(0===u||\"0px\"!==F[2])?parseFloat(F[2]):u)||0,i.xs0=i.e=F[0]+\" \"+(F[1]||\"50%\")+\" 0px\",(i=new _t(x,\"zOrigin\",0,0,i,-1,i.n)).b=u,i.xs0=i.e=x.zOrigin):i.xs0=i.e=F):At(F+\"\",x)),p&&(n._transformType=x.svg&&xt||!f&&3!==this._transformType?2:3),l&&(A[r]=l),h&&(A.scale=h),i},prefix:!0}),Et(\"boxShadow\",{defaultValue:\"0px 0px 0px 0px #999\",prefix:!0,color:!0,multi:!0,keyword:\"inset\"}),Et(\"borderRadius\",{defaultValue:\"0px\",parser:function(t,e,r,n,a,o){e=this.format(e);var A,l,h,c,u,f,p,d,m,g,v,y,_,B,w,b,C=[\"borderTopLeftRadius\",\"borderTopRightRadius\",\"borderBottomRightRadius\",\"borderBottomLeftRadius\"],E=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),A=e.split(\" \"),l=0;l-1;)(h=-1!==(d=o[l]).indexOf(\"%\"))!==(-1!==A[l].indexOf(\"%\"))&&(c=0===l?t.offsetWidth-z.width:t.offsetHeight-z.height,o[l]=h?parseFloat(d)/100*c+\"px\":parseFloat(d)/c*100+\"%\");d=o.join(\" \")}return this.parseComplex(t.style,d,g,i,a)},formatter:At}),Et(\"backgroundSize\",{defaultValue:\"0 0\",formatter:function(t){return\"co\"===(t+=\"\").substr(0,2)?t:At(-1===t.indexOf(\" \")?t+\" \"+t:t)}}),Et(\"perspective\",{defaultValue:\"0px\",prefix:!0}),Et(\"perspectiveOrigin\",{defaultValue:\"50% 50%\",prefix:!0}),Et(\"transformStyle\",{prefix:!0}),Et(\"backfaceVisibility\",{prefix:!0}),Et(\"userSelect\",{prefix:!0}),Et(\"margin\",{parser:vt(\"marginTop,marginRight,marginBottom,marginLeft\")}),Et(\"padding\",{parser:vt(\"paddingTop,paddingRight,paddingBottom,paddingLeft\")}),Et(\"clip\",{defaultValue:\"rect(0px,0px,0px,0px)\",parser:function(t,e,r,n,i,a){var o,A,l;return m<9?(A=t.currentStyle,l=m<8?\" \":\",\",o=\"rect(\"+A.clipTop+l+A.clipRight+l+A.clipBottom+l+A.clipLeft+\")\",e=this.format(e).split(\",\").join(l)):(o=this.format(tt(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,i,a)}}),Et(\"textShadow\",{defaultValue:\"0px 0px 0px #999\",color:!0,multi:!0}),Et(\"autoRound,strictUnits\",{parser:function(t,e,r,n,i){return i}}),Et(\"border\",{defaultValue:\"0px solid #000\",parser:function(t,e,r,n,i,a){var o=tt(t,\"borderTopWidth\",s,!1,\"0px\"),A=this.format(e).split(\" \"),l=A[0].replace(b,\"\");return\"px\"!==l&&(o=parseFloat(o)/et(t,\"borderTopWidth\",1,l)+l),this.parseComplex(t.style,this.format(o+\" \"+tt(t,\"borderTopStyle\",s,!1,\"solid\")+\" \"+tt(t,\"borderTopColor\",s,!1,\"#000\")),A.join(\" \"),i,a)},color:!0,formatter:function(t){var e=t.split(\" \");return e[0]+\" \"+(e[1]||\"solid\")+\" \"+(t.match(mt)||[\"#000\"])[0]}}),Et(\"borderWidth\",{parser:vt(\"borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth\")}),Et(\"float,cssFloat,styleFloat\",{parser:function(t,e,r,n,i,s){var a=t.style,o=\"cssFloat\"in a?\"cssFloat\":\"styleFloat\";return new _t(a,o,0,0,i,-1,r,!1,0,a[o],e)}});var Jt=function(t){var e,r=this.t,n=r.filter||tt(this.data,\"filter\")||\"\",i=this.s+this.c*t|0;100===i&&(-1===n.indexOf(\"atrix(\")&&-1===n.indexOf(\"radient(\")&&-1===n.indexOf(\"oader(\")?(r.removeAttribute(\"filter\"),e=!tt(this.data,\"filter\")):(r.filter=n.replace(T,\"\"),e=!0)),e||(this.xn1&&(r.filter=n=n||\"alpha(opacity=\"+i+\")\"),-1===n.indexOf(\"pacity\")?0===i&&this.xn1||(r.filter=n+\" alpha(opacity=\"+i+\")\"):r.filter=n.replace(C,\"opacity=\"+i))};Et(\"opacity,alpha,autoAlpha\",{defaultValue:\"1\",parser:function(t,e,r,n,i,a){var o=parseFloat(tt(t,\"opacity\",s,!1,\"1\")),A=t.style,l=\"autoAlpha\"===r;return\"string\"==typeof e&&\"=\"===e.charAt(1)&&(e=(\"-\"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),l&&1===o&&\"hidden\"===tt(t,\"visibility\",s)&&0!==e&&(o=0),j?i=new _t(A,\"opacity\",o,e-o,i):((i=new _t(A,\"opacity\",100*o,100*(e-o),i)).xn1=l?1:0,A.zoom=1,i.type=2,i.b=\"alpha(opacity=\"+i.s+\")\",i.e=\"alpha(opacity=\"+(i.s+i.c)+\")\",i.data=t,i.plugin=a,i.setRatio=Jt),l&&((i=new _t(A,\"visibility\",0,0,i,-1,null,!1,0,0!==o?\"inherit\":\"hidden\",0===e?\"hidden\":\"inherit\")).xs0=\"inherit\",n._overwriteProps.push(i.n),n._overwriteProps.push(r)),i}});var qt=function(t,e){e&&(t.removeProperty?(\"ms\"!==e.substr(0,2)&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),t.removeProperty(e.replace(F,\"-$1\").toLowerCase())):t.removeAttribute(e))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute(\"class\",0===t?this.b:this.e);for(var e=this.data,r=this.t.style;e;)e.v?r[e.p]=e.v:qt(r,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute(\"class\")!==this.e&&this.t.setAttribute(\"class\",this.e)};Et(\"className\",{parser:function(t,e,r,i,a,o,A){var l,h,c,u,f,p=t.getAttribute(\"class\")||\"\",d=t.style.cssText;if((a=i._classNamePT=new _t(t,r,0,0,a,2)).setRatio=$t,a.pr=-11,n=!0,a.b=p,h=nt(t,s),c=t._gsClassPT){for(u={},f=c.data;f;)u[f.p]=1,f=f._next;c.setRatio(1)}return t._gsClassPT=a,a.e=\"=\"!==e.charAt(1)?e:p.replace(new RegExp(\"(?:\\\\s|^)\"+e.substr(2)+\"(?![\\\\w-])\"),\"\")+(\"+\"===e.charAt(0)?\" \"+e.substr(2):\"\"),t.setAttribute(\"class\",a.e),l=it(t,h,nt(t),A,u),t.setAttribute(\"class\",p),a.data=l.firstMPT,t.style.cssText=d,a=a.xfirst=i.parse(t,l.difs,a,o)}});var Zt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&\"isFromStart\"!==this.data.data){var e,r,n,i,s,a=this.t.style,o=l.transform.parse;if(\"all\"===this.e)a.cssText=\"\",i=!0;else for(n=(e=this.e.split(\" \").join(\"\").split(\",\")).length;--n>-1;)r=e[n],l[r]&&(l[r].parse===o?i=!0:r=\"transformOrigin\"===r?Dt:l[r].p),qt(a,r);i&&(qt(a,It),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute(\"data-svg-origin\"),this.t.removeAttribute(\"transform\")),delete this.t._gsTransform))}};for(Et(\"clearProps\",{parser:function(t,e,r,i,s){return(s=new _t(t,r,0,0,s,2)).setRatio=Zt,s.e=e,s.pr=-10,s.data=i._tween,n=!0,s}}),h=\"bezier,throwProps,physicsProps,physics2D\".split(\",\"),bt=h.length;bt--;)Tt(h[bt]);(h=o.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,r,A){if(!t.nodeType)return!1;this._target=g=t,this._tween=r,this._vars=e,v=A,c=e.autoRound,n=!1,i=e.suffixMap||o.suffixMap,s=Z(t,\"\"),a=this._overwriteProps;var h,p,m,y,_,B,w,b,C,T=t.style;if(u&&\"\"===T.zIndex&&(\"auto\"!==(h=tt(t,\"zIndex\",s))&&\"\"!==h||this._addLazySet(T,\"zIndex\",0)),\"string\"==typeof e&&(y=T.cssText,h=nt(t,s),T.cssText=y+\";\"+e,h=it(t,h,nt(t)).difs,!j&&E.test(e)&&(h.opacity=parseFloat(RegExp.$1)),e=h,T.cssText=y),e.className?this._firstPT=p=l.className.parse(t,e.className,\"className\",this,null,null,e):this._firstPT=p=this.parse(t,e,null),this._transformType){for(C=3===this._transformType,It?f&&(u=!0,\"\"===T.zIndex&&(\"auto\"!==(w=tt(t,\"zIndex\",s))&&\"\"!==w||this._addLazySet(T,\"zIndex\",0)),d&&this._addLazySet(T,\"WebkitBackfaceVisibility\",this._vars.WebkitBackfaceVisibility||(C?\"visible\":\"hidden\"))):T.zoom=1,m=p;m&&m._next;)m=m._next;b=new _t(t,\"transform\",0,0,null,2),this._linkCSSP(b,null,m),b.setRatio=It?Wt:Yt,b.data=this._transform||jt(t,s,!0),b.tween=r,b.pr=-1,a.pop()}if(n){for(;p;){for(B=p._next,m=y;m&&m.pr>p.pr;)m=m._next;(p._prev=m?m._prev:_)?p._prev._next=p:y=p,(p._next=m)?m._prev=p:_=p,p=B}this._firstPT=y}return!0},h.parse=function(t,e,r,n){var a,o,A,h,u,f,p,d,m,y,_=t.style;for(a in e){if(\"function\"==typeof(f=e[a])&&(f=f(v,g)),o=l[a])r=o.parse(t,f,a,this,r,n,e);else{if(\"--\"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,\"setProperty\",Z(t).getPropertyValue(a)+\"\",f+\"\",a,!1,a);continue}u=tt(t,a,s)+\"\",m=\"string\"==typeof f,\"color\"===a||\"fill\"===a||\"stroke\"===a||-1!==a.indexOf(\"Color\")||m&&x.test(f)?(m||(f=((f=pt(f)).length>3?\"rgba(\":\"rgb(\")+f.join(\",\")+\")\"),r=wt(_,a,u,f,!0,\"transparent\",r,0,n)):m&&M.test(f)?r=wt(_,a,u,f,!0,null,r,0,n):(p=(A=parseFloat(u))||0===A?u.substr((A+\"\").length):\"\",\"\"!==u&&\"auto\"!==u||(\"width\"===a||\"height\"===a?(A=ot(t,a,s),p=\"px\"):\"left\"===a||\"top\"===a?(A=rt(t,a,s),p=\"px\"):(A=\"opacity\"!==a?0:1,p=\"\")),(y=m&&\"=\"===f.charAt(1))?(h=parseInt(f.charAt(0)+\"1\",10),f=f.substr(2),h*=parseFloat(f),d=f.replace(b,\"\")):(h=parseFloat(f),d=m?f.replace(b,\"\"):\"\"),\"\"===d&&(d=a in i?i[a]:p),f=h||0===h?(y?h+A:h)+d:e[a],p!==d&&(\"\"===d&&\"lineHeight\"!==a||(h||0===h)&&A&&(A=et(t,a,A,p),\"%\"===d?(A/=et(t,a,100,\"%\")/100,!0!==e.strictUnits&&(u=A+\"%\")):\"em\"===d||\"rem\"===d||\"vw\"===d||\"vh\"===d?A/=et(t,a,1,d):\"px\"!==d&&(h=et(t,a,h,d),d=\"px\"),y&&(h||0===h)&&(f=h+A+d))),y&&(h+=A),!A&&0!==A||!h&&0!==h?void 0!==_[a]&&(f||f+\"\"!=\"NaN\"&&null!=f)?(r=new _t(_,a,h||A||0,0,r,-1,a,!1,0,u,f)).xs0=\"none\"!==f||\"display\"!==a&&-1===a.indexOf(\"Style\")?f:u:W(\"invalid \"+a+\" tween value: \"+e[a]):(r=new _t(_,a,A,h-A,r,0,a,!1!==c&&(\"px\"===d||\"zIndex\"===a),0,u,f)).xs0=d)}n&&r&&!r.plugin&&(r.plugin=n)}return r},h.setRatio=function(t){var e,r,n,i=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;i;){if(e=i.c*t+i.s,i.r?e=i.r(e):e<1e-6&&e>-1e-6&&(e=0),i.type)if(1===i.type)if(2===(n=i.l))i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2;else if(3===n)i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2+i.xn2+i.xs3;else if(4===n)i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2+i.xn2+i.xs3+i.xn3+i.xs4;else if(5===n)i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2+i.xn2+i.xs3+i.xn3+i.xs4+i.xn4+i.xs5;else{for(r=i.xs0+e+i.xs1,n=1;n-1;)ee(t[i],e,r);else for(i=(n=t.childNodes).length;--i>-1;)a=(s=n[i]).type,s.style&&(e.push(nt(s)),r&&r.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||ee(s,e,r)};return o.cascadeTo=function(t,r,n){var i,s,a,o,A=e.to(t,r,n),l=[A],h=[],c=[],u=[],f=e._internals.reservedProps;for(t=A._targets||A.target,ee(t,h,u),A.render(r,!0,!0),ee(t,c),A.render(0,!0,!0),A._enabled(!0),i=u.length;--i>-1;)if((s=it(u[i],h[i],c[i])).firstMPT){for(a in s=s.difs,n)f[a]&&(s[a]=n[a]);for(a in o={},s)o[a]=h[i][a];l.push(e.fromTo(u[i],r,o,s))}return l},t.activate([o]),o},!0),function(){var t=r._gsDefine.plugin({propName:\"roundProps\",version:\"1.7.0\",priority:-1,API:2,init:function(t,e,r){return this._tween=r,!0}}),e=function(t){var e=t<1?Math.pow(10,(t+\"\").length-2):1;return function(r){return(Math.round(r/t)*t*e|0)/e}},n=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},i=t.prototype;i._onInitAllProps=function(){var t,r,i,s,a=this._tween,o=a.vars.roundProps,A={},l=a._propLookup.roundProps;if(\"object\"!=typeof o||o.push)for(\"string\"==typeof o&&(o=o.split(\",\")),i=o.length;--i>-1;)A[o[i]]=Math.round;else for(s in o)A[s]=e(o[s]);for(s in A)for(t=a._firstPT;t;)r=t._next,t.pg?t.t._mod(A):t.n===s&&(2===t.f&&t.t?n(t.t._firstPT,A[s]):(this._add(t.t,s,t.s,t.c,A[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:a._firstPT===t&&(a._firstPT=r),t._next=t._prev=null,a._propLookup[s]=l)),t=r;return!1},i._add=function(t,e,r,n,i){this._addTween(t,e,r,r+n,e,i||Math.round),this._overwriteProps.push(e)}}(),r._gsDefine.plugin({propName:\"attr\",API:2,version:\"0.6.1\",init:function(t,e,r,n){var i,s;if(\"function\"!=typeof t.setAttribute)return!1;for(i in e)\"function\"==typeof(s=e[i])&&(s=s(n,t)),this._addTween(t,\"setAttribute\",t.getAttribute(i)+\"\",s+\"\",i,!1,i),this._overwriteProps.push(i);return!0}}),r._gsDefine.plugin({propName:\"directionalRotation\",version:\"0.3.1\",API:2,init:function(t,e,r,n){\"object\"!=typeof e&&(e={rotation:e}),this.finals={};var i,s,a,o,A,l,h=!0===e.useRadians?2*Math.PI:360;for(i in e)\"useRadians\"!==i&&(\"function\"==typeof(o=e[i])&&(o=o(n,t)),s=(l=(o+\"\").split(\"_\"))[0],a=parseFloat(\"function\"!=typeof t[i]?t[i]:t[i.indexOf(\"set\")||\"function\"!=typeof t[\"get\"+i.substr(3)]?i:\"get\"+i.substr(3)]()),A=(o=this.finals[i]=\"string\"==typeof s&&\"=\"===s.charAt(1)?a+parseInt(s.charAt(0)+\"1\",10)*Number(s.substr(2)):Number(s)||0)-a,l.length&&(-1!==(s=l.join(\"_\")).indexOf(\"short\")&&(A%=h)!==A%(h/2)&&(A=A<0?A+h:A-h),-1!==s.indexOf(\"_cw\")&&A<0?A=(A+9999999999*h)%h-(A/h|0)*h:-1!==s.indexOf(\"ccw\")&&A>0&&(A=(A-9999999999*h)%h-(A/h|0)*h)),(A>1e-6||A<-1e-6)&&(this._addTween(t,i,a,a+A,i),this._overwriteProps.push(i)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,r._gsDefine(\"easing.Back\",[\"easing.Ease\"],function(t){var e,n,i,s,a=r.GreenSockGlobals||r,o=a.com.greensock,A=2*Math.PI,l=Math.PI/2,h=o._class,c=function(e,r){var n=h(\"easing.\"+e,function(){},!0),i=n.prototype=new t;return i.constructor=n,i.getRatio=r,n},u=t.register||function(){},f=function(t,e,r,n,i){var s=h(\"easing.\"+t,{easeOut:new e,easeIn:new r,easeInOut:new n},!0);return u(s,t),s},p=function(t,e,r){this.t=t,this.v=e,r&&(this.next=r,r.prev=this,this.c=r.v-e,this.gap=r.t-t)},d=function(e,r){var n=h(\"easing.\"+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),i=n.prototype=new t;return i.constructor=n,i.getRatio=r,i.config=function(t){return new n(t)},n},m=f(\"Back\",d(\"BackOut\",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d(\"BackIn\",function(t){return t*t*((this._p1+1)*t-this._p1)}),d(\"BackInOut\",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),g=h(\"easing.SlowMo\",function(t,e,r){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===r},!0),v=g.prototype=new t;return v.constructor=g,v.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},g.ease=new g(.7,.7),v.config=g.config=function(t,e,r){return new g(t,e,r)},(v=(e=h(\"easing.SteppedEase\",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new t).constructor=e,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=e.config=function(t,r){return new e(t,r)},(v=(n=h(\"easing.ExpoScaleEase\",function(t,e,r){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=r},!0)).prototype=new t).constructor=n,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=n.config=function(t,e,r){return new n(t,e,r)},(v=(i=h(\"easing.RoughEase\",function(e){for(var r,n,i,s,a,o,A=(e=e||{}).taper||\"none\",l=[],h=0,c=0|(e.points||20),u=c,f=!1!==e.randomize,d=!0===e.clamp,m=e.template instanceof t?e.template:null,g=\"number\"==typeof e.strength?.4*e.strength:.4;--u>-1;)r=f?Math.random():1/c*u,n=m?m.getRatio(r):r,i=\"none\"===A?g:\"out\"===A?(s=1-r)*s*g:\"in\"===A?r*r*g:r<.5?(s=2*r)*s*.5*g:(s=2*(1-r))*s*.5*g,f?n+=Math.random()*i-.5*i:u%2?n+=.5*i:n-=.5*i,d&&(n>1?n=1:n<0&&(n=0)),l[h++]={x:r,y:n};for(l.sort(function(t,e){return t.x-e.x}),o=new p(1,1,null),u=c;--u>-1;)a=l[u],o=new p(a.x,a.y,o);this._prev=new p(0,0,0!==o.t?o:o.next)},!0)).prototype=new t).constructor=i,v.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},v.config=function(t){return new i(t)},i.ease=new i,f(\"Bounce\",c(\"BounceOut\",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c(\"BounceIn\",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c(\"BounceInOut\",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f(\"Circ\",c(\"CircOut\",function(t){return Math.sqrt(1-(t-=1)*t)}),c(\"CircIn\",function(t){return-(Math.sqrt(1-t*t)-1)}),c(\"CircInOut\",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f(\"Elastic\",(s=function(e,r,n){var i=h(\"easing.\"+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/A*(Math.asin(1/this._p1)||0),this._p2=A/this._p2},!0),s=i.prototype=new t;return s.constructor=i,s.getRatio=r,s.config=function(t,e){return new i(t,e)},i})(\"ElasticOut\",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),s(\"ElasticIn\",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),s(\"ElasticInOut\",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f(\"Expo\",c(\"ExpoOut\",function(t){return 1-Math.pow(2,-10*t)}),c(\"ExpoIn\",function(t){return Math.pow(2,10*(t-1))-.001}),c(\"ExpoInOut\",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f(\"Sine\",c(\"SineOut\",function(t){return Math.sin(t*l)}),c(\"SineIn\",function(t){return 1-Math.cos(t*l)}),c(\"SineInOut\",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h(\"easing.EaseLookup\",{find:function(e){return t.map[e]}},!0),u(a.SlowMo,\"SlowMo\",\"ease,\"),u(i,\"RoughEase\",\"ease,\"),u(e,\"SteppedEase\",\"ease,\"),m},!0)}),r._gsDefine&&r._gsQueue.pop()(),function(t,r){\"use strict\";var n={},i=t.document,s=t.GreenSockGlobals=t.GreenSockGlobals||t;if(s.TweenLite)return s.TweenLite;var a,o,A,l,h,c,u,f=function(t){var e,r=t.split(\".\"),n=s;for(e=0;e-1;)(h=v[i[d]]||new y(i[d],[])).gsClass?(A[d]=h.gsClass,m--):l&&h.sc.push(this);if(0===m&&a){if(u=(c=(\"com.greensock.\"+r).split(\".\")).pop(),p=f(c.join(\".\"))[u]=this.gsClass=a.apply(a,A),o)if(s[u]=n[u]=p,void 0!==e&&e.exports)if(\"TweenMax\"===r)for(d in e.exports=n.TweenMax=p,n)p[d]=n[d];else n.TweenMax&&(n.TweenMax[u]=p);else\"function\"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+\"/\":\"\")+r.split(\".\").pop(),[],function(){return p});for(d=0;d-1;)for(s=A[l],i=n?B(\"easing.\"+s,null,!0):p.easing[s]||{},a=h.length;--a>-1;)o=h[a],C[s+\".\"+o]=C[o+s]=i[o]=t.getRatio?t:t[o]||new t};for((A=b.prototype)._calcEnd=!1,A.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,r=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===r?n*=n:2===r?n*=n*n:3===r?n*=n*n*n:4===r&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},o=(a=[\"Linear\",\"Quad\",\"Cubic\",\"Quart\",\"Quint,Strong\"]).length;--o>-1;)A=a[o]+\",Power\"+o,E(new b(null,null,1,o),A,\"easeOut\",!0),E(new b(null,null,2,o),A,\"easeIn\"+(0===o?\",easeNone\":\"\")),E(new b(null,null,3,o),A,\"easeInOut\");C.linear=p.easing.Linear.easeIn,C.swing=p.easing.Quad.easeInOut;var T=B(\"events.EventDispatcher\",function(t){this._listeners={},this._eventTarget=t||this});(A=T.prototype).addEventListener=function(t,e,r,n,i){i=i||0;var s,a,o=this._listeners[t],A=0;for(this!==l||h||l.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(s=o[a]).c===e&&s.s===r?o.splice(a,1):0===A&&s.pr-1;)if(n[r].c===e)return void n.splice(r,1)},A.dispatchEvent=function(t){var e,r,n,i=this._listeners[t];if(i)for((e=i.length)>1&&(i=i.slice(0)),r=this._eventTarget;--e>-1;)(n=i[e])&&(n.up?n.c.call(n.s||r,{type:t,target:r}):n.c.call(n.s||r))};var x=t.requestAnimationFrame,F=t.cancelAnimationFrame,Q=Date.now||function(){return(new Date).getTime()},S=Q();for(o=(a=[\"ms\",\"moz\",\"webkit\",\"o\"]).length;--o>-1&&!x;)x=t[a[o]+\"RequestAnimationFrame\"],F=t[a[o]+\"CancelAnimationFrame\"]||t[a[o]+\"CancelRequestAnimationFrame\"];B(\"Ticker\",function(t,e){var r,n,s,a,o,A=this,c=Q(),u=!(!1===e||!x)&&\"auto\",f=500,p=33,d=function(t){var e,i,l=Q()-S;l>f&&(c+=l-p),S+=l,A.time=(S-c)/1e3,e=A.time-o,(!r||e>0||!0===t)&&(A.frame++,o+=e+(e>=a?.004:a-e),i=!0),!0!==t&&(s=n(d)),i&&A.dispatchEvent(\"tick\")};T.call(A),A.time=A.frame=0,A.tick=function(){d(!0)},A.lagSmoothing=function(t,e){if(!arguments.length)return f<1e10;f=t||1e10,p=Math.min(e,f,0)},A.sleep=function(){null!=s&&(u&&F?F(s):clearTimeout(s),n=m,s=null,A===l&&(h=!1))},A.wake=function(t){null!==s?A.sleep():t?c+=-S+(S=Q()):A.frame>10&&(S=Q()-f+5),n=0===r?m:u&&x?x:function(t){return setTimeout(t,1e3*(o-A.time)+1|0)},A===l&&(h=!0),d(2)},A.fps=function(t){if(!arguments.length)return r;a=1/((r=t)||60),o=this.time+a,A.wake()},A.useRAF=function(t){if(!arguments.length)return u;A.sleep(),u=t,A.fps(r)},A.fps(t),setTimeout(function(){\"auto\"===u&&A.frame<5&&\"hidden\"!==(i||{}).visibilityState&&A.useRAF(!1)},1500)}),(A=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var U=B(\"core.Animation\",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,J){h||l.wake();var r=this.vars.useFrames?W:J;r.add(this,r._time),this.vars.paused&&this.paused(!0)}});l=U.ticker=new p.Ticker,(A=U.prototype)._dirty=A._gc=A._initted=A._paused=!1,A._totalTime=A._time=0,A._rawPrevTime=-1,A._next=A._last=A._onUpdate=A._timeline=A.timeline=null,A._paused=!1;var P=function(){h&&Q()-S>2e3&&(\"hidden\"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(P,2e3);t.unref&&t.unref()};P(),A.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},A.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},A.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},A.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},A.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},A.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},A.render=function(t,e,r){},A.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},A.isActive=function(){var t,e=this._timeline,r=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=r&&t-1;)\"{self}\"===t[e]&&(r[e]=this);return r},A._callback=function(t){var e=this.vars,r=e[t],n=e[t+\"Params\"],i=e[t+\"Scope\"]||e.callbackScope||this;switch(n?n.length:0){case 0:r.call(i);break;case 1:r.call(i,n[0]);break;case 2:r.call(i,n[0],n[1]);break;default:r.apply(i,n)}},A.eventCallback=function(t,e,r,n){if(\"on\"===(t||\"\").substr(0,2)){var i=this.vars;if(1===arguments.length)return i[t];null==e?delete i[t]:(i[t]=e,i[t+\"Params\"]=g(r)&&-1!==r.join(\"\").indexOf(\"{self}\")?this._swapSelfInParams(r):r,i[t+\"Scope\"]=n),\"onUpdate\"===t&&(this._onUpdate=e)}return this},A.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},A.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},A.totalTime=function(t,e,r){if(h||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!r&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,i=this._timeline;if(t>n&&!r&&(t=n),this._startTime=(this._paused?this._pauseTime:i._time)-(this._reversed?n-t:t)/this._timeScale,i._dirty||this._uncache(!1),i._timeline)for(;i._timeline;)i._timeline._time!==(i._startTime+i._totalTime)/i._timeScale&&i.totalTime(i._totalTime,!0),i=i._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(M.length&&$(),this.render(t,e,!1),M.length&&$())}return this},A.progress=A.totalProgress=function(t,e){var r=this.duration();return arguments.length?this.totalTime(r*t,e):r?this._time/r:this.ratio},A.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},A.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},A.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,r;for(t=t||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(r=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=r-(r-this._startTime)*this._timeScale/t),this._timeScale=t,r=this.timeline;r&&r.timeline;)r._dirty=!0,r.totalDuration(),r=r.timeline;return this},A.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},A.paused=function(t){if(!arguments.length)return this._paused;var e,r,n=this._timeline;return t!=this._paused&&n&&(h||t||l.wake(),r=(e=n.rawTime())-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=r,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==r&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=B(\"core.SimpleTimeline\",function(t){U.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(A=I.prototype=new U).constructor=I,A.kill()._gc=!1,A._first=A._last=A._recent=null,A._sortChildren=!1,A.add=A.insert=function(t,e,r,n){var i,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(s=t._startTime;i&&i._startTime>s;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},A._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},A.render=function(t,e,r){var n,i=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;i;)n=i._next,(i._active||t>=i._startTime&&!i._paused&&!i._gc)&&(i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)),i=n},A.rawTime=function(){return h||l.wake(),this._totalTime};var H=B(\"TweenLite\",function(e,r,n){if(U.call(this,r,n),this.render=H.prototype.render,null==e)throw\"Cannot tween a null target.\";this.target=e=\"string\"!=typeof e?e:H.selector(e)||e;var i,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),A=this.vars.overwrite;if(this._overwrite=A=null==A?Y[H.defaultOverwrite]:\"number\"==typeof A?A>>0:Y[A],(o||e instanceof Array||e.push&&g(e))&&\"number\"!=typeof e[0])for(this._targets=a=d(e),this._propLookup=[],this._siblings=[],i=0;i1&&et(s,this,null,1,this._siblings[i])):\"string\"==typeof(s=a[i--]=H.selector(s))&&a.splice(i+1,1):a.splice(i--,1);else this._propLookup={},this._siblings=Z(e,this,!1),1===A&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===r&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),D=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(A=H.prototype=new U).constructor=H,A.kill()._gc=!1,A.ratio=0,A._firstPT=A._targets=A._overwrittenProps=A._startAt=null,A._notifyPluginsOfEnabled=A._lazy=!1,H.version=\"1.20.5\",H.defaultEase=A._ease=new b(null,null,1,1),H.defaultOverwrite=\"auto\",H.ticker=l,H.autoSleep=120,H.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},H.selector=t.$||t.jQuery||function(e){var r=t.$||t.jQuery;return r?(H.selector=r,r(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById(\"#\"===e.charAt(0)?e.substr(1):e):e)};var M=[],k={},N=/(?:(-|-=|\\+=)?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[0-9]/gi,O=/[\\+-]=-?[\\.\\d]/,R=function(t){for(var e,r=this._firstPT;r;)e=r.blob?1===t&&null!=this.end?this.end:t?this.join(\"\"):this.start:r.c*t+r.s,r.m?e=r.m.call(this._tween,e,this._target||r.t,this._tween):e<1e-6&&e>-1e-6&&!r.blob&&(e=0),r.f?r.fp?r.t[r.p](r.fp,e):r.t[r.p](e):r.t[r.p]=e,r=r._next},L=function(t,e,r,n){var i,s,a,o,A,l,h,c=[],u=0,f=\"\",p=0;for(c.start=t,c.end=e,t=c[0]=t+\"\",e=c[1]=e+\"\",r&&(r(c),t=c[0],e=c[1]),c.length=0,i=t.match(N)||[],s=e.match(N)||[],n&&(n._next=null,n.blob=1,c._firstPT=c._applyPT=n),A=s.length,o=0;o-1;)(t=M[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);M.length=0};J._startTime=l.time,W._startTime=l.frame,J._active=W._active=!0,setTimeout($,1),U._updateRoot=H.render=function(){var t,e,r;if(M.length&&$(),J.render((l.time-J._startTime)*J._timeScale,!1,!1),W.render((l.frame-W._startTime)*W._timeScale,!1,!1),M.length&&$(),l.frame>=q){for(r in q=l.frame+(parseInt(H.autoSleep,10)||120),G){for(t=(e=G[r].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete G[r]}if((!(r=J._first)||r._paused)&&H.autoSleep&&!W._first&&1===l._listeners.tick.length){for(;r&&r._paused;)r=r._next;r||l.sleep()}}},l.addEventListener(\"tick\",U._updateRoot);var Z=function(t,e,r){var n,i,s=t._gsTweenID;if(G[s||(t._gsTweenID=s=\"t\"+X++)]||(G[s]={target:t,tweens:[]}),e&&((n=G[s].tweens)[i=n.length]=e,r))for(;--i>-1;)n[i]===e&&n.splice(i,1);return G[s].tweens},tt=function(t,e,r,n){var i,s,a=t.vars.onOverwrite;return a&&(i=a(t,e,r,n)),(a=H.onOverwrite)&&(s=a(t,e,r,n)),!1!==i&&!1!==s},et=function(t,e,r,n,i){var s,a,o,A;if(1===n||n>=4){for(A=i.length,s=0;s-1;)(o=i[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(l=l||rt(e,0,f),0===rt(o,l,f)&&(c[u++]=o)):o._startTime<=h&&o._startTime+o.totalDuration()/o._timeScale>h&&((f||!o._initted)&&h-o._startTime<=2e-10||(c[u++]=o)));for(s=u;--s>-1;)if(o=c[s],2===n&&o._kill(r,t,e)&&(a=!0),2!==n||!o._firstPT&&o._initted){if(2!==n&&!tt(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},rt=function(t,e,r){for(var n=t._timeline,i=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,i*=n._timeScale,n._paused)return-100;n=n._timeline}return(s/=i)>e?s-e:r&&s===e||!t._initted&&s-e<2e-10?1e-10:(s+=t.totalDuration()/t._timeScale/i)>e+1e-10?0:s-e-1e-10};A._init=function(){var t,e,r,n,i,s,a=this.vars,o=this._overwrittenProps,A=this._duration,l=!!a.immediateRender,h=a.ease;if(a.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),i={},a.startAt)i[n]=a.startAt[n];if(i.data=\"isStart\",i.overwrite=!1,i.immediateRender=!0,i.lazy=l&&!1!==a.lazy,i.startAt=i.delay=null,i.onUpdate=a.onUpdate,i.onUpdateParams=a.onUpdateParams,i.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=H.to(this.target||{},0,i),l)if(this._time>0)this._startAt=null;else if(0!==A)return}else if(a.runBackwards&&0!==A)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(l=!1),r={},a)j[n]&&\"autoCSS\"!==n||(r[n]=a[n]);if(r.overwrite=0,r.data=\"isFromStart\",r.lazy=l&&!1!==a.lazy,r.immediateRender=l,this._startAt=H.to(this.target,0,r),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof b?h:\"function\"==typeof h?new b(h,a.easeParams):C[h]||H.defaultEase:H.defaultEase,a.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;t-1;)r[l._overwriteProps[o]]=this._firstPT;(l._priority||l._onInitAllProps)&&(A=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else r[a]=K.call(this,e,a,\"get\",c,a,0,null,this.vars.stringFilter,s);return i&&this._kill(i,e)?this._initProps(e,r,n,i,s):this._overwrite>1&&this._firstPT&&n.length>1&&et(e,this,r,this._overwrite,n)?(this._kill(r,e),this._initProps(e,r,n,i,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(k[e._gsTweenID]=!0),A)},A.render=function(t,e,r){var n,i,s,a,o=this._time,A=this._duration,l=this._rawPrevTime;if(t>=A-1e-7&&t>=0)this._totalTime=this._time=A,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,i=\"onComplete\",r=r||this._timeline.autoRemoveChildren),0===A&&(this._initted||!this.vars.lazy||r)&&(this._startTime===this._timeline._duration&&(t=0),(l<0||t<=0&&t>=-1e-7||1e-10===l&&\"isPause\"!==this.data)&&l!==t&&(r=!0,l>1e-10&&(i=\"onReverseComplete\")),this._rawPrevTime=a=!e||t||l===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===A&&l>0)&&(i=\"onReverseComplete\",n=this._reversed),t<0&&(this._active=!1,0===A&&(this._initted||!this.vars.lazy||r)&&(l>=0&&(1e-10!==l||\"isPause\"!==this.data)&&(r=!0),this._rawPrevTime=a=!e||t||l===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(r=!0);else if(this._totalTime=this._time=t,this._easeType){var h=t/A,c=this._easeType,u=this._easePower;(1===c||3===c&&h>=.5)&&(h=1-h),3===c&&(h*=2),1===u?h*=h:2===u?h*=h*h:3===u?h*=h*h*h:4===u&&(h*=h*h*h*h),this.ratio=1===c?1-h:2===c?h:t/A<.5?h/2:1-h/2}else this.ratio=this._ease.getRatio(t/A);if(this._time!==o||r){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!r&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=l,M.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/A):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,!0,r):i||(i=\"_dummyGS\")),this.vars.onStart&&(0===this._time&&0!==A||e||this._callback(\"onStart\"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,r),e||(this._time!==o||n||r)&&this._callback(\"onUpdate\")),i&&(this._gc&&!r||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,r),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[i]&&this._callback(i),0===A&&1e-10===this._rawPrevTime&&1e-10!==a&&(this._rawPrevTime=0)))}},A._kill=function(t,e,r){if(\"all\"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e=\"string\"!=typeof e?e||this._targets||this.target:H.selector(e)||e;var n,i,s,a,o,A,l,h,c,u=r&&this._time&&r._startTime===this._startTime&&this._timeline===r._timeline;if((g(e)||D(e))&&\"number\"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],r)&&(A=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){o=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],i=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:\"all\";break}}else{if(e!==this.target)return!1;o=this._propLookup,i=this._overwrittenProps=t?this._overwrittenProps||{}:\"all\"}if(o){if(l=t||o,h=t!==i&&\"all\"!==i&&t!==o&&(\"object\"!=typeof t||!t._tempKill),r&&(H.onOverwrite||this.vars.onOverwrite)){for(s in l)o[s]&&(c||(c=[]),c.push(s));if((c||!t)&&!tt(this,r,e,c))return!1}for(s in l)(a=o[s])&&(u&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,A=!0),a.pg&&a.t._kill(l)&&(A=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),h&&(i[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return A},A.invalidate=function(){return this._notifyPluginsOfEnabled&&H._onPluginEvent(\"_onDisable\",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],U.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},A._enabled=function(t,e){if(h||l.wake(),t&&this._gc){var r,n=this._targets;if(n)for(r=n.length;--r>-1;)this._siblings[r]=Z(n[r],this,!0);else this._siblings=Z(this.target,this,!0)}return U.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&H._onPluginEvent(t?\"_onEnable\":\"_onDisable\",this)},H.to=function(t,e,r){return new H(t,e,r)},H.from=function(t,e,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new H(t,e,r)},H.fromTo=function(t,e,r,n){return n.startAt=r,n.immediateRender=0!=n.immediateRender&&0!=r.immediateRender,new H(t,e,n)},H.delayedCall=function(t,e,r,n,i){return new H(e,0,{delay:t,onComplete:e,onCompleteParams:r,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:r,immediateRender:!1,lazy:!1,useFrames:i,overwrite:0})},H.set=function(t,e){return new H(t,0,e)},H.getTweensOf=function(t,e){if(null==t)return[];var r,n,i,s;if(t=\"string\"!=typeof t?t:H.selector(t)||t,(g(t)||D(t))&&\"number\"!=typeof t[0]){for(r=t.length,n=[];--r>-1;)n=n.concat(H.getTweensOf(t[r],e));for(r=n.length;--r>-1;)for(s=n[r],i=r;--i>-1;)s===n[i]&&n.splice(r,1)}else if(t._gsTweenID)for(r=(n=Z(t).concat()).length;--r>-1;)(n[r]._gc||e&&!n[r].isActive())&&n.splice(r,1);return n||[]},H.killTweensOf=H.killDelayedCallsTo=function(t,e,r){\"object\"==typeof e&&(r=e,e=!1);for(var n=H.getTweensOf(t,e),i=n.length;--i>-1;)n[i]._kill(r,t)};var nt=B(\"plugins.TweenPlugin\",function(t,e){this._overwriteProps=(t||\"\").split(\",\"),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(A=nt.prototype,nt.version=\"1.19.0\",nt.API=2,A._firstPT=null,A._addTween=K,A.setRatio=R,A._kill=function(t){var e,r=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=r.length;--e>-1;)null!=t[r[e]]&&r.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},A._mod=A._roundProps=function(t){for(var e,r=this._firstPT;r;)(e=t[this._propName]||null!=r.n&&t[r.n.split(this._propName+\"_\").join(\"\")])&&\"function\"==typeof e&&(2===r.f?r.t._applyPT.m=e:r.m=e),r=r._next},H._onPluginEvent=function(t,e){var r,n,i,s,a,o=e._firstPT;if(\"_onInitAllProps\"===t){for(;o;){for(a=o._next,n=i;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:s)?o._prev._next=o:i=o,(o._next=n)?n._prev=o:s=o,o=a}o=e._firstPT=i}for(;o;)o.pg&&\"function\"==typeof o.t[t]&&o.t[t]()&&(r=!0),o=o._next;return r},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&(z[(new t[e])._propName]=t[e]);return!0},_.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw\"illegal plugin definition.\";var e,r=t.propName,n=t.priority||0,i=t.overwriteProps,s={init:\"_onInitTween\",set:\"setRatio\",kill:\"_kill\",round:\"_mod\",mod:\"_mod\",initAll:\"_onInitAllProps\"},a=B(\"plugins.\"+r.charAt(0).toUpperCase()+r.substr(1)+\"Plugin\",function(){nt.call(this,r,n),this._overwriteProps=i||[]},!0===t.global),o=a.prototype=new nt(r);for(e in o.constructor=a,a.API=t.API,s)\"function\"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,nt.activate([a]),a},a=t._gsQueue){for(o=0;o\\s*\\(/gm,\"{anonymous}()@\"):\"Unknown Stack Trace\",s=t.console&&(t.console.warn||t.console.log);return s&&s.call(t.console,i,n),e.apply(this,arguments)}}s=\"function\"!=typeof Object.assign?function(t){if(t===i||null===t)throw new TypeError(\"Cannot convert undefined or null to object\");for(var e=Object(t),r=1;r-1}function T(t){return t.trim().split(/\\s+/g)}function x(t,e,r){if(t.indexOf&&!r)return t.indexOf(e);for(var n=0;nr[e]}):n.sort()),n}function S(t,e){for(var r,n,s=e[0].toUpperCase()+e.slice(1),o=0;o1&&!r.firstMultiple?r.firstMultiple=Z(e):1===s&&(r.firstMultiple=!1);var a=r.firstInput,o=r.firstMultiple,A=o?o.center:a.center,l=e.center=tt(n);e.timeStamp=c(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=it(A,l),e.distance=nt(A,l),function(t,e){var r=e.center,n=t.offsetDelta||{},i=t.prevDelta||{},s=t.prevInput||{};e.eventType!==k&&s.eventType!==O||(i=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},n=t.offsetDelta={x:r.x,y:r.y});e.deltaX=i.x+(r.x-n.x),e.deltaY=i.y+(r.y-n.y)}(r,e),e.offsetDirection=rt(e.deltaX,e.deltaY);var u=et(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=h(u.x)>h(u.y)?u.x:u.y,e.scale=o?(f=o.pointers,p=n,nt(p[0],p[1],J)/nt(f[0],f[1],J)):1,e.rotation=o?function(t,e){return it(e[1],e[0],J)+it(t[1],t[0],J)}(o.pointers,n):0,e.maxPointers=r.prevInput?e.pointers.length>r.prevInput.maxPointers?e.pointers.length:r.prevInput.maxPointers:e.pointers.length,function(t,e){var r,n,s,a,o=t.lastInterval||e,A=e.timeStamp-o.timeStamp;if(e.eventType!=R&&(A>M||o.velocity===i)){var l=e.deltaX-o.deltaX,c=e.deltaY-o.deltaY,u=et(A,l,c);n=u.x,s=u.y,r=h(u.x)>h(u.y)?u.x:u.y,a=rt(l,c),t.lastInterval=e}else r=o.velocity,n=o.velocityX,s=o.velocityY,a=o.direction;e.velocity=r,e.velocityX=n,e.velocityY=s,e.direction=a}(r,e);var f,p;var d=t.element;C(e.srcEvent.target,d)&&(d=e.srcEvent.target);e.target=d}(t,r),t.emit(\"hammer.input\",r),t.recognize(r),t.session.prevInput=r}function Z(t){for(var e=[],r=0;r=h(e)?t<0?K:V:e<0?z:G}function nt(t,e,r){r||(r=W);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return Math.sqrt(n*n+i*i)}function it(t,e,r){r||(r=W);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return 180*Math.atan2(i,n)/Math.PI}q.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&b(this.element,this.evEl,this.domHandler),this.evTarget&&b(this.target,this.evTarget,this.domHandler),this.evWin&&b(P(this.element),this.evWin,this.domHandler)}};var st={mousedown:k,mousemove:N,mouseup:O},at=\"mousedown\",ot=\"mousemove mouseup\";function At(){this.evEl=at,this.evWin=ot,this.pressed=!1,q.apply(this,arguments)}v(At,q,{handler:function(t){var e=st[t.type];e&k&&0===t.button&&(this.pressed=!0),e&N&&1!==t.which&&(e=O),this.pressed&&(e&O&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:\"mouse\",srcEvent:t}))}});var lt={pointerdown:k,pointermove:N,pointerup:O,pointercancel:R,pointerout:R},ht={2:\"touch\",3:\"pen\",4:\"mouse\",5:\"kinect\"},ct=\"pointerdown\",ut=\"pointermove pointerup pointercancel\";function ft(){this.evEl=ct,this.evWin=ut,q.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}t.MSPointerEvent&&!t.PointerEvent&&(ct=\"MSPointerDown\",ut=\"MSPointerMove MSPointerUp MSPointerCancel\"),v(ft,q,{handler:function(t){var e=this.store,r=!1,n=t.type.toLowerCase().replace(\"ms\",\"\"),i=lt[n],s=ht[t.pointerType]||t.pointerType,a=\"touch\"==s,o=x(e,t.pointerId,\"pointerId\");i&k&&(0===t.button||a)?o<0&&(e.push(t),o=e.length-1):i&(O|R)&&(r=!0),o<0||(e[o]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:s,srcEvent:t}),r&&e.splice(o,1))}});var pt={touchstart:k,touchmove:N,touchend:O,touchcancel:R},dt=\"touchstart\",mt=\"touchstart touchmove touchend touchcancel\";function gt(){this.evTarget=dt,this.evWin=mt,this.started=!1,q.apply(this,arguments)}v(gt,q,{handler:function(t){var e=pt[t.type];if(e===k&&(this.started=!0),this.started){var r=function(t,e){var r=F(t.touches),n=F(t.changedTouches);e&(O|R)&&(r=Q(r.concat(n),\"identifier\",!0));return[r,n]}.call(this,t,e);e&(O|R)&&r[0].length-r[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:\"touch\",srcEvent:t})}}});var vt={touchstart:k,touchmove:N,touchend:O,touchcancel:R},yt=\"touchstart touchmove touchend touchcancel\";function _t(){this.evTarget=yt,this.targetIds={},q.apply(this,arguments)}v(_t,q,{handler:function(t){var e=vt[t.type],r=function(t,e){var r=F(t.touches),n=this.targetIds;if(e&(k|N)&&1===r.length)return n[r[0].identifier]=!0,[r,r];var i,s,a=F(t.changedTouches),o=[],A=this.target;if(s=r.filter(function(t){return C(t.target,A)}),e===k)for(i=0;i-1&&n.splice(t,1)},Bt)}}v(bt,q,{handler:function(t,e,r){var n=\"touch\"==r.pointerType,i=\"mouse\"==r.pointerType;if(!(i&&r.sourceCapabilities&&r.sourceCapabilities.firesTouchEvents)){if(n)(function(t,e){t&k?(this.primaryTouch=e.changedPointers[0].identifier,Ct.call(this,e)):t&(O|R)&&Ct.call(this,e)}).call(this,e,r);else if(i&&function(t){for(var e=t.srcEvent.clientX,r=t.srcEvent.clientY,n=0;n-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,r=this.state;function n(r){e.manager.emit(r,t)}r=kt&&n(e.options.event+Lt(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&i&e.direction},attrTest:function(t){return zt.prototype.attrTest.call(this,t)&&(this.state&Dt||!(this.state&Dt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Kt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),v(Xt,zt,{defaults:{event:\"pinch\",threshold:0,pointers:2},getTouchAction:function(){return[Qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Dt)},emit:function(t){if(1!==t.scale){var e=t.scale<1?\"in\":\"out\";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),v(jt,Rt,{defaults:{event:\"press\",pointers:1,time:251,threshold:9},getTouchAction:function(){return[xt]},process:function(t){var e=this.options,r=t.pointers.length===e.pointers,n=t.distancee.time;if(this._input=t,!n||!r||t.eventType&(O|R)&&!i)this.reset();else if(t.eventType&k)this.reset(),this._timer=u(function(){this.state=Nt,this.tryEmit()},e.time,this);else if(t.eventType&O)return Nt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Nt&&(t&&t.eventType&O?this.manager.emit(this.options.event+\"up\",t):(this._input.timeStamp=c(),this.manager.emit(this.options.event,this._input)))}}),v(Yt,zt,{defaults:{event:\"rotate\",threshold:0,pointers:2},getTouchAction:function(){return[Qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Dt)}}),v(Wt,zt,{defaults:{event:\"swipe\",threshold:10,velocity:.3,direction:X|j,pointers:1},getTouchAction:function(){return Gt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,r=this.options.direction;return r&(X|j)?e=t.overallVelocity:r&X?e=t.overallVelocityX:r&j&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&r&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&t.eventType&O},emit:function(t){var e=Kt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),v(Jt,Rt,{defaults:{event:\"tap\",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ft]},process:function(t){var e=this.options,r=t.pointers.length===e.pointers,n=t.distance=0&&t<=1){if(e._volume=t,e._muted)return e;e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t,n.ctx.currentTime);for(var r=0;r=0;e--)t._howls[e].unload();return t.usingWebAudio&&t.ctx&&void 0!==t.ctx.close&&(t.ctx.close(),t.ctx=null,c()),t},codecs:function(t){return(this||n)._codecs[t.replace(/^x-/,\"\")]},_setup:function(){var t=this||n;if(t.state=t.ctx&&t.ctx.state||\"running\",t._autoSuspend(),!t.usingWebAudio)if(\"undefined\"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(t._canPlayEvent=\"canplay\")}catch(e){t.noAudio=!0}else t.noAudio=!0;try{(new Audio).muted&&(t.noAudio=!0)}catch(t){}return t.noAudio||t._setupCodecs(),t},_setupCodecs:function(){var t=this||n,e=null;try{e=\"undefined\"!=typeof Audio?new Audio:null}catch(e){return t}if(!e||\"function\"!=typeof e.canPlayType)return t;var r=e.canPlayType(\"audio/mpeg;\").replace(/^no$/,\"\"),i=t._navigator&&t._navigator.userAgent.match(/OPR\\/([0-6].)/g),s=i&&parseInt(i[0].split(\"/\")[1],10)<33;return t._codecs={mp3:!(s||!r&&!e.canPlayType(\"audio/mp3;\").replace(/^no$/,\"\")),mpeg:!!r,opus:!!e.canPlayType('audio/ogg; codecs=\"opus\"').replace(/^no$/,\"\"),ogg:!!e.canPlayType('audio/ogg; codecs=\"vorbis\"').replace(/^no$/,\"\"),oga:!!e.canPlayType('audio/ogg; codecs=\"vorbis\"').replace(/^no$/,\"\"),wav:!!e.canPlayType('audio/wav; codecs=\"1\"').replace(/^no$/,\"\"),aac:!!e.canPlayType(\"audio/aac;\").replace(/^no$/,\"\"),caf:!!e.canPlayType(\"audio/x-caf;\").replace(/^no$/,\"\"),m4a:!!(e.canPlayType(\"audio/x-m4a;\")||e.canPlayType(\"audio/m4a;\")||e.canPlayType(\"audio/aac;\")).replace(/^no$/,\"\"),mp4:!!(e.canPlayType(\"audio/x-mp4;\")||e.canPlayType(\"audio/mp4;\")||e.canPlayType(\"audio/aac;\")).replace(/^no$/,\"\"),weba:!!e.canPlayType('audio/webm; codecs=\"vorbis\"').replace(/^no$/,\"\"),webm:!!e.canPlayType('audio/webm; codecs=\"vorbis\"').replace(/^no$/,\"\"),dolby:!!e.canPlayType('audio/mp4; codecs=\"ec-3\"').replace(/^no$/,\"\"),flac:!!(e.canPlayType(\"audio/x-flac;\")||e.canPlayType(\"audio/flac;\")).replace(/^no$/,\"\")},t},_enableMobileAudio:function(){var t=this||n,e=/iPhone|iPad|iPod|Android|BlackBerry|BB10|Silk|Mobi|Chrome/i.test(t._navigator&&t._navigator.userAgent);if(!t._mobileEnabled&&t.ctx&&e){t._mobileEnabled=!1,t.mobileAutoEnable=!1,t._mobileUnloaded||44100===t.ctx.sampleRate||(t._mobileUnloaded=!0,t.unload()),t._scratchBuffer=t.ctx.createBuffer(1,1,22050);var r=function(e){n._autoResume();var i=t.ctx.createBufferSource();i.buffer=t._scratchBuffer,i.connect(t.ctx.destination),void 0===i.start?i.noteOn(0):i.start(0),\"function\"==typeof t.ctx.resume&&t.ctx.resume(),i.onended=function(){i.disconnect(0),t._mobileEnabled=!0,document.removeEventListener(\"touchstart\",r,!0),document.removeEventListener(\"touchend\",r,!0),document.removeEventListener(\"click\",r,!0);for(var e=0;e0?o._seek:r._sprite[t][0]/1e3),h=Math.max(0,(r._sprite[t][0]+r._sprite[t][1])/1e3-l),c=1e3*h/Math.abs(o._rate);if(o._paused=!1,o._ended=!1,o._sprite=t,o._seek=l,o._start=r._sprite[t][0]/1e3,o._stop=(r._sprite[t][0]+r._sprite[t][1])/1e3,o._loop=!(!o._loop&&!r._sprite[t][2]),!(o._seek>=o._stop)){var u=o._node;if(r._webAudio){var f=function(){r._refreshBuffer(o);var t=o._muted||r._muted?0:o._volume;u.gain.setValueAtTime(t,n.ctx.currentTime),o._playStart=n.ctx.currentTime,void 0===u.bufferSource.start?o._loop?u.bufferSource.noteGrainOn(0,l,86400):u.bufferSource.noteGrainOn(0,l,h):o._loop?u.bufferSource.start(0,l,86400):u.bufferSource.start(0,l,h),c!==1/0&&(r._endTimers[o._id]=setTimeout(r._ended.bind(r,o),c)),e||setTimeout(function(){r._emit(\"play\",o._id)},0)};\"running\"===n.state?f():(r.once(\"resume\",f),r._clearTimer(o._id))}else{var p=function(){u.currentTime=l,u.muted=o._muted||r._muted||n._muted||u.muted,u.volume=o._volume*n.volume(),u.playbackRate=o._rate;try{var i=u.play();if(i&&\"undefined\"!=typeof Promise&&(i instanceof Promise||\"function\"==typeof i.then)?(r._playLock=!0,i.then(function(){r._playLock=!1,e||r._emit(\"play\",o._id)}).catch(function(){r._playLock=!1,r._emit(\"playerror\",o._id,\"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.\")})):e||r._emit(\"play\",o._id),u.playbackRate=o._rate,u.paused)return void r._emit(\"playerror\",o._id,\"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.\");\"__default\"!==t||o._loop?r._endTimers[o._id]=setTimeout(r._ended.bind(r,o),c):(r._endTimers[o._id]=function(){r._ended(o),u.removeEventListener(\"ended\",r._endTimers[o._id],!1)},u.addEventListener(\"ended\",r._endTimers[o._id],!1))}catch(t){r._emit(\"playerror\",o._id,t)}},d=window&&window.ejecta||!u.readyState&&n._navigator.isCocoonJS;if(u.readyState>=3||d)p();else{var m=function(){p(),u.removeEventListener(n._canPlayEvent,m,!1)};u.addEventListener(n._canPlayEvent,m,!1),r._clearTimer(o._id)}}return o._id}r._ended(o)},pause:function(t){var e=this;if(\"loaded\"!==e._state||e._playLock)return e._queue.push({event:\"pause\",action:function(){e.pause(t)}}),e;for(var r=e._getSoundIds(t),n=0;n=0?e=parseInt(s[0],10):t=parseFloat(s[0]):s.length>=2&&(t=parseFloat(s[0]),e=parseInt(s[1],10)),!(void 0!==t&&t>=0&&t<=1))return(r=e?i._soundById(e):i._sounds[0])?r._volume:0;if(\"loaded\"!==i._state||i._playLock)return i._queue.push({event:\"volume\",action:function(){i.volume.apply(i,s)}}),i;void 0===e&&(i._volume=t),e=i._getSoundIds(e);for(var a=0;a0?n/l:n),c=Date.now();t._fadeTo=r,t._interval=setInterval(function(){var i=(Date.now()-c)/n;c=Date.now(),o+=A*i,o=Math.max(0,o),o=Math.min(1,o),o=Math.round(100*o)/100,a._webAudio?t._volume=o:a.volume(o,t._id,!0),s&&(a._volume=o),(re&&o>=r)&&(clearInterval(t._interval),t._interval=null,t._fadeTo=null,a.volume(r,t._id),a._emit(\"fade\",t._id))},h)},_stopFade:function(t){var e=this._soundById(t);return e&&e._interval&&(this._webAudio&&e._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(e._interval),e._interval=null,this.volume(e._fadeTo,t),e._fadeTo=null,this._emit(\"fade\",t)),this},loop:function(){var t,e,r,n=arguments;if(0===n.length)return this._loop;if(1===n.length){if(\"boolean\"!=typeof n[0])return!!(r=this._soundById(parseInt(n[0],10)))&&r._loop;t=n[0],this._loop=t}else 2===n.length&&(t=n[0],e=parseInt(n[1],10));for(var i=this._getSoundIds(e),s=0;s=0?e=parseInt(s[0],10):t=parseFloat(s[0])}else 2===s.length&&(t=parseFloat(s[0]),e=parseInt(s[1],10));if(\"number\"!=typeof t)return(r=i._soundById(e))?r._rate:i._rate;if(\"loaded\"!==i._state||i._playLock)return i._queue.push({event:\"rate\",action:function(){i.rate.apply(i,s)}}),i;void 0===e&&(i._rate=t),e=i._getSoundIds(e);for(var a=0;a=0?e=parseInt(i[0],10):r._sounds.length&&(e=r._sounds[0]._id,t=parseFloat(i[0]))}else 2===i.length&&(t=parseFloat(i[0]),e=parseInt(i[1],10));if(void 0===e)return r;if(\"loaded\"!==r._state||r._playLock)return r._queue.push({event:\"seek\",action:function(){r.seek.apply(r,i)}}),r;var s=r._soundById(e);if(s){if(!(\"number\"==typeof t&&t>=0)){if(r._webAudio){var a=r.playing(e)?n.ctx.currentTime-s._playStart:0,o=s._rateSeek?s._rateSeek-s._seek:0;return s._seek+(o+a*Math.abs(s._rate))}return s._node.currentTime}var A=r.playing(e);A&&r.pause(e,!0),s._seek=t,s._ended=!1,r._clearTimer(e),!r._webAudio&&s._node&&(s._node.currentTime=t);var l=function(){r._emit(\"seek\",e),A&&r.play(e,!0)};if(A&&!r._webAudio){var h=function(){r._playLock?setTimeout(h,0):l()};setTimeout(h,0)}else l()}return r},playing:function(t){if(\"number\"==typeof t){var e=this._soundById(t);return!!e&&!e._paused}for(var r=0;r=0&&n._howls.splice(i,1);var s=!0;for(r=0;r=0;i--)n[i].id&&n[i].id!==e&&\"load\"!==t||(setTimeout(function(t){t.call(this,e,r)}.bind(this,n[i].fn),0),n[i].once&&this.off(t,n[i].fn,n[i].id));return this._loadQueue(t),this},_loadQueue:function(t){if(this._queue.length>0){var e=this._queue[0];e.event===t&&(this._queue.shift(),this._loadQueue()),t||e.action()}return this},_ended:function(t){var e=t._sprite;if(!this._webAudio&&t._node&&!t._node.paused&&!t._node.ended&&t._node.currentTime=0;r--){if(e<=t)return;this._sounds[r]._ended&&(this._webAudio&&this._sounds[r]._node&&this._sounds[r]._node.disconnect(0),this._sounds.splice(r,1),e--)}}},_getSoundIds:function(t){if(void 0===t){for(var e=[],r=0;r0?(a[e._src]=t,h(e,t)):r()};\"undefined\"!=typeof Promise&&1===n.ctx.decodeAudioData.length?n.ctx.decodeAudioData(t).then(i).catch(r):n.ctx.decodeAudioData(t,i,r)},h=function(t,e){e&&!t._duration&&(t._duration=e.duration),0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),\"loaded\"!==t._state&&(t._state=\"loaded\",t._emit(\"load\"),t._loadQueue())},c=function(){try{\"undefined\"!=typeof AudioContext?n.ctx=new AudioContext:\"undefined\"!=typeof webkitAudioContext?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch(t){n.usingWebAudio=!1}var t=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),e=n._navigator&&n._navigator.appVersion.match(/OS (\\d+)_(\\d+)_?(\\d+)?/),r=e?parseInt(e[1],10):null;if(t&&r&&r<9){var i=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());(n._navigator&&n._navigator.standalone&&!i||n._navigator&&!n._navigator.standalone&&!i)&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:1,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()};\"function\"==typeof define&&define.amd&&define([],function(){return{Howler:n,Howl:i}}),void 0!==r&&(r.Howler=n,r.Howl=i),\"undefined\"!=typeof window?(window.HowlerGlobal=e,window.Howler=n,window.Howl=i,window.Sound=s):void 0!==t&&(t.HowlerGlobal=e,t.Howler=n,t.Howl=i,t.Sound=s)}(),function(){\"use strict\";var t;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(t){if(!this.ctx||!this.ctx.listener)return this;for(var e=this._howls.length-1;e>=0;e--)this._howls[e].stereo(t);return this},HowlerGlobal.prototype.pos=function(t,e,r){return this.ctx&&this.ctx.listener?(e=\"number\"!=typeof e?this._pos[1]:e,r=\"number\"!=typeof r?this._pos[2]:r,\"number\"!=typeof t?this._pos:(this._pos=[t,e,r],void 0!==this.ctx.listener.positionX?(this.ctx.listener.positionX.setTargetAtTime(this._pos[0],Howler.ctx.currentTime,.1),this.ctx.listener.positionY.setTargetAtTime(this._pos[1],Howler.ctx.currentTime,.1),this.ctx.listener.positionZ.setTargetAtTime(this._pos[2],Howler.ctx.currentTime,.1)):this.ctx.listener.setPosition(this._pos[0],this._pos[1],this._pos[2]),this)):this},HowlerGlobal.prototype.orientation=function(t,e,r,n,i,s){if(!this.ctx||!this.ctx.listener)return this;var a=this._orientation;return e=\"number\"!=typeof e?a[1]:e,r=\"number\"!=typeof r?a[2]:r,n=\"number\"!=typeof n?a[3]:n,i=\"number\"!=typeof i?a[4]:i,s=\"number\"!=typeof s?a[5]:s,\"number\"!=typeof t?a:(this._orientation=[t,e,r,n,i,s],void 0!==this.ctx.listener.forwardX?(this.ctx.listener.forwardX.setTargetAtTime(t,Howler.ctx.currentTime,.1),this.ctx.listener.forwardY.setTargetAtTime(e,Howler.ctx.currentTime,.1),this.ctx.listener.forwardZ.setTargetAtTime(r,Howler.ctx.currentTime,.1),this.ctx.listener.upX.setTargetAtTime(t,Howler.ctx.currentTime,.1),this.ctx.listener.upY.setTargetAtTime(e,Howler.ctx.currentTime,.1),this.ctx.listener.upZ.setTargetAtTime(r,Howler.ctx.currentTime,.1)):this.ctx.listener.setOrientation(t,e,r,n,i,s),this)},Howl.prototype.init=(t=Howl.prototype.init,function(e){return this._orientation=e.orientation||[1,0,0],this._stereo=e.stereo||null,this._pos=e.pos||null,this._pannerAttr={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:360,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:360,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:0,distanceModel:void 0!==e.distanceModel?e.distanceModel:\"inverse\",maxDistance:void 0!==e.maxDistance?e.maxDistance:1e4,panningModel:void 0!==e.panningModel?e.panningModel:\"HRTF\",refDistance:void 0!==e.refDistance?e.refDistance:1,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:1},this._onstereo=e.onstereo?[{fn:e.onstereo}]:[],this._onpos=e.onpos?[{fn:e.onpos}]:[],this._onorientation=e.onorientation?[{fn:e.onorientation}]:[],t.call(this,e)}),Howl.prototype.stereo=function(t,r){var n=this;if(!n._webAudio)return n;if(\"loaded\"!==n._state)return n._queue.push({event:\"stereo\",action:function(){n.stereo(t,r)}}),n;var i=void 0===Howler.ctx.createStereoPanner?\"spatial\":\"stereo\";if(void 0===r){if(\"number\"!=typeof t)return n._stereo;n._stereo=t,n._pos=[t,0,0]}for(var s=n._getSoundIds(r),a=0;a1&&(n/=d,s/=d,a/=d,o/=d,A/=d,c/=d,u/=d,f/=d);var m=t.width-a,g=t.height-c,v=t.width-A,y=t.height-f;return{topLeftOuter:n>0||s>0?h(t.left,t.top,n,s,l.TOP_LEFT):new i.default(t.left,t.top),topLeftInner:n>0||s>0?h(t.left+e[3].borderWidth,t.top+e[0].borderWidth,Math.max(0,n-e[3].borderWidth),Math.max(0,s-e[0].borderWidth),l.TOP_LEFT):new i.default(t.left+e[3].borderWidth,t.top+e[0].borderWidth),topRightOuter:a>0||o>0?h(t.left+m,t.top,a,o,l.TOP_RIGHT):new i.default(t.left+t.width,t.top),topRightInner:a>0||o>0?h(t.left+Math.min(m,t.width+e[3].borderWidth),t.top+e[0].borderWidth,m>t.width+e[3].borderWidth?0:a-e[3].borderWidth,o-e[0].borderWidth,l.TOP_RIGHT):new i.default(t.left+t.width-e[1].borderWidth,t.top+e[0].borderWidth),bottomRightOuter:A>0||c>0?h(t.left+v,t.top+g,A,c,l.BOTTOM_RIGHT):new i.default(t.left+t.width,t.top+t.height),bottomRightInner:A>0||c>0?h(t.left+Math.min(v,t.width-e[3].borderWidth),t.top+Math.min(g,t.height+e[0].borderWidth),Math.max(0,A-e[1].borderWidth),c-e[2].borderWidth,l.BOTTOM_RIGHT):new i.default(t.left+t.width-e[1].borderWidth,t.top+t.height-e[2].borderWidth),bottomLeftOuter:u>0||f>0?h(t.left,t.top+y,u,f,l.BOTTOM_LEFT):new i.default(t.left,t.top+t.height),bottomLeftInner:u>0||f>0?h(t.left+e[3].borderWidth,t.top+y,Math.max(0,u-e[3].borderWidth),f-e[2].borderWidth,l.BOTTOM_LEFT):new i.default(t.left+e[3].borderWidth,t.top+t.height-e[2].borderWidth)}},{TOP_LEFT:0,TOP_RIGHT:1,BOTTOM_RIGHT:2,BOTTOM_LEFT:3}),h=function(t,e,r,n,a){var o=(Math.sqrt(2)-1)/3*4,A=r*o,h=n*o,c=t+r,u=e+n;switch(a){case l.TOP_LEFT:return new s.default(new i.default(t,u),new i.default(t,u-h),new i.default(c-A,e),new i.default(c,e));case l.TOP_RIGHT:return new s.default(new i.default(t,e),new i.default(t+A,e),new i.default(c,u-h),new i.default(c,u));case l.BOTTOM_RIGHT:return new s.default(new i.default(c,e),new i.default(c,e+h),new i.default(t+A,u),new i.default(t,u));case l.BOTTOM_LEFT:default:return new s.default(new i.default(c,u),new i.default(c-A,u),new i.default(t,e+h),new i.default(t,e))}}},{\"./drawing/BezierCurve\":33,\"./drawing/Vector\":37}],12:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.cloneWindow=r.DocumentCloner=void 0;var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,s=t}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}(),i=function(){function t(t,e){for(var r=0;r1&&(r.backgroundColor=\"\"),r.backgroundImage=t.join(\",\")}),t instanceof HTMLImageElement&&this.resourceLoader.inlineImage(t.src).then(function(e){if(e&&t instanceof HTMLImageElement&&t.parentNode){var r=t.parentNode,n=(0,A.copyCSSStyles)(t.style,e.cloneNode(!1));r.replaceChild(n,t)}}).catch(function(t){0})}}},{key:\"inlineFonts\",value:function(t){var e=this;return Promise.all(Array.from(t.styleSheets).map(function(e){return e.href?fetch(e.href).then(function(t){return t.text()}).then(function(t){return d(t,e.href)}).catch(function(t){return[]}):p(e,t)})).then(function(t){return t.reduce(function(t,e){return t.concat(e)},[])}).then(function(t){return Promise.all(t.map(function(t){return fetch(t.formats[0].src).then(function(t){return t.blob()}).then(function(t){return new Promise(function(e,r){var n=new FileReader;n.onerror=r,n.onload=function(){var t=n.result;e(t)},n.readAsDataURL(t)})}).then(function(e){return t.fontFace.setProperty(\"src\",'url(\"'+e+'\")'),\"@font-face {\"+t.fontFace.cssText+\" \"})}))}).then(function(r){var n=t.createElement(\"style\");n.textContent=r.join(\"\\n\"),e.documentElement.appendChild(n)})}},{key:\"createElementClone\",value:function(t){var e=this;if(this.copyStyles&&t instanceof HTMLCanvasElement){var r=t.ownerDocument.createElement(\"img\");try{return r.src=t.toDataURL(),r}catch(t){0}}if(t instanceof HTMLIFrameElement){var n=t.cloneNode(!1),i=E();n.setAttribute(\"data-html2canvas-internal-iframe-key\",i);var a=(0,s.parseBounds)(t,0,0),o=a.width,l=a.height;return this.resourceLoader.cache[i]=x(t,this.options).then(function(t){return e.renderer(t,{async:e.options.async,allowTaint:e.options.allowTaint,backgroundColor:\"#ffffff\",canvas:null,imageTimeout:e.options.imageTimeout,logging:e.options.logging,proxy:e.options.proxy,removeContainer:e.options.removeContainer,scale:e.options.scale,foreignObjectRendering:e.options.foreignObjectRendering,useCORS:e.options.useCORS,target:new h.default,width:o,height:l,x:0,y:0,windowWidth:t.ownerDocument.defaultView.innerWidth,windowHeight:t.ownerDocument.defaultView.innerHeight,scrollX:t.ownerDocument.defaultView.pageXOffset,scrollY:t.ownerDocument.defaultView.pageYOffset},e.logger.child(i))}).then(function(e){return new Promise(function(r,i){var s=document.createElement(\"img\");s.onload=function(){return r(e)},s.onerror=i,s.src=e.toDataURL(),n.parentNode&&n.parentNode.replaceChild((0,A.copyCSSStyles)(t.ownerDocument.defaultView.getComputedStyle(t),s),n)})}),n}if(t instanceof HTMLStyleElement&&t.sheet&&t.sheet.cssRules){var c=[].slice.call(t.sheet.cssRules,0).reduce(function(t,r){try{return r&&r.cssText?t+r.cssText:t}catch(n){return e.logger.log(\"Unable to access cssText property\",r.name),t}},\"\"),u=t.cloneNode(!1);return u.textContent=c,u}return t.cloneNode(!1)}},{key:\"cloneNode\",value:function(t){var e=t.nodeType===Node.TEXT_NODE?document.createTextNode(t.nodeValue):this.createElementClone(t),r=t.ownerDocument.defaultView,n=t instanceof r.HTMLElement?r.getComputedStyle(t):null,i=t instanceof r.HTMLElement?r.getComputedStyle(t,\":before\"):null,s=t instanceof r.HTMLElement?r.getComputedStyle(t,\":after\"):null;this.referenceElement===t&&e instanceof r.HTMLElement&&(this.clonedReferenceElement=e),e instanceof r.HTMLBodyElement&&w(e);for(var a=(0,c.parseCounterReset)(n,this.pseudoContentData),o=(0,c.resolvePseudoContent)(t,i,this.pseudoContentData),l=t.firstChild;l;l=l.nextSibling)l.nodeType===Node.ELEMENT_NODE&&(\"SCRIPT\"===l.nodeName||l.hasAttribute(\"data-html2canvas-ignore\")||\"function\"==typeof this.options.ignoreElements&&this.options.ignoreElements(l))||this.copyStyles&&\"STYLE\"===l.nodeName||e.appendChild(this.cloneNode(l));var h=(0,c.resolvePseudoContent)(t,s,this.pseudoContentData);if((0,c.popCounters)(a,this.pseudoContentData),t instanceof r.HTMLElement&&e instanceof r.HTMLElement)switch(i&&this.inlineAllImages(g(t,e,i,o,v)),s&&this.inlineAllImages(g(t,e,s,h,y)),!n||!this.copyStyles||t instanceof HTMLIFrameElement||(0,A.copyCSSStyles)(n,e),this.inlineAllImages(e),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([e,t.scrollLeft,t.scrollTop]),t.nodeName){case\"CANVAS\":this.copyStyles||m(t,e);break;case\"TEXTAREA\":case\"SELECT\":e.value=t.value}return e}}]),t}(),p=function(t,e){return(t.cssRules?Array.from(t.cssRules):[]).filter(function(t){return t.type===CSSRule.FONT_FACE_RULE}).map(function(t){for(var r=(0,l.parseBackgroundImage)(t.style.getPropertyValue(\"src\")),n=[],i=0;i0&&\"complete\"===r.readyState&&(clearInterval(e),n(t))},50)}})},S=(r.cloneWindow=function(t,e,r,n,i,s){var a=new f(r,n,i,!1,s),o=t.defaultView.pageXOffset,A=t.defaultView.pageYOffset;return F(t,e).then(function(i){var s=i.contentWindow,l=s.document,h=Q(i).then(function(){a.scrolledElements.forEach(C),s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(l.documentElement.style.top=-e.top+\"px\",l.documentElement.style.left=-e.left+\"px\",l.documentElement.style.position=\"absolute\");var r=Promise.resolve([i,a.clonedReferenceElement,a.resourceLoader]),o=n.onclone;return a.clonedReferenceElement instanceof s.HTMLElement||a.clonedReferenceElement instanceof t.defaultView.HTMLElement||a.clonedReferenceElement instanceof HTMLElement?\"function\"==typeof o?Promise.resolve().then(function(){return o(l)}).then(function(){return r}):r:Promise.reject(\"\")});return l.open(),l.write(S(document.doctype)+\"\"),function(t,e,r){!t.defaultView||e===t.defaultView.pageXOffset&&r===t.defaultView.pageYOffset||t.defaultView.scrollTo(e,r)}(r.ownerDocument,o,A),l.replaceChild(l.adoptNode(a.documentElement),l.documentElement),l.close(),h})},function(t){var e=\"\";return t&&(e+=\"\"),e})},{\"./Bounds\":11,\"./Proxy\":23,\"./PseudoNodeContent\":24,\"./ResourceLoader\":26,\"./Util\":31,\"./parsing/background\":39,\"./renderer/CanvasRenderer\":60}],13:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,s=t}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}(),i=function(){function t(t,e){for(var r=0;r4)&&[Number(e[1]),Number(e[2]),Number(e[3]),Number(e[4])]},f=function(t){return[Math.min(t[0],255),Math.min(t[1],255),Math.min(t[2],255),t.length>3?t[3]:null]},p=function(t){var e=m[t.toLowerCase()];return e||!1},d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t);var r=Array.isArray(e)?f(e):a(e)||h(e)||u(e)||p(e)||A(e)||[0,0,0,null],i=n(r,4),s=i[0],o=i[1],l=i[2],c=i[3];this.r=s,this.g=o,this.b=l,this.a=c}return i(t,[{key:\"isTransparent\",value:function(){return 0===this.a}},{key:\"toString\",value:function(){return null!==this.a&&1!==this.a?\"rgba(\"+this.r+\",\"+this.g+\",\"+this.b+\",\"+this.a+\")\":\"rgb(\"+this.r+\",\"+this.g+\",\"+this.b+\")\"}}]),t}();r.default=d;var m={transparent:[0,0,0,0],aliceblue:[240,248,255,null],antiquewhite:[250,235,215,null],aqua:[0,255,255,null],aquamarine:[127,255,212,null],azure:[240,255,255,null],beige:[245,245,220,null],bisque:[255,228,196,null],black:[0,0,0,null],blanchedalmond:[255,235,205,null],blue:[0,0,255,null],blueviolet:[138,43,226,null],brown:[165,42,42,null],burlywood:[222,184,135,null],cadetblue:[95,158,160,null],chartreuse:[127,255,0,null],chocolate:[210,105,30,null],coral:[255,127,80,null],cornflowerblue:[100,149,237,null],cornsilk:[255,248,220,null],crimson:[220,20,60,null],cyan:[0,255,255,null],darkblue:[0,0,139,null],darkcyan:[0,139,139,null],darkgoldenrod:[184,134,11,null],darkgray:[169,169,169,null],darkgreen:[0,100,0,null],darkgrey:[169,169,169,null],darkkhaki:[189,183,107,null],darkmagenta:[139,0,139,null],darkolivegreen:[85,107,47,null],darkorange:[255,140,0,null],darkorchid:[153,50,204,null],darkred:[139,0,0,null],darksalmon:[233,150,122,null],darkseagreen:[143,188,143,null],darkslateblue:[72,61,139,null],darkslategray:[47,79,79,null],darkslategrey:[47,79,79,null],darkturquoise:[0,206,209,null],darkviolet:[148,0,211,null],deeppink:[255,20,147,null],deepskyblue:[0,191,255,null],dimgray:[105,105,105,null],dimgrey:[105,105,105,null],dodgerblue:[30,144,255,null],firebrick:[178,34,34,null],floralwhite:[255,250,240,null],forestgreen:[34,139,34,null],fuchsia:[255,0,255,null],gainsboro:[220,220,220,null],ghostwhite:[248,248,255,null],gold:[255,215,0,null],goldenrod:[218,165,32,null],gray:[128,128,128,null],green:[0,128,0,null],greenyellow:[173,255,47,null],grey:[128,128,128,null],honeydew:[240,255,240,null],hotpink:[255,105,180,null],indianred:[205,92,92,null],indigo:[75,0,130,null],ivory:[255,255,240,null],khaki:[240,230,140,null],lavender:[230,230,250,null],lavenderblush:[255,240,245,null],lawngreen:[124,252,0,null],lemonchiffon:[255,250,205,null],lightblue:[173,216,230,null],lightcoral:[240,128,128,null],lightcyan:[224,255,255,null],lightgoldenrodyellow:[250,250,210,null],lightgray:[211,211,211,null],lightgreen:[144,238,144,null],lightgrey:[211,211,211,null],lightpink:[255,182,193,null],lightsalmon:[255,160,122,null],lightseagreen:[32,178,170,null],lightskyblue:[135,206,250,null],lightslategray:[119,136,153,null],lightslategrey:[119,136,153,null],lightsteelblue:[176,196,222,null],lightyellow:[255,255,224,null],lime:[0,255,0,null],limegreen:[50,205,50,null],linen:[250,240,230,null],magenta:[255,0,255,null],maroon:[128,0,0,null],mediumaquamarine:[102,205,170,null],mediumblue:[0,0,205,null],mediumorchid:[186,85,211,null],mediumpurple:[147,112,219,null],mediumseagreen:[60,179,113,null],mediumslateblue:[123,104,238,null],mediumspringgreen:[0,250,154,null],mediumturquoise:[72,209,204,null],mediumvioletred:[199,21,133,null],midnightblue:[25,25,112,null],mintcream:[245,255,250,null],mistyrose:[255,228,225,null],moccasin:[255,228,181,null],navajowhite:[255,222,173,null],navy:[0,0,128,null],oldlace:[253,245,230,null],olive:[128,128,0,null],olivedrab:[107,142,35,null],orange:[255,165,0,null],orangered:[255,69,0,null],orchid:[218,112,214,null],palegoldenrod:[238,232,170,null],palegreen:[152,251,152,null],paleturquoise:[175,238,238,null],palevioletred:[219,112,147,null],papayawhip:[255,239,213,null],peachpuff:[255,218,185,null],peru:[205,133,63,null],pink:[255,192,203,null],plum:[221,160,221,null],powderblue:[176,224,230,null],purple:[128,0,128,null],rebeccapurple:[102,51,153,null],red:[255,0,0,null],rosybrown:[188,143,143,null],royalblue:[65,105,225,null],saddlebrown:[139,69,19,null],salmon:[250,128,114,null],sandybrown:[244,164,96,null],seagreen:[46,139,87,null],seashell:[255,245,238,null],sienna:[160,82,45,null],silver:[192,192,192,null],skyblue:[135,206,235,null],slateblue:[106,90,205,null],slategray:[112,128,144,null],slategrey:[112,128,144,null],snow:[255,250,250,null],springgreen:[0,255,127,null],steelblue:[70,130,180,null],tan:[210,180,140,null],teal:[0,128,128,null],thistle:[216,191,216,null],tomato:[255,99,71,null],turquoise:[64,224,208,null],violet:[238,130,238,null],wheat:[245,222,179,null],white:[255,255,255,null],whitesmoke:[245,245,245,null],yellow:[255,255,0,null],yellowgreen:[154,205,50,null]};r.TRANSPARENT=new d([0,0,0,0])},{}],14:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=t(\"./renderer/ForeignObjectRenderer\"),i=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},s={get SUPPORT_RANGE_BOUNDS(){var t=function(t){if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var r=t.createElement(\"boundtest\");r.style.height=\"123px\",r.style.display=\"block\",t.body.appendChild(r),e.selectNode(r);var n=e.getBoundingClientRect(),i=Math.round(n.height);if(t.body.removeChild(r),123===i)return!0}}return!1}(document);return Object.defineProperty(s,\"SUPPORT_RANGE_BOUNDS\",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=function(t){var e=new Image,r=t.createElement(\"canvas\"),n=r.getContext(\"2d\");e.src=\"data:image/svg+xml,\";try{n.drawImage(e,0,0),r.toDataURL()}catch(t){return!1}return!0}(document);return Object.defineProperty(s,\"SUPPORT_SVG_DRAWING\",{value:t}),t},get SUPPORT_BASE64_DRAWING(){return function(t){var e=function(t,e){var r=new Image,n=t.createElement(\"canvas\"),i=n.getContext(\"2d\");return new Promise(function(t){r.src=e;var s=function(){try{i.drawImage(r,0,0),n.toDataURL()}catch(e){return t(!1)}return t(!0)};r.onload=s,r.onerror=function(){return t(!1)},!0===r.complete&&setTimeout(function(){s()},500)})}(document,t);return Object.defineProperty(s,\"SUPPORT_BASE64_DRAWING\",{value:function(){return e}}),e}},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=\"function\"==typeof Array.from&&\"function\"==typeof window.fetch?function(t){var e=t.createElement(\"canvas\");e.width=100,e.height=100;var r=e.getContext(\"2d\");r.fillStyle=\"rgb(0, 255, 0)\",r.fillRect(0,0,100,100);var s=new Image,a=e.toDataURL();s.src=a;var o=(0,n.createForeignObjectSVG)(100,100,0,0,s);return r.fillStyle=\"red\",r.fillRect(0,0,100,100),(0,n.loadSerializedSVG)(o).then(function(e){r.drawImage(e,0,0);var s=r.getImageData(0,0,100,100).data;r.fillStyle=\"red\",r.fillRect(0,0,100,100);var o=t.createElement(\"div\");return o.style.backgroundImage=\"url(\"+a+\")\",o.style.height=\"100px\",i(s)?(0,n.loadSerializedSVG)((0,n.createForeignObjectSVG)(100,100,0,0,o)):Promise.reject(!1)}).then(function(t){return r.drawImage(t,0,0),i(r.getImageData(0,0,100,100).data)}).catch(function(t){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(s,\"SUPPORT_FOREIGNOBJECT_DRAWING\",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=void 0!==(new Image).crossOrigin;return Object.defineProperty(s,\"SUPPORT_CORS_IMAGES\",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=\"string\"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(s,\"SUPPORT_RESPONSE_TYPE\",{value:t}),t},get SUPPORT_CORS_XHR(){var t=\"withCredentials\"in new XMLHttpRequest;return Object.defineProperty(s,\"SUPPORT_CORS_XHR\",{value:t}),t}};r.default=s},{\"./renderer/ForeignObjectRenderer\":61}],15:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.FontMetrics=void 0;var n=function(){function t(t,e){for(var r=0;rt.optimumDistance)?{optimumCorner:i,optimumDistance:s}:t},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Q=function(t,e,r,n,i){var s=r.x,a=r.y,o=0,l=0;switch(t){case\"closest-side\":e===g.CIRCLE?o=l=Math.min(Math.abs(s),Math.abs(s-i.width),Math.abs(a),Math.abs(a-i.height)):e===g.ELLIPSE&&(o=Math.min(Math.abs(s),Math.abs(s-i.width)),l=Math.min(Math.abs(a),Math.abs(a-i.height)));break;case\"closest-corner\":if(e===g.CIRCLE)o=l=Math.min((0,A.distance)(s,a),(0,A.distance)(s,a-i.height),(0,A.distance)(s-i.width,a),(0,A.distance)(s-i.width,a-i.height));else if(e===g.ELLIPSE){var h=Math.min(Math.abs(a),Math.abs(a-i.height))/Math.min(Math.abs(s),Math.abs(s-i.width)),c=F(i,s,a,!0);l=h*(o=(0,A.distance)(c.x-s,(c.y-a)/h))}break;case\"farthest-side\":e===g.CIRCLE?o=l=Math.max(Math.abs(s),Math.abs(s-i.width),Math.abs(a),Math.abs(a-i.height)):e===g.ELLIPSE&&(o=Math.max(Math.abs(s),Math.abs(s-i.width)),l=Math.max(Math.abs(a),Math.abs(a-i.height)));break;case\"farthest-corner\":if(e===g.CIRCLE)o=l=Math.max((0,A.distance)(s,a),(0,A.distance)(s,a-i.height),(0,A.distance)(s-i.width,a),(0,A.distance)(s-i.width,a-i.height));else if(e===g.ELLIPSE){var u=Math.max(Math.abs(a),Math.abs(a-i.height))/Math.max(Math.abs(s),Math.abs(s-i.width)),f=F(i,s,a,!1);l=u*(o=(0,A.distance)(f.x-s,(f.y-a)/u))}break;default:o=n.x||0,l=void 0!==n.y?n.y:o}return{x:o,y:l}},S=r.transformWebkitRadialGradientArgs=function(t){var e=\"\",r=\"\",n=\"\",i=\"\",s=0,a=/^(left|center|right|\\d+(?:px|r?em|%)?)(?:\\s+(top|center|bottom|\\d+(?:px|r?em|%)?))?$/i,o=/^\\d+(px|r?em|%)?(?:\\s+\\d+(px|r?em|%)?)?$/i,A=t[s].match(a);A&&s++;var l=t[s].match(/^(circle|ellipse)?\\s*(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)?$/i);l&&(e=l[1]||\"\",\"contain\"===(n=l[2]||\"\")?n=\"closest-side\":\"cover\"===n&&(n=\"farthest-corner\"),s++);var h=t[s].match(o);h&&s++;var c=t[s].match(a);c&&s++;var u=t[s].match(o);u&&s++;var f=c||A;f&&f[1]&&(i=f[1]+(/^\\d+$/.test(f[1])?\"px\":\"\"),f[2]&&(i+=\" \"+f[2]+(/^\\d+$/.test(f[2])?\"px\":\"\")));var p=u||h;return p&&(r=p[0],p[1]||(r+=\"px\")),!i||e||r||n||(r=i,i=\"\"),i&&(i=\"at \"+i),[[e,n,r,i].filter(function(t){return!!t}).join(\" \")].concat(t.slice(s))},U=function(t){return t.map(function(t){return t.match(p)}).map(function(e,r){if(!e)return t[r];switch(e[1]){case\"from\":return e[4]+\" 0%\";case\"to\":return e[4]+\" 100%\";case\"color-stop\":return\"%\"===e[3]?e[4]+\" \"+e[2]:e[4]+\" \"+100*parseFloat(e[2])+\"%\"}})}},{\"./Angle\":10,\"./Color\":13,\"./Length\":18,\"./NodeContainer\":21,\"./Util\":31}],17:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.reformatInputBounds=r.inlineSelectElement=r.inlineTextAreaElement=r.inlineInputElement=r.getInputBorderRadius=r.INPUT_BACKGROUND=r.INPUT_BORDERS=r.INPUT_COLOR=void 0;var n=c(t(\"./TextContainer\")),i=t(\"./parsing/background\"),s=t(\"./parsing/border\"),a=c(t(\"./drawing/Circle\")),o=c(t(\"./drawing/Vector\")),A=c(t(\"./Color\")),l=c(t(\"./Length\")),h=(t(\"./Bounds\"),t(\"./TextBounds\"),t(\"./Util\"));function c(t){return t&&t.__esModule?t:{default:t}}r.INPUT_COLOR=new A.default([42,42,42]);var u=new A.default([165,165,165]),f=new A.default([222,222,222]),p={borderWidth:1,borderColor:u,borderStyle:s.BORDER_STYLE.SOLID},d=(r.INPUT_BORDERS=[p,p,p,p],r.INPUT_BACKGROUND={backgroundColor:f,backgroundImage:[],backgroundClip:i.BACKGROUND_CLIP.PADDING_BOX,backgroundOrigin:i.BACKGROUND_ORIGIN.PADDING_BOX},new l.default(\"50%\")),m=[d,d],g=[m,m,m,m],v=new l.default(\"3px\"),y=[v,v],_=[y,y,y,y],B=(r.getInputBorderRadius=function(t){return\"radio\"===t.type?g:_},r.inlineInputElement=function(t,e){if(\"radio\"===t.type||\"checkbox\"===t.type){if(t.checked){var r=Math.min(e.bounds.width,e.bounds.height);e.childNodes.push(\"checkbox\"===t.type?[new o.default(e.bounds.left+.39363*r,e.bounds.top+.79*r),new o.default(e.bounds.left+.16*r,e.bounds.top+.5549*r),new o.default(e.bounds.left+.27347*r,e.bounds.top+.44071*r),new o.default(e.bounds.left+.39694*r,e.bounds.top+.5649*r),new o.default(e.bounds.left+.72983*r,e.bounds.top+.23*r),new o.default(e.bounds.left+.84*r,e.bounds.top+.34085*r),new o.default(e.bounds.left+.39363*r,e.bounds.top+.79*r)]:new a.default(e.bounds.left+r/4,e.bounds.top+r/4,r/4))}}else B(w(t),t,e,!1)},r.inlineTextAreaElement=function(t,e){B(t.value,t,e,!0)},r.inlineSelectElement=function(t,e){var r=t.options[t.selectedIndex||0];B(r&&r.text||\"\",t,e,!1)},r.reformatInputBounds=function(t){return t.width>t.height?(t.left+=(t.width-t.height)/2,t.width=t.height):t.width0&&s){var a=e.ownerDocument.createElement(\"html2canvaswrapper\");(0,h.copyCSSStyles)(e.ownerDocument.defaultView.getComputedStyle(e,null),a),a.style.position=\"absolute\",a.style.left=r.bounds.left+\"px\",a.style.top=r.bounds.top+\"px\",i||(a.style.whiteSpace=\"nowrap\");var o=e.ownerDocument.createTextNode(t);a.appendChild(o),s.appendChild(a),r.childNodes.push(n.default.fromTextNode(o,r)),s.removeChild(a)}}),w=function(t){var e=\"password\"===t.type?new Array(t.value.length+1).join(\"•\"):t.value;return 0===e.length?t.placeholder||\"\":e}},{\"./Bounds\":11,\"./Color\":13,\"./Length\":18,\"./TextBounds\":28,\"./TextContainer\":29,\"./Util\":31,\"./drawing/Circle\":34,\"./drawing/Vector\":37,\"./parsing/background\":39,\"./parsing/border\":40}],18:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.calculateLengthFromValueWithUnit=r.LENGTH_TYPE=void 0;var n,i=function(){function t(t,e){for(var r=0;rr?y(t,i,s.length>0):n.integers.reduce(function(e,r,i){for(;t>=r;)t-=r,e+=n.values[i];return e},\"\")+s},d=function(t,e,r,n){var i=\"\";do{r||t--,i=n(t)+i,t/=e}while(t*e>=e);return i},m=function(t,e,r,n,i){var s=r-e+1;return(t<0?\"-\":\"\")+(d(Math.abs(t),s,n,function(t){return(0,o.fromCodePoint)(Math.floor(t%s)+e)})+i)},g=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\". \",n=e.length;return d(Math.abs(t),n,!1,function(t){return e[Math.floor(t%n)]})+r},v=function(t,e,r,i,s,o){if(t<-9999||t>9999)return y(t,a.LIST_STYLE_TYPE.CJK_DECIMAL,s.length>0);var A=Math.abs(t),l=s;if(0===A)return e[0]+l;for(var h=0;A>0&&h<=4;h++){var c=A%10;0===c&&(0,n.contains)(o,1)&&\"\"!==l?l=e[c]+l:c>1||1===c&&0===h||1===c&&1===h&&(0,n.contains)(o,2)||1===c&&1===h&&(0,n.contains)(o,4)&&t>100||1===c&&h>1&&(0,n.contains)(o,8)?l=e[c]+(h>0?r[h-1]:\"\")+l:1===c&&h>0&&(l=r[h-1]+l),A=Math.floor(A/10)}return(t<0?i:\"\")+l},y=r.createCounterText=function(t,e,r){var n=r?\". \":\"\",i=r?\"、\":\"\",s=r?\", \":\"\";switch(e){case a.LIST_STYLE_TYPE.DISC:return\"•\";case a.LIST_STYLE_TYPE.CIRCLE:return\"◦\";case a.LIST_STYLE_TYPE.SQUARE:return\"◾\";case a.LIST_STYLE_TYPE.DECIMAL_LEADING_ZERO:var o=m(t,48,57,!0,n);return o.length<4?\"0\"+o:o;case a.LIST_STYLE_TYPE.CJK_DECIMAL:return g(t,\"〇一二三四五六七八九\",i);case a.LIST_STYLE_TYPE.LOWER_ROMAN:return p(t,1,3999,h,a.LIST_STYLE_TYPE.DECIMAL,n).toLowerCase();case a.LIST_STYLE_TYPE.UPPER_ROMAN:return p(t,1,3999,h,a.LIST_STYLE_TYPE.DECIMAL,n);case a.LIST_STYLE_TYPE.LOWER_GREEK:return m(t,945,969,!1,n);case a.LIST_STYLE_TYPE.LOWER_ALPHA:return m(t,97,122,!1,n);case a.LIST_STYLE_TYPE.UPPER_ALPHA:return m(t,65,90,!1,n);case a.LIST_STYLE_TYPE.ARABIC_INDIC:return m(t,1632,1641,!0,n);case a.LIST_STYLE_TYPE.ARMENIAN:case a.LIST_STYLE_TYPE.UPPER_ARMENIAN:return p(t,1,9999,c,a.LIST_STYLE_TYPE.DECIMAL,n);case a.LIST_STYLE_TYPE.LOWER_ARMENIAN:return p(t,1,9999,c,a.LIST_STYLE_TYPE.DECIMAL,n).toLowerCase();case a.LIST_STYLE_TYPE.BENGALI:return m(t,2534,2543,!0,n);case a.LIST_STYLE_TYPE.CAMBODIAN:case a.LIST_STYLE_TYPE.KHMER:return m(t,6112,6121,!0,n);case a.LIST_STYLE_TYPE.CJK_EARTHLY_BRANCH:return g(t,\"子丑寅卯辰巳午未申酉戌亥\",i);case a.LIST_STYLE_TYPE.CJK_HEAVENLY_STEM:return g(t,\"甲乙丙丁戊己庚辛壬癸\",i);case a.LIST_STYLE_TYPE.CJK_IDEOGRAPHIC:case a.LIST_STYLE_TYPE.TRAD_CHINESE_INFORMAL:return v(t,\"零一二三四五六七八九\",\"十百千萬\",\"負\",i,14);case a.LIST_STYLE_TYPE.TRAD_CHINESE_FORMAL:return v(t,\"零壹貳參肆伍陸柒捌玖\",\"拾佰仟萬\",\"負\",i,15);case a.LIST_STYLE_TYPE.SIMP_CHINESE_INFORMAL:return v(t,\"零一二三四五六七八九\",\"十百千萬\",\"负\",i,14);case a.LIST_STYLE_TYPE.SIMP_CHINESE_FORMAL:return v(t,\"零壹贰叁肆伍陆柒捌玖\",\"拾佰仟萬\",\"负\",i,15);case a.LIST_STYLE_TYPE.JAPANESE_INFORMAL:return v(t,\"〇一二三四五六七八九\",\"十百千万\",\"マイナス\",i,0);case a.LIST_STYLE_TYPE.JAPANESE_FORMAL:return v(t,\"零壱弐参四伍六七八九\",\"拾百千万\",\"マイナス\",i,7);case a.LIST_STYLE_TYPE.KOREAN_HANGUL_FORMAL:return v(t,\"영일이삼사오육칠팔구\",\"십백천만\",\"마이너스 \",s,7);case a.LIST_STYLE_TYPE.KOREAN_HANJA_INFORMAL:return v(t,\"零一二三四五六七八九\",\"十百千萬\",\"마이너스 \",s,0);case a.LIST_STYLE_TYPE.KOREAN_HANJA_FORMAL:return v(t,\"零壹貳參四五六七八九\",\"拾百千\",\"마이너스 \",s,7);case a.LIST_STYLE_TYPE.DEVANAGARI:return m(t,2406,2415,!0,n);case a.LIST_STYLE_TYPE.GEORGIAN:return p(t,1,19999,f,a.LIST_STYLE_TYPE.DECIMAL,n);case a.LIST_STYLE_TYPE.GUJARATI:return m(t,2790,2799,!0,n);case a.LIST_STYLE_TYPE.GURMUKHI:return m(t,2662,2671,!0,n);case a.LIST_STYLE_TYPE.HEBREW:return p(t,1,10999,u,a.LIST_STYLE_TYPE.DECIMAL,n);case a.LIST_STYLE_TYPE.HIRAGANA:return g(t,\"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん\");case a.LIST_STYLE_TYPE.HIRAGANA_IROHA:return g(t,\"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす\");case a.LIST_STYLE_TYPE.KANNADA:return m(t,3302,3311,!0,n);case a.LIST_STYLE_TYPE.KATAKANA:return g(t,\"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン\",i);case a.LIST_STYLE_TYPE.KATAKANA_IROHA:return g(t,\"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス\",i);case a.LIST_STYLE_TYPE.LAO:return m(t,3792,3801,!0,n);case a.LIST_STYLE_TYPE.MONGOLIAN:return m(t,6160,6169,!0,n);case a.LIST_STYLE_TYPE.MYANMAR:return m(t,4160,4169,!0,n);case a.LIST_STYLE_TYPE.ORIYA:return m(t,2918,2927,!0,n);case a.LIST_STYLE_TYPE.PERSIAN:return m(t,1776,1785,!0,n);case a.LIST_STYLE_TYPE.TAMIL:return m(t,3046,3055,!0,n);case a.LIST_STYLE_TYPE.TELUGU:return m(t,3174,3183,!0,n);case a.LIST_STYLE_TYPE.THAI:return m(t,3664,3673,!0,n);case a.LIST_STYLE_TYPE.TIBETAN:return m(t,3872,3881,!0,n);case a.LIST_STYLE_TYPE.DECIMAL:default:return m(t,48,57,!0,n)}}},{\"./NodeContainer\":21,\"./TextContainer\":29,\"./Unicode\":30,\"./Util\":31,\"./parsing/listStyle\":47}],20:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=function(){function t(t,e){for(var r=0;r0&&this.style.visibility===T.VISIBILITY.VISIBLE}},{key:\"isAbsolutelyPositioned\",value:function(){return this.style.position!==B.POSITION.STATIC&&this.style.position!==B.POSITION.RELATIVE}},{key:\"isPositioned\",value:function(){return this.style.position!==B.POSITION.STATIC}},{key:\"isFloating\",value:function(){return this.style.float!==u.FLOAT.NONE}},{key:\"isRootElement\",value:function(){return null===this.parent}},{key:\"isTransformed\",value:function(){return null!==this.style.transform}},{key:\"isPositionedWithZIndex\",value:function(){return this.isPositioned()&&!this.style.zIndex.auto}},{key:\"isInlineLevel\",value:function(){return(0,o.contains)(this.style.display,c.DISPLAY.INLINE)||(0,o.contains)(this.style.display,c.DISPLAY.INLINE_BLOCK)||(0,o.contains)(this.style.display,c.DISPLAY.INLINE_FLEX)||(0,o.contains)(this.style.display,c.DISPLAY.INLINE_GRID)||(0,o.contains)(this.style.display,c.DISPLAY.INLINE_LIST_ITEM)||(0,o.contains)(this.style.display,c.DISPLAY.INLINE_TABLE)}},{key:\"isInlineBlockOrInlineTable\",value:function(){return(0,o.contains)(this.style.display,c.DISPLAY.INLINE_BLOCK)||(0,o.contains)(this.style.display,c.DISPLAY.INLINE_TABLE)}}]),t}();r.default=I;var H=function(t,e){if(t instanceof t.ownerDocument.defaultView.SVGSVGElement||t instanceof SVGSVGElement){var r=new XMLSerializer;return e.loadImage(\"data:image/svg+xml,\"+encodeURIComponent(r.serializeToString(t)))}switch(t.tagName){case\"IMG\":var n=t;return e.loadImage(n.currentSrc||n.src);case\"CANVAS\":var i=t;return e.loadCanvas(i);case\"IFRAME\":var s=t.getAttribute(\"data-html2canvas-internal-iframe-key\");if(s)return s}return null}},{\"./Bounds\":11,\"./Color\":13,\"./Input\":17,\"./ListItem\":19,\"./Util\":31,\"./parsing/background\":39,\"./parsing/border\":40,\"./parsing/borderRadius\":41,\"./parsing/display\":42,\"./parsing/float\":43,\"./parsing/font\":44,\"./parsing/letterSpacing\":45,\"./parsing/lineBreak\":46,\"./parsing/listStyle\":47,\"./parsing/margin\":48,\"./parsing/overflow\":49,\"./parsing/overflowWrap\":50,\"./parsing/padding\":51,\"./parsing/position\":52,\"./parsing/textDecoration\":53,\"./parsing/textShadow\":54,\"./parsing/textTransform\":55,\"./parsing/transform\":56,\"./parsing/visibility\":57,\"./parsing/word-break\":58,\"./parsing/zIndex\":59}],22:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.NodeParser=void 0;var n=l(t(\"./StackingContext\")),i=l(t(\"./NodeContainer\")),s=l(t(\"./TextContainer\")),a=t(\"./Input\"),o=t(\"./ListItem\"),A=t(\"./parsing/listStyle\");function l(t){return t&&t.__esModule?t:{default:t}}r.NodeParser=function(t,e,r){var s=0,a=new i.default(t,null,e,s++),o=new n.default(a,null,!0);return c(t,a,o,e,1),o};var h=[\"SCRIPT\",\"HEAD\",\"TITLE\",\"OBJECT\",\"BR\",\"OPTION\"],c=function t(e,r,l,c,p){for(var d,m=e.firstChild;m;m=d){d=m.nextSibling;var g=m.ownerDocument.defaultView;if(m instanceof g.Text||m instanceof Text||g.parent&&m instanceof g.parent.Text)m.data.trim().length>0&&r.childNodes.push(s.default.fromTextNode(m,r));else if(m instanceof g.HTMLElement||m instanceof HTMLElement||g.parent&&m instanceof g.parent.HTMLElement){if(-1===h.indexOf(m.nodeName)){var v=new i.default(m,r,c,p++);if(v.isVisible()){\"INPUT\"===m.tagName?(0,a.inlineInputElement)(m,v):\"TEXTAREA\"===m.tagName?(0,a.inlineTextAreaElement)(m,v):\"SELECT\"===m.tagName?(0,a.inlineSelectElement)(m,v):v.style.listStyle&&v.style.listStyle.listStyleType!==A.LIST_STYLE_TYPE.NONE&&(0,o.inlineListItemElement)(m,v,c);var y=\"TEXTAREA\"!==m.tagName,_=u(v,m);if(_||f(v)){var B=_||v.isPositioned()?l.getRealParentStackingContext():l,w=new n.default(v,B,_);B.contexts.push(w),y&&t(m,v,w,c,p)}else l.children.push(v),y&&t(m,v,l,c,p)}}}else if(m instanceof g.SVGSVGElement||m instanceof SVGSVGElement||g.parent&&m instanceof g.parent.SVGSVGElement){var b=new i.default(m,r,c,p++),C=u(b,m);if(C||f(b)){var E=C||b.isPositioned()?l.getRealParentStackingContext():l,T=new n.default(b,E,C);E.contexts.push(T)}else l.children.push(b)}}},u=function(t,e){return t.isRootElement()||t.isPositionedWithZIndex()||t.style.opacity<1||t.isTransformed()||p(t,e)},f=function(t){return t.isPositioned()||t.isFloating()},p=function(t,e){return\"BODY\"===e.nodeName&&t.parent instanceof i.default&&t.parent.style.background.backgroundColor.isTransparent()}},{\"./Input\":17,\"./ListItem\":19,\"./NodeContainer\":21,\"./StackingContext\":27,\"./TextContainer\":29,\"./parsing/listStyle\":47}],23:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.Proxy=void 0;var n,i=t(\"./Feature\"),s=(n=i)&&n.__esModule?n:{default:n};r.Proxy=function(t,e){if(!e.proxy)return Promise.reject(null);var r=e.proxy;return new Promise(function(n,i){var a=s.default.SUPPORT_CORS_XHR&&s.default.SUPPORT_RESPONSE_TYPE?\"blob\":\"text\",o=s.default.SUPPORT_CORS_XHR?new XMLHttpRequest:new XDomainRequest;if(o.onload=function(){if(o instanceof XMLHttpRequest)if(200===o.status)if(\"text\"===a)n(o.response);else{var t=new FileReader;t.addEventListener(\"load\",function(){return n(t.result)},!1),t.addEventListener(\"error\",function(t){return i(t)},!1),t.readAsDataURL(o.response)}else i(\"\");else n(o.responseText)},o.onerror=i,o.open(\"GET\",r+\"?url=\"+encodeURIComponent(t)+\"&responseType=\"+a),\"text\"!==a&&o instanceof XMLHttpRequest&&(o.responseType=a),e.imageTimeout){var A=e.imageTimeout;o.timeout=A,o.ontimeout=function(){return i(\"\")}}o.send()})}},{\"./Feature\":14}],24:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parseContent=r.resolvePseudoContent=r.popCounters=r.parseCounterReset=r.TOKEN_TYPE=r.PSEUDO_CONTENT_ITEM_TYPE=void 0;var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,s=t}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}(),i=t(\"./ListItem\"),s=t(\"./parsing/listStyle\"),a=r.PSEUDO_CONTENT_ITEM_TYPE={TEXT:0,IMAGE:1},o=r.TOKEN_TYPE={STRING:0,ATTRIBUTE:1,URL:2,COUNTER:3,COUNTERS:4,OPENQUOTE:5,CLOSEQUOTE:6},A=(r.parseCounterReset=function(t,e){if(!t||!t.counterReset||\"none\"===t.counterReset)return[];for(var r=[],i=t.counterReset.split(/\\s*,\\s*/),s=i.length,a=0;a0&&r.push({type:o.ATTRIBUTE,value:c[0]});break;case\"counter\":if(c.length>0){var p={type:o.COUNTER,name:c[0]};c.length>1&&(p.format=c[1]),r.push(p)}break;case\"counters\":if(c.length>0){var d={type:o.COUNTERS,name:c[0]};c.length>1&&(d.glue=c[1]),c.length>2&&(d.format=c[2]),r.push(d)}break;case\"url\":c.length>0&&r.push({type:o.URL,value:c[0]})}a=!1,A=\"\"}break;case\",\":i?A+=f:a&&(c.push(A),A=\"\");break;case\" \":case\"\\t\":i?A+=f:A&&(l(r,A),A=\"\");break;default:A+=f}\"\\\\\"!==f&&(s=!1)}return A&&l(r,A),e&&(e[t]=r),r}),l=function(t,e){switch(e){case\"open-quote\":t.push({type:o.OPENQUOTE});break;case\"close-quote\":t.push({type:o.CLOSEQUOTE})}},h=function(t,e,r){var n=t.quotes?t.quotes.split(/\\s+/):[\"'\\\"'\",\"'\\\"'\"],i=2*r;return i>=n.length&&(i=n.length-2),e||++i,n[i].replace(/^[\"']|[\"']$/g,\"\")},c=function(t,e,r){for(var n=t.length,a=\"\",o=0;o0&&(a+=e||\"\"),a+=(0,i.createCounterText)(t[o],(0,s.parseListStyleType)(r||\"decimal\"),!1);return a}},{\"./ListItem\":19,\"./parsing/listStyle\":47}],25:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n,i=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,s=t}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}(),s=function(){function t(t,e){for(var r=0;r0?r.width:n.width,s=\"number\"==typeof r.height&&r.height>0?r.height:n.height;i>0&&s>0&&e.target.clip([(0,a.calculatePaddingBoxPath)(t.curvedBounds)],function(){e.target.drawImage(r,new a.Bounds(0,0,i,s),n)})}}},n=t.getClipPaths();n.length?this.target.clip(n,r):r()}},{key:\"renderNodeBackgroundAndBorders\",value:function(t){var e=this,r=!t.style.background.backgroundColor.isTransparent()||t.style.background.backgroundImage.length,n=t.style.border.some(function(t){return t.borderStyle!==c.BORDER_STYLE.NONE&&!t.borderColor.isTransparent()}),i=function(){var n=(0,h.calculateBackgroungPaintingArea)(t.curvedBounds,t.style.background.backgroundClip);r&&e.target.clip([n],function(){t.style.background.backgroundColor.isTransparent()||e.target.fill(t.style.background.backgroundColor),e.renderBackgroundImage(t)}),t.style.border.forEach(function(r,n){r.borderStyle===c.BORDER_STYLE.NONE||r.borderColor.isTransparent()||e.renderBorder(r,n,t.curvedBounds)})};if(r||n){var s=t.parent?t.parent.getClipPaths():[];s.length?this.target.clip(s,i):i()}}},{key:\"renderBackgroundImage\",value:function(t){var e=this;t.style.background.backgroundImage.slice(0).reverse().forEach(function(r){\"url\"===r.source.method&&r.source.args.length?e.renderBackgroundRepeat(t,r):/gradient/i.test(r.source.method)&&e.renderBackgroundGradient(t,r)})}},{key:\"renderBackgroundRepeat\",value:function(t,e){var r=this.options.imageStore.get(e.source.args[0]);if(r){var n=(0,h.calculateBackgroungPositioningArea)(t.style.background.backgroundOrigin,t.bounds,t.style.padding,t.style.border),i=(0,h.calculateBackgroundSize)(e,r,n),s=(0,h.calculateBackgroundPosition)(e.position,i,n),a=(0,h.calculateBackgroundRepeatPath)(e,s,i,n,t.bounds),o=Math.round(n.left+s.x),A=Math.round(n.top+s.y);this.target.renderRepeat(a,r,i,o,A)}}},{key:\"renderBackgroundGradient\",value:function(t,e){var r=(0,h.calculateBackgroungPositioningArea)(t.style.background.backgroundOrigin,t.bounds,t.style.padding,t.style.border),n=(0,h.calculateGradientBackgroundSize)(e,r),i=(0,h.calculateBackgroundPosition)(e.position,n,r),s=new a.Bounds(Math.round(r.left+i.x),Math.round(r.top+i.y),n.width,n.height),A=(0,o.parseGradient)(t,e.source,s);if(A)switch(A.type){case o.GRADIENT_TYPE.LINEAR_GRADIENT:this.target.renderLinearGradient(s,A);break;case o.GRADIENT_TYPE.RADIAL_GRADIENT:this.target.renderRadialGradient(s,A)}}},{key:\"renderBorder\",value:function(t,e,r){this.target.drawShape((0,a.parsePathForBorder)(r,e),t.borderColor)}},{key:\"renderStack\",value:function(t){var e=this;if(t.container.isVisible()){var r=t.getOpacity();r!==this._opacity&&(this.target.setOpacity(t.getOpacity()),this._opacity=r);var n=t.container.style.transform;null!==n?this.target.transform(t.container.bounds.left+n.transformOrigin[0].value,t.container.bounds.top+n.transformOrigin[1].value,n.transform,function(){return e.renderStackContent(t)}):this.renderStackContent(t)}}},{key:\"renderStackContent\",value:function(t){var e=p(t),r=i(e,5),n=r[0],s=r[1],a=r[2],o=r[3],A=r[4],l=f(t),h=i(l,2),c=h[0],u=h[1];this.renderNodeBackgroundAndBorders(t.container),n.sort(d).forEach(this.renderStack,this),this.renderNodeContent(t.container),u.forEach(this.renderNode,this),o.forEach(this.renderStack,this),A.forEach(this.renderStack,this),c.forEach(this.renderNode,this),s.forEach(this.renderStack,this),a.sort(d).forEach(this.renderStack,this)}},{key:\"render\",value:function(t){this.options.backgroundColor&&this.target.rectangle(this.options.x,this.options.y,this.options.width,this.options.height,this.options.backgroundColor),this.renderStack(t);var e=this.target.getTarget();return e}}]),t}();r.default=u;var f=function(t){for(var e=[],r=[],n=t.children.length,i=0;i0?n.push(A):r.push(A):A.container.isFloating()?i.push(A):s.push(A)}return[e,r,n,i,s]},d=function(t,e){return t.container.style.zIndex.order>e.container.style.zIndex.order?1:t.container.style.zIndex.ordere.container.index?1:-1}},{\"./Bounds\":11,\"./Font\":15,\"./Gradient\":16,\"./TextContainer\":29,\"./parsing/background\":39,\"./parsing/border\":40}],26:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.ResourceStore=void 0;var n,i=function(){function t(t,e){for(var r=0;r0)if(o.default.SUPPORT_RANGE_BOUNDS)p.push(new l(g,c(r,d,g.length,u,f)));else{var v=r.splitText(g.length);p.push(new l(g,h(r,u,f))),r=v}else o.default.SUPPORT_RANGE_BOUNDS||(r=r.splitText(g.length));d+=g.length}return p},function(t,e,r){var n=t.ownerDocument.createElement(\"html2canvaswrapper\");n.appendChild(t.cloneNode(!0));var s=t.parentNode;if(s){s.replaceChild(n,t);var a=(0,i.parseBounds)(n,e,r);return n.firstChild&&s.replaceChild(n.firstChild,n),a}return new i.Bounds(0,0,0,0)}),c=function(t,e,r,n,s){var a=t.ownerDocument.createRange();return a.setStart(t,e),a.setEnd(t,e+r),i.Bounds.fromClientRect(a.getBoundingClientRect(),n,s)}},{\"./Bounds\":11,\"./Feature\":14,\"./Unicode\":30,\"./parsing/textDecoration\":53}],29:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=function(){function t(t,e){for(var r=0;r0?e+r.toUpperCase():t}},{\"./TextBounds\":28,\"./parsing/textTransform\":55}],30:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.breakWords=r.fromCodePoint=r.toCodePoints=void 0;var n=t(\"css-line-break\");Object.defineProperty(r,\"toCodePoints\",{enumerable:!0,get:function(){return n.toCodePoints}}),Object.defineProperty(r,\"fromCodePoint\",{enumerable:!0,get:function(){return n.fromCodePoint}});var i,s=t(\"./NodeContainer\"),a=((i=s)&&i.__esModule,t(\"./parsing/overflowWrap\"));r.breakWords=function(t,e){for(var r=(0,n.LineBreaker)(t,{lineBreak:e.style.lineBreak,wordBreak:e.style.overflowWrap===a.OVERFLOW_WRAP.BREAK_WORD?\"break-word\":e.style.wordBreak}),i=[],s=void 0;!(s=r.next()).done;)i.push(s.value.slice());return i}},{\"./NodeContainer\":21,\"./parsing/overflowWrap\":50,\"css-line-break\":4}],31:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});r.contains=function(t,e){return 0!=(t&e)},r.distance=function(t,e){return Math.sqrt(t*t+e*e)},r.copyCSSStyles=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t.item(r);\"content\"!==n&&e.style.setProperty(n,t.getPropertyValue(n))}return e},r.SMALL_IMAGE=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\"},{}],32:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.renderElement=void 0;var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,s=t}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}(),i=(f(t(\"./Logger\")),t(\"./NodeParser\")),s=f(t(\"./Renderer\")),a=f(t(\"./renderer/ForeignObjectRenderer\")),o=f(t(\"./Feature\")),A=t(\"./Bounds\"),l=t(\"./Clone\"),h=t(\"./Font\"),c=t(\"./Color\"),u=f(c);function f(t){return t&&t.__esModule?t:{default:t}}r.renderElement=function t(e,r,f){var p=e.ownerDocument,d=new A.Bounds(r.scrollX,r.scrollY,r.windowWidth,r.windowHeight),m=p.documentElement?new u.default(getComputedStyle(p.documentElement).backgroundColor):c.TRANSPARENT,g=p.body?new u.default(getComputedStyle(p.body).backgroundColor):c.TRANSPARENT,v=e===p.documentElement?m.isTransparent()?g.isTransparent()?r.backgroundColor?new u.default(r.backgroundColor):null:g:m:r.backgroundColor?new u.default(r.backgroundColor):null;return(r.foreignObjectRendering?o.default.SUPPORT_FOREIGNOBJECT_DRAWING:Promise.resolve(!1)).then(function(o){return o?(u=new l.DocumentCloner(e,r,f,!0,t)).inlineFonts(p).then(function(){return u.resourceLoader.ready()}).then(function(){var t=new a.default(u.documentElement),n=p.defaultView,i=n.pageXOffset,s=n.pageYOffset,o=\"HTML\"===e.tagName||\"BODY\"===e.tagName?(0,A.parseDocumentSize)(p):(0,A.parseBounds)(e,i,s),l=o.width,h=o.height,c=o.left,d=o.top;return t.render({backgroundColor:v,logger:f,scale:r.scale,x:\"number\"==typeof r.x?r.x:c,y:\"number\"==typeof r.y?r.y:d,width:\"number\"==typeof r.width?r.width:Math.ceil(l),height:\"number\"==typeof r.height?r.height:Math.ceil(h),windowWidth:r.windowWidth,windowHeight:r.windowHeight,scrollX:r.scrollX,scrollY:r.scrollY})}):(0,l.cloneWindow)(p,d,e,r,f,t).then(function(t){var e=n(t,3),a=e[0],o=e[1],l=e[2];var u=(0,i.NodeParser)(o,l,f),d=o.ownerDocument;return v===u.container.style.background.backgroundColor&&(u.container.style.background.backgroundColor=c.TRANSPARENT),l.ready().then(function(t){var e=new h.FontMetrics(d);var n=d.defaultView,i=n.pageXOffset,l=n.pageYOffset,c=\"HTML\"===o.tagName||\"BODY\"===o.tagName?(0,A.parseDocumentSize)(p):(0,A.parseBounds)(o,i,l),m=c.width,g=c.height,y=c.left,_=c.top,B={backgroundColor:v,fontMetrics:e,imageStore:t,logger:f,scale:r.scale,x:\"number\"==typeof r.x?r.x:y,y:\"number\"==typeof r.y?r.y:_,width:\"number\"==typeof r.width?r.width:Math.ceil(m),height:\"number\"==typeof r.height?r.height:Math.ceil(g)};if(Array.isArray(r.target))return Promise.all(r.target.map(function(t){return new s.default(t,B).render(u)}));var w=new s.default(r.target,B).render(u);return!0===r.removeContainer&&a.parentNode&&a.parentNode.removeChild(a),w})});var u})}},{\"./Bounds\":11,\"./Clone\":12,\"./Color\":13,\"./Feature\":14,\"./Font\":15,\"./Logger\":20,\"./NodeParser\":22,\"./Renderer\":25,\"./renderer/ForeignObjectRenderer\":61}],33:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n,i=function(){function t(t,e){for(var r=0;r0&&(t=i.substr(0,e).toLowerCase(),i=i.substr(e)),\"none\"!==(i=i.toLowerCase())&&r.push({prefix:t,method:i,args:n})}n=[],i=a=\"\"};return t.split(\"\").forEach(function(t){if(0!==o||!e.test(t)){switch(t){case'\"':s?s===t&&(s=null):s=t;break;case\"(\":if(s)break;if(0===o)return void(o=1);A++;break;case\")\":if(s)break;if(1===o){if(0===A)return o=0,void l();A--}break;case\",\":if(s)break;if(0===o)return void l();if(1===o&&0===A&&!i.match(/^url$/i))return n.push(a.trim()),void(a=\"\")}0===o?i+=t:a+=t}}),l(),r}},{\"../Bounds\":11,\"../Color\":13,\"../Length\":18,\"../drawing/Size\":36,\"../drawing/Vector\":37,\"./padding\":51}],40:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parseBorder=r.BORDER_SIDES=r.BORDER_STYLE=void 0;var n,i=t(\"../Color\"),s=(n=i)&&n.__esModule?n:{default:n};var a=r.BORDER_STYLE={NONE:0,SOLID:1},o=r.BORDER_SIDES={TOP:0,RIGHT:1,BOTTOM:2,LEFT:3},A=Object.keys(o).map(function(t){return t.toLowerCase()});r.parseBorder=function(t){return A.map(function(e){var r=new s.default(t.getPropertyValue(\"border-\"+e+\"-color\")),n=function(t){switch(t){case\"none\":return a.NONE}return a.SOLID}(t.getPropertyValue(\"border-\"+e+\"-style\")),i=parseFloat(t.getPropertyValue(\"border-\"+e+\"-width\"));return{borderColor:r,borderStyle:n,borderWidth:isNaN(i)?0:i}})}},{\"../Color\":13}],41:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parseBorderRadius=void 0;var n,i=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,s=t}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}(),s=t(\"../Length\"),a=(n=s)&&n.__esModule?n:{default:n};var o=[\"top-left\",\"top-right\",\"bottom-right\",\"bottom-left\"];r.parseBorderRadius=function(t){return o.map(function(e){var r=t.getPropertyValue(\"border-\"+e+\"-radius\").split(\" \").map(a.default.create),n=i(r,2),s=n[0],o=n[1];return void 0===o?[s,s]:[s,o]})}},{\"../Length\":18}],42:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=r.DISPLAY={NONE:1,BLOCK:2,INLINE:4,RUN_IN:8,FLOW:16,FLOW_ROOT:32,TABLE:64,FLEX:128,GRID:256,RUBY:512,SUBGRID:1024,LIST_ITEM:2048,TABLE_ROW_GROUP:4096,TABLE_HEADER_GROUP:8192,TABLE_FOOTER_GROUP:16384,TABLE_ROW:32768,TABLE_CELL:65536,TABLE_COLUMN_GROUP:1<<17,TABLE_COLUMN:1<<18,TABLE_CAPTION:1<<19,RUBY_BASE:1<<20,RUBY_TEXT:1<<21,RUBY_BASE_CONTAINER:1<<22,RUBY_TEXT_CONTAINER:1<<23,CONTENTS:1<<24,INLINE_BLOCK:1<<25,INLINE_LIST_ITEM:1<<26,INLINE_TABLE:1<<27,INLINE_FLEX:1<<28,INLINE_GRID:1<<29},i=function(t,e){return t|function(t){switch(t){case\"block\":return n.BLOCK;case\"inline\":return n.INLINE;case\"run-in\":return n.RUN_IN;case\"flow\":return n.FLOW;case\"flow-root\":return n.FLOW_ROOT;case\"table\":return n.TABLE;case\"flex\":return n.FLEX;case\"grid\":return n.GRID;case\"ruby\":return n.RUBY;case\"subgrid\":return n.SUBGRID;case\"list-item\":return n.LIST_ITEM;case\"table-row-group\":return n.TABLE_ROW_GROUP;case\"table-header-group\":return n.TABLE_HEADER_GROUP;case\"table-footer-group\":return n.TABLE_FOOTER_GROUP;case\"table-row\":return n.TABLE_ROW;case\"table-cell\":return n.TABLE_CELL;case\"table-column-group\":return n.TABLE_COLUMN_GROUP;case\"table-column\":return n.TABLE_COLUMN;case\"table-caption\":return n.TABLE_CAPTION;case\"ruby-base\":return n.RUBY_BASE;case\"ruby-text\":return n.RUBY_TEXT;case\"ruby-base-container\":return n.RUBY_BASE_CONTAINER;case\"ruby-text-container\":return n.RUBY_TEXT_CONTAINER;case\"contents\":return n.CONTENTS;case\"inline-block\":return n.INLINE_BLOCK;case\"inline-list-item\":return n.INLINE_LIST_ITEM;case\"inline-table\":return n.INLINE_TABLE;case\"inline-flex\":return n.INLINE_FLEX;case\"inline-grid\":return n.INLINE_GRID}return n.NONE}(e)};r.parseDisplay=function(t){return t.split(\" \").reduce(i,0)}},{}],43:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=r.FLOAT={NONE:0,LEFT:1,RIGHT:2,INLINE_START:3,INLINE_END:4};r.parseCSSFloat=function(t){switch(t){case\"left\":return n.LEFT;case\"right\":return n.RIGHT;case\"inline-start\":return n.INLINE_START;case\"inline-end\":return n.INLINE_END}return n.NONE}},{}],44:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});r.parseFont=function(t){return{fontFamily:t.fontFamily,fontSize:t.fontSize,fontStyle:t.fontStyle,fontVariant:t.fontVariant,fontWeight:function(t){switch(t){case\"normal\":return 400;case\"bold\":return 700}var e=parseInt(t,10);return isNaN(e)?400:e}(t.fontWeight)}}},{}],45:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});r.parseLetterSpacing=function(t){if(\"normal\"===t)return 0;var e=parseFloat(t);return isNaN(e)?0:e}},{}],46:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=r.LINE_BREAK={NORMAL:\"normal\",STRICT:\"strict\"};r.parseLineBreak=function(t){switch(t){case\"strict\":return n.STRICT;case\"normal\":default:return n.NORMAL}}},{}],47:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parseListStyle=r.parseListStyleType=r.LIST_STYLE_TYPE=r.LIST_STYLE_POSITION=void 0;var n=t(\"./background\"),i=r.LIST_STYLE_POSITION={INSIDE:0,OUTSIDE:1},s=r.LIST_STYLE_TYPE={NONE:-1,DISC:0,CIRCLE:1,SQUARE:2,DECIMAL:3,CJK_DECIMAL:4,DECIMAL_LEADING_ZERO:5,LOWER_ROMAN:6,UPPER_ROMAN:7,LOWER_GREEK:8,LOWER_ALPHA:9,UPPER_ALPHA:10,ARABIC_INDIC:11,ARMENIAN:12,BENGALI:13,CAMBODIAN:14,CJK_EARTHLY_BRANCH:15,CJK_HEAVENLY_STEM:16,CJK_IDEOGRAPHIC:17,DEVANAGARI:18,ETHIOPIC_NUMERIC:19,GEORGIAN:20,GUJARATI:21,GURMUKHI:22,HEBREW:22,HIRAGANA:23,HIRAGANA_IROHA:24,JAPANESE_FORMAL:25,JAPANESE_INFORMAL:26,KANNADA:27,KATAKANA:28,KATAKANA_IROHA:29,KHMER:30,KOREAN_HANGUL_FORMAL:31,KOREAN_HANJA_FORMAL:32,KOREAN_HANJA_INFORMAL:33,LAO:34,LOWER_ARMENIAN:35,MALAYALAM:36,MONGOLIAN:37,MYANMAR:38,ORIYA:39,PERSIAN:40,SIMP_CHINESE_FORMAL:41,SIMP_CHINESE_INFORMAL:42,TAMIL:43,TELUGU:44,THAI:45,TIBETAN:46,TRAD_CHINESE_FORMAL:47,TRAD_CHINESE_INFORMAL:48,UPPER_ARMENIAN:49,DISCLOSURE_OPEN:50,DISCLOSURE_CLOSED:51},a=r.parseListStyleType=function(t){switch(t){case\"disc\":return s.DISC;case\"circle\":return s.CIRCLE;case\"square\":return s.SQUARE;case\"decimal\":return s.DECIMAL;case\"cjk-decimal\":return s.CJK_DECIMAL;case\"decimal-leading-zero\":return s.DECIMAL_LEADING_ZERO;case\"lower-roman\":return s.LOWER_ROMAN;case\"upper-roman\":return s.UPPER_ROMAN;case\"lower-greek\":return s.LOWER_GREEK;case\"lower-alpha\":return s.LOWER_ALPHA;case\"upper-alpha\":return s.UPPER_ALPHA;case\"arabic-indic\":return s.ARABIC_INDIC;case\"armenian\":return s.ARMENIAN;case\"bengali\":return s.BENGALI;case\"cambodian\":return s.CAMBODIAN;case\"cjk-earthly-branch\":return s.CJK_EARTHLY_BRANCH;case\"cjk-heavenly-stem\":return s.CJK_HEAVENLY_STEM;case\"cjk-ideographic\":return s.CJK_IDEOGRAPHIC;case\"devanagari\":return s.DEVANAGARI;case\"ethiopic-numeric\":return s.ETHIOPIC_NUMERIC;case\"georgian\":return s.GEORGIAN;case\"gujarati\":return s.GUJARATI;case\"gurmukhi\":return s.GURMUKHI;case\"hebrew\":return s.HEBREW;case\"hiragana\":return s.HIRAGANA;case\"hiragana-iroha\":return s.HIRAGANA_IROHA;case\"japanese-formal\":return s.JAPANESE_FORMAL;case\"japanese-informal\":return s.JAPANESE_INFORMAL;case\"kannada\":return s.KANNADA;case\"katakana\":return s.KATAKANA;case\"katakana-iroha\":return s.KATAKANA_IROHA;case\"khmer\":return s.KHMER;case\"korean-hangul-formal\":return s.KOREAN_HANGUL_FORMAL;case\"korean-hanja-formal\":return s.KOREAN_HANJA_FORMAL;case\"korean-hanja-informal\":return s.KOREAN_HANJA_INFORMAL;case\"lao\":return s.LAO;case\"lower-armenian\":return s.LOWER_ARMENIAN;case\"malayalam\":return s.MALAYALAM;case\"mongolian\":return s.MONGOLIAN;case\"myanmar\":return s.MYANMAR;case\"oriya\":return s.ORIYA;case\"persian\":return s.PERSIAN;case\"simp-chinese-formal\":return s.SIMP_CHINESE_FORMAL;case\"simp-chinese-informal\":return s.SIMP_CHINESE_INFORMAL;case\"tamil\":return s.TAMIL;case\"telugu\":return s.TELUGU;case\"thai\":return s.THAI;case\"tibetan\":return s.TIBETAN;case\"trad-chinese-formal\":return s.TRAD_CHINESE_FORMAL;case\"trad-chinese-informal\":return s.TRAD_CHINESE_INFORMAL;case\"upper-armenian\":return s.UPPER_ARMENIAN;case\"disclosure-open\":return s.DISCLOSURE_OPEN;case\"disclosure-closed\":return s.DISCLOSURE_CLOSED;case\"none\":default:return s.NONE}},o=(r.parseListStyle=function(t){var e=(0,n.parseBackgroundImage)(t.getPropertyValue(\"list-style-image\"));return{listStyleType:a(t.getPropertyValue(\"list-style-type\")),listStyleImage:e.length?e[0]:null,listStylePosition:o(t.getPropertyValue(\"list-style-position\"))}},function(t){switch(t){case\"inside\":return i.INSIDE;case\"outside\":default:return i.OUTSIDE}})},{\"./background\":39}],48:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parseMargin=void 0;var n,i=t(\"../Length\"),s=(n=i)&&n.__esModule?n:{default:n};var a=[\"top\",\"right\",\"bottom\",\"left\"];r.parseMargin=function(t){return a.map(function(e){return new s.default(t.getPropertyValue(\"margin-\"+e))})}},{\"../Length\":18}],49:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=r.OVERFLOW={VISIBLE:0,HIDDEN:1,SCROLL:2,AUTO:3};r.parseOverflow=function(t){switch(t){case\"hidden\":return n.HIDDEN;case\"scroll\":return n.SCROLL;case\"auto\":return n.AUTO;case\"visible\":default:return n.VISIBLE}}},{}],50:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=r.OVERFLOW_WRAP={NORMAL:0,BREAK_WORD:1};r.parseOverflowWrap=function(t){switch(t){case\"break-word\":return n.BREAK_WORD;case\"normal\":default:return n.NORMAL}}},{}],51:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parsePadding=r.PADDING_SIDES=void 0;var n,i=t(\"../Length\"),s=(n=i)&&n.__esModule?n:{default:n};r.PADDING_SIDES={TOP:0,RIGHT:1,BOTTOM:2,LEFT:3};var a=[\"top\",\"right\",\"bottom\",\"left\"];r.parsePadding=function(t){return a.map(function(e){return new s.default(t.getPropertyValue(\"padding-\"+e))})}},{\"../Length\":18}],52:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=r.POSITION={STATIC:0,RELATIVE:1,ABSOLUTE:2,FIXED:3,STICKY:4};r.parsePosition=function(t){switch(t){case\"relative\":return n.RELATIVE;case\"absolute\":return n.ABSOLUTE;case\"fixed\":return n.FIXED;case\"sticky\":return n.STICKY}return n.STATIC}},{}],53:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parseTextDecoration=r.TEXT_DECORATION_LINE=r.TEXT_DECORATION=r.TEXT_DECORATION_STYLE=void 0;var n,i=t(\"../Color\"),s=(n=i)&&n.__esModule?n:{default:n};var a=r.TEXT_DECORATION_STYLE={SOLID:0,DOUBLE:1,DOTTED:2,DASHED:3,WAVY:4},o=r.TEXT_DECORATION={NONE:null},A=r.TEXT_DECORATION_LINE={UNDERLINE:1,OVERLINE:2,LINE_THROUGH:3,BLINK:4},l=function(t){switch(t){case\"underline\":return A.UNDERLINE;case\"overline\":return A.OVERLINE;case\"line-through\":return A.LINE_THROUGH}return A.BLINK};r.parseTextDecoration=function(t){var e,r=\"none\"===(e=t.textDecorationLine?t.textDecorationLine:t.textDecoration)?null:e.split(\" \").map(l);return null===r?o.NONE:{textDecorationLine:r,textDecorationColor:t.textDecorationColor?new s.default(t.textDecorationColor):null,textDecorationStyle:function(t){switch(t){case\"double\":return a.DOUBLE;case\"dotted\":return a.DOTTED;case\"dashed\":return a.DASHED;case\"wavy\":return a.WAVY}return a.SOLID}(t.textDecorationStyle)}}},{\"../Color\":13}],54:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.parseTextShadow=void 0;var n,i=t(\"../Color\"),s=(n=i)&&n.__esModule?n:{default:n};var a=/^([+-]|\\d|\\.)$/i;r.parseTextShadow=function(t){if(\"none\"===t||\"string\"!=typeof t)return null;for(var e=\"\",r=!1,n=[],i=[],o=0,A=null,l=function(){e.length&&(r?n.push(parseFloat(e)):A=new s.default(e)),r=!1,e=\"\"},h=function(){n.length&&null!==A&&i.push({color:A,offsetX:n[0]||0,offsetY:n[1]||0,blur:n[2]||0}),n.splice(0,n.length),A=null},c=0;c0&&e-1 in t)}_.fn=_.prototype={jquery:\"3.3.1\",constructor:_,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=_.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return _.each(this,t)},map:function(t){return this.pushStack(_.map(this,function(e,r){return t.call(e,r,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,r=+t+(t<0?e:0);return this.pushStack(r>=0&&r+~]|\"+M+\")\"+M+\"*\"),z=new RegExp(\"=\"+M+\"*([^\\\\]'\\\"]*?)\"+M+\"*\\\\]\",\"g\"),G=new RegExp(O),X=new RegExp(\"^\"+k+\"$\"),j={ID:new RegExp(\"^#(\"+k+\")\"),CLASS:new RegExp(\"^\\\\.(\"+k+\")\"),TAG:new RegExp(\"^(\"+k+\"|[*])\"),ATTR:new RegExp(\"^\"+N),PSEUDO:new RegExp(\"^\"+O),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+M+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+M+\"*(?:([+-]|)\"+M+\"*(\\\\d+)|))\"+M+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+D+\")$\",\"i\"),needsContext:new RegExp(\"^\"+M+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+M+\"*((?:-\\\\d)?\\\\d*)\"+M+\"*\\\\)|)(?=[^-]|$)\",\"i\")},Y=/^(?:input|select|textarea|button)$/i,W=/^h\\d$/i,J=/^[^{]+\\{\\s*\\[native \\w/,q=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,Z=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+M+\"?|(\"+M+\")|.)\",\"ig\"),tt=function(t,e,r){var n=\"0x\"+e-65536;return n!=n||r?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},et=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,rt=function(t,e){return e?\"\\0\"===t?\"�\":t.slice(0,-1)+\"\\\\\"+t.charCodeAt(t.length-1).toString(16)+\" \":\"\\\\\"+t},nt=function(){u()},it=vt(function(t){return!0===t.disabled&&(\"form\"in t||\"label\"in t)},{dir:\"parentNode\",next:\"legend\"});try{P.apply(Q=I.call(B.childNodes),B.childNodes),Q[B.childNodes.length].nodeType}catch(t){P={apply:Q.length?function(t,e){U.apply(t,I.call(e))}:function(t,e){for(var r=t.length,n=0;t[r++]=e[n++];);t.length=r-1}}}function st(t,e,n,i){var s,o,l,h,c,p,g,v=e&&e.ownerDocument,w=e?e.nodeType:9;if(n=n||[],\"string\"!=typeof t||!t||1!==w&&9!==w&&11!==w)return n;if(!i&&((e?e.ownerDocument||e:B)!==f&&u(e),e=e||f,d)){if(11!==w&&(c=q.exec(t)))if(s=c[1]){if(9===w){if(!(l=e.getElementById(s)))return n;if(l.id===s)return n.push(l),n}else if(v&&(l=v.getElementById(s))&&y(e,l)&&l.id===s)return n.push(l),n}else{if(c[2])return P.apply(n,e.getElementsByTagName(t)),n;if((s=c[3])&&r.getElementsByClassName&&e.getElementsByClassName)return P.apply(n,e.getElementsByClassName(s)),n}if(r.qsa&&!T[t+\" \"]&&(!m||!m.test(t))){if(1!==w)v=e,g=t;else if(\"object\"!==e.nodeName.toLowerCase()){for((h=e.getAttribute(\"id\"))?h=h.replace(et,rt):e.setAttribute(\"id\",h=_),o=(p=a(t)).length;o--;)p[o]=\"#\"+h+\" \"+gt(p[o]);g=p.join(\",\"),v=$.test(t)&&dt(e.parentNode)||e}if(g)try{return P.apply(n,v.querySelectorAll(g)),n}catch(t){}finally{h===_&&e.removeAttribute(\"id\")}}}return A(t.replace(L,\"$1\"),e,n,i)}function at(){var t=[];return function e(r,i){return t.push(r+\" \")>n.cacheLength&&delete e[t.shift()],e[r+\" \"]=i}}function ot(t){return t[_]=!0,t}function At(t){var e=f.createElement(\"fieldset\");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function lt(t,e){for(var r=t.split(\"|\"),i=r.length;i--;)n.attrHandle[r[i]]=e}function ht(t,e){var r=e&&t,n=r&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(r)for(;r=r.nextSibling;)if(r===e)return-1;return t?1:-1}function ct(t){return function(e){return\"input\"===e.nodeName.toLowerCase()&&e.type===t}}function ut(t){return function(e){var r=e.nodeName.toLowerCase();return(\"input\"===r||\"button\"===r)&&e.type===t}}function ft(t){return function(e){return\"form\"in e?e.parentNode&&!1===e.disabled?\"label\"in e?\"label\"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&it(e)===t:e.disabled===t:\"label\"in e&&e.disabled===t}}function pt(t){return ot(function(e){return e=+e,ot(function(r,n){for(var i,s=t([],r.length,e),a=s.length;a--;)r[i=s[a]]&&(r[i]=!(n[i]=r[i]))})})}function dt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in r=st.support={},s=st.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&\"HTML\"!==e.nodeName},u=st.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:B;return a!==f&&9===a.nodeType&&a.documentElement?(p=(f=a).documentElement,d=!s(f),B!==f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener(\"unload\",nt,!1):i.attachEvent&&i.attachEvent(\"onunload\",nt)),r.attributes=At(function(t){return t.className=\"i\",!t.getAttribute(\"className\")}),r.getElementsByTagName=At(function(t){return t.appendChild(f.createComment(\"\")),!t.getElementsByTagName(\"*\").length}),r.getElementsByClassName=J.test(f.getElementsByClassName),r.getById=At(function(t){return p.appendChild(t).id=_,!f.getElementsByName||!f.getElementsByName(_).length}),r.getById?(n.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){return t.getAttribute(\"id\")===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var r=e.getElementById(t);return r?[r]:[]}}):(n.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){var r=void 0!==t.getAttributeNode&&t.getAttributeNode(\"id\");return r&&r.value===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var r,n,i,s=e.getElementById(t);if(s){if((r=s.getAttributeNode(\"id\"))&&r.value===t)return[s];for(i=e.getElementsByName(t),n=0;s=i[n++];)if((r=s.getAttributeNode(\"id\"))&&r.value===t)return[s]}return[]}}),n.find.TAG=r.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):r.qsa?e.querySelectorAll(t):void 0}:function(t,e){var r,n=[],i=0,s=e.getElementsByTagName(t);if(\"*\"===t){for(;r=s[i++];)1===r.nodeType&&n.push(r);return n}return s},n.find.CLASS=r.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&d)return e.getElementsByClassName(t)},g=[],m=[],(r.qsa=J.test(f.querySelectorAll))&&(At(function(t){p.appendChild(t).innerHTML=\"\",t.querySelectorAll(\"[msallowcapture^='']\").length&&m.push(\"[*^$]=\"+M+\"*(?:''|\\\"\\\")\"),t.querySelectorAll(\"[selected]\").length||m.push(\"\\\\[\"+M+\"*(?:value|\"+D+\")\"),t.querySelectorAll(\"[id~=\"+_+\"-]\").length||m.push(\"~=\"),t.querySelectorAll(\":checked\").length||m.push(\":checked\"),t.querySelectorAll(\"a#\"+_+\"+*\").length||m.push(\".#.+[+~]\")}),At(function(t){t.innerHTML=\"\";var e=f.createElement(\"input\");e.setAttribute(\"type\",\"hidden\"),t.appendChild(e).setAttribute(\"name\",\"D\"),t.querySelectorAll(\"[name=d]\").length&&m.push(\"name\"+M+\"*[*^$|!~]?=\"),2!==t.querySelectorAll(\":enabled\").length&&m.push(\":enabled\",\":disabled\"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(\":disabled\").length&&m.push(\":enabled\",\":disabled\"),t.querySelectorAll(\"*,:x\"),m.push(\",.*:\")})),(r.matchesSelector=J.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&At(function(t){r.disconnectedMatch=v.call(t,\"*\"),v.call(t,\"[s!='']:x\"),g.push(\"!=\",O)}),m=m.length&&new RegExp(m.join(\"|\")),g=g.length&&new RegExp(g.join(\"|\")),e=J.test(p.compareDocumentPosition),y=e||J.test(p.contains)?function(t,e){var r=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(r.contains?r.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},x=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!r.sortDetached&&e.compareDocumentPosition(t)===n?t===f||t.ownerDocument===B&&y(B,t)?-1:e===f||e.ownerDocument===B&&y(B,e)?1:h?H(h,t)-H(h,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var r,n=0,i=t.parentNode,s=e.parentNode,a=[t],o=[e];if(!i||!s)return t===f?-1:e===f?1:i?-1:s?1:h?H(h,t)-H(h,e):0;if(i===s)return ht(t,e);for(r=t;r=r.parentNode;)a.unshift(r);for(r=e;r=r.parentNode;)o.unshift(r);for(;a[n]===o[n];)n++;return n?ht(a[n],o[n]):a[n]===B?-1:o[n]===B?1:0},f):f},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if((t.ownerDocument||t)!==f&&u(t),e=e.replace(z,\"='$1']\"),r.matchesSelector&&d&&!T[e+\" \"]&&(!g||!g.test(e))&&(!m||!m.test(e)))try{var n=v.call(t,e);if(n||r.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return st(e,f,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!==f&&u(t),y(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!==f&&u(t);var i=n.attrHandle[e.toLowerCase()],s=i&&F.call(n.attrHandle,e.toLowerCase())?i(t,e,!d):void 0;return void 0!==s?s:r.attributes||!d?t.getAttribute(e):(s=t.getAttributeNode(e))&&s.specified?s.value:null},st.escape=function(t){return(t+\"\").replace(et,rt)},st.error=function(t){throw new Error(\"Syntax error, unrecognized expression: \"+t)},st.uniqueSort=function(t){var e,n=[],i=0,s=0;if(c=!r.detectDuplicates,h=!r.sortStable&&t.slice(0),t.sort(x),c){for(;e=t[s++];)e===t[s]&&(i=n.push(s));for(;i--;)t.splice(n[i],1)}return h=null,t},i=st.getText=function(t){var e,r=\"\",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if(\"string\"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)r+=i(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)r+=i(e);return r},(n=st.selectors={cacheLength:50,createPseudo:ot,match:j,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||\"\").replace(Z,tt),\"~=\"===t[2]&&(t[3]=\" \"+t[3]+\" \"),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),\"nth\"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*(\"even\"===t[3]||\"odd\"===t[3])),t[5]=+(t[7]+t[8]||\"odd\"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,r=!t[6]&&t[2];return j.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||\"\":r&&G.test(r)&&(e=a(r,!0))&&(e=r.indexOf(\")\",r.length-e)-r.length)&&(t[0]=t[0].slice(0,e),t[2]=r.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Z,tt).toLowerCase();return\"*\"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+\" \"];return e||(e=new RegExp(\"(^|\"+M+\")\"+t+\"(\"+M+\"|$)\"))&&C(t,function(t){return e.test(\"string\"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute(\"class\")||\"\")})},ATTR:function(t,e,r){return function(n){var i=st.attr(n,t);return null==i?\"!=\"===e:!e||(i+=\"\",\"=\"===e?i===r:\"!=\"===e?i!==r:\"^=\"===e?r&&0===i.indexOf(r):\"*=\"===e?r&&i.indexOf(r)>-1:\"$=\"===e?r&&i.slice(-r.length)===r:\"~=\"===e?(\" \"+i.replace(R,\" \")+\" \").indexOf(r)>-1:\"|=\"===e&&(i===r||i.slice(0,r.length+1)===r+\"-\"))}},CHILD:function(t,e,r,n,i){var s=\"nth\"!==t.slice(0,3),a=\"last\"!==t.slice(-4),o=\"of-type\"===e;return 1===n&&0===i?function(t){return!!t.parentNode}:function(e,r,A){var l,h,c,u,f,p,d=s!==a?\"nextSibling\":\"previousSibling\",m=e.parentNode,g=o&&e.nodeName.toLowerCase(),v=!A&&!o,y=!1;if(m){if(s){for(;d;){for(u=e;u=u[d];)if(o?u.nodeName.toLowerCase()===g:1===u.nodeType)return!1;p=d=\"only\"===t&&!p&&\"nextSibling\"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&v){for(y=(f=(l=(h=(c=(u=m)[_]||(u[_]={}))[u.uniqueID]||(c[u.uniqueID]={}))[t]||[])[0]===w&&l[1])&&l[2],u=f&&m.childNodes[f];u=++f&&u&&u[d]||(y=f=0)||p.pop();)if(1===u.nodeType&&++y&&u===e){h[t]=[w,f,y];break}}else if(v&&(y=f=(l=(h=(c=(u=e)[_]||(u[_]={}))[u.uniqueID]||(c[u.uniqueID]={}))[t]||[])[0]===w&&l[1]),!1===y)for(;(u=++f&&u&&u[d]||(y=f=0)||p.pop())&&((o?u.nodeName.toLowerCase()!==g:1!==u.nodeType)||!++y||(v&&((h=(c=u[_]||(u[_]={}))[u.uniqueID]||(c[u.uniqueID]={}))[t]=[w,y]),u!==e)););return(y-=i)===n||y%n==0&&y/n>=0}}},PSEUDO:function(t,e){var r,i=n.pseudos[t]||n.setFilters[t.toLowerCase()]||st.error(\"unsupported pseudo: \"+t);return i[_]?i(e):i.length>1?(r=[t,t,\"\",e],n.setFilters.hasOwnProperty(t.toLowerCase())?ot(function(t,r){for(var n,s=i(t,e),a=s.length;a--;)t[n=H(t,s[a])]=!(r[n]=s[a])}):function(t){return i(t,0,r)}):i}},pseudos:{not:ot(function(t){var e=[],r=[],n=o(t.replace(L,\"$1\"));return n[_]?ot(function(t,e,r,i){for(var s,a=n(t,null,i,[]),o=t.length;o--;)(s=a[o])&&(t[o]=!(e[o]=s))}):function(t,i,s){return e[0]=t,n(e,null,s,r),e[0]=null,!r.pop()}}),has:ot(function(t){return function(e){return st(t,e).length>0}}),contains:ot(function(t){return t=t.replace(Z,tt),function(e){return(e.textContent||e.innerText||i(e)).indexOf(t)>-1}}),lang:ot(function(t){return X.test(t||\"\")||st.error(\"unsupported lang: \"+t),t=t.replace(Z,tt).toLowerCase(),function(e){var r;do{if(r=d?e.lang:e.getAttribute(\"xml:lang\")||e.getAttribute(\"lang\"))return(r=r.toLowerCase())===t||0===r.indexOf(t+\"-\")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var r=t.location&&t.location.hash;return r&&r.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ft(!1),disabled:ft(!0),checked:function(t){var e=t.nodeName.toLowerCase();return\"input\"===e&&!!t.checked||\"option\"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return W.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return\"input\"===e&&\"button\"===t.type||\"button\"===e},text:function(t){var e;return\"input\"===t.nodeName.toLowerCase()&&\"text\"===t.type&&(null==(e=t.getAttribute(\"type\"))||\"text\"===e.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,e){return[e-1]}),eq:pt(function(t,e,r){return[r<0?r+e:r]}),even:pt(function(t,e){for(var r=0;r=0;)t.push(n);return t}),gt:pt(function(t,e,r){for(var n=r<0?r+e:r;++n1?function(e,r,n){for(var i=t.length;i--;)if(!t[i](e,r,n))return!1;return!0}:t[0]}function _t(t,e,r,n,i){for(var s,a=[],o=0,A=t.length,l=null!=e;o-1&&(s[l]=!(a[l]=c))}}else g=_t(g===a?g.splice(p,g.length):g),i?i(null,a,g,A):P.apply(a,g)})}function wt(t){for(var e,r,i,s=t.length,a=n.relative[t[0].type],o=a||n.relative[\" \"],A=a?1:0,h=vt(function(t){return t===e},o,!0),c=vt(function(t){return H(e,t)>-1},o,!0),u=[function(t,r,n){var i=!a&&(n||r!==l)||((e=r).nodeType?h(t,r,n):c(t,r,n));return e=null,i}];A1&&yt(u),A>1&>(t.slice(0,A-1).concat({value:\" \"===t[A-2].type?\"*\":\"\"})).replace(L,\"$1\"),r,A0,i=t.length>0,s=function(s,a,o,A,h){var c,p,m,g=0,v=\"0\",y=s&&[],_=[],B=l,b=s||i&&n.find.TAG(\"*\",h),C=w+=null==B?1:Math.random()||.1,E=b.length;for(h&&(l=a===f||a||h);v!==E&&null!=(c=b[v]);v++){if(i&&c){for(p=0,a||c.ownerDocument===f||(u(c),o=!d);m=t[p++];)if(m(c,a||f,o)){A.push(c);break}h&&(w=C)}r&&((c=!m&&c)&&g--,s&&y.push(c))}if(g+=v,r&&v!==g){for(p=0;m=e[p++];)m(y,_,a,o);if(s){if(g>0)for(;v--;)y[v]||_[v]||(_[v]=S.call(A));_=_t(_)}P.apply(A,_),h&&!s&&_.length>0&&g+e.length>1&&st.uniqueSort(A)}return h&&(w=C,l=B),y};return r?ot(s):s}(s,i))).selector=t}return o},A=st.select=function(t,e,r,i){var s,A,l,h,c,u=\"function\"==typeof t&&t,f=!i&&a(t=u.selector||t);if(r=r||[],1===f.length){if((A=f[0]=f[0].slice(0)).length>2&&\"ID\"===(l=A[0]).type&&9===e.nodeType&&d&&n.relative[A[1].type]){if(!(e=(n.find.ID(l.matches[0].replace(Z,tt),e)||[])[0]))return r;u&&(e=e.parentNode),t=t.slice(A.shift().value.length)}for(s=j.needsContext.test(t)?0:A.length;s--&&(l=A[s],!n.relative[h=l.type]);)if((c=n.find[h])&&(i=c(l.matches[0].replace(Z,tt),$.test(A[0].type)&&dt(e.parentNode)||e))){if(A.splice(s,1),!(t=i.length&>(A)))return P.apply(r,i),r;break}}return(u||o(t,f))(i,e,!d,r,!e||$.test(t)&&dt(e.parentNode)||e),r},r.sortStable=_.split(\"\").sort(x).join(\"\")===_,r.detectDuplicates=!!c,u(),r.sortDetached=At(function(t){return 1&t.compareDocumentPosition(f.createElement(\"fieldset\"))}),At(function(t){return t.innerHTML=\"\",\"#\"===t.firstChild.getAttribute(\"href\")})||lt(\"type|href|height|width\",function(t,e,r){if(!r)return t.getAttribute(e,\"type\"===e.toLowerCase()?1:2)}),r.attributes&&At(function(t){return t.innerHTML=\"\",t.firstChild.setAttribute(\"value\",\"\"),\"\"===t.firstChild.getAttribute(\"value\")})||lt(\"value\",function(t,e,r){if(!r&&\"input\"===t.nodeName.toLowerCase())return t.defaultValue}),At(function(t){return null==t.getAttribute(\"disabled\")})||lt(D,function(t,e,r){var n;if(!r)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),st}(t);_.find=b,_.expr=b.selectors,_.expr[\":\"]=_.expr.pseudos,_.uniqueSort=_.unique=b.uniqueSort,_.text=b.getText,_.isXMLDoc=b.isXML,_.contains=b.contains,_.escapeSelector=b.escape;var C=function(t,e,r){for(var n=[],i=void 0!==r;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&_(t).is(r))break;n.push(t)}return n},E=function(t,e){for(var r=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&r.push(t);return r},T=_.expr.match.needsContext;function x(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var F=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;function Q(t,e,r){return d(e)?_.grep(t,function(t,n){return!!e.call(t,n,t)!==r}):e.nodeType?_.grep(t,function(t){return t===e!==r}):\"string\"!=typeof e?_.grep(t,function(t){return A.call(e,t)>-1!==r}):_.filter(e,t,r)}_.filter=function(t,e,r){var n=e[0];return r&&(t=\":not(\"+t+\")\"),1===e.length&&1===n.nodeType?_.find.matchesSelector(n,t)?[n]:[]:_.find.matches(t,_.grep(e,function(t){return 1===t.nodeType}))},_.fn.extend({find:function(t){var e,r,n=this.length,i=this;if(\"string\"!=typeof t)return this.pushStack(_(t).filter(function(){for(e=0;e1?_.uniqueSort(r):r},filter:function(t){return this.pushStack(Q(this,t||[],!1))},not:function(t){return this.pushStack(Q(this,t||[],!0))},is:function(t){return!!Q(this,\"string\"==typeof t&&T.test(t)?_(t):t||[],!1).length}});var S,U=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/;(_.fn.init=function(t,e,r){var i,s;if(!t)return this;if(r=r||S,\"string\"==typeof t){if(!(i=\"<\"===t[0]&&\">\"===t[t.length-1]&&t.length>=3?[null,t,null]:U.exec(t))||!i[1]&&e)return!e||e.jquery?(e||r).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof _?e[0]:e,_.merge(this,_.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:n,!0)),F.test(i[1])&&_.isPlainObject(e))for(i in e)d(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(s=n.getElementById(i[2]))&&(this[0]=s,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):d(t)?void 0!==r.ready?r.ready(t):t(_):_.makeArray(t,this)}).prototype=_.fn,S=_(n);var P=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function H(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}_.fn.extend({has:function(t){var e=_(t,this),r=e.length;return this.filter(function(){for(var t=0;t-1:1===r.nodeType&&_.find.matchesSelector(r,t))){s.push(r);break}return this.pushStack(s.length>1?_.uniqueSort(s):s)},index:function(t){return t?\"string\"==typeof t?A.call(_(t),this[0]):A.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),_.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return C(t,\"parentNode\")},parentsUntil:function(t,e,r){return C(t,\"parentNode\",r)},next:function(t){return H(t,\"nextSibling\")},prev:function(t){return H(t,\"previousSibling\")},nextAll:function(t){return C(t,\"nextSibling\")},prevAll:function(t){return C(t,\"previousSibling\")},nextUntil:function(t,e,r){return C(t,\"nextSibling\",r)},prevUntil:function(t,e,r){return C(t,\"previousSibling\",r)},siblings:function(t){return E((t.parentNode||{}).firstChild,t)},children:function(t){return E(t.firstChild)},contents:function(t){return x(t,\"iframe\")?t.contentDocument:(x(t,\"template\")&&(t=t.content||t),_.merge([],t.childNodes))}},function(t,e){_.fn[t]=function(r,n){var i=_.map(this,e,r);return\"Until\"!==t.slice(-5)&&(n=r),n&&\"string\"==typeof n&&(i=_.filter(n,i)),this.length>1&&(I[t]||_.uniqueSort(i),P.test(t)&&i.reverse()),this.pushStack(i)}});var D=/[^\\x20\\t\\r\\n\\f]+/g;function M(t){return t}function k(t){throw t}function N(t,e,r,n){var i;try{t&&d(i=t.promise)?i.call(t).done(e).fail(r):t&&d(i=t.then)?i.call(t,e,r):e.apply(void 0,[t].slice(n))}catch(t){r.apply(void 0,[t])}}_.Callbacks=function(t){t=\"string\"==typeof t?function(t){var e={};return _.each(t.match(D)||[],function(t,r){e[r]=!0}),e}(t):_.extend({},t);var e,r,n,i,s=[],a=[],o=-1,A=function(){for(i=i||t.once,n=e=!0;a.length;o=-1)for(r=a.shift();++o-1;)s.splice(r,1),r<=o&&o--}),this},has:function(t){return t?_.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return i=a=[],s=r=\"\",this},disabled:function(){return!s},lock:function(){return i=a=[],r||e||(s=r=\"\"),this},locked:function(){return!!i},fireWith:function(t,r){return i||(r=[t,(r=r||[]).slice?r.slice():r],a.push(r),e||A()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},_.extend({Deferred:function(e){var r=[[\"notify\",\"progress\",_.Callbacks(\"memory\"),_.Callbacks(\"memory\"),2],[\"resolve\",\"done\",_.Callbacks(\"once memory\"),_.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",_.Callbacks(\"once memory\"),_.Callbacks(\"once memory\"),1,\"rejected\"]],n=\"pending\",i={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return _.Deferred(function(e){_.each(r,function(r,n){var i=d(t[n[4]])&&t[n[4]];s[n[1]](function(){var t=i&&i.apply(this,arguments);t&&d(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[n[0]+\"With\"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(e,n,i){var s=0;function a(e,r,n,i){return function(){var o=this,A=arguments,l=function(){var t,l;if(!(e=s&&(n!==k&&(o=void 0,A=[t]),r.rejectWith(o,A))}};e?h():(_.Deferred.getStackHook&&(h.stackTrace=_.Deferred.getStackHook()),t.setTimeout(h))}}return _.Deferred(function(t){r[0][3].add(a(0,t,d(i)?i:M,t.notifyWith)),r[1][3].add(a(0,t,d(e)?e:M)),r[2][3].add(a(0,t,d(n)?n:k))}).promise()},promise:function(t){return null!=t?_.extend(t,i):i}},s={};return _.each(r,function(t,e){var a=e[2],o=e[5];i[e[1]]=a.add,o&&a.add(function(){n=o},r[3-t][2].disable,r[3-t][3].disable,r[0][2].lock,r[0][3].lock),a.add(e[3].fire),s[e[0]]=function(){return s[e[0]+\"With\"](this===s?void 0:this,arguments),this},s[e[0]+\"With\"]=a.fireWith}),i.promise(s),e&&e.call(s,s),s},when:function(t){var e=arguments.length,r=e,n=Array(r),i=s.call(arguments),a=_.Deferred(),o=function(t){return function(r){n[t]=this,i[t]=arguments.length>1?s.call(arguments):r,--e||a.resolveWith(n,i)}};if(e<=1&&(N(t,a.done(o(r)).resolve,a.reject,!e),\"pending\"===a.state()||d(i[r]&&i[r].then)))return a.then();for(;r--;)N(i[r],o(r),a.reject);return a.promise()}});var O=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,r){t.console&&t.console.warn&&e&&O.test(e.name)&&t.console.warn(\"jQuery.Deferred exception: \"+e.message,e.stack,r)},_.readyException=function(e){t.setTimeout(function(){throw e})};var R=_.Deferred();function L(){n.removeEventListener(\"DOMContentLoaded\",L),t.removeEventListener(\"load\",L),_.ready()}_.fn.ready=function(t){return R.then(t).catch(function(t){_.readyException(t)}),this},_.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==t&&--_.readyWait>0||R.resolveWith(n,[_]))}}),_.ready.then=R.then,\"complete\"===n.readyState||\"loading\"!==n.readyState&&!n.documentElement.doScroll?t.setTimeout(_.ready):(n.addEventListener(\"DOMContentLoaded\",L),t.addEventListener(\"load\",L));var K=function(t,e,r,n,i,s,a){var o=0,A=t.length,l=null==r;if(\"object\"===y(r))for(o in i=!0,r)K(t,e,o,r[o],!0,s,a);else if(void 0!==n&&(i=!0,d(n)||(a=!0),l&&(a?(e.call(t,n),e=null):(l=e,e=function(t,e,r){return l.call(_(t),r)})),e))for(;o1,null,!0)},removeData:function(t){return this.each(function(){J.remove(this,t)})}}),_.extend({queue:function(t,e,r){var n;if(t)return e=(e||\"fx\")+\"queue\",n=W.get(t,e),r&&(!n||Array.isArray(r)?n=W.access(t,e,_.makeArray(r)):n.push(r)),n||[]},dequeue:function(t,e){e=e||\"fx\";var r=_.queue(t,e),n=r.length,i=r.shift(),s=_._queueHooks(t,e);\"inprogress\"===i&&(i=r.shift(),n--),i&&(\"fx\"===e&&r.unshift(\"inprogress\"),delete s.stop,i.call(t,function(){_.dequeue(t,e)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var r=e+\"queueHooks\";return W.get(t,r)||W.access(t,r,{empty:_.Callbacks(\"once memory\").add(function(){W.remove(t,[e+\"queue\",r])})})}}),_.fn.extend({queue:function(t,e){var r=2;return\"string\"!=typeof t&&(e=t,t=\"fx\",r--),arguments.length\\x20\\t\\r\\n\\f]+)/i,ct=/^$|^module$|\\/(?:java|ecma)script/i,ut={option:[1,\"\"],thead:[1,\"\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};function ft(t,e){var r;return r=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||\"*\"):void 0!==t.querySelectorAll?t.querySelectorAll(e||\"*\"):[],void 0===e||e&&x(t,e)?_.merge([t],r):r}function pt(t,e){for(var r=0,n=t.length;r-1)i&&i.push(s);else if(l=_.contains(s.ownerDocument,s),a=ft(c.appendChild(s),\"script\"),l&&pt(a),r)for(h=0;s=a[h++];)ct.test(s.type||\"\")&&r.push(s);return c}dt=n.createDocumentFragment().appendChild(n.createElement(\"div\")),(mt=n.createElement(\"input\")).setAttribute(\"type\",\"radio\"),mt.setAttribute(\"checked\",\"checked\"),mt.setAttribute(\"name\",\"t\"),dt.appendChild(mt),p.checkClone=dt.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.innerHTML=\"\",p.noCloneChecked=!!dt.cloneNode(!0).lastChild.defaultValue;var yt=n.documentElement,_t=/^key/,Bt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,wt=/^([^.]*)(?:\\.(.+)|)/;function bt(){return!0}function Ct(){return!1}function Et(){try{return n.activeElement}catch(t){}}function Tt(t,e,r,n,i,s){var a,o;if(\"object\"==typeof e){for(o in\"string\"!=typeof r&&(n=n||r,r=void 0),e)Tt(t,o,r,n,e[o],s);return t}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&(\"string\"==typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=Ct;else if(!i)return t;return 1===s&&(a=i,(i=function(t){return _().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=_.guid++)),t.each(function(){_.event.add(this,e,i,n,r)})}_.event={global:{},add:function(t,e,r,n,i){var s,a,o,A,l,h,c,u,f,p,d,m=W.get(t);if(m)for(r.handler&&(r=(s=r).handler,i=s.selector),i&&_.find.matchesSelector(yt,i),r.guid||(r.guid=_.guid++),(A=m.events)||(A=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==_&&_.event.triggered!==e.type?_.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||\"\").match(D)||[\"\"]).length;l--;)f=d=(o=wt.exec(e[l])||[])[1],p=(o[2]||\"\").split(\".\").sort(),f&&(c=_.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=_.event.special[f]||{},h=_.extend({type:f,origType:d,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&_.expr.match.needsContext.test(i),namespace:p.join(\".\")},s),(u=A[f])||((u=A[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,p,a)||t.addEventListener&&t.addEventListener(f,a)),c.add&&(c.add.call(t,h),h.handler.guid||(h.handler.guid=r.guid)),i?u.splice(u.delegateCount++,0,h):u.push(h),_.event.global[f]=!0)},remove:function(t,e,r,n,i){var s,a,o,A,l,h,c,u,f,p,d,m=W.hasData(t)&&W.get(t);if(m&&(A=m.events)){for(l=(e=(e||\"\").match(D)||[\"\"]).length;l--;)if(f=d=(o=wt.exec(e[l])||[])[1],p=(o[2]||\"\").split(\".\").sort(),f){for(c=_.event.special[f]||{},u=A[f=(n?c.delegateType:c.bindType)||f]||[],o=o[2]&&new RegExp(\"(^|\\\\.)\"+p.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),a=s=u.length;s--;)h=u[s],!i&&d!==h.origType||r&&r.guid!==h.guid||o&&!o.test(h.namespace)||n&&n!==h.selector&&(\"**\"!==n||!h.selector)||(u.splice(s,1),h.selector&&u.delegateCount--,c.remove&&c.remove.call(t,h));a&&!u.length&&(c.teardown&&!1!==c.teardown.call(t,p,m.handle)||_.removeEvent(t,f,m.handle),delete A[f])}else for(f in A)_.event.remove(t,f+e[l],r,n,!0);_.isEmptyObject(A)&&W.remove(t,\"handle events\")}},dispatch:function(t){var e,r,n,i,s,a,o=_.event.fix(t),A=new Array(arguments.length),l=(W.get(this,\"events\")||{})[o.type]||[],h=_.event.special[o.type]||{};for(A[0]=o,e=1;e=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(\"click\"!==t.type||!0!==l.disabled)){for(s=[],a={},r=0;r-1:_.find(i,this,null,[l]).length),a[i]&&s.push(n);s.length&&o.push({elem:l,handlers:s})}return l=this,A\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,Ft=/\\s*$/g;function Ut(t,e){return x(t,\"table\")&&x(11!==e.nodeType?e:e.firstChild,\"tr\")&&_(t).children(\"tbody\")[0]||t}function Pt(t){return t.type=(null!==t.getAttribute(\"type\"))+\"/\"+t.type,t}function It(t){return\"true/\"===(t.type||\"\").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute(\"type\"),t}function Ht(t,e){var r,n,i,s,a,o,A,l;if(1===e.nodeType){if(W.hasData(t)&&(s=W.access(t),a=W.set(e,s),l=s.events))for(i in delete a.handle,a.events={},l)for(r=0,n=l[i].length;r1&&\"string\"==typeof m&&!p.checkClone&&Qt.test(m))return t.each(function(i){var s=t.eq(i);g&&(e[0]=m.call(this,i,s.html())),Dt(s,e,r,n)});if(u&&(s=(i=vt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===i.childNodes.length&&(i=s),s||n)){for(A=(o=_.map(ft(i,\"script\"),Pt)).length;c\")},clone:function(t,e,r){var n,i,s,a,o,A,l,h=t.cloneNode(!0),c=_.contains(t.ownerDocument,t);if(!(p.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||_.isXMLDoc(t)))for(a=ft(h),n=0,i=(s=ft(t)).length;n0&&pt(a,!c&&ft(t,\"script\")),h},cleanData:function(t){for(var e,r,n,i=_.event.special,s=0;void 0!==(r=t[s]);s++)if(j(r)){if(e=r[W.expando]){if(e.events)for(n in e.events)i[n]?_.event.remove(r,n):_.removeEvent(r,n,e.handle);r[W.expando]=void 0}r[J.expando]&&(r[J.expando]=void 0)}}}),_.fn.extend({detach:function(t){return Mt(this,t,!0)},remove:function(t){return Mt(this,t)},text:function(t){return K(this,function(t){return void 0===t?_.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Dt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ut(this,t).appendChild(t)})},prepend:function(){return Dt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ut(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Dt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Dt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(_.cleanData(ft(t,!1)),t.textContent=\"\");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return _.clone(this,t,e)})},html:function(t){return K(this,function(t){var e=this[0]||{},r=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if(\"string\"==typeof t&&!Ft.test(t)&&!ut[(ht.exec(t)||[\"\",\"\"])[1].toLowerCase()]){t=_.htmlPrefilter(t);try{for(;r=0&&(A+=Math.max(0,Math.ceil(t[\"offset\"+e[0].toUpperCase()+e.slice(1)]-s-A-o-.5))),A}function qt(t,e,r){var n=Nt(t),i=Rt(t,e,n),s=\"border-box\"===_.css(t,\"boxSizing\",!1,n),a=s;if(kt.test(i)){if(!r)return i;i=\"auto\"}return a=a&&(p.boxSizingReliable()||i===t.style[e]),(\"auto\"===i||!parseFloat(i)&&\"inline\"===_.css(t,\"display\",!1,n))&&(i=t[\"offset\"+e[0].toUpperCase()+e.slice(1)],a=!0),(i=parseFloat(i)||0)+Jt(t,e,r||(s?\"border\":\"content\"),a,n,i)+\"px\"}function $t(t,e,r,n,i){return new $t.prototype.init(t,e,r,n,i)}_.extend({cssHooks:{opacity:{get:function(t,e){if(e){var r=Rt(t,\"opacity\");return\"\"===r?\"1\":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,r,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,s,a,o=X(e),A=Vt.test(e),l=t.style;if(A||(e=Yt(o)),a=_.cssHooks[e]||_.cssHooks[o],void 0===r)return a&&\"get\"in a&&void 0!==(i=a.get(t,!1,n))?i:l[e];\"string\"===(s=typeof r)&&(i=et.exec(r))&&i[1]&&(r=st(t,e,i),s=\"number\"),null!=r&&r==r&&(\"number\"===s&&(r+=i&&i[3]||(_.cssNumber[o]?\"\":\"px\")),p.clearCloneStyle||\"\"!==r||0!==e.indexOf(\"background\")||(l[e]=\"inherit\"),a&&\"set\"in a&&void 0===(r=a.set(t,r,n))||(A?l.setProperty(e,r):l[e]=r))}},css:function(t,e,r,n){var i,s,a,o=X(e);return Vt.test(e)||(e=Yt(o)),(a=_.cssHooks[e]||_.cssHooks[o])&&\"get\"in a&&(i=a.get(t,!0,r)),void 0===i&&(i=Rt(t,e,n)),\"normal\"===i&&e in Gt&&(i=Gt[e]),\"\"===r||r?(s=parseFloat(i),!0===r||isFinite(s)?s||0:i):i}}),_.each([\"height\",\"width\"],function(t,e){_.cssHooks[e]={get:function(t,r,n){if(r)return!Kt.test(_.css(t,\"display\"))||t.getClientRects().length&&t.getBoundingClientRect().width?qt(t,e,n):it(t,zt,function(){return qt(t,e,n)})},set:function(t,r,n){var i,s=Nt(t),a=\"border-box\"===_.css(t,\"boxSizing\",!1,s),o=n&&Jt(t,e,n,a,s);return a&&p.scrollboxSize()===s.position&&(o-=Math.ceil(t[\"offset\"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-Jt(t,e,\"border\",!1,s)-.5)),o&&(i=et.exec(r))&&\"px\"!==(i[3]||\"px\")&&(t.style[e]=r,r=_.css(t,e)),Wt(0,r,o)}}}),_.cssHooks.marginLeft=Lt(p.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Rt(t,\"marginLeft\"))||t.getBoundingClientRect().left-it(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+\"px\"}),_.each({margin:\"\",padding:\"\",border:\"Width\"},function(t,e){_.cssHooks[t+e]={expand:function(r){for(var n=0,i={},s=\"string\"==typeof r?r.split(\" \"):[r];n<4;n++)i[t+rt[n]+e]=s[n]||s[n-2]||s[0];return i}},\"margin\"!==t&&(_.cssHooks[t+e].set=Wt)}),_.fn.extend({css:function(t,e){return K(this,function(t,e,r){var n,i,s={},a=0;if(Array.isArray(e)){for(n=Nt(t),i=e.length;a1)}}),_.Tween=$t,$t.prototype={constructor:$t,init:function(t,e,r,n,i,s){this.elem=t,this.prop=r,this.easing=i||_.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(_.cssNumber[r]?\"\":\"px\")},cur:function(){var t=$t.propHooks[this.prop];return t&&t.get?t.get(this):$t.propHooks._default.get(this)},run:function(t){var e,r=$t.propHooks[this.prop];return this.options.duration?this.pos=e=_.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):$t.propHooks._default.set(this),this}},$t.prototype.init.prototype=$t.prototype,$t.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=_.css(t.elem,t.prop,\"\"))&&\"auto\"!==e?e:0},set:function(t){_.fx.step[t.prop]?_.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[_.cssProps[t.prop]]&&!_.cssHooks[t.prop]?t.elem[t.prop]=t.now:_.style(t.elem,t.prop,t.now+t.unit)}}},$t.propHooks.scrollTop=$t.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},_.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:\"swing\"},_.fx=$t.prototype.init,_.fx.step={};var Zt,te,ee=/^(?:toggle|show|hide)$/,re=/queueHooks$/;function ne(){te&&(!1===n.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(ne):t.setTimeout(ne,_.fx.interval),_.fx.tick())}function ie(){return t.setTimeout(function(){Zt=void 0}),Zt=Date.now()}function se(t,e){var r,n=0,i={height:t};for(e=e?1:0;n<4;n+=2-e)i[\"margin\"+(r=rt[n])]=i[\"padding\"+r]=t;return e&&(i.opacity=i.width=t),i}function ae(t,e,r){for(var n,i=(oe.tweeners[e]||[]).concat(oe.tweeners[\"*\"]),s=0,a=i.length;s1)},removeAttr:function(t){return this.each(function(){_.removeAttr(this,t)})}}),_.extend({attr:function(t,e,r){var n,i,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?_.prop(t,e,r):(1===s&&_.isXMLDoc(t)||(i=_.attrHooks[e.toLowerCase()]||(_.expr.match.bool.test(e)?Ae:void 0)),void 0!==r?null===r?void _.removeAttr(t,e):i&&\"set\"in i&&void 0!==(n=i.set(t,r,e))?n:(t.setAttribute(e,r+\"\"),r):i&&\"get\"in i&&null!==(n=i.get(t,e))?n:null==(n=_.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!p.radioValue&&\"radio\"===e&&x(t,\"input\")){var r=t.value;return t.setAttribute(\"type\",e),r&&(t.value=r),e}}}},removeAttr:function(t,e){var r,n=0,i=e&&e.match(D);if(i&&1===t.nodeType)for(;r=i[n++];)t.removeAttribute(r)}}),Ae={set:function(t,e,r){return!1===e?_.removeAttr(t,r):t.setAttribute(r,r),r}},_.each(_.expr.match.bool.source.match(/\\w+/g),function(t,e){var r=le[e]||_.find.attr;le[e]=function(t,e,n){var i,s,a=e.toLowerCase();return n||(s=le[a],le[a]=i,i=null!=r(t,e,n)?a:null,le[a]=s),i}});var he=/^(?:input|select|textarea|button)$/i,ce=/^(?:a|area)$/i;function ue(t){return(t.match(D)||[]).join(\" \")}function fe(t){return t.getAttribute&&t.getAttribute(\"class\")||\"\"}function pe(t){return Array.isArray(t)?t:\"string\"==typeof t&&t.match(D)||[]}_.fn.extend({prop:function(t,e){return K(this,_.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[_.propFix[t]||t]})}}),_.extend({prop:function(t,e,r){var n,i,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&_.isXMLDoc(t)||(e=_.propFix[e]||e,i=_.propHooks[e]),void 0!==r?i&&\"set\"in i&&void 0!==(n=i.set(t,r,e))?n:t[e]=r:i&&\"get\"in i&&null!==(n=i.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=_.find.attr(t,\"tabindex\");return e?parseInt(e,10):he.test(t.nodeName)||ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:\"htmlFor\",class:\"className\"}}),p.optSelected||(_.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),_.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],function(){_.propFix[this.toLowerCase()]=this}),_.fn.extend({addClass:function(t){var e,r,n,i,s,a,o,A=0;if(d(t))return this.each(function(e){_(this).addClass(t.call(this,e,fe(this)))});if((e=pe(t)).length)for(;r=this[A++];)if(i=fe(r),n=1===r.nodeType&&\" \"+ue(i)+\" \"){for(a=0;s=e[a++];)n.indexOf(\" \"+s+\" \")<0&&(n+=s+\" \");i!==(o=ue(n))&&r.setAttribute(\"class\",o)}return this},removeClass:function(t){var e,r,n,i,s,a,o,A=0;if(d(t))return this.each(function(e){_(this).removeClass(t.call(this,e,fe(this)))});if(!arguments.length)return this.attr(\"class\",\"\");if((e=pe(t)).length)for(;r=this[A++];)if(i=fe(r),n=1===r.nodeType&&\" \"+ue(i)+\" \"){for(a=0;s=e[a++];)for(;n.indexOf(\" \"+s+\" \")>-1;)n=n.replace(\" \"+s+\" \",\" \");i!==(o=ue(n))&&r.setAttribute(\"class\",o)}return this},toggleClass:function(t,e){var r=typeof t,n=\"string\"===r||Array.isArray(t);return\"boolean\"==typeof e&&n?e?this.addClass(t):this.removeClass(t):d(t)?this.each(function(r){_(this).toggleClass(t.call(this,r,fe(this),e),e)}):this.each(function(){var e,i,s,a;if(n)for(i=0,s=_(this),a=pe(t);e=a[i++];)s.hasClass(e)?s.removeClass(e):s.addClass(e);else void 0!==t&&\"boolean\"!==r||((e=fe(this))&&W.set(this,\"__className__\",e),this.setAttribute&&this.setAttribute(\"class\",e||!1===t?\"\":W.get(this,\"__className__\")||\"\"))})},hasClass:function(t){var e,r,n=0;for(e=\" \"+t+\" \";r=this[n++];)if(1===r.nodeType&&(\" \"+ue(fe(r))+\" \").indexOf(e)>-1)return!0;return!1}});var de=/\\r/g;_.fn.extend({val:function(t){var e,r,n,i=this[0];return arguments.length?(n=d(t),this.each(function(r){var i;1===this.nodeType&&(null==(i=n?t.call(this,r,_(this).val()):t)?i=\"\":\"number\"==typeof i?i+=\"\":Array.isArray(i)&&(i=_.map(i,function(t){return null==t?\"\":t+\"\"})),(e=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&\"set\"in e&&void 0!==e.set(this,i,\"value\")||(this.value=i))})):i?(e=_.valHooks[i.type]||_.valHooks[i.nodeName.toLowerCase()])&&\"get\"in e&&void 0!==(r=e.get(i,\"value\"))?r:\"string\"==typeof(r=i.value)?r.replace(de,\"\"):null==r?\"\":r:void 0}}),_.extend({valHooks:{option:{get:function(t){var e=_.find.attr(t,\"value\");return null!=e?e:ue(_.text(t))}},select:{get:function(t){var e,r,n,i=t.options,s=t.selectedIndex,a=\"select-one\"===t.type,o=a?null:[],A=a?s+1:i.length;for(n=s<0?A:a?s:0;n-1)&&(r=!0);return r||(t.selectedIndex=-1),s}}}}),_.each([\"radio\",\"checkbox\"],function(){_.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=_.inArray(_(t).val(),e)>-1}},p.checkOn||(_.valHooks[this].get=function(t){return null===t.getAttribute(\"value\")?\"on\":t.value})}),p.focusin=\"onfocusin\"in t;var me=/^(?:focusinfocus|focusoutblur)$/,ge=function(t){t.stopPropagation()};_.extend(_.event,{trigger:function(e,r,i,s){var a,o,A,l,h,u,f,p,g=[i||n],v=c.call(e,\"type\")?e.type:e,y=c.call(e,\"namespace\")?e.namespace.split(\".\"):[];if(o=p=A=i=i||n,3!==i.nodeType&&8!==i.nodeType&&!me.test(v+_.event.triggered)&&(v.indexOf(\".\")>-1&&(y=v.split(\".\"),v=y.shift(),y.sort()),h=v.indexOf(\":\")<0&&\"on\"+v,(e=e[_.expando]?e:new _.Event(v,\"object\"==typeof e&&e)).isTrigger=s?2:3,e.namespace=y.join(\".\"),e.rnamespace=e.namespace?new RegExp(\"(^|\\\\.)\"+y.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,e.result=void 0,e.target||(e.target=i),r=null==r?[e]:_.makeArray(r,[e]),f=_.event.special[v]||{},s||!f.trigger||!1!==f.trigger.apply(i,r))){if(!s&&!f.noBubble&&!m(i)){for(l=f.delegateType||v,me.test(l+v)||(o=o.parentNode);o;o=o.parentNode)g.push(o),A=o;A===(i.ownerDocument||n)&&g.push(A.defaultView||A.parentWindow||t)}for(a=0;(o=g[a++])&&!e.isPropagationStopped();)p=o,e.type=a>1?l:f.bindType||v,(u=(W.get(o,\"events\")||{})[e.type]&&W.get(o,\"handle\"))&&u.apply(o,r),(u=h&&o[h])&&u.apply&&j(o)&&(e.result=u.apply(o,r),!1===e.result&&e.preventDefault());return e.type=v,s||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(g.pop(),r)||!j(i)||h&&d(i[v])&&!m(i)&&((A=i[h])&&(i[h]=null),_.event.triggered=v,e.isPropagationStopped()&&p.addEventListener(v,ge),i[v](),e.isPropagationStopped()&&p.removeEventListener(v,ge),_.event.triggered=void 0,A&&(i[h]=A)),e.result}},simulate:function(t,e,r){var n=_.extend(new _.Event,r,{type:t,isSimulated:!0});_.event.trigger(n,null,e)}}),_.fn.extend({trigger:function(t,e){return this.each(function(){_.event.trigger(t,e,this)})},triggerHandler:function(t,e){var r=this[0];if(r)return _.event.trigger(t,e,r,!0)}}),p.focusin||_.each({focus:\"focusin\",blur:\"focusout\"},function(t,e){var r=function(t){_.event.simulate(e,t.target,_.event.fix(t))};_.event.special[e]={setup:function(){var n=this.ownerDocument||this,i=W.access(n,e);i||n.addEventListener(t,r,!0),W.access(n,e,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this,i=W.access(n,e)-1;i?W.access(n,e,i):(n.removeEventListener(t,r,!0),W.remove(n,e))}}});var ve=t.location,ye=Date.now(),_e=/\\?/;_.parseXML=function(e){var r;if(!e||\"string\"!=typeof e)return null;try{r=(new t.DOMParser).parseFromString(e,\"text/xml\")}catch(t){r=void 0}return r&&!r.getElementsByTagName(\"parsererror\").length||_.error(\"Invalid XML: \"+e),r};var Be=/\\[\\]$/,we=/\\r?\\n/g,be=/^(?:submit|button|image|reset|file)$/i,Ce=/^(?:input|select|textarea|keygen)/i;function Ee(t,e,r,n){var i;if(Array.isArray(e))_.each(e,function(e,i){r||Be.test(t)?n(t,i):Ee(t+\"[\"+(\"object\"==typeof i&&null!=i?e:\"\")+\"]\",i,r,n)});else if(r||\"object\"!==y(e))n(t,e);else for(i in e)Ee(t+\"[\"+i+\"]\",e[i],r,n)}_.param=function(t,e){var r,n=[],i=function(t,e){var r=d(e)?e():e;n[n.length]=encodeURIComponent(t)+\"=\"+encodeURIComponent(null==r?\"\":r)};if(Array.isArray(t)||t.jquery&&!_.isPlainObject(t))_.each(t,function(){i(this.name,this.value)});else for(r in t)Ee(r,t[r],e,i);return n.join(\"&\")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=_.prop(this,\"elements\");return t?_.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!_(this).is(\":disabled\")&&Ce.test(this.nodeName)&&!be.test(t)&&(this.checked||!lt.test(t))}).map(function(t,e){var r=_(this).val();return null==r?null:Array.isArray(r)?_.map(r,function(t){return{name:e.name,value:t.replace(we,\"\\r\\n\")}}):{name:e.name,value:r.replace(we,\"\\r\\n\")}}).get()}});var Te=/%20/g,xe=/#.*$/,Fe=/([?&])_=[^&]*/,Qe=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Se=/^(?:GET|HEAD)$/,Ue=/^\\/\\//,Pe={},Ie={},He=\"*/\".concat(\"*\"),De=n.createElement(\"a\");function Me(t){return function(e,r){\"string\"!=typeof e&&(r=e,e=\"*\");var n,i=0,s=e.toLowerCase().match(D)||[];if(d(r))for(;n=s[i++];)\"+\"===n[0]?(n=n.slice(1)||\"*\",(t[n]=t[n]||[]).unshift(r)):(t[n]=t[n]||[]).push(r)}}function ke(t,e,r,n){var i={},s=t===Ie;function a(o){var A;return i[o]=!0,_.each(t[o]||[],function(t,o){var l=o(e,r,n);return\"string\"!=typeof l||s||i[l]?s?!(A=l):void 0:(e.dataTypes.unshift(l),a(l),!1)}),A}return a(e.dataTypes[0])||!i[\"*\"]&&a(\"*\")}function Ne(t,e){var r,n,i=_.ajaxSettings.flatOptions||{};for(r in e)void 0!==e[r]&&((i[r]?t:n||(n={}))[r]=e[r]);return n&&_.extend(!0,t,n),t}De.href=ve.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ve.href,type:\"GET\",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ve.protocol),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":He,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":JSON.parse,\"text xml\":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ne(Ne(t,_.ajaxSettings),e):Ne(_.ajaxSettings,t)},ajaxPrefilter:Me(Pe),ajaxTransport:Me(Ie),ajax:function(e,r){\"object\"==typeof e&&(r=e,e=void 0),r=r||{};var i,s,a,o,A,l,h,c,u,f,p=_.ajaxSetup({},r),d=p.context||p,m=p.context&&(d.nodeType||d.jquery)?_(d):_.event,g=_.Deferred(),v=_.Callbacks(\"once memory\"),y=p.statusCode||{},B={},w={},b=\"canceled\",C={readyState:0,getResponseHeader:function(t){var e;if(h){if(!o)for(o={};e=Qe.exec(a);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return h?a:null},setRequestHeader:function(t,e){return null==h&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,B[t]=e),this},overrideMimeType:function(t){return null==h&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||b;return i&&i.abort(e),E(0,e),this}};if(g.promise(C),p.url=((e||p.url||ve.href)+\"\").replace(Ue,ve.protocol+\"//\"),p.type=r.method||r.type||p.method||p.type,p.dataTypes=(p.dataType||\"*\").toLowerCase().match(D)||[\"\"],null==p.crossDomain){l=n.createElement(\"a\");try{l.href=p.url,l.href=l.href,p.crossDomain=De.protocol+\"//\"+De.host!=l.protocol+\"//\"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&\"string\"!=typeof p.data&&(p.data=_.param(p.data,p.traditional)),ke(Pe,p,r,C),h)return C;for(u in(c=_.event&&p.global)&&0==_.active++&&_.event.trigger(\"ajaxStart\"),p.type=p.type.toUpperCase(),p.hasContent=!Se.test(p.type),s=p.url.replace(xe,\"\"),p.hasContent?p.data&&p.processData&&0===(p.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&(p.data=p.data.replace(Te,\"+\")):(f=p.url.slice(s.length),p.data&&(p.processData||\"string\"==typeof p.data)&&(s+=(_e.test(s)?\"&\":\"?\")+p.data,delete p.data),!1===p.cache&&(s=s.replace(Fe,\"$1\"),f=(_e.test(s)?\"&\":\"?\")+\"_=\"+ye+++f),p.url=s+f),p.ifModified&&(_.lastModified[s]&&C.setRequestHeader(\"If-Modified-Since\",_.lastModified[s]),_.etag[s]&&C.setRequestHeader(\"If-None-Match\",_.etag[s])),(p.data&&p.hasContent&&!1!==p.contentType||r.contentType)&&C.setRequestHeader(\"Content-Type\",p.contentType),C.setRequestHeader(\"Accept\",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(\"*\"!==p.dataTypes[0]?\", \"+He+\"; q=0.01\":\"\"):p.accepts[\"*\"]),p.headers)C.setRequestHeader(u,p.headers[u]);if(p.beforeSend&&(!1===p.beforeSend.call(d,C,p)||h))return C.abort();if(b=\"abort\",v.add(p.complete),C.done(p.success),C.fail(p.error),i=ke(Ie,p,r,C)){if(C.readyState=1,c&&m.trigger(\"ajaxSend\",[C,p]),h)return C;p.async&&p.timeout>0&&(A=t.setTimeout(function(){C.abort(\"timeout\")},p.timeout));try{h=!1,i.send(B,E)}catch(t){if(h)throw t;E(-1,t)}}else E(-1,\"No Transport\");function E(e,r,n,o){var l,u,f,B,w,b=r;h||(h=!0,A&&t.clearTimeout(A),i=void 0,a=o||\"\",C.readyState=e>0?4:0,l=e>=200&&e<300||304===e,n&&(B=function(t,e,r){for(var n,i,s,a,o=t.contents,A=t.dataTypes;\"*\"===A[0];)A.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader(\"Content-Type\"));if(n)for(i in o)if(o[i]&&o[i].test(n)){A.unshift(i);break}if(A[0]in r)s=A[0];else{for(i in r){if(!A[0]||t.converters[i+\" \"+A[0]]){s=i;break}a||(a=i)}s=s||a}if(s)return s!==A[0]&&A.unshift(s),r[s]}(p,C,n)),B=function(t,e,r,n){var i,s,a,o,A,l={},h=t.dataTypes.slice();if(h[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(s=h.shift();s;)if(t.responseFields[s]&&(r[t.responseFields[s]]=e),!A&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),A=s,s=h.shift())if(\"*\"===s)s=A;else if(\"*\"!==A&&A!==s){if(!(a=l[A+\" \"+s]||l[\"* \"+s]))for(i in l)if((o=i.split(\" \"))[1]===s&&(a=l[A+\" \"+o[0]]||l[\"* \"+o[0]])){!0===a?a=l[i]:!0!==l[i]&&(s=o[0],h.unshift(o[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:\"parsererror\",error:a?t:\"No conversion from \"+A+\" to \"+s}}}return{state:\"success\",data:e}}(p,B,C,l),l?(p.ifModified&&((w=C.getResponseHeader(\"Last-Modified\"))&&(_.lastModified[s]=w),(w=C.getResponseHeader(\"etag\"))&&(_.etag[s]=w)),204===e||\"HEAD\"===p.type?b=\"nocontent\":304===e?b=\"notmodified\":(b=B.state,u=B.data,l=!(f=B.error))):(f=b,!e&&b||(b=\"error\",e<0&&(e=0))),C.status=e,C.statusText=(r||b)+\"\",l?g.resolveWith(d,[u,b,C]):g.rejectWith(d,[C,b,f]),C.statusCode(y),y=void 0,c&&m.trigger(l?\"ajaxSuccess\":\"ajaxError\",[C,p,l?u:f]),v.fireWith(d,[C,b]),c&&(m.trigger(\"ajaxComplete\",[C,p]),--_.active||_.event.trigger(\"ajaxStop\")))}return C},getJSON:function(t,e,r){return _.get(t,e,r,\"json\")},getScript:function(t,e){return _.get(t,void 0,e,\"script\")}}),_.each([\"get\",\"post\"],function(t,e){_[e]=function(t,r,n,i){return d(r)&&(i=i||n,n=r,r=void 0),_.ajax(_.extend({url:t,type:e,dataType:i,data:r,success:n},_.isPlainObject(t)&&t))}}),_._evalUrl=function(t){return _.ajax({url:t,type:\"GET\",dataType:\"script\",cache:!0,async:!1,global:!1,throws:!0})},_.fn.extend({wrapAll:function(t){var e;return this[0]&&(d(t)&&(t=t.call(this[0])),e=_(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return d(t)?this.each(function(e){_(this).wrapInner(t.call(this,e))}):this.each(function(){var e=_(this),r=e.contents();r.length?r.wrapAll(t):e.append(t)})},wrap:function(t){var e=d(t);return this.each(function(r){_(this).wrapAll(e?t.call(this,r):t)})},unwrap:function(t){return this.parent(t).not(\"body\").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(t){return!_.expr.pseudos.visible(t)},_.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Oe={0:200,1223:204},Re=_.ajaxSettings.xhr();p.cors=!!Re&&\"withCredentials\"in Re,p.ajax=Re=!!Re,_.ajaxTransport(function(e){var r,n;if(p.cors||Re&&!e.crossDomain)return{send:function(i,s){var a,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)o[a]=e.xhrFields[a];for(a in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||i[\"X-Requested-With\"]||(i[\"X-Requested-With\"]=\"XMLHttpRequest\"),i)o.setRequestHeader(a,i[a]);r=function(t){return function(){r&&(r=n=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,\"abort\"===t?o.abort():\"error\"===t?\"number\"!=typeof o.status?s(0,\"error\"):s(o.status,o.statusText):s(Oe[o.status]||o.status,o.statusText,\"text\"!==(o.responseType||\"text\")||\"string\"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=r(),n=o.onerror=o.ontimeout=r(\"error\"),void 0!==o.onabort?o.onabort=n:o.onreadystatechange=function(){4===o.readyState&&t.setTimeout(function(){r&&n()})},r=r(\"abort\");try{o.send(e.hasContent&&e.data||null)}catch(t){if(r)throw t}},abort:function(){r&&r()}}}),_.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),_.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{\"text script\":function(t){return _.globalEval(t),t}}}),_.ajaxPrefilter(\"script\",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type=\"GET\")}),_.ajaxTransport(\"script\",function(t){var e,r;if(t.crossDomain)return{send:function(i,s){e=_(\"