PageSourceSearch

https://alanmenken-live.herokuapp.com/build/js/main-dadcf8e076.legacy.js

js alanmenken-live.herokuapp.com collected 2026-10-03 14:46:47 UTC 784,679 bytes, 322 lines download raw bytes

1/*! For license information please see main.legacy.js.LICENSE */
2!function(l){function t(t){for(var e,i,n=t[0],r=t[1],o=t[3]||[],s=0,a=[];s<n.length;s++)i=n[s],Object.prototype.hasOwnProperty.call(h,i)&&h[i]&&a.push(h[i][0]),h[i]=0;for(e in r)Object.prototype.hasOwnProperty.call(r,e)&&(l[e]=r[e]);for(d&&d(t),o.forEach(function(t){if(void 0===h[t]){h[t]=null;var e=document.createElement("link");c.nc&&e.setAttribute("nonce",c.nc),e.rel="prefetch",e.as="script",e.href=u(t),document.head.appendChild(e)}});a.length;)a.shift()()}var i={},h={0:0};function u(t){return c.p+""+({1:"videojs"}[t]||t)+".chunk.legacy.js"}function c(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return l[t].call(e.exports,e,e.exports,c),e.l=!0,e.exports}c.e=function(r){var t=[],i=h[r];if(0!==i)if(i)t.push(i[2]);else{var e=new Promise(function(t,e){i=h[r]=[t,e]});t.push(i[2]=e);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,c.nc&&o.setAttribute("nonce",c.nc),o.src=u(r);var s=new Error;n=function(t){o.onerror=o.onload=null,clearTimeout(a);var e=h[r];if(0!==e){if(e){var i=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;s.message="Loading chunk "+r+" failed.\n("+i+": "+n+")",s.name="ChunkLoadError",s.type=i,s.request=n,e[1](s)}h[r]=void 0}};var a=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(t)},c.m=l,c.c=i,c.d=function(t,e,i){c.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},c.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(c.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(i,n,function(t){return e[t]}.bind(null,n));return i},c.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return c.d(e,"a",e),e},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.p="/build/js/",c.oe=function(t){throw t};var e=window.webpackJsonp=window.webpackJsonp||[],n=e.push.bind(e);e.push=t,e=e.slice();for(var r=0;r<e.length;r++)t(e[r]);var d=n,o=c(c.s=141);t([[],{},0,[1]])}([function(t,v,m){"use strict";(function(t,e){m.d(v,"k",function(){return i}),m.d(v,"i",function(){return n}),m.d(v,"m",function(){return r}),m.d(v,"l",function(){return n}),m.d(v,"h",function(){return s}),m.d(v,"a",function(){return a}),m.d(v,"b",function(){return l}),m.d(v,"d",function(){return h}),m.d(v,"e",function(){return u}),m.d(v,"f",function(){return c}),m.d(v,"g",function(){return d}),m.d(v,"j",function(){return f}),m.d(v,"c",function(){return p});
3/*!
4 * VERSION: 2.1.3
5 * DATE: 2019-05-17
6 * UPDATES AND DOCS AT: http://greensock.com
7 *
8 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
9 * This work is subject to the terms at http://greensock.com/standard-license or for
10 * Club GreenSock members, the software agreement that was issued with your membership.
11 *
12 * @author: Jack Doyle, [email protected]
13 */
14var i="undefined"!=typeof window?window:t.exports&&void 0!==e?e:{},n=function(c){var d={},n=c.document,f=c.GreenSockGlobals=c.GreenSockGlobals||c;if(f.TweenLite)return f.TweenLite;function p(t){var e,i=t.split("."),n=f;for(e=0;e<i.length;e++)n[i[e]]=n=n[i[e]]||{};return n}function l(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i}function v(){}var t,e,i,m,g,r,o,y=p("com.greensock"),_=1e-8,x=(r=Object.prototype.toString,o=r.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&r.call(t)===o)}),w={},b=function(a,l,h,u){this.sc=w[a]?w[a].sc:[],(w[a]=this).gsClass=null,this.func=h;var c=[];this.check=function(t){for(var e,i,n,r,o=l.length,s=o;-1<--o;)(e=w[l[o]]||new b(l[o],[])).gsClass?(c[o]=e.gsClass,s--):t&&e.sc.push(this);if(0===s&&h)for(n=(i=("com.greensock."+a).split(".")).pop(),r=p(i.join("."))[n]=this.gsClass=h.apply(h,c),u&&(f[n]=d[n]=r),o=0;o<this.sc.length;o++)this.sc[o].check()},this.check(!0)}
14,s=c._gsDefine=function(t,e,i,n){return new b(t,e,i,n)},T=y._class=function(t,e,i){return e=e||function(){},s(t,[],function(){return e},i),e};s.globals=f;var a=[0,0,1,1],E=T("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?a.concat(e):a},!0),S=E.map={},h=E.register=function(t,e,i,n){for(var r,o,s,a,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(o=l[h],r=n?T("easing."+o,null,!0):y.easing[o]||{},s=u.length;-1<--s;)a=u[s],S[o+"."+a]=S[a+o]=r[a]=t.getRatio?t:t[a]||new t};for((i=E.prototype)._calcEnd=!1,i.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},e=(t=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--e;)i=t[e]+",Power"+e,h(new E(null,null,1,e),i,"easeOut",!0),h(new E(null,null,2,e),i,"easeIn"+(0===e?",easeNone":"")),h(new E(null,null,3,e),i,"easeInOut");S.linear=y.easing.Linear.easeIn,S.swing=y.easing.Quad.easeInOut;var O=T("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(i=O.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var o,s,a=this._listeners[t],l=0;for(this!==m||g||m.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;-1<--s;)(o=a[s]).c===e&&o.s===i?a.splice(s,1):0===l&&o.pr<r&&(l=s+1);a.splice(l,0,{c:e,s:i,up:n,pr:r})},i.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;-1<--i;)if(n[i].c===e)return void n.splice(i,1)},i.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(1<(e=r.length)&&(r=r.slice(0)),i=this._eventTarget;-1<--e;)(n=r[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var P=c.requestAnimationFrame,A=c.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},I=C();for(e=(t=["ms","moz","webkit","o"]).length;-1<--e&&!P;)P=c[t[e]+"RequestAnimationFrame"],A=c[t[e]+"CancelAnimationFrame"]||c[t[e]+"CancelRequestAnimationFrame"];T("Ticker",function(t,e){var r,o,s,a,l,h=this,u=C(),i=!(!1===e||!P)&&"auto",c=500,d=33,f=function(t){var e,i,n=C()-I;c<n&&(u+=n-d),I+=n,h.time=(I-u)/1e3,e=h.time-l,(!r||0<e||!0===t)&&(h.frame++,l+=e+(a<=e?.004:a-e),i=!0),!0!==t&&(s=o(f)),i&&h.dispatchEvent("tick")};O.call(h),h.time=h.frame=0,h.tick=function(){f(!0)},h.lagSmoothing=function(t,e){if(!arguments.length)return c<1e8;c=t||1e8,d=Math.min(e,c,0)},h.sleep=function(){null!=s&&(i&&A?A(s):clearTimeout(s),o=v,s=null,h===m&&(g=!1))},h.wake=function(t){null!==s?h.sleep():t?u+=-I+(I=C()):10<h.frame&&(I=C()-c+5),o=0===r?v:i&&P?P:function(t){return setTimeout(t,1e3*(l-h.time)+1|0)},h===m&&(g=!0),f(2)},h.fps=function(t){if(!arguments.length)return r;a=1/((r=t)||60),l=this.time+a,h.wake()},h.useRAF=function(t){if(!arguments.length)return i;h.sleep(),i=t,h.fps(r)},h.fps(t),setTimeout(function(){"auto"===i&&h.frame<5&&"hidden"!==(n||{}).visibilityState&&h.useRAF(!1)},1500)}),(i=y.Ticker.prototype=new y.events.EventDispatcher).constructor=y.Ticker;var u=T("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Z){g||m.wake();var i=this.vars.useFrames?K:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});m=u.ticker=new y.Ticker,(i=u.prototype)._dirty=i._gc=i._initted=i._paused=!1,i._totalTime=i._time=0,i._rawPrevTime=-1,i._next=i._last=i._onUpdate=i._timeline=i.timeline=null,i._paused=!1;var M=function(){g&&2e3<C()-I&&("hidden"!==(n||{}).visibilityState||!m.lagSmoothing())&&m.wake();var t=setTimeout(M,2e3);t.unref&&t.unref()};M(),i.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},i.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},i.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},i.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},i.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},i.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)}
vendor: 4,522 bytes, line 14
14,i.render=function(t,e,i){},i.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},i.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-_},i._enabled=function(t,e){return g||m.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},i._kill=function(t,e){return this._enabled(!1,!1)},i.kill=function(t,e){return this._kill(t,e),this},i._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},i._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},i._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},i.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=x(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},i.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},i.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},i.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},i.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},i.totalTime=function(t,e,i){if(g||m.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(n<t&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(U.length&&J(),this.render(t,e,!1),U.length&&J())}return this},i.progress=i.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},i.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},i.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},i.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||_,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},i.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},i.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(g||t||m.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!=i&&this._initted&&this.duration()&&(e=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 k=T("core.SimpleTimeline",function(t){u.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(i=k.prototype=new u).constructor=k,i.kill()._gc=!1,i._first=i._last=i._recent=null,i._sortChildren=!1,i.add=i.insert=function(t,e,
14i,n){var r,o;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),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},i._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},i.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},i.rawTime=function(){return g||m.wake(),this._totalTime};function R(t){return t&&t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType)}var L=T("TweenLite",function(t,e,i){if(u.call(this,e,i),this.render=L.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:L.selector(t)||t;var n,r,o,s=t.jquery||t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?q[L.defaultOverwrite]:"number"==typeof a?a>>0:q[a],(s||t instanceof Array||t.push&&x(t))&&"number"!=typeof t[0])for(this._targets=o=l(t),this._propLookup=[],this._siblings=[],n=0;n<o.length;n++)(r=o[n])?"string"!=typeof r?r.length&&r!==c&&r[0]&&(r[0]===c||r[0].nodeType&&r[0].style&&!r.nodeType)?(o.splice(n--,1),this._targets=o=o.concat(l(r))):(this._siblings[n]=tt(r,this,!1),1===a&&1<this._siblings[n].length&&et(r,this,null,1,this._siblings[n])):"string"==typeof(r=o[n--]=L.selector(r))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=tt(t,this,!1),1===a&&1<this._siblings.length&&et(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-_,this.render(Math.min(0,-this._delay)))},!0);(i=L.prototype=new u).constructor=L,i.kill()._gc=!1,i.ratio=0,i._firstPT=i._targets=i._overwrittenProps=i._startAt=null,i._notifyPluginsOfEnabled=i._lazy=!1,L.version="2.1.3",L.defaultEase=i._ease=new E(null,null,1,1),L.defaultOverwrite="auto",L.ticker=m,L.autoSleep=120,L.lagSmoothing=function(t,e){m.lagSmoothing(t,e)},L.selector=c.$||c.jQuery||function(t){var e=c.$||c.jQuery;return e?(L.selector=e)(t):(n=n||c.document)?n.querySelectorAll?n.querySelectorAll(t):n.getElementById("#"===t.charAt(0)?t.substr(1):t):t};function D(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&-1e-6<e&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next}function N(t){return(1e3*t|0)/1e3+""}function F(t,e,i,n){var r,o,s,a,l,h,u,c=[],d=0,f="",p=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",i&&(i(c),t=c[0],e=c[1]),c.length=0,r=t.match(X)||[],o=e.match(X)||[],n&&(n._next=null,n.blob=1,c._firstPT=c._applyPT=n),l=o.length,a=0;a<l;a++)u=o[a],f+=(h=e.substr(d,e.indexOf(u,d)-d))||!a?h:",",d+=h.length,p?p=(p+1)%5:"rgba("===h.substr(-5)&&(p=1),u===r[a]||r.length<=a?f+=u:(f&&(c.push(f),f=""),s=parseFloat(r[a]),c.push(s),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:s,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-s)||0,f:0,m:p&&p<4?Math.round:N}),d+=u.length;return(f+=e.substr(d))&&c.push(f),c.setRatio=D,z.test(e)&&(c.end=null),c}function B(t,e,i,n,r,o,s,a,l){"function"==typeof n&&(n=n(l||0,t));var h=typeof t[e],u="function"!=h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),c="get"!==i?i:u?s?t[u](s):t[u]():t[e],d="string"==typeof n&&"="===n.charAt(1),f={t:t,p:e,s:c,f:"function"==h,pg:0,n:r||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:d?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-c||0};if("number"==typeof c&&("number"==typeof n||d)||(s||isNaN(c)||!d&&isNaN(n)||"boolean"==typeof c||"boolean"==typeof n?(f.fp=s,f={t:F(c,d?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):n,a||L.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(f.s=parseFloat(c),d||(f.c=parseFloat(n)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f}var U=[],j={},X=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=/[\+-]=-?[\.\d]/,W=L._internals={isArray:x,isSelector:R,lazyTweens:U,blobDif:F},H=L._plugins={},G=W.tweenLookup={},V=0,Y=W.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},K=u._rootFramesTimeline=new k,Z=u._rootTimeline=new k,Q=30,J=W.lazyRender=function(){var t,e,i=U.length;for(j={},t=0;t<i;t++)(e=U[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);U.length=0};Z._startTime=m.time,K._startTime=m.frame,Z._active=K._active=!0,setTimeout(J,1),u._updateRoot=L.render=function(){var t,e,i;if(U.length&&J(),Z.render((m.time-Z._startTime)*Z._timeScale,!1,!1),K.render((m.frame-K._startTime)*K._timeScale,!1,!1),U.length&&J(),m.frame>=Q){for(i in Q=m.frame+(parseInt(L.autoSleep,10)||120),G){for(t=(e=G[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete G[i]}if((!(i=Z._first)||i._paused)&&L.autoSleep&&!K._first&&1===m._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||m.sleep()}}},m.addEventListener("tick",u._updateRoot);function $(t,e,i,n){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,i,n)),(s=L.onOverwrite)&&(o=s(t,e,i,n)),!1!==r&&!1!==o}
14var tt=function(t,e,i){var n,r,o=t._gsTweenID;if(G[o||(t._gsTweenID=o="t"+V++)]||(G[o]={target:t,tweens:[]}),e&&((n=G[o].tweens)[r=n.length]=e,i))for(;-1<--r;)n[r]===e&&n.splice(r,1);return G[o].tweens},et=function(t,e,i,n,r){var o,s,a,l;if(1===n||4<=n){for(l=r.length,o=0;o<l;o++)if((a=r[o])!==e)a._gc||a._kill(null,t,e)&&(s=!0);else if(5===n)break;return s}var h,u=e._startTime+_,c=[],d=0,f=0===e._duration;for(o=r.length;-1<--o;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(h=h||it(e,0,f),0===it(a,h,f)&&(c[d++]=a)):a._startTime<=u&&a._startTime+a.totalDuration()/a._timeScale>u&&((f||!a._initted)&&u-a._startTime<=2e-8||(c[d++]=a)));for(o=d;-1<--o;)if(l=(a=c[o])._firstPT,2===n&&a._kill(i,t,e)&&(s=!0),2!==n||!a._firstPT&&a._initted&&l){if(2!==n&&!$(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},it=function(t,e,i){for(var n=t._timeline,r=n._timeScale,o=t._startTime;n._timeline;){if(o+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return e<(o/=r)?o-e:i&&o===e||!t._initted&&o-e<2e-8?_:(o+=t.totalDuration()/t._timeScale/r)>e+_?0:o-e-_};i._init=function(){var t,e,i,n,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,h=!!s.immediateRender,u=s.ease,c=this._startAt;if(s.startAt){for(n in c&&(c.render(-1,!0),c.kill()),r={},s.startAt)r[n]=s.startAt[n];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==s.lazy,r.startAt=r.delay=null,r.onUpdate=s.onUpdate,r.onUpdateParams=s.onUpdateParams,r.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=L.to(this.target||{},0,r),h)if(0<this._time)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(c)c.render(-1,!0),c.kill(),this._startAt=null;else{for(n in 0!==this._time&&(h=!1),i={},s)Y[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==s.lazy,i.immediateRender=h,this._startAt=L.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof E?u:"function"==typeof u?new E(u,s.easeParams):S[u]||L.defaultEase:L.defaultEase,s.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t<o;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&L._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0},i._initProps=function(t,e,i,n,r){var o,s,a,l,h,u;if(null==t)return!1;for(o in j[t._gsTweenID]&&J(),this.vars.css||t.style&&t!==c&&t.nodeType&&H.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)Y[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!H[i]||H[i]&&H[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,t),this.vars)if(u=this.vars[o],Y[o])u&&(u instanceof Array||u.push&&x(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[o]=u=this._swapSelfInParams(u,this));else if(H[o]&&(l=new H[o])._onInitTween(t,this.vars[o],this,r)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:l._priority,m:0},s=l._overwriteProps.length;-1<--s;)e[l._overwriteProps[s]]=this._firstPT;(l._priority||l._onInitAllProps)&&(a=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else e[o]=B.call(this,t,o,"get",u,o,0,null,this.vars.stringFilter,r);
14return n&&this._kill(n,t)?this._initProps(t,e,i,n,r):1<this._overwrite&&this._firstPT&&1<i.length&&et(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,n,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(j[t._gsTweenID]=!0),a)},i.render=function(t,e,i){var n,r,o,s,a=this,l=a._time,h=a._duration,u=a._rawPrevTime;if(h-_<=t&&0<=t)a._totalTime=a._time=h,a.ratio=a._ease._calcEnd?a._ease.getRatio(1):1,a._reversed||(n=!0,r="onComplete",i=i||a._timeline.autoRemoveChildren),0===h&&(!a._initted&&a.vars.lazy&&!i||(a._startTime===a._timeline._duration&&(t=0),(u<0||t<=0&&-_<=t||u===_&&"isPause"!==a.data)&&u!==t&&(i=!0,_<u&&(r="onReverseComplete")),a._rawPrevTime=s=!e||t||u===t?t:_));else if(t<_)a._totalTime=a._time=0,a.ratio=a._ease._calcEnd?a._ease.getRatio(0):0,(0!==l||0===h&&0<u)&&(r="onReverseComplete",n=a._reversed),-_<t?t=0:t<0&&(a._active=!1,0===h&&(!a._initted&&a.vars.lazy&&!i||(0<=u&&(u!==_||"isPause"!==a.data)&&(i=!0),a._rawPrevTime=s=!e||t||u===t?t:_))),(!a._initted||a._startAt&&a._startAt.progress())&&(i=!0);else if(a._totalTime=a._time=t,a._easeType){var c=t/h,d=a._easeType,f=a._easePower;(1===d||3===d&&.5<=c)&&(c=1-c),3===d&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),a.ratio=1===d?1-c:2===d?c:t/h<.5?c/2:1-c/2}else a.ratio=a._ease.getRatio(t/h);if(a._time!==l||i){if(!a._initted){if(a._init(),!a._initted||a._gc)return;if(!i&&a._firstPT&&(!1!==a.vars.lazy&&a._duration||a.vars.lazy&&!a._duration))return a._time=a._totalTime=l,a._rawPrevTime=u,U.push(a),void(a._lazy=[t,e]);a._time&&!n?a.ratio=a._ease.getRatio(a._time/h):n&&a._ease._calcEnd&&(a.ratio=a._ease.getRatio(0===a._time?0:1))}for(!1!==a._lazy&&(a._lazy=!1),a._active||!a._paused&&a._time!==l&&0<=t&&(a._active=!0),0===l&&(a._startAt&&(0<=t?a._startAt.render(t,!0,i):r=r||"_dummyGS"),a.vars.onStart&&(0===a._time&&0!==h||e||a._callback("onStart"))),o=a._firstPT;o;)o.f?o.t[o.p](o.c*a.ratio+o.s):o.t[o.p]=o.c*a.ratio+o.s,o=o._next;
14a._onUpdate&&(t<0&&a._startAt&&-1e-4!==t&&a._startAt.render(t,!0,i),e||(a._time!==l||n||i)&&a._callback("onUpdate")),r&&(a._gc&&!i||(t<0&&a._startAt&&!a._onUpdate&&-1e-4!==t&&a._startAt.render(t,!0,i),n&&(a._timeline.autoRemoveChildren&&a._enabled(!1,!1),a._active=!1),!e&&a.vars[r]&&a._callback(r),0===h&&a._rawPrevTime===_&&s!==_&&(a._rawPrevTime=0)))}},i._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:L.selector(e)||e;var n,r,o,s,a,l,h,u,c,d=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((x(e)||R(e))&&"number"!=typeof e[0])for(n=e.length;-1<--n;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;-1<--n;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(h=t||a,u=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(L.onOverwrite||this.vars.onOverwrite)){for(o in h)a[o]&&(c=c||[]).push(o);if((c||!t)&&!$(this,i,e,c))return!1}for(o in h)(s=a[o])&&(d&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(h)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[o]),u&&(r[o]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},i.invalidate=function(){this._notifyPluginsOfEnabled&&L._onPluginEvent("_onDisable",this);var t=this._time;return 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=-_,this.render(t,!1,!1!==this.vars.lazy)),this},i._enabled=function(t,e){if(g||m.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;-1<--i;)this._siblings[i]=tt(n[i],this,!0);else this._siblings=tt(this.target,this,!0)}return u.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&L._onPluginEvent(t?"_onEnable":"_onDisable",this)},L.to=function(t,e,i){return new L(t,e,i)},L.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new L(t,e,i)},L.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new L(t,e,n)},L.delayedCall=function(t,e,i,n,r){return new L(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},L.set=function(t,e){return new L(t,0,e)},L.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,o;
14if(t="string"!=typeof t?t:L.selector(t)||t,(x(t)||R(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];-1<--i;)n=n.concat(L.getTweensOf(t[i],e));for(i=n.length;-1<--i;)for(o=n[i],r=i;-1<--r;)o===n[r]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=tt(t).concat()).length;-1<--i;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},L.killTweensOf=L.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=L.getTweensOf(t,e),r=n.length;-1<--r;)n[r]._kill(i,t)};var nt=T("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(i=nt.prototype,nt.version="1.19.0",nt.API=2,i._firstPT=null,i._addTween=B,i.setRatio=D,i._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;-1<--e;)null!=t[i[e]]&&i.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},i._mod=i._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},L._onPluginEvent=function(t,e){var i,n,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:o)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},nt.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===nt.API&&(H[(new t[e])._propName]=t[e]);return!0},s.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=T("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){nt.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new nt(i);for(e in(a.constructor=s).API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,nt.activate([s]),s},t=c._gsQueue){for(e=0;e<t.length;e++)t[e]();for(i in w)w[i].func||c.console.log("GSAP encountered missing dependency: "+i)}return g=!1,L}(i),r=i.GreenSockGlobals,o=r.com.greensock,s=o.core.SimpleTimeline,a=o.core.Animation,l=r.Ease,h=r.Linear,u=r.Power1,c=r.Power2,d=r.Power3,f=(r.Power4,r.TweenPlugin),p=o.events.EventDispatcher}).call(this,m(350)(t),m(52))},function(t,e,i){var v=i(2),m=i(8),g=i(15),y=i(12),_=i(19),x="prototype",w=function(t,e,i){var n,r,o,s,a=t&w.F,l=t&w.G,h=t&w.S,u=t&w.P,c=t&w.B,d=l?v:h?v[e]||(v[e]={}):(v[e]||{})[x],f=l?m:m[e]||(m[e]={}),p=f[x]||(f[x]={});for(n in l&&(i=e),i)o=((r=!a&&d&&void 0!==d[n])?d:i)[n],s=c&&r?_(o,v):u&&"function"==typeof o?_(Function.call,o):o,d&&y(d,n,o,t&w.U),f[n]!=o&&g(f,n,s),u&&p[n]!=o&&(p[n]=o)};v.core=m,w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,t.exports=w},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(5);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){var n=i(53)("wks"),r=i(33),o=i(2).Symbol,s="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=n},function(t,e,i){var n=i(21),r=Math.min;t.exports=function(t){return 0<t?r(n(t),9007199254740991):0}},function(t,e){var i=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=i)},function(t,e,i){t.exports=!i(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(4),r=i(98),o=i(30),s=Object.defineProperty;e.f=i(9)?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return s(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}}
14,function(t,e,i){var n=i(27);t.exports=function(t){return Object(n(t))}},function(t,e,i){var o=i(2),s=i(15),a=i(14),l=i(33)("src"),n=i(147),r="toString",h=(""+n).split(r);i(8).inspectSource=function(t){return n.call(t)},(t.exports=function(t,e,i,n){var r="function"==typeof i;r&&(a(i,"name")||s(i,"name",e)),t[e]!==i&&(r&&(a(i,l)||s(i,l,t[e]?""+t[e]:h.join(String(e)))),t===o?t[e]=i:n?t[e]?t[e]=i:s(t,e,i):(delete t[e],s(t,e,i)))})(Function.prototype,r,function(){return"function"==typeof this&&this[l]||n.call(this)})},function(t,e,i){function n(t,e,i,n){var r=String(s(t)),o="<"+e;return""!==i&&(o+=" "+i+'="'+String(n).replace(a,"&quot;")+'"'),o+">"+r+"</"+e+">"}var r=i(1),o=i(3),s=i(27),a=/"/g;t.exports=function(e,t){var i={};i[e]=t(n),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",i)}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){var n=i(10),r=i(32);t.exports=i(9)?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(48),r=i(27);t.exports=function(t){return n(r(t))}},function(t,e,i){"use strict";var r=i(131),n=i(333),o=Object.prototype.toString;function s(t){return"[object Array]"===o.call(t)}function a(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===o.call(t)}function h(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),s(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}t.exports={isArray:s,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:n,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:l,isStream:function(t){return a(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:h,merge:function i(){var n={};function t(t,e){"object"==typeof n[e]&&"object"==typeof t?n[e]=i(n[e],t):n[e]=t}for(var e=0,r=arguments.length;e<r;e++)h(arguments[e],t);return n},extend:function(i,t,n){return h(t,function(t,e){i[e]=n&&"function"==typeof t?r(t,n):t}),i},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,i){"use strict";var n=i(3);t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,i){var o=i(20);t.exports=function(n,r,t){if(o(n),void 0===r)return n;switch(t){case 1:return function(t){return n.call(r,t)};case 2:return function(t,e){return n.call(r,t,e)};case 3:return function(t,e,i){return n.call(r,t,e,i)}}return function(){return n.apply(r,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?n:i)(t)}},function(t,e,i){var n=i(49),r=i(32),o=i(16),s=i(30),a=i(14),l=i(98),h=Object.getOwnPropertyDescriptor;e.f=i(9)?h:function(t,e){if(t=o(t),e=s(e,!0),l)try{return h(t,e)}catch(t){}if(a(t,e))return r(!n.f.call(t,e),t[e])}},function(t,e,i){var r=i(1),o=i(8),s=i(3);t.exports=function(t,e){var i=(o.Object||{})[t]||Object[t],n={};n[t]=e(i),r(r.S+r.F*s(function(){i(1)}),"Object",n)}},function(t,e,i){var _=i(19),x=i(48),w=i(11),b=i(7),n=i(114);t.exports=function(c,t){var d=1==c,f=2==c,p=3==c,v=4==c,m=6==c,g=5==c||m,y=t||n;return function(t,e,i){for(var n,r,o=w(t),s=x(o),a=_(e,i,3),l=b(s.length),h=0,u=d?y(t,l):f?y(t,0):void 0;h<l;
14h++)if((g||h in s)&&(r=a(n=s[h],h,o),c))if(d)u[h]=r;else if(r)switch(c){case 3:return!0;case 5:return n;case 6:return h;case 2:u.push(n)}else if(v)return!1;return m?-1:p||v?v:u}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e,i){return e&&r(t.prototype,e),i&&r(t,i),t};function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s=(n(a,[{key:"detach",value:function(){return null!==this._owner&&(this._owner.detach(this),!0)}}]),a);function a(t,e,i){void 0===e&&(e=!1),o(this,a),this._fn=t,this._once=e,this._thisArg=i,this._next=this._prev=this._owner=null}function l(t,e){return t._head?(t._tail._next=e)._prev=t._tail:t._head=e,(t._tail=e)._owner=t,e}var h=(n(u,[{key:"handlers",value:function(t){var e=!(arguments.length<=0||void 0===t)&&t,i=this._head;if(e)return!!i;for(var n=[];i;)n.push(i),i=i._next;return n}},{key:"has",value:function(t){if(!(t instanceof s))throw new Error("MiniSignal#has(): First arg must be a MiniSignalBinding object.");return t._owner===this}},{key:"dispatch",value:function(){var t=this._head;if(!t)return!1;for(;t;)t._once&&this.detach(t),t._fn.apply(t._thisArg,arguments),t=t._next;return!0}},{key:"add",value:function(t,e){var i=arguments.length<=1||void 0===e?null:e;if("function"!=typeof t)throw new Error("MiniSignal#add(): First arg must be a Function.");return l(this,new s(t,!1,i))}},{key:"once",value:function(t,e){var i=arguments.length<=1||void 0===e?null:e;if("function"!=typeof t)throw new Error("MiniSignal#once(): First arg must be a Function.");return l(this,new s(t,!0,i))}},{key:"detach",value:function(t){if(!(t instanceof s))throw new Error("MiniSignal#detach(): First arg must be a MiniSignalBinding object.");return t._owner!==this||(t._prev&&(t._prev._next=t._next),t._next&&(t._next._prev=t._prev),t===this._head?(this._head=t._next,null===t._next&&(this._tail=null)):t===this._tail&&(this._tail=t._prev,this._tail._next=null),t._owner=null),this}},{key:"detachAll",value:function(){var t=this._head;if(!t)return this;for(this._head=this._tail=null;t;)t._owner=null,t=t._next;return this}}]),u);function u(){o(this,u),this._head=this._tail=void 0}h.MiniSignalBinding=s,e.default=h,t.exports=e.default},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,i){"use strict";if(i(9)){var g=i(34),y=i(2),_=i(3),x=i(1),w=i(64),n=i(91),p=i(19),b=i(46),r=i(32),T=i(15),o=i(47),s=i(21),E=i(7),S=i(125),a=i(36),l=i(30),h=i(14),O=i(50),P=i(5),v=i(11),m=i(83),A=i(37),C=i(39),I=i(38).f,M=i(85),u=i(33),c=i(6),d=i(24),f=i(54),k=i(51),R=i(87),L=i(44),D=i(57),N=i(45),F=i(86),B=i(116),U=i(10),j=i(22),X=U.f,z=j.f,W=y.RangeError,H=y.TypeError,G=y.Uint8Array,V="ArrayBuffer",Y="Shared"+V,q="BYTES_PER_ELEMENT",K="prototype",Z=Array[K],Q=n.ArrayBuffer,J=n.DataView,$=d(0),tt=d(2),et=d(3),it=d(4),nt=d(5),rt=d(6),ot=f(!0),st=f(!1),at=R.values,lt=R.keys,ht=R.entries,ut=Z.lastIndexOf,ct=Z.reduce,dt=Z.reduceRight,ft=Z.join,pt=Z.sort,vt=Z.slice,mt=Z.toString,gt=Z.toLocaleString,yt=c("iterator"),_t=c("toStringTag"),xt=u("typed_constructor"),wt=u("def_constructor"),bt=w.CONSTR,Tt=w.TYPED,Et=w.VIEW,St="Wrong length!",Ot=d(1,function(t,e){return Mt(k(t,t[wt]),e)}),Pt=_(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),At=!!G&&!!G[K].set&&_(function(){new G(1).set({})}),Ct=function(t,e){var i=s(t);if(i<0||i%e)throw W("Wrong offset!");return i},It=function(t){if(P(t)&&Tt in t)return t;throw H(t+" is not a typed array!")},Mt=function(t,e){if(!(P(t)&&xt in t))throw H("It is not a typed array constructor!");return new t(e)},kt=function(t,e){return Rt(k(t,t[wt]),e)},Rt=function(t,e){for(var i=0,n=e.length,r=Mt(t,n);i<n;)r[i]=e[i++];return r},Lt=function(t,e,i){X(t,e,{get:function(){return this._d[i]}})},Dt=function(t,e,i){var n,r,o,s,a,l,h=v(t),u=arguments.length,c=1<u?e:void 0,d=void 0!==c,f=M(h);if(null!=f&&!m(f)){for(l=f.call(h),o=[],n=0;!(a=l.next()).done;n++)o.push(a.value);h=o}for(d&&2<u&&(c=p(c,i,2)),n=0,r=E(h.length),s=Mt(this,r);
vendor: 4,315 bytes, line 14
14n<r;n++)s[n]=d?c(h[n],n):h[n];return s},Nt=function(){for(var t=0,e=arguments.length,i=Mt(this,e);t<e;)i[t]=arguments[t++];return i},Ft=!!G&&_(function(){gt.call(new G(1))}),Bt=function(){return gt.apply(Ft?vt.call(It(this)):It(this),arguments)},Ut={copyWithin:function(t,e,i){return B.call(It(this),t,e,2<arguments.length?i:void 0)},every:function(t,e){return it(It(this),t,1<arguments.length?e:void 0)},fill:function(t){return F.apply(It(this),arguments)},filter:function(t,e){return kt(this,tt(It(this),t,1<arguments.length?e:void 0))},find:function(t,e){return nt(It(this),t,1<arguments.length?e:void 0)},findIndex:function(t,e){return rt(It(this),t,1<arguments.length?e:void 0)},forEach:function(t,e){$(It(this),t,1<arguments.length?e:void 0)},indexOf:function(t,e){return st(It(this),t,1<arguments.length?e:void 0)},includes:function(t,e){return ot(It(this),t,1<arguments.length?e:void 0)},join:function(t){return ft.apply(It(this),arguments)},lastIndexOf:function(t){return ut.apply(It(this),arguments)},map:function(t,e){return Ot(It(this),t,1<arguments.length?e:void 0)},reduce:function(t){return ct.apply(It(this),arguments)},reduceRight:function(t){return dt.apply(It(this),arguments)},reverse:function(){for(var t,e=this,i=It(e).length,n=Math.floor(i/2),r=0;r<n;)t=e[r],e[r++]=e[--i],e[i]=t;return e},some:function(t,e){return et(It(this),t,1<arguments.length?e:void 0)},sort:function(t){return pt.call(It(this),t)},subarray:function(t,e){var i=It(this),n=i.length,r=a(t,n);return new(k(i,i[wt]))(i.buffer,i.byteOffset+r*i.BYTES_PER_ELEMENT,E((void 0===e?n:a(e,n))-r))}},jt=function(t,e){return kt(this,vt.call(It(this),t,e))},Xt=function(t,e){It(this);var i=Ct(e,1),n=this.length,r=v(t),o=E(r.length),s=0;if(n<o+i)throw W(St);for(;s<o;)this[i+s]=r[s++]},zt={entries:function(){return ht.call(It(this))},keys:function(){return lt.call(It(this))},values:function(){return at.call(It(this))}},Wt=function(t,e){return P(t)&&t[Tt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ht=function(t,e){return Wt(t,e=l(e,!0))?r(2,t[e]):z(t,e)},Gt=function(t,e,i){return!(Wt(t,e=l(e,!0))&&P(i)&&h(i,"value"))||h(i,"get")||h(i,"set")||i.configurable||h(i,"writable")&&!i.writable||h(i,"enumerable")&&!i.enumerable?X(t,e,i):(t[e]=i.value,t)};bt||(j.f=Ht,U.f=Gt),x(x.S+x.F*!bt,"Object",{getOwnPropertyDescriptor:Ht,defineProperty:Gt}),_(function(){mt.call({})})&&(mt=gt=function(){return ft.call(this)});var Vt=o({},Ut);o(Vt,zt),T(Vt,yt,zt.values),o(Vt,{slice:jt,set:Xt,constructor:function(){},toString:mt,toLocaleString:Bt}),Lt(Vt,"buffer","b"),Lt(Vt,"byteOffset","o"),Lt(Vt,"byteLength","l"),Lt(Vt,"length","e"),X(Vt,_t,{get:function(){return this[Tt]}}),t.exports=function(t,c,e,r){function d(t,e){X(t,e,{get:function(){return function(t,e){var i=t._d;return i.v[n](e*c+i.o,Pt)}(this,e)},set:function(t){return function(t,e,i){var n=t._d;r&&(i=(i=Math.round(i))<0?0:255<i?255:255&i),n.v[o](e*c+n.o,i,Pt)}(this,e,t)},enumerable:!0})}var f=t+((r=!!r)?"Clamped":"")+"Array",n="get"+t,o="set"+t,p=y[f],s=p||{},i=p&&C(p),a=!p||!w.ABV,l={},h=p&&p[K];a?(p=e(function(t,e,i,n){b(t,p,f,"_d");var r,o,s,a,l=0,h=0;if(P(e)){if(!(e instanceof Q||(a=O(e))==V||a==Y))return Tt in e?Rt(p,e):Dt.call(p,e);r=e,h=Ct(i,c);var u=e.byteLength;if(void 0===n){if(u%c)throw W(St);if((o=u-h)<0)throw W(St)}else if(u<(o=E(n)*c)+h)throw W(St);s=o/c}else s=S(e),r=new Q(o=s*c);for(T(t,"_d",{b:r,o:h,l:o,e:s,v:new J(r)});l<s;)d(t,l++)}),h=p[K]=A(Vt),T(h,"constructor",p)):_(function(){p(1)})&&_(function(){new p(-1)})&&D(function(t){new p,new p(null),new p(1.5),new p(t)},!0)||(p=e(function(t,e,i,n){var r;return b(t,p,f),P(e)?e instanceof Q||(r=O(e))==V||r==Y?void 0!==n?new s(e,Ct(i,c),n):void 0!==i?new s(e,Ct(i,c)):new s(e):Tt in e?Rt(p,e):Dt.call(p,e):new s(S(e))}),$(i!==Function.prototype?I(s).concat(I(i)):I(s),function(t){t in p||T(p,t,s[t])}),p[K]=h,g||(h.constructor=p));var u=h[yt],v=!!u&&("values"==u.name||null==u.name),m=zt.values;T(p,xt,!0),T(h,Tt,f),T(h,Et,!0),T(h,wt,p),(r?new p(1)[_t]==f:_t in h)||X(h,_t,{get:function(){return f}}),l[f]=p,x(x.G+x.W+x.F*(p!=s),l),x(x.S,f,{BYTES_PER_ELEMENT:c}),x(x.S+x.F*_(function(){s.of.call(p,1)}),f,{from:Dt,of:Nt}),q in h||T(h,q,c),x(x.P,f,Ut),N(f),x(x.P+x.F*At,f,{set:Xt}),x(x.P+x.F*!v,f,zt),g||h.toString==mt||(h.toString=mt),x(x.P+x.F*_(function(){new p(1).slice()}),f,{slice:jt}
14),x(x.P+x.F*(_(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!_(function(){h.toLocaleString.call([1,2])})),f,{toLocaleString:Bt}),L[f]=v?u:m,g||v||T(h,yt,m)}}else t.exports=function(){}},function(t,e,i){var n,r,o,s,a,l,h,u,c,d,f,p,v,m,g,y,_,x;function w(t,e){return t.test(e)}function b(t){var e=t||("undefined"!=typeof navigator?navigator.userAgent:""),i=e.split("[FBAN");void 0!==i[1]&&(e=i[0]),void 0!==(i=e.split("Twitter"))[1]&&(e=i[0]);var n={apple:{phone:w(a,e)&&!w(p,e),ipod:w(l,e),tablet:!w(a,e)&&w(h,e)&&!w(p,e),device:(w(a,e)||w(l,e)||w(h,e))&&!w(p,e)},amazon:{phone:w(d,e),tablet:!w(d,e)&&w(f,e),device:w(d,e)||w(f,e)},android:{phone:!w(p,e)&&w(d,e)||!w(p,e)&&w(u,e),tablet:!w(p,e)&&!w(d,e)&&!w(u,e)&&(w(f,e)||w(c,e)),device:!w(p,e)&&(w(d,e)||w(f,e)||w(u,e)||w(c,e))||w(/\bokhttp\b/i,e)},windows:{phone:w(p,e),tablet:w(v,e),device:w(p,e)||w(v,e)},other:{blackberry:w(m,e),blackberry10:w(g,e),opera:w(y,e),firefox:w(x,e),chrome:w(_,e),device:w(m,e)||w(g,e)||w(y,e)||w(x,e)||w(_,e)}};return n.any=n.apple.device||n.android.device||n.windows.device||n.other.device,n.phone=n.apple.phone||n.android.phone||n.windows.phone,n.tablet=n.apple.tablet||n.android.tablet||n.windows.tablet,n}s=this,a=/iPhone/i,l=/iPod/i,h=/iPad/i,u=/\bAndroid(?:.+)Mobile\b/i,c=/Android/i,d=/\bAndroid(?:.+)SD4930UR\b/i,f=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,p=/Windows Phone/i,v=/\bWindows(?:.+)ARM\b/i,m=/BlackBerry/i,g=/BB10/i,y=/Opera Mini/i,_=/\b(CriOS|Chrome)(?:.+)Mobile/i,x=/Mobile(?:.+)Firefox\b/i,t.exports&&"undefined"==typeof window?t.exports=b:t.exports&&"undefined"!=typeof window?(t.exports=b(),t.exports.isMobile=b):(r=[],n=s.isMobile=b(),void 0===(o="function"==typeof n?n.apply(e,r):n)||(t.exports=o))},function(t,e,i){var r=i(5);t.exports=function(t,e){if(!r(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!r(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!r(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!r(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){function n(t){a(t,r,{value:{i:"O"+ ++l,w:{}}})}var r=i(33)("meta"),o=i(5),s=i(14),a=i(10).f,l=0,h=Object.isExtensible||function(){return!0},u=!i(3)(function(){return h(Object.preventExtensions({}))}),c=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,r)){if(!h(t))return"F";if(!e)return"E";n(t)}return t[r].i},getWeak:function(t,e){if(!s(t,r)){if(!h(t))return!0;if(!e)return!1;n(t)}return t[r].w},onFreeze:function(t){return u&&c.NEED&&h(t)&&!s(t,r)&&n(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e){t.exports=!1},function(t,e,i){var n=i(100),r=i(70);t.exports=Object.keys||function(t){return n(t,r)}},function(t,e,i){var n=i(21),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?r(t+e,0):o(t,e)}},function(t,e,n){function r(){}var o=n(4),s=n(101),a=n(70),l=n(69)("IE_PROTO"),h="prototype",u=function(){var t,e=n(67)("iframe"),i=a.length;for(e.style.display="none",n(71).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;i--;)delete u[h][a[i]];return u()};t.exports=Object.create||function(t,e){var i;return null!==t?(r[h]=o(t),i=new r,r[h]=null,i[l]=t):i=u(),void 0===e?i:s(i,e)}},function(t,e,i){var n=i(100),r=i(70).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},function(t,e,i){var n=i(14),r=i(11),o=i(69)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,i){var n=i(6)("unscopables"),r=Array.prototype;null==r[n]&&i(15)(r,n,{}),t.exports=function(t){r[n][t]=!0}},function(t,e,i){var n=i(5);t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}}
vendor: 4,217 bytes, line 14
14,function(t,e,i){var n=i(10).f,r=i(14),o=i(6)("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e,i){function n(t,e,i){var n={},r=a(function(){return!!l[t]()||"​…"!="​…"[t]()}),o=n[t]=r?e(c):l[t];i&&(n[i]=o),s(s.P+s.F*r,"String",n)}var s=i(1),r=i(27),a=i(3),l=i(73),o="["+l+"]",h=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),c=n.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(h,"")),2&e&&(t=t.replace(u,"")),t};t.exports=n},function(t,e){t.exports={}},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(9),s=i(6)("species");t.exports=function(t){var e=n[t];o&&e&&!e[s]&&r.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,i,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,e,i){var r=i(12);t.exports=function(t,e,i){for(var n in e)r(t,n,e[n],i);return t}},function(t,e,i){var n=i(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var r=i(26),o=i(6)("toStringTag"),s="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?i:s?r(e):"Object"==(n=r(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,i){var r=i(4),o=i(20),s=i(6)("species");t.exports=function(t,e){var i,n=r(t).constructor;return void 0===n||null==(i=r(n)[s])?e:o(i)}},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){var n=i(8),r=i(2),o="__core-js_shared__",s=r[o]||(r[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(34)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,i){var l=i(16),h=i(7),u=i(36);t.exports=function(a){return function(t,e,i){var n,r=l(t),o=h(r.length),s=u(i,o);if(a&&e!=e){for(;s<o;)if((n=r[s++])!=n)return!0}else for(;s<o;s++)if((a||s in r)&&r[s]===e)return a||s||0;return!a&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){var n=i(26);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var o=i(6)("iterator"),s=!1;try{var n=[7][o]();n.return=function(){s=!0},Array.from(n,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!s)return!1;var i=!1;try{var n=[7],r=n[o]();r.next=function(){return{done:i=!0}},n[o]=function(){return r},t(n)}catch(t){}return i}},function(t,e,i){"use strict";var n=i(4);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,i){"use strict";var r=i(50),o=RegExp.prototype.exec;t.exports=function(t,e){var i=t.exec;if("function"==typeof i){var n=i.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,i){"use strict";i(118);var u=i(12),c=i(15),d=i(3),f=i(27),p=i(6),v=i(88),m=p("species"),g=!d(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),y=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(i,t,e){var n=p(i),o=!d(function(){var t={};return t[n]=function(){return 7},7!=""[i](t)}),r=o?!d(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===i&&(e.constructor={},e.constructor[m]=function(){return e}),e[n](""),!t}):void 0;if(!o||!r||"replace"===i&&!g||"split"===i&&!y){var s=/./[n],a=e(f,n,""[i],function(t,e,i,n,r){return e.exec===v?o&&!r?{done:!0,value:s.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),l=a[0],h=a[1];u(String.prototype,i,l),c(RegExp.prototype,n,2==t?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)})}}}
vendor: 4,862 bytes, line 14
14,function(t,e,i){var d=i(19),f=i(113),p=i(83),v=i(4),m=i(7),g=i(85),y={},_={};(e=t.exports=function(t,e,i,n,r){var o,s,a,l,h=r?function(){return t}:g(t),u=d(i,n,e?2:1),c=0;if("function"!=typeof h)throw TypeError(t+" is not iterable!");if(p(h)){for(o=m(t.length);c<o;c++)if((l=e?u(v(s=t[c])[0],s[1]):u(t[c]))===y||l===_)return l}else for(a=h.call(t);!(s=a.next()).done;)if((l=f(a,u,s.value,e))===y||l===_)return l}).BREAK=y,e.RETURN=_},function(t,e,i){var n=i(2).navigator;t.exports=n&&n.userAgent||""},function(t,e,i){"use strict";var g=i(2),y=i(1),_=i(12),x=i(47),w=i(31),b=i(61),T=i(46),E=i(5),S=i(3),O=i(57),P=i(42),A=i(74);t.exports=function(n,t,e,i,r,o){function s(t){var i=u[t];_(u,t,"delete"==t?function(t){return!(o&&!E(t))&&i.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!E(t))&&i.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!E(t)?void 0:i.call(this,0===t?0:t)}:"add"==t?function(t){return i.call(this,0===t?0:t),this}:function(t,e){return i.call(this,0===t?0:t,e),this})}var a=g[n],l=a,h=r?"set":"add",u=l&&l.prototype,c={};if("function"==typeof l&&(o||u.forEach&&!S(function(){(new l).entries().next()}))){var d=new l,f=d[h](o?{}:-0,1)!=d,p=S(function(){d.has(1)}),v=O(function(t){new l(t)}),m=!o&&S(function(){for(var t=new l,e=5;e--;)t[h](e,e);return!t.has(-0)});v||(((l=t(function(t,e){T(t,l,n);var i=A(new a,t,l);return null!=e&&b(e,r,i[h],i),i})).prototype=u).constructor=l),(p||m)&&(s("delete"),s("has"),r&&s("get")),(m||f)&&s(h),o&&u.clear&&delete u.clear}else l=i.getConstructor(t,n,r,h),x(l.prototype,e),w.NEED=!0;return P(l,n),c[n]=l,y(y.G+y.W+y.F*(l!=a),c),o||i.setStrong(l,n,r),l}},function(t,e,i){for(var n,r=i(2),o=i(15),s=i(33),a=s("typed_array"),l=s("view"),h=!(!r.ArrayBuffer||!r.DataView),u=h,c=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(n=r[d[c++]])?(o(n.prototype,a,!0),o(n.prototype,l,!0)):u=!1;t.exports={ABV:h,CONSTR:u,TYPED:a,VIEW:l}},function(t,e,i){"use strict";var R=i(351),L=i(353);function P(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=o,e.resolve=function(t,e){return o(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?o(t,!1,!0).resolveObject(e):e},e.format=function(t){L.isString(t)&&(t=o(t));return t instanceof P?t.format():P.prototype.format.call(t)},e.Url=P;var D=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,N=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,r=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),F=["'"].concat(r),B=["%","/","?",";","#"].concat(F),U=["/","?","#"],j=/^[+a-z0-9A-Z_-]{0,63}$/,X=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,z={javascript:!0,"javascript:":!0},W={javascript:!0,"javascript:":!0},H={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},G=i(354);function o(t,e,i){if(t&&L.isObject(t)&&t instanceof P)return t;var n=new P;return n.parse(t,e,i),n}P.prototype.parse=function(t,e,i){if(!L.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),r=-1!==n&&n<t.indexOf("#")?"?":"#",o=t.split(r);o[0]=o[0].replace(/\\/g,"/");var s=t=o.join(r);if(s=s.trim(),!i&&1===t.split("#").length){var a=N.exec(s);if(a)return this.path=s,this.href=s,this.pathname=a[1],a[2]?(this.search=a[2],this.query=e?G.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=D.exec(s);if(l){var h=(l=l[0]).toLowerCase();this.protocol=h,s=s.substr(l.length)}if(i||l||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var u="//"===s.substr(0,2);!u||l&&W[l]||(s=s.substr(2),this.slashes=!0)}if(!W[l]&&(u||l&&!H[l])){for(var c,d,f=-1,p=0;p<U.length;p++){-1!==(v=s.indexOf(U[p]))&&(-1===f||v<f)&&(f=v)}-1!==(d=-1===f?s.lastIndexOf("@"):s.lastIndexOf("@",f))&&(c=s.slice(0,d),s=s.slice(d+1),this.auth=decodeURIComponent(c)),f=-1;for(p=0;p<B.length;p++){var v;-1!==(v=s.indexOf(B[p]))&&(-1===f||v<f)&&(f=v)}-1===f&&(f=s.length),this.host=s.slice(0,f),s=s.slice(f),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var g=this.hostname.split(/\./),y=(p=0,g.length);p<y;p++){var _=g[p];if(_&&!_.match(j)){for(var x="",w=0,b=_.length;w<b;w++)127<_.charCodeAt(w)?x+="x":x+=_[w];if(!x.match(j)){var T=g.slice(0,p),E=g.slice(p+1),S=_.match(X);S&&(T.push(S[1]),E.unshift(S[2])),E.length&&(s="/"+E.join(".")+s),this.hostname=T.join(".");break}}}255<this.hostname.length?this.hostname="":this.hostname=this.hostname.toLowerCase(),m||(this.hostname=R.toASCII(this.hostname));var O=this.port?":"+this.port:"",P=this.hostname||"";this.host=P+O,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}
vendor: 4,133 bytes, line 14
14if(!z[h])for(p=0,y=F.length;p<y;p++){var A=F[p];if(-1!==s.indexOf(A)){var C=encodeURIComponent(A);C===A&&(C=escape(A)),s=s.split(A).join(C)}}var I=s.indexOf("#");-1!==I&&(this.hash=s.substr(I),s=s.slice(0,I));var M=s.indexOf("?");if(-1!==M?(this.search=s.substr(M),this.query=s.substr(M+1),e&&(this.query=G.parse(this.query)),s=s.slice(0,M)):e&&(this.search="",this.query={}),s&&(this.pathname=s),H[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){O=this.pathname||"";var k=this.search||"";this.path=O+k}return this.href=this.format(),this},P.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",i=this.pathname||"",n=this.hash||"",r=!1,o="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&L.isObject(this.query)&&Object.keys(this.query).length&&(o=G.stringify(this.query));var s=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||H[e])&&!1!==r?(r="//"+(r||""),i&&"/"!==i.charAt(0)&&(i="/"+i)):r=r||"",n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),e+r+(i=i.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(s=s.replace("#","%23"))+n},P.prototype.resolve=function(t){return this.resolveObject(o(t,!1,!0)).format()},P.prototype.resolveObject=function(t){if(L.isString(t)){var e=new P;e.parse(t,!1,!0),t=e}for(var i=new P,n=Object.keys(this),r=0;r<n.length;r++){var o=n[r];i[o]=this[o]}if(i.hash=t.hash,""===t.href)return i.href=i.format(),i;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),a=0;a<s.length;a++){var l=s[a];"protocol"!==l&&(i[l]=t[l])}return H[i.protocol]&&i.hostname&&!i.pathname&&(i.path=i.pathname="/"),i.href=i.format(),i}if(t.protocol&&t.protocol!==i.protocol){if(!H[t.protocol]){for(var h=Object.keys(t),u=0;u<h.length;u++){var c=h[u];i[c]=t[c]}return i.href=i.format(),i}if(i.protocol=t.protocol,t.host||W[t.protocol])i.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),i.pathname=d.join("/")}if(i.search=t.search,i.query=t.query,i.host=t.host||"",i.auth=t.auth,i.hostname=t.hostname||t.host,i.port=t.port,i.pathname||i.search){var f=i.pathname||"",p=i.search||"";i.path=f+p}return i.slashes=i.slashes||t.slashes,i.href=i.format(),i}var v=i.pathname&&"/"===i.pathname.charAt(0),m=t.host||t.pathname&&"/"===t.pathname.charAt(0),g=m||v||i.host&&t.pathname,y=g,_=i.pathname&&i.pathname.split("/")||[],x=(d=t.pathname&&t.pathname.split("/")||[],i.protocol&&!H[i.protocol]);if(x&&(i.hostname="",i.port=null,i.host&&(""===_[0]?_[0]=i.host:_.unshift(i.host)),i.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),g=g&&(""===d[0]||""===_[0])),m)i.host=t.host||""===t.host?t.host:i.host,i.hostname=t.hostname||""===t.hostname?t.hostname:i.hostname,i.search=t.search,i.query=t.query,_=d;else if(d.length)(_=_||[]).pop(),_=_.concat(d),i.search=t.search,i.query=t.query;else if(!L.isNullOrUndefined(t.search)){if(x)i.hostname=i.host=_.shift(),(S=!!(i.host&&0<i.host.indexOf("@"))&&i.host.split("@"))&&(i.auth=S.shift(),i.host=i.hostname=S.shift());return i.search=t.search,i.query=t.query,L.isNull(i.pathname)&&L.isNull(i.search)||(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.href=i.format(),i}if(!_.length)return i.pathname=null,i.search?i.path="/"+i.search:i.path=null,i.href=i.format(),i;for(var w=_.slice(-1)[0],b=(i.host||t.host||1<_.length)&&("."===w||".."===w)||""===w,T=0,E=_.length;0<=E;E--)"."===(w=_[E])?_.splice(E,1):".."===w?(_.splice(E,1),T++):T&&(_.splice(E,1),T--);if(!g&&!y)for(;T--;)_.unshift("..");!g||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),b&&"/"!==_.join("/").substr(-1)&&_.push("");var S,O=""===_[0]||_[0]&&"/"===_[0].charAt(0);x&&(i.hostname=i.host=O?"":_.length?_.shift():"",(S=!!(i.host&&0<i.host.indexOf("@"))&&i.host.split("@"))&&(i.auth=S.shift(),i.host=i.hostname=S.shift()));
14return(g=g||i.host&&_.length)&&!O&&_.unshift(""),_.length?i.pathname=_.join("/"):(i.pathname=null,i.path=null),L.isNull(i.pathname)&&L.isNull(i.search)||(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.auth=t.auth||i.auth,i.slashes=i.slashes||t.slashes,i.href=i.format(),i},P.prototype.parseHost=function(){var t=this.host,e=n.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(o,s,a){(function(t){var e,i,n,r=o.exports&&void 0!==t?t:this||window;
15/*!
16 * VERSION: 0.2.2
17 * DATE: 2018-02-15
18 * UPDATES AND DOCS AT: http://greensock.com
19 *
20 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
21 * This work is subject to the terms at http://greensock.com/standard-license or for
22 * Club GreenSock members, the software agreement that was issued with your membership.
23 *
24 * @author: Jack Doyle, [email protected]
25 **/(r._gsQueue||(r._gsQueue=[])).push(function(){"use strict";r._gsDefine("easing.CustomEase",["easing.Ease"],function(y){function n(t){var e=this.lookup[t*this.l|0]||this.lookup[this.l-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy}function r(t,e,i){this._calcEnd=!0,(this.id=t)&&(y.map[t]=this),this.getRatio=n,this.setData(e,i)}var v=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,_=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,x=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,m=/[cLlsS]/g,w="CustomEase only accepts Cubic Bezier data.",A=function(t,e,i,n,r,o,s,a,l,h,u){var c,d=(t+i)/2,f=(e+n)/2,p=(i+r)/2,v=(n+o)/2,m=(r+s)/2,g=(o+a)/2,y=(d+p)/2,_=(f+v)/2,x=(p+m)/2,w=(v+g)/2,b=(y+x)/2,T=(_+w)/2,E=s-t,S=a-e,O=Math.abs((i-s)*S-(n-a)*E),P=Math.abs((r-s)*S-(o-a)*E);return h||(h=[{x:t,y:e},{x:s,y:a}],u=1),h.splice(u||h.length-1,0,{x:b,y:T}),l*(E*E+S*S)<(O+P)*(O+P)&&(c=h.length,A(t,e,d,f,y,_,b,T,l,h,u),A(b,T,x,w,m,g,s,a,l,h,u+1+(h.length-c))),h},t=r.prototype=new y;return t.constructor=r,t.setData=function(t,e){var i,n,r,o,s,a,l,h,u,c,d=(t=t||"0,0,1,1").match(v),f=1,p=[];if(c=(e=e||{}).precision||1,this.data=t,this.lookup=[],this.points=p,this.fast=c<=1,(m.test(t)||-1!==t.indexOf("M")&&-1===t.indexOf("C"))&&(d=function(t){var e,i,n,r,o,s,a,l,h,u,c,d=(t+"").replace(x,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(_)||[],f=[],p=0,v=0,m=d.length,g=2;for(e=0;e<m;e++)if(h=r,isNaN(d[e])?o=(r=d[e].toUpperCase())!==d[e]:e--,i=+d[e+1],n=+d[e+2],o&&(i+=p,n+=v),e||(a=i,l=n),"M"===r)s&&s.length<8&&(f.length-=1,g=0),p=a=i,v=l=n,s=[i,n],g=2,f.push(s),e+=2,r="L";else if("C"===r)(s=s||[0,0])[g++]=i,s[g++]=n,o||(p=v=0),s[g++]=p+1*d[e+3],s[g++]=v+1*d[e+4],s[g++]=p+=1*d[e+5],s[g++]=v+=1*d[e+6],e+=6;else if("S"===r)"C"===h||"S"===h?(u=p-s[g-4],c=v-s[g-3],s[g++]=p+u,s[g++]=v+c):(s[g++]=p,s[g++]=v),s[g++]=i,s[g++]=n,o||(p=v=0),s[g++]=p+=1*d[e+3],s[g++]=v+=1*d[e+4],e+=4;else{if("L"!==r&&"Z"!==r)throw w;"Z"===r&&(i=a,n=l,s.closed=!0),("L"===r||.5<Math.abs(p-i)||.5<Math.abs(v-n))&&(s[g++]=p+(i-p)/3,s[g++]=v+(n-v)/3,s[g++]=p+2*(i-p)/3,s[g++]=v+2*(n-v)/3,s[g++]=i,s[g++]=n,"L"===r&&(e+=2)),p=i,v=n}return f[0]}(t)),4===(i=d.length))d.unshift(0,0),d.push(1,1),i=8;else if((i-2)%6)throw w;for(0==+d[0]&&1==+d[i-2]||function(t,e,i){i||0===i||(i=Math.max(+t[t.length-1],+t[1]));var n,r=-1*+t[0],o=-i,s=t.length,a=1/(+t[s-2]+r),l=-e||(Math.abs(+t[s-1]-+t[1])<.01*(+t[s-2]-+t[0])?function(t){var e,i=t.length,n=999999999999;for(e=1;e<i;e+=6)+t[e]<n&&(n=+t[e]);return n}(t)+o:+t[s-1]+o);for(l=l?1/l:-a,n=0;n<s;n+=2)t[n]=(+t[n]+r)*a,t[n+1]=(+t[n+1]+o)*l}(d,e.height,e.originY),this.rawBezier=d,o=2;o<i;o+=6)n={x:+d[o-2],y:+d[o-1]},r={x:+d[o+4],y:+d[o+5]},p.push(n,r),A(n.x,n.y,+d[o],+d[o+1],+d[o+2],+d[o+3],r.x,r.y,1/(2e5*c),p,p.length-1);for(i=p.length,o=0;o<i;o++)l=p[o],h=p[o-1]||l,l.x>h.x||h.y!==l.y&&h.x===l.x||l===h?(h.cx=l.x-h.x,h.cy=l.y-h.y,h.n=l,h.nx=l.x,this.fast&&1<o&&2<Math.abs(h.cy/h.cx-p[o-2].cy/p[o-2].cx)&&(this.fast=!1),h.cx<f&&(h.cx?f=h.cx:(h.cx=.001,o===i-1&&(h.x-=.001,f=Math.min(f,.001),this.fast=!1)))):(p.splice(o--,1),i--);if(i=1/f+1|0,s=1/(this.l=i),l=p[a=0],this.fast){for(o=0;o<i;o++)u=o*s,l.nx<u&&(l=p[++a]),n=l.y+(u-l.x)/l.cx*l.cy,this.lookup[o]={x:u,cx:s,y:n,cy:0,nx:9},o&&(this.lookup[o-1].cy=n-this.lookup[o-1].y);this.lookup[i-1].cy=p[p.length-1].y-n}else{for(o=0;o<i;o++)l.nx<o*s&&(l=p[++a]),this.lookup[o]=l;a<p.length-1&&(this.lookup[o-1]=p[p.length-2])}return this._calcEnd=1!==p[p.length-1].y||0!==p[0].y,this},t.getRatio=n,t.getSVGData=function(t){return r.getSVGData(this,t)}
25,r.create=function(t,e,i){return new r(t,e,i)},r.version="0.2.2",r.bezierToPoints=A,r.get=function(t){return y.map[t]},r.getSVGData=function(t,e){var i,n,r,o,s,a,l,h,u,c,d=1e3,f=(e=e||{}).width||100,p=e.height||100,v=e.x||0,m=(e.y||0)+p,g=e.path;if(e.invert&&(p=-p,m=0),(t=t.getRatio?t:y.map[t]||void 0).rawBezier){for(i=[],l=t.rawBezier.length,r=0;r<l;r+=2)i.push(((v+t.rawBezier[r]*f)*d|0)/d+","+((m+t.rawBezier[r+1]*-p)*d|0)/d);i[0]="M"+i[0],i[1]="C"+i[1]}else for(i=["M"+v+","+m],o=1/(l=Math.max(5,200*(e.precision||1))),h=5/(l+=2),u=((v+o*f)*d|0)/d,n=((c=((m+t.getRatio(o)*-p)*d|0)/d)-m)/(u-v),r=2;r<l;r++)s=((v+r*o*f)*d|0)/d,a=((m+t.getRatio(r*o)*-p)*d|0)/d,(Math.abs((a-c)/(s-u)-n)>h||r===l-1)&&(i.push(u+","+c),n=(a-c)/(s-u)),u=s,c=a;return g&&("string"==typeof g?document.querySelector(g):g).setAttribute("d",i.join(" ")),i.join(" ")},r},!0)}),r._gsDefine&&r._gsQueue.pop()(),function(){"use strict";function t(){return(r.GreenSockGlobals||r).CustomEase}o.exports?(a(137),o.exports=t()):(i=[a(137)],void 0===(n="function"==typeof(e=t)?e.apply(s,i):e)||(o.exports=n))}()}).call(this,a(52))},function(t,e,i){var n=i(5),r=i(2).document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,i){e.f=i(6)},function(t,e,i){var n=i(53)("keys"),r=i(33);t.exports=function(t){return n[t]||(n[t]=r(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){var n=i(2).document;t.exports=n&&n.documentElement},function(t,e,r){function o(t,e){if(n(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")}var i=r(5),n=r(4);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,i,n){try{(n=r(19)(Function.call,r(22).f(Object.prototype,"__proto__").set,2))(t,[]),i=!(t instanceof Array)}catch(t){i=!0}return function(t,e){return o(t,e),i?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,i){var o=i(5),s=i(72).set;t.exports=function(t,e,i){var n,r=e.constructor;return r!==i&&"function"==typeof r&&(n=r.prototype)!==i.prototype&&o(n)&&s&&s(t,n),t}},function(t,e,i){"use strict";var r=i(21),o=i(27);t.exports=function(t){var e=String(o(this)),i="",n=r(t);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0<n;(n>>>=1)&&(e+=e))1&n&&(i+=e);return i}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var i=Math.expm1;t.exports=!i||22025.465794806718<i(10)||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:i},function(t,e,i){var l=i(21),h=i(27);t.exports=function(a){return function(t,e){var i,n,r=String(h(t)),o=l(e),s=r.length;return o<0||s<=o?a?"":void 0:(i=r.charCodeAt(o))<55296||56319<i||o+1===s||(n=r.charCodeAt(o+1))<56320||57343<n?a?r.charAt(o):i:a?r.slice(o,o+2):n-56320+(i-55296<<10)+65536}}},function(t,e,i){"use strict";function _(){return this}var x=i(34),w=i(1),b=i(12),T=i(15),E=i(44),S=i(112),O=i(42),P=i(39),A=i(6)("iterator"),C=!([].keys&&"next"in[].keys()),I="values";t.exports=function(t,e,i,n,r,o,s){S(i,e,n);function a(t){if(!C&&t in p)return p[t];switch(t){case"keys":case I:return function(){return new i(this,t)}}return function(){return new i(this,t)}}var l,h,u,c=e+" Iterator",d=r==I,f=!1,p=t.prototype,v=p[A]||p["@@iterator"]||r&&p[r],m=v||a(r),g=r?d?a("entries"):m:void 0,y="Array"==e&&p.entries||v;if(y&&(u=P(y.call(new t)))!==Object.prototype&&u.next&&(O(u,c,!0),x||"function"==typeof u[A]||T(u,A,_)),d&&v&&v.name!==I&&(f=!0,m=function(){return v.call(this)}),x&&!s||!C&&!f&&p[A]||T(p,A,m),E[e]=m,E[c]=_,r)if(l={values:d?m:a(I),keys:o?m:a("keys"),entries:g},s)for(h in l)h in p||b(p,h,l[h]);else w(w.P+w.F*(C||f),e,l);return l}},function(t,e,i){var n=i(81),r=i(27);t.exports=function(t,e,i){if(n(e))throw TypeError("String#"+i+" doesn't accept regex!");return String(r(t))}},function(t,e,i){var n=i(5),r=i(26),o=i(6)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}}
vendor: 3,415 bytes, line 25
25,function(t,e,i){var n=i(6)("match");t.exports=function(e){var i=/./;try{"/./"[e](i)}catch(t){try{return i[n]=!1,!"/./"[e](i)}catch(t){}}return!0}},function(t,e,i){var n=i(44),r=i(6)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[r]===t)}},function(t,e,i){"use strict";var n=i(10),r=i(32);t.exports=function(t,e,i){e in t?n.f(t,e,r(0,i)):t[e]=i}},function(t,e,i){var n=i(50),r=i(6)("iterator"),o=i(44);t.exports=i(8).getIteratorMethod=function(t){if(null!=t)return t[r]||t["@@iterator"]||o[n(t)]}},function(t,e,i){"use strict";var h=i(11),u=i(36),c=i(7);t.exports=function(t,e,i){for(var n=h(this),r=c(n.length),o=arguments.length,s=u(1<o?e:void 0,r),a=2<o?i:void 0,l=void 0===a?r:u(a,r);s<l;)n[s++]=t;return n}},function(t,e,i){"use strict";var n=i(40),r=i(117),o=i(44),s=i(16);t.exports=i(79)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(t,e,i){"use strict";var n,r,s=i(58),a=RegExp.prototype.exec,l=String.prototype.replace,o=a,h="lastIndex",u=(n=/a/,r=/b*/g,a.call(n,"a"),a.call(r,"a"),0!==n[h]||0!==r[h]),c=void 0!==/()??/.exec("")[1];(u||c)&&(o=function(t){var e,i,n,r,o=this;return c&&(i=new RegExp("^"+o.source+"$(?!\\s)",s.call(o))),u&&(e=o[h]),n=a.call(o,t),u&&n&&(o[h]=o.global?n.index+n[0].length:e),c&&n&&1<n.length&&l.call(n[0],i,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(n[r]=void 0)}),n}),t.exports=o},function(t,e,i){"use strict";var n=i(78)(!0);t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},function(t,e,i){function n(){var t=+this;if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}}function r(t){n.call(t.data)}var o,s,a,l=i(19),h=i(106),u=i(71),c=i(67),d=i(2),f=d.process,p=d.setImmediate,v=d.clearImmediate,m=d.MessageChannel,g=d.Dispatch,y=0,_={},x="onreadystatechange";p&&v||(p=function(t){for(var e=[],i=1;i<arguments.length;)e.push(arguments[i++]);return _[++y]=function(){h("function"==typeof t?t:Function(t),e)},o(y),y},v=function(t){delete _[t]},"process"==i(26)(f)?o=function(t){f.nextTick(l(n,t,1))}:g&&g.now?o=function(t){g.now(l(n,t,1))}:m?(a=(s=new m).port2,s.port1.onmessage=r,o=l(a.postMessage,a,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(o=function(t){d.postMessage(t+"","*")},d.addEventListener("message",r,!1)):o=x in c("script")?function(t){u.appendChild(c("script"))[x]=function(){u.removeChild(this),n.call(t)}}:function(t){setTimeout(l(n,t,1),0)}),t.exports={set:p,clear:v}},function(t,e,i){"use strict";var n=i(2),r=i(9),o=i(34),s=i(64),a=i(15),l=i(47),h=i(3),u=i(46),c=i(21),d=i(7),f=i(125),p=i(38).f,v=i(10).f,m=i(86),g=i(42),y="ArrayBuffer",_="DataView",x="prototype",w="Wrong index!",b=n[y],T=n[_],E=n.Math,S=n.RangeError,O=n.Infinity,P=b,A=E.abs,C=E.pow,I=E.floor,M=E.log,k=E.LN2,R="byteLength",L="byteOffset",D=r?"_b":"buffer",N=r?"_l":R,F=r?"_o":L;function B(t,e,i){var n,r,o,s=new Array(i),a=8*i-e-1,l=(1<<a)-1,h=l>>1,u=23===e?C(2,-24)-C(2,-77):0,c=0,d=t<0||0===t&&1/t<0?1:0;for((t=A(t))!=t||t===O?(r=t!=t?1:0,n=l):(n=I(M(t)/k),t*(o=C(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+h?u/o:u*C(2,1-h))*o&&(n++,o/=2),l<=n+h?(r=0,n=l):1<=n+h?(r=(t*o-1)*C(2,e),n+=h):(r=t*C(2,h-1)*C(2,e),n=0));8<=e;s[c++]=255&r,r/=256,e-=8);for(n=n<<e|r,a+=e;0<a;
25s[c++]=255&n,n/=256,a-=8);return s[--c]|=128*d,s}function U(t,e,i){var n,r=8*i-e-1,o=(1<<r)-1,s=o>>1,a=r-7,l=i-1,h=t[l--],u=127&h;for(h>>=7;0<a;u=256*u+t[l],l--,a-=8);for(n=u&(1<<-a)-1,u>>=-a,a+=e;0<a;n=256*n+t[l],l--,a-=8);if(0===u)u=1-s;else{if(u===o)return n?NaN:h?-O:O;n+=C(2,e),u-=s}return(h?-1:1)*n*C(2,u-e)}function j(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function X(t){return[255&t]}function z(t){return[255&t,t>>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return B(t,52,8)}function G(t){return B(t,23,4)}function V(t,e,i){v(t[x],e,{get:function(){return this[i]}})}function Y(t,e,i,n){var r=f(+i);if(r+e>t[N])throw S(w);var o=t[D]._b,s=r+t[F],a=o.slice(s,s+e);return n?a:a.reverse()}function q(t,e,i,n,r,o){var s=f(+i);if(s+e>t[N])throw S(w);for(var a=t[D]._b,l=s+t[F],h=n(+r),u=0;u<e;u++)a[l+u]=h[o?u:e-u-1]}if(s.ABV){if(!h(function(){b(1)})||!h(function(){new b(-1)})||h(function(){return new b,new b(1.5),new b(NaN),b.name!=y})){for(var K,Z=(b=function(t){return u(this,b),new P(f(t))})[x]=P[x],Q=p(P),J=0;Q.length>J;)(K=Q[J++])in b||a(b,K,P[K]);o||(Z.constructor=b)}var $=new T(new b(2)),tt=T[x].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(T[x],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else b=function(t){u(this,b,y);var e=f(t);this._b=m.call(new Array(e),0),this[N]=e},T=function(t,e,i){u(this,T,_),u(t,b,_);var n=t[N],r=c(e);if(r<0||n<r)throw S("Wrong offset!");if(n<r+(i=void 0===i?n-r:d(i)))throw S("Wrong length!");this[D]=t,this[F]=r,this[N]=i},r&&(V(b,R,"_l"),V(T,"buffer","_b"),V(T,R,"_l"),V(T,L,"_o")),l(T[x],{getInt8:function(t){return Y(this,1,t)[0]<<24>>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var i=Y(this,2,t,e);return(i[1]<<8|i[0])<<16>>16},getUint16:function(t,e){var i=Y(this,2,t,e);return i[1]<<8|i[0]},getInt32:function(t,e){return j(Y(this,4,t,e))},getUint32:function(t,e){return j(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return U(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return U(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,X,e)},setUint8:function(t,e){q(this,1,t,X,e)},setInt16:function(t,e,i){q(this,2,t,z,e,i)},setUint16:function(t,e,i){q(this,2,t,z,e,i)},setInt32:function(t,e,i){q(this,4,t,W,e,i)},setUint32:function(t,e,i){q(this,4,t,W,e,i)},setFloat32:function(t,e,i){q(this,4,t,G,e,i)},setFloat64:function(t,e,i){q(this,8,t,H,e,i)}});g(b,y),g(T,_),a(T[x],s.VIEW,!0),e[y]=b,e[_]=T},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){t.exports=!i(130)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,t,l){"use strict";(function(t){var i=l(17),n=l(335),e={"Content-Type":"application/x-www-form-urlencoded"};function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o,s={adapter:("undefined"!=typeof XMLHttpRequest?o=l(133):void 0!==t&&(o=l(133)),o),transformRequest:[function(t,e){return n(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return 200<=t&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}}
25,i.forEach(["delete","get","head"],function(t){s.headers[t]={}}),i.forEach(["post","put","patch"],function(t){s.headers[t]=i.merge(e)}),a.exports=s}).call(this,l(132))},function(t,e,i){t.exports=i(332)},function(t,e,i){"use strict";t.exports=function(t,e){e=e||{};for(var n={key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},i=n.parser[e.strictMode?"strict":"loose"].exec(t),r={},o=14;o--;)r[n.key[o]]=i[o]||"";return r[n.q.name]={},r[n.key[12]].replace(n.q.parser,function(t,e,i){e&&(r[n.q.name][e]=i)}),r}},function(t,e,i){t.exports=!i(9)&&!i(3)(function(){return 7!=Object.defineProperty(i(67)("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(2),r=i(8),o=i(34),s=i(68),a=i(10).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,i){var s=i(14),a=i(16),l=i(54)(!1),h=i(69)("IE_PROTO");t.exports=function(t,e){var i,n=a(t),r=0,o=[];for(i in n)i!=h&&s(n,i)&&o.push(i);for(;e.length>r;)s(n,i=e[r++])&&(~l(o,i)||o.push(i));return o}},function(t,e,i){var s=i(10),a=i(4),l=i(35);t.exports=i(9)?Object.defineProperties:function(t,e){a(t);for(var i,n=l(e),r=n.length,o=0;o<r;)s.f(t,i=n[o++],e[i]);return t}},function(t,e,i){var n=i(16),r=i(38).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return s.slice()}}(t):r(n(t))}},function(t,e,i){"use strict";var d=i(9),f=i(35),p=i(55),v=i(49),m=i(11),g=i(48),r=Object.assign;t.exports=!r||i(3)(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=r({},t)[i]||Object.keys(r({},e)).join("")!=n})?function(t,e){for(var i=m(t),n=arguments.length,r=1,o=p.f,s=v.f;r<n;)for(var a,l=g(arguments[r++]),h=o?f(l).concat(o(l)):f(l),u=h.length,c=0;c<u;)a=h[c++],d&&!s.call(l,a)||(i[a]=l[a]);return i}:r},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,i){"use strict";
vendor: 4,364 bytes, line 25
25var o=i(20),s=i(5),a=i(106),l=[].slice,h={};t.exports=Function.bind||function(e){var i=o(this),n=l.call(arguments,1),r=function(){var t=n.concat(l.call(arguments));return this instanceof r?function(t,e,i){if(!(e in h)){for(var n=[],r=0;r<e;r++)n[r]="a["+r+"]";h[e]=Function("F,a","return new F("+n.join(",")+")")}return h[e](t,i)}(i,t.length,t):a(i,t,e)};return s(i.prototype)&&(r.prototype=i.prototype),r}},function(t,e){t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},function(t,e,i){var n=i(2).parseInt,r=i(43).trim,o=i(73),s=/^[-+]?0[xX]/;t.exports=8!==n(o+"08")||22!==n(o+"0x16")?function(t,e){var i=r(String(t),3);return n(i,e>>>0||(s.test(i)?16:10))}:n},function(t,e,i){var n=i(2).parseFloat,r=i(43).trim;t.exports=1/n(i(73)+"-0")!=-1/0?function(t){var e=r(String(t),3),i=n(e);return 0===i&&"-"==e.charAt(0)?-0:i}:n},function(t,e,i){var n=i(26);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=n(t))throw TypeError(e);return+t}},function(t,e,i){var n=i(5),r=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&r(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,i){"use strict";var n=i(37),r=i(32),o=i(42),s={};i(15)(s,i(6)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(s,{next:r(1,i)}),o(t,e+" Iterator")}},function(t,e,i){var o=i(4);t.exports=function(e,t,i,n){try{return n?t(o(i)[0],i[1]):t(i)}catch(t){var r=e.return;throw void 0!==r&&o(r.call(e)),t}}},function(t,e,i){var n=i(237);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,i){var u=i(20),c=i(11),d=i(48),f=i(7);t.exports=function(t,e,i,n,r){u(e);var o=c(t),s=d(o),a=f(o.length),l=r?a-1:0,h=r?-1:1;if(i<2)for(;;){if(l in s){n=s[l],l+=h;break}if(l+=h,r?l<0:a<=l)throw TypeError("Reduce of empty array with no initial value")}for(;r?0<=l:l<a;l+=h)l in s&&(n=e(n,s[l],l,o));return n}},function(t,e,i){"use strict";var u=i(11),c=i(36),d=i(7);t.exports=[].copyWithin||function(t,e,i){var n=u(this),r=d(n.length),o=c(t,r),s=c(e,r),a=2<arguments.length?i:void 0,l=Math.min((void 0===a?r:c(a,r))-s,r-o),h=1;for(s<o&&o<s+l&&(h=-1,s+=l-1,o+=l-1);0<l--;)s in n?n[o]=n[s]:delete n[o],o+=h,s+=h;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){"use strict";var n=i(88);i(1)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},function(t,e,i){i(9)&&"g"!=/./g.flags&&i(10).f(RegExp.prototype,"flags",{configurable:!0,get:i(58)})},function(t,e,i){"use strict";function n(){}function c(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e}function r(u,i){if(!u._n){u._n=!0;var n=u._c;b(function(){for(var l=u._v,h=1==u._s,t=0,e=function(t){var e,i,n,r=h?t.ok:t.fail,o=t.resolve,s=t.reject,a=t.domain;try{r?(h||(2==u._h&&B(u),u._h=1),!0===r?e=l:(a&&a.enter(),e=r(l),a&&(a.exit(),n=!0)),e===t.promise?s(A("Promise-chain cycle")):(i=c(e))?i.call(e,o,s):o(e)):s(l)}catch(t){a&&!n&&a.exit(),s(t)}};n.length>t;)e(n[t++]);u._c=[],u._n=!1,i&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),r(e,!0))}var s,a,l,h,u=i(34),d=i(2),f=i(19),p=i(50),v=i(1),m=i(5),g=i(20),y=i(46),_=i(61),x=i(51),w=i(90).set,b=i(257)(),T=i(121),E=i(258),S=i(62),O=i(122),P="Promise",A=d.TypeError,C=d.process,I=C&&C.versions,M=I&&I.v8||"",k=d[P],R="process"==p(C),L=a=T.f,D=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[i(6)("species")]=function(t){t(n,n)};return(R||"function"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==M.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(t){}}(),N=function(o){w.call(d,function(){var t,e,i,n=o._v,r=F(o);if(r&&(t=E(function(){R?C.emit("unhandledRejection",n,o):(e=d.onunhandledrejection)?e({promise:o,reason:n}):(i=d.console)&&i.error&&i.error("Unhandled promise rejection",n)}),o._h=R||F(o)?2:1),o._a=void 0,r&&t.e)throw t.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(e){w.call(d,function(){var t;R?C.emit("rejectionHandled",e):(t=d.onrejectionhandled)&&t({promise:e,reason:e._v})})},U=function(t){var i,n=this;if(!n._d){n._d=!0,n=n._w||n;
vendor: 4,220 bytes, line 25
25try{if(n===t)throw A("Promise can't be resolved itself");(i=c(t))?b(function(){var e={_w:n,_d:!1};try{i.call(t,f(U,e,1),f(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,r(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};D||(k=function(t){y(this,k,P,"_h"),g(t),s.call(this);try{t(f(U,this,1),f(o,this,1))}catch(t){o.call(this,t)}},(s=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i(47)(k.prototype,{then:function(t,e){var i=L(x(this,k));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=R?C.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&r(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new s;this.promise=t,this.resolve=f(U,t,1),this.reject=f(o,t,1)},T.f=L=function(t){return t===k||t===h?new l(t):a(t)}),v(v.G+v.W+v.F*!D,{Promise:k}),i(42)(k,P),i(45)(P),h=i(8)[P],v(v.S+v.F*!D,P,{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),v(v.S+v.F*(u||!D),P,{resolve:function(t){return O(u&&this===h?k:this,t)}}),v(v.S+v.F*!(D&&i(57)(function(t){k.all(t).catch(n)})),P,{all:function(t){var s=this,e=L(s),a=e.resolve,l=e.reject,i=E(function(){var n=[],r=0,o=1;_(t,!1,function(t){var e=r++,i=!1;n.push(void 0),o++,s.resolve(t).then(function(t){i||(i=!0,n[e]=t,--o||a(n))},l)}),--o||a(n)});return i.e&&l(i.v),e.promise},race:function(t){var e=this,i=L(e),n=i.reject,r=E(function(){_(t,!1,function(t){e.resolve(t).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})},function(t,e,i){"use strict";var r=i(20);function n(t){var i,n;this.promise=new t(function(t,e){if(void 0!==i||void 0!==n)throw TypeError("Bad Promise constructor");i=t,n=e}),this.resolve=r(i),this.reject=r(n)}t.exports.f=function(t){return new n(t)}},function(t,e,i){var n=i(4),r=i(5),o=i(121);t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=o.f(t);return(0,i.resolve)(e),i.promise}},function(t,e,i){"use strict";function s(t,e){var i,n=p(e);if("F"!==n)return t._i[n];for(i=t._f;i;i=i.n)if(i.k==e)return i}var a=i(10).f,l=i(37),h=i(47),u=i(19),c=i(46),d=i(61),n=i(79),r=i(117),o=i(45),f=i(9),p=i(31).fastKey,v=i(41),m=f?"_s":"size";t.exports={getConstructor:function(t,o,i,n){var r=t(function(t,e){c(t,r,o,"_i"),t._t=o,t._i=l(null),t._f=void 0,t._l=void 0,t[m]=0,null!=e&&d(e,i,t[n],t)});return h(r.prototype,{clear:function(){for(var t=v(this,o),e=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete e[i.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var e=v(this,o),i=s(e,t);if(i){var n=i.n,r=i.p;delete e._i[i.i],i.r=!0,r&&(r.n=n),n&&(n.p=r),e._f==i&&(e._f=n),e._l==i&&(e._l=r),e[m]--}return!!i},forEach:function(t,e){v(this,o);for(var i,n=u(t,1<arguments.length?e:void 0,3);i=i?i.n:this._f;)for(n(i.v,i.k,this);i&&i.r;)i=i.p},has:function(t){return!!s(v(this,o),t)}}),f&&a(r.prototype,"size",{get:function(){return v(this,o)[m]}}),r},def:function(t,e,i){var n,r,o=s(t,e);return o?o.v=i:(t._l=o={i:r=p(e,!0),k:e,v:i,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[m]++,"F"!==r&&(t._i[r]=o)),t},getEntry:s,setStrong:function(t,i,e){n(t,i,function(t,e){this._t=v(t,i),this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,i=t._l;i&&i.r;)i=i.p;return t._t&&(t._l=i=i?i.n:t._t._f)?r(0,"keys"==e?i.k:"values"==e?i.v:[i.k,i.v]):(t._t=void 0,r(1))},e?"entries":"values",!e,!0),o(i)}}},function(t,e,i){"use strict";function s(t){return t._l||(t._l=new g)}function n(t,e){return p(t.a,function(t){return t[0]===e})}var a=i(47),l=i(31).getWeak,r=i(4),h=i(5),u=i(46),c=i(61),o=i(24),d=i(14),f=i(41),p=o(5),v=o(6),m=0,g=function(){this.a=[]};g.prototype={get:function(t){var e=n(this,t);if(e)return e[1]},has:function(t){return!!n(this,t)},set:function(t,e){var i=n(this,t);i?i[1]=e:this.a.push([t,e])},delete:function(e){var t=v(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},t.exports={getConstructor:function(t,i,n,r){var o=t(function(t,e){u(t,o,i,"_i"),t._t=i,t._i=m++,t._l=void 0,null!=e&&c(e,n,t[r],t)});return a(o.prototype,{delete:function(t){if(!h(t))return!1;var e=l(t);return!0===e?s(f(this,i)).delete(t):e&&d(e,this._i)&&delete e[this._i]},has:function(t){if(!h(t))return!1;var e=l(t);return!0===e?s(f(this,i)).has(t):e&&d(e,this._i)}}),o}
25,def:function(t,e,i){var n=l(r(e),!0);return!0===n?s(t).set(e,i):n[t._i]=i,t},ufstore:s}},function(t,e,i){var n=i(21),r=i(7);t.exports=function(t){if(void 0===t)return 0;var e=n(t),i=r(e);if(e!==i)throw RangeError("Wrong length!");return i}},function(t,e,i){var n=i(38),r=i(55),o=i(4),s=i(2).Reflect;t.exports=s&&s.ownKeys||function(t){var e=n.f(o(t)),i=r.f;return i?e.concat(i(t)):e}},function(t,e,i){var u=i(7),c=i(75),d=i(27);t.exports=function(t,e,i,n){var r=String(d(t)),o=r.length,s=void 0===i?" ":String(i),a=u(e);if(a<=o||""==s)return r;var l=a-o,h=c.call(s,Math.ceil(l/s.length));return h.length>l&&(h=h.slice(0,l)),n?h+r:r+h}},function(t,e,i){var l=i(9),h=i(35),u=i(16),c=i(49).f;t.exports=function(a){return function(t){for(var e,i=u(t),n=h(i),r=n.length,o=0,s=[];o<r;)e=n[o++],l&&!c.call(i,e)||s.push(a?[e,i[e]]:i[e]);return s}}},function(t,e){var i=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=i)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){"use strict";t.exports=function(i,n){return function(){for(var t=new Array(arguments.length),e=0;e<t.length;e++)t[e]=arguments[e];return i.apply(n,t)}}},function(t,e){var i,n,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(t){i=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(t){n=s}}();var l,h=[],u=!1,c=-1;function d(){u&&l&&(u=!1,l.length?h=l.concat(h):c=-1,h.length&&f())}function f(){if(!u){var t=a(d);u=!0;for(var e=h.length;e;){for(l=h,h=[];++c<e;)l&&l[c].run();c=-1,e=h.length}l=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function v(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];h.push(new p(t,e)),1!==h.length||u||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e,d){"use strict";var f=d(17),p=d(336),v=d(338),m=d(339),g=d(340),y=d(134),_="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||d(341);t.exports=function(c){return new Promise(function(i,n){var r=c.data,o=c.headers;f.isFormData(r)&&delete o["Content-Type"];var s=new XMLHttpRequest,t="onreadystatechange",a=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in s||g(c.url)||(s=new window.XDomainRequest,t="onload",a=!0,s.onprogress=function(){},s.ontimeout=function(){}),c.auth){var e=c.auth.username||"",l=c.auth.password||"";o.Authorization="Basic "+_(e+":"+l)}if(s.open(c.method.toUpperCase(),v(c.url,c.params,c.paramsSerializer),!0),s.timeout=c.timeout,s[t]=function(){if(s&&(4===s.readyState||a)&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in s?m(s.getAllResponseHeaders()):null,e={data:c.responseType&&"text"!==c.responseType?s.response:s.responseText,status:1223===s.status?204:s.status,statusText:1223===s.status?"No Content":s.statusText,headers:t,config:c,request:s};p(i,n,e),s=null}},s.onerror=function(){n(y("Network Error",c,null,s)),s=null},s.ontimeout=function(){n(y("timeout of "+c.timeout+"ms exceeded",c,"ECONNABORTED",s)),s=null},f.isStandardBrowserEnv()){var h=d(342),u=(c.withCredentials||g(c.url))&&c.xsrfCookieName?h.read(c.xsrfCookieName):void 0;u&&(o[c.xsrfHeaderName]=u)}if("setRequestHeader"in s&&f.forEach(o,function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete o[e]:s.setRequestHeader(e,t)}),c.withCredentials&&(s.withCredentials=!0),c.responseType)try{s.responseType=c.responseType}catch(t){if("json"!==c.responseType)throw t}"function"==typeof c.onDownloadProgress&&s.addEventListener("progress",c.onDownloadProgress),"function"==typeof c.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",c.onUploadProgress),c.cancelToken&&c.cancelToken.promise.then(function(t){s&&(s.abort(),n(t),s=null)}),void 0===r&&(r=null),s.send(r)})}}
25,function(t,e,i){"use strict";var s=i(337);t.exports=function(t,e,i,n,r){var o=new Error(t);return s(o,e,i,n,r)}},function(t,e,i){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,i){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(at,lt,t){(function(t){var st;
26/*!
27 * VERSION: 2.1.3
28 * DATE: 2019-05-17
29 * UPDATES AND DOCS AT: http://greensock.com
30 *
31 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
32 * This work is subject to the terms at http://greensock.com/standard-license or for
33 * Club GreenSock members, the software agreement that was issued with your membership.
34 * 
35 * @author: Jack Doyle, [email protected]
36 */
37/*!
38 * VERSION: 2.1.3
39 * DATE: 2019-05-17
40 * UPDATES AND DOCS AT: http://greensock.com
41 *
42 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
43 * This work is subject to the terms at http://greensock.com/standard-license or for
44 * Club GreenSock members, the software agreement that was issued with your membership.
45 * 
46 * @author: Jack Doyle, [email protected]
47 */
48!function(c,d){"use strict";var f={},n=c.document,p=c.GreenSockGlobals=c.GreenSockGlobals||c,t=p[d];if(t)return at.exports&&(at.exports=t);function v(t){var e,i=t.split("."),n=p;for(e=0;e<i.length;e++)n[i[e]]=n=n[i[e]]||{};return n}function l(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i}function m(){}var e,i,r,g,y,o,s,_=v("com.greensock"),x=1e-8,w=(o=Object.prototype.toString,s=o.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&o.call(t)===s)}),b={},T=function(a,l,h,u){this.sc=b[a]?b[a].sc:[],(b[a]=this).gsClass=null,this.func=h;var c=[];this.check=function(t){for(var e,i,n,r,o=l.length,s=o;-1<--o;)(e=b[l[o]]||new T(l[o],[])).gsClass?(c[o]=e.gsClass,s--):t&&e.sc.push(this);if(0===s&&h){if(n=(i=("com.greensock."+a).split(".")).pop(),r=v(i.join("."))[n]=this.gsClass=h.apply(h,c),u)if(p[n]=f[n]=r,at.exports)if(a===d)for(o in at.exports=f[d]=r,f)r[o]=f[o];else f[d]&&(f[d][n]=r);else void 0===(st=function(){return r}.apply(lt,[]))||(at.exports=st);for(o=0;o<this.sc.length;o++)this.sc[o].check()}},this.check(!0)},a=c._gsDefine=function(t,e,i,n){return new T(t,e,i,n)},E=_._class=function(t,e,i){return e=e||function(){},a(t,[],function(){return e},i),e};a.globals=p;var h=[0,0,1,1],S=E("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?h.concat(e):h},!0),O=S.map={},u=S.register=function(t,e,i,n){for(var r,o,s,a,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(o=l[h],r=n?E("easing."+o,null,!0):_.easing[o]||{},s=u.length;-1<--s;)a=u[s],O[o+"."+a]=O[a+o]=r[a]=t.getRatio?t:t[a]||new t};for((r=S.prototype)._calcEnd=!1,r.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},i=(e=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--i;)r=e[i]+",Power"+i,u(new S(null,null,1,i),r,"easeOut",!0),u(new S(null,null,2,i),r,"easeIn"+(0===i?",easeNone":"")),u(new S(null,null,3,i),r,"easeInOut");O.linear=_.easing.Linear.easeIn,O.swing=_.easing.Quad.easeInOut;var P=E("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(r=P.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var o,s,a=this._listeners[t],l=0;for(this!==g||y||g.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;-1<--s;)(o=a[s]).c===e&&o.s===i?a.splice(s,1):0===l&&o.pr<r&&(l=s+1);a.splice(l,0,{c:e,s:i,up:n,pr:r})},r.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;-1<--i;)if(n[i].c===e)return void n.splice(i,1)},r.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(1<(e=r.length)&&(r=r.slice(0)),i=this._eventTarget;-1<--e;)(n=r[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var A=c.requestAnimationFrame,C=c.cancelAnimationFrame,I=Date.now||function(){return(new Date).getTime()},M=I();
48for(i=(e=["ms","moz","webkit","o"]).length;-1<--i&&!A;)A=c[e[i]+"RequestAnimationFrame"],C=c[e[i]+"CancelAnimationFrame"]||c[e[i]+"CancelRequestAnimationFrame"];E("Ticker",function(t,e){var r,o,s,a,l,h=this,u=I(),i=!(!1===e||!A)&&"auto",c=500,d=33,f=function(t){var e,i,n=I()-M;c<n&&(u+=n-d),M+=n,h.time=(M-u)/1e3,e=h.time-l,(!r||0<e||!0===t)&&(h.frame++,l+=e+(a<=e?.004:a-e),i=!0),!0!==t&&(s=o(f)),i&&h.dispatchEvent("tick")};P.call(h),h.time=h.frame=0,h.tick=function(){f(!0)},h.lagSmoothing=function(t,e){if(!arguments.length)return c<1e8;c=t||1e8,d=Math.min(e,c,0)},h.sleep=function(){null!=s&&(i&&C?C(s):clearTimeout(s),o=m,s=null,h===g&&(y=!1))},h.wake=function(t){null!==s?h.sleep():t?u+=-M+(M=I()):10<h.frame&&(M=I()-c+5),o=0===r?m:i&&A?A:function(t){return setTimeout(t,1e3*(l-h.time)+1|0)},h===g&&(y=!0),f(2)},h.fps=function(t){if(!arguments.length)return r;a=1/((r=t)||60),l=this.time+a,h.wake()},h.useRAF=function(t){if(!arguments.length)return i;h.sleep(),i=t,h.fps(r)},h.fps(t),setTimeout(function(){"auto"===i&&h.frame<5&&"hidden"!==(n||{}).visibilityState&&h.useRAF(!1)},1500)}),(r=_.Ticker.prototype=new _.events.EventDispatcher).constructor=_.Ticker;var k=E("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,J){y||g.wake();var i=this.vars.useFrames?Q:J;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});g=k.ticker=new _.Ticker,(r=k.prototype)._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var R=function(){y&&2e3<I()-M&&("hidden"!==(n||{}).visibilityState||!g.lagSmoothing())&&g.wake();var t=setTimeout(R,2e3);t.unref&&t.unref()};R(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(t,e,i){},r.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-x},r._enabled=function(t,e){return y||g.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(t,e){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},r._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},r.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=w(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time}
vendor: 4,416 bytes, line 48
48,r.totalTime=function(t,e,i){if(y||g.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(n<t&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(X.length&&tt(),this.render(t,e,!1),X.length&&tt())}return this},r.progress=r.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},r.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},r.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},r.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||x,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},r.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},r.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(y||t||g.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!=i&&this._initted&&this.duration()&&(e=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 L=E("core.SimpleTimeline",function(t){k.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(r=L.prototype=new k).constructor=L,r.kill()._gc=!1,r._first=r._last=r._recent=null,r._sortChildren=!1,r.add=r.insert=function(t,e,i,n){var r,o;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),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},r._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},r.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},r.rawTime=function(){return y||g.wake(),this._totalTime};function D(t){return t&&t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType)}var N=E("TweenLite",function(t,e,i){if(k.call(this,e,i),this.render=N.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:N.selector(t)||t;var n,r,o,s=t.jquery||t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?Z[N.defaultOverwrite]:"number"==typeof a?a>>0:Z[a],(s||t instanceof Array||t.push&&w(t))&&"number"!=typeof t[0])for(this._targets=o=l(t),this._propLookup=[],this._siblings=[],n=0;n<o.length;n++)(r=o[n])?"string"!=typeof r?r.length&&r!==c&&r[0]&&(r[0]===c||r[0].nodeType&&r[0].style&&!r.nodeType)?(o.splice(n--,1),this._targets=o=o.concat(l(r))):(this._siblings[n]=it(r,this,
48!1),1===a&&1<this._siblings[n].length&&nt(r,this,null,1,this._siblings[n])):"string"==typeof(r=o[n--]=N.selector(r))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=it(t,this,!1),1===a&&1<this._siblings.length&&nt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-x,this.render(Math.min(0,-this._delay)))},!0);(r=N.prototype=new k).constructor=N,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=r._lazy=!1,N.version="2.1.3",N.defaultEase=r._ease=new S(null,null,1,1),N.defaultOverwrite="auto",N.ticker=g,N.autoSleep=120,N.lagSmoothing=function(t,e){g.lagSmoothing(t,e)},N.selector=c.$||c.jQuery||function(t){var e=c.$||c.jQuery;return e?(N.selector=e)(t):(n=n||c.document)?n.querySelectorAll?n.querySelectorAll(t):n.getElementById("#"===t.charAt(0)?t.substr(1):t):t};function F(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&-1e-6<e&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next}function B(t){return(1e3*t|0)/1e3+""}function U(t,e,i,n){var r,o,s,a,l,h,u,c=[],d=0,f="",p=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",i&&(i(c),t=c[0],e=c[1]),c.length=0,r=t.match(W)||[],o=e.match(W)||[],n&&(n._next=null,n.blob=1,c._firstPT=c._applyPT=n),l=o.length,a=0;a<l;a++)u=o[a],f+=(h=e.substr(d,e.indexOf(u,d)-d))||!a?h:",",d+=h.length,p?p=(p+1)%5:"rgba("===h.substr(-5)&&(p=1),u===r[a]||r.length<=a?f+=u:(f&&(c.push(f),f=""),s=parseFloat(r[a]),c.push(s),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:s,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-s)||0,f:0,m:p&&p<4?Math.round:B}),d+=u.length;return(f+=e.substr(d))&&c.push(f),c.setRatio=F,H.test(e)&&(c.end=null),c}function j(t,e,i,n,r,o,s,a,l){"function"==typeof n&&(n=n(l||0,t));var h=typeof t[e],u="function"!=h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),c="get"!==i?i:u?s?t[u](s):t[u]():t[e],d="string"==typeof n&&"="===n.charAt(1),f={t:t,p:e,s:c,f:"function"==h,pg:0,n:r||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:d?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-c||0};if("number"==typeof c&&("number"==typeof n||d)||(s||isNaN(c)||!d&&isNaN(n)||"boolean"==typeof c||"boolean"==typeof n?(f.fp=s,f={t:U(c,d?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):n,a||N.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(f.s=parseFloat(c),d||(f.c=parseFloat(n)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f}var X=[],z={},W=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,H=/[\+-]=-?[\.\d]/,G=N._internals={isArray:w,isSelector:D,lazyTweens:X,blobDif:U},V=N._plugins={},Y=G.tweenLookup={},q=0,K=G.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},Z={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Q=k._rootFramesTimeline=new L,J=k._rootTimeline=new L,$=30,tt=G.lazyRender=function(){var t,e,i=X.length;for(z={},t=0;t<i;t++)(e=X[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);X.length=0};J._startTime=g.time,Q._startTime=g.frame,J._active=Q._active=!0,setTimeout(tt,1),k._updateRoot=N.render=function(){var t,e,i;if(X.length&&tt(),J.render((g.time-J._startTime)*J._timeScale,!1,!1),Q.render((g.frame-Q._startTime)*Q._timeScale,!1,!1),X.length&&tt(),g.frame>=$){for(i in $=g.frame+(parseInt(N.autoSleep,10)||120),Y){for(t=(e=Y[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Y[i]}if((!(i=J._first)||i._paused)&&N.autoSleep&&!Q._first&&1===g._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||g.sleep()}}},g.addEventListener("tick",k._updateRoot);function et(t,e,i,n){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,i,n)),(s=N.onOverwrite)&&(o=s(t,e,i,n)),!1!==r&&!1!==o}
48var it=function(t,e,i){var n,r,o=t._gsTweenID;if(Y[o||(t._gsTweenID=o="t"+q++)]||(Y[o]={target:t,tweens:[]}),e&&((n=Y[o].tweens)[r=n.length]=e,i))for(;-1<--r;)n[r]===e&&n.splice(r,1);return Y[o].tweens},nt=function(t,e,i,n,r){var o,s,a,l;if(1===n||4<=n){for(l=r.length,o=0;o<l;o++)if((a=r[o])!==e)a._gc||a._kill(null,t,e)&&(s=!0);else if(5===n)break;return s}var h,u=e._startTime+x,c=[],d=0,f=0===e._duration;for(o=r.length;-1<--o;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(h=h||rt(e,0,f),0===rt(a,h,f)&&(c[d++]=a)):a._startTime<=u&&a._startTime+a.totalDuration()/a._timeScale>u&&((f||!a._initted)&&u-a._startTime<=2e-8||(c[d++]=a)));for(o=d;-1<--o;)if(l=(a=c[o])._firstPT,2===n&&a._kill(i,t,e)&&(s=!0),2!==n||!a._firstPT&&a._initted&&l){if(2!==n&&!et(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},rt=function(t,e,i){for(var n=t._timeline,r=n._timeScale,o=t._startTime;n._timeline;){if(o+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return e<(o/=r)?o-e:i&&o===e||!t._initted&&o-e<2e-8?x:(o+=t.totalDuration()/t._timeScale/r)>e+x?0:o-e-x};r._init=function(){var t,e,i,n,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,h=!!s.immediateRender,u=s.ease,c=this._startAt;if(s.startAt){for(n in c&&(c.render(-1,!0),c.kill()),r={},s.startAt)r[n]=s.startAt[n];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==s.lazy,r.startAt=r.delay=null,r.onUpdate=s.onUpdate,r.onUpdateParams=s.onUpdateParams,r.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=N.to(this.target||{},0,r),h)if(0<this._time)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(c)c.render(-1,!0),c.kill(),this._startAt=null;else{for(n in 0!==this._time&&(h=!1),i={},s)K[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==s.lazy,i.immediateRender=h,this._startAt=N.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof S?u:"function"==typeof u?new S(u,s.easeParams):O[u]||N.defaultEase:N.defaultEase,s.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t<o;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&N._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0},r._initProps=function(t,e,i,n,r){var o,s,a,l,h,u;if(null==t)return!1;for(o in z[t._gsTweenID]&&tt(),this.vars.css||t.style&&t!==c&&t.nodeType&&V.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)K[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!V[i]||V[i]&&V[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,t),this.vars)if(u=this.vars[o],K[o])u&&(u instanceof Array||u.push&&w(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[o]=u=this._swapSelfInParams(u,this));else if(V[o]&&(l=new V[o])._onInitTween(t,this.vars[o],this,r)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:l._priority,m:0},s=l._overwriteProps.length;-1<--s;)e[l._overwriteProps[s]]=this._firstPT;(l._priority||l._onInitAllProps)&&(a=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else e[o]=j.call(this,t,o,"get",u,o,0,null,this.vars.stringFilter,r);
48return n&&this._kill(n,t)?this._initProps(t,e,i,n,r):1<this._overwrite&&this._firstPT&&1<i.length&&nt(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,n,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(z[t._gsTweenID]=!0),a)},r.render=function(t,e,i){var n,r,o,s,a=this,l=a._time,h=a._duration,u=a._rawPrevTime;if(h-x<=t&&0<=t)a._totalTime=a._time=h,a.ratio=a._ease._calcEnd?a._ease.getRatio(1):1,a._reversed||(n=!0,r="onComplete",i=i||a._timeline.autoRemoveChildren),0===h&&(!a._initted&&a.vars.lazy&&!i||(a._startTime===a._timeline._duration&&(t=0),(u<0||t<=0&&-x<=t||u===x&&"isPause"!==a.data)&&u!==t&&(i=!0,x<u&&(r="onReverseComplete")),a._rawPrevTime=s=!e||t||u===t?t:x));else if(t<x)a._totalTime=a._time=0,a.ratio=a._ease._calcEnd?a._ease.getRatio(0):0,(0!==l||0===h&&0<u)&&(r="onReverseComplete",n=a._reversed),-x<t?t=0:t<0&&(a._active=!1,0===h&&(!a._initted&&a.vars.lazy&&!i||(0<=u&&(u!==x||"isPause"!==a.data)&&(i=!0),a._rawPrevTime=s=!e||t||u===t?t:x))),(!a._initted||a._startAt&&a._startAt.progress())&&(i=!0);else if(a._totalTime=a._time=t,a._easeType){var c=t/h,d=a._easeType,f=a._easePower;(1===d||3===d&&.5<=c)&&(c=1-c),3===d&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),a.ratio=1===d?1-c:2===d?c:t/h<.5?c/2:1-c/2}else a.ratio=a._ease.getRatio(t/h);if(a._time!==l||i){if(!a._initted){if(a._init(),!a._initted||a._gc)return;if(!i&&a._firstPT&&(!1!==a.vars.lazy&&a._duration||a.vars.lazy&&!a._duration))return a._time=a._totalTime=l,a._rawPrevTime=u,X.push(a),void(a._lazy=[t,e]);a._time&&!n?a.ratio=a._ease.getRatio(a._time/h):n&&a._ease._calcEnd&&(a.ratio=a._ease.getRatio(0===a._time?0:1))}for(!1!==a._lazy&&(a._lazy=!1),a._active||!a._paused&&a._time!==l&&0<=t&&(a._active=!0),0===l&&(a._startAt&&(0<=t?a._startAt.render(t,!0,i):r=r||"_dummyGS"),a.vars.onStart&&(0===a._time&&0!==h||e||a._callback("onStart"))),o=a._firstPT;o;)o.f?o.t[o.p](o.c*a.ratio+o.s):o.t[o.p]=o.c*a.ratio+o.s,o=o._next;
48a._onUpdate&&(t<0&&a._startAt&&-1e-4!==t&&a._startAt.render(t,!0,i),e||(a._time!==l||n||i)&&a._callback("onUpdate")),r&&(a._gc&&!i||(t<0&&a._startAt&&!a._onUpdate&&-1e-4!==t&&a._startAt.render(t,!0,i),n&&(a._timeline.autoRemoveChildren&&a._enabled(!1,!1),a._active=!1),!e&&a.vars[r]&&a._callback(r),0===h&&a._rawPrevTime===x&&s!==x&&(a._rawPrevTime=0)))}},r._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:N.selector(e)||e;var n,r,o,s,a,l,h,u,c,d=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((w(e)||D(e))&&"number"!=typeof e[0])for(n=e.length;-1<--n;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;-1<--n;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(h=t||a,u=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(N.onOverwrite||this.vars.onOverwrite)){for(o in h)a[o]&&(c=c||[]).push(o);if((c||!t)&&!et(this,i,e,c))return!1}for(o in h)(s=a[o])&&(d&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(h)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[o]),u&&(r[o]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},r.invalidate=function(){this._notifyPluginsOfEnabled&&N._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],k.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-x,this.render(t,!1,!1!==this.vars.lazy)),this},r._enabled=function(t,e){if(y||g.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;-1<--i;)this._siblings[i]=it(n[i],this,!0);else this._siblings=it(this.target,this,!0)}return k.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&N._onPluginEvent(t?"_onEnable":"_onDisable",this)},N.to=function(t,e,i){return new N(t,e,i)},N.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new N(t,e,i)},N.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new N(t,e,n)},N.delayedCall=function(t,e,i,n,r){return new N(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},N.set=function(t,e){return new N(t,0,e)},N.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,o;
48if(t="string"!=typeof t?t:N.selector(t)||t,(w(t)||D(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];-1<--i;)n=n.concat(N.getTweensOf(t[i],e));for(i=n.length;-1<--i;)for(o=n[i],r=i;-1<--r;)o===n[r]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=it(t).concat()).length;-1<--i;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},N.killTweensOf=N.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=N.getTweensOf(t,e),r=n.length;-1<--r;)n[r]._kill(i,t)};var ot=E("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=ot.prototype},!0);if(r=ot.prototype,ot.version="1.19.0",ot.API=2,r._firstPT=null,r._addTween=j,r.setRatio=F,r._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;-1<--e;)null!=t[i[e]]&&i.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},r._mod=r._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},N._onPluginEvent=function(t,e){var i,n,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:o)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},ot.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===ot.API&&(V[(new t[e])._propName]=t[e]);return!0},a.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=E("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){ot.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new ot(i);for(e in(a.constructor=s).API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,ot.activate([s]),s},e=c._gsQueue){for(i=0;i<e.length;i++)e[i]();for(r in b)b[r].func||c.console.log("GSAP encountered missing dependency: "+r)}y=!1}(at.exports&&void 0!==t?t:this||window,"TweenLite")}).call(this,t(52))},function(t,e,i){"use strict";var n=Object.prototype.hasOwnProperty,f="~";function r(){}function a(t,e,i){this.fn=t,this.context=e,this.once=i||!1}function o(t,e,i,n,r){if("function"!=typeof i)throw new TypeError("The listener must be a function");var o=new a(i,n||t,r),s=f?f+e:e;return t._events[s]?t._events[s].fn?t._events[s]=[t._events[s],o]:t._events[s].push(o):(t._events[s]=o,t._eventsCount++),t}function h(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(f=!1)),s.prototype.eventNames=function(){var t,e,i=[];if(0===this._eventsCount)return i;for(e in t=this._events)n.call(t,e)&&i.push(f?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},s.prototype.listeners=function(t){var e=f?f+t:t,i=this._events[e];if(!i)return[];if(i.fn)return[i.fn];for(var n=0,r=i.length,o=new Array(r);n<r;n++)o[n]=i[n].fn;return o},s.prototype.listenerCount=function(t){var e=f?f+t:t,i=this._events[e];return i?i.fn?1:i.length:0},s.prototype.emit=function(t,e,i,n,r,o){var s=f?f+t:t;if(!this._events[s])return!1;var a,l,h=this._events[s],u=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),u){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,e),!0;case 3:return h.fn.call(h.context,e,i),!0;case 4:return h.fn.call(h.context,e,i,n),!0;case 5:return h.fn.call(h.context,e,i,n,r),!0;case 6:return h.fn.call(h.context,e,i,n,r,o),!0}for(l=1,a=new Array(u-1);l<u;l++)a[l-1]=arguments[l];h.fn.apply(h.context,a)}else{var c,d=h.length;for(l=0;l<d;l++)switch(h[l].once&&this.removeListener(t,h[l].fn,void 0,!0),u){case 1:h[l].fn.call(h[l].context);break;case 2:h[l].fn.call(h[l].context,e);break;
48case 3:h[l].fn.call(h[l].context,e,i);break;case 4:h[l].fn.call(h[l].context,e,i,n);break;default:if(!a)for(c=1,a=new Array(u-1);c<u;c++)a[c-1]=arguments[c];h[l].fn.apply(h[l].context,a)}}return!0},s.prototype.on=function(t,e,i){return o(this,t,e,i,!1)},s.prototype.once=function(t,e,i){return o(this,t,e,i,!0)},s.prototype.removeListener=function(t,e,i,n){var r=f?f+t:t;if(!this._events[r])return this;if(!e)return h(this,r),this;var o=this._events[r];if(o.fn)o.fn!==e||n&&!o.once||i&&o.context!==i||h(this,r);else{for(var s=0,a=[],l=o.length;s<l;s++)(o[s].fn!==e||n&&!o[s].once||i&&o[s].context!==i)&&a.push(o[s]);a.length?this._events[r]=1===a.length?a[0]:a:h(this,r)}return this},s.prototype.removeAllListeners=function(t){var e;return t?(e=f?f+t:t,this._events[e]&&h(this,e)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=f,s.EventEmitter=s,t.exports=s},function(t,e,i){"use strict";function n(t,e,i){i=i||2;var n,r,o,s,a,l,h,u=e&&e.length,c=u?e[0]*i:t.length,d=v(t,0,c,i,!0),f=[];if(!d||d.next===d.prev)return f;if(u&&(d=function(t,e,i,n){var r,o,s,a,l,h=[];for(r=0,o=e.length;r<o;r++)s=e[r]*n,a=r<o-1?e[r+1]*n:t.length,(l=v(t,s,a,n,!1))===l.next&&(l.steiner=!0),h.push(w(l));for(h.sort(y),r=0;r<h.length;r++)_(h[r],i),i=m(i,i.next);return i}(t,e,d,i)),t.length>80*i){n=o=t[0],r=s=t[1];for(var p=i;p<c;p+=i)(a=t[p])<n&&(n=a),(l=t[p+1])<r&&(r=l),o<a&&(o=a),s<l&&(s=l);h=0!==(h=Math.max(o-n,s-r))?1/h:0}return g(d,f,i,n,r,h),f}function v(t,e,i,n,r){var o,s;if(r===0<A(t,e,i,n))for(o=e;o<i;o+=n)s=a(o,t[o],t[o+1],s);else for(o=i-n;e<=o;o-=n)s=a(o,t[o],t[o+1],s);return s&&p(s,s.next)&&(P(s),s=s.next),s}function m(t,e){if(!t)return t;e=e||t;var i,n=t;do{if(i=!1,n.steiner||!p(n,n.next)&&0!==T(n.prev,n,n.next))n=n.next;else{if(P(n),(n=e=n.prev)===n.next)break;i=!0}}while(i||n!==e);return e}function g(t,e,i,n,r,o,s){if(t){!s&&o&&function(t,e,i,n){var r=t;for(;null===r.z&&(r.z=x(r.x,r.y,e,i,n)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next,r!==t;);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,i,n,r,o,s,a,l,h=1;do{for(i=t,o=t=null,s=0;i;){for(s++,n=i,e=a=0;e<h&&(a++,n=n.nextZ);e++);for(l=h;0<a||0<l&&n;)0!==a&&(0===l||!n||i.z<=n.z)?(i=(r=i).nextZ,a--):(n=(r=n).nextZ,l--),o?o.nextZ=r:t=r,r.prevZ=o,o=r;i=n}o.nextZ=null,h*=2}while(1<s)}(r)}(t,n,r,o);for(var a,l,h=t;t.prev!==t.next;)if(a=t.prev,l=t.next,o?c(t,n,r,o):u(t))e.push(a.i/i),e.push(t.i/i),e.push(l.i/i),P(t),t=l.next,h=l.next;else if((t=l)===h){s?1===s?g(t=d(m(t),e,i),e,i,n,r,o,2):2===s&&f(t,e,i,n,r,o):g(m(t),e,i,n,r,o,1);break}}}function u(t){var e=t.prev,i=t,n=t.next;if(0<=T(e,i,n))return!1;for(var r=t.next.next;r!==t.prev;){if(b(e.x,e.y,i.x,i.y,n.x,n.y,r.x,r.y)&&0<=T(r.prev,r,r.next))return!1;r=r.next}return!0}function c(t,e,i,n){var r=t.prev,o=t,s=t.next;if(0<=T(r,o,s))return!1;for(var a=r.x<o.x?r.x<s.x?r.x:s.x:o.x<s.x?o.x:s.x,l=r.y<o.y?r.y<s.y?r.y:s.y:o.y<s.y?o.y:s.y,h=r.x>o.x?r.x>s.x?r.x:s.x:o.x>s.x?o.x:s.x,u=r.y>o.y?r.y>s.y?r.y:s.y:o.y>s.y?o.y:s.y,c=x(a,l,e,i,n),d=x(h,u,e,i,n),f=t.prevZ,p=t.nextZ;f&&f.z>=c&&p&&p.z<=d;){if(f!==t.prev&&f!==t.next&&b(r.x,r.y,o.x,o.y,s.x,s.y,f.x,f.y)&&0<=T(f.prev,f,f.next))return!1;if(f=f.prevZ,p!==t.prev&&p!==t.next&&b(r.x,r.y,o.x,o.y,s.x,s.y,p.x,p.y)&&0<=T(p.prev,p,p.next))return!1;p=p.nextZ}for(;f&&f.z>=c;){if(f!==t.prev&&f!==t.next&&b(r.x,r.y,o.x,o.y,s.x,s.y,f.x,f.y)&&0<=T(f.prev,f,f.next))return!1;f=f.prevZ}for(;p&&p.z<=d;){if(p!==t.prev&&p!==t.next&&b(r.x,r.y,o.x,o.y,s.x,s.y,p.x,p.y)&&0<=T(p.prev,p,p.next))return!1;p=p.nextZ}return!0}function d(t,e,i){var n=t;do{var r=n.prev,o=n.next.next;!p(r,o)&&E(r,n,n.next,o)&&S(r,o)&&S(o,r)&&(e.push(r.i/i),e.push(n.i/i),e.push(o.i/i),P(n),P(n.next),n=t=o),n=n.next}while(n!==t);return m(n)}function f(t,e,i,n,r,o){var s,a,l=t;do{for(var h=l.next.next;h!==l.prev;){if(l.i!==h.i&&(a=h,(s=l).next.i!==a.i&&s.prev.i!==a.i&&!function(t,e){var i=t;do{if(i.i!==t.i&&i.next.i!==t.i&&i.i!==e.i&&i.next.i!==e.i&&E(i,i.next,t,e))return!0;i=i.next}while(i!==t);return!1}(s,a)&&(S(s,a)&&S(a,s)&&function(t,e){var i=t,n=!1,r=(t.x+e.x)/2,o=(t.y+e.y)/2;for(;i.y>o!=i.next.y>o&&i.next.y!==i.y&&r<(i.next.x-i.x)*(o-i.y)/(i.next.y-i.y)+i.x&&(n=!n),i=i.next,i!==t;);return n}(s,a)&&(T(s.prev,s,a.prev)||T(s,a.prev,a))||p(s,a)&&0<T(s.prev,s,s.next)&&0<T(a.prev,a,a.next)))){var u=O(l,h);return l=m(l,l.next),u=m(u,u.next),g(l,e,i,n,r,o),void g(u,e,i,n,r,o)}h=h.next}l=l.next}while(l!==t)}function y(t,e){return t.x-e.x}function _(t,e){if(e=function(t,e){var i,n=e,r=t.x,o=t.y,s=-1/0;do{if(o<=n.y&&o>=n.next.y&&n.next.y!==n.y){var a=n.x+(o-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=r&&s<a){if((s=a)===r){if(o===n.y)return n;if(o===n.next.y)return n.next}i=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!i)return null;if(r===s)return i;var l,h=i,u=i.x,c=i.y,d=1/0;n=i;for(;r>=n.x&&n.x>=u&&r!==n.x&&b(o<c?r:s,o,u,c,o<c?s:r,o,n.x,n.y)&&(l=Math.abs(o-n.y)/(r-n.x),S(n,t)&&(l<d||l===d&&(n.x>i.x||n.x===i.x&&(p=n,T((f=i).prev,f,p.prev)<0&&T(p.next,f,f.next)<0)))&&(i=n,d=l)),n=n.next,n!==h;);var f,p;return i}(t,e)){var i=O(e,t);m(i,i.next)}}function x(t,e,i,n,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-i)*r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function w(t){for(var e=t,i=t;(e.x<i.x||e.x===i.x&&e.y<i.y)&&(i=e),(e=e.next)!==t;);return i}function b(t,e,i,n,r,o,s,a){return 0<=(r-s)*(e-a)-(t-s)*(o-a)&&0<=(t-s)*(n-a)-(i-s)*(e-a)&&0<=(i-s)*(o-a)-(r-s)*(n-a)}function T(t,e,i){return(e.y-t.y)*(i.x-e.x)-(e.x-t.x)*(i.y-e.y)}function p(t,e){return t.x===e.x&&t.y===e.y}function E(t,e,i,n){var r=h(T(t,e,i)),o=h(T(t,e,n)),s=h(T(i,n,t)),a=h(T(i,n,e));return r!==o&&s!==a||(!(0!==r||!l(t,i,e))||(!(0!==o||!l(t,n,e))||(!(0!==s||!l(i,t,n))||!(0!==a||!l(i,e,n)))))}function l(t,e,i){return e.x<=Math.max(t.x,i.x)&&e.x>=Math.min(t.x,i.x)&&e.y<=Math.max(t.y,i.y)&&e.y>=Math.min(t.y,i.y)}function h(t){return 0<t?1:t<0?-1:0}function S(t,e){return T(t.prev,t,t.next)<0?0<=T(t,e,t.next)&&0<=T(t,t.prev,e):T(t,e,t.prev)<0||T(t,t.next,e)<0}function O(t,e){var i=new s(t.i,t.x,t.y),n=new s(e.i,e.x,e.y),r=t.next,o=e.prev;return(t.next=e).prev=t,(i.next=r).prev=i,(n.next=i).prev=n,(o.next=n).prev=o,n}function a(t,e,i,n){var r=new s(t,e,i);return n?(r.next=n.next,(r.prev=n).next.prev=r,n.next=r):(r.prev=r).next=r,r}function P(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function s(t,e,i){this.i=t,this.x=e,this.y=i,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function A(t,e,i,n){for(var r=0,o=e,s=i-n;o<i;o+=n)r+=(t[s]-t[o])*(t[o+1]+t[s+1]),s=o;return r}
48t.exports=n,(t.exports.default=n).deviation=function(t,e,i,n){var r=e&&e.length,o=r?e[0]*i:t.length,s=Math.abs(A(t,0,o,i));if(r)for(var a=0,l=e.length;a<l;a++){var h=e[a]*i,u=a<l-1?e[a+1]*i:t.length;s-=Math.abs(A(t,h,u,i))}var c=0;for(a=0;a<n.length;a+=3){var d=n[a]*i,f=n[a+1]*i,p=n[a+2]*i;c+=Math.abs((t[d]-t[p])*(t[1+f]-t[1+d])-(t[d]-t[f])*(t[1+p]-t[1+d]))}return 0===s&&0===c?0:Math.abs((c-s)/s)},n.flatten=function(t){for(var e=t[0][0].length,i={vertices:[],holes:[],dimensions:e},n=0,r=0;r<t.length;r++){for(var o=0;o<t[r].length;o++)for(var s=0;s<e;s++)i.vertices.push(t[r][o][s]);0<r&&(n+=t[r-1].length,i.holes.push(n))}return i}},function(t,c,e){"use strict";(function(e){var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,i=arguments.length;e<i;e++)t+=arguments[e].length;var n=Array(t),r=0;for(e=0;e<i;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(c,"__esModule",{value:!0});var s=function(t,e,i){this.name=t,this.version=e,this.os=i};c.BrowserInfo=s;var t=function(t){this.version=t,this.name="node",this.os=e.platform};c.NodeInfo=t;var a=function(){this.bot=!0,this.name="bot",this.version=null,this.os=null};c.BotInfo=a;var l=3,h=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],o=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]];function i(o){var t=""!==o&&h.reduce(function(t,e){var i=e[0],n=e[1];if(t)return t;var r=n.exec(o);return!!r&&[i,r]},!1);if(!t)return null;var e=t[0],i=t[1];if("searchbot"===e)return new a;var n=i[1]&&i[1].split(/[._]/).slice(0,3);return n?n.length<l&&(n=r(n,function(t){for(var e=[],i=0;i<t;i++)e.push("0");return e}(l-n.length))):n=[],new s(e,n.join("."),u(o))}function u(t){for(var e=0,i=o.length;e<i;e++){var n=o[e],r=n[0];if(n[1].test(t))return r}return null}function n(){return void 0!==e&&e.version?new t(e.version.slice(1)):null}c.detect=function(t){return t?i(t):"undefined"!=typeof navigator?i(navigator.userAgent):n()},c.parseUserAgent=i,c.detectOS=u,c.getNodeVersion=n}).call(this,e(132))}
vendor: 8,813 bytes, line 48
48,function(t,e,i){i(142),t.exports=i(357)},function(t,e,i){"use strict";i.r(e);i(143),i(329);i(330)},function(t,e,i){"use strict";i(144);var n,r=(n=i(316))&&n.__esModule?n:{default:n};r.default._babelPolyfill&&"undefined"!=typeof console&&console.warn,r.default._babelPolyfill=!0},function(t,e,i){"use strict";i(145),i(288),i(290),i(293),i(295),i(297),i(299),i(301),i(303),i(305),i(307),i(309),i(311),i(315)},function(t,e,i){i(146),i(149),i(150),i(151),i(152),i(153),i(154),i(155),i(156),i(157),i(158),i(159),i(160),i(161),i(162),i(163),i(164),i(165),i(166),i(167),i(168),i(169),i(170),i(171),i(172),i(173),i(174),i(175),i(176),i(177),i(178),i(179),i(180),i(181),i(182),i(183),i(184),i(185),i(186),i(187),i(188),i(189),i(190),i(192),i(193),i(194),i(195),i(196),i(197),i(198),i(199),i(200),i(201),i(202),i(203),i(204),i(205),i(206),i(207),i(208),i(209),i(210),i(211),i(212),i(213),i(214),i(215),i(216),i(217),i(218),i(219),i(220),i(221),i(222),i(223),i(224),i(225),i(227),i(228),i(230),i(231),i(232),i(233),i(234),i(235),i(236),i(238),i(239),i(240),i(241),i(242),i(243),i(244),i(245),i(246),i(247),i(248),i(249),i(250),i(87),i(251),i(118),i(252),i(119),i(253),i(254),i(255),i(256),i(120),i(259),i(260),i(261),i(262),i(263),i(264),i(265),i(266),i(267),i(268),i(269),i(270),i(271),i(272),i(273),i(274),i(275),i(276),i(277),i(278),i(279),i(280),i(281),i(282),i(283),i(284),i(285),i(286),i(287),t.exports=i(8)},function(t,e,i){"use strict";function n(t){var e=Y[t]=I(U[z]);return e._k=t,e}function r(t,e){E(t);for(var i,n=b(e=P(e)),r=0,o=n.length;r<o;)et(t,i=n[r++],e[i]);return t}function o(t){var e=G.call(this,t=A(t,!0));return!(this===K&&u(Y,t)&&!u(q,t))&&(!(e||!u(this,t)||!u(Y,t)||u(this,W)&&this[W][t])||e)}function s(t,e){if(t=P(t),e=A(e,!0),t!==K||!u(Y,e)||u(q,e)){var i=N(t,e);return!i||!u(Y,e)||u(t,W)&&t[W][e]||(i.enumerable=!0),i}}function a(t){for(var e,i=B(P(t)),n=[],r=0;i.length>r;)u(Y,e=i[r++])||e==W||e==p||n.push(e);return n}function l(t){for(var e,i=t===K,n=B(i?q:P(t)),r=[],o=0;n.length>o;)!u(Y,e=n[o++])||i&&!u(K,e)||r.push(Y[e]);return r}var h=i(2),u=i(14),c=i(9),d=i(1),f=i(12),p=i(31).KEY,v=i(3),m=i(53),g=i(42),y=i(33),_=i(6),x=i(68),w=i(99),b=i(148),T=i(56),E=i(4),S=i(5),O=i(11),P=i(16),A=i(30),C=i(32),I=i(37),M=i(102),k=i(22),R=i(55),L=i(10),D=i(35),N=k.f,F=L.f,B=M.f,U=h.Symbol,j=h.JSON,X=j&&j.stringify,z="prototype",W=_("_hidden"),H=_("toPrimitive"),G={}.propertyIsEnumerable,V=m("symbol-registry"),Y=m("symbols"),q=m("op-symbols"),K=Object[z],Z="function"==typeof U&&!!R.f,Q=h.QObject,J=!Q||!Q[z]||!Q[z].findChild,$=c&&v(function(){return 7!=I(F({},"a",{get:function(){return F(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=N(K,e);n&&delete K[e],F(t,e,i),n&&t!==K&&F(K,e,n)}:F,tt=Z&&"symbol"==typeof U.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof U},et=function(t,e,i){return t===K&&et(q,e,i),E(t),e=A(e,!0),E(i),u(Y,e)?(i.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),i=I(i,{enumerable:C(0,!1)})):(u(t,W)||F(t,W,C(1,{})),t[W][e]=!0),$(t,e,i)):F(t,e,i)};Z||(f((U=function(t){if(this instanceof U)throw TypeError("Symbol is not a constructor!");var e=y(0<arguments.length?t:void 0),i=function(t){this===K&&i.call(q,t),u(this,W)&&u(this[W],e)&&(this[W][e]=!1),$(this,e,C(1,t))};return c&&J&&$(K,e,{configurable:!0,set:i}),n(e)})[z],"toString",function(){return this._k}),k.f=s,L.f=et,i(38).f=M.f=a,i(49).f=o,R.f=l,c&&!i(34)&&f(K,"propertyIsEnumerable",o,!0),x.f=function(t){return n(_(t))}),d(d.G+d.W+d.F*!Z,{Symbol:U});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;it.length>nt;)_(it[nt++]);for(var rt=D(_.store),ot=0;rt.length>ot;)w(rt[ot++]);d(d.S+d.F*!Z,"Symbol",{for:function(t){return u(V,t+="")?V[t]:V[t]=U(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+" is not a symbol!");for(var e in V)if(V[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),d(d.S+d.F*!Z,"Object",{create:function(t,e){return void 0===e?I(t):r(I(t),e)},defineProperty:et,defineProperties:r,getOwnPropertyDescriptor:s,getOwnPropertyNames:a,getOwnPropertySymbols:l});var st=v(function(){R.f(1)});d(d.S+d.F*st,"Object",{getOwnPropertySymbols:function(t){return R.f(O(t))}}),j&&d(d.S+d.F*(!Z||v(function(){var t=U();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],r=1;r<arguments.length;)n.push(arguments[r++]);if(i=e=n[1],(S(e)||void 0!==t)&&!tt(t))return T(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!tt(e))return e}),n[1]=e,X.apply(j,n)}}),U[z][H]||i(15)(U[z],H,U[z].valueOf),g(U,"Symbol"),g(Math,"Math",!0),g(h.JSON,"JSON",!0)},function(t,e,i){t.exports=i(53)("native-function-to-string",Function.toString)},function(t,e,i){var a=i(35),l=i(55),h=i(49);t.exports=function(t){var e=a(t),i=l.f;if(i)for(var n,r=i(t),o=h.f,s=0;r.length>s;)o.call(t,n=r[s++])&&e.push(n);return e}},function(t,e,i){var n=i(1);n(n.S,"Object",{create:i(37)})},function(t,e,i){var n=i(1);n(n.S+n.F*!i(9),"Object",{defineProperty:i(10).f})},function(t,e,i){var n=i(1);n(n.S+n.F*!i(9),"Object",{defineProperties:i(101)})},function(t,e,i){var n=i(16),r=i(22).f;i(23)("getOwnPropertyDescriptor",function(){return function(t,e){return r(n(t),e)}})},function(t,e,i){var n=i(11),r=i(39);i(23)("getPrototypeOf",function(){return function(t){return r(n(t))}})},function(t,e,i){var n=i(11),r=i(35);i(23)("keys",function(){return function(t){return r(n(t))}})},function(t,e,i){i(23)("getOwnPropertyNames",function(){return i(102).f})},function(t,e,i){var n=i(5),r=i(31).onFreeze;i(23)("freeze",function(e){return function(t){return e&&n(t)?e(r(t)):t}})},function(t,e,i){var n=i(5),r=i(31).onFreeze;i(23)("seal",function(e){return function(t){return e&&n(t)?e(r(t)):t}})},function(t,e,i){var n=i(5),r=i(31).onFreeze;i(23)("preventExtensions",function(e){return function(t){return e&&n(t)?e(r(t)):t}})},function(t,e,i){var n=i(5);i(23)("isFrozen",function(e){return function(t){return!n(t)||!!e&&e(t)}})},function(t,e,i){var n=i(5);i(23)("isSealed",function(e){return function(t){return!n(t)||!!e&&e(t)}})},function(t,e,i){var n=i(5);i(23)("isExtensible",function(e){return function(t){return!!n(t)&&(!e||e(t))}})},function(t,e,i){var n=i(1);n(n.S+n.F,"Object",{assign:i(103)})},function(t,e,i){var n=i(1);n(n.S,"Object",{is:i(104)})},function(t,e,i){var n=i(1);n(n.S,"Object",{setPrototypeOf:i(72).set})},function(t,e,i){"use strict";var n=i(50),r={};r[i(6)("toStringTag")]="z",r+""!="[object z]"&&i(12)(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},function(t,e,i){var n=i(1);n(n.P,"Function",{bind:i(105)})},function(t,e,i){var n=i(10).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||i(9)&&n(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,i){"use strict";var n=i(5),r=i(39),o=i(6)("hasInstance"),s=Function.prototype;o in s||i(10).f(s,o,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,i){var n=i(1),r=i(107);n(n.G+n.F*(parseInt!=r),{parseInt:r})},function(t,e,i){var n=i(1),r=i(108);n(n.G+n.F*(parseFloat!=r),{parseFloat:r})},function(t,e,i){"use strict";function n(t){var e=u(t,!1);if("string"==typeof e&&2<e.length){var i,n,r,o=(e=_?e.trim():f(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(i=e.charCodeAt(2))||120===i)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+e}for(var s,a=e.slice(2),l=0,h=a.length;l<h;l++)if((s=a.charCodeAt(l))<48||r<s)return NaN;return parseInt(a,n)}}return+e}var r=i(2),o=i(14),s=i(26),a=i(74),u=i(30),l=i(3),h=i(38).f,c=i(22).f,d=i(10).f,f=i(43).trim,p="Number",v=r[p],m=v,g=v.prototype,y=s(i(37)(g))==p,_="trim"in String.prototype;if(!v(" 0o1")||!v("0b1")||v("+0x1")){v=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof v&&(y?l(function(){g.valueOf.call(i)}):s(i)!=p)?a(new m(n(e)),i,v):n(e)};for(var x,w=i(9)?h(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;w.length>b;b++)o(m,x=w[b])&&!o(v,x)&&d(v,x,c(m,x));(v.prototype=g).constructor=v,i(12)(r,p,v)}},function(t,e,i){"use strict";function h(t,e){for(var i=-1,n=e;++i<6;)n+=t*s[i],s[i]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,i=0;0<=--e;)i+=s[e],s[e]=o(i/t),i=i%t*1e7}function c(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==s[t]){var i=String(s[t]);e=""===e?i:e+p.call("0",7-i.length)+i}return e}var n=i(1),d=i(21),f=i(109),p=i(75),r=1..toFixed,o=Math.floor,s=[0,0,0,0,0,0],v="Number.toFixed: incorrect invocation!",m=function(t,e,
vendor: 4,144 bytes, line 48
48i){return 0===e?i:e%2==1?m(t,e-1,i*t):m(t*t,e/2,i)};n(n.P+n.F*(!!r&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i(3)(function(){r.call({})})),"Number",{toFixed:function(t){var e,i,n,r,o=f(this,v),s=d(t),a="",l="0";if(s<0||20<s)throw RangeError(v);if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return String(o);if(o<0&&(a="-",o=-o),1e-21<o)if(i=(e=function(t){for(var e=0,i=t;4096<=i;)e+=12,i/=4096;for(;2<=i;)e+=1,i/=2;return e}(o*m(2,69,1))-69)<0?o*m(2,-e,1):o/m(2,e,1),i*=4503599627370496,0<(e=52-e)){for(h(0,i),n=s;7<=n;)h(1e7,0),n-=7;for(h(m(10,n,1),0),n=e-1;23<=n;)u(1<<23),n-=23;u(1<<n),h(1,1),u(2),l=c()}else h(0,i),h(1<<-e,0),l=c()+p.call("0",s);return l=0<s?a+((r=l.length)<=s?"0."+p.call("0",s-r)+l:l.slice(0,r-s)+"."+l.slice(r-s)):a+l}})},function(t,e,i){"use strict";var n=i(1),r=i(3),o=i(109),s=1..toPrecision;n(n.P+n.F*(r(function(){return"1"!==s.call(1,void 0)})||!r(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},function(t,e,i){var n=i(1);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,i){var n=i(1),r=i(2).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,i){var n=i(1);n(n.S,"Number",{isInteger:i(110)})},function(t,e,i){var n=i(1);n(n.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,i){var n=i(1),r=i(110),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,i){var n=i(1);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,i){var n=i(1);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,i){var n=i(1),r=i(108);n(n.S+n.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(t,e,i){var n=i(1),r=i(107);n(n.S+n.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(t,e,i){var n=i(1),r=i(111),o=Math.sqrt,s=Math.acosh;n(n.S+n.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e,i){var n=i(1),r=Math.asinh;n(n.S+n.F*!(r&&0<1/r(0)),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,i){var n=i(1),r=Math.atanh;n(n.S+n.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,i){var n=i(1),r=i(76);n(n.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,i){var n=i(1);n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,i){var n=i(1),r=Math.exp;n(n.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,i){var n=i(1),r=i(77);n(n.S+n.F*(r!=Math.expm1),"Math",{expm1:r})},function(t,e,i){var n=i(1);n(n.S,"Math",{fround:i(191)})},function(t,e,i){var o=i(76),n=Math.pow,s=n(2,-52),a=n(2,-23),l=n(2,127)*(2-a),h=n(2,-126);t.exports=Math.fround||function(t){var e,i,n=Math.abs(t),r=o(t);return n<h?r*function(t){return t+1/s-1/s}(n/h/a)*h*a:l<(i=(e=(1+a/s)*n)-(e-n))||i!=i?r*(1/0):r*i}},function(t,e,i){var n=i(1),l=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var i,n,r=0,o=0,s=arguments.length,a=0;o<s;)a<(i=l(arguments[o++]))?(r=r*(n=a/i)*n+1,a=i):r+=0<i?(n=i/a)*n:i;return a===1/0?1/0:a*Math.sqrt(r)}})},function(t,e,i){var n=i(1),r=Math.imul;n(n.S+n.F*i(3)(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n;return 0|r*o+((65535&i>>>16)*o+r*(65535&n>>>16)<<16>>>0)}})},function(t,e,i){var n=i(1);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,i){var n=i(1);n(n.S,"Math",{log1p:i(111)})},function(t,e,i){var n=i(1);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,i){var n=i(1);n(n.S,"Math",{sign:i(76)})},function(t,e,i){var n=i(1),r=i(77),o=Math.exp;n(n.S+n.F*i(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})}
vendor: 4,136 bytes, line 48
48,function(t,e,i){var n=i(1),r=i(77),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=r(t=+t),i=r(-t);return e==1/0?1:i==1/0?-1:(e-i)/(o(t)+o(-t))}})},function(t,e,i){var n=i(1);n(n.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}})},function(t,e,i){var n=i(1),o=i(36),s=String.fromCharCode,r=String.fromCodePoint;n(n.S+n.F*(!!r&&1!=r.length),"String",{fromCodePoint:function(t){for(var e,i=[],n=arguments.length,r=0;r<n;){if(e=+arguments[r++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");i.push(e<65536?s(e):s(55296+((e-=65536)>>10),e%1024+56320))}return i.join("")}})},function(t,e,i){var n=i(1),s=i(16),a=i(7);n(n.S,"String",{raw:function(t){for(var e=s(t.raw),i=a(e.length),n=arguments.length,r=[],o=0;o<i;)r.push(String(e[o++])),o<n&&r.push(String(arguments[o]));return r.join("")}})},function(t,e,i){"use strict";i(43)("trim",function(t){return function(){return t(this,3)}})},function(t,e,i){"use strict";var n=i(78)(!0);i(79)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){"use strict";var n=i(1),r=i(78)(!1);n(n.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,i){"use strict";var n=i(1),a=i(7),l=i(80),h="endsWith",u=""[h];n(n.P+n.F*i(82)(h),"String",{endsWith:function(t,e){var i=l(this,t,h),n=1<arguments.length?e:void 0,r=a(i.length),o=void 0===n?r:Math.min(a(n),r),s=String(t);return u?u.call(i,s,o):i.slice(o-s.length,o)===s}})},function(t,e,i){"use strict";var n=i(1),r=i(80);n(n.P+n.F*i(82)("includes"),"String",{includes:function(t,e){return!!~r(this,t,"includes").indexOf(t,1<arguments.length?e:void 0)}})},function(t,e,i){var n=i(1);n(n.P,"String",{repeat:i(75)})},function(t,e,i){"use strict";var n=i(1),o=i(7),s=i(80),a="startsWith",l=""[a];n(n.P+n.F*i(82)(a),"String",{startsWith:function(t,e){var i=s(this,t,a),n=o(Math.min(1<arguments.length?e:void 0,i.length)),r=String(t);return l?l.call(i,r,n):i.slice(n,n+r.length)===r}})},function(t,e,i){"use strict";i(13)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(t,e,i){"use strict";i(13)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,i){"use strict";i(13)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,i){"use strict";i(13)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,i){"use strict";i(13)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,i){"use strict";i(13)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(t,e,i){"use strict";i(13)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(t,e,i){"use strict";i(13)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,i){"use strict";i(13)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(t,e,i){"use strict";i(13)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,i){"use strict";i(13)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,i){"use strict";i(13)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,i){"use strict";i(13)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,i){var n=i(1);n(n.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,i){"use strict";var n=i(1),r=i(11),o=i(30);n(n.P+n.F*i(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=r(this),i=o(e);return"number"!=typeof i||isFinite(i)?e.toISOString():null}})},function(t,e,i){var n=i(1),r=i(226);n(n.P+n.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},function(t,e,i){"use strict";function n(t){return 9<t?t:"0"+t}var r=i(3),o=Date.prototype.getTime,s=Date.prototype.toISOString;t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=s.call(new Date(-5e13-1))}
48)||!r(function(){s.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),i=t<0?"-":9999<t?"+":"";return i+("00000"+Math.abs(t)).slice(i?-6:-4)+"-"+n(this.getUTCMonth()+1)+"-"+n(this.getUTCDate())+"T"+n(this.getUTCHours())+":"+n(this.getUTCMinutes())+":"+n(this.getUTCSeconds())+"."+(99<e?e:"0"+n(e))+"Z"}:s},function(t,e,i){var n=Date.prototype,r="Invalid Date",o=n.toString,s=n.getTime;new Date(NaN)+""!=r&&i(12)(n,"toString",function(){var t=s.call(this);return t==t?o.call(this):r})},function(t,e,i){var n=i(6)("toPrimitive"),r=Date.prototype;n in r||i(15)(r,n,i(229))},function(t,e,i){"use strict";var n=i(4),r=i(30);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(n(this),"number"!=t)}},function(t,e,i){var n=i(1);n(n.S,"Array",{isArray:i(56)})},function(t,e,i){"use strict";var p=i(19),n=i(1),v=i(11),m=i(113),g=i(83),y=i(7),_=i(84),x=i(85);n(n.S+n.F*!i(57)(function(t){Array.from(t)}),"Array",{from:function(t,e,i){var n,r,o,s,a=v(t),l="function"==typeof this?this:Array,h=arguments.length,u=1<h?e:void 0,c=void 0!==u,d=0,f=x(a);if(c&&(u=p(u,2<h?i:void 0,2)),null==f||l==Array&&g(f))for(r=new l(n=y(a.length));d<n;d++)_(r,d,c?u(a[d],d):a[d]);else for(s=f.call(a),r=new l;!(o=s.next()).done;d++)_(r,d,c?m(s,u,[o.value,d],!0):o.value);return r.length=d,r}})},function(t,e,i){"use strict";var n=i(1),r=i(84);n(n.S+n.F*i(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,i=new("function"==typeof this?this:Array)(e);t<e;)r(i,t,arguments[t++]);return i.length=e,i}})},function(t,e,i){"use strict";var n=i(1),r=i(16),o=[].join;n(n.P+n.F*(i(48)!=Object||!i(18)(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},function(t,e,i){"use strict";var n=i(1),r=i(71),h=i(26),u=i(36),c=i(7),d=[].slice;n(n.P+n.F*i(3)(function(){r&&d.call(r)}),"Array",{slice:function(t,e){var i=c(this.length),n=h(this);if(e=void 0===e?i:e,"Array"==n)return d.call(this,t,e);for(var r=u(t,i),o=u(e,i),s=c(o-r),a=new Array(s),l=0;l<s;l++)a[l]="String"==n?this.charAt(r+l):this[r+l];return a}})},function(t,e,i){"use strict";var n=i(1),r=i(20),o=i(11),s=i(3),a=[].sort,l=[1,2,3];n(n.P+n.F*(s(function(){l.sort(void 0)})||!s(function(){l.sort(null)})||!i(18)(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),r(t))}})},function(t,e,i){"use strict";var n=i(1),r=i(24)(0),o=i(18)([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(t,e){return r(this,t,e)}})},function(t,e,i){var n=i(5),r=i(56),o=i(6)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,i){"use strict";var n=i(1),r=i(24)(1);n(n.P+n.F*!i(18)([].map,!0),"Array",{map:function(t,e){return r(this,t,e)}})},function(t,e,i){"use strict";var n=i(1),r=i(24)(2);n(n.P+n.F*!i(18)([].filter,!0),"Array",{filter:function(t,e){return r(this,t,e)}})},function(t,e,i){"use strict";var n=i(1),r=i(24)(3);n(n.P+n.F*!i(18)([].some,!0),"Array",{some:function(t,e){return r(this,t,e)}})},function(t,e,i){"use strict";var n=i(1),r=i(24)(4);n(n.P+n.F*!i(18)([].every,!0),"Array",{every:function(t,e){return r(this,t,e)}})},function(t,e,i){"use strict";var n=i(1),r=i(115);n(n.P+n.F*!i(18)([].reduce,!0),"Array",{reduce:function(t,e){return r(this,t,arguments.length,e,!1)}})},function(t,e,i){"use strict";var n=i(1),r=i(115);n(n.P+n.F*!i(18)([].reduceRight,!0),"Array",{reduceRight:function(t,e){return r(this,t,arguments.length,e,!0)}})},function(t,e,i){"use strict";var n=i(1),r=i(54)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(s||!i(18)(o)),"Array",{indexOf:function(t,e){return s?o.apply(this,arguments)||0:r(this,t,e)}})},function(t,e,i){"use strict";var n=i(1),o=i(16),s=i(21),a=i(7),l=[].lastIndexOf,h=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(h||!i(18)(l)),"Array",{lastIndexOf:function(t,e){if(h)return l.apply(this,arguments)||0;var i=o(this),n=a(i.length),r=n-1;for(1<arguments.length&&(r=Math.min(r,s(e))),r<0&&(r=n+r);0<=r;r--)if(r in i&&i[r]===t)return r||0;return-1}})}
vendor: 9,247 bytes, line 48
48,function(t,e,i){var n=i(1);n(n.P,"Array",{copyWithin:i(116)}),i(40)("copyWithin")},function(t,e,i){var n=i(1);n(n.P,"Array",{fill:i(86)}),i(40)("fill")},function(t,e,i){"use strict";var n=i(1),r=i(24)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t,e){return r(this,t,1<arguments.length?e:void 0)}}),i(40)("find")},function(t,e,i){"use strict";var n=i(1),r=i(24)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),n(n.P+n.F*s,"Array",{findIndex:function(t,e){return r(this,t,1<arguments.length?e:void 0)}}),i(40)(o)},function(t,e,i){i(45)("Array")},function(t,e,i){var n=i(2),o=i(74),r=i(10).f,s=i(38).f,a=i(81),l=i(58),h=n.RegExp,u=h,c=h.prototype,d=/a/g,f=/a/g,p=new h(d)!==d;if(i(9)&&(!p||i(3)(function(){return f[i(6)("match")]=!1,h(d)!=d||h(f)==f||"/a/i"!=h(d,"i")}))){h=function(t,e){var i=this instanceof h,n=a(t),r=void 0===e;return!i&&n&&t.constructor===h&&r?t:o(p?new u(n&&!r?t.source:t,e):u((n=t instanceof h)?t.source:t,n&&r?l.call(t):e),i?this:c,h)};function v(e){e in h||r(h,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}for(var m=s(u),g=0;m.length>g;)v(m[g++]);(c.constructor=h).prototype=c,i(12)(n,"RegExp",h)}i(45)("RegExp")},function(t,e,i){"use strict";i(119);function n(t){i(12)(RegExp.prototype,a,t,!0)}var r=i(4),o=i(58),s=i(9),a="toString",l=/./[a];i(3)(function(){return"/a/b"!=l.call({source:"a",flags:"b"})})?n(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!s&&t instanceof RegExp?o.call(t):void 0)}):l.name!=a&&n(function(){return l.call(this)})},function(t,e,i){"use strict";var c=i(4),d=i(7),f=i(89),p=i(59);i(60)("match",1,function(n,r,h,u){return[function(t){var e=n(this),i=null==t?void 0:t[r];return void 0!==i?i.call(t,e):new RegExp(t)[r](String(e))},function(t){var e=u(h,t,this);if(e.done)return e.value;var i=c(t),n=String(this);if(!i.global)return p(i,n);for(var r,o=i.unicode,s=[],a=i.lastIndex=0;null!==(r=p(i,n));){var l=String(r[0]);""===(s[a]=l)&&(i.lastIndex=f(n,d(i.lastIndex),o)),a++}return 0===a?null:s}]})},function(t,e,i){"use strict";var E=i(4),n=i(11),S=i(7),O=i(21),P=i(89),A=i(59),C=Math.max,I=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;i(60)("replace",2,function(r,o,w,b){return[function(t,e){var i=r(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,i,e):w.call(String(i),t,e)},function(t,e){var i=b(w,t,this,e);if(i.done)return i.value;var n=E(t),r=String(this),o="function"==typeof e;o||(e=String(e));var s=n.global;if(s){var a=n.unicode;n.lastIndex=0}for(var l=[];;){var h=A(n,r);if(null===h)break;if(l.push(h),!s)break;""===String(h[0])&&(n.lastIndex=P(r,S(n.lastIndex),a))}for(var u,c="",d=0,f=0;f<l.length;f++){h=l[f];for(var p=String(h[0]),v=C(I(O(h.index),r.length),0),m=[],g=1;g<h.length;g++)m.push(void 0===(u=h[g])?u:String(u));var y=h.groups;if(o){var _=[p].concat(m,v,r);void 0!==y&&_.push(y);var x=String(e.apply(void 0,_))}else x=T(p,r,v,m,y,e);d<=v&&(c+=r.slice(d,v)+x,d=v+p.length)}return c+r.slice(d)}];function T(o,s,a,l,h,t){var u=a+o.length,c=l.length,e=p;return void 0!==h&&(h=n(h),e=f),w.call(t,e,function(t,e){var i;switch(e.charAt(0)){case"$":return"$";case"&":return o;case"`":return s.slice(0,a);case"'":return s.slice(u);case"<":i=h[e.slice(1,-1)];break;default:var n=+e;if(0==n)return t;if(c<n){var r=d(n/10);return 0===r?t:r<=c?void 0===l[r-1]?e.charAt(1):l[r-1]+e.charAt(1):t}i=l[n-1]}return void 0===i?"":i})}})},function(t,e,i){"use strict";var l=i(4),h=i(104),u=i(59);i(60)("search",1,function(n,r,s,a){return[function(t){var e=n(this),i=null==t?void 0:t[r];return void 0!==i?i.call(t,e):new RegExp(t)[r](String(e))},function(t){var e=a(s,t,this);if(e.done)return e.value;var i=l(t),n=String(this),r=i.lastIndex;h(r,0)||(i.lastIndex=0);var o=u(i,n);return h(i.lastIndex,r)||(i.lastIndex=r),null===o?-1:o.index}]})},function(t,e,i){"use strict";var c=i(81),_=i(4),x=i(51),w=i(89),b=i(7),T=i(59),d=i(88),n=i(3),E=Math.min,f=[].push,s="split",p="length",v="lastIndex",S=4294967295,O=!n(function(){RegExp(S,"y")});i(60)("split",2,function(r,o,m,g){var y;return y="c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[p]||2!="ab"[s](/(?:ab)*/)[p]||4!="."[s](/(.?)(.?)/)[p]||1<"."[s](/()()/)[p]||""[s](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!c(t))return m.call(i,t,e);for(var n,r,o,s=[],a=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,h=void 0===e?S:e>>>0,u=new RegExp(t.source,a+"g");(n=d.call(u,i))&&!(l<(r=u[v])&&(s.push(i.slice(l,n.index)),1<n[p]&&n.index<i[p]&&f.apply(s,n.slice(1)),o=n[0][p],l=r,s[p]>=h));)u[v]===n.index&&u[v]++;return l===i[p]?!o&&u.test("")||s.push(""):s.push(i.slice(l)),s[p]>h?s.slice(0,h):s}:"0"[s](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:m.call(this,t,e)}:m,[function(t,e){var i=r(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,i,e):y.call(String(i),t,e)},function(t,e){var i=g(y,t,this,e,y!==m);if(i.done)return i.value;var n=_(t),r=String(this),o=x(n,RegExp),s=n.unicode,a=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(O?"y":"g"),l=new o(O?n:"^(?:"+n.source+")",a),h=void 0===e?S:e>>>0;if(0==h)return[];if(0===r.length)return null===T(l,r)?[r]:[];for(var u=0,c=0,d=[];c<r.length;){l.lastIndex=O?c:0;var f,p=T(l,O?r:r.slice(c));if(null===p||(f=E(b(l.lastIndex+(O?0:c)),r.length))===u)c=w(r,c,s);else{if(d.push(r.slice(u,c)),d.length===h)return d;for(var v=1;v<=p.length-1;v++)if(d.push(p[v]),d.length===h)return d;c=u=f}}return d.push(r.slice(u)),d}]})},function(t,e,i){var a=i(2),l=i(90).set,h=a.MutationObserver||a.WebKitMutationObserver,u=a.process,c=a.Promise,d="process"==i(26)(u);t.exports=function(){function t(){var t,e;for(d&&(t=u.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?r():n=void 0,t}}n=void 0,t&&t.enter()}var i,n,r;if(d)r=function(){u.nextTick(t)};else if(!h||a.navigator&&a.navigator.standalone)if(c&&c.resolve){var e=c.resolve(void 0);r=function(){e.then(t)}}else r=function(){l.call(a,t)};else{var o=!0,s=document.createTextNode("");new h(t).observe(s,{characterData:!0}),r=function(){s.data=o=!o}}return function(t){var e={fn:t,next:void 0};n&&(n.next=e),i||(i=e,r()),n=e}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,i){"use strict";var n=i(123),r=i(41);t.exports=i(63)("Map",function(e){return function(t){return e(this,0<arguments.length?t:void 0)}},{get:function(t){var e=n.getEntry(r(this,"Map"),t);return e&&e.v},set:function(t,e){return n.def(r(this,"Map"),0===t?0:t,e)}},n,!0)},function(t,e,i){"use strict";var n=i(123),r=i(41);t.exports=i(63)("Set",function(e){return function(t){return e(this,0<arguments.length?t:void 0)}},{add:function(t){return n.def(r(this,"Set"),t=0===t?0:t,t)}},n)},function(t,e,i){"use strict";function n(e){return function(t){return e(this,0<arguments.length?t:void 0)}}var o,r=i(2),s=i(24)(0),a=i(12),l=i(31),h=i(103),u=i(124),c=i(5),d=i(41),f=i(41),p=!r.ActiveXObject&&"ActiveXObject"in r,v="WeakMap",m=l.getWeak,g=Object.isExtensible,y=u.ufstore,_={get:function(t){if(c(t)){var e=m(t);return!0===e?y(d(this,v)).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(d(this,v),t,e)}},x=t.exports=i(63)(v,n,_,u,!0,!0);f&&p&&(h((o=u.getConstructor(n,v)).prototype,_),l.NEED=!0,s(["delete","has","get","set"],function(n){var t=x.prototype,r=t[n];a(t,n,function(t,e){if(!c(t)||g(t))return r.call(this,t,e);this._f||(this._f=new o);var i=this._f[n](t,e);return"set"==n?this:i})}))},function(t,e,i){"use strict";var n=i(124),r=i(41);i(63)("WeakSet",function(e){return function(t){return e(this,0<arguments.length?t:void 0)}},{add:function(t){return n.def(r(this,"WeakSet"),t,!0)}},n,!1,!0)},function(t,e,i){"use strict";var n=i(1),r=i(64),o=i(91),h=i(4),u=i(36),c=i(7),s=i(5),a=i(2).ArrayBuffer,d=i(51),f=o.ArrayBuffer,p=o.DataView,l=r.ABV&&a.isView,v=f.prototype.slice,m=r.VIEW,g="ArrayBuffer";n(n.G+n.W+n.F*(a!==f),{ArrayBuffer:f}),n(n.S+n.F*!r.CONSTR,g,{isView:function(t){return l&&l(t)||s(t)&&m in t}}),n(n.P+n.U+n.F*i(3)(function(){return!new f(2).slice(1,void 0).byteLength}),g,{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(h(this),t);for(var i=h(this).byteLength,n=u(t,i),r=u(void 0===e?i:e,i),o=new(d(this,f))(c(r-n)),s=new p(this),a=new p(o),l=0;n<r;)a.setUint8(l++,s.getUint8(n++));return o}}),i(45)(g)},function(t,e,i){var n=i(1);n(n.G+n.W+n.F*!i(64).ABV,{DataView:i(91).DataView})},function(t,e,i){i(28)("Int8",1,function(n){return function(t,e,i){return n(this,t,e,i)}})},function(t,e,i){i(28)("Uint8",1,function(n){return function(t,e,i){return n(this,t,e,i)}})},function(t,e,i){i(28)("Uint8",1,function(n){return function(t,e,i){return n(this,t,e,i)}},!0)},function(t,e,i){i(28)("Int16",2,function(n){return function(t,e,i){return n(this,t,e,i)}})},function(t,e,i){i(28)("Uint16",2,function(n){return function(t,e,i){return n(this,t,e,i)}})},function(t,e,i){i(28)("Int32",4,function(n){return function(t,e,i){return n(this,t,e,i)}})},function(t,e,i){i(28)("Uint32",4,function(n){return function(t,e,i){return n(this,t,e,i)}})},function(t,e,i){i(28)("Float32",4,function(n){return function(t,e,i){return n(this,t,e,i)}})},function(t,e,i){i(28)("Float64",8,function(n){return function(t,e,i){return n(this,t,e,i)}})}
vendor: 3,113 bytes, line 48
48,function(t,e,i){var n=i(1),o=i(20),s=i(4),a=(i(2).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!i(3)(function(){a(function(){})}),"Reflect",{apply:function(t,e,i){var n=o(t),r=s(i);return a?a(n,e,r):l.call(n,e,r)}})},function(t,e,i){var n=i(1),l=i(37),h=i(20),u=i(4),c=i(5),r=i(3),d=i(105),f=(i(2).Reflect||{}).construct,p=r(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),v=!r(function(){f(function(){})});n(n.S+n.F*(p||v),"Reflect",{construct:function(t,e,i){h(t),u(e);var n=arguments.length<3?t:h(i);if(v&&!p)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(d.apply(t,r))}var o=n.prototype,s=l(c(o)?o:Object.prototype),a=Function.apply.call(t,s,e);return c(a)?a:s}})},function(t,e,i){var n=i(10),r=i(1),o=i(4),s=i(30);r(r.S+r.F*i(3)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,i){o(t),e=s(e,!0),o(i);try{return n.f(t,e,i),!0}catch(t){return!1}}})},function(t,e,i){var n=i(1),r=i(22).f,o=i(4);n(n.S,"Reflect",{deleteProperty:function(t,e){var i=r(o(t),e);return!(i&&!i.configurable)&&delete t[e]}})},function(t,e,i){"use strict";function n(t){this._t=o(t),this._i=0;var e,i=this._k=[];for(e in t)i.push(e)}var r=i(1),o=i(4);i(112)(n,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new n(t)}})},function(t,e,i){var s=i(22),a=i(39),l=i(14),n=i(1),h=i(5),u=i(4);n(n.S,"Reflect",{get:function t(e,i){var n,r,o=arguments.length<3?e:arguments[2];return u(e)===o?e[i]:(n=s.f(e,i))?l(n,"value")?n.value:void 0!==n.get?n.get.call(o):void 0:h(r=a(e))?t(r,i,o):void 0}})},function(t,e,i){var n=i(22),r=i(1),o=i(4);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},function(t,e,i){var n=i(1),r=i(39),o=i(4);n(n.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,i){var n=i(1);n(n.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,i){var n=i(1),r=i(4),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},function(t,e,i){var n=i(1);n(n.S,"Reflect",{ownKeys:i(126)})},function(t,e,i){var n=i(1),r=i(4),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,i){var l=i(10),h=i(22),u=i(39),c=i(14),n=i(1),d=i(32),f=i(4),p=i(5);n(n.S,"Reflect",{set:function t(e,i,n){var r,o,s=arguments.length<4?e:arguments[3],a=h.f(f(e),i);if(!a){if(p(o=u(e)))return t(o,i,n,s);a=d(0)}if(c(a,"value")){if(!1===a.writable||!p(s))return!1;if(r=h.f(s,i)){if(r.get||r.set||!1===r.writable)return!1;r.value=n,l.f(s,i,r)}else l.f(s,i,d(0,n));return!0}return void 0!==a.set&&(a.set.call(s,n),!0)}})},function(t,e,i){var n=i(1),r=i(72);r&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})}
vendor: 6,023 bytes, line 48
48,function(t,e,i){i(289),t.exports=i(8).Array.includes},function(t,e,i){"use strict";var n=i(1),r=i(54)(!0);n(n.P,"Array",{includes:function(t,e){return r(this,t,1<arguments.length?e:void 0)}}),i(40)("includes")},function(t,e,i){i(291),t.exports=i(8).Array.flatMap},function(t,e,i){"use strict";var n=i(1),o=i(292),s=i(11),a=i(7),l=i(20),h=i(114);n(n.P,"Array",{flatMap:function(t,e){var i,n,r=s(this);return l(t),i=a(r.length),n=h(r,0),o(n,r,r,i,0,1,t,e),n}}),i(40)("flatMap")},function(t,e,i){"use strict";var p=i(56),v=i(5),m=i(7),g=i(19),y=i(6)("isConcatSpreadable");t.exports=function t(e,i,n,r,o,s,a,l){for(var h,u,c=o,d=0,f=!!a&&g(a,l,3);d<r;){if(d in n){if(h=f?f(n[d],d,i):n[d],u=!1,v(h)&&(u=void 0!==(u=h[y])?!!u:p(h)),u&&0<s)c=t(e,i,h,m(h.length),c,s-1)-1;else{if(9007199254740991<=c)throw TypeError();e[c]=h}c++}d++}return c}},function(t,e,i){i(294),t.exports=i(8).String.padStart},function(t,e,i){"use strict";var n=i(1),r=i(127),o=i(62),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*s,"String",{padStart:function(t,e){return r(this,t,1<arguments.length?e:void 0,!0)}})},function(t,e,i){i(296),t.exports=i(8).String.padEnd},function(t,e,i){"use strict";var n=i(1),r=i(127),o=i(62),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*s,"String",{padEnd:function(t,e){return r(this,t,1<arguments.length?e:void 0,!1)}})},function(t,e,i){i(298),t.exports=i(8).String.trimLeft},function(t,e,i){"use strict";i(43)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,i){i(300),t.exports=i(8).String.trimRight},function(t,e,i){"use strict";i(43)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,i){i(302),t.exports=i(68).f("asyncIterator")},function(t,e,i){i(99)("asyncIterator")},function(t,e,i){i(304),t.exports=i(8).Object.getOwnPropertyDescriptors},function(t,e,i){var n=i(1),l=i(126),h=i(16),u=i(22),c=i(84);n(n.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,i,n=h(t),r=u.f,o=l(n),s={},a=0;o.length>a;)void 0!==(i=r(n,e=o[a++]))&&c(s,e,i);return s}})},function(t,e,i){i(306),t.exports=i(8).Object.values},function(t,e,i){var n=i(1),r=i(128)(!1);n(n.S,"Object",{values:function(t){return r(t)}})},function(t,e,i){i(308),t.exports=i(8).Object.entries},function(t,e,i){var n=i(1),r=i(128)(!0);n(n.S,"Object",{entries:function(t){return r(t)}})},function(t,e,i){"use strict";i(120),i(310),t.exports=i(8).Promise.finally},function(t,e,i){"use strict";var n=i(1),r=i(8),o=i(2),s=i(51),a=i(122);n(n.P+n.R,"Promise",{finally:function(e){var i=s(this,r.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return a(i,e()).then(function(){return t})}:e,t?function(t){return a(i,e()).then(function(){throw t})}:e)}})},function(t,e,i){i(312),i(313),i(314),t.exports=i(8)},function(t,e,i){function n(r){return function(t,e){var i=2<arguments.length,n=i&&a.call(arguments,2);return r(i?function(){("function"==typeof t?t:Function(t)).apply(this,n)}:t,e)}}var r=i(2),o=i(1),s=i(62),a=[].slice,l=/MSIE .\./.test(s);o(o.G+o.B+o.F*l,{setTimeout:n(r.setTimeout),setInterval:n(r.setInterval)})},function(t,e,i){var n=i(1),r=i(90);n(n.G+n.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,i){for(var n=i(87),r=i(35),o=i(12),s=i(2),a=i(15),l=i(44),h=i(6),u=h("iterator"),c=h("toStringTag"),d=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),v=0;v<p.length;v++){var m,g=p[v],y=f[g],_=s[g],x=_&&_.prototype;if(x&&(x[u]||a(x,u,d),x[c]||a(x,c,g),l[g]=d,y))for(m in n)x[m]||o(x,m,n[m],!0)}},function(t,e,i){var n=function(o){"use strict";var l,t=Object.prototype,h=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",i=e.asyncIterator||"@@asyncIterator",n=e.toStringTag||"@@toStringTag";function s(t,e,i,n){var r=e&&e.prototype instanceof a?e:a,o=Object.create(r.prototype),s=new P(n||[]);return o._invoke=function(o,s,a){var l=c;return function(t,e){if(l===f)throw new Error("Generator is already running");if(l===p){if("throw"===t)throw e;return C()}for(a.method=t,a.arg=e;;){var i=a.delegate;if(i){var n=E(i,a);if(n){if(n===v)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===c)throw l=p,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=f;var r=u(o,s,a);if("normal"===r.type){if(l=a.done?p:d,r.arg===v)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=p,a.method="throw",a.arg=r.arg)}}}(t,i,s),o}function u(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=s;var c="suspendedStart",d="suspendedYield",f="executing",p="completed",v={};function a(){}function m(){}function g(){}var y={};y[r]=function(){return this};var _=Object.getPrototypeOf,x=_&&_(_(A([])));x&&x!==t&&h.call(x,r)&&(y=x);var w=g.prototype=a.prototype=Object.create(y);function b(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function T(l){var e;this._invoke=function(i,n){function t(){return new Promise(function(t,e){!function e(t,i,n,r){var o=u(l[t],l,i);if("throw"!==o.type){var s=o.arg,a=s.value;return a&&"object"==typeof a&&h.call(a,"__await")?Promise.resolve(a.__await).then(function(t){e("next",t,n,r)},function(t){e("throw",t,n,r)}):Promise.resolve(a).then(function(t){s.value=t,n(s)},function(t){return e("throw",t,n,r)})}r(o.arg)}(i,n,t,e)})}return e=e?e.then(t,t):t()}}function E(t,e){var i=t.iterator[e.method];if(i===l){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,239 bytes, line 48
48(e.method="return",e.arg=l,E(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var n=u(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,v;var r=n.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=l),e.delegate=null,v):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(h.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=l,t.done=!0,t};return n.next=n}}return{next:C}}function C(){return{value:l,done:!0}}return m.prototype=w.constructor=g,g.constructor=m,g[n]=m.displayName="GeneratorFunction",o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,n in t||(t[n]="GeneratorFunction")),t.prototype=Object.create(w),t},o.awrap=function(t){return{__await:t}},b(T.prototype),T.prototype[i]=function(){return this},o.AsyncIterator=T,o.async=function(t,e,i,n){var r=new T(s(t,e,i,n));return o.isGeneratorFunction(e)?r:r.next().then(function(t){return t.done?t.value:r.next()})},b(w),w[n]="Generator",w[r]=function(){return this},w.toString=function(){return"[object Generator]"},o.keys=function(i){var n=[];for(var t in i)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in i)return t.value=e,t.done=!1,t}return t.done=!0,t}},o.values=A,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&h.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=l)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var n=this;function t(t,e){return o.type="throw",o.arg=i,n.next=t,e&&(n.method="next",n.arg=l),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e],o=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var s=h.call(r,"catchLoc"),a=h.call(r,"finallyLoc");if(s&&a){if(this.prev<r.catchLoc)return t(r.catchLoc,!0);if(this.prev<r.finallyLoc)return t(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return t(r.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return t(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;0<=i;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&h.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var r=n;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),O(i),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;O(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:A(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=l),v}},o}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}
48,function(t,e,i){i(317),t.exports=i(129).global},function(t,e,i){var n=i(318);n(n.G,{global:i(92)})},function(t,e,i){var v=i(92),m=i(129),g=i(319),y=i(321),_=i(328),x="prototype",w=function(t,e,i){var n,r,o,s=t&w.F,a=t&w.G,l=t&w.S,h=t&w.P,u=t&w.B,c=t&w.W,d=a?m:m[e]||(m[e]={}),f=d[x],p=a?v:l?v[e]:(v[e]||{})[x];for(n in a&&(i=e),i)(r=!s&&p&&void 0!==p[n])&&_(d,n)||(o=r?p[n]:i[n],d[n]=a&&"function"!=typeof p[n]?i[n]:u&&r?g(o,v):c&&p[n]==o?function(n){function t(t,e,i){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(t);case 2:return new n(t,e)}return new n(t,e,i)}return n.apply(this,arguments)}return t[x]=n[x],t}(o):h&&"function"==typeof o?g(Function.call,o):o,h&&((d.virtual||(d.virtual={}))[n]=o,t&w.R&&f&&!f[n]&&y(f,n,o)))};w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,t.exports=w},function(t,e,i){var o=i(320);t.exports=function(n,r,t){if(o(n),void 0===r)return n;switch(t){case 1:return function(t){return n.call(r,t)};case 2:return function(t,e){return n.call(r,t,e)};case 3:return function(t,e,i){return n.call(r,t,e,i)}}return function(){return n.apply(r,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){var n=i(322),r=i(327);t.exports=i(94)?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(323),r=i(324),o=i(326),s=Object.defineProperty;e.f=i(94)?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return s(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(93);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,i){t.exports=!i(94)&&!i(130)(function(){return 7!=Object.defineProperty(i(325)("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(93),r=i(92).document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,i){var r=i(93);t.exports=function(t,e){if(!r(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!r(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!r(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!r(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var i=0;i<this.length;i++)t.call(e,this[i],i,this)})},function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}});else{var v=window.document,e=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},t.prototype._initThresholds=function(t){var e=t||[0];
48return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,i){if("number"!=typeof t||isNaN(t)||t<0||1<t)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==i[e-1]})},t.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},t.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(window,"resize",this._checkForIntersections,!0),i(v,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(v,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},t.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,n(window,"resize",this._checkForIntersections,!0),n(v,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},t.prototype._checkForIntersections=function(){var a=this._rootIsInDom(),l=a?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(t){var e=t.element,i=m(e),n=this._rootContainsTarget(e),r=t.entry,o=a&&n&&this._computeTargetAndRootIntersection(e,l),s=t.entry=new h({time:window.performance&&performance.now&&performance.now(),target:e,boundingClientRect:i,rootBounds:l,intersectionRect:o});r?a&&n?this._hasCrossedThreshold(r,s)&&this._queuedEntries.push(s):r&&r.isIntersecting&&this._queuedEntries.push(s):this._queuedEntries.push(s)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},t.prototype._computeTargetAndRootIntersection=function(t,e){if("none"!=window.getComputedStyle(t).display){for(var i,n,r,o,s,a,l,h,u=m(t),c=g(t),d=!1;!d;){var f=null,p=1==c.nodeType?window.getComputedStyle(c):{};if("none"==p.display)return;if(c==this.root||c==v?(d=!0,f=e):c!=v.body&&c!=v.documentElement&&"visible"!=p.overflow&&(f=m(c)),f&&(i=f,n=u,void 0,r=Math.max(i.top,n.top),o=Math.min(i.bottom,n.bottom),s=Math.max(i.left,n.left),a=Math.min(i.right,n.right),h=o-r,!(u=0<=(l=a-s)&&0<=h&&{top:r,bottom:o,left:s,right:a,width:l,height:h})))break;c=g(c)}return u}},t.prototype._getRootRect=function(){var t;if(this.root)t=m(this.root);else{var e=v.documentElement,i=v.body;t={top:0,left:0,right:e.clientWidth||i.clientWidth,width:e.clientWidth||i.clientWidth,bottom:e.clientHeight||i.clientHeight,height:e.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},t.prototype._expandRectByRootMargin=function(i){var t=this._rootMarginValues.map(function(t,e){return"px"==t.unit?t.value:t.value*(e%2?i.width:i.height)/100}),e={top:i.top-t[0],right:i.right+t[1],bottom:i.bottom+t[2],left:i.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},t.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==n)for(var r=0;r<this.thresholds.length;r++){var o=this.thresholds[r];if(o==i||o==n||o<i!=o<n)return!0}},t.prototype._rootIsInDom=function(){return!this.root||r(v,this.root)},t.prototype._rootContainsTarget=function(t){return r(this.root||v,t)},t.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},t.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=t,window.IntersectionObserverEntry=h}function h(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,i=e.width*e.height,n=this.intersectionRect,r=n.width*n.height;this.intersectionRatio=i?Number((r/i).toFixed(4)):this.isIntersecting?1:0}function t(t,e){var i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(t,e){var i=null;return function(){i=i||setTimeout(function(){t(),i=null},e)}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function i(t,e,i,n){"function"==typeof t.addEventListener?t.addEventListener(e,i,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,i)}function n(t,e,i,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,i,n||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,i)}function m(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function r(t,e){for(var i=e;i;){if(i==t)return!0;
vendor: 8,439 bytes, lines 48-55
48i=g(i)}return!1}function g(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}()},function(t,e,i){var n,r;n="undefined"!=typeof window?window:{},r=function(h,N){"use strict";var F,B;if(function(){var t,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in B=h.lazySizesConfig||h.lazysizesConfig||{},e)t in B||(B[t]=e[t])}(),!N||!N.getElementsByClassName){return{init:function(){},cfg:B,noSupport:true}}var U=N.documentElement,u=h.Date,n=h.HTMLPictureElement,j="addEventListener",X="getAttribute",z=h[j],W=h.setTimeout,a=h.requestAnimationFrame||W,l=h.requestIdleCallback,H=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],i={},G=Array.prototype.forEach,V=function(t,e){if(!i[e]){i[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")}return i[e].test(t[X]("class")||"")&&i[e]},Y=function(t,e){if(!V(t,e)){t.setAttribute("class",(t[X]("class")||"").trim()+" "+e)}},q=function(t,e){var i;if(i=V(t,e)){t.setAttribute("class",(t[X]("class")||"").replace(i," "))}},K=function(e,i,t){var n=t?j:"removeEventListener";if(t){K(e,i)}r.forEach(function(t){e[n](t,i)})},Z=function(t,e,i,n,r){var o=N.createEvent("Event");if(!i){i={}}i.instance=F;o.initEvent(e,!n,!r);o.detail=i;t.dispatchEvent(o);return o},Q=function(t,e){var i;if(!n&&(i=h.picturefill||B.pf)){if(e&&e.src&&!t[X]("srcset")){t.setAttribute("srcset",e.src)}i({reevaluate:true,elements:[t]})}else if(e&&e.src){t.src=e.src}},J=function(t,e){return(getComputedStyle(t,null)||{})[e]},s=function(t,e,i){i=i||t.offsetWidth;while(i<B.minSize&&e&&!t._lazysizesWidth){i=e.offsetWidth;e=e.parentNode}return i},$=function(){var i,n;var e=[];var r=[];var o=e;var s=function(){var t=o;o=e.length?r:e;i=true;n=false;while(t.length){t.shift()()}i=false};var t=function(t,e){if(i&&!e){t.apply(this,arguments)}else{o.push(t);if(!n){n=true;(N.hidden?W:a)(s)}}};t._lsFlush=s;return t}(),tt=function(i,t){return t?function(){$(i)}:function(){var t=this;var e=arguments;$(function(){i.apply(t,e)})}},et=function(t){var i;var n=0;var r=B.throttleDelay;var o=B.ricTimeout;var e=function(){i=false;n=u.now();t()};var s=l&&o>49?function(){l(e,{timeout:o});if(o!==B.ricTimeout){o=B.ricTimeout}}:tt(function(){W(e)},true);return function(t){var e;if(t=t===true){o=33}if(i){return}i=true;e=r-(u.now()-n);if(e<0){e=0}if(t||e<9){s()}else{W(s,e)}}},it=function(t){var e,i;var n=99;var r=function(){e=null;t()};var o=function(){var t=u.now()-i;if(t<n){W(o,n-t)}else{(l||r)(r)}};return function(){i=u.now();if(!e){e=W(o,n)}}},t=function(){var f,p,c,v,t;var m,g,y,_,x,w,b;var o=/^img$/i;var d=/^iframe$/i;var T="onscroll"in h&&!/(gle|ing)bot/.test(navigator.userAgent);var E=0;var S=0;var O=0;var P=-1;var A=function(t){O--;if(!t||O<0||!t.target){O=0}};var C=function(t){if(b==null){b=J(N.body,"visibility")=="hidden"}return b||J(t.parentNode,"visibility")!="hidden"&&J(t,"visibility")!="hidden"};var I=function(t,e){var i;var n=t;var r=C(t);y-=e;w+=e;_-=e;x+=e;while(r&&(n=n.offsetParent)&&n!=N.body&&n!=U){r=(J(n,"opacity")||1)>0;if(r&&J(n,"overflow")!="visible"){i=n.getBoundingClientRect();r=x>i.left&&_<i.right&&w>i.top-1&&y<i.bottom+1}}return r};var e=function(){var t,e,i,n,r,o,s,a,l,h,u,c;var d=F.elements;if((v=B.loadMode)&&O<8&&(t=d.length)){e=0;P++;for(;e<t;e++){if(!d[e]||d[e]._lazyRace){continue}if(!T||F.prematureUnveil&&F.prematureUnveil(d[e])){D(d[e]);continue}if(!(a=d[e][X]("data-expand"))||!(o=a*1)){o=S}if(!h){h=!B.expand||B.expand<1?U.clientHeight>500&&U.clientWidth>500?500:370:B.expand;F._defEx=h;u=h*B.expFactor;c=B.hFac;b=null;if(S<u&&O<1&&P>2&&v>2&&!N.hidden){S=u;P=0}else if(v>1&&P>1&&O<6){S=h}else{S=E}}if(l!==o){m=innerWidth+o*c;g=innerHeight+o;s=o*-1;l=o}i=d[e].getBoundingClientRect();if((w=i.bottom)>=s&&(y=i.top)<=g&&(x=i.right)>=s*c&&(_=i.left)<=m&&(w||x||_||y)&&(B.loadHidden||C(d[e]))&&(p&&O<3&&!a&&(v<3||P<4)||I(d[e],o))){D(d[e]);r=true;if(O>9){break}}else if(!r&&p&&!n&&O<4&&P<4&&v>2&&(f[0]||B.preloadAfterLoad)&&(f[0]||!a&&(w||x||_||y||d[e][X](B.sizesAttr)!="auto"))){n=f[0]||d[e]}}if(n&&!r){D(n)}}};var i=et(e);var M=function(t){var e=t.target;if(e._lazyCache){delete e._lazyCache;return}A(t);Y(e,B.loadedClass);q(e,B.loadingClass);K(e,k);Z(e,"lazyloaded")};var n=tt(M);var k=function(t){n({target:t.target})};var R=function(e,i){try{e.contentWindow.location.replace(i)}catch(t){e.src=i}};var L=function(t){var e;var i=t[X](B.srcsetAttr);if(e=B.customMedia[t[X]("data-media")||t[X]("media")]){t.setAttribute("media",e)}if(i){t.setAttribute("srcset",i)}};var s=tt(function(e,t,i,n,r){var o,s,a,l,h,u;if(!(h=Z(e,"lazybeforeunveil",t)).defaultPrevented){if(n){if(i){Y(e,B.autosizesClass)}else{e.setAttribute("sizes",n)}}s=e[X](B.srcsetAttr);o=e[X](B.srcAttr);if(r){a=e.parentNode;l=a&&H.test(a.nodeName||"")}u=t.firesLoad||"src"in e&&(s||o||l);h={target:e};Y(e,B.loadingClass);if(u){clearTimeout(c);c=W(A,2500);K(e,k,true)}if(l){G.call(a.getElementsByTagName("source"),L)}if(s){e.setAttribute("srcset",s)}else if(o&&!l){if(d.test(e.nodeName)){R(e,o)}else{e.src=o}}if(r&&(s||l)){Q(e,{src:o})}}if(e._lazyRace){delete e._lazyRace}q(e,B.lazyClass);$(function(){var t=e.complete&&e.naturalWidth>1;if(!u||t){if(t){Y(e,"ls-is-cached")}M(h);e._lazyCache=true;W(function(){if("_lazyCache"in e){delete e._lazyCache}},9)}if(e.loading=="lazy"){O--}},true)});var D=function(t){if(t._lazyRace){return}var e;var i=o.test(t.nodeName);var n=i&&(t[X](B.sizesAttr)||t[X]("sizes"));var r=n=="auto";if((r||!p)&&i&&(t[X]("src")||t.srcset)&&!t.complete&&!V(t,B.errorClass)&&V(t,B.lazyClass)){return}e=Z(t,"lazyunveilread").detail;if(r){nt.updateElem(t,true,t.offsetWidth)}t._lazyRace=true;O++;s(t,e,r,n,i)};var r=it(function(){B.loadMode=3;i()});var a=function(){if(B.loadMode==3){B.loadMode=2}r()};var l=function(){if(p){return}if(u.now()-t<999){W(l,999);return}p=true;B.loadMode=3;i();z("scroll",a,true)};return{_:function(){t=u.now();F.elements=N.getElementsByClassName(B.lazyClass);f=N.getElementsByClassName(B.lazyClass+" "+B.preloadClass);z("scroll",i,true);z("resize",i,true);if(h.MutationObserver){new MutationObserver(i).observe(U,{childList:true,subtree:true,attributes:true})}else{U[j]("DOMNodeInserted",i,true);U[j]("DOMAttrModified",i,true);setInterval(i,999)}z("hashchange",i,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){N[j](t,i,true)});if(/d$|^c/.test(N.readyState)){l()}else{z("load",l);N[j]("DOMContentLoaded",i);W(l,2e4)}if(F.elements.length){e();$._lsFlush()}else{i()}},checkElems:i,unveil:D,_aLSL:a}}(),nt=function(){var i;var o=tt(function(t,e,i,n){var r,o,s;t._lazysizesWidth=n;n+="px";t.setAttribute("sizes",n);if(H.test(e.nodeName||"")){r=e.getElementsByTagName("source");for(o=0,s=r.length;o<s;o++){r[o].setAttribute("sizes",n)}}if(!i.detail.dataAttr){Q(t,i.detail)}});var n=function(t,e,i){var n;var r=t.parentNode;if(r){i=s(t,r,i);n=Z(t,"lazybeforesizes",{width:i,dataAttr:!!e});if(!n.defaultPrevented){i=n.detail.width;if(i&&i!==t._lazysizesWidth){o(t,r,n,i)}}}};var t=function(){var t;var e=i.length;if(e){t=0;for(;t<e;t++){n(i[t])}}};var e=it(t);return{_:function(){i=N.getElementsByClassName(B.autosizesClass);z("resize",e)},checkElems:e,updateElem:n}}(),e=function(){if(!e.i&&N.getElementsByClassName){e.i=true;nt._();t._()}};return W(function(){B.init&&e()}),F={cfg:B,autoSizer:nt,loader:t,init:e,uP:Q,aC:Y,rC:q,hC:V,fire:Z,gW:s,rAF:$}}(n,n.document),n.lazySizes=r,t.exports&&(t.exports=r)},function(t,e,i){"use strict";var n=i(17),r=i(131),o=i(334),s=i(95);function a(t){var e=new o(t),i=r(o.prototype.request,e);return n.extend(i,o.prototype,e),n.extend(i,e),i}var l=a(s);l.Axios=o,l.create=function(t){return a(n.merge(s,t))},l.Cancel=i(136),l.CancelToken=i(348),l.isCancel=i(135),l.all=function(t){return Promise.all(t)},l.spread=i(349),t.exports=l,t.exports.default=l},function(t,e){function i(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
49/*!
50 * Determine if an object is a Buffer
51 *
52 * @author   Feross Aboukhadijeh <https://feross.org>
53 * @license  MIT
54 */
55t.exports=function(t){return null!=t&&(i(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&i(t.slice(0,0))}(t)||!!t._isBuffer)}}
55,function(t,e,i){"use strict";var r=i(95),o=i(17),n=i(343),s=i(344);function a(t){this.defaults=t,this.interceptors={request:new n,response:new n}}a.prototype.request=function(t,e){"string"==typeof t&&(t=o.merge({url:arguments[0]},e)),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var i=[s,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){i.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){i.push(t.fulfilled,t.rejected)});i.length;)n=n.then(i.shift(),i.shift());return n},o.forEach(["delete","get","head","options"],function(i){a.prototype[i]=function(t,e){return this.request(o.merge(e||{},{method:i,url:t}))}}),o.forEach(["post","put","patch"],function(n){a.prototype[n]=function(t,e,i){return this.request(o.merge(i||{},{method:n,url:t,data:e}))}}),t.exports=a},function(t,e,i){"use strict";var r=i(17);t.exports=function(i,n){r.forEach(i,function(t,e){e!==n&&e.toUpperCase()===n.toUpperCase()&&(i[n]=t,delete i[e])})}},function(t,e,i){"use strict";var r=i(134);t.exports=function(t,e,i){var n=i.config.validateStatus;i.status&&n&&!n(i.status)?e(r("Request failed with status code "+i.status,i.config,null,i.request,i)):t(i)}},function(t,e,i){"use strict";t.exports=function(t,e,i,n,r){return t.config=e,i&&(t.code=i),t.request=n,t.response=r,t}},function(t,e,i){"use strict";var o=i(17);function s(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var n;if(i)n=i(e);else if(o.isURLSearchParams(e))n=e.toString();else{var r=[];o.forEach(e,function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),r.push(s(e)+"="+s(t))}))}),n=r.join("&")}return n&&(t+=(-1===t.indexOf("?")?"?":"&")+n),t}},function(t,e,i){"use strict";var o=i(17),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,i,n,r={};return t&&o.forEach(t.split("\n"),function(t){if(n=t.indexOf(":"),e=o.trim(t.substr(0,n)).toLowerCase(),i=o.trim(t.substr(n+1)),e){if(r[e]&&0<=s.indexOf(e))return;r[e]="set-cookie"===e?(r[e]?r[e]:[]).concat([i]):r[e]?r[e]+", "+i:i}}),r}},function(t,e,i){"use strict";var n,r,o,s=i(17);function a(t){var e=t;return r&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}t.exports=s.isStandardBrowserEnv()?(r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a"),n=a(window.location.href),function(t){var e=s.isString(t)?a(t):t;return e.protocol===n.protocol&&e.host===n.host}):function(){return!0}},function(t,e,i){"use strict";function a(){this.message="String contains an invalid character"}(a.prototype=new Error).code=5,a.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,i,n=String(t),r="",o=0,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.charAt(0|o)||(s="=",o%1);r+=s.charAt(63&e>>8-o%1*8)){if(255<(i=n.charCodeAt(o+=.75)))throw new a;e=e<<8|i}return r}},function(t,e,i){"use strict";var a=i(17);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,i,n,r,o){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),a.isString(n)&&s.push("path="+n),a.isString(r)&&s.push("domain="+r),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}}
vendor: 5,092 bytes, line 55
55,function(t,e,i){"use strict";var n=i(17);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=r},function(t,e,i){"use strict";var n=i(17),r=i(345),o=i(135),s=i(95),a=i(346),l=i(347);function h(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(e){return h(e),e.baseURL&&!a(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return h(e),t.data=r(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(h(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(t,e,i){"use strict";var n=i(17);t.exports=function(e,i,t){return n.forEach(t,function(t){e=t(e,i)}),e}},function(t,e,i){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,i){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,i){"use strict";var n=i(136);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var i=this;t(function(t){i.reason||(i.reason=new n(t),e(i.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},t.exports=r},function(t,e,i){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,m,M){(function(f,p){var v;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(){m&&m.nodeType,f&&f.nodeType;var t="object"==typeof p&&p;t.global!==t&&t.window!==t&&t.self;var e,g=2147483647,y=36,_=1,x=26,r=38,o=700,w=72,b=128,T="-",i=/^xn--/,n=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,a={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=y-_,E=Math.floor,S=String.fromCharCode;function O(t){throw new RangeError(a[t])}function h(t,e){for(var i=t.length,n=[];i--;)n[i]=e(t[i]);return n}function u(t,e){var i=t.split("@"),n="";return 1<i.length&&(n=i[0]+"@",t=i[1]),n+h((t=t.replace(s,".")).split("."),e).join(".")}function P(t){for(var e,i,n=[],r=0,o=t.length;r<o;)55296<=(e=t.charCodeAt(r++))&&e<=56319&&r<o?56320==(64512&(i=t.charCodeAt(r++)))?n.push(((1023&e)<<10)+(1023&i)+65536):(n.push(e),r--):n.push(e);return n}function A(t){return h(t,function(t){var e="";return 65535<t&&(e+=S((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=S(t)}).join("")}function C(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function I(t,e,i){var n=0;for(t=i?E(t/o):t>>1,t+=E(t/e);l*x>>1<t;n+=y)t=E(t/l);return E(n+(l+1)*t/(t+r))}function c(t){var e,i,n,r,o,s,a,l,h,u,c,d=[],f=t.length,p=0,v=b,m=w;for((i=t.lastIndexOf(T))<0&&(i=0),n=0;n<i;++n)128<=t.charCodeAt(n)&&O("not-basic"),d.push(t.charCodeAt(n));for(r=0<i?i+1:0;r<f;){for(o=p,s=1,a=y;f<=r&&O("invalid-input"),c=t.charCodeAt(r++),(y<=(l=c-48<10?c-22:c-65<26?c-65:c-97<26?c-97:y)||l>E((g-p)/s))&&O("overflow"),p+=l*s,!(l<(h=a<=m?_:m+x<=a?x:a-m));a+=y)s>E(g/(u=y-h))&&O("overflow"),s*=u;m=I(p-o,e=d.length+1,0==o),E(p/e)>g-v&&O("overflow"),v+=E(p/e),p%=e,d.splice(p++,0,v)}return A(d)}function d(t){var e,i,n,r,o,s,a,l,h,u,c,d,f,p,v,m=[];for(d=(t=P(t)).length,e=b,o=w,s=i=0;s<d;++s)(c=t[s])<128&&m.push(S(c));for(n=r=m.length,r&&m.push(T);n<d;){for(a=g,s=0;s<d;++s)e<=(c=t[s])&&c<a&&(a=c);for(a-e>E((g-i)/(f=n+1))&&O("overflow"),i+=(a-e)*f,e=a,s=0;s<d;++s)if((c=t[s])<e&&++i>g&&O("overflow"),c==e){for(l=i,h=y;!(l<(u=h<=o?_:o+x<=h?x:h-o));h+=y)v=l-u,p=y-u,m.push(S(C(u+v%p,0))),l=E(v/p);m.push(S(C(l,0))),o=I(i,f,n==r),i=0,++n}++i,++e}return m.join("")}e={version:"1.4.1",ucs2:{decode:P,encode:A},decode:c,encode:d,toASCII:function(t){return u(t,function(t){return n.test(t)?"xn--"+d(t):t})},toUnicode:function(t){return u(t,function(t){return i.test(t)?c(t.slice(4).toLowerCase()):t})}},void 0===(v=function(){return e}.call(m,M,m,f))||(f.exports=v)}()}).call(this,M(352)(t),M(52))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}}
55,function(t,e,i){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,i){"use strict";e.decode=e.parse=i(355),e.encode=e.stringify=i(356)},function(t,e,i){"use strict";t.exports=function(t,e,i,n){e=e||"&",i=i||"=";var r={};if("string"!=typeof t||0===t.length)return r;var o=/\+/g;t=t.split(e);var s=1e3;n&&"number"==typeof n.maxKeys&&(s=n.maxKeys);var a,l,h=t.length;0<s&&s<h&&(h=s);for(var u=0;u<h;++u){var c,d,f,p,v=t[u].replace(o,"%20"),m=v.indexOf(i);d=0<=m?(c=v.substr(0,m),v.substr(m+1)):(c=v,""),f=decodeURIComponent(c),p=decodeURIComponent(d),a=r,l=f,Object.prototype.hasOwnProperty.call(a,l)?g(r[f])?r[f].push(p):r[f]=[r[f],p]:r[f]=p}return r};var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,i){"use strict";function o(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}t.exports=function(i,n,r,t){return n=n||"&",r=r||"=",null===i&&(i=void 0),"object"==typeof i?a(l(i),function(t){var e=encodeURIComponent(o(t))+r;return s(i[t])?a(i[t],function(t){return e+encodeURIComponent(o(t))}).join(n):e+encodeURIComponent(o(i[t]))}).join(n):t?encodeURIComponent(o(t))+r+encodeURIComponent(o(i)):""};var s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function a(t,e){if(t.map)return t.map(e);for(var i=[],n=0;n<t.length;n++)i.push(e(t[n],n));return i}var l=Object.keys||function(t){var e=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);return e}},function(t,e,r){"use strict";r.r(e);var i={};r.r(i),r.d(i,"isMobile",function(){return vi.a}),r.d(i,"EventEmitter",function(){return Oi.a}),r.d(i,"earcut",function(){return Ai.a}),r.d(i,"url",function(){return Ii.a}),r.d(i,"BaseTextureCache",function(){return nn}),r.d(i,"CanvasRenderTarget",function(){return an}),r.d(i,"DATA_URI",function(){return un}),r.d(i,"ProgramCache",function(){return tn}),r.d(i,"TextureCache",function(){return en}),r.d(i,"clearTextureCache",function(){return on}),r.d(i,"correctBlendMode",function(){return zi}),r.d(i,"createIndicesForQuads",function(){return Vi}),r.d(i,"decomposeDataUri",function(){return cn}),r.d(i,"deprecation",function(){return vn}),r.d(i,"destroyTextureCache",function(){return rn}),r.d(i,"determineCrossOrigin",function(){return dn}),r.d(i,"getResolutionOfUrl",function(){return fn}),r.d(i,"hex2rgb",function(){return Fi}),r.d(i,"hex2string",function(){return Bi}),r.d(i,"isPow2",function(){return Ji}),r.d(i,"isWebGLSupported",function(){return Ni}),r.d(i,"log2",function(){return $i}),r.d(i,"nextPow2",function(){return Qi}),r.d(i,"premultiplyBlendMode",function(){return Xi}),r.d(i,"premultiplyRgba",function(){return Wi}),r.d(i,"premultiplyTint",function(){return Hi}),r.d(i,"premultiplyTintToRgba",function(){return Gi}),r.d(i,"removeItems",function(){return Yi}),r.d(i,"rgb2hex",function(){return ji}),r.d(i,"sayHello",function(){return Di}),r.d(i,"sign",function(){return Zi}),r.d(i,"skipHello",function(){return Li}),r.d(i,"string2hex",function(){return Ui}),r.d(i,"trimCanvas",function(){return sn}),r.d(i,"uid",function(){return Ki});r(331);function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var s=function(){function o(t,e,i,n){var r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),this.active=!0,this.params=null,this._listener=e,this._isOnce=i,this.context=n,this._signal=t,this.priority=r||0}return function(t,e,i){e&&n(t.prototype,e),i&&n(t,i)}(o,[{key:"execute",value:function(t){var e,i;return this.active&&this._listener&&(i=this.params?this.params.concat(t):t,e=this._listener.apply(this.context,i),this._isOnce&&this.detach()),e}},{key:"detach",value:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null}},{key:"isBound",value:function(){return!!this._signal&&!!this._listener}},{key:"isOnce",value:function(){return this._isOnce}},{key:"getListener",value:function(){return this._listener}},{key:"getSignal",value:function(){return this._signal}},{key:"_destroy",value:function(){delete this._signal,delete this._listener,delete this.context}},{key:"toString",value:function(){return"[SignalBinding isOnce:"+this._isOnce+", isBound:"+this.isBound()+", active:"+this.active+"]"}}]),o}();function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._bindings=[],this._prevParams=null,this.memorize=!1,this._shouldPropagate=!0,this.active=!0}
55return function(t,e,i){e&&o(t.prototype,e),i&&o(t,i)}(t,[{key:"validateListener",value:function(t,e){if("function"!=typeof t)throw new Error("listener is a required param of {fn}() and should be a Function.".replace("{fn}",e))}},{key:"_registerListener",value:function(t,e,i,n){var r,o=this._indexOfListener(t,i);if(-1!==o){if((r=this._bindings[o]).isOnce()!==e)throw new Error("You cannot add"+(e?"":"Once")+"() then add"+(e?"Once":"")+"() the same listener without removing the relationship first.")}else r=new s(this,t,e,i,n),this._addBinding(r);return this.memorize&&this._prevParams&&r.execute(this._prevParams),r}},{key:"_addBinding",value:function(t){for(var e=this._bindings.length;--e,this._bindings[e]&&t.priority<=this._bindings[e].priority;);this._bindings.splice(e+1,0,t)}},{key:"_indexOfListener",value:function(t,e){for(var i,n=this._bindings.length;n--;)if((i=this._bindings[n]).getListener()===t&&i.context===e)return n;return-1}},{key:"has",value:function(t,e){var i=1<arguments.length&&void 0!==e?e:null;return-1!==this._indexOfListener(t,i)}},{key:"add",value:function(t,e,i){var n=1<arguments.length&&void 0!==e?e:null,r=2<arguments.length&&void 0!==i?i:0;return this.validateListener(t,"add"),this._registerListener(t,!1,n,r)}},{key:"addOnce",value:function(t,e,i){var n=1<arguments.length&&void 0!==e?e:null,r=2<arguments.length&&void 0!==i?i:0;return this.validateListener(t,"addOnce"),this._registerListener(t,!0,n,r)}},{key:"remove",value:function(t,e){var i=1<arguments.length&&void 0!==e?e:null;this.validateListener(t,"remove");var n=this._indexOfListener(t,i);return-1!==n&&(this._bindings[n]._destroy(),this._bindings.splice(n,1)),t}},{key:"removeAll",value:function(){for(var t=this._bindings.length;t--;)this._bindings[t]._destroy();this._bindings.length=0}},{key:"getNumListeners",value:function(){return this._bindings.length}},{key:"halt",value:function(){this._shouldPropagate=!1}},{key:"dispatch",value:function(){if(this.active){for(var t,e=this._bindings.length,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];if(this.memorize&&(this._prevParams=n),e)for(t=this._bindings.slice(0),this._shouldPropagate=!0;t[--e]&&this._shouldPropagate&&!1!==t[e].execute(n););}}},{key:"forget",value:function(){this._prevParams=null}},{key:"dispose",value:function(){this.removeAll(),delete this._bindings,delete this._prevParams}},{key:"toString",value:function(){return"[Signal active:"+this.active+" numListeners:"+this.getNumListeners()+"]"}}]),t}();function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}a.VERSION="1.0.0";var p=function(){function i(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),window.addEventListener("resize",function(t){return e.resizeHandler(t)}),this.resizeHandler()}return function(t,e,i){e&&l(t.prototype,e),i&&l(t,i)}(i,[{key:"sendFakeResizeEvent",value:function(){this.resizeHandler()}},{key:"resizeHandler",value:function(t){i.width=window.innerWidth,i.height=window.innerHeight,i.halfWidth=Math.round(.5*i.width),i.halfHeight=Math.round(.5*i.height),i.documentWidth=document.documentElement.clientWidth,i.documentHeight=document.documentElement.clientHeight,i.scaleFactor=i.width/1440,i.previousHeight=i.height,i.signalResize.dispatch(i.width,i.height)}}],[{key:"getInstance",value:function(){return i.instance||(i.instance=new i),i.instance}},{key:"aspectRatio",value:function(){return i.width/i.height}},{key:"isMobile",value:function(){return i.width<=i.BREAKPOINT_MOBILE}}]),i}();function h(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}p.BREAKPOINT_MOBILE=640,p.BREAKPOINT_TABLET_PORTRAIT=768,p.BREAKPOINT_TABLET=1024,p.BREAKPOINT_DESKTOP=1440,p.signalResize=new a;var u=function(){function e(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.isEnabled=!0,this.ticking=!1,this.currRaf=0,this.onScroll=function(){t.requestUpdate()},this.update=function(){!0===t.isEnabled&&(t.updateViewport(),e.signalScroll.dispatch()),t.ticking=!1}
55,this.resize=function(){t.update()},this.kill=function(){t.ticking=!0,cancelAnimationFrame(t.currRaf),window.removeEventListener("scroll",t.onScroll)},this.disableScroll=function(){t.isEnabled=!1},this.enableScroll=function(){t.update(),t.isEnabled=!0},window.addEventListener("scroll",this.onScroll),this.update()}return function(t,e,i){e&&h(t.prototype,e),i&&h(t,i)}(e,[{key:"updateViewport",value:function(){var t=window.pageYOffset;e.viewport.top=t,e.viewport.bottom=t+p.height}},{key:"requestUpdate",value:function(){this.ticking||(this.currRaf=requestAnimationFrame(this.update)),this.ticking=!0}}]),e}();function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}u.signalScroll=new a,u.viewport={top:0,bottom:0},u.getOffsetTopForElement=function(t){var e;for(e=0;t;)e+=t.offsetTop,t=t.offsetParent;return e};var v=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,i){e&&c(t.prototype,e),i&&c(t,i)}(t,null,[{key:"MUTED",get:function(){return this._MUTED},set:function(t){this._MUTED=t,this.SIGNAL_MUTED.dispatch()}}]),t}();v.DEBUG=!1,v.WEBP_SUPPORTED=!1,v.WEBP_SUPPORT_CHECKED=!1,v.MAX_VOLUME=.1,v.SITE_WRAPPER=document.getElementById("SiteWrapper"),v.TEMPLATE_LAYER=document.getElementById("TemplateLayer"),v.I_OS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints,v.IS_TOUCH_DEVICE="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,v.CAN_PLAY_AUDIO=!1,v._MUTED=!0,v.SIGNAL_MUTED=new a,v.SIGNAL_WEBP_SUPPORT_CHECKED=new a,v.TRANSITIONING_FROM_WORKPAGE=!1,v.SIGNAL_NEXT_WORK_PAGE_TEMPLATE_READY=new a;var d=r(96),f=r.n(d);function m(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var g=function(){function t(){var s=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.signalHashChange=new a,this._templateRegister=[],this._activeTemplates=[],this._blocked=!1,this._newPath="",this._defaultPath="",this._curPath="",this._initial=!0,this._queue=[],this._loadProgresses=[],this._loadQue=[],this._loading=!1,this.asyncLoad=!0,this.trackGoogleAnalytics=!0,this.useHistoryApi=!0,this.defaultUrl=document.location.protocol+"//"+window.location.host,this.defaultSubfolder="",this.prevPath="",this.http=f.a.create(),this.cancelRequest=null,this.onHashChange=function(){var t=s.getPath(),e=!1;if(t=(s._newFullUrl=t).split("?")[0],s.useHistoryApi&&(t=t.split("#")[0]),s._newPath=s.extractPath(t),""===s._newPath&&(s._newPath=s._defaultPath),s._curPath!==s._newPath){if(s.prevPath=s._curPath,s._curPath=s._newPath,0<s._activeTemplates.length){s._blocked=!0;for(var i=s._activeTemplates.length,n=0;n<i;n++)s._activeTemplates.pop().template.templateOut(s._newPath)}if(0<s._loadProgresses.length){s._loadProgresses.pop();s.cancelRequest.cancel(),e=!0}0<s._queue.length&&(s._queue=[]),s._initial?s.dataLoaded(s._initialData,s._newPath):s.asyncLoad?s.loadData(s._newPath):e?s.loadData(s._newPath):s._loadQue.push(s._newPath)}s._prevFullUrl=s._newFullUrl,s.signalHashChange.dispatch({fullUrl:s._newFullUrl})},this.onLoadError=function(t){window.location.reload()},this.dataLoaded=function(t,e){if(s.asyncLoad||(s._loading=!1),0<s._loadProgresses.length){s._loadProgresses.pop();null}if(s._initial)t=t.querySelector(".template");else{var i=document.createElement("div");i.innerHTML=t,t=(t=i).querySelector(".template")}if(s._initial)s.initTemplate(t,e).templateIn(),s._initial=!1;else if(s._blocked)s._queue.push({path:e,data:t});else{s.initTemplate(t,e).templateIn(),s._blocked=!0}},this.getTemplate=function(t,e,i){for(var n,r=s._templateRegister.length,o=0;o<r;o++)if(s._templateRegister[o].templateName===e){n=new s._templateRegister[o].template(t,s),!0;break}return n},this.getCurrentActiveTemplate=function(){return s._activeTemplates[0]},this.extractPath=function(t){for(var e,i=t.split("#"),n=i[i.length-1].split("/"),r=[],o=n.length,s=0;s<o;s+=1)null!==(e=n[s])&&""!==e&&r.push(e);return r.join("/")},this.path=function(t,e){!0===s.useHistoryApi?(t="/"+t,history.pushState(t,t,t)):window.location.hash="/"+t,s.useHistoryApi&&s.onHashChange(e)},this.nextTemplate=function(){var t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(s.asyncLoad){if(0<s._queue.length){var e=s._queue.pop(),i=s.initTemplate(e.data,e.path);return t&&i.templateIn(),s._blocked=!0,i}s._blocked=!1}else 0<s._loadQue.length&&(s.loadData(s._loadQue.shift()),s._blocked=!1,s._loading=!0)},this.resize=function(){for(var t=0,e=s._activeTemplates.length;t<e;t++)s._activeTemplates[t].template.resize()}}
55return function(t,e,i){e&&m(t.prototype,e),i&&m(t,i)}(t,[{key:"init",value:function(t,e){this._initialData=t,e&&(this._defaultPath=e),null===window.history&&(this.useHistoryApi=!1),!0===this.useHistoryApi?(history.scrollRestoration="manual",window.addEventListener("popstate",this.onHashChange)):window.addEventListener("hashchange",this.onHashChange),this._curPath="initialLoad",this._newPath=this._curPath,this._prevFullUrl=this._curPath,this.onHashChange()}},{key:"loadData",value:function(t){var e,i=this;"home"===t&&(t=""),e=this.defaultUrl+"/"+t,this.cancelRequest=f.a.CancelToken.source();var n=this.http.get(e,{cancelToken:this.cancelRequest.token}).then(function(t){return i.dataLoaded(t.data,e)}).catch(this.onLoadError);this._loadProgresses.push(n)}},{key:"initTemplate",value:function(t,e){this.updateTitle(t);var i=this.getTemplate(t,t.getAttribute("data-template"));return i.path=e,!0!==this.trackGoogleAnalytics||this._initial||void 0!==window.gtag&&(""===e&&(e="/"),"/"!==e.substring(0,1)&&(e="/"+e),window.gtag("event","page_view",{page_path:e})),this._activeTemplates.push({path:e,data:t,template:i}),i}},{key:"updateTitle",value:function(t){var e=t.getAttribute("data-title");e=e||"",document.head.querySelector("title").textContent=e}},{key:"getPath",value:function(){var t="";if(!0===this.useHistoryApi){var e=window.location.href;t=e.substring(this.defaultUrl.length+this.defaultSubfolder.length,e.length)}else t=window.location.hash;return t}},{key:"isInitial",value:function(){return this._initial}},{key:"addTemplate",value:function(t,e){this._templateRegister.push({templateName:t,template:e})}},{key:"getCurrentPath",value:function(){return this._curPath}}]),t}(),me=r(0);
56/*!
57 * VERSION: 2.1.3
58 * DATE: 2019-05-17
59 * UPDATES AND DOCS AT: http://greensock.com
60 *
61 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
62 * This work is subject to the terms at http://greensock.com/standard-license or for
63 * Club GreenSock members, the software agreement that was issued with your membership.
64 * 
65 * @author: Jack Doyle, [email protected]
66 **/
67me.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){function v(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i}function m(t,e,i){var n,r,o=t.cycle;for(n in o)r=o[n],t[n]="function"==typeof r?r(i,e[i],e):r[i%r.length];delete t.cycle}function g(t){if("function"==typeof t)return t;var p="object"==typeof t?t:{each:t},v=p.ease,m=p.from||0,g=p.base||0,y={},_=isNaN(m),x=p.axis,w={center:.5,end:1}[m]||0;return function(t,e,i){var n,r,o,s,a,l,h,u,c,d=(i||p).length,f=y[d];if(!f){if(!(c="auto"===p.grid?0:(p.grid||[1/0])[0])){for(h=-1/0;h<(h=i[c++].getBoundingClientRect().left)&&c<d;);c--}for(f=y[d]=[],n=_?Math.min(c,d)*w-.5:m%c,r=_?d*w/c-.5:m/c|0,u=1/(h=0),l=0;l<d;l++)o=l%c-n,s=r-(l/c|0),f[l]=a=x?Math.abs("y"===x?s:o):Math.sqrt(o*o+s*s),h<a&&(h=a),a<u&&(u=a);f.max=h-u,f.min=u,f.v=d=p.amount||p.each*(d<c?d-1:x?"y"===x?d/c:c:Math.max(c,d/c))||0,f.b=d<0?g-d:g}return d=(f[t]-f.min)/f.max,f.b+(v?v.getRatio(d):d)*f.v}}var y=function(t,e,i){me.l.call(this,t,e,i),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=y.prototype.render},_=1e-8,x=me.l._internals,w=x.isSelector,b=x.isArray,t=y.prototype=me.l.to({},.1,{}),T=[];y.version="2.1.3",t.constructor=y,t.kill()._gc=!1,y.killTweensOf=y.killDelayedCallsTo=me.l.killTweensOf,y.getTweensOf=me.l.getTweensOf,y.lagSmoothing=me.l.lagSmoothing,y.ticker=me.l.ticker,y.render=me.l.render,y.distribute=g,t.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),me.l.prototype.invalidate.call(this)},t.updateTo=function(t,e){var i,n=this,r=n.ratio,o=n.vars.immediateRender||t.immediateRender;for(i in e&&n._startTime<n._timeline._time&&(n._startTime=n._timeline._time,n._uncache(!1),n._gc?n._enabled(!0,!1):n._timeline.insert(n,n._startTime-n._delay)),t)n.vars[i]=t[i];if(n._initted||o)if(e)n._initted=!1,o&&n.render(0,!0,!0);else if(n._gc&&n._enabled(!0,!1),n._notifyPluginsOfEnabled&&n._firstPT&&me.l._onPluginEvent("_onDisable",n),.998<n._time/n._duration){var s=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(s,!0,!1)}else if(n._initted=!1,n._init(),0<n._time||o)for(var a,l=1/(1-r),h=n._firstPT;h;)a=h.s+h.c,h.c*=l,h.s=a-h.c,h=h._next;return n}
67,t.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,r,o,s,a,l,h,u,c,d=this,f=d._dirty?d.totalDuration():d._totalDuration,p=d._time,v=d._totalTime,m=d._cycle,g=d._duration,y=d._rawPrevTime;if(f-_<=t&&0<=t?(d._totalTime=f,d._cycle=d._repeat,d._yoyo&&0!=(1&d._cycle)?(d._time=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0):(d._time=g,d.ratio=d._ease._calcEnd?d._ease.getRatio(1):1),d._reversed||(n=!0,r="onComplete",i=i||d._timeline.autoRemoveChildren),0===g&&(!d._initted&&d.vars.lazy&&!i||(d._startTime===d._timeline._duration&&(t=0),(y<0||t<=0&&-_<=t||y===_&&"isPause"!==d.data)&&y!==t&&(i=!0,_<y&&(r="onReverseComplete")),d._rawPrevTime=u=!e||t||y===t?t:_))):t<_?(d._totalTime=d._time=d._cycle=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0,(0!==v||0===g&&0<y)&&(r="onReverseComplete",n=d._reversed),-_<t?t=0:t<0&&(d._active=!1,0===g&&(!d._initted&&d.vars.lazy&&!i||(0<=y&&(i=!0),d._rawPrevTime=u=!e||t||y===t?t:_))),d._initted||(i=!0)):(d._totalTime=d._time=t,0!==d._repeat&&(s=g+d._repeatDelay,d._cycle=d._totalTime/s>>0,0!==d._cycle&&d._cycle===d._totalTime/s&&v<=t&&d._cycle--,d._time=d._totalTime-d._cycle*s,d._yoyo&&0!=(1&d._cycle)&&(d._time=g-d._time,(c=d._yoyoEase||d.vars.yoyoEase)&&(d._yoyoEase||(!0!==c||d._initted?d._yoyoEase=c=!0===c?d._ease:c instanceof me.b?c:me.b.map[c]:(c=d.vars.ease,d._yoyoEase=c=c?c instanceof me.b?c:"function"==typeof c?new me.b(c,d.vars.easeParams):me.b.map[c]||me.l.defaultEase:me.l.defaultEase)),d.ratio=c?1-c.getRatio((g-d._time)/g):0)),d._time>g?d._time=g:d._time<0&&(d._time=0)),d._easeType&&!c?(a=d._time/g,(1===(l=d._easeType)||3===l&&.5<=a)&&(a=1-a),3===l&&(a*=2),1===(h=d._easePower)?a*=a:2===h?a*=a*a:3===h?a*=a*a*a:4===h&&(a*=a*a*a*a),d.ratio=1===l?1-a:2===l?a:d._time/g<.5?a/2:1-a/2):c||(d.ratio=d._ease.getRatio(d._time/g))),p!==d._time||i||m!==d._cycle){if(!d._initted){if(d._init(),!d._initted||d._gc)return;if(!i&&d._firstPT&&(!1!==d.vars.lazy&&d._duration||d.vars.lazy&&!d._duration))return d._time=p,d._totalTime=v,d._rawPrevTime=y,d._cycle=m,x.lazyTweens.push(d),void(d._lazy=[t,e]);!d._time||n||c?n&&this._ease._calcEnd&&!c&&(d.ratio=d._ease.getRatio(0===d._time?0:1)):d.ratio=d._ease.getRatio(d._time/g)}for(!1!==d._lazy&&(d._lazy=!1),d._active||!d._paused&&d._time!==p&&0<=t&&(d._active=!0),0===v&&(2===d._initted&&0<t&&d._init(),d._startAt&&(0<=t?d._startAt.render(t,!0,i):r=r||"_dummyGS"),d.vars.onStart&&(0===d._totalTime&&0!==g||e||d._callback("onStart"))),o=d._firstPT;o;)o.f?o.t[o.p](o.c*d.ratio+o.s):o.t[o.p]=o.c*d.ratio+o.s,o=o._next;d._onUpdate&&(t<0&&d._startAt&&d._startTime&&d._startAt.render(t,!0,i),e||d._totalTime===v&&!r||d._callback("onUpdate")),d._cycle!==m&&(e||d._gc||d.vars.onRepeat&&d._callback("onRepeat")),r&&(d._gc&&!i||(t<0&&d._startAt&&!d._onUpdate&&d._startTime&&d._startAt.render(t,!0,i),n&&(d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[r]&&d._callback(r),0===g&&d._rawPrevTime===_&&u!==_&&(d._rawPrevTime=0)))}else v!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},y.to=function(t,e,i){return new y(t,e,i)},y.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new y(t,e,i)},y.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new y(t,e,n)},y.staggerTo=y.allTo=function(t,e,i,n,r,o,s){var a,l,h,u,c=[],d=g(i.stagger||n),f=i.cycle,p=(i.startAt||T).cycle;for(b(t)||("string"==typeof t&&(t=me.l.selector(t)||t),w(t)&&(t=v(t))),a=(t=t||[]).length-1,h=0;h<=a;h++){for(u in l={},i)l[u]=i[u];if(f&&(m(l,t,h),null!=l.duration&&(e=l.duration,delete l.duration)),p){for(u in p=l.startAt={},i.startAt)p[u]=i.startAt[u];m(l.startAt,t,h)}l.delay=d(h,t[h],t)+(l.delay||0),h===a&&r&&(l.onComplete=function(){i.onComplete&&i.onComplete.apply(i.onCompleteScope||this,arguments),r.apply(s||i.callbackScope||this,o||T)}),c[h]=new y(t[h],e,l)}return c},y.staggerFrom=y.allFrom=function(t,e,i,n,r,o,s){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,y.staggerTo(t,e,i,n,r,o,s)},y.staggerFromTo=y.allFromTo=function(t,e,i,n,r,o,s,a){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,y.staggerTo(t,e,n,r,o,s,a)}
67,y.delayedCall=function(t,e,i,n,r){return new y(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:r,overwrite:0})},y.set=function(t,e){return new y(t,0,e)},y.isTweening=function(t){return 0<me.l.getTweensOf(t,!0).length};var o=function(t,e){for(var i=[],n=0,r=t._first;r;)r instanceof me.l?i[n++]=r:(e&&(i[n++]=r),n=(i=i.concat(o(r,e))).length),r=r._next;return i},u=y.getAllTweens=function(t){return o(me.a._rootTimeline,t).concat(o(me.a._rootFramesTimeline,t))};y.killAll=function(t,e,i,n){null==e&&(e=!0),null==i&&(i=!0);var r,o,s,a=u(0!=n),l=a.length,h=e&&i&&n;for(s=0;s<l;s++)o=a[s],(h||o instanceof me.h||(r=o.target===o.vars.onComplete)&&i||e&&!r)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},y.killChildTweensOf=function(t,e){if(null!=t){var i,n,r,o,s,a=x.tweenLookup;if("string"==typeof t&&(t=me.l.selector(t)||t),w(t)&&(t=v(t)),b(t))for(o=t.length;-1<--o;)y.killChildTweensOf(t[o],e);else{for(r in i=[],a)for(n=a[r].target.parentNode;n;)n===t&&(i=i.concat(a[r].tweens)),n=n.parentNode;for(s=i.length,o=0;o<s;o++)e&&i[o].totalTime(i[o].totalDuration()),i[o]._enabled(!1,!1)}}};function n(t,e,i,n){e=!1!==e,i=!1!==i;for(var r,o,s=u(n=!1!==n),a=e&&i&&n,l=s.length;-1<--l;)o=s[l],(a||o instanceof me.h||(r=o.target===o.vars.onComplete)&&i||e&&!r)&&o.paused(t)}return y.pauseAll=function(t,e,i){n(!0,t,e,i)},y.resumeAll=function(t,e,i){n(!1,t,e,i)},y.globalTimeScale=function(t){var e=me.a._rootTimeline,i=me.l.ticker.time;return arguments.length?(t=t||_,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=me.a._rootFramesTimeline,i=me.l.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=me.a._rootTimeline._timeScale=t,t):e._timeScale},t.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.duration()?this._time/this._duration:this.ratio},t.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},t.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,r=n*(i+this._repeatDelay);return i<t&&(t=i),this.totalTime(this._yoyo&&1&n?i-t+r:this._repeat?t+r:t,e)},t.duration=function(t){return arguments.length?me.a.prototype.duration.call(this,t):this._duration},t.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)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},y},!0);var y=me.m.TweenMax;
68/*!
69 * VERSION: 2.1.3
70 * DATE: 2019-05-17
71 * UPDATES AND DOCS AT: http://greensock.com
72 *
73 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
74 * This work is subject to the terms at http://greensock.com/standard-license or for
75 * Club GreenSock members, the software agreement that was issued with your membership.
76 * 
77 * @author: Jack Doyle, [email protected]
78 */
79me.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var p,E,S,v,j=function(){me.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=j.prototype.setRatio},h=me.k._gsDefine.globals,m={},t=j.prototype=new me.j("css");(t.constructor=j).version="2.1.3",j.API=2,j.defaultTransformPerspective=0,j.defaultSkewType="compensated",j.defaultSmoothOrigin=!0,t="px",j.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};function s(t,e){return e.toUpperCase()}function a(t,e){var i=tt.createElementNS?tt.createElementNS(e||"http://www.w3.org/1999/xhtml",t):tt.createElement(t);return i.style?i:tt.createElement(t)}function l(t){return X.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function g(t){me.k.console}function O(t,e){var i,n,r=(e=e||et).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;-1<--n&&void 0===r[i[n]+t];);return 0<=n?(st="-"+(at=3===n?"ms":i[n]).toLowerCase()+"-",at+t):null}function y(t){return lt.getComputedStyle(t)}function _(t,e){var i,n,r,o={};if(e=e||y(t))if(i=e.length)for(;-1<--i;)-1!==(r=e[i]).indexOf("-transform")&&Bt!==r||(o[r.replace(d,s)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&Ft!==i||(o[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===o[i]&&(o[i.replace(d,s)]=e[i]);return ot||(o.opacity=l(t)),n=Kt(t,e,!1),o.rotation=n.rotation,o.skewX=n.skewX,o.scaleX=n.scaleX,o.scaleY=n.scaleY,o.x=n.x,o.y=n.y,jt&&(o.z=n.z,o.rotationX=n.rotationX,o.rotationY=n.rotationY,o.scaleZ=n.scaleZ),o.filters&&delete o.filters,o}function x(t,e,i,n,r){var o,s,a,l={},h=t.style;for(s in i)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=i[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(u,"")?o:0:ct(t,s),void 0!==h[s]&&(a=new wt(h,s,h[s],a))));if(n)for(s in n)"className"!==s&&(l[s]=n[s]);return{difs:l,firstMPT:a}}function w(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||y(t))[e]||0;if(t.getCTM&&Vt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=dt[e],o=r.length;for(i=i||y(t);-1<--o;
79)n-=parseFloat(ht(t,"padding"+r[o],i,!0))||0,n-=parseFloat(ht(t,"border"+r[o]+"Width",i,!0))||0;return n}function P(t,e){return"function"==typeof t&&(t=t(L,R)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0}function A(t,e){"function"==typeof t&&(t=t(L,R));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0}function C(t,e,i,n){var r,o,s,a;return"function"==typeof t&&(t=t(L,R)),(s=null==t?e:"number"==typeof t?t:(360,r=t.split("_"),o=((a="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:Q)-(a?0:e),r.length&&(n&&(n[i]=e+o),-1!==t.indexOf("short")&&(o%=360)!==o%180&&(o=o<0?o+360:o-360),-1!==t.indexOf("_cw")&&o<0?o=(o+3599999999640)%360-360*(o/360|0):-1!==t.indexOf("ccw")&&0<o&&(o=(o-3599999999640)%360-360*(o/360|0))),e+o))<1e-6&&-1e-6<s&&(s=0),s}function f(t,e,i){return 255*(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0}function n(t,e){var i,n,r,o=t.match(gt)||[],s=0,a="";if(!o.length)return t;for(i=0;i<o.length;i++)n=o[i],s+=(r=t.substr(s,t.indexOf(n,s)-s)).length+n.length,3===(n=mt(n,e)).length&&n.push(1),a+=r+(e?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return a+t.substr(s)}var I,b,T,F,M,k,R,L,e,i,D=/(?:\-|\.|\b)(\d|\.|e\-)+/g,N=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,B=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,r=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,u=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,U=/(?:\d|\-|\+|=|#|\.)*/g,X=/opacity *= *([^)]*)/i,z=/opacity:([^;]*)/i,o=/alpha\(opacity *=.+?\)/i,W=/^(rgb|hsl)/,c=/([A-Z])/g,d=/-([a-z])/gi,H=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,G=/(?:Left|Right|Width)/i,V=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Y=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,q=/,(?=[^\)]*(?:\(|$))/gi,K=/[\s,\(]/i,Z=Math.PI/180,Q=180/Math.PI,J={},$={style:{}},tt=me.k.document||{createElement:function(){return $}},et=a("div"),it=a("img"),nt=j._internals={_specialProps:m},rt=(me.k.navigator||{}).userAgent||"",ot=(e=rt.indexOf("Android"),i=a("a"),T=-1!==rt.indexOf("Safari")&&-1===rt.indexOf("Chrome")&&(-1===e||3<parseFloat(rt.substr(e+8,2))),M=T&&parseFloat(rt.substr(rt.indexOf("Version/")+8,2))<6,F=-1!==rt.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(rt)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(rt))&&(k=parseFloat(RegExp.$1)),!!i&&(i.style.cssText="top:1px;opacity:.55;",/^0.55/.test(i.style.opacity))),st="",at="",lt="undefined"!=typeof window?window:tt.defaultView||{getComputedStyle:function(){}},ht=j.getStyle=function(t,e,i,n,r){var o;return ot||"opacity"!==e?(!n&&t.style[e]?o=t.style[e]:(i=i||y(t))?o=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(c,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):l(t)},ut=nt.convertToPixels=function(t,e,i,n,r){if("px"===n||!n&&"lineHeight"!==e)return i;if("auto"===n||!i)return 0;var o,s,a,l=G.test(e),h=t,u=et.style,c=i<0,d=1===i;if(c&&(i=-i),d&&(i*=100),"lineHeight"!==e||n)if("%"===n&&-1!==e.indexOf("border"))o=i/100*(l?t.clientWidth:t.clientHeight);else{if(u.cssText="border:0 solid red;position:"+ht(t,"position")+";line-height:0;","%"!==n&&h.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)u[l?"borderLeftWidth":"borderTopWidth"]=i+n;else{if(h=t.parentNode||tt.body,-1!==ht(h,"display").indexOf("flex")&&(u.position="absolute"),s=h._gsCache,a=me.l.ticker.frame,s&&l&&s.time===a)return s.width*i/100;u[l?"width":"height"]=i+n}h.appendChild(et),o=parseFloat(et[l?"offsetWidth":"offsetHeight"]),h.removeChild(et),l&&"%"===n&&!1!==j.cacheWidths&&((s=h._gsCache=h._gsCache||{}).time=a,s.width=o/i*100),0!==o||r||(o=ut(t,e,i,n,!0))}else s=y(t).lineHeight,t.style.lineHeight=i,o=parseFloat(y(t).lineHeight),t.style.lineHeight=s;
79return d&&(o/=100),c?-o:o},ct=nt.calculateOffset=function(t,e,i){if("absolute"!==ht(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=ht(t,"margin"+n,i);return t["offset"+n]-(ut(t,e,parseFloat(r),r.replace(U,""))||0)},dt={width:["Left","Right"],height:["Top","Bottom"]},ft=["marginLeft","marginRight","marginTop","marginBottom"],pt=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i,n=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(3<n.length&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i<n.length;i++)t.push(pt(n[i]));return t.join(",")}return null==o?o="center"===r?"50%":"0":"center"===o&&(o="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),t=r+" "+o+(2<n.length?" "+n[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(u,"")),e.oy=parseFloat(o.replace(u,"")),e.v=t),e||t},vt={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]},mt=j.parseColor=function(t,e){var i,n,r,o,s,a,l,h,u,c,d;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),vt[t])i=vt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(r=t.charAt(2))+r+(o=t.charAt(3))+o),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=d=t.match(D),e){if(-1!==t.indexOf("="))return t.match(N)}else s=Number(i[0])%360/360,a=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(r=l<=.5?l*(a+1):l+a-l*a),3<i.length&&(i[3]=Number(i[3])),i[0]=f(s+1/3,n,r),i[1]=f(s,n,r),i[2]=f(s-1/3,n,r);else i=t.match(D)||vt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),3<i.length&&(i[3]=Number(i[3]))}else i=vt.black;return e&&!d&&(n=i[0]/255,r=i[1]/255,o=i[2]/255,l=((h=Math.max(n,r,o))+(u=Math.min(n,r,o)))/2,h===u?s=a=0:(c=h-u,a=.5<l?c/(2-h-u):c/(h+u),s=h===n?(r-o)/c+(r<o?6:0):h===r?(o-n)/c+2:(n-r)/c+4,s*=60),i[0]=s+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in vt)gt+="|"+t+"\\b";gt=new RegExp(gt+")","gi"),j.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=n(t[0],e),t[1]=n(t[1],e)),gt.lastIndex=0},me.l.defaultStringFilter||(me.l.defaultStringFilter=j.colorStringFilter);function yt(t,e,o,s){if(null==t)return function(t){return t};var a,l=e?(t.match(gt)||[""])[0]:"",h=t.split(l).join("").match(B)||[],u=t.substr(0,t.indexOf(h[0])),c=")"===t.charAt(t.length-1)?")":"",d=-1!==t.indexOf(" ")?" ":",",f=h.length,p=0<f?h[0].replace(D,""):"";return f?a=e?function(t){var e,i,n,r;if("number"==typeof t)t+=p;else if(s&&q.test(t)){for(r=t.replace(q,"|").split("|"),n=0;n<r.length;n++)r[n]=a(r[n]);return r.join(",")}if(e=(t.match(gt)||[l])[0],n=(i=t.split(e).join("").match(B)||[]).length,f>n--)for(;++n<f;)i[n]=o?i[(n-1)/2|0]:h[n];return u+i.join(d)+d+e+c+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,n;if("number"==typeof t)t+=p;else if(s&&q.test(t)){for(i=t.replace(q,"|").split("|"),n=0;n<i.length;n++)i[n]=a(i[n]);return i.join(",")}if(n=(e=t.match(","==d?B:r)||[]).length,f>n--)for(;++n<f;)e[n]=o?e[(n-1)/2|0]:h[n];return(u&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||u)+e.join(d)+c}:function(t){return t}}function _t(h){return h=h.split(","),function(t,e,i,n,r,o,s){var a,l=(e+"").split(" ");for(s={},a=0;a<4;a++)s[h[a]]=l[a]=l[a]||l[(a-1)/2>>0];return n.parse(t,s,r,o)}}nt._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,o,s=this.data,a=s.proxy,l=s.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&-1e-6<e&&(e=0),l.t[l.p]=e,l=l._next;if(s.autoRotate&&(s.autoRotate.rotation=s.mod?s.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=s.firstMPT,o=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)r+=i["xn"+n]+i["xs"+(n+1)];i[o]=r}}else i[o]=i.s+i.xs0;l=l._next}};function xt(t,e,i,n,r,o){var s=new bt(t,e,i,n-i,r,-1,o);return s.b=i,s.e=s.xs0=n,s}
79var wt=function(t,e,i,n,r){this.t=t,this.p=e,this.v=i,this.r=r,n&&((n._prev=this)._next=n)},bt=(nt._parseToProxy=function(t,e,i,n,r,o){var s,a,l,h,u,c=n,d={},f={},p=i._transform,v=J;for(i._transform=null,J=e,n=u=i.parse(t,e,n,r),J=v,o&&(i._transform=p,c&&(c._prev=null,c._prev&&(c._prev._next=null)));n&&n!==c;){if(n.type<=1&&(f[a=n.p]=n.s+n.c,d[a]=n.s,o||(h=new wt(n,"s",a,h,n.r),n.c=0),1===n.type))for(s=n.l;0<--s;)l="xn"+s,f[a=n.p+"_"+l]=n.data[l],d[a]=n[l],o||(h=new wt(n,l,a,h,n.rxp[l]));n=n._next}return{proxy:d,end:f,firstMPT:h,pt:u}},nt.CSSPropTween=function(t,e,i,n,r,o,s,a,l,h,u){this.t=t,this.p=e,this.s=i,this.c=n,this.n=s||e,t instanceof bt||v.push(this.n),this.r=a?"function"==typeof a?a:Math.round:a,this.type=o||0,l&&(this.pr=l,p=!0),this.b=void 0===h?i:h,this.e=void 0===u?i+n:u,r&&((this._next=r)._prev=this)}),Tt=j.parseComplex=function(t,e,i,n,r,o,s,a,l,h){i=i||o||"","function"==typeof n&&(n=n(L,R)),s=new bt(t,e,0,0,s,h?2:1,null,!1,a,i,n),n+="",r&&gt.test(n+i)&&(n=[i,n],j.colorStringFilter(n),i=n[0],n=n[1]);var u,c,d,f,p,v,m,g,y,_,x,w,b,T=i.split(", ").join(",").split(" "),E=n.split(", ").join(",").split(" "),S=T.length,O=!1!==I;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(E=-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(T=T.join(" ").replace(q,", ").split(" "),E.join(" ").replace(q,", ").split(" ")):(T=T.join(" ").split(",").join(", ").split(" "),E.join(" ").split(",").join(", ").split(" ")),S=T.length),S!==E.length&&(S=(T=(o||"").split(" ")).length),s.plugin=l,s.setRatio=h,u=gt.lastIndex=0;u<S;u++)if(f=T[u],p=E[u]+"",(g=parseFloat(f))||0===g)s.appendXtra("",g,P(p,g),p.replace(N,""),O&&-1!==p.indexOf("px")&&Math.round,!0);else if(r&&gt.test(f))w=")"+((w=p.indexOf(")")+1)?p.substr(w):""),b=-1!==p.indexOf("hsl")&&ot,_=p,f=mt(f,b),p=mt(p,b),(y=6<f.length+p.length)&&!ot&&0===p[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(E[u]).join("transparent")):(ot||(y=!1),b?s.appendXtra(_.substr(0,_.indexOf("hsl"))+(y?"hsla(":"hsl("),f[0],P(p[0],f[0]),",",!1,!0).appendXtra("",f[1],P(p[1],f[1]),"%,",!1).appendXtra("",f[2],P(p[2],f[2]),y?"%,":"%"+w,!1):s.appendXtra(_.substr(0,_.indexOf("rgb"))+(y?"rgba(":"rgb("),f[0],p[0]-f[0],",",Math.round,!0).appendXtra("",f[1],p[1]-f[1],",",Math.round).appendXtra("",f[2],p[2]-f[2],y?",":w,Math.round),y&&(f=f.length<4?1:f[3],s.appendXtra("",f,(p.length<4?1:p[3])-f,w,!1))),gt.lastIndex=0;else if(v=f.match(D)){if(!(m=p.match(N))||m.length!==v.length)return s;for(c=d=0;c<v.length;c++)x=v[c],_=f.indexOf(x,d),s.appendXtra(f.substr(d,_-d),Number(x),P(m[c],x),"",O&&"px"===f.substr(_+x.length,2)&&Math.round,0===c),d=_+x.length;s["xs"+s.l]+=f.substr(d)}else s["xs"+s.l]+=s.l||s["xs"+s.l]?" "+p:p;if(-1!==n.indexOf("=")&&s.data){for(w=s.xs0+s.data.s,u=1;u<s.l;u++)w+=s["xs"+u]+s.data["xn"+u];s.e=w+s["xs"+u]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},Et=9;for((t=bt.prototype).l=t.pr=0;0<--Et;)t["xn"+Et]=0,t["xs"+Et]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,n,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&(a||s["xs"+a])?" "+t:t||"",i||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=n||"",0<a?(s.data["xn"+a]=e+i,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new bt(s,"xn"+a,e,i,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0)):(s.data={s:e+i},s.rxp={},s.s=e,s.c=i,s.r=r),s):(s["xs"+a]+=e+(n||""),s)};function St(t,e){e=e||{},this.p=e.prefix&&O(t)||t,m[t]=m[this.p]=this,this.format=e.formatter||yt(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.allowFunc=e.allowFunc,this.pr=e.priority||0}var Ot=nt._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r=t.split(","),o=e.defaultValue;for(i=i||[o],n=0;n<r.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||o,new St(r[n],e)},Pt=nt._registerPluginProp=function(t){if(!m[t]){var l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Ot(t,{parser:function(t,e,i,n,r,o,s){var a=h.com.greensock.plugins[l];return a?(a._cssRegister(),m[i].parse(t,e,i,n,r,o,s)):(g(),r)}})}};
79(t=St.prototype).parseComplex=function(t,e,i,n,r,o){var s,a,l,h,u,c,d=this.keyword;if(this.multi&&(q.test(i)||q.test(e)?(a=e.replace(q,"|").split("|"),l=i.replace(q,"|").split("|")):d&&(a=[e],l=[i])),l){for(h=l.length>a.length?l.length:a.length,s=0;s<h;s++)e=a[s]=a[s]||this.dflt,i=l[s]=l[s]||this.dflt,d&&(u=e.indexOf(d))!==(c=i.indexOf(d))&&(-1===c?a[s]=a[s].split(d).join(""):-1===u&&(a[s]+=" "+d));e=a.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,o)},t.parse=function(t,e,i,n,r,o,s){return this.parseComplex(t.style,this.format(ht(t,this.p,S,!1,this.dflt)),this.format(e),r,o)},j.registerSpecialProp=function(t,l,h){Ot(t,{parser:function(t,e,i,n,r,o,s){var a=new bt(t,i,0,0,r,2,i,!1,h);return a.plugin=o,a.setRatio=l(t,e,n._tween,i),a},priority:h})},j.useSVGTransformAttr=!0;function At(t,e,i){var n,r=tt.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(n in i)r.setAttributeNS(null,n.replace(o,"$1-$2").toLowerCase(),i[n]);return e.appendChild(r),r}function Ct(t,e,i,n,r,o){var s,a,l,h,u,c,d,f,p,v,m,g,y,_,x=t._gsTransform,w=qt(t,!0);x&&(y=x.xOrigin,_=x.yOrigin),(!n||(s=n.split(" ")).length<2)&&(0===(d=t.getBBox()).x&&0===d.y&&d.width+d.height===0&&(d={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),s=[(-1!==(e=pt(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*d.width:parseFloat(e[0]))+d.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*d.height:parseFloat(e[1]))+d.y]),i.xOrigin=h=parseFloat(s[0]),i.yOrigin=u=parseFloat(s[1]),n&&w!==Yt&&(c=w[0],d=w[1],f=w[2],p=w[3],v=w[4],m=w[5],(g=c*p-d*f)&&(a=h*(p/g)+u*(-f/g)+(f*m-p*v)/g,l=h*(-d/g)+u*(c/g)-(c*m-d*v)/g,h=i.xOrigin=s[0]=a,u=i.yOrigin=s[1]=l)),x&&(o&&
79(i.xOffset=x.xOffset,i.yOffset=x.yOffset,x=i),r||!1!==r&&!1!==j.defaultSmoothOrigin?(a=h-y,l=u-_,x.xOffset+=a*w[0]+l*w[2]-a,x.yOffset+=a*w[1]+l*w[3]-l):x.xOffset=x.yOffset=0),o||t.setAttribute("data-svg-origin",s.join(" "))}function It(t){var e,i,n=this.data,r=-n.rotation*Z,o=r+n.skewX*Z,s=(Math.cos(r)*n.scaleX*1e5|0)/1e5,a=(Math.sin(r)*n.scaleX*1e5|0)/1e5,l=(Math.sin(o)*-n.scaleY*1e5|0)/1e5,h=(Math.cos(o)*n.scaleY*1e5|0)/1e5,u=this.t.style,c=this.t.currentStyle;if(c){i=a,a=-l,l=-i,e=c.filter,u.filter="";var d,f,p=this.t.offsetWidth,v=this.t.offsetHeight,m="absolute"!==c.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+a+", M21="+l+", M22="+h,y=n.x+p*n.xPercent/100,_=n.y+v*n.yPercent/100;if(null!=n.ox&&(y+=(d=(n.oxp?p*n.ox*.01:n.ox)-p/2)-(d*s+(f=(n.oyp?v*n.oy*.01:n.oy)-v/2)*a),_+=f-(d*l+f*h)),g+=m?", Dx="+((d=p/2)-(d*s+(f=v/2)*a)+y)+", Dy="+(f-(d*l+f*h)+_)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(Y,g):u.filter=g+" "+e,0!==t&&1!==t||1==s&&0===a&&0===l&&1==h&&(m&&-1===g.indexOf("Dx=0, Dy=0")||X.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!m){var x,w,b,T=k<8?1:-1;for(d=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((p-((s<0?-s:s)*p+(a<0?-a:a)*v))/2+y),n.ieOffsetY=Math.round((v-((h<0?-h:h)*v+(l<0?-l:l)*p))/2+_),Et=0;Et<4;Et++)b=(i=-1!==(x=c[w=ft[Et]]).indexOf("px")?parseFloat(x):ut(this.t,w,parseFloat(x),x.replace(U,""))||0)!==n[w]?Et<2?-n.ieOffsetX:-n.ieOffsetY:Et<2?d-n.ieOffsetX:f-n.ieOffsetY,u[w]=(n[w]=Math.round(i-b*(0===Et||2===Et?1:T)))+"px"}}}var Mt,kt,Rt,Lt,Dt,Nt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ft=O("transform"),Bt=st+"transform",Ut=O("transformOrigin"),jt=null!==O("perspective"),Xt=nt.Transform=function(){this.perspective=parseFloat(j.defaultTransformPerspective)||0,this.force3D=!(!1===j.defaultForce3D||!jt)&&(j.defaultForce3D||"auto")},zt=me.k.SVGElement,Wt=tt.documentElement||{},Ht=(Dt=k||/Android/i.test(rt)&&!me.k.chrome,tt.createElementNS&&Wt.appendChild&&!Dt&&(kt=At("svg",Wt),Lt=(Rt=At("rect",kt,{width:100,height:50,x:100})).getBoundingClientRect().width,Rt.style[Ut]="50% 50%",Rt.style[Ft]="scaleX(0.5)",Dt=Lt===Rt.getBoundingClientRect().width&&!(F&&jt),Wt.removeChild(kt)),Dt),Gt=function(t){var e,i=a("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,r=this.nextSibling,o=this.style.cssText;if(Wt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Gt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?n.insertBefore(this,r):n.appendChild(this),Wt.removeChild(i),this.style.cssText=o,e},Vt=function(t){return!(!zt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return Gt.call(e,!0)}}(t))},Yt=[1,0,0,1,0,0],qt=function(t,e){var i,n,r,o,s,a,l,h=t._gsTransform||new Xt,u=t.style;if(Ft?n=ht(t,Bt,null,!0):t.currentStyle&&(n=(n=t.currentStyle.filter.match(V))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),h.x||0,h.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,Ft&&i&&!t.offsetParent&&t!==Wt&&(o=u.display,u.display="block",(l=t.parentNode)&&t.offsetParent||(s=1,a=t.nextSibling,Wt.appendChild(t)),i=!(n=ht(t,Bt,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,o?u.display=o:$t(u,"display"),s&&(a?l.insertBefore(t,a):l?l.appendChild(t):Wt.removeChild(t))),(h.svg||t.getCTM&&Vt(t))&&(i&&-1!==(u[Ft]+"").indexOf("matrix")&&(n=u[Ft],i=0),r=t.getAttribute("transform"),i&&r&&(n="matrix("+(r=t.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",i=0)),i)return Yt;for(r=(n||"").match(D)||[],Et=r.length;-1<--Et;)o=Number(r[Et]),r[Et]=(s=o-(o|=0))?(1e5*s+(s<0?-.5:.5)|0)/1e5+o:o;return e&&6<r.length?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Kt=nt.getTransform=function(t,e,i,n){if(t._gsTransform&&i&&!n)return t._gsTransform;var r,o,s,a,l,h,u=i&&t._gsTransform||new Xt,c=u.scaleX<0,d=jt&&(parseFloat(ht(t,Ut,e,!1,"0 0 0").split(" ")[2])||u.zOrigin)||0,f=parseFloat(j.defaultTransformPerspective)||0;if(u.svg=!(!t.getCTM||!Vt(t)),u.svg&&(Ct(t,ht(t,Ut,e,!1,"50% 50%")+"",u,t.getAttribute("data-svg-origin")),Mt=j.useSVGTransformAttr||Ht),(r=qt(t))!==Yt){if(16===r.length){var p,v,m,g,y,_=r[0],x=r[1],w=r[2],b=r[3],T=r[4],E=r[5],S=r[6],O=r[7],P=r[8],A=r[9],C=r[10],I=r[12],M=r[13],k=r[14],R=r[11
79],L=Math.atan2(S,C);u.zOrigin&&(I=P*(k=-u.zOrigin)-r[12],M=A*k-r[13],k=C*k+u.zOrigin-r[14]),u.rotationX=L*Q,L&&(p=T*(g=Math.cos(-L))+P*(y=Math.sin(-L)),v=E*g+A*y,m=S*g+C*y,P=T*-y+P*g,A=E*-y+A*g,C=S*-y+C*g,R=O*-y+R*g,T=p,E=v,S=m),L=Math.atan2(-w,C),u.rotationY=L*Q,L&&(v=x*(g=Math.cos(-L))-A*(y=Math.sin(-L)),m=w*g-C*y,A=x*y+A*g,C=w*y+C*g,R=b*y+R*g,_=p=_*g-P*y,x=v,w=m),L=Math.atan2(x,_),u.rotation=L*Q,L&&(p=_*(g=Math.cos(L))+x*(y=Math.sin(L)),v=T*g+E*y,m=P*g+A*y,x=x*g-_*y,E=E*g-T*y,A=A*g-P*y,_=p,T=v,P=m),u.rotationX&&359.9<Math.abs(u.rotationX)+Math.abs(u.rotation)&&(u.rotationX=u.rotation=0,u.rotationY=180-u.rotationY),L=Math.atan2(T,E),u.scaleX=(1e5*Math.sqrt(_*_+x*x+w*w)+.5|0)/1e5,u.scaleY=(1e5*Math.sqrt(E*E+S*S)+.5|0)/1e5,u.scaleZ=(1e5*Math.sqrt(P*P+A*A+C*C)+.5|0)/1e5,_/=u.scaleX,T/=u.scaleY,x/=u.scaleX,E/=u.scaleY,2e-5<Math.abs(L)?(u.skewX=L*Q,T=0,"simple"!==u.skewType&&(u.scaleY*=1/Math.cos(L))):u.skewX=0,u.perspective=R?1/(R<0?-R:R):0,u.x=I,u.y=M,u.z=k,u.svg&&(u.x-=u.xOrigin-(u.xOrigin*_-u.yOrigin*T),u.y-=u.yOrigin-(u.yOrigin*x-u.xOrigin*E))}else if(!jt||n||!r.length||u.x!==r[4]||u.y!==r[5]||!u.rotationX&&!u.rotationY){var D=6<=r.length,N=D?r[0]:1,F=r[1]||0,B=r[2]||0,U=D?r[3]:1;u.x=r[4]||0,u.y=r[5]||0,s=Math.sqrt(N*N+F*F),a=Math.sqrt(U*U+B*B),l=N||F?Math.atan2(F,N)*Q:u.rotation||0,h=B||U?Math.atan2(B,U)*Q+l:u.skewX||0,u.scaleX=s,u.scaleY=a,u.rotation=l,u.skewX=h,jt&&(u.rotationX=u.rotationY=u.z=0,u.perspective=f,u.scaleZ=1),u.svg&&(u.x-=u.xOrigin-(u.xOrigin*N+u.yOrigin*B),u.y-=u.yOrigin-(u.xOrigin*F+u.yOrigin*U))}for(o in 90<Math.abs(u.skewX)&&Math.abs(u.skewX)<270&&(c?(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=d,u)u[o]<2e-5&&-2e-5<u[o]&&(u[o]=0)}return i&&(t._gsTransform=u).svg&&(Mt&&t.style[Ft]?me.l.delayedCall(.001,function(){$t(t.style,Ft)}):!Mt&&t.getAttribute("transform")&&me.l.delayedCall(.001,function(){t.removeAttribute("transform")})),u},Zt=nt.set3DTransformRatio=nt.setTransformRatio=function(t){var e,i,n,r,o,s,a,l,h,u,c,d,f,p,v,m,g,y,_,x,w=this.data,b=this.t.style,T=w.rotation,E=w.rotationX,S=w.rotationY,O=w.scaleX,P=w.scaleY,A=w.scaleZ,C=w.x,I=w.y,M=w.z,k=w.svg,R=w.perspective,L=w.force3D,D=w.skewY,N=w.skewX;if(D&&(N+=D,T+=D),!((1!==t&&0!==t||"auto"!==L||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&L||M||R||S||E||1!==A)||Mt&&k||!jt)T||N||k?(T*=Z,x=N*Z,1e5,i=Math.cos(T)*O,o=Math.sin(T)*O,n=Math.sin(T-x)*-P,s=Math.cos(T-x)*P,x&&"simple"===w.skewType&&(e=Math.tan(x-D*Z),n*=e=Math.sqrt(1+e*e),s*=e,D&&(e=Math.tan(D*Z),i*=e=Math.sqrt(1+e*e),o*=e)),k&&(C+=w.xOrigin-(w.xOrigin*i+w.yOrigin*n)+w.xOffset,I+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset,Mt&&(w.xPercent||w.yPercent)&&(v=this.t.getBBox(),C+=.01*w.xPercent*v.width,I+=.01*w.yPercent*v.height),C<(v=1e-6)&&-v<C&&(C=0),I<v&&-v<I&&(I=0)),_=(1e5*i|0)/1e5+","+(1e5*o|0)/1e5+","+(1e5*n|0)/1e5+","+(1e5*s|0)/1e5+","+C+","+I+")",k&&Mt?this.t.setAttribute("transform","matrix("+_):b[Ft]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+_):b[Ft]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+O+",0,0,"+P+","+C+","+I+")";else{if(F&&(O<(v=1e-4)&&-v<O&&(O=A=2e-5),P<v&&-v<P&&(P=A=2e-5),!R||w.z||w.rotationX||w.rotationY||(R=0)),T||N)T*=Z,m=i=Math.cos(T),g=o=Math.sin(T),N&&(T-=N*Z,m=Math.cos(T),g=Math.sin(T),"simple"===w.skewType&&(e=Math.tan((N-D)*Z),m*=e=Math.sqrt(1+e*e),g*=e,w.skewY&&(e=Math.tan(D*Z),i*=e=Math.sqrt(1+e*e),o*=e))),n=-g,s=m;else{if(!(S||E||1!==A||R||k))return void(b[Ft]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) translate3d(":"translate3d(")+C+"px,"+I+"px,"+M+"px)"+(1!==O||1!==P?" scale("+O+","+P+")":""));i=s=1,n=o=0}u=1,r=a=l=h=c=d=0,f=R?-1/R:0,p=w.zOrigin,v=1e-6,",","0",(T=S*Z)&&(m=Math.cos(T),c=f*(l=-(g=Math.sin(T))),r=i*g,a=o*g,f*=u=m,i*=m,o*=m),(T=E*Z)&&(e=n*(m=Math.cos(T))+r*(g=Math.sin(T)),y=s*m+a*g,h=u*g,d=f*g,r=n*-g+r*m,a=s*-g+a*m,u*=m,f*=m,n=e,s=y),1!==A&&(r*=A,a*=A,u*=A,f*=A),1!==P&&(n*=P,s*=P,h*=P,d*=P),1!==O&&(i*=O,o*=O,l*=O,c*=O),(p||k)&&(p&&(C+=r*-p,I+=a*-p,M+=u*-p+p),k&&(C+=w.xOrigin-(w.xOrigin*i+w.yOrigin*n)+w.xOffset,I+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset),C<v&&-v<C&&(C="0"),I<v&&-v<I&&
79(I="0"),M<v&&-v<M&&(M=0)),_=w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix3d(":"matrix3d(",_+=(i<v&&-v<i?"0":i)+","+(o<v&&-v<o?"0":o)+","+(l<v&&-v<l?"0":l),_+=","+(c<v&&-v<c?"0":c)+","+(n<v&&-v<n?"0":n)+","+(s<v&&-v<s?"0":s),E||S||1!==A?(_+=","+(h<v&&-v<h?"0":h)+","+(d<v&&-v<d?"0":d)+","+(r<v&&-v<r?"0":r),_+=","+(a<v&&-v<a?"0":a)+","+(u<v&&-v<u?"0":u)+","+(f<v&&-v<f?"0":f)+","):_+=",0,0,0,0,1,0,",_+=C+","+I+","+M+","+(R?1+-M/R:1)+")",b[Ft]=_}};(t=Xt.prototype).x=t.y=t.z=t.skewX=t.skewY=t.rotation=t.rotationX=t.rotationY=t.zOrigin=t.xPercent=t.yPercent=t.xOffset=t.yOffset=0,t.scaleX=t.scaleY=t.scaleZ=1,Ot("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,r,o,s){if(n._lastParsedTransform===s)return r;var a=(n._lastParsedTransform=s).scale&&"function"==typeof s.scale?s.scale:0;a&&(s.scale=a(L,t));var l,h,u,c,d,f,p,v,m,g=t._gsTransform,y=t.style,_=Nt.length,x=s,w={},b="transformOrigin",T=Kt(t,S,!0,x.parseTransform),E=x.transform&&("function"==typeof x.transform?x.transform(L,R):x.transform);if(T.skewType=x.skewType||T.skewType||j.defaultSkewType,n._transform=T,"rotationZ"in x&&(x.rotation=x.rotationZ),E&&"string"==typeof E&&Ft)(h=et.style)[Ft]=E,h.display="block",h.position="absolute",-1!==E.indexOf("%")&&(h.width=ht(t,"width"),h.height=ht(t,"height")),tt.body.appendChild(et),l=Kt(et,null,!1),"simple"===T.skewType&&(l.scaleY*=Math.cos(l.skewX*Z)),T.svg&&(f=T.xOrigin,p=T.yOrigin,l.x-=T.xOffset,l.y-=T.yOffset,(x.transformOrigin||x.svgOrigin)&&(E={},Ct(t,pt(x.transformOrigin),E,x.svgOrigin,x.smoothOrigin,!0),f=E.xOrigin,p=E.yOrigin,l.x-=E.xOffset-T.xOffset,l.y-=E.yOffset-T.yOffset),(f||p)&&(v=qt(et,!0),l.x-=f-(f*v[0]+p*v[2]),l.y-=p-(f*v[1]+p*v[3]))),tt.body.removeChild(et),l.perspective||(l.perspective=T.perspective),null!=x.xPercent&&(l.xPercent=A(x.xPercent,T.xPercent)),null!=x.yPercent&&(l.yPercent=A(x.yPercent,T.yPercent));else if("object"==typeof x){if(l={scaleX:A(null!=x.scaleX?x.scaleX:x.scale,T.scaleX),scaleY:A(null!=x.scaleY?x.scaleY:x.scale,T.scaleY),scaleZ:A(x.scaleZ,T.scaleZ),x:A(x.x,T.x),y:A(x.y,T.y),z:A(x.z,T.z),xPercent:A(x.xPercent,T.xPercent),yPercent:A(x.yPercent,T.yPercent),perspective:A(x.transformPerspective,T.perspective)},null!=(d=x.directionalRotation))if("object"==typeof d)for(h in d)x[h]=d[h];else x.rotation=d;"string"==typeof x.x&&-1!==x.x.indexOf("%")&&(l.x=0,l.xPercent=A(x.x,T.xPercent)),"string"==typeof x.y&&-1!==x.y.indexOf("%")&&(l.y=0,l.yPercent=A(x.y,T.yPercent)),l.rotation=C("rotation"in x?x.rotation:"shortRotation"in x?x.shortRotation+"_short":T.rotation,T.rotation,"rotation",w),jt&&(l.rotationX=C("rotationX"in x?x.rotationX:"shortRotationX"in x?x.shortRotationX+"_short":T.rotationX||0,T.rotationX,"rotationX",w),l.rotationY=C("rotationY"in x?x.rotationY:"shortRotationY"in x?x.shortRotationY+"_short":T.rotationY||0,T.rotationY,"rotationY",w)),l.skewX=C(x.skewX,T.skewX),l.skewY=C(x.skewY,T.skewY)}for(jt&&null!=x.force3D&&(T.force3D=x.force3D,c=!0),(u=T.force3D||T.z||T.rotationX||T.rotationY||l.z||l.rotationX||l.rotationY||l.perspective)||null==x.scale||(l.scaleZ=1);-1<--_;)(1e-6<(E=l[m=Nt[_]]-T[m])||E<-1e-6||null!=x[m]||null!=J[m])&&(c=!0,r=new bt(T,m,T[m],E,r),m in w&&(r.e=w[m]),r.xs0=0,r.plugin=o,n._overwriteProps.push(r.n));return E="function"==typeof x.transformOrigin?x.transformOrigin(L,R):x.transformOrigin,T.svg&&(E||x.svgOrigin)&&(f=T.xOffset,p=T.yOffset,Ct(t,pt(E),l,x.svgOrigin,x.smoothOrigin),r=xt(T,"xOrigin",(g?T:l).xOrigin,l.xOrigin,r,b),r=xt(T,"yOrigin",(g?T:l).yOrigin,l.yOrigin,r,b),f===T.xOffset&&p===T.yOffset||(r=xt(T,"xOffset",g?f:T.xOffset,T.xOffset,r,b),r=xt(T,"yOffset",g?p:T.yOffset,T.yOffset,r,b)),E="0px 0px"),(E||jt&&u&&T.zOrigin)&&(Ft?(c=!0,m=Ut,E=E||(E=(ht(t,m,S,!1,"50% 50%")+"").split(" "))[0]+" "+E[1]+" "+T.zOrigin+"px",E+="",(r=new bt(y,m,0,0,r,-1,b)).b=y[m],r.plugin=o,jt?(h=T.zOrigin,E=E.split(" "),T.zOrigin=(2<E.length?parseFloat(E[2]):h)||0,r.xs0=r.e=E[0]+" "+(E[1]||"50%")+" 0px",(r=new bt(T,"zOrigin",0,0,r,-1,r.n)).b=h,r.xs0=r.e=T.zOrigin):r.xs0=r.e=E):pt(E+"",T)),c&&(n._transformType=T.svg&&Mt||!u&&3!==this._transformType?2:3),a&&(s.scale=a),r},allowFunc:!0,prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:yt("inset(0% 0% 0% 0%)",!1,!0)}
79),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,n,r,o){e=this.format(e);var s,a,l,h,u,c,d,f,p,v,m,g,y,_,x,w,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(p=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),s=e.split(" "),a=0;a<b.length;a++)this.p.indexOf("border")&&(b[a]=O(b[a])),-1!==(u=h=ht(t,b[a],S,!1,"0px")).indexOf(" ")&&(u=(h=u.split(" "))[0],h=h[1]),c=l=s[a],d=parseFloat(u),g=u.substr((d+"").length),""===(m=(y="="===c.charAt(1))?(f=parseInt(c.charAt(0)+"1",10),c=c.substr(2),f*=parseFloat(c),c.substr((f+"").length-(f<0?1:0))||""):(f=parseFloat(c),c.substr((f+"").length)))&&(m=E[i]||g),m!==g&&(_=ut(t,"borderLeft",d,g),x=ut(t,"borderTop",d,g),h="%"===m?(u=_/p*100+"%",x/v*100+"%"):"em"===m?(u=_/(w=ut(t,"borderLeft",1,"em"))+"em",x/w+"em"):(u=_+"px",x+"px"),y&&(c=parseFloat(u)+f+m,l=parseFloat(h)+f+m)),r=Tt(T,b[a],u+" "+h,c+" "+l,!1,"0px",r);return r},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,r,o){return Tt(t.style,i,this.format(ht(t,i,S,!1,"0px 0px")),this.format(e),!1,"0px",r)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,r,o){var s,a,l,h,u,c,d="background-position",f=S||y(t),p=this.format((f?k?f.getPropertyValue(d+"-x")+" "+f.getPropertyValue(d+"-y"):f.getPropertyValue(d):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==p.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(c=ht(t,"backgroundImage").replace(H,""))&&"none"!==c){for(s=p.split(" "),a=v.split(" "),it.setAttribute("src",c),l=2;-1<--l;)(h=-1!==(p=s[l]).indexOf("%"))!=(-1!==a[l].indexOf("%"))&&(u=0===l?t.offsetWidth-it.width:t.offsetHeight-it.height,s[l]=h?parseFloat(p)/100*u+"px":parseFloat(p)/u*100+"%");p=s.join(" ")}return this.parseComplex(t.style,p,v,r,o)},formatter:pt}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:pt(-1===t.indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:_t("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:_t("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,r,o){var s,a,l;return e=k<9?(a=t.currentStyle,l=k<8?" ":",",s="rect("+a.clipTop+l+a.clipRight+l+a.clipBottom+l+a.clipLeft+")",this.format(e).split(",").join(l)):(s=this.format(ht(t,this.p,S,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,s,e,r,o)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,r,o){var s=ht(t,"borderTopWidth",S,!1,"0px"),a=this.format(e).split(" "),l=a[0].replace(U,"");return"px"!==l&&(s=parseFloat(s)/ut(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(s+" "+ht(t,"borderTopStyle",S,!1,"solid")+" "+ht(t,"borderTopColor",S,!1,"#000")),a.join(" "),r,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Ot("borderWidth",{parser:_t("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new bt(s,a,0,0,r,-1,i,!1,0,s[a],e)}});function Qt(t){var e,i=this.t,n=i.filter||ht(this.data,"filter")||"",r=this.s+this.c*t|0;100==r&&(e=-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),!ht(this.data,"filter")):(i.filter=n.replace(o,""),!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0==r&&this.xn1||(i.filter=n+" alph
79a(opacity="+r+")"):i.filter=n.replace(X,"opacity="+r))}Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,r,o){var s=parseFloat(ht(t,"opacity",S,!1,"1")),a=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),l&&1===s&&"hidden"===ht(t,"visibility",S)&&0!==e&&(s=0),ot?r=new bt(a,"opacity",s,e-s,r):((r=new bt(a,"opacity",100*s,100*(e-s),r)).xn1=l?1:0,a.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=t,r.plugin=o,r.setRatio=Qt),l&&((r=new bt(a,"visibility",0,0,r,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(r.n),n._overwriteProps.push(i)),r}});function Jt(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:$t(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)}var $t=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(c,"-$1").toLowerCase())):t.removeAttribute(e))};Ot("className",{parser:function(t,e,i,n,r,o,s){var a,l,h,u,c,d=t.getAttribute("class")||"",f=t.style.cssText;if((r=n._classNamePT=new bt(t,i,0,0,r,2)).setRatio=Jt,r.pr=-11,p=!0,r.b=d,l=_(t,S),h=t._gsClassPT){for(u={},c=h.data;c;)u[c.p]=1,c=c._next;h.setRatio(1)}return(t._gsClassPT=r).e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",r.e),a=x(t,l,_(t),s,u),t.setAttribute("class",d),r.data=a.firstMPT,t.style.cssText!==f&&(t.style.cssText=f),r=r.xfirst=n.parse(t,a.difs,r,o)}});function te(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,o,s=this.t.style,a=m.transform.parse;if("all"===this.e)r=!(s.cssText="");else for(n=(e=this.e.split(" ").join("").split(",")).length;-1<--n;)i=e[n],m[i]&&(m[i].parse===a?r=!0:i="transformOrigin"===i?Ut:m[i].p),$t(s,i);r&&($t(s,Ft),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}}for(Ot("clearProps",{parser:function(t,e,i,n,r){return(r=new bt(t,i,0,0,r,2)).setRatio=te,r.e=e,r.pr=-10,r.data=n._tween,p=!0,r}}),t="bezier,throwProps,physicsProps,physics2D".split(","),Et=t.length;Et--;)Pt(t[Et]);(t=j.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,i,n){if(!t.nodeType)return!1;this._target=R=t,this._tween=i,this._vars=e,L=n,I=e.autoRound,p=!1,E=e.suffixMap||j.suffixMap,S=y(t),v=this._overwriteProps;var r,o,s,a,l,h,u,c,d,f=t.style;if(b&&""===f.zIndex&&("auto"!==(r=ht(t,"zIndex",S))&&""!==r||this._addLazySet(f,"zIndex",0)),"string"==typeof e&&(a=f.cssText,r=_(t,S),f.cssText=a+";"+e,r=x(t,r,_(t)).difs,!ot&&z.test(e)&&(r.opacity=parseFloat(RegExp.$1)),e=r,f.cssText=a),e.className?this._firstPT=o=m.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=o=this.parse(t,e,null),this._transformType){for(d=3===this._transformType,Ft?T&&(b=!0,""===f.zIndex&&("auto"!==(u=ht(t,"zIndex",S))&&""!==u||this._addLazySet(f,"zIndex",0)),M&&this._addLazySet(f,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(d?"visible":"hidden"))):f.zoom=1,s=o;s&&s._next;)s=s._next;c=new bt(t,"transform",0,0,null,2),this._linkCSSP(c,null,s),c.setRatio=Ft?Zt:It,c.data=this._transform||Kt(t,S,!0),c.tween=i,c.pr=-1,v.pop()}if(p){for(;o;){for(h=o._next,s=a;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:l)?o._prev._next=o:a=o,(o._next=s)?s._prev=o:l=o,o=h}this._firstPT=a}return!0},t.parse=function(t,e,i,n){var r,o,s,a,l,h,u,c,d,f,p=t.style;for(r in e){if(h=e[r],o=m[r],"function"!=typeof h||o&&o.allowFunc||(h=h(L,R)),o)i=o.parse(t,h,r,this,i,n,e);else{if("--"===r.substr(0,2)){this._tween._propLookup[r]=this._addTween.call(this._tween,t.style,"setProperty",y(t).getPropertyValue(r)+"",h+"",r,!1,r);continue}
79l=ht(t,r,S)+"",d="string"==typeof h,"color"===r||"fill"===r||"stroke"===r||-1!==r.indexOf("Color")||d&&W.test(h)?(d||(h=(3<(h=mt(h)).length?"rgba(":"rgb(")+h.join(",")+")"),i=Tt(p,r,l,h,!0,"transparent",i,0,n)):d&&K.test(h)?i=Tt(p,r,l,h,!0,null,i,0,n):(u=(s=parseFloat(l))||0===s?l.substr((s+"").length):"",""!==l&&"auto"!==l||(u="width"===r||"height"===r?(s=w(t,r,S),"px"):"left"===r||"top"===r?(s=ct(t,r,S),"px"):(s="opacity"!==r?0:1,"")),""===(c=(f=d&&"="===h.charAt(1))?(a=parseInt(h.charAt(0)+"1",10),h=h.substr(2),a*=parseFloat(h),h.replace(U,"")):(a=parseFloat(h),d?h.replace(U,""):""))&&(c=r in E?E[r]:u),h=a||0===a?(f?a+s:a)+c:e[r],u!==c&&(""===c&&"lineHeight"!==r||(a||0===a)&&s&&(s=ut(t,r,s,u),"%"===c?(s/=ut(t,r,100,"%")/100,!0!==e.strictUnits&&(l=s+"%")):"em"===c||"rem"===c||"vw"===c||"vh"===c?s/=ut(t,r,1,c):"px"!==c&&(a=ut(t,r,a,c),c="px"),f&&(!a&&0!==a||(h=a+s+c)))),f&&(a+=s),!s&&0!==s||!a&&0!==a?void 0!==p[r]&&(h||h+""!="NaN"&&null!=h)?(i=new bt(p,r,a||s||0,0,i,-1,r,!1,0,l,h)).xs0="none"!==h||"display"!==r&&-1===r.indexOf("Style")?h:l:g(e[r]):(i=new bt(p,r,s,a-s,i,0,r,!1!==I&&("px"===c||"zIndex"===r),0,l,h)).xs0=c)}n&&i&&!i.plugin&&(i.plugin=n)}return i},t.setRatio=function(t){var e,i,n,r=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(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&-1e-6<e&&(e=0),r.type)if(1===r.type)if(2===(n=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;n<r.l;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=r.r(r.s+r.c),r.type){if(1===r.type){for(n=r.l,i=r.xs0+e+r.xs1,n=1;n<r.l;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},t._enableTransforms=function(t){this._transform=this._transform||Kt(this._target,S,!0),this._transformType=this._transform.svg&&Mt||!t&&3!==this._transformType?2:3};function ee(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}t._addLazySet=function(t,e,i){var n=this._firstPT=new bt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=ee,n.data=this},t._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},t._kill=function(t){var e,i,n,r=t;if(t.autoAlpha||t.alpha){for(i in r={},t)r[i]=t[i];r.opacity=1,r.autoAlpha&&(r.visibility=1)}for(t.className&&(e=this._classNamePT)&&((n=e.xfirst)&&n._prev?this._linkCSSP(n._prev,e._next,n._prev._prev):n===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,n._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==i&&e.plugin._kill&&(e.plugin._kill(t),i=e.plugin),e=e._next;return me.j.prototype._kill.call(this,r)};var ie=function(t,e,i){var n,r,o,s;if(t.slice)for(r=t.length;-1<--r;)ie(t[r],e,i);else for(r=(n=t.childNodes).length;-1<--r;)s=(o=n[r]).type,o.style&&(e.push(_(o)),i&&i.push(o)),1!==s&&9!==s&&11!==s||!o.childNodes.length||ie(o,e,i)};return j.cascadeTo=function(t,e,i){var n,r,o,s,a=me.l.to(t,e,i),l=[a],h=[],u=[],c=[],d=me.l._internals.reservedProps;for(t=a._targets||a.target,ie(t,h,c),a.render(e,!0,!0),ie(t,u),a.render(0,!0,!0),a._enabled(!0),n=c.length;-1<--n;)if((r=x(c[n],h[n],u[n])).firstMPT){for(o in r=r.difs,i)d[o]&&(r[o]=i[o]);for(o in s={},r)s[o]=h[n][o];l.push(me.l.fromTo(c[n],e,s,r))}return l},me.j.activate([j]),j},!0);function _(e){var i=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return(Math.round(t/e)*e*i|0)/i}}function x(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next}var ge=me.m.CSSPlugin,w=me.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,
79i,n){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(n,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}}),b=me.k._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),T=b.prototype;
80/*!
81 * VERSION: 0.6.1
82 * DATE: 2018-08-27
83 * UPDATES AND DOCS AT: http://greensock.com
84 *
85 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
86 * This work is subject to the terms at http://greensock.com/standard-license or for
87 * Club GreenSock members, the software agreement that was issued with your membership.
88 * 
89 * @author: Jack Doyle, [email protected]
90 */T._onInitAllProps=function(){var t,e,i,n,r=this._tween,o=r.vars.roundProps,s={},a=r._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),i=o.length;-1<--i;)s[o[i]]=Math.round;else for(n in o)s[n]=_(o[n]);for(n in s)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(s):t.n===n&&(2===t.f&&t.t?x(t.t._firstPT,s[n]):(this._add(t.t,n,t.s,t.c,s[n]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[n]=a)),t=e;return!1},T._add=function(t,e,i,n,r){this._addTween(t,e,i,i+n,e,r||Math.round),this._overwriteProps.push(e)};
91/*!
92 * VERSION: 0.3.1
93 * DATE: 2018-08-27
94 * UPDATES AND DOCS AT: http://greensock.com
95 *
96 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
97 * This work is subject to the terms at http://greensock.com/standard-license or for
98 * Club GreenSock members, the software agreement that was issued with your membership.
99 * 
100 * @author: Jack Doyle, [email protected]
101 **/
102var E=me.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,n){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,s,a,l,h,u=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(a=e[r])&&(a=a(n,t)),o=(h=(a+"").split("_"))[0],s=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(a=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?s+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-s,h.length&&(-1!==(o=h.join("_")).indexOf("short")&&(l%=u)!==l%(u/2)&&(l=l<0?l+u:l-u),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==o.indexOf("ccw")&&0<l&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(1e-6<l||l<-1e-6)&&(this._addTween(t,r,s,s+l,r),this._overwriteProps.push(r)));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}});E._autoCSS=!0,
103/*!
104 * VERSION: 2.1.3
105 * DATE: 2019-05-17
106 * UPDATES AND DOCS AT: http://greensock.com
107 *
108 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
109 * This work is subject to the terms at http://greensock.com/standard-license or for
110 * Club GreenSock members, the software agreement that was issued with your membership.
111 * 
112 * @author: Jack Doyle, [email protected]
113 */
114me.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){function p(t){me.h.call(this,t);var e,i,n=this.vars;for(i in this._labels={},this.autoRemoveChildren=!!n.autoRemoveChildren,this.smoothChildTiming=!!n.smoothChildTiming,this._sortChildren=!0,this._onUpdate=n.onUpdate,n)e=n[i],c(e)&&-1!==e.join("").indexOf("{self}")&&(n[i]=this._swapSelfInParams(e));c(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)}function v(t){var e,i={};for(e in t)i[e]=t[e];return i}function m(t,e,i){var n,r,o=t.cycle;for(n in o)r=o[n],t[n]="function"==typeof r?r(i,e[i],e):r[i%r.length];delete t.cycle}function h(t,e,i,n){var r="immediateRender";return r in e||(e[r]=!(i&&!1===i[r]||n)),e}function g(t){if("function"==typeof t)return t;var p="object"==typeof t?t:{each:t},v=p.ease,m=p.from||0,g=p.base||0,y={},_=isNaN(m),x=p.axis,w={center:.5,end:1}[m]||0;return function(t,e,i){var n,r,o,s,a,l,h,u,c,d=(i||p).length,f=y[d];if(!f){if(!(c="auto"===p.grid?0:(p.grid||[1/0])[0])){for(h=-1/0;h<(h=i[c++].getBoundingClientRect().left)&&c<d;);c--}for(f=y[d]=[],n=_?Math.min(c,d)*w-.5:m%c,r=_?d*w/c-.5:m/c|0,u=1/(h=0),l=0;l<d;l++)o=l%c-n,s=r-(l/c|0),f[l]=a=x?Math.abs("y"===x?s:o):Math.sqrt(o*o+s*s),h<a&&(h=a),a<u&&(u=a);f.max=h-u,f.min=u,f.v=d=p.amount||p.each*(d<c?d-1:x?"y"===x?d/c:c:Math.max(c,d/c))||0,f.b=d<0?g-d:g}return d=(f[t]-f.min)/f.max,f.b+(v?v.getRatio(d):d)*f.v}}var t=me.l._internals,e=p._internals={},y=t.isSelector,c=t.isArray,_=t.lazyTweens,x=t.lazyRender,s=me.k._gsDefine.globals,o=e.pauseCallback=function(){},i=p.prototype=new me.h;return p.version="2.1.3",p.distribute=g,i.constructor=p,i.kill()._gc=i._forcingPlayhead=i._hasPause=!1,i.to=function(t,e,
114i,n){var r=i.repeat&&s.TweenMax||me.l;return e?this.add(new r(t,e,i),n):this.set(t,i,n)},i.from=function(t,e,i,n){return this.add((i.repeat&&s.TweenMax||me.l).from(t,e,h(0,i)),n)},i.fromTo=function(t,e,i,n,r){var o=n.repeat&&s.TweenMax||me.l;return n=h(0,n,i),e?this.add(o.fromTo(t,e,i,n),r):this.set(t,n,r)},i.staggerTo=function(t,e,i,n,r,o,s,a){var l,h,u=new p({onComplete:o,onCompleteParams:s,callbackScope:a,smoothChildTiming:this.smoothChildTiming}),c=g(i.stagger||n),d=i.startAt,f=i.cycle;for("string"==typeof t&&(t=me.l.selector(t)||t),y(t=t||[])&&(t=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i}(t)),h=0;h<t.length;h++)l=v(i),d&&(l.startAt=v(d),d.cycle&&m(l.startAt,t,h)),f&&(m(l,t,h),null!=l.duration&&(e=l.duration,delete l.duration)),u.to(t[h],e,l,c(h,t[h],t));return this.add(u,r)},i.staggerFrom=function(t,e,i,n,r,o,s,a){return i.runBackwards=!0,this.staggerTo(t,e,h(0,i),n,r,o,s,a)},i.staggerFromTo=function(t,e,i,n,r,o,s,a,l){return n.startAt=i,this.staggerTo(t,e,h(0,n,i),r,o,s,a,l)},i.call=function(t,e,i,n){return this.add(me.l.delayedCall(0,t,e,i),n)},i.set=function(t,e,i){return this.add(new me.l(t,0,h(0,e,null,!0)),i)},p.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,n,r,o,s=new p(t),a=s._timeline;for(null==e&&(e=!0),a._remove(s,!0),s._startTime=0,s._rawPrevTime=s._time=s._totalTime=a._time,r=a._first;r;)o=r._next,e&&r instanceof me.l&&r.target===r.vars.onComplete||((n=r._startTime-r._delay)<0&&(i=1),s.add(r,n)),r=o;return a.add(s,0),i&&s.totalDuration(),s},i.add=function(t,e,i,n){var r,o,s,a,l,h,u=this;if("number"!=typeof e&&(e=u._parseTimeOrLabel(e,0,!0,t)),!(t instanceof me.a)){if(t instanceof Array||t&&t.push&&c(t)){for(i=i||"normal",n=n||0,r=e,o=t.length,s=0;s<o;s++)c(a=t[s])&&(a=new p({tweens:a})),u.add(a,r),"string"!=typeof a&&"function"!=typeof a&&("sequence"===i?r=a._startTime+a.totalDuration()/a._timeScale:"start"===i&&(a._startTime-=a.delay())),r+=n;return u._uncache(!0)}if("string"==typeof t)return u.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=me.l.delayedCall(0,t)}if(me.h.prototype.add.call(u,t,e),(t._time||!t._duration&&t._initted)&&(r=(u.rawTime()-t._startTime)*t._timeScale,(!t._duration||1e-5<Math.abs(Math.max(0,Math.min(t.totalDuration(),r)))-t._totalTime)&&t.render(r,!1,!1)),(u._gc||u._time===u._duration)&&!u._paused&&u._duration<u.duration())for(h=(l=u).rawTime()>t._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return u},i.remove=function(t){if(t instanceof me.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?me.a._rootFramesTimeline:me.a._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&c(t)){for(var i=t.length;-1<--i;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},i._remove=function(t,e){return me.h.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},i.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},i.insert=i.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},i.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},i.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},i.addPause=function(t,e,i,n){var r=me.l.delayedCall(0,o,i,n||this);return r.vars.onComplete=r.vars.onReverseComplete=e,r.data="isPause",this._hasPause=!0,this.add(r,t)},i.removeLabel=function(t){return delete this._labels[t],this},i.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},i._parseTimeOrLabel=function(t,e,i,n){var r,o;if(n instanceof me.a&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&c(n)))for(o=n.length;-1<--o;)n[o]instanceof me.a&&n[o].timeline===this&&this.remove(n[o]);if(r="number"!=typeof t||e?99999999999<this.duration()?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-r:0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=r);else{if(-1===(o=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=r+e:e:this._labels[t]+e;e=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=1<o?this._parseTimeOrLabel(t.substr(0,o-1),0,i):r}return Number(t)+e},i.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},i.stop=function(){return this.paused(!0)},i.gotoAndPlay=function(t,e){return this.play(t,e)},i.gotoAndStop=function(t,e){return this.pause(t,e)}
114,i.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,r,o,s,a,l,h,u,c=this,d=c._time,f=c._dirty?c.totalDuration():c._totalDuration,p=c._startTime,v=c._timeScale,m=c._paused;if(d!==c._time&&(t+=c._time-d),c._hasPause&&!c._forcingPlayhead&&!e){if(d<t)for(n=c._first;n&&n._startTime<=t&&!l;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===c._rawPrevTime||(l=n),n=n._next;else for(n=c._last;n&&n._startTime>=t&&!l;)n._duration||"isPause"===n.data&&0<n._rawPrevTime&&(l=n),n=n._prev;l&&(c._time=c._totalTime=t=l._startTime,u=c._startTime+(c._reversed?c._duration-t:t)/c._timeScale)}if(f-1e-8<=t&&0<=t)c._totalTime=c._time=f,c._reversed||c._hasPausedChild()||(r=!0,s="onComplete",a=!!c._timeline.autoRemoveChildren,0===c._duration&&(t<=0&&-1e-8<=t||c._rawPrevTime<0||1e-8===c._rawPrevTime)&&c._rawPrevTime!==t&&c._first&&(a=!0,1e-8<c._rawPrevTime&&(s="onReverseComplete"))),c._rawPrevTime=c._duration||!e||t||c._rawPrevTime===t?t:1e-8,t=f+1e-4;else if(t<1e-8)if(c._totalTime=c._time=0,-1e-8<t&&(t=0),(0!==d||0===c._duration&&1e-8!==c._rawPrevTime&&(0<c._rawPrevTime||t<0&&0<=c._rawPrevTime))&&(s="onReverseComplete",r=c._reversed),t<0)c._active=!1,c._timeline.autoRemoveChildren&&c._reversed?(a=r=!0,s="onReverseComplete"):0<=c._rawPrevTime&&c._first&&(a=!0),c._rawPrevTime=t;else{if(c._rawPrevTime=c._duration||!e||t||c._rawPrevTime===t?t:1e-8,0===t&&r)for(n=c._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,c._initted||(a=!0)}else c._totalTime=c._time=c._rawPrevTime=t;if(c._time!==d&&c._first||i||a||l){if(c._initted||(c._initted=!0),c._active||!c._paused&&c._time!==d&&0<t&&(c._active=!0),0===d&&c.vars.onStart&&(0===c._time&&c._duration||e||c._callback("onStart")),d<=(h=c._time))for(n=c._first;n&&(o=n._next,h===c._time&&(!c._paused||m));)(n._active||n._startTime<=h&&!n._paused&&!n._gc)&&(l===n&&(c.pause(),c._pauseTime=u),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=c._last;n&&(o=n._prev,h===c._time&&(!c._paused||m));){if(n._active||n._startTime<=d&&!n._paused&&!n._gc){if(l===n){for(l=n._prev;l&&l.endTime()>c._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,c.pause(),c._pauseTime=u}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=o}c._onUpdate&&(e||(_.length&&x(),c._callback("onUpdate"))),s&&(c._gc||p!==c._startTime&&v===c._timeScale||(0===c._time||f>=c.totalDuration())&&(r&&(_.length&&x(),c._timeline.autoRemoveChildren&&c._enabled(!1,!1),c._active=!1),!e&&c.vars[s]&&c._callback(s)))}},i._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof p&&t._hasPausedChild())return!0;t=t._next}return!1},i.getChildren=function(t,e,i,n){n=n||-9999999999;for(var r=[],o=this._first,s=0;o;)o._startTime<n||(o instanceof me.l?!1!==e&&(r[s++]=o):(!1!==i&&(r[s++]=o),!1!==t&&(s=(r=r.concat(o.getChildren(!0,e,i))).length))),o=o._next;return r},i.getTweensOf=function(t,e){var i,n,r=this._gc,o=[],s=0;for(r&&this._enabled(!0,!0),n=(i=me.l.getTweensOf(t)).length;-1<--n;)(i[n].timeline===this||e&&this._contains(i[n]))&&(o[s++]=i[n]);return r&&this._enabled(!1,!0),o},i.recent=function(){return this._recent},i._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},i.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,o=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in o)o[n]>=i&&(o[n]+=t);return this._uncache(!0)},i._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;-1<--n;)i[n]._kill(t,e)&&(r=!0);return r},i.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},i.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return me.a.prototype.invalidate.call(this)},i._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return me.h.prototype._enabled.call(this,t,e)}
114,i.totalTime=function(t,e,i){this._forcingPlayhead=!0;var n=me.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},i.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},i.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,i,n=0,r=this,o=r._last,s=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>s&&r._sortChildren&&!o._paused&&!r._calculatingDuration?(r._calculatingDuration=1,r.add(o,o._startTime-o._delay),r._calculatingDuration=0):s=o._startTime,o._startTime<0&&!o._paused&&(n-=o._startTime,r._timeline.smoothChildTiming&&(r._startTime+=o._startTime/r._timeScale,r._time-=o._startTime,r._totalTime-=o._startTime,r._rawPrevTime-=o._startTime),r.shiftChildren(-o._startTime,!1,-9999999999),s=0),n<(i=o._startTime+o._totalDuration/o._timeScale)&&(n=i),o=e;r._duration=r._totalDuration=n,r._dirty=!1}return this._totalDuration},i.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return me.a.prototype.paused.apply(this,arguments)},i.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===me.a._rootFramesTimeline},i.rawTime=function(t){return t&&(this._paused||this._repeat&&0<this.time()&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},p},!0);var S=me.m.TimelineLite;
115/*!
116 * VERSION: 2.1.3
117 * DATE: 2019-05-17
118 * UPDATES AND DOCS AT: http://greensock.com
119 *
120 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
121 * This work is subject to the terms at http://greensock.com/standard-license or for
122 * Club GreenSock members, the software agreement that was issued with your membership.
123 * 
124 * @author: Jack Doyle, [email protected]
125 */me.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){function t(t){S.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0}var A=1e-8,e=me.l._internals,C=e.lazyTweens,I=e.lazyRender,a=me.k._gsDefine.globals,l=new me.b(null,null,1,0),i=t.prototype=new S;return i.constructor=t,i.kill()._gc=!1,t.version="2.1.3",i.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),S.prototype.invalidate.call(this)},i.addCallback=function(t,e,i,n){return this.add(me.l.delayedCall(0,t,i,n),e)},i.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,r=this._parseTimeOrLabel(e);-1<--n;)i[n]._startTime===r&&i[n]._enabled(!1,!1);return this},i.removePause=function(t){return this.removeCallback(S._internals.pauseCallback,t)},i.tweenTo=function(t,e){e=e||{};var i,n,r,o={ease:l,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},s=e.repeat&&a.TweenMax||me.l;for(n in e)o[n]=e[n];return o.time=this._parseTimeOrLabel(t),i=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,r=new s(this,i,o),o.onStart=function(){r.target.paused(!0),r.vars.time===r.target.time()||i!==r.duration()||r.isFromTo||r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale).render(r.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||r,e.onStartParams||[])},r},i.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},i.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,r,o,s,a,l,h,u,c,d=this,f=d._time,p=d._dirty?d.totalDuration():d._totalDuration,v=d._duration,m=d._totalTime,g=d._startTime,y=d._timeScale,_=d._rawPrevTime,x=d._paused,w=d._cycle;if(f!==d._time&&(t+=d._time-f),p-A<=t&&0<=t)d._locked||(d._totalTime=p,d._cycle=d._repeat),d._reversed||d._hasPausedChild()||(r=!0,s="onComplete",a=!!d._timeline.autoRemoveChildren,0===d._duration&&(t<=0&&-A<=t||_<0||_===A)&&_!==t&&d._first&&(a=!0,A<_&&(s="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:A,d._yoyo&&1&d._cycle?d._time=t=0:t=(d._time=v)+1e-4;else if(t<A)if(d._locked||(d._totalTime=d._cycle=0),d._time=0,-A<t&&(t=0),(0!==f||0===v&&_!==A&&(0<_||t<0&&0<=_)&&!d._locked)&&(s="onReverseComplete",r=d._reversed),t<0)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(a=r=!0,s="onReverseComplete"):0<=_&&d._first&&(a=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=v||!e||t||d._rawPrevTime===t?t:A,0===t&&r)for(n=d._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,d._initted||(a=!0)}else 0===v&&_<0&&(a=!0),d._time=d._rawPrevTime=t,d._locked||(d._totalTime=t,0!==d._repeat&&(l=v+d._repeatDelay,d._cycle=d._totalTime/l>>0,d._cycle&&d._cycle===d._totalTime/l&&m<=t&&d._cycle--,d._time=d._totalTime-d._cycle*l,d._yoyo&&1&d._cycle&&(d._time=v-d._time),d._time>v?t=(d._time=v)+1e-4:d._time<0?d._time=t=0:t=d._time));if(d._hasPause&&!d._forcingPlayhead&&!e){if(f<(t=d._time)||d._repeat&&w!==d._cycle)for(n=d._first;n&&n._startTime<=t&&!h;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===d._rawPrevTime||(h=n),n=n._next;else for(n=d._last;n&&n._startTime>=t&&!h;)n._duration||"isPause"===n.data&&0<n._rawPrevTime&&(h=n),n=n._prev;h&&(c=d._startTime+(d._reversed?d._duration-h._startTime:h._startTime)/d._timeScale,h._startTime<v&&(d._time=d._rawPrevTime=t=h._startTime,d._totalTime=t+d._cycle*(d._totalDuration+d._repeatDelay)))}if(d._cycle!==w&&!d._locked){var b=d._yoyo&&0!=(1&w),T=b===(d._yoyo&&0!=(1&d._cycle)),E=d._totalTime,S=d._cycle,O=d._rawPrevTime,P=d._time;if(d._totalTime=w*v,d._cycle<w?b=!b:d._totalTime+=v,d._time=f,d._rawPrevTime=0===v?_-1e-4:_,d._cycle=w,d._locked=!0,f=b?0:v,d.render(f,e,0===v),e||d._gc||d.vars.onRepeat&&(d._cycle=S,d._locked=!1,d._callback("onRepeat")),f!==d._time)return;if(T&&(d._cycle=w,d._locked=!0,f=b?v+1e-4:-1e-4,d.render(f,!0,!1)),d._locked=!1,d._paused&&!x)return;d._time=P,d._totalTime=E,d._cycle=S,d._rawPrevTime=O}
125if(d._time!==f&&d._first||i||a||h){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._totalTime!==m&&0<t&&(d._active=!0),0===m&&d.vars.onStart&&(0===d._totalTime&&d._totalDuration||e||d._callback("onStart")),f<=(u=d._time))for(n=d._first;n&&(o=n._next,u===d._time&&(!d._paused||x));)(n._active||n._startTime<=d._time&&!n._paused&&!n._gc)&&(h===n&&(d.pause(),d._pauseTime=c),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=d._last;n&&(o=n._prev,u===d._time&&(!d._paused||x));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(h===n){for(h=n._prev;h&&h.endTime()>d._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,d.pause(),d._pauseTime=c}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=o}d._onUpdate&&(e||(C.length&&I(),d._callback("onUpdate"))),s&&(d._locked||d._gc||g!==d._startTime&&y===d._timeScale||(0===d._time||p>=d.totalDuration())&&(r&&(C.length&&I(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[s]&&d._callback(s)))}else m!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},i.getActive=function(t,e,i){var n,r,o=[],s=this.getChildren(t||null==t,e||null==t,!!i),a=0,l=s.length;for(n=0;n<l;n++)(r=s[n]).isActive()&&(o[a++]=r);return o},i.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;e<n;e++)if(i[e].time>t)return i[e].name;return null},i.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(e[i].time<t)return e[i].name;return null},i.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},i.invalidate=function(){return this._locked=!1,S.prototype.invalidate.call(this)},i.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()||0},i.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},i.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(S.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},i.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,r=n*(i+this._repeatDelay);return i<t&&(t=i),this.totalTime(this._yoyo&&1&n?i-t+r:this._repeat?t+r:t,e)},i.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},i.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},i.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},i.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+A)},t},!0);function O(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t}function P(t,e,i,n){var r={a:t},o={},s={},a={c:n},l=(t+e)/2,h=(e+i)/2,u=(i+n)/2,c=(l+h)/2,d=(h+u)/2,f=(d-c)/8;return r.b=l+(t-l)/4,o.b=c+f,r.c=o.a=(r.b+o.b)/2,o.c=s.a=(c+d)/2,s.b=d-f,a.b=u+(n-u)/4,s.c=a.a=(s.b+a.b)/2,[r,o,s,a]}function A(t,e,i,n,r){var o,s,a,l,h,u,c,d,f,p,v,m,g,y=t.length-1,_=0,x=t[0].a;for(o=0;o<y;o++)s=(h=t[_]).a,a=h.d,l=t[_+1].d,d=r?(v=L[o],g=((m=D[o])+v)*e*.25/(n?.5:N[o]||.5),a-((u=a-(a-s)*(n?.5*e:0!==v?g/v:0))+(((c=a+(l-a)*(n?.5*e:0!==m?g/m:0))-u)*(3*v/(v+m)+.5)/4||0))):a-((u=a-(a-s)*e*.5)+(c=a+(l-a)*e*.5))/2,u+=d,c+=d,h.c=f=u,h.b=0!==o?x:x=h.a+.6*(h.c-h.a),h.da=a-s,h.ca=f-s,h.ba=x-s,i?(p=P(s,x,f,a),t.splice(_,1,p[0],p[1],p[2],p[3]),_+=4):_++,x=c;(h=t[_]).b=x,h.c=x+.4*(h.d-x),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=x-h.a,i&&(p=P(h.a,x,h.c,h.d),t.splice(_,1,p[0],p[1],p[2],p[3]))}function C(t,e,i,n){var r,o,s,a,l,h,u=[];
125if(n)for(o=(t=[n].concat(t)).length;-1<--o;)"string"==typeof(h=t[o][e])&&"="===h.charAt(1)&&(t[o][e]=n[e]+Number(h.charAt(0)+h.substr(2)));if((r=t.length-2)<0)return u[0]=new O(t[0][e],0,0,t[0][e]),u;for(o=0;o<r;o++)s=t[o][e],a=t[o+1][e],u[o]=new O(s,0,0,a),i&&(l=t[o+2][e],L[o]=(L[o]||0)+(a-s)*(a-s),D[o]=(D[o]||0)+(l-a)*(l-a));return u[o]=new O(t[o][e],0,0,t[o+1][e]),u}function I(t,e,i,n,r,o){var s,a,l,h,u,c,d,f,p={},v=[],m=o||t[0];for(a in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])v.push(a);if(1<t.length){for(f=t[t.length-1],d=!0,s=v.length;-1<--s;)if(a=v[s],.05<Math.abs(m[a]-f[a])){d=!1;break}d&&(t=t.concat(),o&&t.unshift(o),t.push(t[1]),o=t[t.length-3])}for(L.length=D.length=N.length=0,s=v.length;-1<--s;)a=v[s],F[a]=-1!==r.indexOf(","+a+","),p[a]=C(t,a,F[a],o);for(s=L.length;-1<--s;)L[s]=Math.sqrt(L[s]),D[s]=Math.sqrt(D[s]);if(!n){for(s=v.length;-1<--s;)if(F[a])for(c=(l=p[v[s]]).length-1,h=0;h<c;h++)u=l[h+1].da/D[h]+l[h].da/L[h]||0,N[h]=(N[h]||0)+u*u;for(s=N.length;-1<--s;)N[s]=Math.sqrt(N[s])}for(s=v.length,h=i?4:1;-1<--s;)l=p[a=v[s]],A(l,e,i,n,F[a]),d&&(l.splice(0,h),l.splice(l.length-h,h));return p}function M(t,e,i){for(var n,r,o,s,a,l,h,u,c,d,f,p=1/i,v=t.length;-1<--v;)for(o=(d=t[v]).a,s=d.d-o,a=d.c-o,l=d.b-o,n=r=0,u=1;u<=i;u++)n=r-(r=((h=p*u)*h*s+3*(c=1-h)*(h*a+c*l))*h),e[f=v*i+u-1]=(e[f]||0)+n*n}var R=me.m.TimelineMax,k=180/Math.PI,L=[],D=[],N=[],F={},B=me.k._gsDefine.globals,U=me.k._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){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,r,o,s,a,l=e.values||[],h={},u=l[0],c=e.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0===c?0:Number(c)||0]]:null,u)this._props.push(n);for(o=this._props.length;-1<--o;)n=this._props[o],this._overwriteProps.push(n),r=this._func[n]="function"==typeof t[n],h[n]=r?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?I(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):function(t,e,i){var n,r,o,s,a,l,h,u,c,d,f,p={},v="cubic"===(e=e||"soft")?3:2,m="soft"===e,g=[];if(m&&i&&(t=[i].concat(t)),null==t||t.length<1+v)throw"invalid Bezier data";for(c in t[0])g.push(c);for(l=g.length;-1<--l;){for(p[c=g[l]]=a=[],d=0,u=t.length,h=0;h<u;h++)n=null==i?t[h][c]:"string"==typeof(f=t[h][c])&&"="===f.charAt(1)?i[c]+Number(f.charAt(0)+f.substr(2)):Number(f),m&&1<h&&h<u-1&&(a[d++]=(n+a[d-2])/2),a[d++]=n;for(u=d-v+1,h=d=0;h<u;h+=v)n=a[h],r=a[h+1],o=a[h+2],s=2==v?0:a[h+3],a[d++]=f=3==v?new O(n,r,o,s):new O(n,(2*r+n)/3,(2*r+o)/3,o);a.length=d}return p}(l,e.type,h),this._segCount=this._beziers[n].length,this._timeRes){var d=function(t,e){var i,n,r,o,s=[],a=[],l=0,h=0,u=(e=e>>0||6)-1,c=[],d=[];for(i in t)M(t[i],s,e);for(r=s.length,n=0;n<r;n++)l+=Math.sqrt(s[n]),d[o=n%e]=l,o===u&&(h+=l,c[o=n/e>>0]=d,a[o]=h,l=0,d=[]);return{length:h,lengths:a,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(c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),o=c.length;-1<--o;){for(s=0;s<3;s++)n=c[o][s],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=c[o][2],this._initialRotations[o]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,n,r,o,s,a,l,h,u,c,d=this._segCount,f=this._func,p=this._target,v=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,u=this._curSeg,c=t*this._length,n=this._li,c>this._l2&&n<d-1){for(l=d-1;n<l&&(this._l2=h[++n])<=c;);this._l1=h[n-1],this._li=n,this._curSeg=u=this._segments[n],this._s2=u[this._s1=this._si=0]}else if(c<this._l1&&0<n){for(;0<n&&(this._l1=h[--n])>=c;);0===n&&c<this._l1?this._l1=0:n++,this._l2=h[n],this._li=n,this._curSeg=u=this._segments[n],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(e=n,c-=this._l1,n=this._si,c>this._s2&&n<u.length-1){for(l=u.length-1;n<l&&(this._s2=u[++n])<=c;);this._s1=u[n-1],this._si=n}else if(c<this._s1&&0<n){for(;0<n&&(this._s1=u[--n])>=c;);0===n&&c<this._s1?this._s1=0:n++,this._s2=u[n],this._si=n}s=1===t?1:(n+(c-this._s1)/(this._s2-this._s1))*this._prec||0}else s=(t-(e=t<0?0:1<=t?d-1:d*t>>0)*(1/d))*d;for(i=1-s,n=this._props.length;-1<--n;)r=this._props[n],a=(s*s*(o=this._beziers[r][e]).da+3*i*(s*o.ca+i*o.ba))*s+o.a,this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a;if(this._autoRotate){var m,g,y,_,x,w,b,T=this._autoRotate;for(n=T.length;-1<--n;)r=T[n][2],w=T[n][3]||0,b=!0===T[n][4]?1:k,o=this._beziers[T[n][0]],m=this._beziers[T[n][1]],o&&m&&(o=o[e],m=m[e],g=o.a+(o.b-o.a)*s,g+=((_=o.b+(o.c-o.b)*s)-g)*s,_+=(o.c+(o.d-o.c)*s-_)*s,y=m.a+(m.b-m.a)*s,y+=((x=m.b+(m.c-m.b)*s)-y)*s,x+=(m.c+(m.d-m.c)*s-x)*s,a=v?Math.atan2(x-y,_-g)*b+w:this._initialRotations[n],this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a)}}}),j=U.prototype;
126/*!
127 * VERSION: 1.3.9
128 * DATE: 2019-05-17
129 * UPDATES AND DOCS AT: http://greensock.com
130 *
131 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
132 * This work is subject to the terms at http://greensock.com/standard-license or for
133 * Club GreenSock members, the software agreement that was issued with your membership.
134 * 
135 * @author: Jack Doyle, [email protected]
136 **/U.bezierThrough=I,U.cubicToQuadratic=P,U._autoCSS=!0,U.quadraticToCubic=function(t,e,i){return new O(t,(2*e+t)/3,(2*e+i)/3,i)},U._cssRegister=function(){var t=B.CSSPlugin;if(t){var e=t._internals,f=e._parseToProxy,p=e._setPluginRatio,v=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,i,n,r,o){e instanceof Array&&(e={values:e}),o=new U;var s,a,l,h=e.values,u=h.length-1,c=[],d={};if(u<0)return r;for(s=0;s<=u;s++)l=f(t,h[s],n,r,o,u!==s),c[s]=l.end;for(a in e)d[a]=e[a];return d.values=c,(r=new v(t,"bezier",0,0,l.pt,2)).data=l,r.plugin=o,r.setRatio=p,0===d.autoRotate&&(d.autoRotate=!0),!d.autoRotate||d.autoRotate instanceof Array||(s=!0===d.autoRotate?0:Number(d.autoRotate),d.autoRotate=null!=l.end.left?[["left","top","rotation",s,!1]]:null!=l.end.x&&[["x","y","rotation",s,!1]]),d.autoRotate&&(n._transform||n._enableTransforms(!1),l.autoRotate=n._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,n._overwriteProps.push("rotation")),o._onInitTween(l.proxy,d,n._tween),r}})}},j._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;-1<--n;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},j._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;-1<--i;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;-1<--i;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)},
137/*!
138 * VERSION: 1.16.1
139 * DATE: 2018-08-27
140 * UPDATES AND DOCS AT: http://greensock.com
141 *
142 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
143 * This work is subject to the terms at http://greensock.com/standard-license or for
144 * Club GreenSock members, the software agreement that was issued with your membership.
145 * 
146 * @author: Jack Doyle, [email protected]
147 **/
148me.k._gsDefine("easing.Back",["easing.Ease"],function(){function t(t,e){var i=c("easing."+t,function(){},!0),n=i.prototype=new me.b;return n.constructor=i,n.getRatio=e,i}function e(t,e,i,n,r){var o=c("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return d(o,t),o}function m(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)}function i(t,e){var i=c("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=i.prototype=new me.b;return n.constructor=i,n.getRatio=e,n.config=function(t){return new i(t)},i}var n,r,o,s,a=me.k.GreenSockGlobals||me.k,l=a.com.greensock,h=2*Math.PI,u=Math.PI/2,c=l._class,d=me.b.register||function(){},f=e("Back",i("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),i("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),i("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)})),p=c("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1<t&&(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===i},!0),v=p.prototype=new me.b;return v.constructor=p,v.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?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},p.ease=new p(.7,.7),v.config=p.config=function(t,e,i){return new p(t,e,i)},(v=(n=c("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 me.b).constructor=n,v.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=n.config=function(t,e){return new n(t,e)},(v=(r=c("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0)).prototype=new me.b).constructor=r,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=r.config=function(t,e,i){return new r(t,e,i)},(v=(o=c("easing.RoughEase",function(t){for(var e,i,n,r,o,s,a=(t=t||{}).taper||"none",l=[],h=0,u=0|(t.points||20),c=u,d=!1!==t.randomize,f=!0===t.clamp,p=t.template instanceof me.b?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;-1<--c;)e=d?Math.random():1/u*c,i=p?p.getRatio(e):e,n="none"===a?v:"out"===a?(r=1-e)*r*v:"in"===a?e*e*v:e<.5?(r=2*e)*r*.5*v:(r=2*(1-e))*r*.5*v,d?i+=Math.random()*n-.5*n:c%2?i+=.5*n:i-=.5*n,f&&(1<i?i=1:i<0&&(i=0)),l[h++]={x:e,y:i};for(l.sort(function(t,e){return t.x-e.x}),s=new m(1,1,null),c=u;-1<--c;)o=l[c],s=new m(o.x,o.y,s);this._prev=new m(0,0,0!==s.t?s:s.next)},!0)).prototype=new me.b).constructor=o,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).v+(t-e.t)/e.gap*e.c},v.config=function(t){return new o(t)},o.ease=new o,e("Bounce",t("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}),t("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)}),t("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})),e("Circ",t("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}
148)),e("Elastic",(s=function(t,e,i){var n=c("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/h*(Math.asin(1/this._p1)||0),this._p2=h/this._p2},!0),r=n.prototype=new me.b;return r.constructor=n,r.getRatio=e,r.config=function(t,e){return new n(t,e)},n})("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)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*u)}),t("SineIn",function(t){return 1-Math.cos(t*u)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),c("easing.EaseLookup",{find:function(t){return me.b.map[t]}},!0),d(a.SlowMo,"SlowMo","ease,"),d(o,"RoughEase","ease,"),d(n,"SteppedEase","ease,"),f},!0);var X=me.m.Back,z=me.m.Elastic,W=me.m.Bounce,H=me.m.RoughEase,G=me.m.SlowMo,V=me.m.SteppedEase,Y=me.m.Circ,q=me.m.Expo,K=me.m.Sine,Z=me.m.ExpoScaleEase,Q=y;function J(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Q._autoActivated=[S,R,ge,w,U,b,E,X,z,W,H,G,V,Y,q,K,Z];var $=function(){function i(t,e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.element=null,this.template=null,this.killed=!1,this.animatedIn=!1,this.triggers=[],this.components=[],this.checkTriggers=function(t){if(0<n.triggers.length)for(var e=n.triggers.length,i=0;i<e;i++)n.triggers[i].triggered||n.triggers[i].check(t)},this.element=t,this.template=e,this.buildComponents()}return function(t,e,i){e&&J(t.prototype,e),i&&J(t,i)}(i,[{key:"buildComponents",value:function(){for(var t,e,i=this.element.querySelectorAll("[data-component]"),n=0,r=i.length;n<r;n++)(e=i[n].getAttribute("data-component"))&&(t=nt(e,i[n],this))&&this.components.push(t)}},{key:"resize",value:function(){var t=this.triggers.length;t=this.components.length;for(var e=0;e<t;e++)this.components[e].resize()}},{key:"kill",value:function(){this.killed=!0;for(var t=this.components.length,e=0;e<t;e++)this.components[e].kill()}}]),i}();function tt(t,e,i){return(tt=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,i){var n=[null];n.push.apply(n,e);var r=new(Function.bind.apply(t,n));return i&&et(r,i.prototype),r}).apply(null,arguments)}function et(t,e){return(et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var it={registeredTypes:{},register:function(t,e){it.registeredTypes[t]&&e.prototype instanceof $||(it.registeredTypes[t]=e)},create:function(t){if(!it.registeredTypes[t])return null;for(var e=this.registeredTypes[t],i=arguments.length,n=new Array(1<i?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return tt(e,n)},registerModules:function(e){Object.keys(e).forEach(function(t){return it.register(t,e[t])})}};function nt(t,e,i){if(null===window[t]||void 0===window[t])return null;var n=new window[t](e);return n.name=t,n.module=i,n}function rt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var ot=function(){function o(t){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),this.onClick=function(t){if(!(t.ctrlKey||t.shiftKey||t.metaKey||t.button&&1==t.button)){t.preventDefault(),t.currentTarget._callback&&t.currentTarget._callback(t.currentTarget);var e=t.currentTarget.href||t.target.parentNode.href;if(void 0===e&&(e=""),r.isInternal(e)){var i=document.location.protocol+"//"+window.location.host+"/",n=e.replace(i,"");o.templateManager.path(n)}else-1!==e.indexOf("mailto")?window.location.href=e:window.open(e,"_blank")}},o.templateManager=t}
148return function(t,e,i){e&&rt(t.prototype,e),i&&rt(t,i)}(o,[{key:"parse",value:function(t,e){e&&(t._callback=e),t.addEventListener("click",this.onClick)}},{key:"parseNodeList",value:function(t){for(var e=0;e<t.length;e++)this.parse(t[e])}},{key:"kill",value:function(t){t.removeEventListener("click",this.onClick),t._callback&&(t._callback=null)}},{key:"killNodeList",value:function(t){for(var e=0;e<t.length;e++)this.kill(t[e])}},{key:"click",value:function(t){if(this.isInternal(t)){var e=document.location.protocol+"//"+window.location.host+"/",i=t.replace(e,"");o.templateManager.path(i)}else-1!==t.indexOf("mailto")?window.location.href=t:window.open(t,"_blank")}},{key:"isInternal",value:function(t){var e=!1;return-1!==t.indexOf(window.location.hostname)&&(e=!0),function(t){return 1<t.split("/").pop().split(".").length}(t)&&(e=!1),e}}],[{key:"getInstance",value:function(t){return o.instance||(o.instance=new o(t)),o.instance}}]),o}();function st(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var at=function(){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.path=null,this.initial=!1,this.modules=[],this.element=t,this._templateManager=e}return function(t,e,i){e&&st(t.prototype,e),i&&st(t,i)}(i,[{key:"buildModules",value:function(){var t=this.element.querySelectorAll("[data-module]");ot.getInstance().parseNodeList(this.element.getElementsByTagName("a"));for(var e,i,n=0,r=t.length;n<r;n++)(i=t[n].getAttribute("data-module"))&&(e=it.create(i,t[n],this))&&this.modules.push(e)}},{key:"templateIn",value:function(){var t=this;Q.set(window,{scrollTo:0});var e=!this._templateManager.isInitial();e&&(Q.set(this.element,{opacity:0}),v.TEMPLATE_LAYER.appendChild(this.element)),this.buildModules(),e?Q.to(this.element,.5,{opacity:1,ease:me.e.easeOut,onComplete:function(){return t.templateInComplete()}}):this.templateInComplete()}},{key:"templateInComplete",value:function(){this._templateManager.nextTemplate()}},{key:"templateOut",value:function(t,e){var i=this;window.Main.menu.close(),Q.set(this.element,{pointerEvents:"none"}),Q.to(this.element,.5,{opacity:0,ease:me.e.easeOut,onComplete:function(){return i.templateOutComplete()}})}},{key:"templateOutComplete",value:function(){v.TEMPLATE_LAYER.removeChild(this.element),this.kill(),this._templateManager.nextTemplate()}},{key:"resize",value:function(){for(var t=this.modules.length,e=0;e<t;e++)this.modules[e].resize()}},{key:"kill",value:function(){for(var t=this.modules.length,e=0;e<t;e++)this.modules[e].kill()}}]),i}(),lt=r(66),ht=r.n(lt),ut=ht.a.create("custom","M0,0 C0.6,0 0.1,1 1,1");ht.a.create("custom","M0,0,C0,0.6,0.1,1,1,1"),ht.a.create("custom","M0,0,C0.6,0,1,0.1,1,1");function ct(t,e){var i=this,n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:1.2;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,ct),this.scale=1.2,this.mouseOver=function(){Q.set(i.svgCircle,{opacity:1}),Q.killTweensOf(i.svgCircle),Q.to(i.svgIcon,1,{scale:1,ease:i.ease}),Q.fromTo(i.svgCircle,.5,{drawSVG:"0% 0%"},{drawSVG:"0% 100%",ease:ut})},this.mouseOut=function(){Q.killTweensOf(i.svgCircle),Q.to(i.svgIcon,.75,{scale:i.scale,ease:i.ease}),Q.to(i.svgCircle,.4,{drawSVG:"100% 100%",ease:ut,onComplete:function(){Q.set(i.svgCircle,{opacity:0})}})},this.scale=r,this.svgIcon=t.querySelectorAll(".DrawIcon"),this.svgCircle=t.querySelector(".DrawCircle"),v.IS_TOUCH_DEVICE||(this.ease=z.easeOut.config(2,.4),Q.set(this.svgCircle,{drawSVG:"0% 0%",opacity:0}
148),Q.set(this.svgIcon,{scale:r}),n&&(e.addEventListener("mouseover",this.mouseOver),e.addEventListener("mouseout",this.mouseOut)))}function dt(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,dt),this.mouseOver=function(){Q.set(e.svg,{opacity:1}),Q.killTweensOf(e.svg),Q.fromTo(e.svg,.5,{drawSVG:"0% 0%"},{drawSVG:"0% 100%",ease:ut})},this.mouseOut=function(){Q.killTweensOf(e.svg),Q.to(e.svg,.4,{drawSVG:"100% 100%",ease:ut,onComplete:function(){Q.set(e.svg,{opacity:0})}})},v.IS_TOUCH_DEVICE||(this.svg=t.querySelector("svg path"),Q.set(this.svg,{drawSVG:"0% 0%",opacity:0}),t.addEventListener("mouseover",this.mouseOver),t.addEventListener("mouseout",this.mouseOut))}
149/*!
150 * VERSION: 2.1.3
151 * DATE: 2019-05-17
152 * UPDATES AND DOCS AT: http://greensock.com
153 *
154 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
155 * This work is subject to the terms at http://greensock.com/standard-license or for
156 * Club GreenSock members, the software agreement that was issued with your membership.
157 *
158 * @author: Jack Doyle, [email protected]
159 **/
160function ft(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e){pt(this,vt),this.width=t,this.height=e}var mt=function(){function o(){pt(this,o)}return function(t,e,i){e&&ft(t.prototype,e),i&&ft(t,i)}(o,null,[{key:"widthToHeight",value:function(t){return t.width/t.height}},{key:"heightToWidth",value:function(t){return t.height/t.width}},{key:"scale",value:function(t,e,i){var n=!(2<arguments.length&&void 0!==i)||i;return o._defineRect(t,t.width*e,t.height*e,n)}},{key:"scaleWidth",value:function(t,e,i){var n=!(2<arguments.length&&void 0!==i)||i;return o._defineRect(t,e*o.widthToHeight(t),e,n)}},{key:"scaleHeight",value:function(t,e,i){var n=!(2<arguments.length&&void 0!==i)||i;return o._defineRect(t,e,e*o.heightToWidth(t),n)}},{key:"scaleToFill",value:function(t,e,i){var n=!(2<arguments.length&&void 0!==i)||i,r=o.scaleHeight(t,e.width,n);return r.height<e.height&&(r=o.scaleWidth(t,e.height,n)),r}},{key:"scaleToFit",value:function(t,e,i){var n=!(2<arguments.length&&void 0!==i)||i,r=o.scaleHeight(t,e.width,n);return r.height>e.height&&(r=o.scaleWidth(t,e.height,n)),r}},{key:"_defineRect",value:function(t,e,i,n){var r=new vt(t.width,t.height);return r.width=n?Math.round(e):e,r.height=n?Math.round(i):i,r}}]),o}();function gt(t,e){return Math.floor(Math.random()*(e-t+1))+t}function yt(t,e,i){return Math.min(i,Math.max(e,t))}function _t(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function xt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var wt=z.easeOut.config(1.2,.5),bt=z.easeOut.config(1.2,.5),Tt=function(){function o(t){var n=this,e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=2<arguments.length&&void 0!==arguments[2]&&arguments[2];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),this.letters=[],this.letterXs=[],this.wordGroups=[],this.YDisplace=28,this.wasReset=!0,this.tweenDefault={scaleX:24/54,scaleY:1,y:28},this.tweenStarts=[{scaleX:24/54,scaleY:1,y:0},{scaleY:105/58,scaleX:1,y:-23},{scaleX:17/31,scaleY:1,y:0},{scaleX:.8,scaleY:73/56,y:-28},{scaleX:.6,scaleY:79/53,y:0},{scaleX:1.24,scaleY:63/53,y:-10},{scaleX:17/26,scaleY:61/46,y:14},{scaleX:1,scaleY:71/59,y:-12},{scaleX:21/31,scaleY:1,y:2},{scaleX:39/66,scaleY:97/69,y:-14},{scaleX:42/31,scaleY:.8,y:0},{scaleX:21/26,scaleY:62/39,y:0},{scaleX:43/54,scaleY:57/39,y:-18},{scaleX:33/27,scaleY:68/44,y:0},{scaleX:1,scaleY:70/55,y:-15},{scaleX:57/35,scaleY:41/59,y:18},{scaleX:39/66,scaleY:97/69,y:-14},{scaleX:21/31,scaleY:1,y:2},{scaleY:105/58,scaleX:1,y:-23},{scaleX:1,scaleY:70/55,y:-15},{scaleX:17/26,scaleY:61/46,y:14}],this.hidden=!0,this.letterBBoxs=[],this.kill=function(){p.signalResize.remove(n.resize)},this.resize=function(){var i=n.getScale();
160n.letters.forEach(function(t,e){n.verticalMode?Q.set(t,{y:n.letterXs[e]*i}):Q.set(t,{x:n.letterXs[e]*i})})},this.resetLowResourceMode=function(){n.letters.forEach(function(t,e){var i=e<n.tweenStarts.length?n.tweenStarts[e]:n.tweenDefault;n.verticalMode?Q.set(t,{x:i.y,scaleX:i.scaleY,scaleY:i.scaleX,force3D:!0,opacity:0,immediateRender:!0}):Q.set(t,{y:i.y,scaleX:i.scaleX,scaleY:i.scaleY,force3D:!0,opacity:0,immediateRender:!0})}),n.wasReset=!0},this.reset=function(){n.letters.forEach(function(t,e){var i=e<n.tweenStarts.length?n.tweenStarts[e]:n.tweenDefault;Q.set(t,{y:i.y,scaleX:i.scaleX,scaleY:i.scaleY,immediateRender:!0})}),n.wasReset=!0},this._element=t,this.verticalMode=e,this._lowResourceMode=i,this._svgElement=t.querySelector("svg"),this._subtitle=this.verticalMode?null:t.querySelector("span");var r=this._svgElement.getAttribute("viewBox").split(" ");this.viewBoxWidth=parseFloat(r[2]),this.viewBoxHeight=parseFloat(r[3]),CSSPlugin.useSVGTransformAttr=!1,this._subtitle&&Q.set(this._subtitle,{opacity:0}),this.splitSVGToLetters(),p.signalResize.add(this.resize)}return function(t,e,i){e&&xt(t.prototype,e),i&&xt(t,i)}(o,[{key:"getOriginalSVGString",value:function(){return this._svgElement.outerHTML}},{key:"getScale",value:function(){return this.verticalMode?this._svgElement.clientWidth/this.viewBoxWidth:this._svgElement.clientHeight/this.viewBoxHeight}},{key:"getSVGChildren",value:function(t){for(var e,i=0,n=t.childNodes,r=[];e=n[i++];)1===e.nodeType&&r.push(e);return r}},{key:"splitSVGToLetters",value:function(){var r=this,o=Array.from(this._svgElement.querySelectorAll("[id^='word']")),i=[],s=-1,a=0;0===o.length?i=this.getSVGChildren(this._svgElement.querySelector("g")):(o.forEach(function(t){var e;i=(e=i).concat.apply(e,_t(r.getSVGChildren(t))),r.wordGroups.push([])}),i.reverse(),o=o.reverse(),s=this.getSVGChildren(o[0]).length);var l=this.getScale();this.wrapper=document.createElement("div"),this.wrapper.style.width="100%",this.wrapper.style.height="100%",this.wrapper.style.position="absolute",this.wrapper.style.left="0px",this.wrapper.style.top="0px",this._lowResourceMode&&(this.wrapper.style.visibility="hidden",this._svgElement.style.visibility="visible");var h="";i.forEach(function(t,e){var i=t.getBBox(),n='<svg viewBox="'.concat(r.verticalMode?[0,i.y,r.viewBoxWidth,i.height].join(" "):[i.x,0,i.width,r.viewBoxHeight].join(" "),'" xml:space="http://www.w3.org/2000/svg">').concat(t.outerHTML,"</svg>");h+=n,r.letterBBoxs.push(i),r.letterXs.push(r.verticalMode?i.y:i.x)}),this.wrapper.innerHTML=h,this.letters=Array.from(this.wrapper.childNodes),this.letters.forEach(function(t,e){var i=r.letterBBoxs[e];if(-1!==s){var n=e<r.tweenStarts.length?r.tweenStarts[e]:r.tweenDefault;r.verticalMode?Q.set(t,{css:{y:i.y*l,position:"absolute",top:0,x:n.y,scaleX:n.scaleY,scaleY:n.scaleX,opacity:0,force3D:!0}}):Q.set(t,{css:{x:i.x*l,position:"absolute",left:0,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY,opacity:0,force3D:!0}}),r.wordGroups[a].push(t),s-1<=e&&++a<r.wordGroups.length&&(s+=r.getSVGChildren(o[a]).length)}else r.verticalMode?Q.set(t,{css:{y:i.y*l,position:"absolute",top:0,x:r.YDisplace,scaleY:1.5,opacity:0,force3D:!0}}):Q.set(t,{css:{x:i.x*l,position:"absolute",left:0,y:r.YDisplace,scaleX:1.5,opacity:0,force3D:!0}})}),this._svgElement.parentNode.appendChild(this.wrapper)}},{key:"show",value:function(t,e,i){var n=this,r=0<arguments.length&&void 0!==t&&t,o=1<arguments.length&&void 0!==e&&e,s=2<arguments.length&&void 0!==i?i:1;if(this.hidden){this.hidden=!1,this.timeline&&this.timeline.kill(),this.wasReset||(this._lowResourceMode?this.resetLowResourceMode():this.reset()),this.timeline=new S({delay:o?.25:0});this._lowResourceMode&&(Q.killTweensOf(this.wrapper),Q.killTweensOf(this._svgElement),Q.set(this.wrapper,{autoAlpha:1}),Q.to(this._svgElement,r?0:.2,{autoAlpha:0})),0<this.wordGroups.length?this.wordGroups.forEach(function(t,e){n.timeline.to(t,0,{opacity:1,force3D:!0},.25*e),n.timeline.to(t,.65,{scaleX:1.0001,scaleY:1,ease:bt,force3D:!0},.25*e),n.verticalMode?n.timeline.to(t,.65,{x:0,ease:wt,force3D:!0},.25*e):n.timeline.to(t,.65,{y:0,ease:wt,force3D:!0},.25*e)}
160):this.letters.forEach(function(t,e){var i=gt(0,3)/9;n.timeline.to(t,0,{opacity:1,force3D:!0},i),n.timeline.to(t,.65,{scaleX:1.0001,scaleY:1,ease:bt,force3D:!0},i),n.verticalMode?n.timeline.to(t,.65,{x:0,ease:wt,force3D:!0},i):n.timeline.to(t,.65,{y:0,ease:wt,force3D:!0},i)}),this._subtitle&&this.timeline.to(this._subtitle,.25,{opacity:1},0),this.verticalMode&&(this._element.classList.add("active"),this.timeline.timeScale(.65)),1!==s&&this.timeline.timeScale(s),r&&this.timeline.progress(1)}}},{key:"hide",value:function(t,e){var n=this,r=0<arguments.length&&void 0!==t&&t,o=1<arguments.length&&void 0!==e?e:1;this.hidden||(this.hidden=!0,this.timeline&&this.timeline.kill(),this._lowResourceMode?(Q.killTweensOf(this.wrapper),Q.killTweensOf(this._svgElement),r?Q.set(this.wrapper,{autoAlpha:0}):Q.to(this.wrapper,.2,{autoAlpha:0,onComplete:this.resetLowResourceMode}),Q.set(this._svgElement,{autoAlpha:1})):(this.letters.forEach(function(t,e){var i=e<n.tweenStarts.length?n.tweenStarts[e]:n.tweenDefault;n.verticalMode?Q.to(t,r?0:.3*o,{x:i.y,scaleX:i.scaleY,scaleY:i.scaleX,force3D:!0}):Q.to(t,r?0:.3*o,{y:i.y,scaleX:i.scaleX,scaleY:i.scaleY,force3D:!0}),e===n.letters.length-1&&n.verticalMode?Q.to(t,r?0:.1*o,{opacity:0,force3D:!0,onComplete:function(){n._element.classList.remove("active")}}):Q.to(t,r?0:.1*o,{opacity:0,force3D:!0})}),this._subtitle&&Q.to(this._subtitle,r?0:.15*o,{opacity:0})))}},{key:"hideMenu",value:function(t){var e=0<arguments.length&&void 0!==t&&t;this.hidden||(this.hidden=!0,this.timeline&&this.timeline.kill(),this.wasReset=!1,this.timeline=new S,this.timeline.staggerTo(this.letters,e?0:.15,{opacity:0,force3D:!0},0,0,this.reset))}}]),o}();function Et(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function St(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Pt(t,e,i){return e&&Ot(t.prototype,e),i&&Ot(t,i),t}var At=[],Ct=0,It=0;var Mt=function(){function a(t,e){St(this,a),this.portraitMode=!1;var i=t[0],n=decodeURIComponent(t[1]);this.width=parseInt(t[2]),this.height=parseInt(t[3]);var r=mt.scaleToFill(new vt(this.width,this.height),new vt(800,538));this.naturalWidth=r.width,this.naturalHeight=r.height;var o="?fm=".concat(v.WEBP_SUPPORTED?"webp":"jpg","&q=65&w=").concat(this.naturalWidth,"&h=").concat(this.naturalHeight,"&fit=fill");if(this.portraitMode=r.width<=800,this.container=document.createElement("div"),this.containerInner=document.createElement("div"),this.portraitMode&&this.container.classList.add("portrait"),this.image=new Image,this.image.src=i+o,this.container.appendChild(this.containerInner),this.containerInner.classList.add("GeniusMode-imageContainer"),this.containerInner.appendChild(this.image),this.colorImage=new Image,this.colorImage.src=this.image.src,this.colorImage.classList.add("GeniusMode-colorImage"),Q.set(this.colorImage,{opacity:0}),this.container.appendChild(this.colorImage),this.container.classList.add("GeniusMode-image"),n){this.captionContainer=document.createElement("div"),this.captionContainer.classList.add("GeniusMode-captionContainer");var s=document.createElement("p");s.textContent=n,this.captionContainer.appendChild(s),this.container.appendChild(this.captionContainer),Q.set(this.captionContainer,{opacity:0,y:30})}this.container.appendChild(function(){var t=document.createElement("div");return t.classList.add("GeniusMode-progressBar"),At.push(t),t}()),e.appendChild(this.container)}return Pt(a,[{key:"addTransitionToTimeline",value:function(t,e,i,n,r,o,s,a,l){var h=.5/n;this.container.style.width="",this.container.style.height="",this.container.style.display="none",this.container.style.display="";var u=this.container.getBoundingClientRect(),c=u.width,d=u.height,f=me.g.easeOut;0<o&&t.fromTo(At[o-1],.5*h,{opacity:1},{opacity:0}
160,i),t.to(this.container,h,{width:c*l,height:d*l,autoRound:!1,ease:f},i),t.fromTo(this.colorImage,h,{opacity:0},{opacity:1},i);var p=i+h,v=h;this.captionContainer&&(t.fromTo(this.captionContainer,v,{opacity:0},{opacity:1},p),t.to(this.captionContainer,v,{y:0,ease:f},p));var m=i+e;if(this.portraitMode){var g=this.naturalHeight*(c/this.naturalWidth)*l;t.to(this.colorImage,e-h,{ease:me.d.easeInOut,y:-Math.floor(g-d*l)},i+h)}else{var y=this.naturalWidth*(d/this.naturalHeight)*l;t.to(this.colorImage,e-h,{ease:me.d.easeInOut,x:-Math.floor(y-c*l)},i+h)}if(t.to(this.container,h,{width:c,height:d,autoRound:!1,ease:f},m),a)t.to(r,h,{x:yt(-c*(o+1),-(Ct+(c*l-c)),0),ease:me.g.easeOut},i),s&&t.to(r,h,{x:-Ct,ease:me.g.easeOut},i+e);else{var _=Math.ceil(u.top+u.height-It);s?t.to(r,h,{y:-Ct,ease:me.g.easeOut},m):_<Ct+d*l-d?t.to(r,h,{y:-_,ease:me.g.easeOut,autoRound:!1},m):t.to(r,h,{y:-(Ct+d*l-d),ease:me.g.easeOut,autoRound:!1},m)}t.to(this.colorImage,.5*h,{x:0,y:0,ease:f},m),t.to(this.colorImage,.5*h,{opacity:0},m+.5*h),this.captionContainer&&t.to(this.captionContainer,h,{opacity:0},m)}}]),a}(),kt=function(){function c(t,e,i,n,r,o,s,a,l){var h,u=this;St(this,c),this.container=document.createElement("div"),this.timeDiff=0,this.horizontalMode=!0,this.collapsed=!0,this.killing=!1,this.svgArrow='<svg width="7" height="11" xmlns="http://www.w3.org/2000/svg"><path d="M6.37 4.02C4.5 2.7 2.67 1.21.58.05A.4.4 0 0 0 .1.13.4.4 0 0 0 .14.7c1.53 1.35 3.05 2.74 4.7 4.03L2.88 6.85c-.84.9-1.68 1.82-2.5 2.78a.4.4 0 0 0 0 .48.4.4 0 0 0 .54.1A32.64 32.64 0 0 0 6.5 5.11l.01-.01.05-.06a.74.74 0 0 0-.18-1.03" fill="#e7e5df" fill-rule="evenodd"/></svg>',this.collapseInteracted=!1,this.readMoreOverlayButtonMobileVisible=!1,this.initedRest=!1,this.canStart=!1,this.uiStarted=!1,this.QUICK_INIT=!1,this.nextIndex=-1,this.initRest=function(){var t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];u.canStart=t,u.initedRest||!1!==u.killing||(u.initedRest=!0,u.QUICK_INIT||u.setupVideo(u.videoSrc),u.resize(),u.horizontalMode||u.container.classList.add("collapsed"),u.setupRelatedImages(u.images),u.resize(),Q.set(At,{xPercent:u.horizontalMode?-100:0,yPercent:u.horizontalMode?0:-100,immediateRender:!0}),u.resize(),u.setupCloseButton(),u.setupExpandButton(),p.signalResize.add(u.resize)),u.startUI()},this.close=function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if(t&&t.preventDefault(),!u.killing&&u.uiStarted){if(u.endCountdownTimeline&&(u.endCountdownTimeline.kill(),u.endCountdownTimeline=null),u.killing=!0,p.signalResize.remove(u.resize),u.closeButton.removeEventListener("click",u.close),u.collapseButton.removeEventListener("click",u.toggleCollapse),u.player){try{u.player.pause()}catch(t){}u.player.off("timeupdate",u.updateTimeline),u.player.off("seeked",u.seeked)}e&&(Q.to(u.container,.3,{autoAlpha:0}),u.closeGeniusModeHandler(t)),"#"!==window.location.hash&&(window.location.hash="")}},this.kill=function(){u.timeline&&u.timeline.kill(),At=[],It=Ct=0,u.container.parentElement.removeChild(u.container),u.player&&(u.player.dispose(),u.player=null),u.close(null,!1)},this.resize=function(){if(u.horizontalMode=p.width<992,u.titleContainer&&(It=u.horizontalMode?0:u.titleContainer.getBoundingClientRect().height,Ct=u.horizontalMode?u.relatedImagesListContainer.clientWidth+u.titleContainer.clientWidth-p.width:u.relatedImagesListContainer.getBoundingClientRect().height-(p.height-It)),u.relatedImagesListContainer&&(u.relatedImagesListContainer.setAttribute("style",""),Q.set(u.relatedImagesListContainer,{clearProps:"x, y",immediateRender:!0})),u.timeline){var t=u.timeline.progress();if(Q.killTweensOf(u.timeline),u.timeline.progress(0),u.timeline.render(),u.timeline.kill(),u.timeline=null,u.relatedImagesListContainer){u.relatedImagesListContainer.setAttribute("style",""),Q.set(u.relatedImagesListContainer,{clearProps:"x, y",immediateRender:!0});u.relatedImagesListContainer.offsetTop}u.titleContainer&&(It=u.horizontalMode?0:u.titleContainer.getBoundingClientRect().height,Ct=u.horizontalMode?u.relatedImagesListContainer.clientWidth+u.titleContainer.clientWidth-p.width:u.relatedImagesListContainer.getBoundingClientRect().height-(p.height-It)),u.setupTimeline(),u.timeline.progress(t),u.collapsed&&u.horizontalMode?(Q.set(u.relatedImagesContainer,{clearProps:"transform"}),Q.set(u.videoElement,{clearProps:"width"})):u.collapsed&&!u.horizontalMode&&(Q.set(u.relatedImagesContainer,{xPercent:-200}),Q.set(u.videoElement,{width:"100%"}))}},this.startUI=function(){!u.killing&&u.canStart&&u.metadataReadyEventsSetup&&!u.uiStarted&&(u.uiStarted=!0,u.videoElement=u.container.querySelector(".videoElement"),u.collapsed&&!u.horizontalMode&&(Q.set(u.relatedImagesContainer,{xPercent:-200}),Q.set(u.videoElement,{width:"100%"})),Q.to(u.closeButton,.3,{autoAlpha:1}),Q.to(u.videoElement,.3,{opacity:1}),u.horizontalMode?Q.fromTo(u.relatedImagesContainer,.3,{opacity:0}
160,{opacity:1,onComplete:function(){v.I_OS||u.player.play()}}):(Q.fromTo(u.bgOverlay,.3,{opacity:0},{opacity:1,onComplete:function(){v.I_OS||u.player.play()}}),Q.to(u.expandButton,.8,{autoAlpha:1}),Q.to(u.expandButton,1.2,{xPercent:0,ease:ut}),Q.set(u.relatedImagesContainer,{opacity:1})),u.setupTimeline(),u.player.on("timeupdate",u.updateTimeline),u.player.on("seeked",u.seeked),v.I_OS||u.player.play(),v.I_OS&&(u.unmuteOverlay=document.createElement("div"),u.unmuteOverlay.classList.add("GeniusMode-unmuteOverlay"),u.container.addEventListener("click",u.unMute),u.container.addEventListener("touchstart",u.unMute),Q.set(u.unmuteOverlay,{autoAlpha:0}),u.videoElement.appendChild(u.unmuteOverlay),Q.to(u.unmuteOverlay,.5,{autoAlpha:1})),u.addToHistory())},this.videoReady=function(){u.startUI()},this.videoEnded=function(){if(void 0===u._index||u.endCountdownTimeline)u.close(null);else{u.endCountdownTimeline=new R({delay:.5});var t="Next song starts in ";u.endTitle.hide(!0),u.endScreenNextSong.textContent=t+9,u.endCountdownTimeline.fromTo(u.endScreenNextSong,1,{opacity:0},{opacity:1});for(var e=0;e<9;e++)u.endCountdownTimeline.set(u.endScreenNextSong,{textContent:t+(10-e-1)},e+1);u.endCountdownTimeline.addCallback(u.nextVideo,"+=1"),Q.to(u.endScreenContainer,.5,{autoAlpha:1,onComplete:function(){return u.endTitle.show()}})}},this.nextVideo=function(){u.close(null,!1),Q.to(u.container,.5,{opacity:0,onComplete:function(){u._nextGeniusMode(u.nextIndex)}})},this.replay=function(){u.endCountdownTimeline&&(u.endCountdownTimeline.kill(),u.endCountdownTimeline=null,Q.to(u.endScreenContainer,.5,{autoAlpha:0}),u.player.currentTime(0),u.player.play())},this.pauseCountdown=function(){u.endCountdownTimeline&&(Q.to(u.endScreenNextSong,.3,{opacity:0}),u.endCountdownTimeline.pause())},this.resumeCountdown=function(){u.endCountdownTimeline&&(Q.to(u.endScreenNextSong,.3,{opacity:1}),u.endCountdownTimeline.play())},this.toggleReadmoreOverlayButtonMobile=function(t){return u.readMoreOverlayButtonMobileVisible=!u.readMoreOverlayButtonMobileVisible,Q.set(u.readMoreOverlayButtonMobile,{yPercent:u.readMoreOverlayButtonMobileVisible?-100:0}),Q.killDelayedCallsTo(u.toggleReadmoreOverlayButtonMobile),u.readMoreOverlayButtonMobileVisible&&Q.delayedCall(2.5,u.toggleReadmoreOverlayButtonMobile),!1},this.metadataReady=function(t){u.timeline||(u.player.off("timeupdate",u.metadataReady),isNaN(u.player.duration())?u.player.on("timeupdate",u.metadataReady):(u.metadataReadyEventsSetup=!0,u.startUI()))},this.setupTimeline=function(){if(!u.timeline){u.timeline=new R({paused:!0});var t=u.images.length,i=u.player.duration(),n=5/i;Q.set(u.relatedImagesContainer,{clearProps:"transform",immediateRender:!0});var r=(1-n)/t,e=n/5,o=.35*e;Q.set(At,{clearProps:"xPercent, yPercent, opacity",immediateRender:!0}),u.timeline.addCallback(u.expandRelatedImages,n),u.timeline.set(u.expandButtonArrow,{opacity:0},0),u.timeline.staggerFromTo(u.countdownNumbers.slice(1,5),o,{opacity:0},{opacity:1},e,e),u.timeline.staggerTo(u.countdownNumbers,o,{opacity:0,delay:e},e,0),u.timeline.fromTo(u.countdownWrapper,o,{opacity:1},{opacity:0},n),u.timeline.fromTo(u.expandButtonArrow,o,{opacity:0},{opacity:1},n),u.timeline.staggerFromTo(At,r,{xPercent:u.horizontalMode?-100:0,yPercent:u.horizontalMode?0:-100},{xPercent:u.horizontalMode?0:null,yPercent:u.horizontalMode?null:0,ease:me.d.easeNone},r,n);var s=u.horizontalMode?yt(.8*p.width,320,400)/300:400/280;u.sliderItems.forEach(function(t,e){t.addTransitionToTimeline(u.timeline,r,n+e*r,i,u.horizontalMode?u.relatedImagesContainer:u.relatedImagesListContainer,e,e===u.sliderItems.length-1,u.horizontalMode,s)}),u.timeline.addCallback(u.collapsedRelatedImages,1-2/i),u.collapsed&&!u.horizontalMode&&Q.set(u.relatedImagesContainer,{xPercent:-200})}},this.seeked=function(){u.updateTimeline(null,!0)},this.updateTimeline=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(u.timeline){var n=u.player.currentTime(),r=n-u.timeDiff;u.timeDiff=n,!1===e?Q.to(u.timeline,r,{progress:n/u.player.duration(),ease:me.d.easeNone}):u.timeline.progress(null!==i?i:n/u.player.duration())}},this.expandRelatedImages=function(){u.collapseInteracted||!u.collapsed||u.horizontalMode||u.toggleCollapse(null)},this.collapsedRelatedImages=function(){u.collapsed||u.horizontalMode||u.toggleCollapse(null)},this.toggleCollapse=function(t){if(t&&t.preventDefault(),u.collapseInteracted||u.container.classList.add("collapseInteracted"),u.collapseInteracted=!0,u.collapsed=!u.collapsed,u.collapsed)u.container.classList.add("collapsed"),Q.to(u.expandButton,.8,{autoAlpha:1}),Q.to(u.expandButton,1.2,{xPercent:0,ease:ut}),Q.to(u.relatedImagesContainer,1.2,{xPercent:-200,ease:ut}),Q.to(u.videoElement,.8,{width:"100%",ease:ut});else{u.container.classList.remove("collapsed");var e=u.container.clientWidth;Q.to(u.expandButton,.3,{autoAlpha:0}),Q.to(u.expandButton,.6,{xPercent:-100,ease:ut}),Q.to(u.videoElement,.8,{width:e-Math.min(280/1440*e,400),clearProps:"width",ease:ut}),Q.to(u.relatedImagesContainer,.6,{xPercent:0,clearProps:"transform",ease:ut})}},this.unMute=function(){u.player&&(u.container.removeEventListener("click",u.unMute),u.container.removeEventListener("touchstart",u.unMute),u.player.muted(!1),Q.to(u.unmuteOverlay,.5,{autoAlpha:0}))},this.link=n,this.videoSrc=t,this.closeGeniusModeHandler=r,this._elements=o,this._index=s,this._titles=l,void 0!==this._index&&(this.nextIndex=this._index+1<this._elements.length?this._index+1:0),this._nextGeniusMode=a,e.pop(),this.images=e.map(function(t){return t.split("|")}),(h=this.images).push.apply(h,Et(this.images)),this.title=i,this.QUICK_INIT&&(this.setupVideo(t),this.initRest(!1))}return Pt(c,[{key:"setupCloseButton",value:function(){this.closeButton=document.createElement("a"),this.closeButton.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 47.14 45.5"><path class="DrawCircle" d="M33.72 1.25A28.4 28.4 0 0012.43 4.7a22.6 22.6 0 00-7.77 7.75 21.33 21.33 0 00-1.81 16.69 22.75 22.75 0 0014.47 14.8 22.79 22.79 0 0020.42-3.41 22.79 22.79 0 008.89-18.7A20.86 20.86 0 0035.88 4.29C29.14.77 20.89 2 14.4 5.5 8.23 8.82 3.05 14.32 1.2 21.22a19.9 19.9 0 00-.46 2.14 15.44 15.44 0 001 8.93 19.1 19.1 0 001 1.92" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"/></svg>
160<svg xmlns="http://www.w3.org/2000/svg"  class="DrawIcon" viewBox="0 0 47.14 45.5"><path fill="#fff" d="M19.56 29.51a.76.76 0 01-.77-.73c0-.45 3-3.48 5.26-5.78a40.57 40.57 0 015.54-4.81.57.57 0 01.65.63c0 .36-2.33 2.91-4.86 5.44s-5.45 5.22-5.82 5.25z"/><path fill="#fff" d="M18.84 18.83a.76.76 0 01.73-.77c.45 0 3.48 3 5.78 5.27a41.62 41.62 0 014.81 5.53.58.58 0 01-.63.66c-.36 0-2.91-2.33-5.45-4.87-2.39-2.39-5.22-5.45-5.24-5.82z"/></svg>',this.closeButton.classList.add("GeniusMode-closeButton"),this.closeButton.href="/",this.container.appendChild(this.closeButton),new ct(this.closeButton,this.closeButton),Q.set(this.closeButton,{autoAlpha:0}),this.closeButton.addEventListener("click",this.close)}},{key:"setupExpandButton",value:function(){this.expandButton=document.createElement("div"),this.expandButton.classList.add("GeniusMode-expandButton"),this.expandButton.innerHTML=this.svgArrow,this.expandButtonArrow=this.expandButton.querySelector("svg"),this.countdownWrapper=document.createElement("div"),this.countdownWrapper.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60">\n  <path d="M30,51A21,21,0,1,1,51,30,21,21,0,0,1,30,51Zm0-40.9A20,20,0,1,0,50,30,20,20,0,0,0,30,10.05Z" fill="#666"/>\n  <path d="M30,46.15A16.15,16.15,0,1,1,46.15,30,16.17,16.17,0,0,1,30,46.15Zm0-31.29A15.15,15.15,0,1,0,45.15,30,15.16,15.16,0,0,0,30,14.86Z" fill="#666"/>\n  <rect x="29.73" width="0.55" height="60.08" fill="#666"/>\n  <rect y="29.77" width="60" height="0.55" fill="#666"/>\n  <path class="number" d="M30.28,37.86c-2.3.14-5.06-1-5.06-3.1a1.33,1.33,0,0,1,1.38-1.42c1.06,0,1.54,1.12,1.6,1.92a3,3,0,0,1-.28,1.28,2.43,2.43,0,0,0,1.46.5c2,.08,3-1.64,3-4.18,0-3.1-.74-4.38-2.74-4.46a4.59,4.59,0,0,0-3,1.56L26,29.74l.44-8.22h6c.44,0,.8.06,1.12-.24a1.09,1.09,0,0,0,.36-.66h.79L34,23.8h-6.7l-.18,4.72a4.5,4.5,0,0,1,3.46-1.3c2.68.06,4.61,1.72,4.74,5.06A5.48,5.48,0,0,1,30.28,37.86Z" fill="#e7e5df"/>\n  <path class="number" d="M33.22,33.94V36.8l1.36.14v.78H29.16v-.78l1.44-.16V33.94H24.8V32.76l.24-.4a36.67,36.67,0,0,0,3.48-6.7,22.5,22.5,0,0,0,1.24-4.4h3.08a34.8,34.8,0,0,1-2.64,5.22c-1.66,2.62-4.38,6.24-4.44,6.3H30.6V27.9S31.5,26.72,32,26s.72-1.16,1.14-1.88v8.68h2.49v1.18Z" fill="#e7e5df"/>\n  <path class="number" d="M30,38.1c-2.14,0-4.64-1.14-4.64-3a1.34,1.34,0,0,1,1.34-1.5c.86,0,1.38.78,1.54,1.64a3,3,0,0,1-.28,1.6,3.52,3.52,0,0,0,1.72.4c2,.06,2.76-1.82,2.76-3.58,0-3-.9-4.16-2.88-4.18-.32,0-.5.1-.84.12a.53.53,0,0,1-.56-.46.52.52,0,0,1,.56-.48c.38,0,.52.14.84.18S32,28.54,32,25.32c0-1.58-.8-3.24-2.48-3.2a2.24,2.24,0,0,0-1.52.56,2.81,2.81,0,0,1,.42,1.46c-.08.88-.38,1.74-1.5,1.72a1.19,1.19,0,0,1-1.2-1.32c0-2.12,2.42-3.24,4.52-3.16,2.62.08,4.44,1.46,4.46,3.68,0,3.38-3.74,4-3.76,4s4.32.78,4.36,4.5C35.29,36.24,32.57,38.12,30,38.1Z" fill="#e7e5df"/>\n  <path class="number" d="M34.17,38.08a4.24,4.24,0,0,0-.5-.18,3.42,3.42,0,0,0-.9-.18H25.41v-.9l.68-1.16c2.58-4.2,5.92-6.56,5.86-9.8,0-1.72-.88-3.5-2.84-3.4a2.45,2.45,0,0,0-2,1,2.73,2.73,0,0,1,1.06,1.84,1.64,1.64,0,0,1-1.48,1.66,1.56,1.56,0,0,1-1.44-1.72c0-2.34,2.42-3.76,4.76-3.78a4.51,4.51,0,0,1,4.83,4.22C34.93,29.74,30,31.1,27.51,35l-.22.36h4.34a2.45,2.45,0,0,0,2-1,2.55,2.55,0,0,0,.7-1.36l.91.1Z" fill="#e7e5df"/>\n  <path class="number" d="M26.53,37.7v-.76l2.7-.28V25c0-.58,0-1.12-.54-1.42A4.27,4.27,0,0,0,27,23.46H25.89L26,22.7c1.18-.18,1.9-.34,3.06-.62a27.56,27.56,0,0,0,2.86-.82V36.64l2.7.28v.78Z" fill="#e7e5df"/>\n</svg>',this.countdownNumbers=Array.from(this.countdownWrapper.querySelectorAll(".number")),this.expandButton.appendChild(this.countdownWrapper),this.container.insertBefore(this.expandButton,this.relatedImagesContainer),Q.set(this.expandButton,{autoAlpha:0,xPercent:-100}),this.expandButton.addEventListener("click",this.toggleCollapse)}},{key:"addToHistory",value:function(){void 0!==this._index?window.location.hash="extra-material-"+this._index:window.location.hash="extra-material",window.gtag("config",window.UA_ID,{page_title:"Genius Mode - "+this.title,page_path:window.location.pathname+window.location.hash})}},{key:"setupVideo",value:function(t){var i=this,n=document.createElement("video");n.classList.add("video-js"),n.classList.add("videoElement"),n.controls=!0,n.autoplay=!0,n.setAttribute("playsinline",""),v.I_OS&&(n.muted=!0,n.setAttribute("muted","")),n.setAttribute("autoplay",""),this.video=n,this.container.appendChild(n),this.container.classList.add("GeniusMode"),null===this.link&&this.container.classList.add("WorkPageMode");var e=document.createElement("source");e.src=t,e.type="video/mp4",n.appendChild(e),document.body.appendChild(this.container),r.e(1).then(r.bind(null,392)).then(function(t){var e=t.default;window.videojs=e,i.player=e(n,{nativeControlsForTouch:!1,fullscreen:{options:{navigationUI:"hide"}},controlBar:{pictureInPictureToggle:!1,fullscreenToggle:!1},userActions:{doubleClick:!1}},i.videoReady),i.player.on("loadedmetadata",i.metadataReady),i.player.on("ended",i.videoEnded)})}},{key:"setupRelatedImages",value:function(t){var i=this;this.itemsSliderContainer=document.createElement("div"),this.relatedImagesContainer=document.createElement("div"),this.relatedImagesContainer.classList.add("GeniusMode-relatedImagesContainer"),this.titleContainer=document.createElement("div"),this.titleContainer.classList.add("GeniusMode-titleContainer"),this.collapseButton=document.createElement("a"),this.collapseButton.href="#collapse-extra-content",this.collapseButton.classList.add("GeniusMode-toggleButton"),this.collapseButton.innerHTML="<div><span>".concat(this.title,"</span>").concat(this.svgArrow,'</div><span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 350.92 67.99"><g data-name="Layer 1"><path d="M63.76 45.74l4.5-6.54c2-2.94 2.46-3.24 5.22-3.6v-2h-10v2c.24.06.42.06.6.12 1.74.18 2.46.6 2.46 1.5a4.14 4.14 0 01-.84 2.1l-3.18 4.8L57 36l2.76-.42v-2H48.94v2l2.52.42 7.74 11.36-4.5 6.84c-1.32 2.1-1.74 2.64-2.52 3.24a5.41 5.41 0 01-3.24 1.2v2H59.2v-2a4.3 4.3 0 00-.78-.06c-1.68-.06-2.52-.6-2.52-1.68a6.35 6.35 0 011.38-3l3.18-4.8L67 58.22l-2.88.42v2h10.62v-2l-2-.42zM88.6 58c-2.64 0-3.72-1.5-3.72-5.1V36.14h7.32v-2.52h-7.32V22.46l-4.56 3.6v7.56h-3.78v2.52h3.78V50l.06 3.78a12.54 12.54 0 00.6 4.14 5.82 5.82 0 005.4 3.72c2.7 0 5.34-1.44 7.62-4.2l-1-1.62C91 57.5 90.1 58 88.6 58zM111.16 32.6c-3.42 0-6.36 3.72-8.22 10.38a29.59 29.59 0 00-.54-5.98 14.47 14.47 0 00-1.68-4.62l-5.22 2.4v2a3.45 3.45 0 01.6-.12c1.92 0 2.76 2.16 2.76 7.14v14.42l-3 .42v2h10.8v-2l-3.24-.42v-5.64c0-7.68 2.22-14.76 4.68-14.76a6 6 0 011.2.24 5.58 5.58 0 002 .42 3 3 0 002.82-2.94 3 3 0 00-2.96-2.94zM198.34 23l3.54-.36v
160-2h-9.54l-9.6 25-9.36-25h-9.54v2l3.66.36-.84 28.86c-.06.9-.06 1.62-.12 2a4.86 4.86 0 01-.48 2.22 4.11 4.11 0 01-1.26 1.5 4.9 4.9 0 01-2.94 1.08v2h12.42v-2c-3.9-.42-5.16-1.8-5.16-5.76v-1.8l.6-25.2 10.56 27.3h1.62l11-27.3.66 32.34-3.6.42v2h12.72v-2l-3.54-.42zM227.92 57.92c-1 0-1.5-1-1.5-2.82V42.2c0-3.3-.54-4.8-2.34-6.42a16.8 16.8 0 00-10.92-3.72c-3 0-4.74 1.26-4.74 3.36a2.67 2.67 0 002.82 2.64 2.84 2.84 0 002.28-1.14l1.26-1.92a1.48 1.48 0 011.26-.72A7.13 7.13 0 01219.7 36a6.32 6.32 0 011.62 2.34 8.19 8.19 0 01.54 3.42v.48a57.23 57.23 0 00-7.2 2.7c-5.1 2.28-7.86 5.7-7.86 9.6a7.11 7.11 0 007.26 7.14 9 9 0 008.28-5.46c.06 3.36 1.44 5.46 3.72 5.46 1.38 0 3.18-1.38 5-3.84l-1.32-1.14c-.86.92-1.34 1.22-1.82 1.22zm-6.06-3.18c-1.86 2.1-3.78 3.18-5.7 3.18-2.52 0-4.5-2.22-4.5-5.1 0-3.12 1.92-5.58 5.46-7 1-.42 2.28-.9 3.72-1.38l1-.3zM245.08 58c-2.64 0-3.72-1.5-3.72-5.1V36.14h7.32v-2.52h-7.32V22.46l-4.56 3.6v7.56H233v2.52h3.78V50l.06 3.78a12.54 12.54 0 00.6 4.14 5.82 5.82 0 005.4 3.72c2.7 0 5.34-1.44 7.62-4.2l-1-1.62c-1.98 1.68-2.88 2.18-4.38 2.18zM292.84 32.6c-3.42 0-6.36 3.72-8.22 10.38a29.59 29.59 0 00-.54-5.94 14.47 14.47 0 00-1.68-4.62l-5.22 2.4v2a3.45 3.45 0 01.6-.12c1.92 0 2.76 2.16 2.76 7.14v14.38l-3 .42v2h10.8v-2l-3.24-.42v-5.64c0-7.68 2.22-14.76 4.68-14.76a6 6 0 011.2.24 5.58 5.58 0 002 .42 3 3 0 002.82-2.94 3 3 0 00-2.96-2.94zM306.34 32.36l-7.56 2.46v1.86l.42-.12a6 6 0 011-.12c1.08 0 1.62.66 1.62 2v19.78l-3 .42v2h10.28v-2l-2.76-.42zM303.94 26.36a3.24 3.24 0 003.24-3.12 3.13 3.13 0 00-3.18-3.18 3.25 3.25 0 00-3.24 3.18 3.19 3.19 0 003.18 3.12zM334.42 57.92c-1 0-1.5-1-1.5-2.82V42.2c0-3.3-.54-4.8-2.34-6.42a16.8 16.8 0 00-10.92-3.72c-3 0-4.74 1.26-4.74 3.36a2.67 2.67 0 002.82 2.64 2.84 2.84 0 002.26-1.14l1.28-1.92a1.48 1.48 0 011.26-.72A7.13 7.13 0 01326.2 36a6.32 6.32 0 011.62 2.34 8.19 8.19 0 01.54 3.42v.48a57.23 57.23 0 00-7.2 2.7c-5.1 2.28-7.86 5.7-7.86 9.6a7.11 7.11 0 007.26 7.14 9 9 0 008.28-5.46c.06 3.36 1.44 5.46 3.72 5.46 1.38 0 3.18-1.38 5-3.84l-1.32-1.14c-.86.92-1.34 1.22-1.82 1.22zm-6.06-3.18c-1.86 2.1-3.78 3.18-5.7 3.18-2.52 0-4.5-2.22-4.5-5.1 0-3.12 1.92-5.58 5.46-7 1-.42 2.28-.9 3.72-1.38l1-.3zM347.92 58.22V17.6l-7.56 2.94v2.1a7.72 7.72 0 011.14-.18 1.59 1.59 0 011.26.6c.48.66.6 1.08.6 3v32.16l-3 .42v2h10.56v-2zM9.55 23.91A3.56 3.56 0 106 20.35a3.57 3.57 0 003.55 3.56zm0-5.12A1.56 1.56 0 118 20.35a1.56 1.56 0 011.55-1.56zM56.59 24.28A2.25 2.25 0 1058.84 22a2.25 2.25 0 00-2.25 2.28z"/><path d="M58.34 11c0-6.6-5.78-11-14.34-11-12.55 0-21.89 9-21.89 16.94a12.74 12.74 0 003.77 8.69 28.56 28.56 0 00-15.8 6.05C3.77 36.55 0 43.37 0 49.92 0 61.23 9.62 68 18.92 68 35.1 68 44 56.23 44 48.11a10.48 10.48 0 00-10.43-10.19c-8.18 0-14.69 5.09-20.51 16a1.75 1.75 0 003.09 1.65c5.21-9.79 10.58-14.16 17.42-14.16a6.94 6.94 0 017 6.69c0 10.9-13.86 16.38-21.62 16.38C12.52 64.49 3.5 60 3.5 49.92c0-5.39 3.34-11.32 8.72-15.47a24.32 24.32 0 0119.94-4.87 10.89 10.89 0 001.23.28 1.75 1.75 0 00.74-3.41L33 26.18c-3.62-1.13-7.41-5.08-7.41-9.24C25.61 10.16 34.7 3.5 44 3.5c6.61 0 10.88 2.92 10.88 7.45s-4.19 8.87-11.22 11.31a1.75 1.75 0 101.14 3.3c8.47-2.95 13.54-8.41 13.54-14.56zM136.73 63.22a1.51 1.51 0 000 3 1.51 1.51 0 100-3zM117.92 35.56a1.51 1.51 0 100-3 1.51 1.51 0 000 3zM142.26 44.19a1.5 1.5 0 00-2.1.33c-5.13 7-9.41 11-10.51 11.11-.12 0-.39 0-.39-.64 0-2.05 2.84-6.65 5.12-10.34 1-1.59 1.91-3.08 2.66-4.44a1.5 1.5 0 10-2.62-1.46l-.64 1.12a4 4 0 00-3.52-1.79c-5 0-13.79 10.49-13.79 16.51a3.79 3.79 0 003.76 4c1.85 0 4-1.52 6-3.43a3.38 3.38 0 003.38 3.49c.93 0 4.59-.89 12.93-12.34a1.51 1.51 0 00-.28-2.12zm-22 11.38c-.23 0-.76-.09-.76-1 0-2.06 1.69-5.42 4.3-8.55s5.32-5 6.49-5c.73 0 .94.33 1 .44a3.09 3.09 0 01-.29 2.84v.11l-.88 1.44a.6.6 0 00-.08.08c-2.43 3.79-7.75 9.64-9.81 9.64zM128.68 29.66a3.38 3.38 0 10-3.38-3.38 3.39 3.39 0 003.38 3.38zm0-4.76a1.38 1.38 0 11-1.38 1.38 1.38 1.38 0 011.38-1.38zM273.85 44.13a1.5 1.5 0 00-2.1.27c-4.39 5.62-8.5 8.47-12.24 8.47a2.27 2.27 0 01-2.67-2.48c7.28-2 13.53-7.89 13.64-11.55a3.32 3.32 0 00-.92-2.46 3.45 3.45 0 00-2.59-1c-2.26 0-5.46 1.74-8.16 4.44-1.79 1.8-4.83 5.51-5 10.18a5.79 5.79 0 001.47 4.32 5.57 5.57 0 004.2 1.57c4.78 0 9.55-3.15 14.6-9.63a1.51 1.51 0 00-.23-2.13zM267 38.36a.76.76 0 01.44.1.54.54 0 01.07.29c-.05 1.64-4.2 6.23-10 8.3 1.8-4.83 7.18-8.69 9.49-8.69zM268.65 60.18a2.79 2.79 
1600 102.78 2.82 2.79 2.79 0 00-2.78-2.82zm0 4a1.19 1.19 0 111.18-1.18 1.18 1.18 0 01-1.18 1.15zM257.81 30.94a1 1 0 001 .8h.21a1 1 0 00.77-1.19c-1-5-2.15-10.2-3-14a1 1 0 10-2 .46c.88 3.75 1.97 8.93 3.02 13.93zM265.15 29.82h.07a1 1 0 001-.93l.65-9.42a1 1 0 00-.92-1.07 1 1 0 00-1.07.93l-.66 9.42a1 1 0 00.93 1.07z"/></g></svg></span>'),this.collapseButton.addEventListener("click",this.toggleCollapse),this.titleContainer.appendChild(this.collapseButton),this.itemsSliderContainer.appendChild(this.titleContainer),this.relatedImagesListContainer=document.createElement("div"),this.relatedImagesListContainer.classList.add("GeniusMode-relatedImagesListContainer"),this.itemsSliderContainer.appendChild(this.relatedImagesListContainer),this.sliderItems=t.map(function(t,e){return new Mt(t,i.relatedImagesListContainer)});var e='<span>Read about the score</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 47.08 45.5"><path class="DrawCircle" d="M33.66,1.25A28.4,28.4,0,0,0,12.37,4.7,22.52,22.52,0,0,0,4.6,12.45,21.33,21.33,0,0,0,2.79,29.14a22.75,22.75,0,0,0,14.47,14.8,22.79,22.79,0,0,0,20.42-3.41,22.79,22.79,0,0,0,8.89-18.7A20.86,20.86,0,0,0,35.82,4.29C29.08.77,20.83,2,14.34,5.5,8.17,8.82,3,14.32,1.14,21.22c0,.17-.09.33-.13.5A16.93,16.93,0,0,0,2.64,34.14l0,.07" fill="none" stroke="#D9D7CE" stroke-linecap="round" stroke-linejoin="round"/></svg><svg class="DrawIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 47.08 45.5"><path fill="#D9D7CE" d="M34.33 16.42c-6.18-.34-12.39-.18-18.57 0-.95 0-1.7 2.08-.46 2 6-.17 12.1-.34 18.14 0 1 .06 1.94-2 .89-2zM33.61 22.58c-5.72 0-11.41.32-17.14 0a1.3 1.3 0 00-1.22.84c-.13.32-.22 1.15.33 1.18q5.21.29 10.41.18c2.39 0 4.77-.17 7.16-.17 1 0 1.71-2 .46-2zM27.86 29c-1.15-.57-2.73-.33-4-.29-2.71.09-5.42.2-8.13.2-.95 0-1.71 2-.46 2 2.62 0 5.24-.1 7.87-.2.78 0 1.56-.06 2.34 0a5.48 5.48 0 01.69.06l.28.05h.15c.14.05-.17-.07 0 0a1 1 0 001.26-.5c.2-.31.48-1.12 0-1.36z"/></svg>';this.readMoreOverlayButton=document.createElement("a"),this.readMoreOverlayButton.href=this.link,this.readMoreOverlayButton.classList.add("GeniusMode-readMoreOverlayButton"),this.readMoreOverlayButton.innerHTML=e,this.relatedImagesContainer.appendChild(this.readMoreOverlayButton),this.readMoreOverlayButtonMobile=document.createElement("a"),this.readMoreOverlayButtonMobile.href=this.link,this.readMoreOverlayButtonMobile.classList.add("GeniusMode-readMoreOverlayButton"),this.readMoreOverlayButtonMobile.classList.add("GeniusMode-readMoreOverlayButtonMobile"),this.readMoreOverlayButtonMobile.innerHTML=e,this.container.appendChild(this.readMoreOverlayButtonMobile),ot.getInstance().parse(this.readMoreOverlayButton),ot.getInstance().parse(this.readMoreOverlayButtonMobile),new ct(this.readMoreOverlayButton,this.readMoreOverlayButton),this.video.addEventListener("click",this.toggleReadmoreOverlayButtonMobile),this.relatedImagesContainer.addEventListener("click",this.toggleReadmoreOverlayButtonMobile),this.relatedImagesContainer.appendChild(this.itemsSliderContainer),Q.set(this.relatedImagesContainer,{opacity:0}),this.container.appendChild(this.relatedImagesContainer),this.bgOverlay=document.createElement("div"),this.bgOverlay.classList.add("GeniusMode-bgOverlay"),Q.set(this.bgOverlay,{opacity:0}),this.container.appendChild(this.bgOverlay),void 0!==this._index&&this.setupEndScreen()}},{key:"setupEndScreen",value:function(){this.endScreenContainer=document.createElement("div"),this.endScreenContainer.classList.add("GeniusMode-endScreen");var t=this._elements[this.nextIndex];this.endScreenContainer.innerHTML='<img src="'.concat(v.WEBP_SUPPORTED?t.dataset.imageWebp:t.dataset.image,'" />\n<div class="GeniusMode-endScreen-textWrapper">\n\t<div class="GeniusMode-nextVideoWrapper">\n\t\t<span class="GeniusMode-nextSong">Next song starts in 10</span>\n\t\t<div class="TextStyle-PageTitle"><div class="GeniusMode-nextVideoTitle">').concat(this._titles[this.nextIndex].getOriginalSVGString(),"</div><span>").concat(t.dataset.songTitle,'</span></div>\n\t</div>\n\t<div class="GeniusMode-replayButton">\n\t\t<span>').concat(this.title,": ").concat(this._elements[this._index].dataset.songTitle,"</span>\n\t</div>\n</div>"),Q.set(this.endScreenContainer,{autoAlpha:0}),this.container.appendChild(this.endScreenContainer);var e=this.endScreenContainer.querySelector(".TextStyle-PageTitle");this.endTitle=new Tt(e),this.endReplayButton=this.endScreenContainer.querySelector(".GeniusMode-replayButton"),this.endScreenNextSong=this.endScreenContainer.querySelector(".GeniusMode-nextSong"),e.addEventListener("click",this.nextVideo),this.endReplayButton.addEventListener("click",this.replay),this.endReplayButton.addEventListener("mouseover",this.pauseCountdown),this.endReplayButton.addEventListener("mouseout",this.resumeCountdown)}}],[{key:"checkHashStringForGeniusModeIndex",value:function(t){return 0<=t.indexOf("extra-material")?0<=t.indexOf("extra-material-")?parseInt(t.split("#extra-material-")[1]):0:-1}}]),c}();function Rt(t){return(Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Dt(t,e){return!e||"object"!==Rt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Nt(t,e,i){return(Nt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,
160i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ft(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Bt(t,e){return(Bt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Ut=function(){function n(t,e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(r=Dt(this,Ft(n).call(this,t,e))).SKIP_INTRO=!1,r.DEBUG_END=!1,r.videoDuration=20,r.showingVideo=!1,r.selectedWorksModule=null,r.initedModules=!1,r.killed=!1,r.enterClick=function(t){window.removeEventListener("click",r.enterClick),r.enableAudio(),r.welcomeMessage.style.opacity="0",r.soundUpMessage.style.opacity="0",r.loadingLogo.style.setProperty("opacity","1","important"),r.muteToggle.style.opacity="1";r.muteToggle.offsetTop;r.skipButton.style.opacity="1",r.skipButton.style.cursor="pointer",r.videoElement.play()},r.checkMuteMode=function(){v.MUTED?r.muteToggle.classList.add("muted"):r.muteToggle.classList.remove("muted")},r.initModules=function(){r.initedModules||r.killed||(r.initedModules=!0,r.buildModules(),r.templateInComplete())},r.skipVideo=function(t){if(r.initModules(),t){var e=r.videoElement.currentTime;window.gtag("event","skipped_home_video",{event_category:"HomeVideo",event_action:"skip",event_label:"Skipped video at: "+e.toFixed(1)+" seconds ("+(e/r.videoDuration*100).toFixed(0)+"%)",value:e}),t.preventDefault(),v.CAN_PLAY_AUDIO=!v.I_OS}v.I_OS&&(r.muteToggle.style.opacity="0",r.muteToggle.style.pointerEvents="none"),r.disableVideoStuff(),t&&Q.to(r.videoElement,.45,{volume:0}),r.getSelectedWorksModule().landingAnimateIn(!0,!1),r.videoWrapper.style.transition="opacity 0.5s",r.videoWrapper.style.opacity="0",v.CAN_PLAY_AUDIO&&!v.MUTED&&(r.skipAudio.volume=.3,Q.delayedCall(.4,function(){r.skipAudio.play()})),Q.delayedCall(.52,function(){r.videoWrapper.parentElement.removeChild(r.videoWrapper)})},r.enableAudio=function(){r.videoWrapper.style.cursor="",r.videoElement.volume=0,Q.to(r.videoElement,1,{volume:1}),r.videoElement.muted=!1,v.MUTED=!1},r.videoDone=function(){r.skipVideo()},r.videoDurationChange=function(){r.videoDuration=r.videoElement.duration<20?20:r.videoElement.duration},r.mutedChange=function(){r.videoElement.muted=v.MUTED},r.progressChecks=[.05,.1,.25,.5,.75],r.checkVideoProgress=function(){for(var t=r.videoElement.currentTime,e=r.videoElement.currentTime/r.videoDuration,i=0;i<r.progressChecks.length;i++){var n=r.progressChecks[i];n<=e&&(r.progressChecks.splice(i,1),i--,window.gtag("event","progress_home_video",{event_category:"HomeVideo",event_action:"progress",event_label:"Video played to ".concat(100*n,"%"),value:100*n,non_interaction:!0}))}r.videoDuration-t<=4.5?(r.initModules(),r.disableVideoStuff(),r.getSelectedWorksModule().landingAnimateIn(!0,!1),r.videoElement.addEventListener("ended",function(){r.trackVideoDone(),r.videoWrapper.parentElement.removeChild(r.videoWrapper)}),r.videoWrapper.style.transition="opacity 1s",r.videoWrapper.style.opacity="0"):requestAnimationFrame(r.checkVideoProgress)},document.documentElement.style.position="fixed",document.body.style.position="fixed",document.body.style.height="100%",r.muteToggle=t.querySelector("#MuteToggle"),r.muteToggle.addEventListener("click",function(){v.MUTED=!v.MUTED}),v.SIGNAL_MUTED.add(r.checkMuteMode),r.checkMuteMode(),new ct(r.muteToggle,r.muteToggle),r.checkForGeniusModeHash(),!r.SKIP_INTRO&&e.isInitial()){r.showingVideo=!0,r.skipAudio=t.querySelector("#IntroSound"),r.skipButton=t.querySelector("#LandingVideoSkipButton"),r.videoWrapper=t.querySelector(".LandingVideoContainer"),r.enterButton=t.querySelector("#LandingWelcomeMessageEnter"),r.welcomeMessage=t.querySelector("#LandingWelcomeMessage"),r.loadingLogo=r.videoWrapper.querySelector(".Logo"),r.soundUpMessage=t.querySelector("#SoundUpMessageTop"),r.videoElement=r.videoWrapper.querySelector("video"),r.videoElement.src=window.innerWidth<window.innerHeight&&window.innerWidth<=1024?r.videoElement.dataset.srcMobile:r.videoElement.dataset.srcDesktop,r.muteToggle.classList.add("LandingMode"),new ct(r.skipButton,r.skipButton),r.videoWrapper.style.cursor="pointer";r.skipButton.offsetTop;r.showingMuteFollower=!1,r.videoElement.addEventListener("ended",r.videoDone),r.videoDurationChange(),r.videoElement.addEventListener("durationchange",r.videoDurationChange),r.ski
160pButton.addEventListener("click",r.skipVideo),window.addEventListener("click",r.enterClick),r.setupVideoOutAnimation(),v.SIGNAL_MUTED.add(r.mutedChange),r.enterButton.style.opacity="1",r.enterButton.style.pointerEvents=""}else{v.I_OS&&(r.muteToggle.style.display="none");var i=t.querySelector(".LandingVideoContainer");i.parentNode.removeChild(i)}return new dt(t.querySelector(".WorksLink")),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bt(t,e)}(n,at),function(t,e,i){e&&Lt(t.prototype,e),i&&Lt(t,i)}(n,[{key:"getSelectedWorksModule",value:function(){return null===this.selectedWorksModule&&(this.selectedWorksModule=this.modules.find(function(t){if(t.NAME&&"SelectedWorksModule"===t.NAME)return!0})),this.selectedWorksModule}},{key:"templateIn",value:function(){var t=this;this.showingVideo?Q.delayedCall(.5,function(){return t.initModules()}):(Nt(Ft(n.prototype),"templateIn",this).call(this),this.initedModules=!0,this.getSelectedWorksModule().landingAnimateIn(!1,!1,1))}},{key:"templateOut",value:function(t,e){var i=this,n=this.getSelectedWorksModule();n&&n.templateOut(),Q.set(this.element,{pointerEvents:"none"}),window.Main.menu.close(),Q.delayedCall(.4,function(){i.element.style.opacity="0",Q.delayedCall(.5,function(){i.templateOutComplete()})})}},{key:"kill",value:function(){Nt(Ft(n.prototype),"kill",this).call(this),this.killed=!0,window.removeEventListener("click",this.enableAudio),this.videoElement&&this.videoElement.removeEventListener("durationchange",this.videoDurationChange),v.SIGNAL_MUTED.remove(this.mutedChange),document.documentElement.style.position="",document.body.style.position="",document.body.style.height=""}},{key:"disableVideoStuff",value:function(){v.SIGNAL_MUTED.remove(this.mutedChange),this.videoElement.removeEventListener("ended",this.videoDone),this.skipButton.removeEventListener("click",this.skipVideo),this.videoElement.removeEventListener("durationchange",this.videoDurationChange),document.getElementById("MuteToggle").classList.remove("LandingMode"),window.removeEventListener("click",this.enableAudio)}},{key:"trackVideoDone",value:function(){window.gtag("event","finished_home_video",{event_category:"HomeVideo",event_action:"progress",event_label:"Video played to 100%",value:100,non_interaction:!0})}},{key:"setupVideoOutAnimation",value:function(){this.checkVideoProgress()}},{key:"checkForGeniusModeHash",value:function(){0<=kt.checkHashStringForGeniusModeIndex(window.location.hash)&&(this.SKIP_INTRO=!0)}}]),n}();function jt(t){return(jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function zt(t,e){return!e||"object"!==jt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Wt(t,e,i){return(Wt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ht(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function Ht(t){return(Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Gt(t,e){return(Gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Vt=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),zt(this,Ht(t).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gt(t,e)}
160(t,at),function(t,e,i){e&&Xt(t.prototype,e),i&&Xt(t,i)}(t,[{key:"templateIn",value:function(){Wt(Ht(t.prototype),"templateIn",this).call(this)}},{key:"resize",value:function(){Wt(Ht(t.prototype),"resize",this).call(this)}}]),t}();
161/*!
162 * VERSION: 0.17.2
163 * DATE: 2019-08-14
164 * UPDATES AND DOCS AT: http://greensock.com
165 *
166 * Requires TweenLite and CSSPlugin version 1.17.0 or later (TweenMax contains both TweenLite and CSSPlugin). ThrowPropsPlugin is required for momentum-based continuation of movement after the mouse/touch is released (ThrowPropsPlugin is a membership benefit of Club GreenSock - http://greensock.com/club/).
167 *
168 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
169 * This work is subject to the terms at http://greensock.com/standard-license or for
170 * Club GreenSock members, the software agreement that was issued with your membership.
171 *
172 * @author: Jack Doyle, [email protected]
173 */me.k._gsDefine("utils.Draggable",["events.EventDispatcher","TweenLite","plugins.CSSPlugin"],function(){function r(){return!1}function u(t){return Xt.createElementNS?Xt.createElementNS("http://www.w3.org/1999/xhtml",t):Xt.createElement(t)}function xt(t,e){var i,n={};if(e)for(i in t)n[i]=t[i]*e;else for(i in t)n[i]=t[i];return n}function wt(){for(var t=Kt.length;-1<--t;)Kt[t]()}function bt(t){for(var e=Kt.length;-1<--e;)Kt[e]===t&&Kt.splice(e,1);TweenLite.to(y,0,{overwrite:"all",delay:15,onComplete:y,data:"_draggable"})}function O(){return null!=window.pageYOffset?window.pageYOffset:null!=Xt.scrollTop?Xt.scrollTop:zt.scrollTop||Xt.body.scrollTop||0}function P(){return null!=window.pageXOffset?window.pageXOffset:null!=Xt.scrollLeft?Xt.scrollLeft:zt.scrollLeft||Xt.body.scrollLeft||0}function o(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,r="client"+i,o=Xt.body;return Math.max(0,oe(t)?Math.max(zt[n],o[n])-(window["inner"+i]||zt[r]||o[r]):t[n]-t[r])}function Tt(t,e){return t=t||window.event,d.pageX=t.clientX+Xt.body.scrollLeft+zt.scrollLeft,d.pageY=t.clientY+Xt.body.scrollTop+zt.scrollTop,e&&(t.returnValue=!1),d}function Et(t){return t?("string"==typeof t&&(t=TweenLite.selector(t)),t.length&&t!==window&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===window||t.nodeType&&t.style?t:null):t}function s(t,e){var i,n,r,o=t.style;if(void 0===o[e]){for(r=["O","Moz","ms","Ms","Webkit"],n=5,i=e.charAt(0).toUpperCase()+e.substr(1);-1<--n&&void 0===o[r[n]+i];);if(n<0)return"";e=(3===n?"ms":r[n])+i}return e}function St(t,e,i){var n=t.style;n&&(void 0===n[e]&&(e=s(t,e)),null==i?n.removeProperty?n.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):n.removeAttribute(e):void 0!==n[e]&&(n[e]=i))}function A(t,e){return _.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t,e)}function Ot(t,e,i){var n=t.vars,r=n[i],o=t._listeners[e];"function"==typeof r&&r.apply(n[i+"Scope"]||n.callbackScope||t,n[i+"Params"]||[t.pointerEvent]),o&&t.dispatchEvent(e)}function Pt(t,e){var i,n,r,o=Et(t);return o?H(o,e):void 0!==t.left?(r=le(e),{left:t.left-r.x,top:t.top-r.y,width:t.width,height:t.height}):{left:n=t.min||t.minX||t.minRotation||0,top:i=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-n,height:(t.max||t.maxY||0)-i}}function E(){if(!Xt.createElementNS)return S=0,void(p=!1);var t,e,i,n,r=u("div"),o=Xt.createElementNS("http://www.w3.org/2000/svg","svg"),s=u("div"),a=r.style,l=Xt.body||zt,h="flex"===ae(l,"display",!0);Xt.body&&R&&(a.position="absolute",l.appendChild(s),s.appendChild(r),n=r.offsetParent,s.style[R]="rotate(1deg)",M=r.offsetParent===n,s.style.position="absolute",a.height="10px",n=r.offsetTop,s.style.border="5px solid red",I=n!==r.offsetTop,l.removeChild(s)),a=o.style,o.setAttributeNS(null,"width","400px"),o.setAttributeNS(null,"height","400px"),o.setAttributeNS(null,"viewBox","0 0 400 400"),a.display="block",a.boxSizing="border-box",a.border="0px solid red",a.transform="none",r.style.cssText="width:100px;height:100px;overflow:scroll;-ms-overflow-style:none;",l.appendChild(r),r.appendChild(o),e=(i=o.createSVGPoint().matrixTransform(o.getScreenCTM())).y,r.scrollTop=100,i.x=i.y=0,i=i.matrixTransform(o.getScreenCTM()),v=e-i.y<100.1?0:e-i.y-150,r.removeChild(o),l.removeChild(r),l.appendChild(o),h&&(l.style.display="block"),e=(t=o.getScreenCTM()).e,a.border="50px solid red",t=o.getScreenCTM(),p=0===e&&0===t.e&&0===t.f&&1===t.a?(S=1,!0):(S=e!==t.e?1:0,1!==t.a),h&&(l.style.display="flex"),l.removeChild(o)}function At(t){return!!(F&&"function"==typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))}function Ct(t,e){if(!t||t===window||!t.parentNode)return[1,0,0,1,0,0];for(var i,n,r,o,s,a,l,h,u=le(t,D),c=le(t.parentNode,N),d=W(t,u,c,!1,!e);(t=t.parentNode)&&t.parentNode&&t!==zt;)u=c,c=le(t.parentNode,u===D?N:D),l=W(t,u,c),i=d[0],n=d[1],r=d[2],o=d[3],s=d[4],a=d[5],d[0]=i*l[0]+n*l[2],d[1]=i*l[1]+n*l[3],d[2]=r*l[0]+o*l[2],d[3]=r*l[1]+o*l[3],d[4]=s*l[0]+a*l[2]+l[4],d[5]=s*l[1]+a*l[3]+l[5];return e&&(i=d[0],n=d[1],r=d[2],o=d[3],s=d[4],a=d[5],h=i*o-n*r,d[0]=o/h,d[1]=-n/h,d[2]=-r/h,d[3]=i/h,d[4]=(r*a-o*s)/h,d[5]=-(i*a-n*s)/h),d}function C(t,e,i){var n=t.x*e[0]+t.y*e[2]+e[4],r=t.x*e[1]+t.y*e[3]+e[5];return t.x=n*i[0]+r*i[2]+i[4],t.y=n*i[1]+r*i[3]+i[5],t}function a(t){return!!(t&&t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))}function It(t){t.preventDefault&&(t.preventDefault(),t.preventManipulation&&t.preventManipulation())}function Mt(t){Lt=t.touches&&Jt<t.touches.length,ce(t.target,"touchend",G)}function kt(r,o,t,e,s,i){var n,a,l,h={};if(o)if(1!==s&&o instanceof Array){if(h.end=n=[],l=o.length,"object"==typeof o[0])for(a=0;a<l;a++)n[a]=xt(o[a],s);else for(a=0;a<l;a++)n[a]=o[a]*s;t+=1.1,e-=1.1}else h.end="function"==typeof o?function(t){var e,i,n=o.call(r,t);if(1!==s)if("object"==typeof n){for(i in e={},n)e[i]=n[i]*s;n=e}else n*=s;return n}:o;return!t&&0!==t||(h.max=t),!e&&0!==e||(h.min=e),i&&(h.velocity=0),h}function Rt(t,e){for(var i,n=t.length;-1<--n;)(i=t[n]).ondragstart=i.onselectstart=e?null:r,St(i,"userSelect",e?"text":"none")}function i(r,o){r=Et(r),o=o||{};var s,a,l,t,h,u,c=Xt.createElement("div"),d=c.style,e=r.firstChild,f=0,p=0,v=r.scrollTop,m=r.scrollLeft,g=r.scrollWidth,y=r.scrollHeight,_=0,x=0,w=0;T&&!1!==o.force3D?(h="translate3d(",u="px,0px)"):R&&(h="translate(",u="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(t,e){if(!arguments.length)return-(r.scrollLeft+p);var i=r.scrollLeft-m,n=p;if((2<i||i<-2)&&!e)return m=r.scrollLeft,TweenLite.killTweensOf(this,!0,{left:1,scrollLeft:1}),this.left(-m),void(o.onKill&&o.onKill());(t=-t)<0?(p=t-.5|0,t=0):x<t?(p=t-x|0,t=x):p=0,(p||n)&&(h?this._suspendTransforms||(d[R]=h+-p+"px,"+-f+u):d.left=-p+"px",0<=p+_&&(d.paddingRight=p+_+"px")),r.scrollLeft=0|t,m=r.scrollLeft},this.top=function(t,e){if(!arguments.length)return-(r.scrollTop+f);var i=r.scrollTop-v,n=f;if((2<i||i<-2)&&!e)return v=r.scrollTop,TweenLite.killTweensOf(this,!0,{top:1,scrollTop:1}),this.top(-v),void(o.onKill&&o.onKill());(t=-t)<0?(f=t-.5|0,t=0):w<t?(f=t-w|0,t=w):f=0,(f||n)&&(h?this._suspendTransforms||(d[R]=h+-p+"px,"+-f+u):d.top=-f+"px"),r.scrollTop=0|t,v=r.scrollTop},this.maxScrollTop=function(){return w},this.maxScrollLeft=function(){return x},this.disable=function(){for(e=c.firstChild;e;)t=e.nextSibling,r.appendChild(e),e=t;r===c.parentNode&&r.removeChild(c)},this.enable=function(){if((e=r.firstChild)!==c){for(;e;)t=e.nextSibling,c.appendChild(e),e=t;r.appendChild(c),this.calibrate()}},this.calibrate=function(t){var e,i,n=r.clientWidth===s;v=r.scrollTop,m=r.scrollLeft,n&&r.clientHeight===a&&c.offsetHeight===l&&g===r.scrollWidth&&y===r.scrollHeight&&!t||((f||p)&&(e=this.left(),i=this.top(),this.left(-r.scrollLeft),this.top(-r.scrollTop)),n&&!t||(d.display="block",d.width="auto",d.paddingRight="0px",(_=Math.max(0,r.scrollWidth-r.clientWidth))&&(_+=ae(r,"paddingLeft")+(V?ae(r,"paddingRight"):0))),d.display="inline-block",d.position="relative",d.overflow="visible",d.verticalAlign="top",d.width="100%",d.paddingRight=_+"px",V&&(d.paddingBottom=ae(r,"paddingBottom",!0)),Yt&&(d.zoom="1"),s=r.clientWidth,a=r.clientHeight,g=r.scrollWidth,y=r.scrollHeight,x=r.scrollWidth-s,w=r.scrollHeight-a,l=c.offsetHeight,d.display="block",(e||i)&&(this.left(e),this.top(i)))},this.content=c,this.element=r,this._suspendTransforms=!1,this.enable()}var Lt,l,Dt,S,p,v,I,M,t,e,n,h,c,Nt={css:{},data:"_draggable"},Ft={css:{},data:"_draggable"},Bt={css:{},data:"_draggable"},Ut={css:{}},jt=me.k._gsDefine.globals,d={},f={style:{},appendChild:r,removeChild:r},Xt=me.k.document||{createElement:function(){return f}},zt=Xt.documentElement||{},m=u("div"),Wt=[],Ht=180/Math.PI,Gt=999999999999999,Vt=Date.now||function(){return(new Date).getTime()},Yt=!(Xt.addEventListener||!Xt.all),qt=Xt.createElement("div"),Kt=[],Zt={},Qt=0,g=/^(?:a|input|textarea|button|select)$/i,Jt=0,$t=me.k.navigator&&-1!==me.k.navigator.userAgent.toLowerCase().indexOf("android"),te=0,ee={},ie={},y=function(){Kt.length||TweenLite.ticker.removeEventListener("tick",wt)},ne=function(t,e){ce(t,"scroll",e),oe(t.parentNode)||ne(t.parentNode,e)},re=function(t,e){de(t,"scroll",e),oe(t.parentNode)||re(t.parentNode,e)},oe=function(t){return!(t&&t!==zt&&t!==Xt&&t!==Xt.body&&t!==window&&t.nodeType&&t.parentNode)},se=function(t){var e=oe(t),i=o(t,"x"),n=o(t,"y");e?t=ie:se(t.parentNode),t._gsMaxScrollX=i,t._gsMaxScrollY=n,t._gsScrollX=t.scrollLeft||0,t._gsScrollY=t.scrollTop||0},_="undefined"!=typeof window?window:Xt.defaultView||{getComputedStyle:function(){}},x=/(?:Left|Right|Width)/i,w=/(?:\d|\-|\+|=|#|\.)*/g,b=function(t,e,
173i,n,r){if("px"===n||!n)return i;if("auto"===n||!i)return 0;var o,s=x.test(e),a=t,l=m.style,h=i<0;return h&&(i=-i),"%"===n&&-1!==e.indexOf("border")?o=i/100*(s?t.clientWidth:t.clientHeight):(l.cssText="border:0 solid red;position:"+ae(t,"position",!0)+";line-height:0;","%"!==n&&a.appendChild?l[s?"borderLeftWidth":"borderTopWidth"]=i+n:(a=t.parentNode||Xt.body,l[s?"width":"height"]=i+n),a.appendChild(m),o=parseFloat(m[s?"offsetWidth":"offsetHeight"]),a.removeChild(m),0!==o||r||(o=b(t,e,i,n,!0))),h?-o:o},ae=function(t,e,i){var n,r=(t._gsTransform||{})[e];return r||0===r?r:(t.style&&t.style[e]?r=t.style[e]:(n=A(t))?r=(r=n.getPropertyValue(e.replace(/([A-Z])/g,"-$1").toLowerCase()))||n.length?r:n[e]:t.currentStyle&&(r=t.currentStyle[e]),"auto"!==r||"top"!==e&&"left"!==e||(r=function(t,e){if("absolute"!==ae(t,"position",!0))return 0;var i="left"===e?"Left":"Top",n=ae(t,"margin"+i,!0);return t["offset"+i]-(b(t,e,parseFloat(n),(n+"").replace(w,""))||0)}(t,e)),i?r:parseFloat(r)||0)},T=""!==s(m,"perspective"),k=s(m,"transformOrigin").replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),R=s(m,"transform"),L=R.replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),D={},N={},F=me.k.SVGElement,B=me.k.navigator&&(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(me.k.navigator.userAgent)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(me.k.navigator.userAgent))&&parseFloat(RegExp.$1)<11,U=[],j=[],X=function(t){if(!t.getBoundingClientRect||!t.parentNode||!R)return{offsetTop:0,offsetLeft:0,scaleX:1,scaleY:1,offsetParent:zt};if(!1!==pe.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===TweenLite.ticker.frame)return t._dCache;var e,i,n,r,o,s,a,l,h,u,c,d=t,f=z(t);if(f.lastUpdate=TweenLite.ticker.frame,t.getBBox&&!f.isSVGRoot){for(d=t.parentNode,e=t.getBBox();d&&"svg"!==(d.nodeName+"").toLowerCase();)d=d.parentNode;return r=X(d),f.offsetTop=e.y*r.scaleY,f.offsetLeft=e.x*r.scaleX,f.scaleX=r.scaleX,f.scaleY=r.scaleY,f.offsetParent=d||zt,f}for((n=f.offsetParent)===Xt.body&&(n=zt),j.length=U.length=0;d&&d.parentNode;)"matrix(1, 0, 0, 1, 0, 0)"!==(o=ae(d,R,!0))&&"none"!==o&&"translate3d(0px, 0px, 0px)"!==o&&(j.push(d),U.push(d.style[R]),d.style[R]="none"),d=d.parentNode;for(i=n.getBoundingClientRect(),o=t.getScreenCTM(),a=t.createSVGPoint().matrixTransform(o),f.scaleX=Math.sqrt(o.a*o.a+o.b*o.b),f.scaleY=Math.sqrt(o.d*o.d+o.c*o.c),void 0===S&&E(),f.borderBox&&!p&&t.getAttribute("width")&&(r=A(t)||{},l=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth)||0,h=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth)||0,u=parseFloat(r.width)||0,c=parseFloat(r.height)||0,f.scaleX*=(u-l)/u,f.scaleY*=(c-h)/c),v?(e=t.getBoundingClientRect(),f.offsetLeft=e.left-i.left,f.offsetTop=e.top-i.top):(f.offsetLeft=a.x-i.left,f.offsetTop=a.y-i.top),f.offsetParent=n,s=j.length;-1<--s;)j[s].style[R]=U[s];return f},le=function(t,e){if(e=e||{},!t||t===zt||!t.parentNode||t===window)return{x:0,y:0};var i=A(t),n=k&&i?i.getPropertyValue(k):"50% 50%",r=n.split(" "),o=-1!==n.indexOf("left")?"0%":-1!==n.indexOf("right")?"100%":r[0],s=-1!==n.indexOf("top")?"0%":-1!==n.indexOf("bottom")?"100%":r[1];return"center"!==s&&null!=s||(s="50%"),"center"!==o&&!isNaN(parseFloat(o))||(o="50%"),t.getBBox&&At(t)?(t._gsTransform||(TweenLite.set(t,{x:"+=0",overwrite:!1}),t._gsTransform.xOrigin),n=t.getBBox(),e.x=t._gsTransform.xOrigin-n.x,e.y=t._gsTransform.yOrigin-n.y):(t.getBBox&&-1!==(o+s).indexOf("%")&&(t={offsetWidth:(t=t.getBBox()).width,offsetHeight:t.height}),e.x=-1!==o.indexOf("%")?t.offsetWidth*parseFloat(o)/100:parseFloat(o),e.y=-1!==s.indexOf("%")?t.offsetHeight*parseFloat(s)/100:parseFloat(s)),e},z=function(t){if(!1!==pe.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===TweenLite.ticker.frame)return t._dCache;var e,i=t._dCache=t._dCache||{},n=A(t),r=t.getBBox&&At(t),o="svg"===(t.nodeName+"").toLowerCase();if(i.isSVG=r,i.isSVGRoot=o,i.borderBox="border-box"===n.boxSizing,i.computedStyle=n,o)(e=t.parentNode||zt).insertBefore(m,t),i.offsetParent=m.offsetParent||zt,e.removeChild(m);else if(r){for(e=t.parentNode;e&&"svg"!==(e.nodeName+"").toLowerCase();)e=e.parentNode;i.offsetParent=e}else i.offsetParent=t.offsetParent;return i}
173,W=function(t,e,i,n,r){if(t===window||!t||!t.style||!t.parentNode)return[1,0,0,1,0,0];var o,s,a,l,h,u,c,d,f,p,v,m,g,y,_=t._dCache||z(t),x=t.parentNode,w=x._dCache||z(x),b=_.computedStyle,T=_.isSVG?w.offsetParent:x.offsetParent;if(o=_.isSVG&&-1!==(t.style[R]+"").indexOf("matrix")?t.style[R]:b?b.getPropertyValue(L):t.currentStyle?t.currentStyle[R]:"1,0,0,1,0,0",t.getBBox&&-1!==(t.getAttribute("transform")+"").indexOf("matrix")&&(o=t.getAttribute("transform")),6<(o=(o+"").match(/(?:\-|\.|\b)(\d|\.|e\-)+/g)||[1,0,0,1,0,0]).length&&(o=[o[0],o[1],o[4],o[5],o[12],o[13]]),n?o[4]=o[5]=0:_.isSVG&&(h=t._gsTransform)&&(h.xOrigin||h.yOrigin)&&(o[0]=parseFloat(o[0]),o[1]=parseFloat(o[1]),o[2]=parseFloat(o[2]),o[3]=parseFloat(o[3]),o[4]=parseFloat(o[4])-(h.xOrigin-(h.xOrigin*o[0]+h.yOrigin*o[2])),o[5]=parseFloat(o[5])-(h.yOrigin-(h.xOrigin*o[1]+h.yOrigin*o[3]))),e)if(void 0===S&&E(),a=_.isSVG||_.isSVGRoot?X(t):t,_.isSVG?(l=t.getBBox(),p=w.isSVGRoot?{x:0,y:0}:x.getBBox(),a={offsetLeft:l.x-p.x,offsetTop:l.y-p.y,offsetParent:_.offsetParent}):_.isSVGRoot?(v=parseInt(b.borderTopWidth,10)||0,m=parseInt(b.borderLeftWidth,10)||0,g=(o[0]-S)*m+o[2]*v,y=o[1]*m+(o[3]-S)*v,u=e.x,c=e.y,d=u-(u*o[0]+c*o[2]),f=c-(u*o[1]+c*o[3]),o[4]=parseFloat(o[4])+d,o[5]=parseFloat(o[5])+f,e.x-=d,e.y-=f,u=a.scaleX,c=a.scaleY,r||(e.x*=u,e.y*=c),o[0]*=u,o[1]*=c,o[2]*=u,o[3]*=c,B||(e.x+=g,e.y+=y),T===Xt.body&&a.offsetParent===zt&&(T=zt)):!I&&t.offsetParent&&(e.x+=parseInt(ae(t.offsetParent,"borderLeftWidth"),10)||0,e.y+=parseInt(ae(t.offsetParent,"borderTopWidth"),10)||0),s=x===zt||x===Xt.body,o[4]=Number(o[4])+e.x+(a.offsetLeft||0)-i.x-(s?0:x.scrollLeft||0),o[5]=Number(o[5])+e.y+(a.offsetTop||0)-i.y-(s?0:x.scrollTop||0),x&&"fixed"===ae(t,"position",!0))for(o[4]+=P(),o[5]+=O(),x=x.offsetParent;x;)o[4]-=x.offsetLeft,o[5]-=x.offsetTop,x=x.offsetParent;else!x||x===zt||T!==a.offsetParent||w.isSVG||M&&"100100"!==W(x).join("")||(a=w.isSVGRoot?X(x):x,o[4]-=a.offsetLeft||0,o[5]-=a.offsetTop||0,I||!w.offsetParent||_.isSVG||_.isSVGRoot||(o[4]-=parseInt(ae(w.offsetParent,"borderLeftWidth"),10)||0,o[5]-=parseInt(ae(w.offsetParent,"borderTopWidth"),10)||0));return o},H=function(t,e,i){if(!(t=Et(t)))return null;e=Et(e);var n,r,o,s,a,l,h,u,c,d,f,p,v,m,g,y,_,x,w,b,T,E,S=t.getBBox&&At(t);if(t===window)s=O(),o=(r=P())+(zt.clientWidth||t.innerWidth||Xt.body.clientWidth||0),a=s+((t.innerHeight||0)-20<zt.clientHeight?zt.clientHeight:t.innerHeight||Xt.body.clientHeight||0);else{if(void 0===e||e===window)return t.getBoundingClientRect();r=-(n=le(t)).x,s=-n.y,m=S?(v=(p=t.getBBox()).width,p.height):"svg"!==(t.nodeName+"").toLowerCase()&&t.offsetWidth?(v=t.offsetWidth,t.offsetHeight):(T=A(t),v=parseFloat(T.width),parseFloat(T.height)),o=r+v,a=s+m,"svg"!==t.nodeName.toLowerCase()||Yt||(E=(g=X(t)).computedStyle||{},x=(t.getAttribute("viewBox")||"0 0").split(" "),w=parseFloat(x[0]),b=parseFloat(x[1]),y=parseFloat(E.borderLeftWidth)||0,_=parseFloat(E.borderTopWidth)||0,r/=g.scaleX,s/=g.scaleY,o=r+v-(v-(v-y)/g.scaleX-w),a=s+m-(m-(m-_)/g.scaleY-b),r-=y/g.scaleX-w,s-=_/g.scaleY-b,T&&(o+=(parseFloat(E.borderRightWidth)+y)/g.scaleX,a+=(_+parseFloat(E.borderBottomWidth))/g.scaleY))}return t===e?{left:r,top:s,width:o-r,height:a-s}:(l=Ct(t),h=Ct(e,!0),u=C({x:r,y:s},l,h),c=C({x:o,y:s},l,h),d=C({x:o,y:a},l,h),f=C({x:r,y:a},l,h),r=Math.min(u.x,c.x,d.x,f.x),s=Math.min(u.y,c.y,d.y,f.y),ee.x=ee.y=0,i&&le(e,ee),{left:r+ee.x,top:s+ee.y,width:Math.max(u.x,c.x,d.x,f.x)-r,height:Math.max(u.y,c.y,d.y,f.y)-s})},he="undefined"!=typeof window&&"ontouchstart"in zt&&"orientation"in window,ue=function(t){for(var e=t.split(","),i=(void 0!==m.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==m.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),n={},r=4;-1<--r;)n[e[r]]=i[r],n[i[r]]=e[r];try{zt.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){l=1}}))}catch(t){}return n}("touchstart,touchmove,touchend,touchcancel"),ce=function(t,e,i,n){if(t.addEventListener){var r=ue[e];n=n||(l?{passive:!1}:null),t.addEventListener(r||e,i,n),r&&e!==r&&t.addEventListener(e,i,n)}else t.attachEvent&&t.attachEvent("on"+e,i)}
173,de=function(t,e,i){if(t.removeEventListener){var n=ue[e];t.removeEventListener(n||e,i),n&&e!==n&&t.removeEventListener(e,i)}else t.detachEvent&&t.detachEvent("on"+e,i)},G=function(t){Lt=t.touches&&Jt<t.touches.length,de(t.target,"touchend",G)},fe=function(t){var e;return!(!t||!t.getAttribute||"BODY"===t.nodeName)&&(!("true"!==(e=t.getAttribute("data-clickable"))&&("false"===e||!t.onclick&&!g.test(t.nodeName+"")&&"true"!==t.getAttribute("contentEditable")))||fe(t.parentNode))},V=(e=Xt.createElement("div"),n=Xt.createElement("div"),h=n.style,c=Xt.body||m,h.display="inline-block",h.position="relative",e.style.cssText=n.innerHTML="width:90px; height:40px; padding:10px; overflow:auto; visibility: hidden",e.appendChild(n),c.appendChild(e),t=n.offsetHeight+18>e.scrollHeight,c.removeChild(e),t),pe=function(f,c){me.c.call(this,f),f=Et(f),Dt=Dt||jt.com.greensock.plugins.ThrowPropsPlugin,this.vars=c=xt(c||{}),this.target=f,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(c.dragResistance)||0,this.edgeResistance=isNaN(c.edgeResistance)?1:parseFloat(c.edgeResistance)||0,this.lockAxis=c.lockAxis,this.autoScroll=c.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!c.allowEventDefault;function r(t){if(!(rt.isPressed&&t.which<2))return t.preventDefault(),t.stopPropagation(),!1;rt.endDrag()}function d(t){if(rt.autoScroll&&rt.isDragging&&(at||F)){var e,i,n,r,o,s,a,l,h=f,u=15*rt.autoScroll;for(at=!1,ie.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=zt.scrollTop?zt.scrollTop:Xt.body.scrollTop,ie.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=zt.scrollLeft?zt.scrollLeft:Xt.body.scrollLeft,r=rt.pointerX-ie.scrollLeft,o=rt.pointerY-ie.scrollTop;h&&!i;)e=(i=oe(h.parentNode))?ie:h.parentNode,n=i?{bottom:Math.max(zt.clientHeight,window.innerHeight||0),right:Math.max(zt.clientWidth,window.innerWidth||0),left:0,top:0}:e.getBoundingClientRect(),s=a=0,it&&((l=e._gsMaxScrollY-e.scrollTop)<0?a=l:o>n.bottom-ut&&l?(at=!0,a=Math.min(l,u*(1-Math.max(0,n.bottom-o)/ut)|0)):o<n.top+lt&&e.scrollTop&&(at=!0,a=-Math.min(e.scrollTop,u*(1-Math.max(0,o-n.top)/lt)|0)),a&&(e.scrollTop+=a)),et&&((l=e._gsMaxScrollX-e.scrollLeft)<0?s=l:r>n.right-ht&&l?(at=!0,s=Math.min(l,u*(1-Math.max(0,n.right-r)/ht)|0)):r<n.left+ct&&e.scrollLeft&&(at=!0,s=-Math.min(e.scrollLeft,u*(1-Math.max(0,r-n.left)/ct)|0)),s&&(e.scrollLeft+=s)),i&&(s||a)&&(window.scrollTo(e.scrollLeft,e.scrollTop),yt(rt.pointerX+s,rt.pointerY+a)),h=e}if(F){var c=rt.x,d=rt.y;c<1e-6&&-1e-6<c&&(c=0),d<1e-6&&-1e-6<d&&(d=0),J?(rt.deltaX=c-G.data.rotation,G.data.rotation=rt.rotation=c,G.setRatio(1)):w?(it&&(rt.deltaY=d-w.top(),w.top(d)),et&&(rt.deltaX=c-w.left(),w.left(c))):Q?(it&&(rt.deltaY=d-G.data.y,G.data.y=d),et&&(rt.deltaX=c-G.data.x,G.data.x=c),G.setRatio(1)):(it&&(rt.deltaY=d-parseFloat(f.style.top||0),f.style.top=d+"px"),et&&(rt.deltaY=c-parseFloat(f.style.left||0),f.style.left=c+"px")),!P||t||q||(q=!0,Ot(rt,"drag","onDrag"),q=!1)}F=!1}function a(t,e){var i,n=rt.x,r=rt.y;f._gsTransform||!Q&&!J||TweenLite.set(f,{x:"+=0",overwrite:!1,data:"_draggable"}),Q?(rt.y=f._gsTransform.y,rt.x=f._gsTransform.x):J?rt.x=rt.rotation=f._gsTransform.rotation:w?(rt.y=w.top(),rt.x=w.left()):(rt.y=parseInt(f.style.top,10)||0,rt.x=parseInt(f.style.left,10)||0),(B||U||j)&&!e&&(rt.isDragging||rt.isThrowing)&&(j&&(ee.x=rt.x,ee.y=rt.y,(i=j(ee)).x!==rt.x&&(rt.x=i.x,F=!0),i.y!==rt.y&&(rt.y=i.y,F=!0)),B&&(i=B(rt.x))!==rt.x&&(rt.x=i,J&&(rt.rotation=i),F=!0),U&&((i=U(rt.y))!==rt.y&&(rt.y=i),F=!0)),F&&d(!0),t||(rt.deltaX=rt.x-n,rt.deltaY=rt.y-r,Ot(rt,"throwupdate","onThrowUpdate"))}function l(){var t,e,i,n;O=!1,w?(w.calibrate(),rt.minX=C=-w.maxScrollLeft(),rt.minY=M=-w.maxScrollTop(),rt.maxX=A=rt.maxY=I=0,O=!0):c.bounds&&(t=Pt(c.bounds,f.parentNode),J?(rt.minX=C=t.left,rt.maxX=A=t.left+t.width,rt.minY=M=rt.maxY=I=0):void 0!==c.bounds.maxX||void 0!==c.bounds.maxY?(t=c.bounds,rt.minX=C=t.minX,rt.minY=M=t.minY,rt.maxX=A=t.maxX,rt.maxY=I=t.maxY):(e=Pt(f,f.parentNode),rt.minX=C=ae(f,$)+t.left-e.left,rt.minY=M=ae(f,tt)+t.top-e.top,rt.maxX=A=C+(t.width-e.width),rt.maxY=I=M+(t.height-e.height)),A<C&&(rt.minX=A,rt.maxX=A=C,C=rt.minX),I<M&&(rt.minY=I,rt.maxY=I=M,M=rt.minY),J&&(rt.minRotation=C,rt.maxRotation=A),O=!0),c.liveSnap&&(n=(i=!0===c.liveSnap?c.snap||{}:c.liveSnap)instanceof Array||"function"==typeof i,J?(B=vt(n?i:i.rotation,C,A,1),U=null):i.points?j=mt(n?i:i.points,C,A,M,I,i.radius,w?-1:1):(et&&(B=vt(n?i:i.x||i.left||i.scrollLeft,C,A,w?-1:1)),it&&(U=vt(n?i:i.y||i.top||i.scrollTop,M,I,w?-1:1))))}function s(){rt.isThrowing=!1,Ot(rt,"throwcomplete","onThrowComplete")}function h(){rt.isThrowing=!1}function p(t,e){var i,n,r,o;t&&Dt?(!0===t&&(n=(i=c.snap||c.liveSnap||{})instanceof Array||"function"==typeof i,t={resistance:(c.throwResistance||c.resistance||1e3)/(J?10:1)},J?t.rotation=kt(rt,n?i:i.rotation,A,C,1,e):(et&&(t[$]=kt(rt,n?i:i.points||i.x||i.left||i.scrollLeft,A,C,w?-1:1,e||"x"===rt.lockedAxis)),it&&(t[tt]=kt(rt,n?i:i.points||i.y||i.top||i.scrollTop,I,M,w?-1:1,e||"y"===rt.lockedAxis)),(i.points||i instanceof Array&&"object"==typeof i[0])&&(t.linkedProps=$+","+tt,t.radius=i.radius))),rt.isThrowing=!0,o=isNaN(c.overshootTolerance)?1===c.edgeResistance?0:1-rt.edgeResistance+.2:c.overshootTolerance,rt.tween=r=Dt.to(w||f,{throwProps:t,data:"_draggable",ease:c.ease||jt.Power3.easeOut,onComplete:s,onOverwrite:h,onUpdate:c.fastMode?Ot:a,onUpdateParams:c.fastMode?[rt,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:Wt},Math.max(c.minDuration||0,c.maxDuration||0)||2,isNaN(c.minDuration)?0===o||"object"==typeof t&&1e3<t.resistance?0:.5:c.minDuration,o),c.fastMode||(w&&(w._suspendTransforms=!0),r.render(r.duration(),!0,!0),a(!0,!0),rt.endX=rt.x,rt.endY=rt.y,J&&(rt.endRotation=rt.x),r.play(0),a(!0,!0),w&&(w._suspendTransforms=!1))):O&&rt.applyBounds()}function o(t){var e,i,n,r,o,s,a,l,h,u=W||[1,0,0,1,0,0];W=Ct(f.parentNode,!0),t&&rt.isPressed&&u.join(",")!==W.join(",")&&(e=u[0],i=u[1],n=u[2],r=u[3],o=u[4],s=u[5],h=b*(-i/(a=e*r-i*n))+T*(e/a)+-(e*s-i*o)/a,T=(l=b*(r/a)+T*(-n/a)+(n*s-r*o)/a)*W[1]+h*W[3]+W[5],b=l*W[0]+h*W[2]+W[4]),W[1]||W[2]||1!=W[0]||1!=W[3]||0!=W[4]||0!=W[5]||(W=null)}function u(){var t=1-rt.edgeResistance;o(!1),W&&(b=rt.pointerX*W[0]+rt.pointerY*W[2]+W[4],T=rt.pointerX*W[1]+rt.pointerY*W[3]+W[5]),F&&(yt(rt.pointerX,rt.pointerY),d(!0)),w?(l(),S=w.top(),E=w.left()):(pt()?(a(!0,!0),l()):rt.applyBounds(),J?(N=rt.rotationOrigin=function(t,e,
173i,n){t=Et(t);var r=Ct(t,!1),o=e.x,s=e.y;return i&&(le(t,e),o-=e.x,s-=e.y),(n=!0===n?e:n||{}).x=o*r[0]+s*r[2]+r[4],n.y=o*r[1]+s*r[3]+r[5],n}(f,{x:0,y:0}),a(!0,!0),E=rt.x,S=rt.y=Math.atan2(N.y-rt.pointerY,rt.pointerX-N.x)*Ht):(f.parentNode&&f.parentNode.scrollTop,f.parentNode&&f.parentNode.scrollLeft,S=ae(f,tt),E=ae(f,$))),O&&t&&(A<E?E=A+(E-A)/t:E<C&&(E=C-(C-E)/t),J||(I<S?S=I+(S-I)/t:S<M&&(S=M-(M-S)/t))),rt.startX=E,rt.startY=S}function v(){!qt.parentNode||pt()||rt.isDragging||qt.parentNode.removeChild(qt)}function m(t,e){var i;if(x&&!rt.isPressed&&t&&("mousedown"!==t.type&&"pointerdown"!==t.type||e||!(Vt()-ft<30)||!ue[rt.pointerEvent.type])){if(H=pt(),rt.pointerEvent=t,ue[t.type]?(z=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:Xt,ce(z,"touchend",_t),ce(z,"touchmove",gt),ce(z,"touchcancel",_t),ce(Xt,"touchstart",Mt)):(z=null,ce(Xt,"mousemove",gt)),Y=null,ce(Xt,"mouseup",_t),t&&t.target&&ce(t.target,"mouseup",_t),X=dt.call(rt,t.target)&&!1===c.dragClickables&&!e)return ce(t.target,"change",_t),Ot(rt,"pressInit","onPressInit"),Ot(rt,"press","onPress"),void Rt(ot,!0);if(V=!(!z||et==it||!1===rt.vars.allowNativeTouchScrolling||rt.vars.allowContextMenu&&t&&(t.ctrlKey||2<t.which))&&(et?"y":"x"),Yt?t=Tt(t,!0):V||rt.allowEventDefault||It(t),t.changedTouches?(t=L=t.changedTouches[0],D=t.identifier):t.pointerId?D=t.pointerId:L=D=null,Jt++,function(t){Kt.push(t),1===Kt.length&&TweenLite.ticker.addEventListener("tick",wt,this,!1,1)}(d),T=rt.pointerY=t.pageY,b=rt.pointerX=t.pageX,Ot(rt,"pressInit","onPressInit"),(V||rt.autoScroll)&&se(f.parentNode),!f.parentNode||!rt.autoScroll||w||J||!f.parentNode._gsMaxScrollX||qt.parentNode||f.getBBox||(qt.style.width=f.parentNode.scrollWidth+"px",f.parentNode.appendChild(qt)),u(),rt.tween&&rt.tween.kill(),rt.isThrowing=!1,TweenLite.killTweensOf(w||f,!0,n),w&&TweenLite.killTweensOf(f,!0,{scrollTo:1}),rt.tween=rt.lockedAxis=null,!c.zIndexBoost&&(J||w||!1===c.zIndexBoost)||(f.style.zIndex=pe.zIndex++),rt.isPressed=!0,P=!(!c.onDrag&&!rt._listeners.drag),!J&&(!1!==c.cursor||c.activeCursor))for(i=ot.length;-1<--i;)St(ot[i],"cursor",c.activeCursor||c.cursor||"move");Ot(rt,"press","onPress")}}function g(t){if(t&&rt.isDragging&&!w){var e=t.target||t.srcElement||f.parentNode,i=e.scrollLeft-e._gsScrollX,n=e.scrollTop-e._gsScrollY;(i||n)&&(W?(b-=i*W[0]+n*W[2],T-=n*W[3]+i*W[1]):(b-=i,T-=n),e._gsScrollX+=i,e._gsScrollY+=n,yt(rt.pointerX,rt.pointerY))}}function y(t){var e=Vt(),i=e-ft<40,n=e-st<40,r=i&&K===ft,o=!!t.preventDefault,s=rt.pointerEvent&&rt.pointerEvent.defaultPrevented,a=i&&Z===ft,l=t.isTrusted||null==t.isTrusted&&i&&r;if(o&&(r||n&&!1!==rt.vars.suppressClickOnDrag)&&t.stopImmediatePropagation(),i&&(!rt.pointerEvent||!rt.pointerEvent.defaultPrevented)&&(!r||l&&!a))return l&&r&&(Z=ft),void(K=ft);(rt.isPressed||n||i)&&(o?l&&t.detail&&i&&!s||It(t):t.returnValue=!1)}function _(t){return W?{x:t.x*W[0]+t.y*W[2]+W[4],y:t.x*W[1]+t.y*W[3]+W[5]}:{x:t.x,y:t.y}}var x,w,b,T,E,S,O,P,A,C,I,M,k,R,L,D,N,F,t,B,U,j,X,z,W,H,G,V,Y,q,K,Z,e=(c.type||(Yt?"top,left":"x,y")).toLowerCase(),Q=-1!==e.indexOf("x")||-1!==e.indexOf("y"),J=-1!==e.indexOf("rotation"),$=J?"rotation":Q?"x":"left",tt=Q?"y":"top",et=-1!==e.indexOf("x")||-1!==e.indexOf("left")||"scroll"===e,it=-1!==e.indexOf("y")||-1!==e.indexOf("top")||"scroll"===e,nt=c.minimumMovement||2,rt=this,ot=function(t){if("string"==typeof t&&(t=TweenLite.selector(t)),!t||t.nodeType)return[t];var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i}(c.trigger||c.handle||f),n={},st=0,at=!1,lt=c.autoScrollMarginTop||40,ht=c.autoScrollMarginRight||40,ut=c.autoScrollMarginBottom||40,ct=c.autoScrollMarginLeft||40,dt=c.clickableTest||fe,ft=0,pt=function(){return rt.tween&&rt.tween.isActive()},vt=function(s,a,l,i){return null==a&&(a=-Gt),null==l&&(l=Gt),"function"==typeof s?function(t){var e=rt.isPressed?1-rt.edgeResistance:1;return s.call(rt,l<t?l+(t-l)*e:t<a?a+(t-a)*e:t)*i}:s instanceof Array?function(t){for(var e,i,n=s.length,r=0,o=Gt;-1<--n;)(i=(e=s[n])-t)<0&&(i=-i),i<o&&a<=e&&e<=l&&(r=n,o=i);return s[r]}:isNaN(s)?function(t){return t}:function(){return s*i}},mt=function(l,a,h,u,c,d,f){return d=d&&d<Gt?d*d:Gt,"function"==typeof l?function(t){var e,i,n,r=rt.isPressed?1-rt.edgeResistance:1,o=t.x,s=t.y;return t.x=o=h<o?h+(o-h)*r:o<a?a+(o-a)*r:o,t.y=s=c<s?c+(s-c)*r:s<u?u+(s-u)*r:s,(e=l.call(rt,t))!==t&&(t.x=e.x,t.y=e.y),1!==f&&(t.x*=f,t.y*=f),d<Gt&&(i=t.x-o,n=t.y-s,d<i*i+n*n&&(t.x=o,t.y=s)),t}:l instanceof Array?function(t){for(var e,i,n,r,o=l.length,s=0,a=Gt;-1<--o;)(r=(e=(n=l[o]).x-t.x)*e+(i=n.y-t.y)*i)<a&&(s=o,a=r);return a<=d?l[s]:t}:function(t){return t}},gt=function(t){var e,i,n,r,o,s,a=t;if(x&&!Lt&&rt.isPressed&&t){if(e=(rt.pointerEvent=t).changedTouches){if((t=e[0])!==L&&t.identifier!==D){for(r=e.length;-1<--r&&(t=e[r]).identifier!==D;);if(r<0)return}}else if(t.pointerId&&D&&t.pointerId!==D)return;if(Yt)t=Tt(t,!0);else{if(z&&V&&!Y&&(i=t.pageX,n=t.pageY,W&&(r=i*W[0]+n*W[2]+W[4],n=i*W[1]+n*W[3]+W[5],i=r),((o=Math.abs(i-b))!==(s=Math.abs(n-T))&&(nt<o||nt<s)||$t&&V===Y)&&(Y=s<o&&et?"x":"y",!1!==rt.vars.lockAxisOnTouchScroll&&(rt.lockedAxis="x"===Y?"y":"x","function"==typeof rt.vars.onLockAxis&&rt.vars.onLockAxis.call(rt,a)),$t&&V===Y)))return void _t(a);rt.allowEventDefault||V&&(!Y||V===Y)||!1===a.cancelable||It(a)}rt.autoScroll&&(at=!0),yt(t.pageX,t.pageY)}},yt=function(t,e){var i,n,r,o,s,a,l=1-rt.dragResistance,h=1-rt.edgeResistance;rt.pointerX=t,rt.pointerY=e,J?(o=Math.atan2(N.y-e,t-N.x)*Ht,180<(s=rt.y-o)?(S-=360,rt.y=o):s<-180&&(S+=360,rt.y=o),r
173=rt.x!==E||Math.abs(S-o)>nt?(rt.y=o,E+(S-o)*l):E):(W&&(a=t*W[0]+e*W[2]+W[4],e=t*W[1]+e*W[3]+W[5],t=a),(n=e-T)<nt&&-nt<n&&(n=0),(i=t-b)<nt&&-nt<i&&(i=0),(rt.lockAxis||rt.lockedAxis)&&(i||n)&&((a=rt.lockedAxis)||(rt.lockedAxis=a=et&&Math.abs(i)>Math.abs(n)?"y":it?"x":null,a&&"function"==typeof rt.vars.onLockAxis&&rt.vars.onLockAxis.call(rt,rt.pointerEvent)),"y"===a?n=0:"x"===a&&(i=0)),r=E+i*l,o=S+n*l),(B||U||j)&&(rt.x!==r||rt.y!==o&&!J)?(j&&(ee.x=r,ee.y=o,r=(a=j(ee)).x,o=a.y),B&&(r=B(r)),U&&(o=U(o))):O&&(A<r?r=A+Math.round((r-A)*h):r<C&&(r=C+Math.round((r-C)*h)),J||(I<o?o=Math.round(I+(o-I)*h):o<M&&(o=Math.round(M+(o-M)*h)))),J||W||(r=Math.round(r),o=Math.round(o)),rt.x===r&&(rt.y===o||J)||(J?(rt.endRotation=rt.x=rt.endX=r,F=!0):(it&&(rt.y=rt.endY=o,F=!0),et&&(rt.x=rt.endX=r,F=!0)),!rt.isDragging&&rt.isPressed&&(rt.isDragging=!0,Ot(rt,"dragstart","onDragStart")))},_t=function(t,e){if(x&&rt.isPressed&&(!t||null==D||e||!(t.pointerId&&t.pointerId!==D||t.changedTouches&&!function(t,e){for(var i=t.length;-1<--i;)if(t[i].identifier===e)return!0;return!1}(t.changedTouches,D)))){rt.isPressed=!1;var i,n,r,o,s,a=t,l=rt.isDragging,h=rt.vars.allowContextMenu&&t&&(t.ctrlKey||2<t.which),u=TweenLite.delayedCall(.001,v);if(z?(de(z,"touchend",_t),de(z,"touchmove",gt),de(z,"touchcancel",_t),de(Xt,"touchstart",Mt)):de(Xt,"mousemove",gt),de(Xt,"mouseup",_t),t&&t.target&&de(t.target,"mouseup",_t),F=!1,X&&!h)return t&&(de(t.target,"change",_t),rt.pointerEvent=a),Rt(ot,!1),Ot(rt,"release","onRelease"),Ot(rt,"click","onClick"),void(X=!1);if(bt(d),!J)for(n=ot.length;-1<--n;)St(ot[n],"cursor",c.cursor||(!1!==c.cursor?"move":null));if(l&&(st=te=Vt(),rt.isDragging=!1),Jt--,t){if(Yt&&(t=Tt(t,!1)),(i=t.changedTouches)&&(t=i[0])!==L&&t.identifier!==D){for(n=i.length;-1<--n&&(t=i[n]).identifier!==D;);if(n<0)return}rt.pointerEvent=a,rt.pointerX=t.pageX,rt.pointerY=t.pageY}return h&&a?(It(a),Ot(rt,"release","onRelease")):a&&!l?(H&&(c.snap||c.bounds)&&p(c.throwProps),Ot(rt,"release","onRelease"),$t&&"touchmove"===a.type||-1!==a.type.indexOf("cancel")||(Ot(rt,"click","onClick"),Vt()-ft<300&&Ot(rt,"doubleclick","onDoubleClick"),o=a.target||a.srcElement||f,ft=Vt(),s=function(){ft===K||!rt.enabled()||rt.isPressed||a.defaultPrevented||(o.click?o.click():Xt.createEvent&&((r=Xt.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,window,1,rt.pointerEvent.screenX,rt.pointerEvent.screenY,rt.pointerX,rt.pointerY,!1,!1,!1,!1,0,null),o.dispatchEvent(r)))},$t||a.defaultPrevented||TweenLite.delayedCall(.05,s))):(p(c.throwProps),Yt||rt.allowEventDefault||!a||!1===c.dragClickables&&dt.call(rt,a.target)||!l||V&&(!Y||V!==Y)||!1===a.cancelable||It(a),Ot(rt,"release","onRelease")),pt()&&u.duration(rt.tween.duration()),l&&Ot(rt,"dragend","onDragEnd"),!0}};(t=pe.get(this.target))&&t.kill(),this.startDrag=function(t,e){var i,n,r,o;m(t||rt.pointerEvent,!0),e&&!rt.hitTest(t||rt.pointerEvent)&&(i=ve(t||rt.pointerEvent),n=ve(f),r=_({x:i.left+i.width/2,y:i.top+i.height/2}),o=_({x:n.left+n.width/2,y:n.top+n.height/2}),b-=r.x-o.x,T-=r.y-o.y),rt.isDragging||(rt.isDragging=!0,Ot(rt,"dragstart","onDragStart"))},this.drag=gt,this.endDrag=function(t){_t(t||rt.pointerEvent,!0)},this.timeSinceDrag=function(){return rt.isDragging?0:(Vt()-st)/1e3},this.timeSinceClick=function(){return(Vt()-ft)/1e3},this.hitTest=function(t,e){return pe.hitTest(rt.target,t,e)},this.getDirection=function(t,e){var i,n,r,o,s,a,l="velocity"===t&&Dt?t:"object"!=typeof t||J?"start":"element";return"element"===l&&(s=ve(rt.target),a=ve(t)),i="start"===l?rt.x-E:"velocity"===l?Dt.getVelocity(this.target,$):s.left+s.width/2-(a.left+a.width/2),J?i<0?"counter-clockwise":"clockwise":(e=e||2,n="start"===l?rt.y-S:"velocity"===l?Dt.getVelocity(this.target,tt):s.top+s.height/2-(a.top+a.height/2),o=(r=Math.abs(i/n))<1/e?"":i<0?"left":"right",r<e&&(""!==o&&(o+="-"),o+=n<0?"up":"down"),o)},this.applyBounds=function(t){var e,i,n,r,o,s;if(t&&c.bounds!==t)return c.bounds=t,rt.update(!0);if(a(!0),l(),O){if(e=rt.x,i=rt.y,A<e?e=A:e<C&&(e=C),I<i?i=I:i<M&&(i=M),(rt.x!==e||rt.y!==i)&&(n=!0,rt.x=rt.endX=e,J?rt.endRotation=e:rt.y=rt.endY=i,d(
173F=!0),rt.autoScroll&&!rt.isDragging))for(se(f.parentNode),r=f,ie.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=zt.scrollTop?zt.scrollTop:Xt.body.scrollTop,ie.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=zt.scrollLeft?zt.scrollLeft:Xt.body.scrollLeft;r&&!s;)o=(s=oe(r.parentNode))?ie:r.parentNode,it&&o.scrollTop>o._gsMaxScrollY&&(o.scrollTop=o._gsMaxScrollY),et&&o.scrollLeft>o._gsMaxScrollX&&(o.scrollLeft=o._gsMaxScrollX),r=o;rt.isThrowing&&(n||rt.endX>A||rt.endX<C||rt.endY>I||rt.endY<M)&&p(c.throwProps,n)}return rt},this.update=function(t,e,i){var n=rt.x,r=rt.y;return o(!e),t?rt.applyBounds():(F&&i&&d(!0),a(!0)),e&&(yt(rt.pointerX,rt.pointerY),F&&d(!0)),rt.isPressed&&!e&&(et&&.01<Math.abs(n-rt.x)||it&&.01<Math.abs(r-rt.y)&&!J)&&u(),rt.autoScroll&&(se(f.parentNode),at=rt.isDragging,d(!0)),rt.autoScroll&&(re(f,g),ne(f,g)),rt},this.enable=function(t){var e,i,n;if("soft"!==t){for(i=ot.length;-1<--i;)n=ot[i],ce(n,"mousedown",m),ce(n,"touchstart",m),ce(n,"touchforcechange",It),ce(n,"click",y,!0),J||!1===c.cursor||St(n,"cursor",c.cursor||"move"),St(n,"touchCallout","none"),St(n,"touchAction",et==it?"none":et?"pan-y":"pan-x"),At(n)&&St(n.ownerSVGElement||n,"touchAction",et==it?"none":et?"pan-y":"pan-x"),this.vars.allowContextMenu||ce(n,"contextmenu",r);Rt(ot,!1)}return ne(f,g),x=!0,Dt&&"soft"!==t&&Dt.track(w||f,Q?"x,y":J?"rotation":"top,left"),w&&w.enable(),f._gsDragID=e="d"+Qt++,Zt[e]=this,w&&(w.element._gsDragID=e),TweenLite.set(f,{x:"+=0",overwrite:!1,data:"_draggable"}),G={t:f,data:Yt?R:f._gsTransform,tween:{},setRatio:Yt?function(){TweenLite.set(f,k)}:ge._internals.setTransformRatio||ge._internals.set3DTransformRatio},u(),rt.update(!0),rt},this.disable=function(t){var e,i,n=rt.isDragging;if(!J)for(e=ot.length;-1<--e;)St(ot[e],"cursor",null);if("soft"!==t){for(e=ot.length;-1<--e;)i=ot[e],St(i,"touchCallout",null),St(i,"touchAction",null),de(i,"mousedown",m),de(i,"touchstart",m),de(i,"touchforcechange",It),de(i,"click",y),de(i,"contextmenu",r);Rt(ot,!0),z&&(de(z,"touchcancel",_t),de(z,"touchend",_t),de(z,"touchmove",gt)),de(Xt,"mouseup",_t),de(Xt,"mousemove",gt)}return re(f,g),x=!1,Dt&&"soft"!==t&&Dt.untrack(w||f,Q?"x,y":J?"rotation":"top,left"),w&&w.disable(),bt(d),rt.isDragging=rt.isPressed=X=!1,n&&Ot(rt,"dragend","onDragEnd"),rt},this.enabled=function(t,e){return arguments.length?t?rt.enable(e):rt.disable(e):x},this.kill=function(){return rt.isThrowing=!1,TweenLite.killTweensOf(w||f,!0,n),rt.disable(),TweenLite.set(ot,{clearProps:"userSelect"}),delete Zt[f._gsDragID],rt},-1!==e.indexOf("scroll")&&(w=this.scrollProxy=new i(f,function(t,e){var i;for(i in e)void 0===t[i]&&(t[i]=e[i]);return t}({onKill:function(){rt.isPressed&&_t(null)}},c)),f.style.overflowY=it&&!he?"auto":"hidden",f.style.overflowX=et&&!he?"auto":"hidden",f=w.content),!1!==c.force3D&&TweenLite.set(f,{force3D:!0}),J?n.rotation=1:(et&&(n[$]=1),it&&(n[tt]=1)),J?(R=(k=Ut).css,k.overwrite=!1):Q&&(R=(k=et&&it?Nt:et?Ft:Bt).css,k.overwrite=!1),this.enable()},Y=pe.prototype=new me.c;Y.constructor=pe,Y.pointerX=Y.pointerY=Y.startX=Y.startY=Y.deltaX=Y.deltaY=0,Y.isDragging=Y.isPressed=!1,pe.version="0.17.2",pe.zIndex=1e3,ce(Xt,"touchcancel",function(){}),ce(Xt,"contextmenu",function(t){var e;for(e in Zt)Zt[e].isPressed&&Zt[e].endDrag()}),pe.create=function(t,e){"string"==typeof t&&(t=TweenLite.selector(t));for(var i=t&&0!==t.length?a(t)?function(t){var e,i,n,r=[],o=t.length;for(e=0;e<o;e++)if(i=t[e],a(i))for(n=i.length,n=0;n<i.length;n++)r.push(i[n]);else i&&0!==i.length&&r.push(i);return r}(t):[t]:[],n=i.length;-1<--n;)i[n]=new pe(i[n],e);return i},pe.get=function(t){return Zt[(Et(t)||{})._gsDragID]},pe.timeSinceDrag=function(){return(Vt()-te)/1e3};var q={},ve=function(t,e){if(t===window)return q.left=q.top=0,q.width=q.right=zt.clientWidth||t.innerWidth||Xt.body.clientWidth||0,q.height=q.bottom=(t.innerHeight||0)-20<zt.clientHeight?zt.clientHeight:t.innerHeight||Xt.body.clientHeight||0,q;var i=t.pageX!==e?{left:t.pageX-P(),top:t.pageY-O(),right:t.pageX-P()+1,bottom:t.pageY-O()+1}:t.nodeType||t.left===e||t.top===e?Yt?function(t){var e,i,n=0,r=0;for(e=(t=Et(t)).offsetWidth,i=t.offsetHeight;t;)n+=t.offsetTop,r+=t.offsetLeft,t=t.offsetParent;return{top:n,left:r,width:e,height:i}}(t):Et(t).getBoundingClientRect():t;return i.right===e&&i.width!==e?(i.right=i.left+i.width,i.bottom=i.top+i.height):i.width===e&&(i={width:i.right-i.left,height:i.bottom-i.top,right:i.right,left:i.left,bottom:i.bottom,top:i.top}),i};
173return pe.hitTest=function(t,e,i){if(t===e)return!1;var n,r,o,s=ve(t),a=ve(e),l=a.left>s.right||a.right<s.left||a.top>s.bottom||a.bottom<s.top;return l||!i?!l:(o=-1!==(i+"").indexOf("%"),i=parseFloat(i)||0,(n={left:Math.max(s.left,a.left),top:Math.max(s.top,a.top)}).width=Math.min(s.right,a.right)-n.left,n.height=Math.min(s.bottom,a.bottom)-n.top,!(n.width<0||n.height<0)&&(o?(i*=.01,(r=n.width*n.height)>=s.width*s.height*i||r>=a.width*a.height*i):n.width>i&&n.height>i))},qt.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;",pe},!0);var Yt=me.m.Draggable;
174/*!
175 * VERSION: 0.11.2
176 * DATE: 2019-02-07
177 * UPDATES AND DOCS AT: http://greensock.com
178 *
179 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
180 * ThrowPropsPlugin is a Club GreenSock membership benefit; You must have a valid membership to use
181 * this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details.
182 * This work is subject to the software agreement that was issued with your membership.
183 * 
184 * @author: Jack Doyle, [email protected]
185 */me.k._gsDefine("plugins.ThrowPropsPlugin",["utils.VelocityTracker","plugins.TweenPlugin","TweenLite","easing.Ease"],function(S){function O(t,e){me.j.call(this,"throwProps"),this._overwriteProps.length=0}function h(t,e,i,n,r){var o,s,a,l,h=e.length,u=0,c=d;if("object"==typeof t){for(;-1<--h;){for(a in o=e[h],s=0,t)s+=(l=o[a]-t[a])*l;s<c&&(u=h,c=s)}if((r||d)<d&&r<Math.sqrt(c))return t}else for(;-1<--h;)(s=(o=e[h])-t)<0&&(s=-s),s<c&&n<=o&&o<=i&&(u=h,c=s);return e[u]}function P(t,e,i,n,r,o){if("auto"===t.end)return t;var s,a,l=t.end;if(i=isNaN(i)?d:i,n=isNaN(n)?-d:n,"object"==typeof e){if(s=e.calculated?e:("function"==typeof l?l(e):h(e,l,i,n,o))||e,!e.calculated){for(a in s)e[a]=s[a];e.calculated=!0}s=s[r]}else s="function"==typeof l?l(e):l instanceof Array?h(e,l,i,n,o):Number(l);return i<s?s=i:s<n&&(s=n),{max:s,min:s,unitFactor:t.unitFactor}}function A(t,e,i){for(var n in e)void 0===t[n]&&n!==i&&(t[n]=e[n]);return t}var _,x,w,b,d=999999999999999,i=me.k._gsDefine.globals,C=!1,T={x:1,y:1,z:2,scale:1,scaleX:1,scaleY:1,rotation:1,rotationZ:1,rotationX:2,rotationY:2,skewX:1,skewY:1,xPercent:1,yPercent:1},I=O.calculateChange=function(t,e,i,n){return null==n&&(n=.05),i*n*t/(e instanceof me.b?e:e?new me.b(e):me.i.defaultEase).getRatio(n)},M=O.calculateDuration=function(t,e,i,n,r){r=r||.05;var o=n instanceof me.b?n:n?new me.b(n):me.i.defaultEase;return Math.abs((e-t)*o.getRatio(r)/i/r)},s=O.calculateTweenDuration=function(t,e,i,n,r,o){if("string"==typeof t&&(t=me.i.selector(t)),!t)return 0;null==i&&(i=10),null==n&&(n=.2),null==r&&(r=1),t.length&&(t=t[0]||t);var s,a,l,h,u,c,d,f,p,v,m,g,y,_=0,x=9999999999,w=e.throwProps||e,b=e.ease instanceof me.b?e.ease:e.ease?new me.b(e.ease):me.i.defaultEase,T=isNaN(w.checkpoint)?.05:Number(w.checkpoint),E=isNaN(w.resistance)?O.defaultResistance:Number(w.resistance);if(w.linkedProps)for(g=w.linkedProps.split(","),m={},y=0;y<g.length;y++)(a=w[s=g[y]])&&(l=0<(h=void 0!==a.velocity&&"number"==typeof a.velocity?Number(a.velocity)||0:(p=p||S.getByTarget(t))&&p.isTrackingProp(s)?p.getVelocity(s):0)*(u=isNaN(a.resistance)?E:Number(a.resistance))?h/u:h/-u,c="function"==typeof t[s]?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():t[s]||0,m[s]=c+I(h,b,l,T));for(s in w)"resistance"!==s&&"checkpoint"!==s&&"preventOvershoot"!==s&&"linkedProps"!==s&&"radius"!==s&&("object"!=typeof(a=w[s])&&((p=p||S.getByTarget(t))&&p.isTrackingProp(s)?a="number"==typeof a?{velocity:a}:{velocity:p.getVelocity(s)}:l=0<(h=Number(a)||0)*E?h/E:h/-E),"object"==typeof a&&(l=0<(h=void 0!==a.velocity&&"number"==typeof a.velocity?Number(a.velocity)||0:(p=p||S.getByTarget(t))&&p.isTrackingProp(s)?p.getVelocity(s):0)*(u=isNaN(a.resistance)?E:Number(a.resistance))?h/u:h/-u,d=(c="function"==typeof t[s]?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():t[s]||0)+I(h,b,l,T),void 0!==a.end&&(a=P(a,m&&s in m?m:d,a.max,a.min,s,w.radius),(o||C)&&(w[s]=A(a,w[s],"end"))),void 0!==a.max&&d>Number(a.max)+1e-10?(v=a.unitFactor||O.defaultUnitFactors[s]||1,(f=c>a.max&&a.min!==a.max||-15<h*v&&h*v<45?n+.1*(i-n):M(c,a.max,h,b,T))+r<x&&(x=f+r)):void 0!==a.min&&d<Number(a.min)-1e-10&&(v=a.unitFactor||O.defaultUnitFactors[s]||1,(f=c<a.min&&a.min!==a.max||-45<h*v&&h*v<15?n+.1*(i-n):M(c,a.min,h,b,T))+r<x&&(x=f+r)),_<f&&(_=f)),_<l&&(_=l));return x<_&&(_=x),i<_?i:_<n?n:_},t=O.prototype=new me.j("throwProps");return(t.constructor=O).version="0.11.2",O.API=2,O._autoCSS=!0,O.defaultResistance=100,O.defaultUnitFactors={time:1e3,totalTime:1e3}
185,O.track=function(t,e,i){return S.track(t,e,i)},O.untrack=function(t,e){S.untrack(t,e)},O.isTracking=function(t,e){return S.isTracking(t,e)},O.getVelocity=function(t,e){var i=S.getByTarget(t);return i?i.getVelocity(e):NaN},O._cssRegister=function(){var t=i.com.greensock.plugins.CSSPlugin;if(t){var e=t._internals,m=e._parseToProxy,g=e._setPluginRatio,y=e.CSSPropTween;e._registerComplexSpecialProp("throwProps",{parser:function(t,e,i,n,r,o){o=new O;var s,a,l,h,u={},c={},d={},f={},p={},v={};for(a in x={},e)"resistance"!==a&&"preventOvershoot"!==a&&"linkedProps"!==a&&"radius"!==a&&("object"==typeof(s=e[a])?(void 0!==s.velocity&&"number"==typeof s.velocity?u[a]=Number(s.velocity)||0:(h=h||S.getByTarget(t),u[a]=h&&h.isTrackingProp(a)?h.getVelocity(a):0),void 0!==s.end&&(f[a]=s.end),void 0!==s.min&&(c[a]=s.min),void 0!==s.max&&(d[a]=s.max),s.preventOvershoot&&(v[a]=!0),void 0!==s.resistance&&(!0,p[a]=s.resistance)):"number"==typeof s?u[a]=s:(h=h||S.getByTarget(t))&&h.isTrackingProp(a)?u[a]=h.getVelocity(a):u[a]=s||0,T[a]&&n._enableTransforms(2===T[a]));for(a in l=m(t,u,n,r,o),_=l.proxy,u=l.end,_)x[a]={velocity:u[a],min:c[a],max:d[a],end:f[a],resistance:p[a],preventOvershoot:v[a]};return null!=e.resistance&&(x.resistance=e.resistance),null!=e.linkedProps&&(x.linkedProps=e.linkedProps),null!=e.radius&&(x.radius=e.radius),e.preventOvershoot&&(x.preventOvershoot=!0),r=new y(t,"throwProps",0,0,l.pt,2),n._overwriteProps.pop(),r.plugin=o,r.setRatio=g,r.data=l,o._onInitTween(_,x,n._tween),r}})}},O.to=function(t,e,i,n,r){e.throwProps||(e={throwProps:e}),0===r&&(e.throwProps.preventOvershoot=!0),C=!0;var o=new me.i(t,n||1,e);return o.render(0,!0,!0),C=(o.vars.css?(o.duration(s(_,{throwProps:x,ease:e.ease},i,n,r)),o._delay&&!o.vars.immediateRender?o.invalidate():w._onInitTween(_,b,o)):(o.kill(),o=new me.i(t,s(t,e,i,n,r),e)),!1),o},t._onInitTween=function(t,e,i,n){this.target=t,this._props=[],w=this,b=e;var r,o,s,a,l,h,u,c,d,f,p,v,m=i._ease,g=isNaN(e.checkpoint)?.05:Number(e.checkpoint),y=i._duration,_=e.preventOvershoot,x=0;if(e.linkedProps)for(p=e.linkedProps.split(","),f={},v=0;v<p.length;v++)(o=e[r=p[v]])&&(l=void 0!==o.velocity&&"number"==typeof o.velocity?Number(o.velocity)||0:(d=d||S.getByTarget(t))&&d.isTrackingProp(r)?d.getVelocity(r):0,s="function"==typeof t[r]?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():t[r]||0,f[r]=s+I(l,m,y,g));for(r in e)if("resistance"!==r&&"checkpoint"!==r&&"preventOvershoot"!==r&&"linkedProps"!==r&&"radius"!==r){if("function"==typeof(o=e[r])&&(o=o(n,t)),"number"==typeof o)l=Number(o)||0;else if("object"!=typeof o||isNaN(o.velocity)){if(!(d=d||S.getByTarget(t))||!d.isTrackingProp(r))throw"ERROR: No velocity was defined in the throwProps tween of "+t+" property: "+r;l=d.getVelocity(r)}else l=Number(o.velocity);h=I(l,m,y,g),c=0,s=(a="function"==typeof t[r])?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():t[r],"object"==typeof o&&(u=s+h,void 0!==o.end&&(o=P(o,f&&r in f?f:u,o.max,o.min,r,e.radius),C&&(e[r]=A(o,e[r],"end"))),void 0!==o.max&&Number(o.max)<u?_||o.preventOvershoot?h=o.max-s:c=o.max-s-h:void 0!==o.min&&Number(o.min)>u&&(_||o.preventOvershoot?h=o.min-s:c=o.min-s-h)),this._overwriteProps[x]=r,this._props[x++]={p:r,s:s,c1:h,c2:c,f:a,r:!1}}return!0},t._kill=function(t){for(var e=this._props.length;-1<--e;)null!=t[this._props[e].p]&&this._props.splice(e,1);return me.j.prototype._kill.call(this,t)},t._mod=function(t){for(var e,i=this._props,n=i.length;-1<--n;)"function"==typeof(e=t[i[n].p]||t.throwProps)&&(i[n].m=e)},t.setRatio=function(t){for(var e,i,n=this._props.length;-1<--n;)i=(e=this._props[n]).s+e.c1*t+e.c2*t*t,e.m?i=e.m(i,this.target):1===t&&(i=(1e4*i+(i<0?-.5:.5)|0)/1e4),e.f?this.target[e.p](i):this.target[e.p]=i},me.j.activate([O]),O},!0),me.k._gsDefine("utils.VelocityTracker",["TweenLite"],function(){function s(t,e,i){var n=(t._gsTransform||u)[e];return n||0===n?n:(t.style[e]?n=t.style[e]:(i=i||function(t){return d.getComputedStyle(t)}(t))?n=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(h,"-$1").toLowerCase()):t.currentStyle&&(n=t.currentStyle[e]),parseFloat(n)||0)}function a(t,e,i){this.p=t,this.f=e,this.v1=this.v2=0,this.t1=this.t2=f.time,this.css=!1,this.type="",this._prev=null,i&&((this._next=i)._prev=this)}function e(){var t,e,i=o,n=f.time;if(.03<=n-r)for(r,r=n;i;){for(e=i._firstVP;e;)((t=e.css?s(i.target,e.p):e.f?i.target[e.p]():i.target[e.p])!==e.v1||.15<n-e.t1)&&(e.v2=e.v1,e.v1=t,e.t2=e.t1,e.t1=n),e=e._next;i=i._next}}function l(t){this._lookup={},this.target=t,this.elem=!(!t.style||!t.nodeType),i||(f.addEventListener("tick",e,null,!1,-100),r=f.time,i=!0),o&&((this._next=o)._prev=this),o=this}var o,i,r,h=/([A-Z])/g,u={},t=me.k.document,c={x:1,y:1,z:2,scale:1,scaleX:1,scaleY:1,rotation:1,rotationZ:1,rotationX:2,rotationY:2,skewX:1,skewY:1,xPercent:1,yPercent:1},d="undefined"!=typeof window?window:t.defaultView||{getComputedStyle:function(){}},f=me.i.ticker,p=l.getByTarget=function(t){for(var e=o;e;){if(e.target===t)return e;e=e._next}},n=l.prototype;return n.addProp=function(t,e){if(!this._lookup[t]){var i=this.target,n="function"==typeof i[t],r=n?this._altProp(t):t,o=this._firstVP;this._firstVP=this._lookup[t]=this._lookup[r]=o=new a(r!==t&&0===t.indexOf("set")?r:t,n,o),o.css=this.elem&&(void 0!==this.target.style[o.p]||c[o.p]),o.css&&c[o.p]&&!i._gsTransform&&me.i.set(i,{x:"+=0",overwrite:!1}),o.type=e||o.css&&0===t.indexOf("rotation")?"deg":"",o.v1=o.v2=o.css?s(i,o.p):n?i[o.p]():i[o.p]}},n.removeProp=function(t){var e=this._lookup[t];e&&(e._prev?e._prev._next=e._next:e===this._firstVP&&(this._firstVP=e._next),e._next&&(e._next._prev=e._prev),this._lookup[t]=0,e.f&&(this._lookup[this._altProp(t)]=0))},n.isTrackingProp=function(t){return this._lookup[t]instanceof a},n.getVelocity=function(t){var e,i,n=this._lookup[t],r=this.target;if(!n)throw"The velocity of "+t+" is not being tracked.";return e=(n.css?s(r,n.p):n.f?r[n.p]():r[n.p])-n.v2,"rad"!==n.type&&"deg"!==n.type||(e%=i="rad"===n.type?2*Math.PI:360)!==e%(i/2)&&(e=e<0?e+i:e-i),e/(f.time-n.t2)},n._altProp=function(t){var e=t.substr(0,3),i=("get"===e?"set":"set"===e?"get":e)+t.substr(3);return"function"==typeof this.target[i]?i:t},l.getByTarget=function(t){var e=o;for("string"==typeof t&&(t=me.i.selector(t)),t.length&&t!==window&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]);e;){if(e.target===t)return e;e=e._next}}
185,l.track=function(t,e,i){var n=p(t),r=e.split(","),o=r.length;for(i=(i||"").split(","),n=n||new l(t);-1<--o;)n.addProp(r[o],i[o]||i[0]);return n},l.untrack=function(t,e){var i=p(t),n=(e||"").split(","),r=n.length;if(i){for(;-1<--r;)i.removeProp(n[r]);i._firstVP&&e||(i._prev?i._prev._next=i._next:i===o&&(o=i._next),i._next&&(i._next._prev=i._prev))}},l.isTracking=function(t,e){var i=p(t);return!!i&&(!(e||!i._firstVP)||i.isTrackingProp(e))},l},!0);me.m.ThrowPropsPlugin,me.m.com.greensock.utils.VelocityTracker;function qt(t){return Pe.getComputedStyle(t)}var Kt,Zt,Qt,Jt,$t,te,ee,ie,ne,re,oe,se,ae,le,he,ue,ce,de,fe,pe,ve,ye,_e,xe,we,be,Te,Ee,Se,Oe=me.k.document,Pe="undefined"!=typeof window?window:Oe.defaultView||{getComputedStyle:function(){}},Ae=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Ce=-1!==((me.k.navigator||{}).userAgent||"").indexOf("Edge"),Ie={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]};function Me(t,e,i,n,r,o){return i=(parseFloat(i||0)-parseFloat(t||0))*r,n=(parseFloat(n||0)-parseFloat(e||0))*o,Math.sqrt(i*i+n*n)}function ke(t){return"string"!=typeof t&&t.nodeType||(t=me.k.TweenLite.selector(t)).length&&(t=t[0]),t}function Re(t){if(!t)return 0;var e,i,n,r,o,s,a,l=(t=ke(t)).tagName.toLowerCase(),h=1,u=1;"non-scaling-stroke"===t.getAttribute("vector-effect")&&(u=t.getScreenCTM(),h=Math.sqrt(u.a*u.a+u.b*u.b),u=Math.sqrt(u.d*u.d+u.c*u.c));try{i=t.getBBox()}catch(t){}if(i&&(i.width||i.height)||!Ie[l]||(i={width:parseFloat(t.getAttribute(Ie[l][0])),height:parseFloat(t.getAttribute(Ie[l][1]))},"rect"!==l&&"line"!==l&&(i.width*=2,i.height*=2),"line"===l&&(i.x=parseFloat(t.getAttribute("x1")),i.y=parseFloat(t.getAttribute("y1")),i.width=Math.abs(i.width-i.x),i.height=Math.abs(i.height-i.y))),"path"===l)r=t.style.strokeDasharray,t.style.strokeDasharray="none",e=t.getTotalLength()||0,e*=(h+u)/2,t.style.strokeDasharray=r;else if("rect"===l)e=2*i.width*h+2*i.height*u;else if("line"===l)e=Me(i.x,i.y,i.x+i.width,i.y+i.height,h,u);else if("polyline"===l||"polygon"===l)for(n=t.getAttribute("points").match(Ae)||[],"polygon"===l&&n.push(n[0],n[1]),e=0,o=2;o<n.length;o+=2)e+=Me(n[o-2],n[o-1],n[o],n[o+1],h,u)||0;else"circle"!==l&&"ellipse"!==l||(s=i.width/2*h,a=i.height/2*u,e=Math.PI*(3*(s+a)-Math.sqrt((3*s+a)*(s+3*a))));return e||0}function Le(t,e){if(!t)return[0,0];t=ke(t),e=e||Re(t)+1;var i=qt(t),n=i.strokeDasharray||"",r=parseFloat(i.strokeDashoffset),o=n.indexOf(",");return o<0&&(o=n.indexOf(" ")),e<(n=o<0?e:parseFloat(n.substr(0,o))||1e-5)&&(n=e),[Math.max(0,-r),Math.max(0,n-r)]}(Kt=me.k._gsDefine.plugin({propName:"drawSVG",API:2,version:"0.2.1",global:!0,overwriteProps:["drawSVG"],init:function(t,e,i,n){if(!t.getBBox)return!1;var r,o,s,a,l=Re(t)+1;return this._style=t.style,this._target=t,"function"==typeof e&&(e=e(n,t)),!0===e||"true"===e?e="0 100%":e?-1===(e+"").indexOf(" ")&&(e="0 "+e):e="0 0",o=function(t,e,i){var n,r,o=t.indexOf(" ");return r=-1===o?(n=void 0!==i?i+"":t,t):(n=t.substr(0,o),t.substr(o+1)),n=-1!==n.indexOf("%")?parseFloat(n)/100*e:parseFloat(n),(r=-1!==r.indexOf("%")?parseFloat(r)/100*e:parseFloat(r))<n?[r,n]:[n,r]}(e,l,(r=Le(t,l))[0]),this._length=l+10,0===r[0]&&0===o[0]?(s=Math.max(1e-5,o[1]-l),this._dash=l+s,this._offset=l-r[1]+s,this._offsetPT=this._addTween(this,"_offset",this._offset,l-o[1]+s,"drawSVG")):(this._dash=r[1]-r[0]||1e-6,this._offset=-r[0],this._dashPT=this._addTween(this,"_dash",this._dash,o[1]-o[0]||1e-5,"drawSVG"),this._offsetPT=this._addTween(this,"_offset",this._offset,-o[0],"drawSVG")),Ce&&(a=qt(t)).strokeLinecap!==a.strokeLinejoin&&(o=parseFloat(a.strokeMiterlimit),this._addTween(t.style,"strokeMiterlimit",o,o+1e-4,"strokeMiterlimit")),this._live="non-scaling-stroke"===t.getAttribute("vector-effect")||-1!==(e+"").indexOf("live"),!0},set:function(t){if(this._firstPT){if(this._live){var e,i=Re(this._target)+11;i!==this._length&&(e=i/this._length,this._length=i,this._offsetPT.s*=e,this._offsetPT.c*=e,this._dashPT?(this._dashPT.s*=e,this._dashPT.c*=e):this._dash*=e)}this._super.setRatio.call(this,t),this._style.strokeDashoffset=this._offset,this._style.strokeDasharray=1===t||0===t?this._offset<.001&&this._length-this._dash<=10?"none":this._offset===this._dash?"0px, 999999px":this._dash+"px,"+this._length+"px":this._dash+"px,"+this._length+"px"}}})).getLength=Re,Kt.getPosition=Le,(Qt=Zt=Zt||{})[Qt.WEBGL_LEGACY=0]="WEBGL_LEGACY",Qt[Qt.WEBGL=1]="WEBGL",Qt[Qt.WEBGL2=2]="WEBGL2",($t=Jt=Jt||{})[$t.UNKNOWN=0]="UNKNOWN",$t[$t.WEBGL=1]="WEBGL",$t[$t.CANVAS=2]="CANVAS",(ee=te=te||{})[ee.NORMAL=0]="NORMAL",ee[ee.ADD=1]="ADD",ee[ee.MULTIPLY=2]="MULTIPLY",ee[ee.SCREEN=3]="SCREEN",ee[ee.OVERLAY=4]="OVERLAY",ee[ee.DARKEN=5]="DARKEN",ee[ee.LIGHTEN=6]="LIGHTEN",ee[ee.COLOR_DODGE=7]="COLOR_DODGE",ee[ee.COLOR_BURN=8]="COLOR_BURN",ee[ee.HARD_LIGHT=9]="HARD_LIGHT",ee[ee.SOFT_LIGHT=10]="SOFT_LIGHT",ee[ee.DIFFERENCE=11]="DIFFERENCE",ee[ee.EXCLUSION=12]="EXCLUSION",ee[ee.HUE=13]="HUE",ee[ee.SATURATION=14]="SATURATION",ee[ee.COLOR=15]="COLOR",ee[ee.LUMINOSITY=16]="LUMINOSITY",ee[ee.NORMAL_NPM=17]="NORMAL_NPM",ee[ee.ADD_NPM=18]="ADD_NPM",ee[ee.SCREEN_NPM=19]="SCREEN_NPM",ee[ee.NONE=20]="NONE",ee[ee.SRC_OVER=0]="SRC_OVER",ee[ee.SRC_IN=21]="SRC_IN",ee[ee.SRC_OUT=22]="SRC_OUT",ee[ee.SRC_ATOP=23]="SRC_ATOP",ee[ee.DST_OVER=24]="DST_OVER",ee[ee.DST_IN=25]="DST_IN",ee[ee.DST_OUT=26]="DST_OUT",ee[ee.DST_ATOP=27]="DST_ATOP",ee[ee.ERASE=26]="ERA
185SE",ee[ee.SUBTRACT=28]="SUBTRACT",ee[ee.XOR=29]="XOR",(ne=ie=ie||{})[ne.POINTS=0]="POINTS",ne[ne.LINES=1]="LINES",ne[ne.LINE_LOOP=2]="LINE_LOOP",ne[ne.LINE_STRIP=3]="LINE_STRIP",ne[ne.TRIANGLES=4]="TRIANGLES",ne[ne.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",ne[ne.TRIANGLE_FAN=6]="TRIANGLE_FAN",(oe=re=re||{})[oe.RGBA=6408]="RGBA",oe[oe.RGB=6407]="RGB",oe[oe.ALPHA=6406]="ALPHA",oe[oe.LUMINANCE=6409]="LUMINANCE",oe[oe.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",oe[oe.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",oe[oe.DEPTH_STENCIL=34041]="DEPTH_STENCIL",(ae=se=se||{})[ae.TEXTURE_2D=3553]="TEXTURE_2D",ae[ae.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",ae[ae.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",ae[ae.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",ae[ae.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",ae[ae.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",ae[ae.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",ae[ae.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",ae[ae.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",(he=le=le||{})[he.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",he[he.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",he[he.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",he[he.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",he[he.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",he[he.FLOAT=5126]="FLOAT",he[he.HALF_FLOAT=36193]="HALF_FLOAT",(ce=ue=ue||{})[ce.NEAREST=0]="NEAREST",ce[ce.LINEAR=1]="LINEAR",(fe=de=de||{})[fe.CLAMP=33071]="CLAMP",fe[fe.REPEAT=10497]="REPEAT",fe[fe.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",(ve=pe=pe||{})[ve.OFF=0]="OFF",ve[ve.POW2=1]="POW2",ve[ve.ON=2]="ON",(_e=ye=ye||{})[_e.NPM=0]="NPM",_e[_e.UNPACK=1]="UNPACK",_e[_e.PMA=2]="PMA",_e[_e.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",_e[_e.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",_e[_e.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA",(we=xe=xe||{})[we.AUTO=0]="AUTO",we[we.MANUAL=1]="MANUAL",(Te=be=be||{}).LOW="lowp",Te.MEDIUM="mediump",Te.HIGH="highp",(Se=Ee=Ee||{})[Se.NONE=0]="NONE",Se[Se.SCISSOR=1]="SCISSOR",Se[Se.STENCIL=2]="STENCIL",Se[Se.SPRITE=3]="SPRITE";
186/*!
187 * @pixi/math - v5.2.0
188 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
189 *
190 * @pixi/math is licensed under the MIT License.
191 * http://www.opensource.org/licenses/mit-license
192 */
193var De=(Ne.prototype.clone=function(){return new Ne(this.x,this.y)},Ne.prototype.copyFrom=function(t){return this.set(t.x,t.y),this},Ne.prototype.copyTo=function(t){return t.set(this.x,this.y),t},Ne.prototype.equals=function(t){return t.x===this.x&&t.y===this.y},Ne.prototype.set=function(t,e){void 0===t&&(t=0),void 0===e&&(e=t),this.x=t,this.y=e},Ne);function Ne(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=t,this.y=e}var Fe=(Be.prototype.clone=function(t,e){return void 0===t&&(t=this.cb),void 0===e&&(e=this.scope),new Be(t,e,this._x,this._y)},Be.prototype.set=function(t,e){void 0===t&&(t=0),void 0===e&&(e=t),this._x===t&&this._y===e||(this._x=t,this._y=e,this.cb.call(this.scope))},Be.prototype.copyFrom=function(t){return this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope)),this},Be.prototype.copyTo=function(t){return t.set(this._x,this._y),t},Be.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},Object.defineProperty(Be.prototype,"x",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),Object.defineProperty(Be.prototype,"y",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),Be);function Be(t,e,i,n){void 0===i&&(i=0),void 0===n&&(n=0),this._x=i,this._y=n,this.cb=t,this.scope=e}var Ue,je,Xe=2*Math.PI,ze=180/Math.PI,We=Math.PI/180;(je=Ue=Ue||{})[je.POLY=0]="POLY",je[je.RECT=1]="RECT",je[je.CIRC=2]="CIRC",je[je.ELIP=3]="ELIP",je[je.RREC=4]="RREC";var He=(Ge.prototype.fromArray=function(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]},Ge.prototype.set=function(t,e,i,n,r,o){return this.a=t,this.b=e,this.c=i,this.d=n,this.tx=r,this.ty=o,this},Ge.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var i=e||this.array;return t?(i[0]=this.a,i[1]=this.b,i[2]=0,i[3]=this.c,i[4]=this.d,i[5]=0,i[6]=this.tx,i[7]=this.ty):(i[0]=this.a,i[1]=this.c,i[2]=this.tx,i[3]=this.b,i[4]=this.d,i[5]=this.ty,i[6]=0,i[7]=0),i[8]=1,i},Ge.prototype.apply=function(t,e){e=e||new De;var i=t.x,n=t.y;return e.x=this.a*i+this.c*n+this.tx,e.y=this.b*i+this.d*n+this.ty,e},Ge.prototype.applyInverse=function(t,e){e=e||new De;var i=1/(this.a*this.d+this.c*-this.b),n=t.x,r=t.y;return e.x=this.d*i*n+-this.c*i*r+(this.ty*this.c-this.tx*this.d)*i,e.y=this.a*i*r+-this.b*i*n+(-this.ty*this.a+this.tx*this.b)*i,e},Ge.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},Ge.prototype.scale=function(t,e){return this.a*=t,this.d*=e,this.c*=t,this.b*=e,this.tx*=t,this.ty*=e,this},Ge.prototype.rotate=function(t){var e=Math.cos(t),i=Math.sin(t),n=this.a,r=this.c,o=this.tx;return this.a=n*e-this.b*i,this.b=n*i+this.b*e,this.c=r*e-this.d*i,this.d=r*i+this.d*e,this.tx=o*e-this.t
193y*i,this.ty=o*i+this.ty*e,this},Ge.prototype.append=function(t){var e=this.a,i=this.b,n=this.c,r=this.d;return this.a=t.a*e+t.b*n,this.b=t.a*i+t.b*r,this.c=t.c*e+t.d*n,this.d=t.c*i+t.d*r,this.tx=t.tx*e+t.ty*n+this.tx,this.ty=t.tx*i+t.ty*r+this.ty,this},Ge.prototype.setTransform=function(t,e,i,n,r,o,s,a,l){return this.a=Math.cos(s+l)*r,this.b=Math.sin(s+l)*r,this.c=-Math.sin(s-a)*o,this.d=Math.cos(s-a)*o,this.tx=t-(i*this.a+n*this.c),this.ty=e-(i*this.b+n*this.d),this},Ge.prototype.prepend=function(t){var e=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var i=this.a,n=this.c;this.a=i*t.a+this.b*t.c,this.b=i*t.b+this.b*t.d,this.c=n*t.a+this.d*t.c,this.d=n*t.b+this.d*t.d}return this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty,this},Ge.prototype.decompose=function(t){var e=this.a,i=this.b,n=this.c,r=this.d,o=-Math.atan2(-n,r),s=Math.atan2(i,e),a=Math.abs(o+s);return a<1e-5||Math.abs(Xe-a)<1e-5?(t.rotation=s,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=o,t.skew.y=s),t.scale.x=Math.sqrt(e*e+i*i),t.scale.y=Math.sqrt(n*n+r*r),t.position.x=this.tx,t.position.y=this.ty,t},Ge.prototype.invert=function(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.tx,o=t*n-e*i;return this.a=n/o,this.b=-e/o,this.c=-i/o,this.d=t/o,this.tx=(i*this.ty-n*r)/o,this.ty=-(t*this.ty-e*r)/o,this},Ge.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},Ge.prototype.clone=function(){var t=new Ge;return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},Ge.prototype.copyTo=function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},Ge.prototype.copyFrom=function(t){return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty,this},Object.defineProperty(Ge,"IDENTITY",{get:function(){return new Ge},enumerable:!0,configurable:!0}),Object.defineProperty(Ge,"TEMP_MATRIX",{get:function(){return new Ge},enumerable:!0,configurable:!0}),Ge);function Ge(t,e,i,n,r,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=0),this.array=null,this.a=t,this.b=e,this.c=i,this.d=n,this.tx=r,this.ty=o}var Ve=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],Ye=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],qe=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],Ke=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],Ze=[],Qe=[],Je=Math.sign;!function(){for(var t=0;t<16;t++){var e=[];Ze.push(e);for(var i=0;i<16;i++)for(var n=Je(Ve[t]*Ve[i]+qe[t]*Ye[i]),r=Je(Ye[t]*Ve[i]+Ke[t]*Ye[i]),o=Je(Ve[t]*qe[i]+qe[t]*Ke[i]),s=Je(Ye[t]*qe[i]+Ke[t]*Ke[i]),a=0;a<16;a++)if(Ve[a]===n&&Ye[a]===r&&qe[a]===o&&Ke[a]===s){e.push(a);break}}for(t=0;t<16;t++){var l=new He;l.set(Ve[t],Ye[t],qe[t],Ke[t],0,0),Qe.push(l)}}();var $e={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:function(t){return Ve[t]},uY:function(t){return Ye[t]},vX:function(t){return qe[t]},vY:function(t){return Ke[t]},inv:function(t){return 8&t?15&t:7&-t},add:function(t,e){return Ze[t][e]},sub:function(t,e){return Ze[t][$e.inv(e)]},rotate180:function(t){return 4^t},isVertical:function(t){return 2==(3&t)},byDirection:function(t,e){return 2*Math.abs(t)<=Math.abs(e)?0<=e?$e.S:$e.N:2*Math.abs(e)<=Math.abs(t)?0<t?$e.E:$e.W:0<e?0<t?$e.SE:$e.SW:0<t?$e.NE:$e.NW},matrixAppendRotationInv:function(t,e,i,n){void 0===i&&(i=0),void 0===n&&(n=0);var r=Qe[$e.inv(e)];r.tx=i,r.ty=n,t.append(r)}},ti=(ei.prototype.onChange=function(){this._localID++},ei.prototype.updateSkew=function(){this._cx=Math.cos(this._rotation+this.skew.y),this._sx=Math.sin(this._rotation+this.skew.y),this._cy=-Math.sin(this._rotation-this.skew.x),this._sy=Math.cos(this._rotation-this.skew.x),this._localID++},ei.prototype.updateLocalTransform=function(){var t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale.x,t.b=this._sx*this.scale.x,t.c=this._cy*this.scale.y,t.d=this._sy*this.scale.y,t.tx=this.position.x-(this.pivot.x*t.a+this.pivot.y*t.c),t.ty=this.position.y-(this.pivot.x*t.b+this.pivot.y*t.d),this._currentLocalID=this._localID,this._parentID=-1)},ei.prototype.updateTransform=function(t){var e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale.x,e.b=this._sx*this.scale.x,e.c=this._cy*this.scale.y,e.d=this._sy*this.scale.y,e.tx=this.position.x-(this.pivot.x*e.a+this.pivot.y*e.c),e.ty=this.position.y-(this.pivot.x*e.b+this.pivot.y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){var i=t.worldTransform,n=this.worldTransform;n.a=e.a*i.a+e.b*i.c,n.b=e.a*i.b+e.b*i.d,n.c=e.c*i.a+e.d*i.c,n.d=e.c*i.b+e.d*i.d,n.tx=e.tx*i.a+e.ty*i.c+i.tx,n.ty=e.tx*i.b+e.ty*i.d+i.ty,this._parentID=t._worldID,this._worldID++}},ei.prototype.setFromMatrix=function(t){t.decompose(this),this._localID++},Object.defineProperty(ei.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())},enumerable:!0,configurable:!0}),ei.IDENTITY=new ei,ei);function ei(){this.worldTransform=new He,this.localTransform=new He,this.position=new Fe(this.onChange,this,0,0),this.scale=new Fe(this.onChange,this,1,1),this.pivot=new Fe(this.onChange,this,0,0),this.skew=new Fe(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0}var ii=(Object.defineProperty(ni.prototype,"left",{get:function(){return this.x},enumerable:!0,configurable:!0}),Object.defineProperty(ni.prototype,"right",{get:function(){return this.x+this.width},enumerable:!0,configurable:!0}),Object.defineProperty(ni.prototype,"top",{get:function(){return this.y},enumerable:!0,configurable:!0}),Object.defineProperty(ni.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!0,configurable:!0}),Object.defineProperty(ni,"EMPTY",{get:function(){return new ni(0,0,0,0)},enumerable:!0,configurable:!0}),ni.prototype.clone=function(){return new ni(this.x,this.y,this.width,this.height)},ni.prototype.copyFrom=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},ni.prototype.copyTo=function(t){return t.x=this.x,t.y=this.y,t.width=this.width,t.height=this.height,t},ni.prototype.contains=function(t,e){return!(this.width<=0||this.height<=0)&&t>=this.x&&t<this.x+this.width&&e>=this.y&&e<this.y+this.height},ni.prototype.pad=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e,this},ni.prototype.fit=function(t){var e=Math.max(this.x,t.x),i=Math.min(this.x+this.width,t.x+t.width),n=Math.max(this.y,t.y),r=Math.min(this.y+this.height,t.y+t.height);return this.x=e,this.width=Math.max(i-e,0),this.y=n,this.height=Math.max(r-n,0),this},ni.prototype.ceil=function(t,e){void 0===t&&(t=1),void 0===e&&(e=.001);var i=Math.ceil((this.x+this.width-e)*t)/t,n=Math.ceil((this.y+this.height-e)*t)/t;return this.x=Math.floor((this.x+e)*t)/t,this.y=Math.floor((this.y+e)*t)/t,this.width=i-this.x,this.height=n-this.y,this},ni.prototype.enlarge=function(t){var e=Math.min(this.x,t.x),i=Math.max(this.x+this.width,t.x+t.width),n=Math.min(this.y,t.y),r=Math.max(this.y+this.height,t.y+t.height);return this.x=e,this.width=i-e,this.y=n,this.height=r-n,this},ni);
193function ni(t,e,i,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=0),this.x=Number(t),this.y=Number(e),this.width=Number(i),this.height=Number(n),this.type=Ue.RECT}var ri=(oi.prototype.clone=function(){return new oi(this.x,this.y,this.radius)},oi.prototype.contains=function(t,e){if(this.radius<=0)return!1;var i=this.radius*this.radius,n=this.x-t,r=this.y-e;return(n*=n)+(r*=r)<=i},oi.prototype.getBounds=function(){return new ii(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)},oi);function oi(t,e,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),this.x=t,this.y=e,this.radius=i,this.type=Ue.CIRC}var si=(ai.prototype.clone=function(){return new ai(this.x,this.y,this.width,this.height)},ai.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;var i=(t-this.x)/this.width,n=(e-this.y)/this.height;return(i*=i)+(n*=n)<=1},ai.prototype.getBounds=function(){return new ii(this.x-this.width,this.y-this.height,this.width,this.height)},ai);function ai(t,e,i,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=0),this.x=t,this.y=e,this.width=i,this.height=n,this.type=Ue.ELIP}var li=(hi.prototype.clone=function(){var t=new hi(this.points.slice());return t.closeStroke=this.closeStroke,t},hi.prototype.contains=function(t,e){for(var i=!1,n=this.points.length/2,r=0,o=n-1;r<n;o=r++){var s=this.points[2*r],a=this.points[2*r+1],l=this.points[2*o],h=this.points[2*o+1];e<a!=e<h&&t<(e-a)/(h-a)*(l-s)+s&&(i=!i)}return i},hi);function hi(){for(var t=arguments,e=[],i=0;i<arguments.length;i++)e[i]=t[i];if(Array.isArray(e[0])&&(e=e[0]),e[0]instanceof De){for(var n=[],r=0,o=(e=e).length;r<o;r++)n.push(e[r].x,e[r].y);e=n}this.points=e,this.type=Ue.POLY,this.closeStroke=!0}var ui=(ci.prototype.clone=function(){return new ci(this.x,this.y,this.width,this.height,this.radius)},ci.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;if(t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height){if(e>=this.y+this.radius&&e<=this.y+this.height-this.radius||t>=this.x+this.radius&&t<=this.x+this.width-this.radius)return!0;var i=t-(this.x+this.radius),n=e-(this.y+this.radius),r=this.radius*this.radius;if(i*i+n*n<=r)return!0;if((i=t-(this.x+this.width-this.radius))*i+n*n<=r)return!0;if(i*i+(n=e-(this.y+this.height-this.radius))*n<=r)return!0;if((i=t-(this.x+this.radius))*i+n*n<=r)return!0}return!1},ci);
194/*!
195 * @pixi/runner - v5.2.0
196 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
197 *
198 * @pixi/runner is licensed under the MIT License.
199 * http://www.opensource.org/licenses/mit-license
200 */function ci(t,e,i,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=0),void 0===r&&(r=20),this.x=t,this.y=e,this.width=i,this.height=n,this.radius=r,this.type=Ue.RREC}var di=(fi.prototype.emit=function(t,e,i,n,r,o,s,a){if(8<arguments.length)throw new Error("max arguments reached");var l=this.name,h=this.items;this._aliasCount++;for(var u=0,c=h.length;u<c;u++)h[u][l](t,e,i,n,r,o,s,a);return h===this.items&&this._aliasCount--,this},fi.prototype.ensureNonAliasedItems=function(){0<this._aliasCount&&1<this.items.length&&(this._aliasCount=0,this.items=this.items.slice(0))},fi.prototype.add=function(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this},fi.prototype.remove=function(t){var e=this.items.indexOf(t);return-1!==e&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this},fi.prototype.contains=function(t){return-1!==this.items.indexOf(t)},fi.prototype.removeAll=function(){return this.ensureNonAliasedItems(),this.items.length=0,this},fi.prototype.destroy=function(){this.removeAll(),this.items=null,this._name=null},Object.defineProperty(fi.prototype,"empty",{get:function(){return 0===this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(fi.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),fi);function fi(t){this.items=[],this._name=t,this._aliasCount=0}Object.defineProperties(di.prototype,{dispatch:{value:di.prototype.emit},run:{value:di.prototype.emit}});var pi=r(29),vi=r.n(pi);var mi,gi,yi={MIPMAP_TEXTURES:1,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,SPRITE_MAX_TEXTURES:
201/*!
202 * @pixi/settings - v5.2.0
203 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
204 *
205 * @pixi/settings is licensed under the MIT License.
206 * http://www.opensource.org/licenses/mit-license
207 */
208function(t){var e=!0;if(vi.a.tablet||vi.a.phone){if(e=!1,vi.a.apple.device){var i=navigator.userAgent.match(/OS (\d+)_(\d+)?/);if(i)11<=parseInt(i[1],10)&&(e=!0)}if(vi.a.android.device){var n=navigator.userAgent.match(/Android\s([0-9.]*)/);if(n)7<=parseInt(n[1],10)&&(e=!0)}}return e?t:4}(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,forceFXAA:!1,autoDensity:!1,transparent:!1,backgroundColor:0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:0,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:33071,SCALE_MODE:1,PRECISION_VERTEX:"highp",PRECISION_FRAGMENT:vi.a.apple.device?"highp":"mediump",CAN_UPLOAD_SAME_BUFFER:!vi.a.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};
209/*!
210 * @pixi/ticker - v5.2.0
211 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
212 *
213 * @pixi/ticker is licensed under the MIT License.
214 * http://www.opensource.org/licenses/mit-license
215 */yi.TARGET_FPMS=.06,(gi=mi=mi||{})[gi.INTERACTION=50]="INTERACTION",gi[gi.HIGH=25]="HIGH",gi[gi.NORMAL=0]="NORMAL",gi[gi.LOW=-25]="LOW",gi[gi.UTILITY=-50]="UTILITY";var _i=(xi.prototype.match=function(t,e){return void 0===e&&(e=null),this.fn===t&&this.context===e},xi.prototype.emit=function(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));var e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e},xi.prototype.connect=function(t){(this.previous=t).next&&(t.next.previous=this),this.next=t.
215next,t.next=this},xi.prototype.destroy=function(t){void 0===t&&(t=!1),this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);var e=this.next;return this.next=t?null:e,this.previous=null,e},xi);function xi(t,e,i,n){void 0===e&&(e=null),void 0===i&&(i=0),void 0===n&&(n=!1),this.fn=t,this.context=e,this.priority=i,this.once=n,this.next=null,this.previous=null,this._destroyed=!1}var wi=(bi.prototype._requestIfNeeded=function(){null===this._requestId&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))},bi.prototype._cancelIfNeeded=function(){null!==this._requestId&&(cancelAnimationFrame(this._requestId),this._requestId=null)},bi.prototype._startIfPossible=function(){this.started?this._requestIfNeeded():this.autoStart&&this.start()},bi.prototype.add=function(t,e,i){return void 0===i&&(i=mi.NORMAL),this._addListener(new _i(t,e,i))},bi.prototype.addOnce=function(t,e,i){return void 0===i&&(i=mi.NORMAL),this._addListener(new _i(t,e,i,!0))},bi.prototype._addListener=function(t){var e=this._head.next,i=this._head;if(e){for(;e;){if(t.priority>e.priority){t.connect(i);break}e=(i=e).next}t.previous||t.connect(i)}else t.connect(i);return this._startIfPossible(),this},bi.prototype.remove=function(t,e){for(var i=this._head.next;i;)i=i.match(t,e)?i.destroy():i.next;return this._head.next||this._cancelIfNeeded(),this},bi.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},bi.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},bi.prototype.destroy=function(){if(!this._protected){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null}},bi.prototype.update=function(t){var e;if(void 0===t&&(t=performance.now()),t>this.lastTime){if((e=this.elapsedMS=t-this.lastTime)>this._maxElapsedMS&&(e=this._maxElapsedMS),e*=this.speed,this._minElapsedMS){var i=t-this._lastFrame|0;if(i<this._minElapsedMS)return;this._lastFrame=t-i%this._minElapsedMS}this.deltaMS=e,this.deltaTime=this.deltaMS*yi.TARGET_FPMS;for(var n=this._head,r=n.next;r;)r=r.emit(this.deltaTime);n.next||this._cancelIfNeeded()}else this.deltaTime=this.deltaMS=this.elapsedMS=0;this.lastTime=t},Object.defineProperty(bi.prototype,"FPS",{get:function(){return 1e3/this.elapsedMS},enumerable:!0,configurable:!0}),Object.defineProperty(bi.prototype,"minFPS",{get:function(){return 1e3/this._maxElapsedMS},set:function(t){var e=Math.min(this.maxFPS,t),i=Math.min(Math.max(0,e)/1e3,yi.TARGET_FPMS);this._maxElapsedMS=1/i},enumerable:!0,configurable:!0}),Object.defineProperty(bi.prototype,"maxFPS",{get:function(){return this._minElapsedMS?Math.round(1e3/this._minElapsedMS):0},set:function(t){if(0===t)this._minElapsedMS=0;else{var e=Math.max(this.minFPS,t);this._minElapsedMS=1/(e/1e3)}},enumerable:!0,configurable:!0}),Object.defineProperty(bi,"shared",{get:function(){if(!bi._shared){var t=bi._shared=new bi;t.autoStart=!0,t._protected=!0}return bi._shared},enumerable:!0,configurable:!0}),Object.defineProperty(bi,"system",{get:function(){if(!bi._system){var t=bi._system=new bi;t.autoStart=!0,t._protected=!0}return bi._system},enumerable:!0,configurable:!0}),bi);function bi(){var e=this;this._head=new _i(null,null,1/0),this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this.autoStart=!1,this.deltaTime=1,this.deltaMS=1/yi.TARGET_FPMS,this.elapsedMS=1/yi.TARGET_FPMS,this.lastTime=-1,this.speed=1,this.started=!1,this._protected=!1,this._lastFrame=-1,this._tick=function(t){e._requestId=null,e.started&&(e.update(t),e.started&&null===e._requestId&&e._head.next&&(e._requestId=requestAnimationFrame(e._tick)))}}var Ti=(Ei.init=function(t){var e=this;t=Object.assign({autoStart:!0,sharedTicker:!1},t),Object.defineProperty(this,"ticker",{set:function(t){this._ticker&&this._ticker.remove(this.render,this),(this._ticker=t)&&t.add(this.render,this,mi.LOW)},get:function(){return this._ticker}}),this.stop=function(){e._ticker.stop()},this.start=function(){e._ticker.start()},this._ticker=null,this.ticker=t.sharedTicker?wi.shared:new wi,t.autoStart&&this.start()},Ei.destroy=function(){if(this._ticker){var t=this._ticker;this.ticker=null,t.destroy()}},Ei);function Ei(){}var Si=r(138),Oi=r.n(Si),Pi=r(139),Ai=r.n(Pi),Ci=r(65),Ii=r.n(Ci);
216/*!
217 * @pixi/utils - v5.2.0
218 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
219 *
220 * @pixi/utils is licensed under the MIT License.
221 * http://www.opensource.org/licenses/mit-license
222 */
223yi.RETINA_PREFIX=/@([0-9\.]+)x/;var Mi,ki=!(yi.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!0),Ri="5.2.0";function Li(){ki=!0}function Di(t){if(!ki){if(-1<navigator.userAgent.toLowerCase().indexOf("chrome")){var e=["\n %c %c %c PixiJS "+Ri+" - ✰ "+t+" ✰  %c  %c  http://www.pixijs.com/  %c %c ♥%c♥%c♥ \n\n","background: #ff66a5; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff66a5; background: #030307; padding:5px 0;","background: #ff66a5; padding:5px 0;","background: #ffc3dc; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;"];window.console.log.apply(console,e)}else window.console&&window.console.log("PixiJS "+Ri+" - "+t+" - http://www.pixijs.com/");ki=!0}}function Ni(){return void 0===Mi&&(Mi=function(){var t={stencil:!0,failIfMajorPerformanceCaveat:yi.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT};try{if(!window.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),i=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),n=!(!i||!i.getContextAttributes().stencil);if(i){var r=i.getExtension("WEBGL_lose_context");r&&r.loseContext()}return i=null,n}catch(t){return!1}}()),Mi}function Fi(t,e){return(e=e||[])[0]=(t>>
22316&255)/255,e[1]=(t>>8&255)/255,e[2]=(255&t)/255,e}function Bi(t){return t=t.toString(16),"#"+(t="000000".substr(0,6-t.length)+t)}function Ui(t){return"string"==typeof t&&"#"===t[0]&&(t=t.substr(1)),parseInt(t,16)}function ji(t){return(255*t[0]<<16)+(255*t[1]<<8)+(255*t[2]|0)}var Xi=function(){for(var t=[],e=[],i=0;i<32;i++)e[t[i]=i]=i;t[te.NORMAL_NPM]=te.NORMAL,t[te.ADD_NPM]=te.ADD,t[te.SCREEN_NPM]=te.SCREEN,e[te.NORMAL]=te.NORMAL_NPM,e[te.ADD]=te.ADD_NPM,e[te.SCREEN]=te.SCREEN_NPM;var n=[];return n.push(e),n.push(t),n}();function zi(t,e){return Xi[e?1:0][t]}function Wi(t,e,i,n){return i=i||new Float32Array(4),n||void 0===n?(i[0]=t[0]*e,i[1]=t[1]*e,i[2]=t[2]*e):(i[0]=t[0],i[1]=t[1],i[2]=t[2]),i[3]=e,i}function Hi(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var i=t>>16&255,n=t>>8&255,r=255&t;return(255*e<<24)+((i=i*e+.5|0)<<16)+((n=n*e+.5|0)<<8)+(r=r*e+.5|0)}function Gi(t,e,i,n){return(i=i||new Float32Array(4))[0]=(t>>16&255)/255,i[1]=(t>>8&255)/255,i[2]=(255&t)/255,!n&&void 0!==n||(i[0]*=e,i[1]*=e,i[2]*=e),i[3]=e,i}function Vi(t,e){void 0===e&&(e=null);var i=6*t;if((e=e||new Uint16Array(i)).length!==i)throw new Error("Out buffer length is incorrect, got "+e.length+" and expected "+i);for(var n=0,r=0;n<i;n+=6,r+=4)e[n+0]=r+0,e[n+1]=r+1,e[n+2]=r+2,e[n+3]=r+0,e[n+4]=r+2,e[n+5]=r+3;return e}function Yi(t,e,i){var n,r=t.length;if(!(r<=e||0===i)){var o=r-(i=r<e+i?r-e:i);for(n=e;n<o;++n)t[n]=t[n+i];t.length=o}}var qi=0;function Ki(){return++qi}function Zi(t){return 0===t?0:t<0?-1:1}function Qi(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1}function Ji(t){return!(t&t-1||!t)}function $i(t){var e=(65535<t)<<4,i=(255<(t>>>=e))<<3;return e|=i,e|=i=(15<(t>>>=i))<<2,(e|=i=(3<(t>>>=i))<<1)|(t>>>=i)>>1}var tn={},en=Object.create(null),nn=Object.create(null);function rn(){var t;for(t in en)en[t].destroy();for(t in nn)nn[t].destroy()}function on(){var t;for(t in en)delete en[t];for(t in nn)delete nn[t]}function sn(t){var e,i,n,r=t.width,o=t.height,s=t.getContext("2d"),a=s.getImageData(0,0,r,o).data,l=a.length,h={top:null,left:null,right:null,bottom:null},u=null;for(e=0;e<l;e+=4)0!==a[e+3]&&(i=e/4%r,n=~~(e/4/r),null===h.top&&(h.top=n),null===h.left?h.left=i:i<h.left&&(h.left=i),null===h.right?h.right=1+i:h.right<i&&(h.right=1+i),null===h.bottom?h.bottom=n:h.bottom<n&&(h.bottom=n));return null!==h.top&&(r=h.right-h.left,o=h.bottom-h.top+1,u=s.getImageData(h.left,h.top,r,o)),{height:o,width:r,data:u}}var an=function(t,e,i){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.resolution=i||yi.RESOLUTION,this.resize(t,e)},ln={width:{configurable:!0},height:{configurable:!0}};an.prototype.clear=function(){this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.canvas.width,this.canvas.height)},an.prototype.resize=function(t,e){this.canvas.width=t*this.resolution,this.canvas.height=e*this.resolution},an.prototype.destroy=function(){this.context=null,this.canvas=null},ln.width.get=function(){return this.canvas.width},ln.width.set=function(t){this.canvas.width=t},ln.height.get=function(){return this.canvas.height},ln.height.set=function(t){this.canvas.height=t},Object.defineProperties(an.prototype,ln);var hn,un=/^\s*data:(?:([\w-]+)\/([\w+.-]+))?(?:;charset=([\w-]+))?(?:;(base64))?,(.*)/i;function cn(t){var e=un.exec(t);if(e)return{mediaType:e[1]?e[1].toLowerCase():void 0,subType:e[2]?e[2].toLowerCase():void 0,charset:e[3]?e[3].toLowerCase():void 0,encoding:e[4]?e[4].toLowerCase():void 0,data:e[5]}}function dn(t,e){if(void 0===e&&(e=window.location),0===t.indexOf("data:"))return"";e=e||window.location,(hn=hn||document.createElement("a")).href=t;var i=!(t=Ii.a.parse(hn.href)).port&&""===e.port||t.port===e.port;return t.hostname===e.hostname&&i&&t.protocol===e.protocol?"":"anonymous"}function fn(t,e){var i=yi.RETINA_PREFIX.exec(t);return i?parseFloat(i[1]):void 0!==e?e:1}var pn={};function vn(t,e,i){if(void 0===i&&(i=3),!pn[e]){var n=(new Error).stack;void 0===n||(n=n.split("\n").splice(i).join("\n"),console.groupCollapsed),pn[e]=!0}}
224/*!
225 * @pixi/display - v5.2.0
226 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
227 *
228 * @pixi/display is licensed under the MIT License.
229 * http://www.opensource.org/licenses/mit-license
230 */yi.SORTABLE_CHILDREN=!1;function mn(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null}mn.prototype.isEmpty=function(){return this.minX>this.maxX||this.minY>this.maxY},mn.prototype.clear=function(){this.updateID++,this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},mn.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?ii.EMPTY:((t=t||new ii(0,0,1,1)).x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},mn.prototype.addPoint=function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)},mn.prototype.addQuad=function(t){var e=this.minX,i=this.minY,n=this.maxX,r=this.maxY,o=t[0],s=t[1];e=o<e?o:e,i=s<i?s:i,n=n<o?o:n,r=r<s?s:r,e=(o=t[2])<e?o:e,i=(s=t[3])<i?
230s:i,n=n<o?o:n,r=r<s?s:r,e=(o=t[4])<e?o:e,i=(s=t[5])<i?s:i,n=n<o?o:n,r=r<s?s:r,e=(o=t[6])<e?o:e,i=(s=t[7])<i?s:i,n=n<o?o:n,r=r<s?s:r,this.minX=e,this.minY=i,this.maxX=n,this.maxY=r},mn.prototype.addFrame=function(t,e,i,n,r){this.addFrameMatrix(t.worldTransform,e,i,n,r)},mn.prototype.addFrameMatrix=function(t,e,i,n,r){var o=t.a,s=t.b,a=t.c,l=t.d,h=t.tx,u=t.ty,c=this.minX,d=this.minY,f=this.maxX,p=this.maxY,v=o*e+a*i+h,m=s*e+l*i+u;c=v<c?v:c,d=m<d?m:d,f=f<v?v:f,p=p<m?m:p,c=(v=o*n+a*i+h)<c?v:c,d=(m=s*n+l*i+u)<d?m:d,f=f<v?v:f,p=p<m?m:p,c=(v=o*e+a*r+h)<c?v:c,d=(m=s*e+l*r+u)<d?m:d,f=f<v?v:f,p=p<m?m:p,c=(v=o*n+a*r+h)<c?v:c,d=(m=s*n+l*r+u)<d?m:d,f=f<v?v:f,p=p<m?m:p,this.minX=c,this.minY=d,this.maxX=f,this.maxY=p},mn.prototype.addVertexData=function(t,e,i){for(var n=this.minX,r=this.minY,o=this.maxX,s=this.maxY,a=e;a<i;a+=2){var l=t[a],h=t[a+1];n=l<n?l:n,r=h<r?h:r,o=o<l?l:o,s=s<h?h:s}this.minX=n,this.minY=r,this.maxX=o,this.maxY=s},mn.prototype.addVertices=function(t,e,i,n){this.addVerticesMatrix(t.worldTransform,e,i,n)},mn.prototype.addVerticesMatrix=function(t,e,i,n,r,o){var s=t.a,a=t.b,l=t.c,h=t.d,u=t.tx,c=t.ty;r=r||0,o=o||0;for(var d=this.minX,f=this.minY,p=this.maxX,v=this.maxY,m=i;m<n;m+=2){var g=e[m],y=e[m+1],_=s*g+l*y+u,x=h*y+a*g+c;d=Math.min(d,_-r),p=Math.max(p,_+r),f=Math.min(f,x-o),v=Math.max(v,x+o)}this.minX=d,this.minY=f,this.maxX=p,this.maxY=v},mn.prototype.addBounds=function(t){var e=this.minX,i=this.minY,n=this.maxX,r=this.maxY;this.minX=t.minX<e?t.minX:e,this.minY=t.minY<i?t.minY:i,this.maxX=t.maxX>n?t.maxX:n,this.maxY=t.maxY>r?t.maxY:r},mn.prototype.addBoundsMask=function(t,e){var i=t.minX>e.minX?t.minX:e.minX,n=t.minY>e.minY?t.minY:e.minY,r=t.maxX<e.maxX?t.maxX:e.maxX,o=t.maxY<e.maxY?t.maxY:e.maxY;if(i<=r&&n<=o){var s=this.minX,a=this.minY,l=this.maxX,h=this.maxY;this.minX=i<s?i:s,this.minY=n<a?n:a,this.maxX=l<r?r:l,this.maxY=h<o?o:h}},mn.prototype.addBoundsMatrix=function(t,e){this.addFrameMatrix(e,t.minX,t.minY,t.maxX,t.maxY)},mn.prototype.addBoundsArea=function(t,e){var i=t.minX>e.x?t.minX:e.x,n=t.minY>e.y?t.minY:e.y,r=t.maxX<e.x+e.width?t.maxX:e.x+e.width,o=t.maxY<e.y+e.height?t.maxY:e.y+e.height;if(i<=r&&n<=o){var s=this.minX,a=this.minY,l=this.maxX,h=this.maxY;this.minX=i<s?i:s,this.minY=n<a?n:a,this.maxX=l<r?r:l,this.maxY=h<o?o:h}},mn.prototype.pad=function(t,e){t=t||0,e=e||(0!==e?t:0),this.isEmpty()||(this.minX-=t,this.maxX+=t,this.minY-=e,this.maxY+=e)},mn.prototype.addFramePad=function(t,e,i,n,r,o){t-=r,e-=o,i+=r,n+=o,this.minX=this.minX<t?this.minX:t,this.maxX=this.maxX>i?this.maxX:i,this.minY=this.minY<e?this.minY:e,this.maxY=this.maxY>n?this.maxY:n};var gn=function(t){function r(){t.call(this),this.tempDisplayObjectParent=null,this.transform=new ti,this.alpha=1,this.visible=!0,this.renderable=!0,this.parent=null,this.worldAlpha=1,this._lastSortedIndex=0,this._zIndex=0,this.filterArea=null,this.filters=null,this._enabledFilters=null,this._bounds=new mn,this._boundsID=0,this._lastBoundsID=-1,this._boundsRect=null,this._localBoundsRect=null,this._mask=null,this._destroyed=!1,this.isSprite=!1,this.isMask=!1}t&&(r.__proto__=t);var e={_tempDisplayObjectParent:{configurable:!0},x:{configurable:!0},y:{configurable:!0},worldTransform:{configurable:!0},localTransform:{configurable:!0},position:{configurable:!0},scale:{configurable:!0},pivot:{configurable:!0},skew:{configurable:!0},rotation:{configurable:!0},angle:{configurable:!0},zIndex:{configurable:!0},worldVisible:{configurable:!0},mask:{configurable:!0}};return((r.prototype=Object.create(t&&t.prototype)).constructor=r).mixin=function(t){for(var e=Object.keys(t),i=0;i<e.length;++i){var n=e[i];Object.defineProperty(r.prototype,n,Object.getOwnPropertyDescriptor(t,n))}},e._tempDisplayObjectParent.get=function(){return null===this.tempDisplayObjectParent&&(this.tempDisplayObjectParent=new r),this.tempDisplayObjectParent},r.prototype.updateTransform=function(){this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha,this._bounds.updateID++},r.prototype._recursivePostUpdateTransform=function(){this.parent?(this.parent._recursivePostUpdateTransform(),this.transform.updateTransform(this.parent.transform)):this.transform.updateTransform(this._tempDisplayObjectParent.transform)},r.prototype.getBounds=function(t,e){return t||(this.parent?(this._recursivePostUpdateTransform(),this.updateTransform()):(this.parent=this._tempDisplayObjectParent,this.updateTransform(),this.parent=null)),this._boundsID!==this._lastBoundsID&&
230(this.calculateBounds(),this._lastBoundsID=this._boundsID),e||(this._boundsRect||(this._boundsRect=new ii),e=this._boundsRect),this._bounds.getRectangle(e)},r.prototype.getLocalBounds=function(t){var e=this.transform,i=this.parent;this.parent=null,this.transform=this._tempDisplayObjectParent.transform,t||(this._localBoundsRect||(this._localBoundsRect=new ii),t=this._localBoundsRect);var n=this.getBounds(!1,t);return this.parent=i,this.transform=e,n},r.prototype.toGlobal=function(t,e,i){return void 0===i&&(i=!1),i||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.apply(t,e)},r.prototype.toLocal=function(t,e,i,n){return e&&(t=e.toGlobal(t,i,n)),n||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.applyInverse(t,i)},r.prototype.render=function(t){},r.prototype.setParent=function(t){if(!t||!t.addChild)throw new Error("setParent: Argument must be a Container");return t.addChild(this),t},r.prototype.setTransform=function(t,e,i,n,r,o,s,a,l){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=1),void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),void 0===l&&(l=0),this.position.x=t,this.position.y=e,this.scale.x=i||1,this.scale.y=n||1,this.rotation=r,this.skew.x=o,this.skew.y=s,this.pivot.x=a,this.pivot.y=l,this},r.prototype.destroy=function(){this.removeAllListeners(),this.parent&&this.parent.removeChild(this),this.transform=null,this.parent=null,this._bounds=null,this._currentBounds=null,this._mask=null,this.filters=null,this.filterArea=null,this.hitArea=null,this.interactive=!1,this.interactiveChildren=!1,this._destroyed=!0},e.x.get=function(){return this.position.x},e.x.set=function(t){this.transform.position.x=t},e.y.get=function(){return this.position.y},e.y.set=function(t){this.transform.position.y=t},e.worldTransform.get=function(){return this.transform.worldTransform},e.localTransform.get=function(){return this.transform.localTransform},e.position.get=function(){return this.transform.position},e.position.set=function(t){this.transform.position.copyFrom(t)},e.scale.get=function(){return this.transform.scale},e.scale.set=function(t){this.transform.scale.copyFrom(t)},e.pivot.get=function(){return this.transform.pivot},e.pivot.set=function(t){this.transform.pivot.copyFrom(t)},e.skew.get=function(){return this.transform.skew},e.skew.set=function(t){this.transform.skew.copyFrom(t)},e.rotation.get=function(){return this.transform.rotation},e.rotation.set=function(t){this.transform.rotation=t},e.angle.get=function(){return this.transform.rotation*ze},e.angle.set=function(t){this.transform.rotation=t*We},e.zIndex.get=function(){return this._zIndex},e.zIndex.set=function(t){this._zIndex=t,this.parent&&(this.parent.sortDirty=!0)},e.worldVisible.get=function(){var t=this;do{if(!t.visible)return!1;t=t.parent}while(t);return!0},e.mask.get=function(){return this._mask},e.mask.set=function(t){if(this._mask){var e=this._mask.maskObject||this._mask;e.renderable=!0,e.isMask=!1}if(this._mask=t,this._mask){var i=this._mask.maskObject||this._mask;i.renderable=!1,i.isMask=!0}},Object.defineProperties(r.prototype,e),r}(Oi.a);function yn(t,e){return t.zIndex===e.zIndex?t._lastSortedIndex-e._lastSortedIndex:t.zIndex-e.zIndex}gn.prototype.displayObjectUpdateTransform=gn.prototype.updateTransform;var _n=function(r){function t(){r.call(this),this.children=[],this.sortableChildren=yi.SORTABLE_CHILDREN,this.sortDirty=!1}r&&(t.__proto__=r);var e={width:{configurable:!0},height:{configurable:!0}};return((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.onChildrenChange=function(){},t.prototype.addChild=function(t){var e=arguments,i=arguments.length;if(1<i)for(var n=0;n<i;n++)this.addChild(e[n]);else t.parent&&t.parent.removeChild(t),(t.parent=this).sortDirty=!0,t.transform._parentID=-1,this.children.push(t),this._boundsID++,this.onChildrenChange(this.children.length-1),this.emit
230("childAdded",t,this,this.children.length-1),t.emit("added",this);return t},t.prototype.addChildAt=function(t,e){if(e<0||e>this.children.length)throw new Error(t+"addChildAt: The index "+e+" supplied is out of bounds "+this.children.length);return t.parent&&t.parent.removeChild(t),(t.parent=this).sortDirty=!0,t.transform._parentID=-1,this.children.splice(e,0,t),this._boundsID++,this.onChildrenChange(e),t.emit("added",this),this.emit("childAdded",t,this,e),t},t.prototype.swapChildren=function(t,e){if(t!==e){var i=this.getChildIndex(t),n=this.getChildIndex(e);this.children[i]=e,this.children[n]=t,this.onChildrenChange(i<n?i:n)}},t.prototype.getChildIndex=function(t){var e=this.children.indexOf(t);if(-1===e)throw new Error("The supplied DisplayObject must be a child of the caller");return e},t.prototype.setChildIndex=function(t,e){if(e<0||e>=this.children.length)throw new Error("The index "+e+" supplied is out of bounds "+this.children.length);var i=this.getChildIndex(t);Yi(this.children,i,1),this.children.splice(e,0,t),this.onChildrenChange(e)},t.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Index ("+t+") does not exist.");return this.children[t]},t.prototype.removeChild=function(t){var e=arguments,i=arguments.length;if(1<i)for(var n=0;n<i;n++)this.removeChild(e[n]);else{var r=this.children.indexOf(t);if(-1===r)return null;t.parent=null,t.transform._parentID=-1,Yi(this.children,r,1),this._boundsID++,this.onChildrenChange(r),t.emit("removed",this),this.emit("childRemoved",t,this,r)}return t},t.prototype.removeChildAt=function(t){var e=this.getChildAt(t);return e.parent=null,e.transform._parentID=-1,Yi(this.children,t,1),this._boundsID++,this.onChildrenChange(t),e.emit("removed",this),this.emit("childRemoved",e,this,t),e},t.prototype.removeChildren=function(t,e){void 0===t&&(t=0);var i,n=t,r="number"==typeof e?e:this.children.length,o=r-n;if(0<o&&o<=r){i=this.children.splice(n,o);for(var s=0;s<i.length;++s)i[s].parent=null,i[s].transform&&(i[s].transform._parentID=-1);this._boundsID++,this.onChildrenChange(t);for(var a=0;a<i.length;++a)i[a].emit("removed",this),this.emit("childRemoved",i[a],this,a);return i}if(0==o&&0===this.children.length)return[];throw new RangeError("removeChildren: numeric values are outside the acceptable range.")},t.prototype.sortChildren=function(){for(var t=!1,e=0,i=this.children.length;e<i;++e){var n=this.children[e];n._lastSortedIndex=e,t||0===n.zIndex||(t=!0)}t&&1<this.children.length&&this.children.sort(yn),this.sortDirty=!1},t.prototype.updateTransform=function(){this.sortableChildren&&this.sortDirty&&this.sortChildren(),this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha;for(var t=0,e=this.children.length;t<e;++t){var i=this.children[t];i.visible&&i.updateTransform()}},t.prototype.calculateBounds=function(){this._bounds.clear(),this._calculateBounds();for(var t=0;t<this.children.length;t++){var e=this.children[t];if(e.visible&&e.renderable)if(e.calculateBounds(),e._mask){var i=e._mask.maskObject||e._mask;i.calculateBounds(),this._bounds.addBoundsMask(e._bounds,i._bounds)}else e.filterArea?this._bounds.addBoundsArea(e._bounds,e.filterArea):this._bounds.addBounds(e._bounds)}this._lastBoundsID=this._boundsID},t.prototype._calculateBounds=function(){},t.prototype.render=function(t){if(this.visible&&!(this.worldAlpha<=0)&&this.renderable)if(this._mask||this.filters&&this.filters.length)this.renderAdvanced(t);else{this._render(t);for(var e=0,i=this.children.length;e<i;++e)this.children[e].render(t)}},t.prototype.renderAdvanced=function(t){t.batch.flush();var e=this.filters,i=this._mask;if(e){this._enabledFilters||(this._enabledFilters=[]);for(var n=this._enabledFilters.length=0;n<e.length;n++)e[n].enabled&&this._enabledFilters.push(e[n]);this._enabledFilters.length&&t.filter.push(this,this._enabledFilters)}i&&t.mask.push(this,this._mask),this._render(t);for(var r=0,o=this.children.length;r<o;r++)this.children[r].render(t);t.batch.flush(),i&&t.mask.pop(this,this._mask),e&&this._enabledFilters&&this._enabledFilters.length&&t.filter.pop()},t.prototype._render=function(t){},t.prototype.destroy=function(t){r.prototype.destroy.call(this),this.sortDirty=!1;var e="boolean"==typeof t?t:t&&t.children,i=this.removeChildren(0,this.children.length);if(e)for(var n=0;n<i.length;++n)i[n].destroy(t)},e.width.get=function(){return this.scale.x*this.getLocalBounds().width},e.width.set=function(t){var e=this.getLocalBounds().width;this.scale.x=0!==e?t/e:1,this._width=t},e.height.get=function(){return this.scale.y*this.getLocalBounds().height},e.height.set=function(t){var e=this.getLocalBounds().height;this.scale.y=0!==e?t/e:1,this._height=t},Object.defineProperties(t.prototype,e),t}(gn);_n.prototype.containerUpdateTransform=_n.prototype.updateTransform;function xn(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._width=t,this._height=e,this.destroyed=!1,this.internal=!1,this.onResize=new di("setRealSize",2),this.onUpdate=new di("update"),this.onError=ne
230w di("onError",1)}
231/*!
232 * @pixi/core - v5.2.0
233 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
234 *
235 * @pixi/core is licensed under the MIT License.
236 * http://www.opensource.org/licenses/mit-license
237 */
238var wn={valid:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};xn.prototype.bind=function(t){this.onResize.add(t),this.onUpdate.add(t),this.onError.add(t),(this._width||this._height)&&this.onResize.run(this._width,this._height)},xn.prototype.unbind=function(t){this.onResize.remove(t),this.onUpdate.remove(t),this.onError.remove(t)},xn.prototype.resize=function(t,e){t===this._width&&e===this._height||(this._width=t,this._height=e,this.onResize.run(t,e))},wn.valid.get=function(){return!!this._width&&!!this._height},xn.prototype.update=function(){this.destroyed||this.onUpdate.run()},xn.prototype.load=function(){return Promise.resolve()},wn.width.get=function(){return this._width},wn.height.get=function(){return this._height},xn.prototype.upload=function(t,e,i){return!1},xn.prototype.style=function(t,e,i){return!1},xn.prototype.dispose=function(){},xn.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.dispose(),this.onError.removeAll(),this.onError=null,this.onResize.removeAll(),this.onResize=null,this.onUpdate.removeAll(),this.onUpdate=null)},Object.defineProperties(xn.prototype,wn);var bn=function(n){function t(t){var e=t.naturalWidth||t.videoWidth||t.width,i=t.naturalHeight||t.videoHeight||t.height;n.call(this,e,i),this.source=t,this.noSubImage=!1}return n&&(t.__proto__=n),((t.prototype=Object.create(n&&n.prototype)).constructor=t).crossOrigin=function(t,e,i){void 0===i&&0!==e.indexOf("data:")?t.crossOrigin=dn(e):!1!==i&&(t.crossOrigin="string"==typeof i?i:"anonymous")},t.prototype.upload=function(t,e,i,n){var r=t.gl,o=e.realWidth,s=e.realHeight;return n=n||this.source,r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===ye.UNPACK),this.noSubImage||e.target!==r.TEXTURE_2D||i.width!==o||i.height!==s?(i.width=o,i.height=s,r.texImage2D(e.target,0,e.format,e.format,e.type,n)):r.texSubImage2D(r.TEXTURE_2D,0,0,0,e.format,e.type,n),!0},t.prototype.update=function(){if(!this.destroyed){var t=this.source.naturalWidth||this.source.videoWidth||this.source.width,e=this.source.naturalHeight||this.source.videoHeight||this.source.height;this.resize(t,e),n.prototype.update.call(this)}},t.prototype.dispose=function(){this.source=null},t}(xn),Tn=function(s){function t(t,e){if(e=e||{},!(t instanceof HTMLImageElement)){var i=new Image;s.crossOrigin(i,t,e.crossorigin),i.src=t,t=i}s.call(this,t),!t.complete&&this._width&&this._height&&(this._width=0,this._height=0),this.url=t.src,this._process=null,this.preserveBitmap=!1,this.createBitmap=(void 0!==e.createBitmap?e.createBitmap:yi.CREATE_IMAGE_BITMAP)&&!!window.createImageBitmap,this.alphaMode="number"==typeof e.alphaMode?e.alphaMode:null,void 0!==e.premultiplyAlpha&&(this.premultiplyAlpha=e.premultiplyAlpha),this.bitmap=null,this._load=null,!1!==e.autoLoad&&this.load()}return s&&(t.__proto__=s),((t.prototype=Object.create(s&&s.prototype)).constructor=t).prototype.load=function(t){var n=this;return void 0!==t&&(this.createBitmap=t),this._load||(this._load=new Promise(function(t){n.url=n.source.src;function e(){n.destroyed||(i.onload=null,i.onerror=null,n.resize(i.width,i.height),n._load=null,n.createBitmap?t(n.process()):t(n))}var i=n.source;i.complete&&i.src?e():(i.onload=e,i.onerror=function(t){return n.onError.run(t)})})),this._load},t.prototype.process=function(){var e=this;return null!==this._process?this._process:null===this.bitmap&&window.createImageBitmap?(this._process=window.createImageBitmap(this.source,0,0,this.source.width,this.source.height,{premultiplyAlpha:this.premultiplyAlpha===ye.UNPACK?"premultiply":"none"}).then(function(t){return e.destroyed?Promise.reject():(e.bitmap=t,e.update(),e._process=null,Promise.resolve(e))}),this._process):Promise.resolve(this)},t.prototype.upload=function(t,e,i){if("number"==typeof this.alphaMode&&(e.alphaMode=this.alphaMode),!this.createBitmap)return s.prototype.upload.call(this,t,e,i);if(!this.bitmap&&(this.process(),!this.bitmap))return!1;if(s.prototype.upload.call(this,t,e,i,this.bitmap),!this.preserveBitmap){var n=!0;for(var r in e._glTextures){var o=e._glTextures[r];if(o!==i&&o.dirtyId!==e.dirtyId){n=!1;break}}n&&(this.bitmap.close&&this.bitmap.close(),this.bitmap=null)}return!0},t.prototype.dispose=function(){this.source.onload=null,this.source.onerror=null,s.prototype.dispose.call(this),this.bitmap&&(this.bitmap.close(),this.bitmap=null),this._process=null,this._load=null},t}(bn),En=[];function Sn(t,e){if(!t)return null;var i="";if("string"==typeof t){var n=/\.(\w{3,4})(?:$|\?|#)/i.exec(t);n&&(i=n[1].toLowerCase())}for(var r=En.length-1;0<=r;--r){var o=En[r];if(o.test&&o.test(t,i))return new o(t,e)}return new Tn(t,e)}var On=function(o){function t(t,e){var i=e||{},n=i.width,r=i.height;if(!n||!r)throw new Error("BufferResource width or height invalid");o.call(this,n,r),this.data=t}return o&&(t.__proto__=o),((t.prototype=Object.create(o&&o.prototype)).constructor=t).prototype.upload=function(t,e,
238i){var n=t.gl;return n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===ye.UNPACK),i.width===e.width&&i.height===e.height?n.texSubImage2D(e.target,0,0,0,e.width,e.height,e.format,e.type,this.data):(i.width=e.width,i.height=e.height,n.texImage2D(e.target,0,i.internalFormat,e.width,e.height,0,e.format,i.type,this.data)),!0},t.prototype.dispose=function(){this.data=null},t.test=function(t){return t instanceof Float32Array||t instanceof Uint8Array||t instanceof Uint32Array},t}(xn),Pn={scaleMode:ue.NEAREST,format:re.RGBA,alphaMode:ye.NPM},An=function(p){function s(t,e){void 0===t&&(t=null),void 0===e&&(e=null),p.call(this);var i=(e=e||{}).alphaMode,n=e.mipmap,r=e.anisotropicLevel,o=e.scaleMode,s=e.width,a=e.height,l=e.wrapMode,h=e.format,u=e.type,c=e.target,d=e.resolution,f=e.resourceOptions;!t||t instanceof xn||((t=Sn(t,f)).internal=!0),this.width=s||0,this.height=a||0,this.resolution=d||yi.RESOLUTION,this.mipmap=void 0!==n?n:yi.MIPMAP_TEXTURES,this.anisotropicLevel=void 0!==r?r:yi.ANISOTROPIC_LEVEL,this.wrapMode=l||yi.WRAP_MODE,this.scaleMode=void 0!==o?o:yi.SCALE_MODE,this.format=h||re.RGBA,this.type=u||le.UNSIGNED_BYTE,this.target=c||se.TEXTURE_2D,this.alphaMode=void 0!==i?i:ye.UNPACK,void 0!==e.premultiplyAlpha&&(this.premultiplyAlpha=e.premultiplyAlpha),this.uid=Ki(),this.touched=0,this.isPowerOfTwo=!1,this._refreshPOT(),this._glTextures={},this.dirtyId=0,this.dirtyStyleId=0,this.cacheId=null,this.valid=0<s&&0<a,this.textureCacheIds=[],this.destroyed=!1,this.resource=null,this._batchEnabled=0,this._batchLocation=0,this.setResource(t)}p&&(s.__proto__=p),(s.prototype=Object.create(p&&p.prototype)).constructor=s;var t={realWidth:{configurable:!0},realHeight:{configurable:!0}};return t.realWidth.get=function(){return Math.ceil(this.width*this.resolution-1e-4)},t.realHeight.get=function(){return Math.ceil(this.height*this.resolution-1e-4)},s.prototype.setStyle=function(t,e){var i;return void 0!==t&&t!==this.scaleMode&&(this.scaleMode=t,i=!0),void 0!==e&&e!==this.mipmap&&(this.mipmap=e,i=!0),i&&this.dirtyStyleId++,this},s.prototype.setSize=function(t,e,i){return this.resolution=i||this.resolution,this.width=t,this.height=e,this._refreshPOT(),this.update(),this},s.prototype.setRealSize=function(t,e,i){return this.resolution=i||this.resolution,this.width=t/this.resolution,this.height=e/this.resolution,this._refreshPOT(),this.update(),this},s.prototype._refreshPOT=function(){this.isPowerOfTwo=Ji(this.realWidth)&&Ji(this.realHeight)},s.prototype.setResolution=function(t){var e=this.resolution;return e===t||(this.resolution=t,this.valid&&(this.width=this.width*e/t,this.height=this.height*e/t,this.emit("update",this)),this._refreshPOT()),this},s.prototype.setResource=function(t){if(this.resource===t)return this;if(this.resource)throw new Error("Resource can be set only once");return t.bind(this),this.resource=t,this},s.prototype.update=function(){this.valid?(this.dirtyId++,this.dirtyStyleId++,this.emit("update",this)):0<this.width&&0<this.height&&(this.valid=!0,this.emit("loaded",this),this.emit("update",this))},s.prototype.onError=function(t){this.emit("error",this,t)},s.prototype.destroy=function(){this.resource&&(this.resource.unbind(this),this.resource.internal&&this.resource.destroy(),this.resource=null),this.cacheId&&(delete nn[this.cacheId],delete en[this.cacheId],this.cacheId=null),this.dispose(),s.removeFromCache(this),this.textureCacheIds=null,this.destroyed=!0},s.prototype.dispose=function(){this.emit("dispose",this)},s.from=function(t,e,i){void 0===i&&(i=yi.STRICT_TEXTURE_CACHE);var n="string"==typeof t,r=null;r=n?t:(t._pixiId||(t._pixiId="pixiid_"+Ki()),t._pixiId);var o=nn[r];if(n&&i&&!o)throw new Error('The cacheId "'+r+'" does not exist in BaseTextureCache.');return o||((o=new s(t,e)).cacheId=r,s.addToCache(o,r)),o},s.fromBuffer=function(t,e,i,n){t=t||new Float32Array(e*i*4);var r=new On(t,{width:e,height:i}),o=t instanceof Float32Array?le.FLOAT:le.UNSIGNED_BYTE;return new s(r,Object.assign(Pn,n||{width:e,height:i,type:o}))},s.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),nn[e],nn[e]=t)},s.removeFromCache=function(t){if("string"==typeof t){var e=nn[t];if(e){var i=e.textureCacheIds.indexOf(t);return-1<i&&e.textureCacheIds.splice(i,1),delete nn[t],e}}else if(t&&t.textureCacheIds){for(var n=0;n<t.textureCacheIds.length;++n)delete nn[t.textureCacheIds[n]];return t.textureCacheIds.length=0,t}return null},Object.defineProperties(s.prototype,t),s}(Oi.a);An._globalBatch=0;var Cn=function(a){function t(t,e){var i;e=e||{};var n=t;Array.isArray(t)&&(n=(i=t).length),a.call(this,e.width,e.height),this.items=[],this.itemDirtyIds=[];for(var r=0;r<n;r++){var o=new An;this.items.push(o),this.itemDirtyIds.push(-1)}if(this.length=n,this._load=null,i)for(var s=0;s<n;s++)this.addResourceAt(Sn(i[s],e),s)}return a&&(t.__proto__=a),((t.prototype=Object.create(a&&a.prototype)).constructor=t).prototype.dispose=function(){for(var t=0,e=this.length;t<e;t++)this.items[t].destroy();this.items=null,this.itemDirtyIds=null,this._load=null},t.prototype.addResourceAt=function(t,e){if(!this.items[e])throw new Error("Index "+e+" is out of bounds");return t.valid&&!this.valid&&this.resize(t.width,t.height),this.items[e].setResource(t),this},t.prototype.bind=function(t){a.prototype.bind.call(this,t),t.target=se.TEXTURE_2D_ARRAY;for(var e=0;e<this.length;e++)this.items[e].on("update",t.update,t)},t.prototype.unbind=function(t){a.prototype.unbind.call(this,t);for(var e=0;e<this.length;e++)this.items[e].off("update",t.update,t)},t.prototype.load=function(){var n=this;if(this._load)return this._load;var r=this.items.map(function(t){return t.resource}),t=r.map(function(t){return t.load()});return this._load=Promise.all(t).then(function(){var t=r[0],e=t.width,i=t.height;return n.resize(e,i),Promise.resolve(n)}),this._load}
238,t.prototype.upload=function(t,e,i){var n=this.length,r=this.itemDirtyIds,o=this.items,s=t.gl;i.dirtyId<0&&s.texImage3D(s.TEXTURE_2D_ARRAY,0,e.format,this._width,this._height,n,0,e.format,e.type,null);for(var a=0;a<n;a++){var l=o[a];r[a]<l.dirtyId&&(r[a]=l.dirtyId,l.valid&&s.texSubImage3D(s.TEXTURE_2D_ARRAY,0,0,0,a,l.resource.width,l.resource.height,1,e.format,e.type,l.resource.source))}return!0},t}(xn),In=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).test=function(t){var e=window.OffscreenCanvas;return!!(e&&t instanceof e)||t instanceof HTMLCanvasElement},e}(bn),Mn=function(n){function s(t,e){if(e=e||{},n.call(this,t,e),this.length!==s.SIDES)throw new Error("Invalid length. Got "+this.length+", expected 6");for(var i=0;i<s.SIDES;i++)this.items[i].target=se.TEXTURE_CUBE_MAP_POSITIVE_X+i;!1!==e.autoLoad&&this.load()}return n&&(s.__proto__=n),((s.prototype=Object.create(n&&n.prototype)).constructor=s).prototype.bind=function(t){n.prototype.bind.call(this,t),t.target=se.TEXTURE_CUBE_MAP},s.prototype.upload=function(t,e,i){for(var n=this.itemDirtyIds,r=0;r<s.SIDES;r++){var o=this.items[r];n[r]<o.dirtyId&&(n[r]=o.dirtyId,o.valid&&o.resource.upload(t,o,i))}return!0},s}(Cn);Mn.SIDES=6;var kn=function(i){function n(t,e){e=e||{},i.call(this,document.createElement("canvas")),this._width=0,this._height=0,this.svg=t,this.scale=e.scale||1,this._overrideWidth=e.width,this._overrideHeight=e.height,this._resolve=null,this._crossorigin=e.crossorigin,this._load=null,!1!==e.autoLoad&&this.load()}return i&&(n.__proto__=i),((n.prototype=Object.create(i&&i.prototype)).constructor=n).prototype.load=function(){var e=this;return this._load||(this._load=new Promise(function(t){if(e._resolve=function(){e.resize(e.source.width,e.source.height),t(e)},/^\<svg/.test(e.svg.trim())){if(!btoa)throw new Error("Your browser doesn't support base64 conversions.");e.svg="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e.svg)))}e._loadSvg()})),this._load},n.prototype._loadSvg=function(){var o=this,s=new Image;i.crossOrigin(s,this.svg,this._crossorigin),s.src=this.svg,s.onerror=function(t){s.onerror=null,o.onError.run(t)},s.onload=function(){var t=s.width,e=s.height;if(!t||!e)throw new Error("The SVG image must have width and height defined (in pixels), canvas API needs them.");var i=t*o.scale,n=e*o.scale;(o._overrideWidth||o._overrideHeight)&&(i=o._overrideWidth||o._overrideHeight/e*t,n=o._overrideHeight||o._overrideWidth/t*e),i=Math.round(i),n=Math.round(n);var r=o.source;r.width=i,r.height=n,r._pixiId="canvas_"+Ki(),r.getContext("2d").drawImage(s,0,0,t,e,0,0,i,n),o._resolve(),o._resolve=null}},n.getSize=function(t){var e=n.SVG_SIZE.exec(t),i={};return e&&(i[e[1]]=Math.round(parseFloat(e[3])),i[e[5]]=Math.round(parseFloat(e[7]))),i},n.prototype.dispose=function(){i.prototype.dispose.call(this),this._resolve=null,this._crossorigin=null},n.test=function(t,e){return"svg"===e||"string"==typeof t&&0===t.indexOf("data:image/svg+xml;base64")||"string"==typeof t&&0===t.indexOf("<svg")},n}(bn);kn.SVG_SIZE=/<svg[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i;var Rn=function(u){function i(t,e){if(e=e||{},!(t instanceof HTMLVideoElement)){var i=document.createElement("video");i.setAttribute("preload","auto"),i.setAttribute("webkit-playsinline",""),i.setAttribute("playsinline",""),"string"==typeof t&&(t=[t]),u.crossOrigin(i,t[0].src||t[0],e.crossorigin);for(var n=0;n<t.length;++n){var r=document.createElement("source"),o=t[n],s=o.src,a=o.mime,l=(s=s||t[n]).split("?").shift().toLowerCase(),h=l.substr(l.lastIndexOf(".")+1);a=a||"video/"+h,r.src=s,r.type=a,i.appendChild(r)}t=i}u.call(this,t),this.noSubImage=!0,this._autoUpdate=!0,this._isAutoUpdating=!1,this._updateFPS=e.updateFPS||0,this._msToNextUpdate=0,this.autoPlay=!1!==e.autoPlay,this._load=null,this._resolve=null,this._onCanPlay=this._onCanPlay.bind(this),this._onError=this._onError.bind(this),!1!==e.autoLoad&&this.load()}u&&(i.__proto__=u);var t={autoUpdate:{configurable:!0},updateFPS:{configurable:!0}};return((i.prototype=Object.create(u&&u.prototype)).constructor=i).prototype.update=function(t){if(void 0===t&&(t=0),!this.destroyed){var e=wi.shared.elapsedMS*this.source.playbackRate;this._msToNextUpdate=Math.floor(this._msToNextUpdate-e),(!this._updateFPS||this._msToNextUpdate<=0)&&(u.prototype.update.call(this,t),this._msToNextUpdate=this._updateFPS?Math.floor(1e3/this._updateFPS):0)}},i.prototype.load=function(){var e=this;if(this._load)return this._load;var i=this.source;return(i.readyState===i.HAVE_ENOUGH_DATA||i.readyState===i.HAVE_FUTURE_DATA)&&i.width&&i.height&&(i.complete=!0),i.addEventListener("play",this._onPlayStart.bind(this)),i.addEventListener("pause",this._onPlayStop.bind(this)),this._isSourceReady()?this._onCanPlay():(i.addEventListener("canplay",this._onCanPlay),i.addEventListener("canplaythrough",this._onCanPlay),i.addEventListener("error",this._onError,!0)),this._load=new Promise(function(t){e.valid?t(e):(e._resolve=t,i.load())}),this._load},i.prototype._onError=function(){this.source.removeEventListener("error",this._onError,!0),this.onError.run(event)},i.prototype._isSourcePlaying=function(){var t=this.source;return 0<t.currentTime&&!1===t.paused&&!1===t.ended&&2<t.readyState},i.prototype._isSourceReady=function(){return 3===this.source.readyState||4===this.source.readyState},i.prototype._onPlayStart=function(){this.valid||this._onCanPlay(),!this._isAutoUpdating&&this.autoUpdate&&(wi.shared.add(this.update,this),this._isAutoUpdating=!0)},i.prototype._onPlayStop=function(){this._isAutoUpdating&&(wi.shared.remove(this.update,this),this._isAutoUpdating=!1)},i.prototype._onCanPlay=function(){var t=this.source;t.removeEventListener("canplay",this._onCanPlay),t.removeEventListener("canplaythrough",this._onCanPlay);var e=this.valid;this.resize(t.videoWidth,t.videoHeight),!e&&this._resolve&&(this._resolve(this),this._resolve=null),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&t.play()},i.prototype.dispose=function(){this._isAutoUpdating&&wi.shared.remove(this.update,this),this.source&&(this.source.removeEventListener("error",this._onError,!0),this.source.pause(),this.source.src="",this.source.load()),u.prototype.dispose.call(this)},t.autoUpdate.get=function(){return this._autoUpdate},t.autoUpdate.set=function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isAutoUpdating?(wi.shared.remove(this.update,this),this._isAutoUpdating=!1):this._autoUpdate&&!this._isAutoUpdating&&(wi.shared.add(this.update,this),this._isAutoUpdating=!0))},t.updateFPS.get=function(){return this._updateFPS},t.updateFPS.set=function(t){t!==this._updateFPS&&(this._updateFPS=t)},i.test=function(t,e){return t instanceof HTMLVideoElement||-1<i.TYPES.indexOf(e)},Object.defineProperties(i.prototype,t),i}(bn);Rn.TYPES=["mp4","m4v","webm","ogg","ogv","h264","avi","mov"];var Ln=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).test=function(t){return!!window.createImageBitmap&&t instanceof ImageBitmap},e}(bn);En.push(Tn,Ln,In,Rn,kn,On,Mn,Cn);function Dn(t){this.renderer=t}Dn.prototype.destroy=function(){this.renderer=null};function Nn(t,e){this.width=Math.ceil(t||100),this.height=Math.ceil(e||100),this.stencil=!1,this.depth=!1,this.dirtyId=0,this.dirtyFormat=0,this.dirtySize=0,this.depthTexture=null,this.colorTextures=[],this.glFramebuffers={},this.disposeRunner=new di("disposeFramebuffer",2)}var Fn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.upload=function(t,e,
238i){var n=t.gl;return n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===ye.UNPACK),i.width===e.width&&i.height===e.height?n.texSubImage2D(e.target,0,0,0,e.width,e.height,e.format,e.type,this.data):(i.width=e.width,i.height=e.height,n.texImage2D(e.target,0,n.DEPTH_COMPONENT16,e.width,e.height,0,e.format,e.type,this.data)),!0},e}(On),Bn={colorTexture:{configurable:!0}};Bn.colorTexture.get=function(){return this.colorTextures[0]},Nn.prototype.addColorTexture=function(t,e){return void 0===t&&(t=0),this.colorTextures[t]=e||new An(null,{scaleMode:0,resolution:1,mipmap:!1,width:this.width,height:this.height}),this.dirtyId++,this.dirtyFormat++,this},Nn.prototype.addDepthTexture=function(t){return this.depthTexture=t||new An(new Fn(null,{width:this.width,height:this.height}),{scaleMode:0,resolution:1,width:this.width,height:this.height,mipmap:!1,format:re.DEPTH_COMPONENT,type:le.UNSIGNED_SHORT}),this.dirtyId++,this.dirtyFormat++,this},Nn.prototype.enableDepth=function(){return this.depth=!0,this.dirtyId++,this.dirtyFormat++,this},Nn.prototype.enableStencil=function(){return this.stencil=!0,this.dirtyId++,this.dirtyFormat++,this},Nn.prototype.resize=function(t,e){if(t=Math.ceil(t),e=Math.ceil(e),t!==this.width||e!==this.height){this.width=t,this.height=e,this.dirtyId++,this.dirtySize++;for(var i=0;i<this.colorTextures.length;i++){var n=this.colorTextures[i],r=n.resolution;n.setSize(t/r,e/r)}if(this.depthTexture){var o=this.depthTexture.resolution;this.depthTexture.setSize(t/o,e/o)}}},Nn.prototype.dispose=function(){this.disposeRunner.run(this,!1)},Object.defineProperties(Nn.prototype,Bn);function Un(){this.x0=0,this.y0=0,this.x1=1,this.y1=0,this.x2=1,this.y2=1,this.x3=0,this.y3=1,this.uvsFloat32=new Float32Array(8)}var jn=function(r){function t(t){"number"==typeof t&&(t={width:arguments[0],height:arguments[1],scaleMode:arguments[2],resolution:arguments[3]});r.call(this,null,t);var e=t||{},i=e.width,n=e.height;this.mipmap=!1,this.width=Math.ceil(i)||100,this.height=Math.ceil(n)||100,this.valid=!0,this._canvasRenderTarget=null,this.clearColor=[0,0,0,0],this.framebuffer=new Nn(this.width*this.resolution,this.height*this.resolution).addColorTexture(0,this),this.maskStack=[],this.filterStack=[{}]}return r&&(t.__proto__=r),((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.resize=function(t,e){t=Math.ceil(t),e=Math.ceil(e),this.framebuffer.resize(t*this.resolution,e*this.resolution)},t.prototype.dispose=function(){this.framebuffer.dispose(),r.prototype.dispose.call(this)},t.prototype.destroy=function(){r.prototype.destroy.call(this,!0),this.framebuffer=null},t}(An);Un.prototype.set=function(t,e,i){var n=e.width,r=e.height;if(i){var o=t.width/2/n,s=t.height/2/r,a=t.x/n+o,l=t.y/r+s;i=$e.add(i,$e.NW),this.x0=a+o*$e.uX(i),this.y0=l+s*$e.uY(i),i=$e.add(i,2),this.x1=a+o*$e.uX(i),this.y1=l+s*$e.uY(i),i=$e.add(i,2),this.x2=a+o*$e.uX(i),this.y2=l+s*$e.uY(i),i=$e.add(i,2),this.x3=a+o*$e.uX(i),this.y3=l+s*$e.uY(i)}else this.x0=t.x/n,this.y0=t.y/r,this.x1=(t.x+t.width)/n,this.y1=t.y/r,this.x2=(t.x+t.width)/n,this.y2=(t.y+t.height)/r,this.x3=t.x/n,this.y3=(t.y+t.height)/r;this.uvsFloat32[0]=this.x0,this.uvsFloat32[1]=this.y0,this.uvsFloat32[2]=this.x1,this.uvsFloat32[3]=this.y1,this.uvsFloat32[4]=this.x2,this.uvsFloat32[5]=this.y2,this.uvsFloat32[6]=this.x3,this.uvsFloat32[7]=this.y3};var Xn=new Un,zn=function(s){function a(t,e,i,n,r,o){if(s.call(this),this.noFrame=!1,e||(this.noFrame=!0,e=new ii(0,0,1,1)),t instanceof a&&(t=t.baseTexture),this.baseTexture=t,this._frame=e,this.trim=n,this.valid=!1,this.requiresUpdate=!1,this._uvs=Xn,this.uvMatrix=null,this.orig=i||e,this._rotate=Number(r||0),!0===r)this._rotate=2;else if(this._rotate%2!=0)throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");this.defaultAnchor=o?new De(o.x,o.y):new De(0,0),this._updateID=0,this.textureCacheIds=[],t.valid?this.noFrame?t.valid&&this.onBaseTextureUpdated(t):this.frame=e:t.once("loaded",this.onBaseTextureUpdated,this),this.noFrame&&t.on("update",this.onBaseTextureUpdated,this)}s&&(a.__proto__=s);var t={resolution:{configurable:!0},frame:{configurable:!0},rotate:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};return((a.prototype=Object.create(s&&s.prototype)).constructor=a).prototype.update=function(){this.baseTexture.resource&&this.baseTexture.resource.update(
238)},a.prototype.onBaseTextureUpdated=function(t){if(this.noFrame){if(!this.baseTexture.valid)return;this._frame.width=t.width,this._frame.height=t.height,this.valid=!0,this.updateUvs()}else this.frame=this._frame;this.emit("update",this)},a.prototype.destroy=function(t){if(this.baseTexture){if(t){var e=this.baseTexture.resource;e&&en[e.url]&&a.removeFromCache(e.url),this.baseTexture.destroy()}this.baseTexture.off("update",this.onBaseTextureUpdated,this),this.baseTexture=null}this._frame=null,this._uvs=null,this.trim=null,this.orig=null,this.valid=!1,a.removeFromCache(this),this.textureCacheIds=null},a.prototype.clone=function(){return new a(this.baseTexture,this.frame,this.orig,this.trim,this.rotate,this.defaultAnchor)},a.prototype.updateUvs=function(){this._uvs===Xn&&(this._uvs=new Un),this._uvs.set(this._frame,this.baseTexture,this.rotate),this._updateID++},a.from=function(t,e,i){void 0===e&&(e={}),void 0===i&&(i=yi.STRICT_TEXTURE_CACHE);var n="string"==typeof t,r=null;r=n?t:(t._pixiId||(t._pixiId="pixiid_"+Ki()),t._pixiId);var o=en[r];if(n&&i&&!o)throw new Error('The cacheId "'+r+'" does not exist in TextureCache.');return o||(e.resolution||(e.resolution=fn(t)),(o=new a(new An(t,e))).baseTexture.cacheId=r,An.addToCache(o.baseTexture,r),a.addToCache(o,r)),o},a.fromBuffer=function(t,e,i,n){return new a(An.fromBuffer(t,e,i,n))},a.fromLoader=function(t,e,i){var n=new Tn(t);n.url=e;var r=new a(new An(n,{scaleMode:yi.SCALE_MODE,resolution:fn(e)}));return i=i||e,An.addToCache(r.baseTexture,i),a.addToCache(r,i),i!==e&&(An.addToCache(r.baseTexture,e),a.addToCache(r,e)),r},a.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),en[e],en[e]=t)},a.removeFromCache=function(t){if("string"==typeof t){var e=en[t];if(e){var i=e.textureCacheIds.indexOf(t);return-1<i&&e.textureCacheIds.splice(i,1),delete en[t],e}}else if(t&&t.textureCacheIds){for(var n=0;n<t.textureCacheIds.length;++n)en[t.textureCacheIds[n]]===t&&delete en[t.textureCacheIds[n]];return t.textureCacheIds.length=0,t}return null},t.resolution.get=function(){return this.baseTexture.resolution},t.frame.get=function(){return this._frame},t.frame.set=function(t){this._frame=t,this.noFrame=!1;var e=t.x,i=t.y,n=t.width,r=t.height,o=e+n>this.baseTexture.width,s=i+r>this.baseTexture.height;if(o||s){var a=o&&s?"and":"or",l="X: "+e+" + "+n+" = "+(e+n)+" > "+this.baseTexture.width,h="Y: "+i+" + "+r+" = "+(i+r)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+l+" "+a+" "+h)}this.valid=n&&r&&this.baseTexture.valid,this.trim||this.rotate||(this.orig=t),this.valid&&this.updateUvs()},t.rotate.get=function(){return this._rotate},t.rotate.set=function(t){this._rotate=t,this.valid&&this.updateUvs()},t.width.get=function(){return this.orig.width},t.height.get=function(){return this.orig.height},Object.defineProperties(a.prototype,t),a}(Oi.a);function Wn(t){t.destroy=function(){},t.on=function(){},t.once=function(){},t.emit=function(){}}zn.EMPTY=new zn(new An),Wn(zn.EMPTY),Wn(zn.EMPTY.baseTexture),zn.WHITE=function(){var t=document.createElement("canvas");t.width=16,t.height=16;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,16,16),new zn(new An(new In(t)))}(),Wn(zn.WHITE),Wn(zn.WHITE.baseTexture);function Hn(t){this.texturePool={},this.textureOptions=t||{},this.enableFullScreen=!1,this._pixelsWidth=0,this._pixelsHeight=0}var Gn=function(o){function r(t,e){var i=null;if(!(t instanceof jn)){var n=arguments[1],r=arguments[2];i=arguments[0],e=null,t=new jn({width:n,height:r,scaleMode:arguments[3],resolution:arguments[4]})}o.call(this,t,e),this.legacyRenderer=i,this.valid=!0,this.filterFrame=null,this.filterPoolKey=null,this.updateUvs()}return o&&(r.__proto__=o),((r.prototype=Object.create(o&&o.prototype)).constructor=r).prototype.resize=function(t,e,i){void 0===i&&(i=!0),t=Math.ceil(t),e=Math.ceil(e),this.valid=0<t&&0<e,this._frame.width=this.orig.width=t,this._frame.height=this.orig.height=e,i&&this.baseTexture.resize(t,e),this.updateUvs()},r.prototype.setResolution=function(t){var e=this.baseTexture;e.resolution!==t&&(e.setResolution(t),this.resize(e.width,e.height,!1))}
238,r.create=function(t,e,i,n){return"number"==typeof t&&(t={width:t,height:e,scaleMode:i,resolution:n}),new r(new jn(t))},r}(zn);Hn.prototype.createTexture=function(t,e){var i=new jn(Object.assign({width:t,height:e,resolution:1},this.textureOptions));return new Gn(i)},Hn.prototype.getOptimalTexture=function(t,e,i){void 0===i&&(i=1);var n=Hn.SCREEN_KEY;t*=i,e*=i,this.enableFullScreen&&t===this._pixelsWidth&&e===this._pixelsHeight||(n=(65535&(t=Qi(t)))<<16|65535&(e=Qi(e))),this.texturePool[n]||(this.texturePool[n]=[]);var r=this.texturePool[n].pop();return(r=r||this.createTexture(t,e)).filterPoolKey=n,r.setResolution(i),r},Hn.prototype.getFilterTexture=function(t,e){var i=this.getOptimalTexture(t.width,t.height,e||t.resolution);return i.filterFrame=t.filterFrame,i},Hn.prototype.returnTexture=function(t){var e=t.filterPoolKey;t.filterFrame=null,this.texturePool[e].push(t)},Hn.prototype.returnFilterTexture=function(t){this.returnTexture(t)},Hn.prototype.clear=function(t){if(t=!1!==t)for(var e in this.texturePool){var i=this.texturePool[e];if(i)for(var n=0;n<i.length;n++)i[n].destroy(!0)}this.texturePool={}},Hn.prototype.setScreenSize=function(t){if(t.width!==this._pixelsWidth||t.height!==this._pixelsHeight){var e=Hn.SCREEN_KEY,i=this.texturePool[e];if(this.enableFullScreen=0<t.width&&0<t.height,i)for(var n=0;n<i.length;n++)i[n].destroy(!0);this.texturePool[e]=[],this._pixelsWidth=t.width,this._pixelsHeight=t.height}},Hn.SCREEN_KEY="screen";function Vn(t,e,i,n,r,o,s){void 0===i&&(i=!1),void 0===n&&(n=5126),this.buffer=t,this.size=e,this.normalized=i,this.type=n,this.stride=r,this.start=o,this.instance=s}Vn.prototype.destroy=function(){this.buffer=null},Vn.from=function(t,e,i,n,r){return new Vn(t,e,i,n,r)};function Yn(t,e,i){void 0===e&&(e=!0),void 0===i&&(i=!1),this.data=t||new Float32Array(1),this._glBuffers={},this._updateID=0,this.index=i,this.static=e,this.id=qn++,this.disposeRunner=new di("disposeBuffer",2)}var qn=0;function Kn(t){if(4===t.BYTES_PER_ELEMENT)return t instanceof Float32Array?"Float32Array":t instanceof Uint32Array?"Uint32Array":"Int32Array";if(2===t.BYTES_PER_ELEMENT){if(t instanceof Uint16Array)return"Uint16Array"}else if(1===t.BYTES_PER_ELEMENT&&t instanceof Uint8Array)return"Uint8Array";return null}Yn.prototype.update=function(t){this.data=t||this.data,this._updateID++},Yn.prototype.dispose=function(){this.disposeRunner.run(this,!1)},Yn.prototype.destroy=function(){this.dispose(),this.data=null},Yn.from=function(t){return t instanceof Array&&(t=new Float32Array(t)),new Yn(t)};var Zn={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array};function Qn(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this.buffers=t,this.indexBuffer=null,this.attributes=e,this.glVertexArrayObjects={},this.id=$n++,this.instanced=!1,this.instanceCount=1,this.disposeRunner=new di("disposeGeometry",2),this.refCount=0}var Jn={5126:4,5123:2,5121:1},$n=0,tr={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array};Qn.prototype.addAttribute=function(t,e,i,n,r,o,s,a){if(void 0===n&&(n=!1),void 0===a&&(a=!1),!e)throw new Error("You must pass a buffer when creating an attribute");e.data||(e instanceof Array&&(e=new Float32Array(e)),e=new Yn(e));var l=t.split("|");if(1<l.length){for(var h=0;h<l.length;h++)this.addAttribute(l[h],e,i,n,r);return this}var u=this.buffers.indexOf(e);return-1===u&&(this.buffers.push(e),u=this.buffers.length-1),this.attributes[t]=new Vn(u,i,n,r,o,s,a),this.instanced=this.instanced||a,this},Qn.prototype.getAttribute=function(t){return this.attributes[t]},Qn.prototype.getBuffer=function(t){return this.buffers[this.getAttribute(t).buffer]},Qn.prototype.addIndex=function(t){return t.data||(t instanceof Array&&(t=new Uint16Array(t)),t=new Yn(t)),t.index=!0,this.indexBuffer=t,-1===this.buffers.indexOf(t)&&this.buffers.push(t),this},Qn.prototype.getIndex=function(){return this.indexBuffer},Qn.prototype.interleave=function(){if(1===this.buffers.length||2===this.buffers.length&&this.indexBuffer)return this;var t,e=[],i=[],n=new Yn;for(t in this.attributes){var r=this.attributes[t],o=this.buffers[r.buffer];e.push(o.data),i.push(r.size*Jn[r.type]/4),r.buffer=0}for(n.data=function(t,e){for(var i=0,n=0,r={},o=0;o<t.length;o++)n+=e[o],i+=t[o].length;for(var s=new ArrayBuffer(4*i),a=null,l=0,h=0;h<t.length;h++){var u=e[h],c=t[h],d=Kn(c);r[d]||(r[d]=new Zn[d](s)),a=r[d];for(var f=0;f<c.length;f++){a[(f/u|0)*n+l+f%u]=c[f]}l+=u}return new Float32Array(s)}(e,i),t=0;t<this.buffers.length;t++)this.buffers[t]!==this.indexBuffer&&this.buffers[t].destroy();return this.buffers=[n],this.indexBuffer&&this.buffers.push(this.indexBuffer),this},Qn.prototype.getSize=function(){for(var t in this.attributes){var e=this.attributes[t];return this.buffers[e.buffer].data.length/(e.stride/4||e.size)}return 0},Qn.prototype.dispose=function(){this.disposeRunner.run(this,!1)},Qn.prototype.destroy=function(){this.dispose(),this.buffers=null,this.indexBuffer=null,this.attributes=null},Qn.prototype.clone=function(){for(var t=new Qn,e=0;e<this.buffers.length;e++)t.buffers[e]=new Yn(this.buffers[e].data.slice());for(var i in this.attributes){var n=this.attributes[i];t.attributes[i]=new Vn(n.buffer,n.size,n.normalized,n.type,n.stride,n.start,n.instance)}return this.indexBuffer&&(t.indexBuffer=t.buffers[this.buffers.indexOf(this.indexBuffer)],t.indexBuffer.index=!0),t},Qn.merge=function(t){for(var e,i=new Qn,n=[],r=[],o=[],s=0;s<t.length;s++){e=t[s];for(var a=0;a<e.buffers.length;a++)r[a]=r[a]||0,r[a]+=e.buffers[a].data.length,o[a]=0}for(var l=0;l<e.buffers.length;l++)n[l]=new(tr[Kn(e.buffers[l].data)])(r[l]),i.buffers[l]=new Yn(n[l]);for(var h=0;h<t.length;h++){e=t[h];for(var u=0;u<e.buffers.length;u++)n[u].set(e.buffers[u].data,o[u]),o[u]+=e.buffers[u].data.length}if(i.attributes=e.attributes,e.indexBuffer){i.indexBuffer=i.buffers[e.buffers.indexOf(e.indexBuffer)],i.indexBuffer.index=!0;for(var c=0,d=0,f=0,p=0,v=0;v<e.buffers.length;v++)if(e.buffers[v]!==e.indexBuffer){p=v;break}for(var m in e.attributes){var g=e.attributes[m];(0|g.buffer)===p&&(d+=g.size*Jn[g.type]/4)}for(var y=0;y<t.length;y++){for(var _=t[y].indexBuffer.data,x=0;x<_.length;x++)i.indexBuffer.data[x+f]+=c;c+=e.buffers[p].data.length/d,f+=_.length}}return i};function er(t,e){this.uniforms=t,this.group=!0,this.syncUniforms={},this.dirtyId=0,this.id=rr++,this.static=!!e}var ir=function(t){function e(){t.call(this),this.addAttribute("aVertexPosition",[0,0,1,0,1,1,0,1]).addIndex([0,1,3,2])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e}(Qn),nr=function(t){function e(){t.call(this),this.vertices=new Float32Array([-1,-1,1,-1,1,1,-1,1]),this.uvs=new Float32Array([0,0,1,0,1,1,0,1]),this.vertexBuffer=new Yn(this.vertices),this.uvBuffer=new Yn(this.uvs),this.addAttribute("aVertexPosition",this.vertexBuffer).addAttribute("aTextureCoord",this.uvBuffer).addIndex([0,1,2,0,2,3])}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.map=function(t,e){var i=0,n=0;return this.uvs[0]=i,this.uvs[1]=n,this.uvs[2]=i+e.width/t.width,this.uvs[3]=n,this.uvs[4]=i+e.width/t.width,this.uvs[5]=n+e.height/t.height,this.uvs[6]=i,this.uvs[7]=n+e.height/t.height,i=e.x,n=e.y,this.vertices[0]=i,this.vertices[1]=n,this.vertices[2]=i+e.width,this.vertices[3]=n,this.vertices[4]=i+e.width,this.vertices[5]=n+e.height,this.vertices[6]=i,this.vertices[7]=n+e.height,this.invalidate(),this},e.prototype.invalidate=function(){return this.vertexBuffer._updateID++,this.uvBuffer._updateID++,this},e}(Qn),rr=0;er.prototype.update=function(){this.dirtyId++}
238,er.prototype.add=function(t,e,i){this.uniforms[t]=new er(e,i)},er.from=function(t,e){return new er(t,e)};function or(){this.renderTexture=null,this.target=null,this.legacy=!1,this.resolution=1,this.sourceFrame=new ii,this.destinationFrame=new ii,this.filters=[]}or.prototype.clear=function(){this.target=null,this.filters=null,this.renderTexture=null};function sr(t){this.renderer=t}var ar=function(e){function t(t){e.call(this,t),this.defaultFilterStack=[{}],this.texturePool=new Hn,this.texturePool.setScreenSize(t.view),this.statePool=[],this.quad=new ir,this.quadUv=new nr,this.tempRect=new ii,this.activeState={},this.globalUniforms=new er({outputFrame:this.tempRect,inputSize:new Float32Array(4),inputPixel:new Float32Array(4),inputClamp:new Float32Array(4),resolution:1,filterArea:new Float32Array(4),filterClamp:new Float32Array(4)},!0),this._pixelsWidth=t.view.width,this._pixelsHeight=t.view.height}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.push=function(t,e){for(var i=this.renderer,n=this.defaultFilterStack,r=this.statePool.pop()||new or,o=e[0].resolution,s=e[0].padding,a=e[0].autoFit,l=e[0].legacy,h=1;h<e.length;h++){var u=e[h];o=Math.min(o,u.resolution),s=Math.max(s,u.padding),a=a||u.autoFit,l=l||u.legacy}1===n.length&&(this.defaultFilterStack[0].renderTexture=i.renderTexture.current),n.push(r),r.resolution=o,r.legacy=l,r.target=t,r.sourceFrame.copyFrom(t.filterArea||t.getBounds(!0)),r.sourceFrame.pad(s),a&&r.sourceFrame.fit(this.renderer.renderTexture.sourceFrame),r.sourceFrame.ceil(o),r.renderTexture=this.getOptimalFilterTexture(r.sourceFrame.width,r.sourceFrame.height,o),r.filters=e,r.destinationFrame.width=r.renderTexture.width,r.destinationFrame.height=r.renderTexture.height,r.renderTexture.filterFrame=r.sourceFrame,i.renderTexture.bind(r.renderTexture,r.sourceFrame),i.renderTexture.clear()},t.prototype.pop=function(){var t=this.defaultFilterStack,e=t.pop(),i=e.filters;this.activeState=e;var n=this.globalUniforms.uniforms;n.outputFrame=e.sourceFrame,n.resolution=e.resolution;var r=n.inputSize,o=n.inputPixel,s=n.inputClamp;if(r[0]=e.destinationFrame.width,r[1]=e.destinationFrame.height,r[2]=1/r[0],r[3]=1/r[1],o[0]=r[0]*e.resolution,o[1]=r[1]*e.resolution,o[2]=1/o[0],o[3]=1/o[1],s[0]=.5*o[2],s[1]=.5*o[3],s[2]=e.sourceFrame.width*r[2]-.5*o[2],s[3]=e.sourceFrame.height*r[3]-.5*o[3],e.legacy){var a=n.filterArea;a[0]=e.destinationFrame.width,a[1]=e.destinationFrame.height,a[2]=e.sourceFrame.x,a[3]=e.sourceFrame.y,n.filterClamp=n.inputClamp}this.globalUniforms.update();var l=t[t.length-1];if(1===i.length)i[0].apply(this,e.renderTexture,l.renderTexture,!1,e),this.returnFilterTexture(e.renderTexture);else{var h=e.renderTexture,u=this.getOptimalFilterTexture(h.width,h.height,e.resolution);u.filterFrame=h.filterFrame;var c=0;for(c=0;c<i.length-1;++c){i[c].apply(this,h,u,!0,e);var d=h;h=u,u=d}i[c].apply(this,h,l.renderTexture,!1,e),this.returnFilterTexture(h),this.returnFilterTexture(u)}e.clear(),this.statePool.push(e)},t.prototype.applyFilter=function(t,e,i,n){var r=this.renderer;r.renderTexture.bind(i,i?i.filterFrame:null),n&&r.renderTexture.clear(),t.uniforms.uSampler=e,t.uniforms.filterGlobals=this.globalUniforms,r.state.set(t.state),r.shader.bind(t),t.legacy?(this.quadUv.map(e._frame,e.filterFrame),r.geometry.bind(this.quadUv),r.geometry.draw(ie.TRIANGLES)):(r.geometry.bind(this.quad),r.geometry.draw(ie.TRIANGLE_STRIP))},t.prototype.calculateSpriteMatrix=function(t,e){var i=this.activeState,n=i.sourceFrame,r=i.destinationFrame,o=e._texture.orig,s=t.set(r.width,0,0,r.height,n.x,n.y),a=e.worldTransform.copyTo(He.TEMP_MATRIX);return a.invert(),s.prepend(a),s.scale(1/o.width,1/o.height),s.translate(e.anchor.x,e.anchor.y),s},t.prototype.destroy=function(){this.texturePool.clear(!1)},t.prototype.getOptimalFilterTexture=function(t,e,i){return void 0===i&&(i=1),this.texturePool.getOptimalTexture(t,e,i)},t.prototype.getFilterTexture=function(t,e){if("number"==typeof t){var i=t;t=e,e=i}t=t||this.activeState.renderTexture;var n=this.texturePool.getOptimalTexture(t.width,t.height,e||t.resolution);return n.filterFrame=t.filterFrame,n},t.prototype.returnFilterTexture=function(t){this.texturePool.returnTexture(t)},t.prototype.emptyPool=function(){this.texturePool.clear(!0)},t.prototype.resize=function(){this.texturePool.setScreenSize(this.renderer.view
238)},t}(Dn);sr.prototype.flush=function(){},sr.prototype.destroy=function(){this.renderer=null},sr.prototype.start=function(){},sr.prototype.stop=function(){this.flush()},sr.prototype.render=function(t){};var lr=function(e){function t(t){e.call(this,t),this.emptyRenderer=new sr(t),this.currentRenderer=this.emptyRenderer}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.setObjectRenderer=function(t){this.currentRenderer!==t&&(this.currentRenderer.stop(),this.currentRenderer=t,this.currentRenderer.start())},t.prototype.flush=function(){this.setObjectRenderer(this.emptyRenderer)},t.prototype.reset=function(){this.setObjectRenderer(this.emptyRenderer)},t.prototype.copyBoundTextures=function(t,e){for(var i=this.renderer.texture.boundTextures,n=e-1;0<=n;--n)t[n]=i[n]||null,t[n]&&(t[n]._batchLocation=n)},t.prototype.boundArray=function(t,e,i,n){for(var r=t.elements,o=t.ids,s=t.count,a=0,l=0;l<s;l++){var h=r[l],u=h._batchLocation;if(0<=u&&u<n&&e[u]===h)o[l]=u;else for(;a<n;){var c=e[a];if(!c||c._batchEnabled!==i||c._batchLocation!==a){o[l]=a,e[h._batchLocation=a]=h;break}a++}}},t}(Dn);yi.PREFER_ENV=vi.a.any?Zt.WEBGL:Zt.WEBGL2,yi.STRICT_TEXTURE_CACHE=!1;function hr(t){this.buffer=t,this.updateID=-1,this.byteLength=-1,this.refCount=0}function ur(t){this.type=Ee.NONE,this.autoDetect=!0,this.maskObject=t||null,this.pooled=!1,this.isMaskData=!0,this._stencilCounter=0,this._scissorCounter=0,this._scissorRect=null,this._target=null}var cr=0,dr=function(e){function t(t){e.call(this,t),this.webGLVersion=1,this.extensions={},this.handleContextLost=this.handleContextLost.bind(this),this.handleContextRestored=this.handleContextRestored.bind(this),t.view.addEventListener("webglcontextlost",this.handleContextLost,!1),t.view.addEventListener("webglcontextrestored",this.handleContextRestored,!1)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var i={isLost:{configurable:!0}};return i.isLost.get=function(){return!this.gl||this.gl.isContextLost()},t.prototype.contextChange=function(t){this.gl=t,this.renderer.gl=t,this.renderer.CONTEXT_UID=cr++,t.isContextLost()&&t.getExtension("WEBGL_lose_context")&&t.getExtension("WEBGL_lose_context").restoreContext()},t.prototype.initFromContext=function(t){this.gl=t,this.validateContext(t),this.renderer.gl=t,this.renderer.CONTEXT_UID=cr++,this.renderer.runners.contextChange.run(t)},t.prototype.initFromOptions=function(t){var e=this.createContext(this.renderer.view,t);this.initFromContext(e)},t.prototype.createContext=function(t,e){var i;if(yi.PREFER_ENV>=Zt.WEBGL2&&(i=t.getContext("webgl2",e)),i)this.webGLVersion=2;else if(this.webGLVersion=1,!(i=t.getContext("webgl",e)||t.getContext("experimental-webgl",e)))throw new Error("This browser does not support WebGL. Try using the canvas renderer");return this.gl=i,this.getExtensions(),i},t.prototype.getExtensions=function(){var t=this.gl;1===this.webGLVersion?Object.assign(this.extensions,{drawBuffers:t.getExtension("WEBGL_draw_buffers"),depthTexture:t.getExtension("WEBKIT_WEBGL_depth_texture"),loseContext:t.getExtension("WEBGL_lose_context"),vertexArrayObject:t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object"),anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),uint32ElementIndex:t.getExtension("OES_element_index_uint"),floatTexture:t.getExtension("OES_texture_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),textureHalfFloat:t.getExtension("OES_texture_half_float"),textureHalfFloatLinear:t.getExtension("OES_texture_half_float_linear")}):2===this.webGLVersion&&Object.assign(this.extensions,{anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),colorBufferFloat:t.getExtension("EXT_color_buffer_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear")})},t.prototype.handleContextLost=function(t){t.preventDefault()},t.prototype.handleContextRestored=function(){this.renderer.runners.contextChange.run(this.gl)},t.prototype.destroy=function(){var t=this.renderer.view;t.removeEventListener("webglcontextlost",this.handleContextLost),t.removeEventListener("webglcontextrestored",this.handleContextRestored),this.gl.useProgram(null),this.extensions.loseContext&&this.extensions.loseContext.loseContext()},t.prototype.postrender=function(){this.renderer.renderingToScreen&&this.gl.flush()},t.prototype.validateContext=function(t){t.getContextAttributes().stencil}
238,Object.defineProperties(t.prototype,i),t}(Dn),fr=function(e){function t(t){e.call(this,t),this.managedFramebuffers=[],this.unknownFramebuffer=new Nn(10,10)}e&&(t.__proto__=e);var i={size:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.contextChange=function(){var t=this.gl=this.renderer.gl;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.current=this.unknownFramebuffer,this.viewport=new ii,this.hasMRT=!0,this.writeDepthTexture=!0,this.disposeAll(!0),1===this.renderer.context.webGLVersion){var e=this.renderer.context.extensions.drawBuffers,i=this.renderer.context.extensions.depthTexture;yi.PREFER_ENV===Zt.WEBGL_LEGACY&&(i=e=null),e?t.drawBuffers=function(t){return e.drawBuffersWEBGL(t)}:(this.hasMRT=!1,t.drawBuffers=function(){}),i||(this.writeDepthTexture=!1)}},t.prototype.bind=function(t,e){var i=this.gl;if(t){var n=t.glFramebuffers[this.CONTEXT_UID]||this.initFramebuffer(t);this.current!==t&&(this.current=t,i.bindFramebuffer(i.FRAMEBUFFER,n.framebuffer)),n.dirtyId!==t.dirtyId&&(n.dirtyId=t.dirtyId,n.dirtyFormat!==t.dirtyFormat?(n.dirtyFormat=t.dirtyFormat,this.updateFramebuffer(t)):n.dirtySize!==t.dirtySize&&(n.dirtySize=t.dirtySize,this.resizeFramebuffer(t)));for(var r=0;r<t.colorTextures.length;r++)t.colorTextures[r].texturePart?this.renderer.texture.unbind(t.colorTextures[r].texture):this.renderer.texture.unbind(t.colorTextures[r]);t.depthTexture&&this.renderer.texture.unbind(t.depthTexture),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,t.width,t.height)}else this.current&&(this.current=null,i.bindFramebuffer(i.FRAMEBUFFER,null)),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,this.renderer.width,this.renderer.height)},t.prototype.setViewport=function(t,e,i,n){var r=this.viewport;r.width===i&&r.height===n&&r.x===t&&r.y===e||(r.x=t,r.y=e,r.width=i,r.height=n,this.gl.viewport(t,e,i,n))},i.size.get=function(){return this.current?{x:0,y:0,width:this.current.width,height:this.current.height}:{x:0,y:0,width:this.renderer.width,height:this.renderer.height}},t.prototype.clear=function(t,e,i,n){var r=this.gl;r.clearColor(t,e,i,n),r.clear(r.COLOR_BUFFER_BIT|r.DEPTH_BUFFER_BIT)},t.prototype.initFramebuffer=function(t){var e={framebuffer:this.gl.createFramebuffer(),stencil:null,dirtyId:0,dirtyFormat:0,dirtySize:0};return t.glFramebuffers[this.CONTEXT_UID]=e,this.managedFramebuffers.push(t),t.disposeRunner.add(this),e},t.prototype.resizeFramebuffer=function(t){var e=this.gl,i=t.glFramebuffers[this.CONTEXT_UID];i.stencil&&(e.bindRenderbuffer(e.RENDERBUFFER,i.stencil),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height));for(var n=t.colorTextures,r=0;r<n.length;r++)this.renderer.texture.bind(n[r],0);t.depthTexture&&this.renderer.texture.bind(t.depthTexture,0)},t.prototype.updateFramebuffer=function(t){var e=this.gl,i=t.glFramebuffers[this.CONTEXT_UID],n=t.colorTextures.length;e.drawBuffers||(n=Math.min(n,1));for(var r=[],o=0;o<n;o++){var s=t.colorTextures[o];s.texturePart?(this.renderer.texture.bind(s.texture,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+o,e.TEXTURE_CUBE_MAP_NEGATIVE_X+s.side,s.texture._glTextures[this.CONTEXT_UID].texture,0)):(this.renderer.texture.bind(s,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+o,e.TEXTURE_2D,s._glTextures[this.CONTEXT_UID].texture,0)),r.push(e.COLOR_ATTACHMENT0+o)}if((1<r.length&&e.drawBuffers(r),t.depthTexture)&&this.writeDepthTexture){var a=t.depthTexture;this.renderer.texture.bind(a,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,a._glTextures[this.CONTEXT_UID].texture,0)}i.stencil||!t.stencil&&!t.depth||(i.stencil=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,i.stencil),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height),t.depthTexture||e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.RENDERBUFFER,i.stencil))},t.prototype.disposeFramebuffer=function(t,e){var i=t.glFramebuffers[this.CONTEXT_UID],n=this.gl;if(i){delete t.glFramebuffers[this.CONTEXT_UID];var r=this.managedFramebuffers.indexOf(t);
2380<=r&&this.managedFramebuffers.splice(r,1),t.disposeRunner.remove(this),e||(n.deleteFramebuffer(i.framebuffer),i.stencil&&n.deleteRenderbuffer(i.stencil))}},t.prototype.disposeAll=function(t){var e=this.managedFramebuffers;this.managedFramebuffers=[];for(var i=0;i<e.length;i++)this.disposeFramebuffer(e[i],t)},t.prototype.forceStencil=function(){var t=this.current;if(t){var e=t.glFramebuffers[this.CONTEXT_UID];if(e&&!e.stencil){t.enableStencil();var i=t.width,n=t.height,r=this.gl,o=r.createRenderbuffer();r.bindRenderbuffer(r.RENDERBUFFER,o),r.renderbufferStorage(r.RENDERBUFFER,r.DEPTH_STENCIL,i,n),e.stencil=o,r.framebufferRenderbuffer(r.FRAMEBUFFER,r.DEPTH_STENCIL_ATTACHMENT,r.RENDERBUFFER,o)}}},t.prototype.reset=function(){this.current=this.unknownFramebuffer,this.viewport=new ii},Object.defineProperties(t.prototype,i),t}(Dn),pr={5126:4,5123:2,5121:1},vr=function(e){function t(t){e.call(this,t),this._activeGeometry=null,this._activeVao=null,this.hasVao=!0,this.hasInstance=!0,this.canUseUInt32ElementIndex=!1,this.boundBuffers={},this.managedGeometries={},this.managedBuffers={}}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.contextChange=function(){this.disposeAll(!0);var t=this.gl=this.renderer.gl,e=this.renderer.context;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,!t.createVertexArray){var i=this.renderer.context.extensions.vertexArrayObject;yi.PREFER_ENV===Zt.WEBGL_LEGACY&&(i=null),i?(t.createVertexArray=function(){return i.createVertexArrayOES()},t.bindVertexArray=function(t){return i.bindVertexArrayOES(t)},t.deleteVertexArray=function(t){return i.deleteVertexArrayOES(t)}):(this.hasVao=!1,t.createVertexArray=function(){},t.bindVertexArray=function(){},t.deleteVertexArray=function(){})}if(!t.vertexAttribDivisor){var o=t.getExtension("ANGLE_instanced_arrays");o?(t.vertexAttribDivisor=function(t,e){return o.vertexAttribDivisorANGLE(t,e)},t.drawElementsInstanced=function(t,e,i,n,r){return o.drawElementsInstancedANGLE(t,e,i,n,r)},t.drawArraysInstanced=function(t,e,i,n){return o.drawArraysInstancedANGLE(t,e,i,n)}):this.hasInstance=!1}this.canUseUInt32ElementIndex=2===e.webGLVersion||!!e.extensions.uint32ElementIndex},t.prototype.bind=function(t,e){e=e||this.renderer.shader.shader;var i=this.gl,n=t.glVertexArrayObjects[this.CONTEXT_UID];n||((this.managedGeometries[t.id]=t).disposeRunner.add(this),t.glVertexArrayObjects[this.CONTEXT_UID]=n={});var r=n[e.program.id]||this.initGeometryVao(t,e.program);this._activeGeometry=t,this._activeVao!==r&&(this._activeVao=r,this.hasVao?i.bindVertexArray(r):this.activateVao(t,e.program)),this.updateBuffers()},t.prototype.reset=function(){this.unbind()},t.prototype.updateBuffers=function(){for(var t=this._activeGeometry,e=this.gl,i=0;i<t.buffers.length;i++){var n=t.buffers[i],r=n._glBuffers[this.CONTEXT_UID];if(n._updateID!==r.updateID){r.updateID=n._updateID;var o=n.index?e.ELEMENT_ARRAY_BUFFER:e.ARRAY_BUFFER;if(e.bindBuffer(o,r.buffer),(this._boundBuffer=r).byteLength>=n.data.byteLength)e.bufferSubData(o,0,n.data);else{var s=n.static?e.STATIC_DRAW:e.DYNAMIC_DRAW;r.byteLength=n.data.byteLength,e.bufferData(o,n.data,s)}}}},t.prototype.checkCompatibility=function(t,e){var i=t.attributes,n=e.attributeData;for(var r in n)if(!i[r])throw new Error('shader and geometry incompatible, geometry missing the "'+r+'" attribute')},t.prototype.getSignature=function(t,e){var i=t.attributes,n=e.attributeData,r=["g",t.id];for(var o in i)n[o]&&r.push(o);return r.join("-")},t.prototype.initGeometryVao=function(t,e){this.checkCompatibility(t,e);var i=this.gl,n=this.CONTEXT_UID,r=this.getSignature(t,e),o=t.glVertexArrayObjects[this.CONTEXT_UID],s=o[r];if(s)return o[e.id]=s;var a=t.buffers,l=t.attributes,h={},u={};for(var c in a)h[c]=0,u[c]=0;for(var d in l)!l[d].size&&e.attributeData[d]?l[d].size=e.attributeData[d].size:l[d].size,h[l[d].buffer]+=l[d].size*pr[l[d].type];for(var f in l){var p=l[f],v=p.size;void 0===p.stride&&(h[p.buffer]===v*pr[p.type]?p.stride=0:p.stride=h[p.buffer]),void 0===p.start&&(p.start=u[p.buffer],u[p.buffer]+=v*pr[p.type])}s=i.createVertexArray(),i.bindVertexArray(s);for(var m=0;m<a.length;m++){var g=a[m];g._glBuffers[n]||(g._glBuffers[n]=new hr(i.createBuffer()),(this.managedBuffers[g.id]=g).disposeRunner.add(this)),g._glBuffers[n].refCount++}return this.activateVao(t,e),this._activeVao=s,o[e.id]=s,o[r]=s},t.prototype.disposeBuffer=function(t,e){if(this.managedBuffers[t.id]){delete this.managedBuffers[t.id];var i=t._glBuffers[this.CONTEXT_UID],n=this.gl;
238t.disposeRunner.remove(this),i&&(e||n.deleteBuffer(i.buffer),delete t._glBuffers[this.CONTEXT_UID])}},t.prototype.disposeGeometry=function(t,e){if(this.managedGeometries[t.id]){delete this.managedGeometries[t.id];var i=t.glVertexArrayObjects[this.CONTEXT_UID],n=this.gl,r=t.buffers;if(t.disposeRunner.remove(this),i){for(var o=0;o<r.length;o++){var s=r[o]._glBuffers[this.CONTEXT_UID];s.refCount--,0!==s.refCount||e||this.disposeBuffer(r[o],e)}if(!e)for(var a in i)if("g"===a[0]){var l=i[a];this._activeVao===l&&this.unbind(),n.deleteVertexArray(l)}delete t.glVertexArrayObjects[this.CONTEXT_UID]}}},t.prototype.disposeAll=function(t){for(var e=Object.keys(this.managedGeometries),i=0;i<e.length;i++)this.disposeGeometry(this.managedGeometries[e[i]],t);e=Object.keys(this.managedBuffers);for(var n=0;n<e.length;n++)this.disposeBuffer(this.managedBuffers[e[n]],t)},t.prototype.activateVao=function(t,e){var i=this.gl,n=this.CONTEXT_UID,r=t.buffers,o=t.attributes;t.indexBuffer&&i.bindBuffer(i.ELEMENT_ARRAY_BUFFER,t.indexBuffer._glBuffers[n].buffer);var s=null;for(var a in o){var l=o[a],h=r[l.buffer]._glBuffers[n];if(e.attributeData[a]){s!==h&&(i.bindBuffer(i.ARRAY_BUFFER,h.buffer),s=h);var u=e.attributeData[a].location;if(i.enableVertexAttribArray(u),i.vertexAttribPointer(u,l.size,l.type||i.FLOAT,l.normalized,l.stride,l.start),l.instance){if(!this.hasInstance)throw new Error("geometry error, GPU Instancing is not supported on this device");i.vertexAttribDivisor(u,1)}}}},t.prototype.draw=function(t,e,i,n){var r=this.gl,o=this._activeGeometry;if(o.indexBuffer){var s=o.indexBuffer.data.BYTES_PER_ELEMENT,a=2===s?r.UNSIGNED_SHORT:r.UNSIGNED_INT;(2===s||4===s&&this.canUseUInt32ElementIndex)&&(o.instanced?r.drawElementsInstanced(t,e||o.indexBuffer.data.length,a,(i||0)*s,n||1):r.drawElements(t,e||o.indexBuffer.data.length,a,(i||0)*s))}else o.instanced?r.drawArraysInstanced(t,i,e||o.getSize(),n||1):r.drawArrays(t,i,e||o.getSize());return this},t.prototype.unbind=function(){this.gl.bindVertexArray(null),this._activeVao=null,this._activeGeometry=null},t}(Dn);function mr(t,e,i,n){var r=gr(t,t.VERTEX_SHADER,e),o=gr(t,t.FRAGMENT_SHADER,i),s=t.createProgram();if(t.attachShader(s,r),t.attachShader(s,o),n)for(var a in n)t.bindAttribLocation(s,n[a],a);return t.linkProgram(s),t.getProgramParameter(s,t.LINK_STATUS)||(t.getProgramInfoLog(s),t.deleteProgram(s),s=null),t.deleteShader(r),t.deleteShader(o),s}function gr(t,e,i){var n=t.createShader(e);return t.shaderSource(n,i),t.compileShader(n),t.getShaderParameter(n,t.COMPILE_STATUS)?n:null}function yr(t,e){switch(t){case"float":return 0;case"vec2":return new Float32Array(2*e);case"vec3":return new Float32Array(3*e);case"vec4":return new Float32Array(4*e);case"int":case"sampler2D":case"sampler2DArray":return 0;case"ivec2":return new Int32Array(2*e);case"ivec3":return new Int32Array(3*e);case"ivec4":return new Int32Array(4*e);case"bool":return!1;case"bvec2":return _r(2*e);case"bvec3":return _r(3*e);case"bvec4":return _r(4*e);case"mat2":return new Float32Array([1,0,0,1]);case"mat3":return new Float32Array([1,0,0,0,1,0,0,0,1]);case"mat4":return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}return null}function _r(t){for(var e=new Array(t),i=0;i<e.length;i++)e[i]=!1;return e}ur.prototype.reset=function(){this.pooled&&(this.maskObject=null,this.type=Ee.NONE,this.autoDetect=!0),this._target=null},ur.prototype.copyCountersOrReset=function(t){t?(this._stencilCounter=t._stencilCounter,this._scissorCounter=t._scissorCounter,this._scissorRect=t._scissorRect):(this._stencilCounter=0,this._scissorCounter=0,this._scissorRect=null)};var xr,wr={},br=wr;function Tr(){if(br===wr||br&&br.isContextLost()){var t,e=document.createElement("canvas");yi.PREFER_ENV>=Zt.WEBGL2&&(t=e.getContext("webgl2",{})),t||((t=e.getContext("webgl",{})||e.getContext("experimental-webgl",{}))?t.getExtension("WEBGL_draw_buffers"):t=null),br=t}return br}function Er(t,e,i){if("precision"===t.substring(0,9))return i!==be.HIGH&&"precision highp"===t.substring(0,15)?t.replace("precision highp","precision mediump"):t;var n=e;return e===be.HIGH&&i!==be.HIGH&&(n=be.MEDIUM),"precision "+n+" float;\n"+t}var Sr={float:1,vec2:2,vec3:3,vec4:4,int:1,ivec2:2,ivec3:3,ivec4:4,bool:1,bvec2:2,bvec3:3,bvec4:4,mat2:4,mat3:9,mat4:16,sampler2D:1};var Or=null,Pr={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube",SAMPLER_2D_ARRAY:"sampler2DArray"};function Ar(t,e){if(!Or){var i=Object.keys(Pr);Or={};for(var n=0;n<i.length;++n){var r=i[n];Or[t[r]]=Pr[r]}}return Or[e]}var Cr={float:"\n    if(cv !== v)\n    {\n        cv.v = v;\n        gl.uniform1f(location, v)\n    }",vec2:"\n    if(cv[0] !== v[0] || cv[1] !== v[1])\n    {\n        cv[0] = v[0];\n        cv[1] = v[1];\n        gl.uniform2f(location, v[0], v[1])\n    }",vec3:"\n    if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2])\n    {\n        cv[0] = v[0];\n        cv[1] = v[1];\n        cv[2] = v[2];\n\n        gl.uniform3f(location, v[0], v[1], v[2])\n    }",vec4:"gl.uniform4f(location, v[0], v[1], v[2], v[3])",int:"gl.uniform1i(location, v)",ivec2:"gl.uniform2i(location, v[0], v[1])",ivec3:"gl.uniform3i(location, v[0], v[1], v[2])",ivec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",bool:"gl.uniform1i(location, v)",bvec2:"gl.uniform2i(location, v[0], v[1])",bvec3:"gl.uniform3i(location, v[0], v[1], v[2])",bvec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",mat2:"gl.uniformMatrix2fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",sampler2D:"gl.uniform1i(location, v)",samplerCube:"gl.uniform1i(location, v)",sampler2DArray:"gl.uniform1i(location, v)"},Ir={float:"gl.uniform1fv(location, v)",vec2:"gl.uniform2fv(location, v)",vec3:"gl.uniform3fv(location, v)",vec4:"gl.uniform4fv(location, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat2:"gl.uniformMatrix2fv(location, false, v)",int:"gl.uniform1iv(location, v)",ivec2:"gl.uniform2iv(location, v)",ivec3:"gl.uniform3iv(location, v)",ivec4:"gl.uniform4iv(location, v)",bool:"gl.uniform1iv(location, v)",bvec2:"gl.uniform2iv(location, v)",bvec3:"gl.uniform3iv(location, v)",bvec4:"gl.uniform4iv(location, v)",sampler2D:"gl.uniform1iv(location, v)",samplerCube:"gl.uniform1iv(location, v)",sampler2DArray:"gl.uniform1iv(location, v)"};var Mr,kr=["precision mediump float;","void main(void){","float test = 0.1;","%forloop%","gl_FragColor = vec4(0.0);","}"].join("\n");function Rr(t){for(var e="",i=0;i<t;++i)0<i&&(e+="\nelse "),i<t-1&&(e+="if(test == "+i+".0){}");return e}function Lr(t,e,i){void 0===i&&(i="pixi-shader"),this.id=Dr++,this.vertexSrc=t||Lr.defaultVertexSrc,this.fragmentSrc=e||Lr.defaultFragmentSrc,this.vertexSrc=this.vertexSrc.trim(),this.fragmentSrc=this.fragmentSrc.trim(),"#version"!==this.vertexSrc.substring(0,8)&&(i=i.replace(/\s+/g,"-"),Nr[i]?(Nr[i]++,i+="-"+Nr[i]):Nr[i]=1,this.vertexSrc="#define SHADER_NAME "+i+"\n"+this.vertexSrc,this.fragmentSrc="#define SHADER_NAME "+i+"\n"+this.fragmentSrc,this.vertexSrc=Er(this.vertexSrc,yi.PRECISION_VERTEX,be.HIGH),this.fragmentSrc=Er(this.fragmentSrc,yi.PRECISION_FRAGMENT,function(){if(!xr){xr=be.MEDIUM;var t=Tr();if(t&&t.getShaderPrecisionFormat){var e=t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.HIGH_FLOAT);xr=e.precision?be.HIGH:be.MEDIUM}}return xr}())),this.extractData(this.vertexSrc,this.fragmentSrc),this.glPrograms={},this.syncUniforms=null}var Dr=0,Nr={},Fr={defaultVertexSrc:{configurable:!0},defaultFragmentSrc:{configurable:!0}};Lr.prototype.extractData=function(t,e){var i=Tr();if(i){var n=mr(i,t,e);this.attributeData=this.getAttributeData(n,i),this.uniformData=this.getUniformData(n,i),i.deleteProgram(n)}else this.uniformData={},this.attributeData={}},Lr.prototype.getAttributeData=function(t,e){for(var i,n={},r=[],o=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES),s=0;s<o;s++){var a=e.getActiveAttrib(t,s),l=Ar(e,a.type),h={type:l,name:a.name,size:(i=l,Sr[i]),location:0};n[a.name]=h,r.push(h)}r.sort(function(t,e){return t.name>e.name?1:-1});for(var u=0;u<r.length;u++)r[u].location=u;return n},Lr.prototype.getUniformData=function(t,e){for(var i={},n=e.getProgramParameter(t,e.ACTIVE_UNIFORMS),r=0;r<n;r++){var o=e.getActiveUniform(t,r),s=o.name.replace(/\[.*?\]/,""),a=o.name.match(/\[.*?\]/,""),l=Ar(e,o.type);i[s]={type:l,size:o.size,isArray:a,value:yr(l,o.size)}}return i},Fr.defaultVertexSrc.get=function(){return"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void){\n   gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
238)).xy, 0.0, 1.0);\n   vTextureCoord = aTextureCoord;\n}\n"},Fr.defaultFragmentSrc.get=function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n   gl_FragColor *= texture2D(uSampler, vTextureCoord);\n}"},Lr.from=function(t,e,i){var n=t+e,r=tn[n];return r||(tn[n]=r=new Lr(t,e,i)),r},Object.defineProperties(Lr,Fr);function Br(t,e){for(var i in this.program=t,this.uniformGroup=e?e instanceof er?e:new er(e):new er({}),t.uniformData)this.uniformGroup.uniforms[i]instanceof Array&&(this.uniformGroup.uniforms[i]=new Float32Array(this.uniformGroup.uniforms[i]))}var Ur={uniforms:{configurable:!0}};Br.prototype.checkUniformExists=function(t,e){if(e.uniforms[t])return!0;for(var i in e.uniforms){var n=e.uniforms[i];if(n.group&&this.checkUniformExists(t,n))return!0}return!1},Br.prototype.destroy=function(){this.uniformGroup=null},Ur.uniforms.get=function(){return this.uniformGroup.uniforms},Br.from=function(t,e,i){var n=Lr.from(t,e);return new Br(n,i)},Object.defineProperties(Br.prototype,Ur);function jr(){this.data=0,this.blendMode=te.NORMAL,this.polygonOffset=0,this.blend=!0}var Xr={blend:{configurable:!0},offsets:{configurable:!0},culling:{configurable:!0},depthTest:{configurable:!0},clockwiseFrontFace:{configurable:!0},blendMode:{configurable:!0},polygonOffset:{configurable:!0}};Xr.blend.get=function(){return!!(1&this.data)},Xr.blend.set=function(t){!!(1&this.data)!==t&&(this.data^=1)},Xr.offsets.get=function(){return!!(2&this.data)},Xr.offsets.set=function(t){!!(2&this.data)!==t&&(this.data^=2)},Xr.culling.get=function(){return!!(4&this.data)},Xr.culling.set=function(t){!!(4&this.data)!==t&&(this.data^=4)},Xr.depthTest.get=function(){return!!(8&this.data)},Xr.depthTest.set=function(t){!!(8&this.data)!==t&&(this.data^=8)},Xr.clockwiseFrontFace.get=function(){return!!(16&this.data)},Xr.clockwiseFrontFace.set=function(t){!!(16&this.data)!==t&&(this.data^=16)},Xr.blendMode.get=function(){return this._blendMode},Xr.blendMode.set=function(t){this.blend=t!==te.NONE,this._blendMode=t},Xr.polygonOffset.get=function(){return this._polygonOffset},Xr.polygonOffset.set=function(t){this.offsets=!!t,this._polygonOffset=t},jr.for2d=function(){var t=new jr;return t.depthTest=!1,t.blend=!0,t},Object.defineProperties(jr.prototype,Xr);var zr=function(r){function o(t,e,i){var n=Lr.from(t||o.defaultVertexSrc,e||o.defaultFragmentSrc);r.call(this,n,i),this.padding=0,this.resolution=yi.FILTER_RESOLUTION,this.enabled=!0,this.autoFit=!0,this.legacy=!!this.program.attributeData.aTextureCoord,this.state=new jr}r&&(o.__proto__=r);var t={blendMode:{configurable:!0}},e={defaultVertexSrc:{configurable:!0},defaultFragmentSrc:{configurable:!0}};return((o.prototype=Object.create(r&&r.prototype)).constructor=o).prototype.apply=function(t,e,i,n,r){t.applyFilter(this,e,i,n,r)},t.blendMode.get=function(){return this.state.blendMode},t.blendMode.set=function(t){this.state.blendMode=t},e.defaultVertexSrc.get=function(){return"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n    vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n    return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n    return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n    gl_Position = filterVertexPosition();\n    vTextureCoord = filterTextureCoord();\n}\n"},e.defaultFragmentSrc.get=function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n   gl_FragColor = texture2D(uSampler, vTextureCoord);\n}\n"},Object.defineProperties(o.prototype,t),Object.defineProperties(o,e),o}(Br);zr.SOURCE_KEY_MAP={};function Wr(t,e){this._texture=t,this.mapCoord=new He,this.uClampFrame=new Float32Array(4),this.uClampOffset=new Float32Array(2),this._updateID=-1,this.clampOffset=0,this.clampMargin=void 0===e?.5:e,this.isSimple=!1}var Hr=new He,Gr={texture:{configurable:!0}};Gr.texture.get=function(){return this._texture},Gr.texture.set=function(t){this._texture=t,this._updateID=-1},Wr.prototype.multiplyUvs=function(t,e){void 0===e&&(e=t);for(var i=this.mapCoord,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[n]=r*i.a+o*i.c+i.tx,e[n+1]=r*i.b+o*i.d+i.ty}return e},Wr.prototype.update=function(t){var e=this._texture;if(!e||!e.valid)return!1;if(!t&&this._updateID===e._updateID)return!1;this._updateID=e._updateID;var i=e._uvs;this.mapCoord.set(i.x1-i.x0,i.y1-i.y0,i.x3-i.x0,i.y3-i.y0,i.x0,i.y0);var n=e.orig,r=e.trim;r&&(Hr.set(n.width/r.width,0,0,n.height/r.height,-r.x/r.width,-r.y/r.height),this.mapCoord.append(Hr));var o=e.baseTexture,s=this.uClampFrame,a=this.clampMargin/o.resolution,l=this.clampOffset;return s[0]=(e._frame.x+a+l)/o.width,s[1]=(e._frame.y+a+l)/o.height,s[2]=(e._frame.x+e._frame.width-a+l)/o.width,s[3]=(e._frame.y+e._frame.height-a+l)/o.height,this.uClampOffset[0]=l/o.realWidth,this.uClampOffset[1]=l/o.realHeight,this.isSimple=e._frame.width===o.width&&e._frame.height===o.height&&0===e.rotate,!0},Object.defineProperties(Wr.prototype,Gr);function Vr(t,e){this.program=t,this.uniformData=e,this.uniformGroups={}}var Yr=function(i){function t(t){var e=new He;i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
238)).xy, 0.0, 1.0);\n\n    vTextureCoord = aTextureCoord;\n    vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0)  ).xy;\n}\n","varying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform float npmAlpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n    float clip = step(3.5,\n        step(maskClamp.x, vMaskCoord.x) +\n        step(maskClamp.y, vMaskCoord.y) +\n        step(vMaskCoord.x, maskClamp.z) +\n        step(vMaskCoord.y, maskClamp.w));\n\n    vec4 original = texture2D(uSampler, vTextureCoord);\n    vec4 masky = texture2D(mask, vMaskCoord);\n    float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a);\n\n    original *= (alphaMul * masky.r * alpha * clip);\n\n    gl_FragColor = original;\n}\n"),t.renderable=!1,this.maskSprite=t,this.maskMatrix=e}return i&&(t.__proto__=i),((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,i,n){var r=this.maskSprite,o=this.maskSprite.texture;o.valid&&(o.transform||(o.transform=new Wr(o,0)),o.transform.update(),this.uniforms.npmAlpha=o.baseTexture.alphaMode?0:1,this.uniforms.mask=o,this.uniforms.otherMatrix=t.calculateSpriteMatrix(this.maskMatrix,r).prepend(o.transform.mapCoord),this.uniforms.alpha=r.worldAlpha,this.uniforms.maskClamp=o.transform.uClampFrame,t.applyFilter(this,e,i,n))},t}(zr),qr=function(e){function t(t){e.call(this,t),this.scissorRenderTarget=null,this.enableScissor=!1,this.alphaMaskPool=[],this.maskDataPool=[],this.maskStack=[],this.alphaMaskIndex=0}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.setMaskStack=function(t){this.maskStack=t,this.renderer.scissor.setMaskStack(t),this.renderer.stencil.setMaskStack(t)},t.prototype.push=function(t,e){if(!e.isMaskData){var i=this.maskDataPool.pop()||new ur;i.pooled=!0,i.maskObject=e,e=i}switch(e.autoDetect&&this.detect(e),e.copyCountersOrReset(this.maskStack[this.maskStack.length-1]),e._target=t,e.type){case Ee.SCISSOR:this.maskStack.push(e),this.renderer.scissor.push(e);break;case Ee.STENCIL:this.maskStack.push(e),this.renderer.stencil.push(e);break;case Ee.SPRITE:e.copyCountersOrReset(null),this.pushSpriteMask(e),this.maskStack.push(e)}},t.prototype.pop=function(t){var e=this.maskStack.pop();if(e&&e._target===t){switch(e.type){case Ee.SCISSOR:this.renderer.scissor.pop();break;case Ee.STENCIL:this.renderer.stencil.pop(e.maskObject);break;case Ee.SPRITE:this.popSpriteMask()}e.reset(),e.pooled&&this.maskDataPool.push(e)}},t.prototype.detect=function(t){var e=t.maskObject;if(e.isSprite)t.type=Ee.SPRITE;else if(t.type=Ee.STENCIL,this.enableScissor&&e.isFastRect&&e.isFastRect()){var i=e.worldTransform,n=Math.atan2(i.b,i.a),r=Math.atan2(i.d,i.c);n=Math.round(n*(180/Math.PI)*100),r=((r=Math.round(r*(180/Math.PI)*100)-n)%18e3+18e3)%18e3,0===(n=(n%9e3+9e3)%9e3)&&9e3===r&&(t.type=Ee.SCISSOR)}},t.prototype.pushSpriteMask=function(t){var e=t.maskObject,i=t._target,n=this.alphaMaskPool[this.alphaMaskIndex];(n=n||(this.alphaMaskPool[this.alphaMaskIndex]=[new Yr(e)]))[0].resolution=this.renderer.resolution,n[0].maskSprite=e;var r=i.filterArea;i.filterArea=e.getBounds(!0),this.renderer.filter.push(i,n),i.filterArea=r,this.alphaMaskIndex++},t.prototype.popSpriteMask=function(){this.renderer.filter.pop(),this.alphaMaskIndex--},t}(Dn),Kr=function(e){function t(t){e.call(this,t),this.maskStack=[],this.glConst=0}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.getStackLength=function(){return this.maskStack.length},t.prototype.setMaskStack=function(t){var e=this.renderer.gl,i=this.getStackLength();this.maskStack=t;var n=this.getStackLength();n!==i&&(0===n?e.disable(this.glConst):(e.enable(this.glConst),this._useCurrent()))},t.prototype._useCurrent=function(){},t.prototype.destroy=function(){e.prototype.destroy.call(this,this),this.maskStack=null},t}(Dn),Zr=function(e){function t(t){e.call(this,t),this.glConst=WebGLRenderingContext.SCISSOR_TEST}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.getStackLength=function(){var t=this.maskStack[this.maskStack.length-1];return t?t._scissorCounter:0},t.prototype.push=function(t){var e=t.maskObject;e.renderable=!0;var i=t._scissorRect,n=e.getBounds(!0),r=this.renderer.gl;e.renderable=!1,i?n.fit(i):r.enable(r.SCISSOR_TEST),t._scissorCounter++,t._scissorRect=n,this._useCurrent()},t.prototype.pop=function(){var t=this.renderer.gl;0<this.getStackLength()?this._useCurrent():t.disable(t.SCISSOR_TEST)},t.prototype._useCurrent=function(){var t=this.maskStack[this.maskStack.length-1]._scissorRect,e=this.renderer.renderTexture.current,i=this.renderer.projection,n=i.transform,r=i.sourceFrame,o=i.destinationFrame,s=e?e.resolution:this.renderer.resolution,a=(t.x-r.x)*s+o.x,l=(t.y-r.y
238)*s+o.y,h=t.width*s,u=t.height*s;n&&(a+=n.tx*s,l+=n.ty*s),e||(l=this.renderer.height-u-l),this.renderer.gl.scissor(a,l,h,u)},t}(Kr),Qr=function(e){function t(t){e.call(this,t),this.glConst=WebGLRenderingContext.STENCIL_TEST}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.getStackLength=function(){var t=this.maskStack[this.maskStack.length-1];return t?t._stencilCounter:0},t.prototype.push=function(t){var e=t.maskObject,i=this.renderer.gl,n=t._stencilCounter;0===n&&(this.renderer.framebuffer.forceStencil(),i.enable(i.STENCIL_TEST)),t._stencilCounter++,i.colorMask(!1,!1,!1,!1),i.stencilFunc(i.EQUAL,n,this._getBitwiseMask()),i.stencilOp(i.KEEP,i.KEEP,i.INCR),e.renderable=!0,e.render(this.renderer),this.renderer.batch.flush(),e.renderable=!1,this._useCurrent()},t.prototype.pop=function(t){var e=this.renderer.gl;0===this.getStackLength()?(e.disable(e.STENCIL_TEST),e.clear(e.STENCIL_BUFFER_BIT),e.clearStencil(0)):(e.colorMask(!1,!1,!1,!1),e.stencilOp(e.KEEP,e.KEEP,e.DECR),t.renderable=!0,t.render(this.renderer),this.renderer.batch.flush(),t.renderable=!1,this._useCurrent())},t.prototype._useCurrent=function(){var t=this.renderer.gl;t.colorMask(!0,!0,!0,!0),t.stencilFunc(t.EQUAL,this.getStackLength(),this._getBitwiseMask()),t.stencilOp(t.KEEP,t.KEEP,t.KEEP)},t.prototype._getBitwiseMask=function(){return(1<<this.getStackLength())-1},t}(Kr),Jr=function(e){function t(t){e.call(this,t),this.destinationFrame=null,this.sourceFrame=null,this.defaultFrame=null,this.projectionMatrix=new He,this.transform=null}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.update=function(t,e,i,n){this.destinationFrame=t||this.destinationFrame||this.defaultFrame,this.sourceFrame=e||this.sourceFrame||t,this.calculateProjection(this.destinationFrame,this.sourceFrame,i,n),this.transform&&this.projectionMatrix.append(this.transform);var r=this.renderer;r.globalUniforms.uniforms.projectionMatrix=this.projectionMatrix,r.globalUniforms.update(),r.shader.shader&&r.shader.syncUniformGroup(r.shader.shader.uniforms.globals)},t.prototype.calculateProjection=function(t,e,i,n){var r=this.projectionMatrix;n?(r.a=1/t.width*2*i,r.d=-1/t.height*2*i,r.tx=-1-e.x*r.a,r.ty=1-e.y*r.d):(r.a=1/t.width*2*i,r.d=1/t.height*2*i,r.tx=-1-e.x*r.a,r.ty=-1-e.y*r.d)},t.prototype.setTransform=function(){},t}(Dn),$r=new ii,to=function(e){function t(t){e.call(this,t),this.clearColor=t._backgroundColorRgba,this.defaultMaskStack=[],this.current=null,this.sourceFrame=new ii,this.destinationFrame=new ii}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.bind=function(t,e,i){void 0===t&&(t=null),this.current=t;var n,r=this.renderer;if(t){var o=t.baseTexture;n=o.resolution,i||($r.width=o.realWidth,$r.height=o.realHeight,i=$r),e=e||i,this.renderer.framebuffer.bind(o.framebuffer,i),this.renderer.projection.update(i,e,n,!1),this.renderer.mask.setMaskStack(o.maskStack)}else n=this.renderer.resolution,i||($r.width=r.width,$r.height=r.height,i=$r),e=e||i,r.framebuffer.bind(null,i),this.renderer.projection.update(i,e,n,!0),this.renderer.mask.setMaskStack(this.defaultMaskStack);this.sourceFrame.copyFrom(e),this.destinationFrame.x=i.x/n,this.destinationFrame.y=i.y/n,this.destinationFrame.width=i.width/n,this.destinationFrame.height=i.height/n,e===i&&this.sourceFrame.copyFrom(this.destinationFrame)},t.prototype.clear=function(t){t=this.current?t||this.current.baseTexture.clearColor:t||this.clearColor,this.renderer.framebuffer.clear(t[0],t[1],t[2],t[3])},t.prototype.resize=function(){this.bind(null)},t.prototype.reset=function(){this.bind(null)},t}(Dn);Vr.prototype.destroy=function(){this.uniformData=null,this.uniformGroups=null,this.program=null};var eo=0,io=function(e){function t(t){e.call(this,t),this.systemCheck(),this.gl=null,this.shader=null,this.program=null,this.cache={},this.id=eo++}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.systemCheck=function(){if(!function(){if("boolean"==typeof Mr)return Mr;try{var t=new Function("param1","param2","param3","return param1[param2] === param3;");Mr=!0===t({a:"b"},"a","b")}catch(t){Mr=!1}return Mr}())throw new Error("Current environment does not allow unsafe-eval, please use @pixi/unsafe-eval module to enable support.")},t.prototype.contextChange=function(t){this.gl=t,this.reset()},t.prototype.bind=function(t,e){t.uniforms.globals=this.renderer.globalUniforms;var i=t.program,n=i.glPrograms[this.renderer.CONTEXT_UID]||this.generateShader(t);return this.shader=t,this.program!==i&&(this.program=i,this.gl.useProgram(n.program)),e||this.syncUniformGroup(t.uniformGroup),n},t.prototype.setUniforms=function(t){var e=this.shader.program,i=e.glPrograms[this.renderer.CONTEXT_UID];e.syncUniforms(i.uniformData,t,this.renderer)},t.prototype.syncUniformGroup=function(t){var e=this.getglProgram();t.static&&t.dirtyId===e.uniformGroups[t.id]||(e.uniformGroups[t.id]=t.dirtyId,this.syncUniforms(t,e))},t.prototype.syncUniforms=function(t,e){(t.syncUniforms[this.shader.program.id]||this.createSyncGroups(t))(e.uniformData,t.uniforms,this.renderer)},t.prototype.createSyncGroups=function(t){var e=this.getSignature(t,this.shader.program.uniformData);return this.cache[e]||(this.cache[e]=function(t,e){var i=0,n="var v = null;\n    var cv = null\n    var gl = renderer.gl";for(var r in t.uniforms){var o=e[r];if(o)if("float"===o.type&&1===o.size)n+="\n            if(uv."+r+" !== ud."+r+".value)\n            {\n                ud."+r+".value = uv."+r+"\n                gl.uniform1f(ud."+r+".location, uv."+r+")\n            }\n";else if("sampler2D"!==o.type&&"samplerCube"!==o.type&&"sampler2DArray"!==o.type||1!==o.size||o.isArray)if("mat3"===o.type&&1===o.size)void 0!==t.uniforms[r].a?n+="\n                gl.uniformMatrix3fv(ud."+r+".location, false, uv."+r+".toArray(true));\n                \n":n+="\n                gl.uniformMatrix3fv(ud."+r+".location, false, uv."+r+");\n                \n";else if("vec2"===o.type&&1===o.size)void 0!==t.uniforms[r].x?n+="\n                cv = ud."+r+".value;\n                v = uv."+r+";\n\n                if(cv[0] !== v.x || cv[1] !== v.y)\n                {\n                    cv[0] = v.x;\n                    cv[1] = v.y;\n                    gl.uniform2f(ud."+r+".location, v.x, v.y);\n                }\n":n+="\n                cv = ud."+r+".value;\n                v = uv."+r+";\n\n                if(cv[0] !== v[0] || cv[1] !== v[1])\n                {\n                    cv[0] = v[0];\n                    cv[1] = v[1];\n                    gl.uniform2f(ud."+r+".location, v[0], v[1]);\n                }\n                \n";else if("vec4"===o.type&&1===o.size)void 0!==t.uniforms[r].width?n+="\n                cv = ud."+r+".value;\n                v = uv."+r+";\n\n                if(cv[0] !== v.x || cv[1] !== v.y || cv[2] !== v.width || cv[3] !== v.height)\n                {\n                    cv[0] = v.x;\n                    cv[1] = v.y;\n                    cv[2] = v.width;\n                    cv[3] = v.height;\n                    gl.uniform4f(ud."+r+".location, v.x, v.y, v.width, v.height)\n                }\n":n+="\n                cv = ud."+r+".value;\n                v = uv."+r+";\n\n                if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2] || cv[3] !== v[3])\n                {\n                    cv[0] = v[0];\n                    cv[1] = v[1];\n                    cv[2] = v[2];\n                    cv[3] = v[3];\n\n                    gl.uniform4f(ud."+r+".location, v[0], v[1], v[2], v[3])\n                }\n                \n";else{n+="\n            cv = ud."+r+".value;\n            v = uv."+r+";\n            "+(1===o.size?Cr:Ir)[o.type].replace("location","ud."+r+".location")+";\n"}else n+="\n            renderer.texture.bind(uv."+r+", "+i+");\n\n            if(ud."+r+".value !== "+i+")\n            {\n                ud."+r+".value = "+i+";\n                gl.uniform1i(ud."+r+".location, "+i+");\n; // eslint-disable-line max-len\n            }\n",i++;else t.uniforms[r].group&&(n+="\n                    renderer.shader.syncUniformGroup(uv."+r+");\n                ")}return new Function("ud","uv","renderer",n)}(t,this.shader.program.uniformData)),t.syncUniforms[this.shader.program.id]=this.cache[e],t.syncUniforms[this.shader.program.id]},t.prototype.getSignature=function(t,e){var i=t.uniforms,n=[];for(var r in i)n.push(r),e[r]&&n.push(e[r].type);return n.join("-")},t.prototype.getglProgram=function(){return this.shader?this.shader.program.glPrograms[this.renderer.CONTEXT_UID]:null},t.prototype.generateShader=function(t){var e=this.gl,i=t.program,n={};for(var r in i.attributeData)n[r]=i.attributeData[r].location;var o=mr(e,i.vertexSrc,i.fragmentSrc,n),s={};for(var a in i.uniformData){var l=i.uniformData[a];s[a]={location:e.getUniformLocation(o,a),value:yr(l.type,l.size)}}var h=new Vr(o,s);return i.glPrograms[this.renderer.CONTEXT_UID]=h},t.prototype.reset=function(){this.program=null,this.shader=null},t.prototype.destroy=function(){this.destroyed=!0},t}(Dn);function no(t){this.texture=t,this.width=-1,this.height=-1,this.dirtyId=-1,this.dirtyStyleId=-1,this.mipmap=!1,this.wrapMode=33071,this.type=6408,this.internalFormat=5121}var ro=function(e){function i(t){e.call(this,t),this.gl=null,this.stateId=0,this.polygonOffset=0,this.blendMode=te.NONE,this._blendEq=!1,this.map=[],this.map[0]=this.setBlend,this.map[1]=this.setOffset,this.map[2]=this.setCullFace,this.map[3]=this.setDepthTest,this.map[4]=this.setFrontFace,this.checks=[],this.defaultState=new jr,this.defaultState.blend=!0,this.defaultState.depth=!0}return e&&(i.__proto__=e),((i.prototype=Object.create(e&&e.prototype)).constructor=i).prototype.contextChange=function(t){this.gl=t,this.blendModes=function(t,e){return void 0===e&&(e=[]),e[te.NORMAL]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.ADD]=[t.ONE,t.ONE],e[te.MULTIPLY]=[t.DST_COLOR,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.SCREEN]=[t.ONE,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.OVERLAY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.DARKEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.LIGHTEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.COLOR_DODGE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.COLOR_BURN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.HARD_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.SOFT_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.DIFFERENCE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.EXCLUSION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.HUE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.SATURATION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.COLOR]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.LUMINOSITY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.NONE]=[0,0],e[te.NORMAL_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.ADD_NPM]=[t.SRC_ALPHA,t.ONE,t.ONE,t.ONE],e[te.SCREEN_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[te.SRC_IN]=[t.DST_ALPHA,t.ZERO],e[te.SRC_OUT]=[t.ONE_MINUS_DST_ALPHA,t.ZERO],e[te.SRC_ATOP]=[t.DST_ALPHA,t.ONE_MINUS_SRC_ALPHA],e[te.DST_OVER]=[t.ONE_MINUS_DST_ALPHA,t.ONE],e[te.DST_IN]=[t.ZERO,t.SRC_ALPHA],e[te.DST_OUT]=[t.ZERO,t.ONE_MINUS_SRC_ALPHA],e[te.DST_ATOP]=[t.ONE_MINUS_DST_ALPHA,t.SRC_ALPHA],e[te.XOR]=[t.ONE_MINUS_DST_ALPHA,t.ONE_MINUS_SRC_ALPHA],e[te.SUBTRACT]=[t.ONE,t.ONE,t.ONE,t.ONE,t.FUNC_REVERSE_SUBTRACT,t.FUNC_ADD],e}(t),this.set(this.defaultState),this.reset()},i.prototype.set=function(t){if(t=t||this.defaultState,this.stateId!==t.data){for(var e=this.stateId^t.data,i=0;e;)1&e&&this.map[i].call(this,!!(t.data&1<<i)),e>>=1,i++;this.stateId=t.data}for(var n=0;n<this.checks.length;n++)this.checks[n](this,t)},i.prototype.forceState=function(t){t=t||this.defaultState;for(var e=0;e<this.map.length;e++)this.map[e].call(this,!!(t.data&1<<e));for(var i=0;i<this.checks.length;i++)this.checks[i](this,t);this.stateId=t.data},i.prototype.setBlend=function(t){this.updateCheck(i.checkBlendMode,t),this.gl[t?"enable":"disable"](this.gl.BLEND)},i.prototype.setOffset=function(t){this.updateCheck(i.checkPolygonOffset,t),this.gl[t?"enable":"disable"](this.gl.POLYGON_OFFSET_FILL)},i.prototype.setDepthTest=function(t){this.gl[t?"enable":"disable"](this.gl.DEPTH_TEST)},i.prototype.setCullFace=function(t){this.gl[t?"enable":"disable"](this.gl.CULL_FACE)},i.prototype.setFrontFace=function(t){this.gl.frontFace(this.gl[t?"CW":"CCW"])},i.prototype.setBlendMode=function(t){if(t!==this.blendMode){this.blendMode=t;var e=this.blendModes[t],i=this.gl;
2382===e.length?i.blendFunc(e[0],e[1]):i.blendFuncSeparate(e[0],e[1],e[2],e[3]),6===e.length?(this._blendEq=!0,i.blendEquationSeparate(e[4],e[5])):this._blendEq&&(this._blendEq=!1,i.blendEquationSeparate(i.FUNC_ADD,i.FUNC_ADD))}},i.prototype.setPolygonOffset=function(t,e){this.gl.polygonOffset(t,e)},i.prototype.reset=function(){this.gl.pixelStorei(this.gl.UNPACK_FLIP_Y_WEBGL,!1),this.forceState(0),this._blendEq=!0,this.blendMode=-1,this.setBlendMode(0)},i.prototype.updateCheck=function(t,e){var i=this.checks.indexOf(t);e&&-1===i?this.checks.push(t):e||-1===i||this.checks.splice(i,1)},i.checkBlendMode=function(t,e){t.setBlendMode(e.blendMode)},i.checkPolygonOffset=function(t,e){t.setPolygonOffset(e.polygonOffset,0)},i}(Dn),oo=function(e){function t(t){e.call(this,t),this.count=0,this.checkCount=0,this.maxIdle=yi.GC_MAX_IDLE,this.checkCountMax=yi.GC_MAX_CHECK_COUNT,this.mode=yi.GC_MODE}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.postrender=function(){this.renderer.renderingToScreen&&(this.count++,this.mode!==xe.MANUAL&&(this.checkCount++,this.checkCount>this.checkCountMax&&(this.checkCount=0,this.run())))},t.prototype.run=function(){for(var t=this.renderer.texture,e=t.managedTextures,i=!1,n=0;n<e.length;n++){var r=e[n];!r.framebuffer&&this.count-r.touched>
238this.maxIdle&&(t.destroyTexture(r,!0),i=!(e[n]=null))}if(i){for(var o=0,s=0;s<e.length;s++)null!==e[s]&&(e[o++]=e[s]);e.length=o}},t.prototype.unload=function(t){var e=this.renderer.textureSystem;t._texture&&t._texture._glRenderTargets&&e.destroyTexture(t._texture);for(var i=t.children.length-1;0<=i;i--)this.unload(t.children[i])},t}(Dn),so=function(e){function t(t){e.call(this,t),this.boundTextures=[],this.currentLocation=-1,this.managedTextures=[],this._unknownBoundTextures=!1,this.unknownTexture=new An}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.contextChange=function(){var t=this.gl=this.renderer.gl;this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.webGLVersion=this.renderer.context.webGLVersion;var e=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);this.boundTextures.length=e;for(var i=0;i<e;i++)this.boundTextures[i]=null;this.emptyTextures={};var n=new no(t.createTexture());t.bindTexture(t.TEXTURE_2D,n.texture),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,new Uint8Array(4)),this.emptyTextures[t.TEXTURE_2D]=n,this.emptyTextures[t.TEXTURE_CUBE_MAP]=new no(t.createTexture()),t.bindTexture(t.TEXTURE_CUBE_MAP,this.emptyTextures[t.TEXTURE_CUBE_MAP].texture);for(var r=0;r<6;r++)t.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,null);t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MIN_FILTER,t.LINEAR);for(var o=0;o<this.boundTextures.length;o++)this.bind(null,o)},t.prototype.bind=function(t,e){void 0===e&&(e=0);var i=this.gl;if(t){if((t=t.baseTexture||t).valid){t.touched=this.renderer.textureGC.count;var n=t._glTextures[this.CONTEXT_UID]||this.initTexture(t);this.boundTextures[e]!==t&&(this.currentLocation!==e&&(this.currentLocation=e,i.activeTexture(i.TEXTURE0+e)),i.bindTexture(t.target,n.texture)),n.dirtyId!==t.dirtyId&&(this.currentLocation!==e&&(this.currentLocation=e,i.activeTexture(i.TEXTURE0+e)),this.updateTexture(t)),this.boundTextures[e]=t}}else this.currentLocation!==e&&(this.currentLocation=e,i.activeTexture(i.TEXTURE0+e)),i.bindTexture(i.TEXTURE_2D,this.emptyTextures[i.TEXTURE_2D].texture),this.boundTextures[e]=null},t.prototype.reset=function(){this._unknownBoundTextures=!0,this.currentLocation=-1;for(var t=0;t<this.boundTextures.length;t++)this.boundTextures[t]=this.unknownTexture},t.prototype.unbind=function(t){var e=this.gl,i=this.boundTextures;if(this._unknownBoundTextures){this._unknownBoundTextures=!1;for(var n=0;n<i.length;n++)i[n]===this.unknownTexture&&this.bind(null,n)}for(var r=0;r<i.length;r++)i[r]===t&&(this.currentLocation!==r&&(e.activeTexture(e.TEXTURE0+r),this.currentLocation=r),e.bindTexture(e.TEXTURE_2D,this.emptyTextures[t.target].texture),i[r]=null)},t.prototype.initTexture=function(t){var e=new no(this.gl.createTexture());return e.dirtyId=-1,t._glTextures[this.CONTEXT_UID]=e,this.managedTextures.push(t),t.on("dispose",this.destroyTexture,this),e},t.prototype.initTextureType=function(t,e){if(e.internalFormat=t.format,e.type=t.type,2===this.webGLVersion){var i=this.renderer.gl;t.type===i.FLOAT&&t.format===i.RGBA&&(e.internalFormat=i.RGBA32F),t.type===le.HALF_FLOAT&&(e.type=i.HALF_FLOAT),e.type===i.HALF_FLOAT&&t.format===i.RGBA&&(e.internalFormat=i.RGBA16F)}},t.prototype.updateTexture=function(t){var e=t._glTextures[this.CONTEXT_UID];if(e){var i=this.renderer;if(this.initTextureType(t,e),t.resource&&t.resource.upload(i,t,e));else{var n=t.realWidth,r=t.realHeight,o=i.gl;(e.width!==n||e.height!==r||e.dirtyId<0)&&(e.width=n,e.height=r,o.texImage2D(t.target,0,e.internalFormat,n,r,0,t.format,e.type,null))}t.dirtyStyleId!==e.dirtyStyleId&&this.updateTextureStyle(t),e.dirtyId=t.dirtyId}},t.prototype.destroyTexture=function(t,e){var i=this.gl;if((t=t.baseTexture||t)._glTextures[this.CONTEXT_UID]&&(this.unbind(t),i.deleteTexture(t._glTextures[this.CONTEXT_UID].texture),t.off("dispose",this.destroyTexture,this),delete t._glTextures[this.CONTEXT_UID],!e)){var n=this.managedTextures.indexOf(t);-1!==n&&Yi(this.managedTextures,n,1)}},t.prototype.updateTextureStyle=function(t){var e=t._glTextures[this.CONTEXT_UID];e&&(t.mipmap!==pe.POW2&&2===this.webGLVersion||t.isPowerOfTwo?e.mipmap=1<=t.mipmap:e.mipmap=0,2===this.webGLVersion||t.isPowerOfTwo?e.wrapMode=t.wrapMode:e.wrapMode=de.CLAMP,t.resource&&t.resource.style(this.renderer,t,e)||this.setStyle(t,e),e.dirtyStyleId=t.dirtyStyleId)},t.prototype.setStyle=function(t,e){var i=this.gl;if(e.mipmap&&i.generateMipmap(t.target),i.texParameteri(t.target,i.TEXTURE_WRAP_S,e.wrapMode),i.texParameteri(t.target,i.TEXTURE_WRAP_T,e.wrapMode),e.mipmap){i.texParameteri(t.target,i.TEXTURE_MIN_FILTER,t.scaleMode?i.LINEAR_MIPMAP_LINEAR:i.NEAREST_MIPMAP_NEAREST);var n=this.renderer.context.extensions.anisotropicFiltering;
238if(n&&0<t.anisotropicLevel&&t.scaleMode===ue.LINEAR){var r=Math.min(t.anisotropicLevel,i.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT));i.texParameterf(t.target,n.TEXTURE_MAX_ANISOTROPY_EXT,r)}}else i.texParameteri(t.target,i.TEXTURE_MIN_FILTER,t.scaleMode?i.LINEAR:i.NEAREST);i.texParameteri(t.target,i.TEXTURE_MAG_FILTER,t.scaleMode?i.LINEAR:i.NEAREST)},t}(Dn),ao=new He,lo=function(i){function n(t){void 0===t&&(t={}),i.call(this,"WebGL",t),t=this.options,this.type=Jt.WEBGL,this.gl=null,this.CONTEXT_UID=0,this.runners={destroy:new di("destroy"),contextChange:new di("contextChange",1),reset:new di("reset"),update:new di("update"),postrender:new di("postrender"),prerender:new di("prerender"),resize:new di("resize",2)},this.globalUniforms=new er({projectionMatrix:new He},!0),this.addSystem(qr,"mask").addSystem(dr,"context").addSystem(ro,"state").addSystem(io,"shader").addSystem(so,"texture").addSystem(vr,"geometry").addSystem(fr,"framebuffer").addSystem(Zr,"scissor").addSystem(Qr,"stencil").addSystem(Jr,"projection").addSystem(oo,"textureGC").addSystem(ar,"filter").addSystem(to,"renderTexture").addSystem(lr,"batch"),this.initPlugins(n.__plugins),t.context?this.context.initFromContext(t.context):this.context.initFromOptions({alpha:this.transparent,antialias:t.antialias,premultipliedAlpha:this.transparent&&"notMultiplied"!==this.transparent,stencil:!0,preserveDrawingBuffer:t.preserveDrawingBuffer,powerPreference:this.options.powerPreference}),this.renderingToScreen=!0,Di(2===this.context.webGLVersion?"WebGL 2":"WebGL 1"),this.resize(this.options.width,this.options.height)}return i&&(n.__proto__=i),((n.prototype=Object.create(i&&i.prototype)).constructor=n).create=function(t){if(Ni())return new n(t);throw new Error('WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support.')},n.prototype.addSystem=function(t,e){e=e||t.name;var i=new t(this);if(this[e])throw new Error('Whoops! The name "'+e+'" is already in use');for(var n in this[e]=i,this.runners)this.runners[n].add(i);return this},n.prototype.render=function(t,e,i,n,r){if(this.renderingToScreen=!e,this.runners.prerender.run(),this.emit("prerender"),this.projection.transform=n,!this.context.isLost){if(e||(this._lastObjectRendered=t),!r){var o=t.parent;t.parent=this._tempDisplayObjectParent,t.updateTransform(),t.parent=o}this.renderTexture.bind(e),this.batch.currentRenderer.start(),(void 0!==i?i:this.clearBeforeRender)&&this.renderTexture.clear(),t.render(this),this.batch.currentRenderer.flush(),e&&e.baseTexture.update(),this.runners.postrender.run(),this.projection.transform=null,this.emit("postrender")}},n.prototype.resize=function(t,e){i.prototype.resize.call(this,t,e),this.runners.resize.run(t,e)},n.prototype.reset=function(){return this.runners.reset.run(),this},n.prototype.clear=function(){this.framebuffer.bind(),this.framebuffer.clear()},n.prototype.destroy=function(t){for(var e in this.runners.destroy.run(),this.runners)this.runners[e].destroy();i.prototype.destroy.call(this,t),this.gl=null},n.registerPlugin=function(t,e){(n.__plugins=n.__plugins||{})[t]=e},n}(function(i){function t(t,e){i.call(this),(e=Object.assign({},yi.RENDER_OPTIONS,e)).roundPixels&&(yi.ROUND_PIXELS=e.roundPixels,vn(0,"Renderer roundPixels option is deprecated, please use PIXI.settings.ROUND_PIXELS",2)),this.options=e,this.type=Jt.UNKNOWN,this.screen=new ii(0,0,e.width,e.height),this.view=e.view||document.createElement("canvas"),this.resolution=e.resolution||yi.RESOLUTION,this.transparent=e.transparent,this.autoDensity=e.autoDensity||e.autoResize||!1,this.preserveDrawingBuffer=e.preserveDrawingBuffer,this.clearBeforeRender=e.clearBeforeRender,this._backgroundColor=0,this._backgroundColorRgba=[0,0,0,0],this._backgroundColorString="#000000",this.backgroundColor=e.backgroundColor||this._backgroundColor,this._tempDisplayObjectParent=new _n,this._lastObjectRendered=this._tempDisplayObjectParent,this.plugins={}}i&&(t.__proto__=i);var e={width:{configurable:!0},height:{configurable:!0},backgroundColor:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.initPlugins=function(t){for(var e in t)this.plugins[e]=new t[e](this)},e.width.get=function(){return this.view.width},e.height.get=function(){return this.view.height},t.prototype.resize=function(t,e){this.screen.width=t,this.screen.height=e,this.view.width=t*this.resolution,this.view.height=e*this.resolution,this.autoDensity&&(this.view.style.width=t+"px",this.view.style.height=e+"px")}
238,t.prototype.generateTexture=function(t,e,i,n){0===(n=n||t.getLocalBounds()).width&&(n.width=1),0===n.height&&(n.height=1);var r=Gn.create(0|n.width,0|n.height,e,i);return ao.tx=-n.x,ao.ty=-n.y,this.render(t,r,!1,ao,!!t.parent),r},t.prototype.destroy=function(t){for(var e in this.plugins)this.plugins[e].destroy(),this.plugins[e]=null;t&&this.view.parentNode&&this.view.parentNode.removeChild(this.view),this.plugins=null,this.type=Jt.UNKNOWN,this.view=null,this.screen=null,this.resolution=0,this.transparent=!1,this.autoDensity=!1,this.blendModes=null,this.options=null,this.preserveDrawingBuffer=!1,this.clearBeforeRender=!1,this._backgroundColor=0,this._backgroundColorRgba=null,this._backgroundColorString=null,this._tempDisplayObjectParent=null,this._lastObjectRendered=null},e.backgroundColor.get=function(){return this._backgroundColor},e.backgroundColor.set=function(t){this._backgroundColor=t,this._backgroundColorString=Bi(t),Fi(t,this._backgroundColorRgba)},Object.defineProperties(t.prototype,e),t}(Oi.a));function ho(){this.texArray=null,this.blend=0,this.type=ie.TRIANGLES,this.start=0,this.size=0,this.data=null}function uo(){this.elements=[],this.ids=[],this.count=0}uo.prototype.clear=function(){for(var t=0;t<this.count;t++)this.elements[t]=null;this.count=0};function co(t){this.rawBinaryData=new ArrayBuffer(t),this.uint32View=new Uint32Array(this.rawBinaryData),this.float32View=new Float32Array(this.rawBinaryData)}var fo={int8View:{configurable:!0},uint8View:{configurable:!0},int16View:{configurable:!0},uint16View:{configurable:!0},int32View:{configurable:!0}};fo.int8View.get=function(){return this._int8View||(this._int8View=new Int8Array(this.rawBinaryData)),this._int8View},fo.uint8View.get=function(){return this._uint8View||(this._uint8View=new Uint8Array(this.rawBinaryData)),this._uint8View},fo.int16View.get=function(){return this._int16View||(this._int16View=new Int16Array(this.rawBinaryData)),this._int16View},fo.uint16View.get=function(){return this._uint16View||(this._uint16View=new Uint16Array(this.rawBinaryData)),this._uint16View},fo.int32View.get=function(){return this._int32View||(this._int32View=new Int32Array(this.rawBinaryData)),this._int32View},co.prototype.view=function(t){return this[t+"View"]},co.prototype.destroy=function(){this.rawBinaryData=null,this._int8View=null,this._uint8View=null,this._int16View=null,this._uint16View=null,this._int32View=null,this.uint32View=null,this.float32View=null},co.sizeOf=function(t){switch(t){case"int8":case"uint8":return 1;case"int16":case"uint16":return 2;case"int32":case"uint32":case"float32":return 4;default:throw new Error(t+" isn't a valid view type")}},Object.defineProperties(co.prototype,fo);var po=function(e){function m(t){e.call(this,t),this.shaderGenerator=null,this.geometryClass=null,this.vertexSize=null,this.state=jr.for2d(),this.size=4*yi.SPRITE_BATCH_SIZE,this._vertexCount=0,this._indexCount=0,this._bufferedElements=[],this._bufferedTextures=[],this._bufferSize=0,this._shader=null,this._packedGeometries=[],this._packedGeometryPoolSize=2,this._flushId=0,this._aBuffers={},this._iBuffers={},this.MAX_TEXTURES=1,this.renderer.on("prerender",this.onPrerender,this),t.runners.contextChange.add(this),this._dcIndex=0,this._aIndex=0,this._iIndex=0,this._attributeBuffer=null,this._indexBuffer=null,this._tempBoundTextures=[]}return e&&(m.__proto__=e),((m.prototype=Object.create(e&&e.prototype)).constructor=m).prototype.contextChange=function(){var t=this.renderer.gl;yi.PREFER_ENV===Zt.WEBGL_LEGACY?this.MAX_TEXTURES=1:(this.MAX_TEXTURES=Math.min(t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS),yi.SPRITE_MAX_TEXTURES),this.MAX_TEXTURES=function(t,e){if(0===t)throw new Error("Invalid value of `0` passed to `checkMaxIfStatementsInShader`");for(var i=e.createShader(e.FRAGMENT_SHADER);;){var n=kr.replace(/%forloop%/gi,Rr(t));if(e.shaderSource(i,n),e.compileShader(i),e.getShaderParameter(i,e.COMPILE_STATUS))break;t=t/2|0}return t}(this.MAX_TEXTURES,t)),this._shader=this.shaderGenerator.generateShader(this.MAX_TEXTURES);for(var e=0;e<this._packedGeometryPoolSize;e++)this._packedGeometries[e]=new this.geometryClass;
238this.initFlushBuffers()},m.prototype.initFlushBuffers=function(){for(var t=m._drawCallPool,e=m._textureArrayPool,i=this.size/4,n=Math.floor(i/this.MAX_TEXTURES)+1;t.length<i;)t.push(new ho);for(;e.length<n;)e.push(new uo);for(var r=0;r<this.MAX_TEXTURES;r++)this._tempBoundTextures[r]=null},m.prototype.onPrerender=function(){this._flushId=0},m.prototype.render=function(t){t._texture.valid&&(this._vertexCount+t.vertexData.length/2>this.size&&this.flush(),this._vertexCount+=t.vertexData.length/2,this._indexCount+=t.indices.length,this._bufferedTextures[this._bufferSize]=t._texture.baseTexture,this._bufferedElements[this._bufferSize++]=t)},m.prototype.buildTexturesAndDrawCalls=function(){var t=this._bufferedTextures,e=this.MAX_TEXTURES,i=m._textureArrayPool,n=this.renderer.batch,r=this._tempBoundTextures,o=this.renderer.textureGC.count,s=++An._globalBatch,a=0,l=i[0],h=0;n.copyBoundTextures(r,e);for(var u=0;u<this._bufferSize;++u){var c=t[u];t[u]=null,c._batchEnabled!==s&&(l.count>=e&&(n.boundArray(l,r,s,e),this.buildDrawCalls(l,h,u),h=u,l=i[++a],++s),c._batchEnabled=s,c.touched=o,l.elements[l.count++]=c)}0<l.count&&(n.boundArray(l,r,s,e),this.buildDrawCalls(l,h,this._bufferSize),++a,++s);for(var d=0;d<r.length;d++)r[d]=null;An._globalBatch=s},m.prototype.buildDrawCalls=function(t,e,i){var n=this._bufferedElements,r=this._attributeBuffer,o=this._indexBuffer,s=this.vertexSize,a=m._drawCallPool,l=this._dcIndex,h=this._aIndex,u=this._iIndex,c=a[l];c.start=this._iIndex,c.texArray=t;for(var d=e;d<i;++d){var f=n[d],p=f._texture.baseTexture,v=Xi[p.alphaMode?1:0][f.blendMode];n[d]=null,e<d&&c.blend!==v&&(c.size=u-c.start,e=d,(c=a[++l]).texArray=t,c.start=u),this.packInterleavedGeometry(f,r,o,h,u),h+=f.vertexData.length/2*s,u+=f.indices.length,c.blend=v}e<i&&(c.size=u-c.start,++l),this._dcIndex=l,this._aIndex=h,this._iIndex=u},m.prototype.bindAndClearTexArray=function(t){for(var e=this.renderer.texture,i=0;i<t.count;i++)e.bind(t.elements[i],t.ids[i]),t.elements[i]=null;t.count=0},m.prototype.updateGeometry=function(){var t=this._packedGeometries,e=this._attributeBuffer,i=this._indexBuffer;yi.CAN_UPLOAD_SAME_BUFFER?(t[this._flushId]._buffer.update(e.rawBinaryData),t[this._flushId]._indexBuffer.update(i),this.renderer.geometry.updateBuffers()):(this._packedGeometryPoolSize<=this._flushId&&(this._packedGeometryPoolSize++,t[this._flushId]=new this.geometryClass),t[this._flushId]._buffer.update(e.rawBinaryData),t[this._flushId]._indexBuffer.update(i),this.renderer.geometry.bind(t[this._flushId]),this.renderer.geometry.updateBuffers(),this._flushId++)},m.prototype.drawBatches=function(){for(var t=this._dcIndex,e=this.renderer,i=e.gl,n=e.state,r=m._drawCallPool,o=null,s=0;s<t;s++){var a=r[s],l=a.texArray,h=a.type,u=a.size,c=a.start,d=a.blend;o!==l&&(o=l,this.bindAndClearTexArray(l)),n.setBlendMode(d),i.drawElements(h,u,i.UNSIGNED_SHORT,2*c)}},m.prototype.flush=function(){0!==this._vertexCount&&(this._attributeBuffer=this.getAttributeBuffer(this._vertexCount),this._indexBuffer=this.getIndexBuffer(this._indexCount),this._aIndex=0,this._iIndex=0,this._dcIndex=0,this.buildTexturesAndDrawCalls(),this.updateGeometry(),this.drawBatches(),this._bufferSize=0,this._vertexCount=0,this._indexCount=0)},m.prototype.start=function(){this.renderer.state.set(this.state),this.renderer.shader.bind(this._shader),yi.CAN_UPLOAD_SAME_BUFFER&&this.renderer.geometry.bind(this._packedGeometries[this._flushId])},m.prototype.stop=function(){this.flush()},m.prototype.destroy=function(){for(var t=0;t<this._packedGeometryPoolSize;t++)this._packedGeometries[t]&&this._packedGeometries[t].destroy();this.renderer.off("prerender",this.onPrerender,this),this._aBuffers=null,this._iBuffers=null,this._packedGeometries=null,this._attributeBuffer=null,this._indexBuffer=null,this._shader&&(this._shader.destroy(),this._shader=null),e.prototype.destroy.call(this)},m.prototype.getAttributeBuffer=function(t){var e=Qi(Math.ceil(t/8)),i=$i(e),n=8*e;this._aBuffers.length<=i&&(this._iBuffers.length=i+1);var r=this._aBuffers[n];return r||(this._aBuffers[n]=r=new co(n*this.vertexSize*4)),r},m.prototype.getIndexBuffer=function(t){var e=Qi(Math.ceil(t/12)),i=$i(e),n=12*e;this._iBuffers.length<=i&&(this._iBuffers.length=i+1);var r=this._iBuffers[i];return r||(this._iBuffers[i]=r=new Uint16Array(n)),r}
238,m.prototype.packInterleavedGeometry=function(t,e,i,n,r){for(var o=e.uint32View,s=e.float32View,a=n/this.vertexSize,l=t.uvs,h=t.indices,u=t.vertexData,c=t._texture.baseTexture._batchLocation,d=Math.min(t.worldAlpha,1),f=d<1&&t._texture.baseTexture.alphaMode?Hi(t._tintRGB,d):t._tintRGB+(255*d<<24),p=0;p<u.length;p+=2)s[n++]=u[p],s[n++]=u[p+1],s[n++]=l[p],s[n++]=l[p+1],o[n++]=f,s[n++]=c;for(var v=0;v<h.length;v++)i[r++]=a+h[v]},m}(sr);po._drawCallPool=[],po._textureArrayPool=[];function vo(t,e){if(this.vertexSrc=t,this.fragTemplate=e,this.programCache={},this.defaultGroupCache={},e.indexOf("%count%")<0)throw new Error('Fragment template must contain "%count%".');if(e.indexOf("%forloop%")<0)throw new Error('Fragment template must contain "%forloop%".')}vo.prototype.generateShader=function(t){if(!this.programCache[t]){for(var e=new Int32Array(t),i=0;i<t;i++)e[i]=i;this.defaultGroupCache[t]=er.from({uSamplers:e},!0);var n=this.fragTemplate;n=(n=n.replace(/%count%/gi,""+t)).replace(/%forloop%/gi,this.generateSampleSrc(t)),this.programCache[t]=new Lr(this.vertexSrc,n)}var r={tint:new Float32Array([1,1,1,1]),translationMatrix:new He,default:this.defaultGroupCache[t]};return new Br(this.programCache[t],r)},vo.prototype.generateSampleSrc=function(t){var e="";e+="\n",e+="\n";for(var i=0;i<t;i++)0<i&&(e+="\nelse "),i<t-1&&(e+="if(vTextureId < "+i+".5)"),e+="\n{",e+="\n\tcolor = texture2D(uSamplers["+i+"], vTextureCoord);",e+="\n}";return e+="\n",e+="\n"};function mo(){}var go=function(e){function t(t){void 0===t&&(t=!1),e.call(this),this._buffer=new Yn(null,t,!1),this._indexBuffer=new Yn(null,t,!0),this.addAttribute("aVertexPosition",this._buffer,2,!1,le.FLOAT).addAttribute("aTextureCoord",this._buffer,2,!1,le.FLOAT).addAttribute("aColor",this._buffer,4,!0,le.UNSIGNED_BYTE).addAttribute("aTextureId",this._buffer,1,!0,le.FLOAT).addIndex(this._indexBuffer)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Qn),yo="precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform vec4 tint;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n    gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0
238)).xy, 0.0, 1.0);\n\n    vTextureCoord = aTextureCoord;\n    vTextureId = aTextureId;\n    vColor = aColor * tint;\n}\n",_o="varying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\nuniform sampler2D uSamplers[%count%];\n\nvoid main(void){\n    vec4 color;\n    %forloop%\n    gl_FragColor = color * vColor;\n}\n",xo={defaultVertexSrc:{configurable:!0},defaultFragmentTemplate:{configurable:!0}};mo.create=function(t){var e=Object.assign({vertex:yo,fragment:_o,geometryClass:go,vertexSize:6},t),i=e.vertex,n=e.fragment,r=e.vertexSize,o=e.geometryClass;return function(e){function t(t){e.call(this,t),this.shaderGenerator=new vo(i,n),this.geometryClass=o,this.vertexSize=r}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(po)},xo.defaultVertexSrc.get=function(){return yo},xo.defaultFragmentTemplate.get=function(){return _o},Object.defineProperties(mo,xo);var wo=mo.create(),bo=r(97),To=r.n(bo),Eo=r(25),So=r.n(Eo);
239/*!
240 * resource-loader - v3.0.1
241 * https://github.com/pixijs/pixi-sound
242 * Compiled Tue, 02 Jul 2019 14:06:18 UTC
243 *
244 * resource-loader is licensed under the MIT license.
245 * http://www.opensource.org/licenses/mit-license
246 */
247function Oo(){}function Po(i,n,r,o){var s=0,a=i.length;!function t(e){e||s===a?r&&r(e):o?setTimeout(function(){n(i[s++],t)},1):n(i[s++],t)}()}function Ao(e){return function(){if(null===e)throw new Error("Callback was already called.");var t=e;e=null,t.apply(this,arguments)}}function Co(e,t){if(null==t)t=1;else if(0===t)throw new Error("Concurrency must not be zero");var i=0,r={_tasks:[],concurrency:t,saturated:Oo,unsaturated:Oo,buffer:t/4,empty:Oo,drain:Oo,error:Oo,started:!1,paused:!1,push:function(t,e){n(t,!1,e)},kill:function(){i=0,r.drain=Oo,r.started=!1,r._tasks=[]},unshift:function(t,e){n(t,!0,e)},process:function(){for(;!r.paused&&i<r.concurrency&&r._tasks.length;){var t=r._tasks.shift();0===r._tasks.length&&r.empty(),(i+=1)===r.concurrency&&r.saturated(),e(t.data,Ao(o(t)))}},length:function(){return r._tasks.length},running:function(){return i},idle:function(){return r._tasks.length+i===0},pause:function(){!0!==r.paused&&(r.paused=!0)},resume:function(){if(!1!==r.paused){r.paused=!1;for(var t=1;t<=r.concurrency;t++)r.process()}}};function n(t,e,i){if(null!=i&&"function"!=typeof i)throw new Error("task callback must be a function");if(r.started=!0,null==t&&r.idle())setTimeout(function(){return r.drain()},1);else{var n={data:t,callback:"function"==typeof i?i:Oo};e?r._tasks.unshift(n):r._tasks.push(n),setTimeout(function(){return r.process()},1)}}function o(e){return function(t){i-=1,e.callback.apply(e,arguments),null!=t&&r.error(t,e.data),i<=r.concurrency-r.buffer&&r.unsaturated(),r.idle()&&r.drain(),r.process()}}return r}var Io={};function Mo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ko(t,e,i){return e&&Mo(t.prototype,e),i&&Mo(t,i),t}var Ro=!(!window.XDomainRequest||"withCredentials"in new XMLHttpRequest),Lo=null;function Do(){}var No=function(){function o(t,e,i){if("string"!=typeof t||"string"!=typeof e)throw new Error("Both name and url are required for constructing a resource.");i=i||{},this._flags=0,this._setFlag(o.STATUS_FLAGS.DATA_URL,0===e.indexOf("data:")),this.name=t,this.url=e,this.extension=this._getExtension(),this.data=null,this.crossOrigin=!0===i.crossOrigin?"anonymous":i.crossOrigin,this.timeout=i.timeout||0,this.loadType=i.loadType||this._determineLoadType(),this.xhrType=i.xhrType,this.metadata=i.metadata||{},this.error=null,this.xhr=null,this.children=[],this.type=o.TYPE.UNKNOWN,this.progressChunk=0,this._dequeue=Do,this._onLoadBinding=null,this._elementTimer=0,this._boundComplete=this.complete.bind(this),this._boundOnError=this._onError.bind(this),this._boundOnProgress=this._onProgress.bind(this),this._boundOnTimeout=this._onTimeout.bind(this),this._boundXhrOnError=this._xhrOnError.bind(this),this._boundXhrOnTimeout=this._xhrOnTimeout.bind(this),this._boundXhrOnAbort=this._xhrOnAbort.bind(this),this._boundXhrOnLoad=this._xhrOnLoad.bind(this),this.onStart=new So.a,this.onProgress=new So.a,this.onComplete=new So.a,this.onAfterMiddleware=new So.a}o.setExtensionLoadType=function(t,e){Fo(o._loadTypeMap,t,e)},o.setExtensionXhrType=function(t,e){Fo(o._xhrTypeMap,t,e)};var t=o.prototype;return t.complete=function(){this._clearEvents(),this._finish()},t.abort=function(t){if(!this.error){if(this.error=new Error(t),this._clearEvents(),this.xhr)this.xhr.abort();else if(this.xdr)this.xdr.abort();else if(this.data)if(this.data.src)this.data.src=o.EMPTY_GIF;else for(;this.data.firstChild;)this.data.removeChild(this.data.firstChild);this._finish()}},t.load=function(t){var e=this;if(!this.isLoading)if(this.isComplete)t&&setTimeout(function(){return t(e)},1);else switch(t&&this.onComplete.once(t),this._setFlag(o.STATUS_FLAGS.LOADING,!0),this.onStart.dispatch(this),!1!==this.crossOrigin&&"string"==typeof this.crossOrigin||(this.crossOrigin=this._determineCrossOrigin(this.url)),this.loadType){case o.LOAD_TYPE.IMAGE:this.type=o.TYPE.IMAGE,this._loadElement("image");break;case o.LOAD_TYPE.AUDIO:this.type=o.TYPE.AUDIO,this._loadSourceElement("audio");break;case o.LOAD_TYPE.VIDEO:this.type=o.TYPE.VIDEO,this._loadSourceElement("video");break;case o.LOAD_TYPE.XHR:default:Ro&&this.crossOrigin?this._loadXdr():this._loadXhr()}},t._hasFlag=function(t){return 0!=(this._flags&t)},t._setFlag=function(t,e){this._flags=e?this._flags|t:this._flags&~t},t._clearEvents=function(){clearTimeout(this._elementTimer),this.data&&this.data.removeEventListener&&(this.data.removeEventListener("error",this._boundOnError,!1),this.data.removeEventListener("load",this._boundComplete,!1),this.data.removeEventListener("progress",this._boundOnProgress,!1),this.data.removeEventListener("canplaythrough",this._boundComplete,!1)),this.xhr&&(this.xhr.removeEventListener?(this.xhr.removeEventListener("error",this._boundXhrOnError,!1),this.xhr.removeEventListener("timeout",this._boundXhrOnTimeout,!1),this.xhr.removeEventListener("abort",this._boundXhrOnAbort,!1),this.xhr.removeEventListener("progress",this._boundOnProgress,!1),this.xhr.removeEventListener("load",this._boundXhrOnLoad,!1)):(this.xhr.onerror=null,this.xhr.ontimeout=null,this.xhr.onprogress=null,this.xhr.onload=null))},t._finish=function(){if(this.isComplete)throw new Error("Complete called again for an already completed resource.");this._setFlag(o.STATUS_FLAGS.COMPLETE,!0),this._setFlag(o.STATUS_FLAGS.LOADING,!1),this.onComplete.dispatch(this)},t._loadElement=function(t){this.metadata.loadElement?this.data=this.metadata.loadElement:"image"===t&&void 0!==window.Image?this.data=new Image:this.data=document.createElement(t),this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),this.metadata.skipSource||(this.data.src=this.url),this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))},t._loadSourceElement=function(t){if(this.metadata.loadElement?this.data=this.metadata.loadElement:"audio"===t&&void 0!==window.Audio?this.data=new Audio:this.data=document.createElement(t),null!==this.data){if(this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),!this.metadata.skipSource)if(navigator.isCocoonJS)this.data.src=Array.isArray(this.url)?this.url[0]:this.url;else if(Array.isArray(this.url))for(var e=this.metadata.mimeType,i=0;i<this.url.length;++i)this.data.appendChild(this._createSource(t,this.url[i],Array.isArray(e)?e[i]:e));else{var n=this.metadata.mimeType;this.data.appendChild(this._createSource(t,this.url,Array.isArray(n)?n[0]:n))}this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.data.addEventListener("canplaythrough",this._boundComplete,!1),this.data.load(),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))}else this.abort("Unsupported element: "+t)},t._loadXhr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var t=this.xhr=new XMLHttpRequest;t.open("GET",this.url,!0),t.timeout=this.timeout,this.xhrType===o.XHR_RESPONSE_TYPE.JSON||this.xhrType===o.XHR_RESPONSE_TYPE.DOCUMENT?t.responseType=o.XHR_RESPONSE_TYPE.TEXT:t.responseType=this.xhrType,t.addEventListener("error",this._boundXhrOnError,!1),t.addEventListener("timeout",this._boundXhrOnTimeout,!1),t.addEventListener("abort",this._boundXhrOnAbort,!1),t.addEventListener("progress",this._boundOnProgress,!1),t.addEventListener("load",this._boundXhrOnLoad,!1),t.send()},t._loadXdr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var t=this.xhr=new XDomainRequest;t.timeout=this.timeout||5e3,t.onerror=this._boundXhrOnError,t.ontimeout=this._boundXhrOnTimeout,t.onprogress=this._boundOnProgress,t.onload=this._boundXhrOnLoad,t.open("GET",this.url,!0),setTimeout(function(){return t.send()},1)}
247,t._createSource=function(t,e,i){i=i||t+"/"+this._getExtension(e);var n=document.createElement("source");return n.src=e,n.type=i,n},t._onError=function(t){this.abort("Failed to load element using: "+t.target.nodeName)},t._onProgress=function(t){t&&t.lengthComputable&&this.onProgress.dispatch(this,t.loaded/t.total)},t._onTimeout=function(){this.abort("Load timed out.")},t._xhrOnError=function(){var t=this.xhr;this.abort(Bo(t)+" Request failed. Status: "+t.status+', text: "'+t.statusText+'"')},t._xhrOnTimeout=function(){var t=this.xhr;this.abort(Bo(t)+" Request timed out.")},t._xhrOnAbort=function(){var t=this.xhr;this.abort(Bo(t)+" Request was aborted by the user.")},t._xhrOnLoad=function(){var t=this.xhr,e="",i=void 0===t.status?200:t.status;if(""!==t.responseType&&"text"!==t.responseType&&void 0!==t.responseType||(e=t.responseText),0===i&&(0<e.length||t.responseType===o.XHR_RESPONSE_TYPE.BUFFER)?i=200:1223===i&&(i=204),2==(i/100|0)){if(this.xhrType===o.XHR_RESPONSE_TYPE.TEXT)this.data=e,this.type=o.TYPE.TEXT;else if(this.xhrType===o.XHR_RESPONSE_TYPE.JSON)try{this.data=JSON.parse(e),this.type=o.TYPE.JSON}catch(t){return void this.abort("Error trying to parse loaded json: "+t)}else if(this.xhrType===o.XHR_RESPONSE_TYPE.DOCUMENT)try{if(window.DOMParser){var n=new DOMParser;this.data=n.parseFromString(e,"text/xml")}else{var r=document.createElement("div");r.innerHTML=e,this.data=r}this.type=o.TYPE.XML}catch(t){return void this.abort("Error trying to parse loaded xml: "+t)}else this.data=t.response||e;this.complete()}else this.abort("["+t.status+"] "+t.statusText+": "+t.responseURL)},t._determineCrossOrigin=function(t,e){if(0===t.indexOf("data:"))return"";if(window.origin!==window.location.origin)return"anonymous";e=e||window.location,(Lo=Lo||document.createElement("a")).href=t;var i=!(t=To()(Lo.href,{strictMode:!0})).port&&""===e.port||t.port===e.port,n=t.protocol?t.protocol+":":"";return t.host===e.hostname&&i&&n===e.protocol?"":"anonymous"},t._determineXhrType=function(){return o._xhrTypeMap[this.extension]||o.XHR_RESPONSE_TYPE.TEXT},t._determineLoadType=function(){return o._loadTypeMap[this.extension]||o.LOAD_TYPE.XHR},t._getExtension=function(){var t=this.url,e="";if(this.isDataUrl){var i=t.indexOf("/");e=t.substring(i+1,t.indexOf(";",i))}else{var n=t.indexOf("?"),r=t.indexOf("#"),o=Math.min(-1<n?n:t.length,-1<r?r:t.length);e=(t=t.substring(0,o)).substring(t.lastIndexOf(".")+1)}return e.toLowerCase()},t._getMimeFromXhrType=function(t){switch(t){case o.XHR_RESPONSE_TYPE.BUFFER:return"application/octet-binary";case o.XHR_RESPONSE_TYPE.BLOB:return"application/blob";case o.XHR_RESPONSE_TYPE.DOCUMENT:return"application/xml";case o.XHR_RESPONSE_TYPE.JSON:return"application/json";case o.XHR_RESPONSE_TYPE.DEFAULT:case o.XHR_RESPONSE_TYPE.TEXT:default:return"text/plain"}},ko(o,[{key:"isDataUrl",get:function(){return this._hasFlag(o.STATUS_FLAGS.DATA_URL)}},{key:"isComplete",get:function(){return this._hasFlag(o.STATUS_FLAGS.COMPLETE)}},{key:"isLoading",get:function(){return this._hasFlag(o.STATUS_FLAGS.LOADING)}}]),o}();function Fo(t,e,i){e&&0===e.indexOf(".")&&(e=e.substring(1)),e&&(t[e]=i)}function Bo(t){return t.toString().replace("object ","")}No.STATUS_FLAGS={NONE:0,DATA_URL:1,COMPLETE:2,LOADING:4},No.TYPE={UNKNOWN:0,JSON:1,XML:2,IMAGE:3,AUDIO:4,VIDEO:5,TEXT:6},No.LOAD_TYPE={XHR:1,IMAGE:2,AUDIO:3,VIDEO:4},No.XHR_RESPONSE_TYPE={DEFAULT:"text",BUFFER:"arraybuffer",BLOB:"blob",DOCUMENT:"document",JSON:"json",TEXT:"text"},No._loadTypeMap={gif:No.LOAD_TYPE.IMAGE,png:No.LOAD_TYPE.IMAGE,bmp:No.LOAD_TYPE.IMAGE,jpg:No.LOAD_TYPE.IMAGE,jpeg:No.LOAD_TYPE.IMAGE,tif:No.LOAD_TYPE.IMAGE,tiff:No.LOAD_TYPE.IMAGE,webp:No.LOAD_TYPE.IMAGE,tga:No.LOAD_TYPE.IMAGE,svg:No.LOAD_TYPE.IMAGE,"svg+xml":No.LOAD_TYPE.IMAGE,mp3:No.LOAD_TYPE.AUDIO,ogg:No.LOAD_TYPE.AUDIO,wav:No.LOAD_TYPE.AUDIO,mp4:No.LOAD_TYPE.VIDEO,webm:No.LOAD_TYPE.VIDEO},No._xhrTypeMap={xhtml:No.XHR_RESPONSE_TYPE.DOCUMENT,html:No.XHR_RESPONSE_TYPE.DOCUMENT,htm:No.XHR_RESPONSE_TYPE.DOCUMENT,xml:No.XHR_RESPONSE_TYPE.DOCUMENT,tmx:No.XHR_RESPONSE_TYPE.DOCUMENT,svg:No.XHR_RESPONSE_TYPE.DOCUMENT,tsx:No.XHR_RESPONSE_TYPE.DOCUMENT,gif:No.XHR_RESPONSE_TYPE.BLOB,png:No.XHR_RESPONSE_TYPE.BLOB,bmp:No.XHR_RESPONSE_TYPE.BLOB,jpg:No.XHR_RESPONSE_TYPE.BLOB,jpeg:No.XHR_RESPONSE_TYPE.BLOB,tif:No.XHR_RESPONSE_TYPE.BLOB,tiff:No.XHR_RESPONSE_TYPE.BLOB,webp:No.XHR_RESPONSE_TYPE.BLOB,tga:No.XHR_RESPONSE_TYPE.BLOB,json:No.XHR_RESPONSE_TYPE.JSON,text:No.XHR_RESPONSE_TYPE.TEXT,txt:No.XHR_RESPONSE_TYPE.TEXT,ttf:No.XHR_RESPONSE_TYPE.BUFFER,otf:No.XHR_RESPONSE_TYPE.BUFFER},No.EMPTY_GIF="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";var Uo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
247+/=";var jo=window.URL||window.webkitURL;var Xo={caching:function(t,e){var i=this;Io[t.url]?(t.data=Io[t.url],t.complete()):t.onComplete.once(function(){return Io[i.url]=i.data}),e()},parsing:function(t,e){if(t.data){if(t.xhr&&t.xhrType===No.XHR_RESPONSE_TYPE.BLOB)if(window.Blob&&"string"!=typeof t.data){if(0===t.data.type.indexOf("image")){var i=jo.createObjectURL(t.data);return t.blob=t.data,t.data=new Image,t.data.src=i,t.type=No.TYPE.IMAGE,void(t.data.onload=function(){jo.revokeObjectURL(i),t.data.onload=null,e()})}}else{var n=t.xhr.getResponseHeader("content-type");if(n&&0===n.indexOf("image"))return t.data=new Image,t.data.src="data:"+n+";base64,"+function(t){for(var e="",i=0;i<t.length;){for(var n=[0,0,0],r=[0,0,0,0],o=0;o<n.length;++o)i<t.length?n[o]=255&t.charCodeAt(i++):n[o]=0;switch(r[0]=n[0]>>2,r[1]=(3&n[0])<<4|n[1]>>4,r[2]=(15&n[1])<<2|n[2]>>6,r[3]=63&n[2],i-(t.length-1)){case 2:r[3]=64,r[2]=64;break;case 1:r[3]=64}for(var s=0;s<r.length;++s)e+=Uo.charAt(r[s])}return e}(t.xhr.responseText),t.type=No.TYPE.IMAGE,void(t.data.onload=function(){t.data.onload=null,e()})}e()}else e()}},zo=/(#[\w-]+)?$/,Wo=function(){function o(t,e){var i=this;void 0===t&&(t=""),void 0===e&&(e=10),this.baseUrl=t,this.progress=0,this.loading=!1,this.defaultQueryString="",this._beforeMiddleware=[],this._afterMiddleware=[],this._resourcesParsing=[],this._boundLoadResource=function(t,e){return i._loadResource(t,e)},this._queue=Co(this._boundLoadResource,e),this._queue.pause(),this.resources={},this.onProgress=new So.a,this.onError=new So.a,this.onLoad=new So.a,this.onStart=new So.a,this.onComplete=new So.a;for(var n=0;n<o._defaultBeforeMiddleware.length;++n)this.pre(o._defaultBeforeMiddleware[n]);for(var r=0;r<o._defaultAfterMiddleware.length;++r)this.use(o._defaultAfterMiddleware[r])}var t=o.prototype;return t.add=function(t,e,i,n){if(Array.isArray(t)){for(var r=0;r<t.length;++r)this.add(t[r]);return this}if("object"==typeof t&&(n=e||t.callback||t.onComplete,e=(i=t).url,t=t.name||t.key||t.url),"string"!=typeof e&&(n=i,i=e,e=t),"string"!=typeof e)throw new Error("No url passed to add resource to loader.");if("function"==typeof i&&(n=i,i=null),this.loading&&(!i||!i.parentResource))throw new Error("Cannot add resources while the loader is running.");if(this.resources[t])throw new Error('Resource named "'+t+'" already exists.');if(e=this._prepareUrl(e),this.resources[t]=new No(t,e,i),"function"==typeof n&&this.resources[t].onAfterMiddleware.once(n),this.loading){for(var o=i.parentResource,s=[],a=0;a<o.children.length;++a)o.children[a].isComplete||s.push(o.children[a]);var l=o.progressChunk*(s.length+1)/(s.length+2);o.children.push(this.resources[t]),o.progressChunk=l;for(var h=0;h<s.length;++h)s[h].progressChunk=l;this.resources[t].progressChunk=l}return this._queue.push(this.resources[t]),this},t.pre=function(t){return this._beforeMiddleware.push(t),this},t.use=function(t){return this._afterMiddleware.push(t),this},t.reset=function(){for(var t in this.progress=0,this.loading=!1,this._queue.kill(),this._queue.pause(),this.resources){var e=this.resources[t];e._onLoadBinding&&e._onLoadBinding.detach(),e.isLoading&&e.abort()}return this.resources={},this},t.load=function(t){if("function"==typeof t&&this.onComplete.once(t),this.loading)return this;if(this._queue.idle())this._onStart(),this._onComplete();else{for(var e=100/this._queue._tasks.length,i=0;i<this._queue._tasks.length;++i)this._queue._tasks[i].data.progressChunk=e;this._onStart(),this._queue.resume()}return this},t._prepareUrl=function(t){var e,i=To()(t,{strictMode:!0});if(e=i.protocol||!i.path||0===t.indexOf("//")?t:this.baseUrl.length&&this.baseUrl.lastIndexOf("/")!==this.baseUrl.length-1&&"/"!==t.charAt(0)?this.baseUrl+"/"+t:this.baseUrl+t,this.defaultQueryString){var n=zo.exec(e)[0];-1!==(e=e.substr(0,e.length-n.length)).indexOf("?")?e+="&"+this.defaultQueryString:e+="?"+this.defaultQueryString,e+=n}return e},t._loadResource=function(i,t){var n=this;i._dequeue=t,Po(this._beforeMiddleware,function(t,e){t.call(n,i,function(){e(i.isComplete?{}:null)})},function(){i.isComplete?n._onLoad(i):(i._onLoadBinding=i.onComplete.once(n._onLoad,n),i.load())},!0)},t._onStart=function(){this.progress=0,this.loading=!0,this.onStart.dispatch(this)},t._onComplete=function(){this.progress=100,this.loading=!1,this.onComplete.dispatch(this,this.resources)},t._onLoad=function(i){var n=this;i._onLoadBinding=null,this._resourcesParsing.push(i),i._dequeue(),Po(this._afterMiddleware,function(t,e){t.call(n,i,e)},function(){i.onAfterMiddleware.dispatch(i),n.progress=Math.min(100,n.progress+i.progressChunk),n.onProgress.dispatch(n,i),i.error?n.onError.dispatch(i.error,n,i):n.onLoad.dispatch(n,i),n._resourcesParsing.splice(n._resourcesParsing.indexOf(i),1),n._queue.idle()&&0===n._resourcesParsing.length&&n._onComplete()},!0)}
247,ko(o,[{key:"concurrency",get:function(){return this._queue.concurrency},set:function(t){this._queue.concurrency=t}}]),o}();Wo._defaultBeforeMiddleware=[],Wo._defaultAfterMiddleware=[],Wo.pre=function(t){return Wo._defaultBeforeMiddleware.push(t),Wo},Wo.use=function(t){return Wo._defaultAfterMiddleware.push(t),Wo};function Ho(){}Ho.use=function(t,e){t.data&&t.type===No.TYPE.IMAGE&&(t.texture=zn.fromLoader(t.data,t.url,t.name)),e()};var Go=function(a){function l(t,e){var n=this;a.call(this,t,e),Oi.a.call(this);for(var i=0;i<l._plugins.length;++i){var r=l._plugins[i],o=r.pre,s=r.use;o&&this.pre(o),s&&this.use(s)}this.onStart.add(function(t){return n.emit("start",t)}),this.onProgress.add(function(t,e){return n.emit("progress",t,e)}),this.onError.add(function(t,e,i){return n.emit("error",t,e,i)}),this.onLoad.add(function(t,e){return n.emit("load",t,e)}),this.onComplete.add(function(t,e){return n.emit("complete",t,e)}),this._protected=!1}a&&(l.__proto__=a);var t={shared:{configurable:!0}};return((l.prototype=Object.create(a&&a.prototype)).constructor=l).prototype.destroy=function(){this._protected||(this.removeAllListeners(),this.reset())},t.shared.get=function(){var t=l._shared;return t||((t=new l)._protected=!0,l._shared=t),t},Object.defineProperties(l,t),l}(Wo);Object.assign(Go.prototype,Oi.a.prototype),Go._plugins=[],Go.registerPlugin=function(t){return Go._plugins.push(t),t.add&&t.add(),Go},Go.registerPlugin({use:Xo.parsing}),Go.registerPlugin(Ho);function Vo(){}Vo.init=function(t){t=Object.assign({sharedLoader:!1},t),this.loader=t.sharedLoader?Go.shared:new Go},Vo.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)};function Yo(e){var i=this;e=Object.assign({forceCanvas:!1},e),this.renderer=function(t){return lo.create(t)}(e),this.stage=new _n,Yo._plugins.forEach(function(t){t.init.call(i,e)})}var qo=new De,Ko=new Uint16Array([0,1,2,0,2,3]),Zo=function(i){function n(t){i.call(this),this._anchor=new Fe(this._onAnchorUpdate,this,t?t.defaultAnchor.x:0,t?t.defaultAnchor.y:0),this._texture=null,this._width=0,this._height=0,this._tint=null,this._tintRGB=null,this.tint=16777215,this.blendMode=te.NORMAL,this.shader=null,this._cachedTint=16777215,this.uvs=null,this.texture=t||zn.EMPTY,this.vertexData=new Float32Array(8),this.vertexTrimmedData=null,this._transformID=-1,this._textureID=-1,this._transformTrimmedID=-1,this._textureTrimmedID=-1,this.indices=Ko,this.size=4,this.start=0,this.pluginName="batch",this.isSprite=!0,this._roundPixels=yi.ROUND_PIXELS}i&&(n.__proto__=i);var t={roundPixels:{configurable:!0},width:{configurable:!0},height:{configurable:!0},anchor:{configurable:!0},tint:{configurable:!0},texture:{configurable:!0}};return((n.prototype=Object.create(i&&i.prototype)).constructor=n).prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=Zi(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=Zi(this.scale.y)*this._height/this._texture.orig.height)},n.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},n.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,i=e.a,n=e.b,r=e.c,o=e.d,s=e.tx,a=e.ty,l=this.vertexData,h=t.trim,u=t.orig,c=this._anchor,d=0,f=0,p=0,v=0;if(p=h?(d=(f=h.x-c._x*u.width)+h.width,(v=h.y-c._y*u.height)+h.height):(d=(f=-c._x*u.width)+u.width,
247(v=-c._y*u.height)+u.height),l[0]=i*f+r*v+s,l[1]=o*v+n*f+a,l[2]=i*d+r*v+s,l[3]=o*v+n*d+a,l[4]=i*d+r*p+s,l[5]=o*p+n*d+a,l[6]=i*f+r*p+s,l[7]=o*p+n*f+a,this._roundPixels)for(var m=0;m<8;m++)l[m]=Math.round(l[m])}},n.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,i=t.orig,n=this._anchor,r=this.transform.worldTransform,o=r.a,s=r.b,a=r.c,l=r.d,h=r.tx,u=r.ty,c=-n._x*i.width,d=c+i.width,f=-n._y*i.height,p=f+i.height;e[0]=o*c+a*f+h,e[1]=l*f+s*c+u,e[2]=o*d+a*f+h,e[3]=l*f+s*d+u,e[4]=o*d+a*p+h,e[5]=l*p+s*d+u,e[6]=o*c+a*p+h,e[7]=l*p+s*c+u},n.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},n.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},n.prototype.getLocalBounds=function(t){return 0===this.children.length?(this._bounds.minX=this._texture.orig.width*-this._anchor._x,this._bounds.minY=this._texture.orig.height*-this._anchor._y,this._bounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._bounds.maxY=this._texture.orig.height*(1-this._anchor._y),t||(this._localBoundsRect||(this._localBoundsRect=new ii),t=this._localBoundsRect),this._bounds.getRectangle(t)):i.prototype.getLocalBounds.call(this,t)},n.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,qo);var e=this._texture.orig.width,i=this._texture.orig.height,n=-e*this.anchor.x,r=0;return qo.x>=n&&qo.x<n+e&&(r=-i*this.anchor.y,qo.y>=r&&qo.y<r+i)},n.prototype.destroy=function(t){if(i.prototype.destroy.call(this,t),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof t?t:t&&t.texture){var e="boolean"==typeof t?t:t&&t.baseTexture;this._texture.destroy(!!e)}this._texture=null,this.shader=null},n.from=function(t,e){return new n(t instanceof zn?t:zn.from(t,e))},t.roundPixels.set=function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},t.roundPixels.get=function(){return this._roundPixels},t.width.get=function(){return Math.abs(this.scale.x)*this._texture.orig.width},t.width.set=function(t){var e=Zi(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},t.height.get=function(){return Math.abs(this.scale.y)*this._texture.orig.height},t.height.set=function(t){var e=Zi(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},t.anchor.get=function(){return this._anchor},t.anchor.set=function(t){this._anchor.copyFrom(t)},t.tint.get=function(){return this._tint},t.tint.set=function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},t.texture.get=function(){return this._texture},t.texture.set=function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||zn.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},Object.defineProperties(n.prototype,t),n}(_n),Qo={view:{configurable:!0},screen:{configurable:!0}};
248/*!
249 * @pixi/sprite - v5.2.0
250 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
251 *
252 * @pixi/sprite is licensed under the MIT License.
253 * http://www.opensource.org/licenses/mit-license
254 */Yo.registerPlugin=function(t){Yo._plugins.push(t)},Yo.prototype.render=function(){this.renderer.render(this.stage)},Qo.view.get=function(){return this.renderer.view},Qo.screen.get=function(){return this.renderer.screen},Yo.prototype.destroy=function(t,e){var i=this,n=Yo._plugins.slice(0);n.reverse(),n.forEach(function(t){t.destroy.call(i)}),this.stage.destroy(e),this.stage=null,this.renderer.destroy(t),this.renderer=null,this._options=null},Object.defineProperties(Yo.prototype,Qo),Yo._plugins=[];function Jo(){}Jo.init=function(t){var e=this;Object.defineProperty(this,"resizeTo",{set:function(t){window.removeEventListener("resize",this.resize),(this._resizeTo=t)&&(window.addEventListener("resize",this.resize),this.resize())},get:function(){return this._resizeTo}}),this.resize=function(){e._resizeTo&&(e._resizeTo===window?e.renderer.resize(window.innerWidth,window.innerHeight):e.renderer.resize(e._resizeTo.clientWidth,e._resizeTo.clientHeight))},this._resizeTo=null,this.resizeTo=t.resizeTo||null},Jo.destroy=function(){this.resizeTo=null,this.resize=null},Yo.registerPlugin(Jo);function $o(){this.reset()}
255/*!
256 * @pixi/graphics - v5.2.0
257 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
258 *
259 * @pixi/graphics is licensed under the MIT License.
260 * http://www.opensource.org/licenses/mit-license
261 */
262var ts={adaptive:!0,maxLength:10,minSegments:8,maxSegments:2048,_segmentsCount:function(t,e){if(void 0===e&&(e=20),!this.adaptive)return e;var i=Math.ceil(t/this.maxLength);return i<this.minSegments?i=this.minSegments:i>this.maxSegments&&(i=this.maxSegments),i}};$o.prototype.clone=function(){var t=new $o;return t.color=this.color,t.alpha=this.alpha,t.texture=this.texture,t.matrix=this.matrix,t.visible=this.visible,t},$o.prototype.reset=function(){this.color=16777215,this.alpha=1,this.texture=zn.WHITE,this.matrix=null,this.visible=!1},$o.prototype.destroy=function(){this.texture=null,this.matrix=null};var es={build:function(t){t.points=t.shape.points.slice()},triangulate:function(t,e){var i=t.points,n=t.holes,r=e.points,o=e.indices;if(6<=i.length){for(var s=[],a=0;a<n.length;a++){var l=n[a];s.push(i.length/2),i=i.concat(l.points)}var h=Ai()(i,s,2);if(!h)return;for(var u=r.length/2,c=0;c<h.length;c+=3)o.push(h[c]+u),o.push(h[c+1]+u),o.push(h[c+2]+u);for(var d=0;d<i.length;d++)r.push(i[d])}}},is={build:function(t){var e,i,n=t.shape,r=t.points,o=n.x,s=n.y;if(r.length=0,i=t.type===Ue.CIRC?(e=n.radius,n.radius):(e=n.width,n.height),0!==e&&0!==i){var a=Math.floor(30*Math.sqrt(n.radius))||Math.floor(15*Math.sqrt(n.width+n.height));a/=2.3;for(var l=2*Math.PI/a,h=0;h<a;h++)r.push(o+Math.sin(-l*h)*e,s+Math.cos(-l*h)*i);
262r.push(r[0],r[1])}},triangulate:function(t,e){var i=t.points,n=e.points,r=e.indices,o=n.length/2,s=o;n.push(t.shape.x,t.shape.y);for(var a=0;a<i.length;a+=2)n.push(i[a],i[a+1]),r.push(o++,s,o)}},ns={build:function(t){var e=t.shape,i=e.x,n=e.y,r=e.width,o=e.height,s=t.points;s.length=0,s.push(i,n,i+r,n,i+r,n+o,i,n+o)},triangulate:function(t,e){var i=t.points,n=e.points,r=n.length/2;n.push(i[0],i[1],i[2],i[3],i[6],i[7],i[4],i[5]),e.indices.push(r,1+r,2+r,1+r,2+r,3+r)}},rs={build:function(t){var e=t.shape,i=t.points,n=e.x,r=e.y,o=e.width,s=e.height,a=e.radius;i.length=0,ss(n,r+a,n,r,n+a,r,i),ss(n+o-a,r,n+o,r,n+o,r+a,i),ss(n+o,r+s-a,n+o,r+s,n+o-a,r+s,i),ss(n+a,r+s,n,r+s,n,r+s-a,i)},triangulate:function(t,e){for(var i=t.points,n=e.points,r=e.indices,o=n.length/2,s=Ai()(i,null,2),a=0,l=s.length;a<l;a+=3)r.push(s[a]+o),r.push(s[a+1]+o),r.push(s[a+2]+o);for(var h=0,u=i.length;h<u;h++)n.push(i[h],i[++h])}};function os(t,e,i){return t+(e-t)*i}function ss(t,e,i,n,r,o,s){void 0===s&&(s=[]);for(var a=s,l=0,h=0,u=0,c=0,d=0,f=0,p=0,v=0;p<=20;++p)l=os(t,i,v=p/20),h=os(e,n,v),u=os(i,r,v),c=os(n,o,v),d=os(l,u,v),f=os(h,c,v),a.push(d,f);return a}function as(t,e){t.lineStyle.native?function(t,e){var i=0,n=t.shape,r=t.points||n.points,o=n.type!==Ue.POLY||n.closeStroke;if(0===r.length)return;var s=e.points,a=e.indices,l=r.length/2,h=s.length/2,u=h;for(s.push(r[0],r[1]),i=1;i<l;i++)s.push(r[2*i],r[2*i+1]),a.push(u,u+1),u++;o&&a.push(u,h)}(t,e):function(t,e){var i=t.shape,n=t.points||i.points.slice(),r=e.closePointEps;if(0===n.length)return;var o=t.lineStyle,s=new De(n[0],n[1]),a=new De(n[n.length-2],n[n.length-1]),l=i.type!==Ue.POLY||i.closeStroke,h=Math.abs(s.x-a.x)<r&&Math.abs(s.y-a.y)<r;if(l){n=n.slice(),h&&(n.pop(),n.pop(),a.set(n[n.length-2],n[n.length-1]));var u=a.x+.5*(s.x-a.x),c=a.y+.5*(s.y-a.y);n.unshift(u,c),n.push(u,c)}var d=e.points,f=n.length/2,p=n.length,v=d.length/2,m=o.width/2,g=n[0],y=n[1],_=n[2],x=n[3],w=0,b=0,T=-(y-x),E=g-_,S=0,O=0,P=0,A=0,C=Math.sqrt(T*T+E*E);T/=C,E/=C,T*=m,E*=m;var I=o.alignment,M=2*(1-I),k=2*I;d.push(g-T*M,y-E*M),d.push(g+T*k,y+E*k);for(var R=1;R<f-1;++R){g=n[2*(R-1)],y=n[2*(R-1)+1],_=n[2*R],x=n[2*R+1],w=n[2*(R+1)],b=n[2*(R+1)+1],T=-(y-x),E=g-_,C=Math.sqrt(T*T+E*E),T/=C,E/=C,T*=m,E*=m,S=-(x-b),O=_-w,C=Math.sqrt(S*S+O*O),S/=C,O/=C;var L=-E+y-(-E+x),D=-T+_-(-T+g),N=(-T+g)*(-E+x)-(-T+_)*(-E+y),F=-(O*=m)+b-(-O+x),B=-(S*=m)+_-(-S+w),U=(-S+w)*(-O+x)-(-S+_)*(-O+b),j=L*B-F*D;if(Math.abs(j)<.1)j+=10.1,d.push(_-T*M,x-E*M),d.push(_+T*k,x+E*k);else{var X=(D*U-B*N)/j,z=(F*N-L*U)/j;196*m*m<(X-_)*(X-_)+(z-x)*(z-x)?(P=T-S,A=E-O,C=Math.sqrt(P*P+A*A),P/=C,A/=C,P*=m,A*=m,d.push(_-P*M,x-A*M),d.push(_+P*k,x+A*k),d.push(_-P*k*M,x-A*M),p++):(d.push(_+(X-_)*M,x+(z-x)*M),d.push(_-(X-_)*k,x-(z-x)*k))}}g=n[2*(f-2)],y=n[2*(f-2)+1],_=n[2*(f-1)],x=n[2*(f-1)+1],T=-(y-x),E=g-_,C=Math.sqrt(T*T+E*E),T/=C,E/=C,T*=m,E*=m,d.push(_-T*M,x-E*M),d.push(_+T*k,x+E*k);for(var W=e.indices,H=0;H<p-2;++H)W.push(v,v+1,v+2),v++}(t,e)}function ls(){}var hs=function(f){function t(t,e,i,n,r,o){r=r||n/2;for(var s=-1*Math.PI/2+o,a=2*i,l=Xe/a,h=[],u=0;u<a;u++){var c=u%2?r:n,d=u*l+s;h.push(t+c*Math.cos(d),e+c*Math.sin(d))}f.call(this,h)}return f&&(t.__proto__=f),(t.prototype=Object.create(f&&f.prototype)).constructor=t}(li);ls.curveTo=function(t,e,i,n,r,o){var s=o[o.length-2],a=o[o.length-1]-e,l=s-t,h=n-e,u=i-t,c=Math.abs(a*u-l*h);if(c<1e-8||0===r)return o[o.length-2]===t&&o[o.length-1]===e||o.push(t,e),null;var d=a*a+l*l,f=h*h+u*u,p=a*h+l*u,v=r*Math.sqrt(d)/c,m=r*Math.sqrt(f)/c,g=v*p/d,y=m*p/f,_=v*u+m*l,x=v*h+m*a,w=l*(m+g),b=a*(m+g),T=u*(v+y),E=h*(v+y);return{cx:_+t,cy:x+e,radius:r,startAngle:Math.atan2(b-x,w-_),endAngle:Math.atan2(E-x,T-_),anticlockwise:u*a<l*h}},ls.arc=function(t,e,i,n,r,o,s,a,l){for(var h=s-o,u=ts._segmentsCount(Math.abs(h)*r,40*M
262ath.ceil(Math.abs(h)/Xe)),c=h/(2*u),d=2*c,f=Math.cos(c),p=Math.sin(c),v=u-1,m=v%1/v,g=0;g<=v;++g){var y=c+o+d*(g+m*g),_=Math.cos(y),x=-Math.sin(y);l.push((f*_+p*x)*r+i,(f*-x+p*_)*r+n)}};function us(){}us.curveLength=function(t,e,i,n,r,o,s,a){for(var l=0,h=0,u=0,c=0,d=0,f=0,p=0,v=0,m=0,g=0,y=0,_=t,x=e,w=1;w<=10;++w)g=_-(v=(p=(f=(d=1-(h=w/10))*d)*d)*t+3*f*h*i+3*d*(u=h*h)*r+(c=u*h)*s),y=x-(m=p*e+3*f*h*n+3*d*u*o+c*a),_=v,x=m,l+=Math.sqrt(g*g+y*y);return l},us.curveTo=function(t,e,i,n,r,o,s){var a=s[s.length-2],l=s[s.length-1];s.length-=2;var h=ts._segmentsCount(us.curveLength(a,l,t,e,i,n,r,o)),u=0,c=0,d=0,f=0,p=0;s.push(a,l);for(var v=1,m=0;v<=h;++v)d=(c=(u=1-(m=v/h))*u)*u,p=(f=m*m)*m,s.push(d*a+3*c*m*t+3*u*f*i+p*r,d*l+3*c*m*e+3*u*f*n+p*o)};function cs(){}cs.curveLength=function(t,e,i,n,r,o){var s=t-2*i+r,a=e-2*n+o,l=2*i-2*t,h=2*n-2*e,u=4*(s*s+a*a),c=4*(s*l+a*h),d=l*l+h*h,f=2*Math.sqrt(u+c+d),p=Math.sqrt(u),v=2*u*p,m=2*Math.sqrt(d),g=c/p;return(v*f+p*c*(f-m)+(4*d*u-c*c)*Math.log((2*p+g+f)/(g+m)))/(4*v)},cs.curveTo=function(t,e,i,n,r){for(var o=r[r.length-2],s=r[r.length-1],a=ts._segmentsCount(cs.curveLength(o,s,t,e,i,n)),l=0,h=0,u=1;u<=a;++u){var c=u/a;l=o+(t-o)*c,h=s+(e-s)*c,r.push(l+(t+(i-t)*c-l)*c,h+(e+(n-e)*c-h)*c)}};function ds(){this.reset()}ds.prototype.begin=function(t,e,i){this.reset(),this.style=t,this.start=e,this.attribStart=i},ds.prototype.end=function(t,e){this.attribSize=e-this.attribStart,this.size=t-this.start},ds.prototype.reset=function(){this.style=null,this.size=0,this.start=0,this.attribStart=0,this.attribSize=0};var fs={};fs[Ue.POLY]=es,fs[Ue.CIRC]=is,fs[Ue.ELIP]=is,fs[Ue.RECT]=ns,fs[Ue.RREC]=rs;function ps(t,e,i,n){void 0===e&&(e=null),void 0===i&&(i=null),void 0===n&&(n=null),this.shape=t,this.lineStyle=i,this.fillStyle=e,this.matrix=n,this.type=t.type,this.points=[],this.holes=[]}var vs=[],ms=[];ps.prototype.clone=function(){return new ps(this.shape,this.fillStyle,this.lineStyle,this.matrix)},ps.prototype.destroy=function(){this.shape=null,this.holes.length=0,this.holes=null,this.points.length=0,this.points=null,this.lineStyle=null,this.fillStyle=null};var gs=new De,ys=new mn,_s=function(i){function n(){i.call(this),this.points=[],this.colors=[],this.uvs=[],this.indices=[],this.textureIds=[],this.graphicsData=[],this.dirty=0,this.batchDirty=-1,this.cacheDirty=-1,this.clearDirty=0,this.drawCalls=[],this.batches=[],this.shapeIndex=0,this._bounds=new mn,this.boundsDirty=-1,this.boundsPadding=0,this.batchable=!1,this.indicesUint16=null,this.uvsFloat32=null,this.closePointEps=1e-4}i&&(n.__proto__=i),(n.prototype=Object.create(i&&i.prototype)).constructor=n;
262var t={bounds:{configurable:!0}};return t.bounds.get=function(){return this.boundsDirty!==this.dirty&&(this.boundsDirty=this.dirty,this.calculateBounds()),this._bounds},n.prototype.invalidate=function(){this.boundsDirty=-1,this.dirty++,this.batchDirty++,this.shapeIndex=0,this.points.length=0,this.colors.length=0,this.uvs.length=0,this.indices.length=0;for(var t=this.textureIds.length=0;t<this.drawCalls.length;t++)this.drawCalls[t].textures.length=0,ms.push(this.drawCalls[t]);for(var e=this.drawCalls.length=0;e<this.batches.length;e++){var i=this.batches[e];i.start=0,i.attribStart=0,i.style=null,vs.push(i)}this.batches.length=0},n.prototype.clear=function(){return 0<this.graphicsData.length&&(this.invalidate(),this.clearDirty++,this.graphicsData.length=0),this},n.prototype.drawShape=function(t,e,i,n){var r=new ps(t,e,i,n);return this.graphicsData.push(r),this.dirty++,this},n.prototype.drawHole=function(t,e){if(!this.graphicsData.length)return null;var i=new ps(t,null,null,e),n=this.graphicsData[this.graphicsData.length-1];return i.lineStyle=n.lineStyle,n.holes.push(i),this.dirty++,this},n.prototype.destroy=function(t){i.prototype.destroy.call(this,t);for(var e=0;e<this.graphicsData.length;++e)this.graphicsData[e].destroy();this.points.length=0,this.points=null,this.colors.length=0,this.colors=null,this.uvs.length=0,this.uvs=null,this.indices.length=0,this.indices=null,this.indexBuffer.destroy(),this.indexBuffer=null,this.graphicsData.length=0,this.graphicsData=null,this.drawCalls.length=0,this.drawCalls=null,this.batches.length=0,this.batches=null,this._bounds=null},n.prototype.containsPoint=function(t){for(var e=this.graphicsData,i=0;i<e.length;++i){var n=e[i];if(n.fillStyle.visible&&(n.shape&&(n.matrix?n.matrix.applyInverse(t,gs):gs.copyFrom(t),n.shape.contains(gs.x,gs.y)))){var r=!1;if(n.holes)for(var o=0;o<n.holes.length;o++){if(n.holes[o].shape.contains(gs.x,gs.y)){r=!0;break}}if(!r)return!0}}return!1},n.prototype.updateBatches=function(){if(this.graphicsData.length){if(this.validateBatching()){this.cacheDirty=this.dirty;var t=this.uvs,e=this.graphicsData,i=null,n=null;0<this.batches.length&&(n=(i=this.batches[this.batches.length-1]).style);for(var r=this.shapeIndex;r<e.length;r++){this.shapeIndex++;var o=e[r],s=o.fillStyle,a=o.lineStyle;fs[o.type].build(o),o.matrix&&this.transformPoints(o.points,o.matrix);for(var l=0;l<2;l++){var h=0===l?s:a;if(h.visible){var u=h.texture.baseTexture,c=this.indices.length,d=this.points.length/2;u.wrapMode=de.REPEAT,i&&!this._compareStyles(n,h)&&(i.end(c,d),0<i.size&&(i=null)),i||((i=vs.pop()||new ds).begin(h,c,d),this.batches.push(i),n=h);var f=this.points.length/2;0===l?this.processFill(o):this.processLine(o);var p=this.points.length/2-f;this.addUvs(this.points,t,h.texture,f,p,h.matrix)}}}if(i){var v=this.indices.length,m=this.points.length/2;i.end(v,m),this.indicesUint16=new Uint16Array(this.indices),this.batchable=this.isBatchable(),this.batchable?this.packBatches():this.buildDrawCalls()}else this.batchable=!0}}else this.batchable=!0},n.prototype._compareStyles=function(t,e){return!(!t||!e)&&(t.texture.baseTexture===e.texture.baseTexture&&(t.color+t.alpha===e.color+e.alpha&&!!t.native==!!e.native))},n.prototype.validateBatching=function(){if(this.dirty===this.cacheDirty||!this.graphicsData.length)return!1;for(var t=0,e=this.graphicsData.length;t<e;t++){var i=this.graphicsData[t],n=i.fillStyle,r=i.lineStyle;if(n&&!n.texture.baseTexture.valid)return!1;if(r&&!r.texture.baseTexture.valid)return!1}return!0},n.prototype.packBatches=function(){this.batchDirty++,this.uvsFloat32=new Float32Array(this.uvs);for(var t=this.batches,e=0,i=t.length;e<i;e++)for(var n=t[e],r=0;r<n.size;r++){var o=n.start+r;this.indicesUint16[o]=this.indicesUint16[o]-n.attribStart}},n.prototype.isBatchable=function(){for(var t=this.batches,e=0;e<t.length;e++)if(t[e].style.native)return!1;return this.points.length<2*n.BATCHABLE_SIZE},n.prototype.buildDrawCalls=function(){for(var t=++An._globalBatch,e=0;e<this.drawCalls.length;e++)this.drawCalls[e].textures.length=0,ms.push(this.drawCalls[e]);this.drawCalls.length=0;var i=this.colors,n=this.textureIds,r=ms.pop();r||((r=new ho).textures=new uo),r.textures.count=0,r.start=0,r.size=0,r.type=ie.TRIANGLES;var o=0,s=null,a=0,l=!1,h=ie.TRIANGLES,u=0;this.drawCalls.push(r);for(var c=0;c<this.batches.length;c++){var d=this.batches[c],f=d.style,p=f.texture.baseTexture;l!==!!f.native&&(h=(l=!!f.native)?ie.LINES:ie.TRIANGLES,s=null,o=8,t++),s!==p&&(s=p)._batchEnabled!==t&&(8===o&&(t++,(o=0)<r.size&&((r=ms.pop())||((r=ne
262w ho).textures=new uo),this.drawCalls.push(r)),r.start=u,r.size=0,r.textures.count=0,r.type=h),p.touched=1,p._batchEnabled=t,p._batchLocation=o,p.wrapMode=10497,r.textures.elements[r.textures.count++]=p,o++),r.size+=d.size,u+=d.size,a=p._batchLocation,this.addColors(i,f.color,f.alpha,d.attribSize),this.addTextureIds(n,a,d.attribSize)}An._globalBatch=t,this.packAttributes()},n.prototype.packAttributes=function(){for(var t=this.points,e=this.uvs,i=this.colors,n=this.textureIds,r=new ArrayBuffer(3*t.length*4),o=new Float32Array(r),s=new Uint32Array(r),a=0,l=0;l<t.length/2;l++)o[a++]=t[2*l],o[a++]=t[2*l+1],o[a++]=e[2*l],o[a++]=e[2*l+1],s[a++]=i[l],o[a++]=n[l];this._buffer.update(r),this._indexBuffer.update(this.indicesUint16)},n.prototype.processFill=function(t){t.holes.length?(this.processHoles(t.holes),es.triangulate(t,this)):fs[t.type].triangulate(t,this)},n.prototype.processLine=function(t){as(t,this);for(var e=0;e<t.holes.length;e++)as(t.holes[e],this)},n.prototype.processHoles=function(t){for(var e=0;e<t.length;e++){var i=t[e];fs[i.type].build(i),i.matrix&&this.transformPoints(i.points,i.matrix)}},n.prototype.calculateBounds=function(){var t=this._bounds,e=ys,i=He.IDENTITY;this._bounds.clear(),e.clear();for(var n=0;n<this.graphicsData.length;n++){var r=this.graphicsData[n],o=r.shape,s=r.type,a=r.lineStyle,l=r.matrix||He.IDENTITY,h=0;if(a&&a.visible){var u=a.alignment;h=a.width,s===Ue.POLY?h*=.5+Math.abs(.5-u):h*=Math.max(0,u)}i!==l&&(e.isEmpty()||(t.addBoundsMatrix(e,i),e.clear()),i=l),s===Ue.RECT||s===Ue.RREC?e.addFramePad(o.x,o.y,o.x+o.width,o.y+o.height,h,h):s===Ue.CIRC?e.addFramePad(o.x,o.y,o.x,o.y,o.radius+h,o.radius+h):s===Ue.ELIP?e.addFramePad(o.x,o.y,o.x,o.y,o.width+h,o.height+h):t.addVerticesMatrix(i,o.points,0,o.points.length,h,h)}e.isEmpty()||t.addBoundsMatrix(e,i),t.pad(this.boundsPadding,this.boundsPadding)},n.prototype.transformPoints=function(t,e){for(var i=0;i<t.length/2;i++){var n=t[2*i],r=t[2*i+1];t[2*i]=e.a*n+e.c*r+e.tx,t[2*i+1]=e.b*n+e.d*r+e.ty}},n.prototype.addColors=function(t,e,i,n){for(var r=Hi((e>>16)+(65280&e)+((255&e)<<16),i);0<n--;)t.push(r)},n.prototype.addTextureIds=function(t,e,i){for(;0<i--;)t.push(e)},n.prototype.addUvs=function(t,e,i,n,r,o){for(var s=0,a=e.length,l=i.frame;s<r;){var h=t[2*(n+s)],u=t[2*(n+s)+1];if(o){var c=o.a*h+o.c*u+o.tx;u=o.b*h+o.d*u+o.ty,h=c}s++,e.push(h/l.width,u/l.height)}var d=i.baseTexture;(l.width<d.width||l.height<d.height)&&this.adjustUvs(e,i,a,r)},n.prototype.adjustUvs=function(t,e,i,n){for(var r=e.baseTexture,o=i+2*n,s=e.frame,a=s.width/r.width,l=s.height/r.height,h=s.x/s.width,u=s.y/s.height,c=Math.floor(t[i]+1e-6),d=Math.floor(t[i+1]+1e-6),f=i+2;f<o;f+=2)c=Math.min(c,Math.floor(t[f]+1e-6)),d=Math.min(d,Math.floor(t[f+1]+1e-6));h-=c,u-=d;for(var p=i;p<o;p+=2)t[p]=(t[p]+h)*a,t[p+1]=(t[p+1]+u)*l},Object.defineProperties(n.prototype,t),n}(go);_s.BATCHABLE_SIZE=100;var xs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.clone=function(){var t=new e;return t.color=this.color,t.alpha=this.alpha,t.texture=this.texture,t.matrix=this.matrix,t.visible=this.visible,t.width=this.width,t.alignment=this.alignment,t.native=this.native,t},e.prototype.reset=function(){t.prototype.reset.call(this),this.color=0,this.width=0,this.alignment=.5,this.native=!1},e}($o),ws=new Float32Array(3),bs={},Ts=function(e){function i(t){void 0===t&&(t=null),e.call(this),this.geometry=t||new _s,this.geometry.refCount++,this.shader=null,this.state=jr.for2d(),this._fillStyle=new $o,this._lineStyle=new xs,this._matrix=null,this._holeMode=!1,this.currentPath=null,this.batches=[],this.batchTint=-1,this.vertexData=null,this._transformID=-1,this.batchDirty=-1,this.pluginName="batch",this.tint=16777215,this.blendMode=te.NORMAL}e&&(i.__proto__=e);var t={blendMode:{configurable:!0},tint:{configurable:!0},fill:{configurable:!0},line:{configurable:!0}};return((i.prototype=Object.create(e&&e.prototype)).constructor=i).prototype.clone=function(){return this.finishPoly(),new i(this.geometry)},t.blendMode.set=function(t){this.state.blendMode=t},t.blendMode.get=function(){return this.state.blendMode},t.tint.get=function(){return this._tint},t.tint.set=function(t){this._tint=t},t.fill.get=function(){return this._fillStyle},t.line.get=function(){return this._lineStyle},i.prototype.lineStyle=function(t){if("number"==typeof t){var e=arguments;t={width:e[0]||0,color:e[1]||0,alpha:void 0!==e[2]?e[2]:1,alignment:void 0!==e[3]?e[3]:.5,native:!!e[4]}}return this.lineTextureStyle(t)},i.prototype.lineTextureStyle=function(e,t,i,n,r,o,s){"number"==typeof e&&(vn(0,"Please use object-based options for Graphics#lineTextureStyle"),e={width:arguments[0],texture:t,color:i,alpha:n,matrix:r,alignment:o,native:s},Object.keys(e).forEach(function(t){return void 0===e[t]&&delete e[t]}));e=Object.assign({width:0,texture:zn.WHITE,color:e&&e.texture?16777215:0,alpha:1,matrix:null,alignment:.5,native:!1},e),this.currentPath&&this.startPoly();var a=0<e.width&&0<e.alpha;return a?(e.matrix&&(e.matrix=e.matrix.clone(),e.matrix.invert()),Object.assign(this._lineStyle,{visible:a},e)):this._lineStyle.reset(),this},i.prototype.startPoly=function(){if(this.currentPath){var t=this.currentPath.points,e=this.currentPath.points.length;2<e&&(this.drawShape(this.currentPath),this.currentPath=new li,this.currentPath.closeStroke=!1,this.currentPath.points.push(t[e-2],t[e-1]))}else this.currentPath=new li,this.currentPath.closeStroke=!1},i.prototype.finishPoly=function(){this.currentPath&&(2<this.currentPath.points.length?(this.drawShape(this.currentPath),this.currentPath=null):this.currentPath.points.length=0)},i.prototype.moveTo=function(t,e){return this.startPoly(),this.currentPath.points[0]=t,this.currentPath.points[1]=e,this},i.prototype.lineTo=function(t,e){this.currentPath||this.moveTo(0,0);var i=this.currentPath.points,n=i[i.length-2],r=i[i.length-1];return n===t&&r===e||i.push(t,e),this},i.prototype._initCurve=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.currentPath?0===this.currentPath.points.length&&(this.currentPath.points=[t,e]):this.moveTo(t,e)}
262,i.prototype.quadraticCurveTo=function(t,e,i,n){this._initCurve();var r=this.currentPath.points;return 0===r.length&&this.moveTo(0,0),cs.curveTo(t,e,i,n,r),this},i.prototype.bezierCurveTo=function(t,e,i,n,r,o){return this._initCurve(),us.curveTo(t,e,i,n,r,o,this.currentPath.points),this},i.prototype.arcTo=function(t,e,i,n,r){this._initCurve(t,e);var o=this.currentPath.points,s=ls.curveTo(t,e,i,n,r,o);if(s){var a=s.cx,l=s.cy,h=s.radius,u=s.startAngle,c=s.endAngle,d=s.anticlockwise;this.arc(a,l,h,u,c,d)}return this},i.prototype.arc=function(t,e,i,n,r,o){if(void 0===o&&(o=!1),n===r)return this;if(!o&&r<=n?r+=Xe:o&&n<=r&&(n+=Xe),0==r-n)return this;var s=t+Math.cos(n)*i,a=e+Math.sin(n)*i,l=this.geometry.closePointEps,h=this.currentPath?this.currentPath.points:null;if(h){var u=Math.abs(h[h.length-2]-s),c=Math.abs(h[h.length-1]-a);u<l&&c<l||h.push(s,a)}else this.moveTo(s,a),h=this.currentPath.points;return ls.arc(s,a,t,e,i,n,r,o,h),this},i.prototype.beginFill=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=1),this.beginTextureFill({texture:zn.WHITE,color:t,alpha:e})},i.prototype.beginTextureFill=function(e,t,i,n){e instanceof zn&&(vn(0,"Please use object-based options for Graphics#beginTextureFill"),e={texture:arguments[0],color:t,alpha:i,matrix:n},Object.keys(e).forEach(function(t){return void 0===e[t]&&delete e[t]}));e=Object.assign({texture:zn.WHITE,color:16777215,alpha:1,matrix:null},e),this.currentPath&&this.startPoly();var r=0<e.alpha;return r?(e.matrix&&(e.matrix=e.matrix.clone(),e.matrix.invert()),Object.assign(this._fillStyle,{visible:r},e)):this._fillStyle.reset(),this},i.prototype.endFill=function(){return this.finishPoly(),this._fillStyle.reset(),this},i.prototype.drawRect=function(t,e,i,n){return this.drawShape(new ii(t,e,i,n))},i.prototype.drawRoundedRect=function(t,e,i,n,r){return this.drawShape(new ui(t,e,i,n,r))},i.prototype.drawCircle=function(t,e,i){return this.drawShape(new ri(t,e,i))},i.prototype.drawEllipse=function(t,e,i,n){return this.drawShape(new si(t,e,
262i,n))},i.prototype.drawPolygon=function(t){var e=arguments,i=t,n=!0;if(i.points&&(n=i.closeStroke,i=i.points),!Array.isArray(i)){i=new Array(arguments.length);for(var r=0;r<i.length;++r)i[r]=e[r]}var o=new li(i);return o.closeStroke=n,this.drawShape(o),this},i.prototype.drawShape=function(t){return this._holeMode?this.geometry.drawHole(t,this._matrix):this.geometry.drawShape(t,this._fillStyle.clone(),this._lineStyle.clone(),this._matrix),this},i.prototype.drawStar=function(t,e,i,n,r,o){return void 0===o&&(o=0),this.drawPolygon(new hs(t,e,i,n,r,o))},i.prototype.clear=function(){return this.geometry.clear(),this._lineStyle.reset(),this._fillStyle.reset(),this._matrix=null,this._holeMode=!1,this.currentPath=null,this},i.prototype.isFastRect=function(){return 1===this.geometry.graphicsData.length&&this.geometry.graphicsData[0].shape.type===Ue.RECT&&!this.geometry.graphicsData[0].lineWidth},i.prototype._render=function(t){this.finishPoly();var e=this.geometry;e.updateBatches(),e.batchable?(this.batchDirty!==e.batchDirty&&this._populateBatches(),this._renderBatched(t)):(t.batch.flush(),this._renderDirect(t))},i.prototype._populateBatches=function(){var t=this.geometry,e=this.blendMode;this.batches=[],this.batchTint=-1,this._transformID=-1,this.batchDirty=t.batchDirty,this.vertexData=new Float32Array(t.points);for(var i=0,n=t.batches.length;i<n;i++){var r=t.batches[i],o=r.style.color,s=new Float32Array(this.vertexData.buffer,4*r.attribStart*2,2*r.attribSize),a=new Float32Array(t.uvsFloat32.buffer,4*r.attribStart*2,2*r.attribSize),l={vertexData:s,blendMode:e,indices:new Uint16Array(t.indicesUint16.buffer,2*r.start,r.size),uvs:a,_batchRGB:Fi(o),_tintRGB:o,_texture:r.style.texture,alpha:r.style.alpha,worldAlpha:1};this.batches[i]=l}},i.prototype._renderBatched=function(t){if(this.batches.length){t.batch.setObjectRenderer(t.plugins[this.pluginName]),this.calculateVertices(),this.calculateTints();for(var e=0,i=this.batches.length;e<i;e++){var n=this.batches[e];n.worldAlpha=this.worldAlpha*n.alpha,t.plugins[this.pluginName].render(n)}}},i.prototype._renderDirect=function(t){var e=this._resolveDirectShader(t),i=this.geometry,n=this.tint,r=this.worldAlpha,o=e.uniforms,s=i.drawCalls;o.translationMatrix=this.transform.worldTransform,o.tint[0]=(n>>16&255)/255*r,o.tint[1]=(n>>8&255)/255*r,o.tint[2]=(255&n)/255*r,o.tint[3]=r,t.shader.bind(e),t.geometry.bind(i,e),t.state.set(this.state);for(var a=0,l=s.length;a<l;a++)this._renderDrawCallDirect(t,i.drawCalls[a])},i.prototype._renderDrawCallDirect=function(t,e){for(var i=e.textures,n=e.type,r=e.size,o=e.start,s=i.count,a=0;a<s;a++)t.texture.bind(i.elements[a],a);t.geometry.draw(n,r,o)},i.prototype._resolveDirectShader=function(t){var e=this.shader,i=this.pluginName;if(!e){if(!bs[i]){for(var n=new Int32Array(16),r=0;r<16;r++)n[r]=r;var o={tint:new Float32Array([1,1,1,1]),translationMatrix:new He,default:er.from({uSamplers:n},!0)},s=t.plugins[i]._shader.program;bs[i]=new Br(s,o)}e=bs[i]}return e},i.prototype._calculateBounds=function(){this.finishPoly();var t=this.geometry;if(t.graphicsData.length){var e=t.bounds,i=e.minX,n=e.minY,r=e.maxX,o=e.maxY;this._bounds.addFrame(this.transform,i,n,r,o)}},i.prototype.containsPoint=function(t){return this.worldTransform.applyInverse(t,i._TEMP_POINT),this.geometry.containsPoint(i._TEMP_POINT)},i.prototype.calculateTints=function(){if(this.batchTint!==this.tint){this.batchTint=this.tint;for(var t=Fi(this.tint,ws),e=0;e<this.batches.length;e++){var i=this.batches[e],n=i._batchRGB,r=(t[0]*n[0]*255<<16)+(t[1]*n[1]*255<<8)+(0|t[2]*n[2]*255);i._tintRGB=(r>>16)+(65280&r)+((255&r)<<16)}}},i.prototype.calculateVertices=function(){if(this._transformID!==this.transform._worldID){this._transformID=this.transform._worldID;for(var t=this.transform.worldTransform,e=t.a,i=t.b,n=t.c,r=t.d,o=t.tx,s=t.ty,a=this.geometry.points,l=this.vertexData,h=0,u=0;u<a.length;u+=2){var c=a[u],d=a[u+1];l[h++]=e*c+n*d+o,l[h++]=r*d+i*c+s}}},i.prototype.closePath=function(){var t=this.currentPath;return t&&(t.closeStroke=!0),this}
262,i.prototype.setMatrix=function(t){return this._matrix=t,this},i.prototype.beginHole=function(){return this.finishPoly(),this._holeMode=!0,this},i.prototype.endHole=function(){return this.finishPoly(),this._holeMode=!1,this},i.prototype.destroy=function(t){e.prototype.destroy.call(this,t),this.geometry.refCount--,0===this.geometry.refCount&&this.geometry.dispose(),this._matrix=null,this.currentPath=null,this._lineStyle.destroy(),this._lineStyle=null,this._fillStyle.destroy(),this._fillStyle=null,this.geometry=null,this.shader=null,this.vertexData=null,this.batches.length=0,this.batches=null,e.prototype.destroy.call(this,t)},Object.defineProperties(i.prototype,t),i}(_n);Ts._TEMP_POINT=new De;function Es(t){this.styleID=0,this.reset(),Ns(this,t,t)}
263/*!
264 * @pixi/sprite-tiling - v5.2.0
265 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
266 *
267 * @pixi/sprite-tiling is licensed under the MIT License.
268 * http://www.opensource.org/licenses/mit-license
269 */
270var Ss=new De,Os=function(n){function o(t,e,i){void 0===e&&(e=100),void 0===i&&(i=100),n.call(this,t),this.tileTransform=new ti,this._width=e,this._height=i,this._canvasPattern=null,this.uvMatrix=t.uvMatrix||new Wr(t),this.pluginName="tilingSprite",this.uvRespectAnchor=!1}n&&(o.__proto__=n),(o.prototype=Object.create(n&&n.prototype)).constructor=o;var t={clampMargin:{configurable:!0},tileScale:{configurable:!0},tilePosition:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};return t.clampMargin.get=function(){return this.uvMatrix.clampMargin},t.clampMargin.set=function(t){this.uvMatrix.clampMargin=t,this.uvMatrix.update(!0)},t.tileScale.get=function(){return this.tileTransform.scale},t.tileScale.set=function(t){this.tileTransform.scale.copyFrom(t)},t.tilePosition.get=function(){return this.tileTransform.position},t.tilePosition.set=function(t){this.tileTransform.position.copyFrom(t)},o.prototype._onTextureUpdate=function(){this.uvMatrix&&(this.uvMatrix.texture=this._texture),this._cachedTint=16777215},o.prototype._render=function(t){var e=this._texture;e&&e.valid&&(this.tileTransform.updateLocalTransform(),this.uvMatrix.update(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},o.prototype._calculateBounds=function(){var t=this._width*-this._anchor._x,e=this._height*-this._anchor._y,i=this._width*(1-this._anchor._x),n=this._height*(1-this._anchor._y);this._bounds.addFrame(this.transform,t,e,i,n)},o.prototype.getLocalBounds=function(t){return 0===this.children.length?(this._bounds.minX=this._width*-this._anchor._x,this._bounds.minY=this._height*-this._anchor._y,this._bounds.maxX=this._width*(1-this._anchor._x),this._bounds.maxY=this._height*(1-this._anchor._y),t||(this._localBoundsRect||(this._localBoundsRect=new ii),t=this._localBoundsRect),this._bounds.getRectangle(t)):n.prototype.getLocalBounds.call(this,t)},o.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,Ss);var e=this._width,i=this._height,n=-e*this.anchor._x;if(Ss.x>=n&&Ss.x<n+e){var r=-i*this.anchor._y;if(Ss.y>=r&&Ss.y<r+i)return!0}return!1},o.prototype.destroy=function(t){n.prototype.destroy.call(this,t),this.tileTransform=null,this.uvMatrix=null},o.from=function(t,e,i){return new o(zn.from(t),e,i)},o.fromFrame=function(t,e,i){var n=en[t];if(!n)throw new Error('The frameId "'+t+'" does not exist in the texture cache '+this);return new o(n,e,i)},o.fromImage=function(t,e,i,n,r){return n&&"object"!=typeof n&&(n={scaleMode:r,resourceOptions:{crossorigin:arguments[3]}}),new o(zn.from(t,n),e,i)},t.width.get=function(){return this._width},t.width.set=function(t){this._width=t},t.height.get=function(){return this._height},t.height.set=function(t){this._height=t},Object.defineProperties(o.prototype,t),o}(Zo),Ps="attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0
270)).xy, 0.0, 1.0);\n\n    vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n",As=new He,Cs=function(i){function t(t){i.call(this,t);var e={globals:this.renderer.globalUniforms};this.shader=Br.from(Ps,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\nuniform mat3 uMapCoord;\nuniform vec4 uClampFrame;\nuniform vec2 uClampOffset;\n\nvoid main(void)\n{\n    vec2 coord = vTextureCoord - floor(vTextureCoord - uClampOffset);\n    coord = (uMapCoord * vec3(coord, 1.0)).xy;\n    coord = clamp(coord, uClampFrame.xy, uClampFrame.zw);\n\n    vec4 texSample = texture2D(uSampler, coord);\n    gl_FragColor = texSample * uColor;\n}\n",e),this.simpleShader=Br.from(Ps,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\n\nvoid main(void)\n{\n    vec4 sample = texture2D(uSampler, vTextureCoord);\n    gl_FragColor = sample * uColor;\n}\n",e),this.quad=new nr}return i&&(t.__proto__=i),((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.render=function(t){var e=this.renderer,i=this.quad,n=i.vertices;n[0]=n[6]=t._width*-t.anchor.x,n[1]=n[3]=t._height*-t.anchor.y,n[2]=n[4]=t._width*(1-t.anchor.x),n[5]=n[7]=t._height*(1-t.anchor.y),t.uvRespectAnchor&&((n=i.uvs)[0]=n[6]=-t.anchor.x,n[1]=n[3]=-t.anchor.y,n[2]=n[4]=1-t.anchor.x,n[5]=n[7]=1-t.anchor.y),i.invalidate();var r=t._texture,o=r.baseTexture,s=t.tileTransform.localTransform,a=t.uvMatrix,l=o.isPowerOfTwo&&r.frame.width===o.width&&r.frame.height===o.height;l&&(o._glTextures[e.CONTEXT_UID]?l=o.wrapMode!==de.CLAMP:o.wrapMode===de.CLAMP&&(o.wrapMode=de.REPEAT));
270var h=l?this.simpleShader:this.shader,u=r.width,c=r.height,d=t._width,f=t._height;As.set(s.a*u/d,s.b*u/f,s.c*c/d,s.d*c/f,s.tx/d,s.ty/f),As.invert(),l?As.prepend(a.mapCoord):(h.uniforms.uMapCoord=a.mapCoord.toArray(!0),h.uniforms.uClampFrame=a.uClampFrame,h.uniforms.uClampOffset=a.uClampOffset),h.uniforms.uTransform=As.toArray(!0),h.uniforms.uColor=Gi(t.tint,t.worldAlpha,h.uniforms.uColor,o.alphaMode),h.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),h.uniforms.uSampler=r,e.shader.bind(h),e.geometry.bind(i),e.state.setBlendMode(zi(t.blendMode,o.alphaMode)),e.geometry.draw(this.renderer.gl.TRIANGLES,6,0)},t}(sr),Is=0,Ms={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fillGradientType:Is,fillGradientStops:[],fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:0,lineHeight:0,lineJoin:"miter",miterLimit:10,padding:0,stroke:"black",strokeThickness:0,textBaseline:"alphabetic",trim:!1,whiteSpace:"pre",wordWrap:!1,wordWrapWidth:100,leading:0},ks=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],Rs={align:{configurable:!0},breakWords:{configurable:!0},dropShadow:{configurable:!0},dropShadowAlpha:{configurable:!0},dropShadowAngle:{configurable:!0},dropShadowBlur:{configurable:!0},dropShadowColor:{configurable:!0},dropShadowDistance:{configurable:!0},fill:{configurable:!0},fillGradientType:{configurable:!0},fillGradientStops:{configurable:!0},fontFamily:{configurable:!0},fontSize:{configurable:!0},fontStyle:{configurable:!0},fontVariant:{configurable:!0},fontWeight:{configurable:!0},letterSpacing:{configurable:!0},lineHeight:{configurable:!0},leading:{configurable:!0},lineJoin:{configurable:!0},miterLimit:{configurable:!0},padding:{configurable:!0},stroke:{configurable:!0},strokeThickness:{configurable:!0},textBaseline:{configurable:!0},trim:{configurable:!0},whiteSpace:{configurable:!0},wordWrap:{configurable:!0},wordWrapWidth:{configurable:!0}};function Ls(t){return"number"==typeof t?Bi(t):("string"==typeof t&&0===t.indexOf("0x")&&(t=t.replace("0x","#")),t)}function Ds(t){if(Array.isArray(t)){for(var e=0;e<t.length;++e)t[e]=Ls(t[e]);return t}return Ls(t)}function Ns(t,e,i){for(var n in i)Array.isArray(e[n])?t[n]=e[n].slice():t[n]=e[n]}Es.prototype.clone=function(){var t={};return Ns(t,this,Ms),new Es(t)},Es.prototype.reset=function(){Ns(this,Ms,Ms)},Rs.align.get=function(){return this._align},Rs.align.set=function(t){this._align!==t&&(this._align=t,this.styleID++)},Rs.breakWords.get=function(){return this._breakWords},Rs.breakWords.set=function(t){this._breakWords!==t&&(this._breakWords=t,this.styleID++)},Rs.dropShadow.get=function(){return this._dropShadow},Rs.dropShadow.set=function(t){this._dropShadow!==t&&(this._dropShadow=t,this.styleID++)},Rs.dropShadowAlpha.get=function(){return this._dropShadowAlpha},Rs.dropShadowAlpha.set=function(t){this._dropShadowAlpha!==t&&(this._dropShadowAlpha=t,this.styleID++)},Rs.dropShadowAngle.get=function(){return this._dropShadowAngle},Rs.dropShadowAngle.set=function(t){this._dropShadowAngle!==t&&(this._dropShadowAngle=t,this.styleID++)},Rs.dropShadowBlur.get=function(){return this._dropShadowBlur},Rs.dropShadowBlur.set=function(t){this._dropShadowBlur!==t&&(this._dropShadowBlur=t,this.styleID++)},Rs.dropShadowColor.get=function(){return this._dropShadowColor},Rs.dropShadowColor.set=function(t){var e=Ds(t);this._dropShadowColor!==e&&(this._dropShadowColor=e,this.styleID++)},Rs.dropShadowDistance.get=function(){return this._dropShadowDistance},Rs.dropShadowDistance.set=function(t){this._dropShadowDistance!==t&&(this._dropShadowDistance=t,this.styleID++)},Rs.fill.get=function(){return this._fill},Rs.fill.set=function(t){var e=Ds(t);this._fill!==e&&(this._fill=e,this.styleID++)},Rs.fillGradientType.get=function(){return this._fillGradientType},Rs.fillGradientType.set=function(t){this._fillGradientType!==t&&(this._fillGradientType=t,this.styleID++)},Rs.fillGradientStops.get=function(){return this._fillGradientStops},Rs.fillGradientStops.set=function(t){!function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var i=0;i<t.length;++i)if(t[i]!==e[i])return!1;return!0}(this._fillGradientStops,t)&&(this._fillGradientStops=t,this.styleID++)},Rs.fontFamily.get=function(){return this._fontFamily},Rs.fontFamily.set=function(t){this.fontFamily!==t&&(this._fontFamily=t,this.styleID++)},Rs.fontSize.get=function(){return this._fontSize},Rs.fontSize.set=function(t){this._fontSize!==t&&(this._fontSize=t,this.styleID++)},Rs.fontStyle.get=function(){return this._fontStyle},Rs.fontStyle.set=function(t){this._fontStyle!==t&&(this._fontStyle=t,this.styleID++)},Rs.fontVariant.get=function(){return this._fontVariant},Rs.fontVariant.set=function(t){this._fontVariant!==t&&(this._fontVariant=t,this.styleID++)},Rs.fontWeight.get=function(){return this._fontWeight},Rs.fontWeight.set=function(t){this._fontWeight!==t&&(this._fontWeight=t,this.styleID++)},Rs.letterSpacing.get=function(){return this._letterSpacing},Rs.letterSpacing.set=function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.styleID++)},Rs.lineHeight.get=function(){return this._lineHeight},Rs.lineHeight.set=function(t){this._lineHeight!==t&&(this._lineHeight=t,this.styleID++)},Rs.leading.get=function(){return this._leading},Rs.leading.set=function(t){this._leading!==t&&(this._leading=t,this.styleID++)},Rs.lineJoin.get=function(){return this._lineJoin},Rs.lineJoin.set=function(t){this._lineJoin!==t&&(this._lineJoin=t,this.styleID++)},Rs.miterLimit.get=function(){return this._miterLimit},Rs.miterLimit.set=function(t){this._miterLimit!==t&&(this._miterLimit=t,this.styleID++)},Rs.padding.get=function(){return this._padding},Rs.padding.set=function(t){this._padding!==t&&(this._padding=t,this.styleID++)},Rs.stroke.get=function(){return this._stroke},Rs.stroke.set=function(t){var e=Ds(t);this._stroke!==e&&(this._stroke=e,this.styleID++)},Rs.strokeThickness.get=function(){return this._strokeThickness},Rs.strokeThickness.set=function(t){this._strokeThickness!==t&&(this._strokeThickness=t,this.styleID++)},Rs.textBaseline.get=function(){return this._textBaseline},Rs.textBaseline.set=function(t){this._textBaseline!==t&&(this._textBaseline=t,this.styleID++)},Rs.trim.get=function(){return this._trim},Rs.trim.set=function(t){this._trim!==t&&(this._trim=t,this.styleID++)},Rs.whiteSpace.get=function(){return this._whiteSpace},Rs.whiteSpace.set=function(t){this._whiteSpace!==t&&(this._whiteSpace=t,this.styleID++)},Rs.wordWrap.get=function(){return this._wordWrap}
270,Rs.wordWrap.set=function(t){this._wordWrap!==t&&(this._wordWrap=t,this.styleID++)},Rs.wordWrapWidth.get=function(){return this._wordWrapWidth},Rs.wordWrapWidth.set=function(t){this._wordWrapWidth!==t&&(this._wordWrapWidth=t,this.styleID++)},Es.prototype.toFontString=function(){var t="number"==typeof this.fontSize?this.fontSize+"px":this.fontSize,e=this.fontFamily;Array.isArray(this.fontFamily)||(e=this.fontFamily.split(","));for(var i=e.length-1;0<=i;i--){var n=e[i].trim();!/([\"\'])[^\'\"]+\1/.test(n)&&ks.indexOf(n)<0&&(n='"'+n+'"'),e[i]=n}return this.fontStyle+" "+this.fontVariant+" "+this.fontWeight+" "+t+" "+e.join(",")},Object.defineProperties(Es.prototype,Rs);function Fs(t,e,i,n,r,o,s,a,l){this.text=t,this.style=e,this.width=i,this.height=n,this.lines=r,this.lineWidths=o,this.lineHeight=s,this.maxLineWidth=a,this.fontProperties=l}Fs.measureText=function(t,e,i,n){void 0===n&&(n=Fs._canvas),i=null==i?e.wordWrap:i;var r=e.toFontString(),o=Fs.measureFont(r);0===o.fontSize&&(o.fontSize=e.fontSize,o.ascent=e.fontSize);var s=n.getContext("2d");s.font=r;for(var a=(i?Fs.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),l=new Array(a.length),h=0,u=0;u<a.length;u++){var c=s.measureText(a[u]).width+(a[u].length-1)*e.letterSpacing;l[u]=c,h=Math.max(h,c)}var d=h+e.strokeThickness;e.dropShadow&&(d+=e.dropShadowDistance);var f=e.lineHeight||o.fontSize+e.strokeThickness,p=Math.max(f,o.fontSize+e.strokeThickness)+(a.length-1)*(f+e.leading);return e.dropShadow&&(p+=e.dropShadowDistance),new Fs(t,e,d,p,a,l,f+e.leading,h,o)},Fs.wordWrap=function(t,e,i){void 0===i&&(i=Fs._canvas);for(var n=i.getContext("2d"),r=0,o="",s="",a={},l=e.letterSpacing,h=e.whiteSpace,u=Fs.collapseSpaces(h),c=Fs.collapseNewlines(h),d=!u,f=e.wordWrapWidth+l,p=Fs.tokenize(t),v=0;v<p.length;v++){var m=p[v];if(Fs.isNewline(m)){if(!c){s+=Fs.addLine(o),d=!u,o="",r=0;continue}m=" "}if(u){var g=Fs.isBreakingSpace(m),y=Fs.isBreakingSpace(o[o.length-1]);if(g&&y)continue}var _=Fs.getFromCache(m,l,a,n);if(f<_)if(""!==o&&(s+=Fs.addLine(o),o="",r=0),Fs.canBreakWords(m,e.breakWords))for(var x=m.split(""),w=0;w<x.length;w++){for(var b=x[w],T=1;x[w+T];){var E=x[w+T],S=b[b.length-1];if(Fs.canBreakChars(S,E,m,w,e.breakWords))break;b+=E,T++}w+=b.length-1;var O=Fs.getFromCache(b,l,a,n);f<O+r&&(s+=Fs.addLine(o),d=!1,o="",r=0),o+=b,r+=O}else{0<o.length&&(s+=Fs.addLine(o),o="",r=0);var P=v===p.length-1;s+=Fs.addLine(m,!P),d=!1,o="",r=0}else f<_+r&&(d=!1,s+=Fs.addLine(o),o="",r=0),(0<o.length||!Fs.isBreakingSpace(m)||d)&&(o+=m,r+=_)}return s+=Fs.addLine(o,!1)},Fs.addLine=function(t,e){return void 0===e&&(e=!0),t=Fs.trimRight(t),t=e?t+"\n":t},Fs.getFromCache=function(t,e,i,n){var r=i[t];if(void 0===r){var o=t.length*e;r=n.measureText(t).width+o,i[t]=r}return r},Fs.collapseSpaces=function(t){return"normal"===t||"pre-line"===t},Fs.collapseNewlines=function(t){return"normal"===t},Fs.trimRight=function(t){if("string"!=typeof t)return"";for(var e=t.length-1;0<=e;e--){var i=t[e];if(!Fs.isBreakingSpace(i))break;t=t.slice(0,-1)}return t},Fs.isNewline=function(t){return"string"==typeof t&&0<=Fs._newlines.indexOf(t.charCodeAt(0))},Fs.isBreakingSpace=function(t){return"string"==typeof t&&0<=Fs._breakingSpaces.indexOf(t.charCodeAt(0))},Fs.tokenize=function(t){var e=[],i="";if("string"!=typeof t)return e;for(var n=0;n<t.length;n++){var r=t[n];Fs.isBreakingSpace(r)||Fs.isNewline(r)?(""!==i&&(e.push(i),i=""),e.push(r)):i+=r}return""!==i&&e.push(i),e},Fs.canBreakWords=function(t,e){return e},Fs.canBreakChars=function(t,e,i,n,r){return!0},Fs.measureFont=function(t){if(Fs._fonts[t])return Fs._fonts[t];var e={},i=Fs._canvas,n=Fs._context;n.font=t;var r=Fs.METRICS_STRING+Fs.BASELINE_SYMBOL,o=Math.ceil(n.measureText(r).width),s=Math.ceil(n.measureText(Fs.BASELINE_SYMBOL).width),a=2*s;s=s*Fs.BASELINE_MULTIPLIER|0,i.width=o,i.height=a,n.fillStyle="#f00",n.fillRect(0,0,o,a),n.font=t,n.textBaseline="alphabetic",n.fillStyle="#000",n.fillText(r,0,s);var l=n.getImageData(0,0,o,a).data,h=l.length,u=4*o,c=0,d=0,f=!1;for(c=0;c<s;++c){for(var p=0;p<u;p+=4)if(255!==l[d+p]){f=!0;break}if(f)break;d+=u}for(e.ascent=s-c,d=h-u,f=!1,c=a;s<c;--c){for(var v=0;v<u;v+=4)if(255!==l[d+v]){f=!0;break}if(f)break;d-=u}return e.descent=c-s,e.fontSize=e.ascent+e.descent,Fs._fonts[t]=e},Fs.clearMetrics=function(t){void 0===t&&(t=""),t?delete Fs._fonts[t]:Fs._fonts={}};var Bs=function(){try{var t=new OffscreenCanvas(0,0);return t.getContext("2d")?t:document.createElement("canvas")}catch(t){return document.createElement("canvas")}}();Bs.width=Bs.height=10,Fs._canvas=Bs,Fs._context=Bs.getContext("2d"),Fs._fonts={},Fs.METRICS_STRING="|ÉqÅ",Fs.BASELINE_SYMBOL="M",Fs.BASELINE_MULTIPLIER=1.4,Fs._newlines=[10,13];var Us={texture:!0,children:!(Fs._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288]),baseTexture:!0},js=function(r){function t(t,e,i){(i=i||document.createElement("canvas")).width=3,i.height=3;var n=zn.from(i);n.orig=new ii,n.trim=new ii,r.call(this,n),this.canvas=i,this.context=this.canvas.getContext("2d"),this._resolution=yi.RESOLUTION,this._autoResolution=!0,this._text=null,this._style=null,this._styleListener=null,this._font="",this.text=t,this.style=e,this.localStyleID=-1}r&&(t.__proto__=r);
270var e={width:{configurable:!0},height:{configurable:!0},style:{configurable:!0},text:{configurable:!0},resolution:{configurable:!0}};return((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.updateText=function(t){var e=this._style;if(this.localStyleID!==e.styleID&&(this.dirty=!0,this.localStyleID=e.styleID),this.dirty||!t){this._font=this._style.toFontString();var i,n,r=this.context,o=Fs.measureText(this._text||" ",this._style,this._style.wordWrap,this.canvas),s=o.width,a=o.height,l=o.lines,h=o.lineHeight,u=o.lineWidths,c=o.maxLineWidth,d=o.fontProperties;this.canvas.width=Math.ceil((Math.max(1,s)+2*e.padding)*this._resolution),this.canvas.height=Math.ceil((Math.max(1,a)+2*e.padding)*this._resolution),r.scale(this._resolution,this._resolution),r.clearRect(0,0,this.canvas.width,this.canvas.height),r.font=this._font,r.lineWidth=e.strokeThickness,r.textBaseline=e.textBaseline,r.lineJoin=e.lineJoin,r.miterLimit=e.miterLimit;for(var f=e.dropShadow?2:1,p=0;p<f;++p){var v=e.dropShadow&&0===p,m=v?2*a:0,g=m*this.resolution;if(v){r.fillStyle="black",r.strokeStyle="black";var y=e.dropShadowColor,_=Fi("number"==typeof y?y:Ui(y));r.shadowColor="rgba("+255*_[0]+","+255*_[1]+","+255*_[2]+","+e.dropShadowAlpha+")",r.shadowBlur=e.dropShadowBlur,r.shadowOffsetX=Math.cos(e.dropShadowAngle)*e.dropShadowDistance,r.shadowOffsetY=Math.sin(e.dropShadowAngle)*e.dropShadowDistance+g}else r.fillStyle=this._generateFillStyle(e,l),r.strokeStyle=e.stroke,r.shadowColor=0,r.shadowBlur=0,r.shadowOffsetX=0,r.shadowOffsetY=0;for(var x=0;x<l.length;x++)i=e.strokeThickness/2,n=e.strokeThickness/2+x*h+d.ascent,"right"===e.align?i+=c-u[x]:"center"===e.align&&(i+=(c-u[x])/2),e.stroke&&e.strokeThickness&&this.drawLetterSpacing(l[x],i+e.padding,n+e.padding-m,!0),e.fill&&this.drawLetterSpacing(l[x],i+e.padding,n+e.padding-m)}this.updateTexture()}},t.prototype.drawLetterSpacing=function(t,e,i,n){void 0===n&&(n=!1);var r=this._style.letterSpacing;if(0!==r)for(var o=e,s=Array.from?Array.from(t):t.split(""),a=this.context.measureText(t).width,l=0,h=0;h<s.length;++h){var u=s[h];n?this.context.strokeText(u,o,i):this.context.fillText(u,o,i),o+=a-(l=this.context.measureText(t.substring(h+1)).width)+r,a=l}else n?this.context.strokeText(t,e,i):this.context.fillText(t,e,i)},t.prototype.updateTexture=function(){var t=this.canvas;if(this._style.trim){var e=sn(t);e.data&&(t.width=e.width,t.height=e.height,this.context.putImageData(e.data,0,0))}var i=this._texture,n=this._style,r=n.trim?0:n.padding,o=i.baseTexture;i.trim.width=i._frame.width=Math.ceil(t.width/this._resolution),i.trim.height=i._frame.height=Math.ceil(t.height/this._resolution),i.trim.x=-r,i.trim.y=-r,i.orig.width=i._frame.width-2*r,i.orig.height=i._frame.height-2*r,this._onTextureUpdate(),o.setRealSize(t.width,t.height,this._resolution),this.dirty=!1},t.prototype._render=function(t){this._autoResolution&&this._resolution!==t.resolution&&(this._resolution=t.resolution,this.dirty=!0),this.updateText(!0),r.prototype._render.call(this,t)},t.prototype.getLocalBounds=function(t){return this.updateText(!0),r.prototype.getLocalBounds.call(this,t)},t.prototype._calculateBounds=function(){this.updateText(!0),this.calculateVertices(),this._bounds.addQuad(this.vertexData)},t.prototype._onStyleChange=function(){this.dirty=!0},t.prototype._generateFillStyle=function(t,e){if(!Array.isArray(t.fill))return t.fill;if(1===t.fill.length)return t.fill[0];var i,n,r,o,s=Math.ceil(this.canvas.width/this._resolution),a=Math.ceil(this.canvas.height/this._resolution),l=t.fill.slice(),h=t.fillGradientStops.slice();if(!h.length)for(var u=l.length+1,c=1;c<u;++c)h.push(c/u);if(l.unshift(t.fill[0]),h.unshift(0),l.push(t.fill[t.fill.length-1]),h.push(1),t.fillGradientType===Is){i=this.context.createLinearGradient(s/2,0,s/2,a),n=(l.length+1)*e.length;for(var d=r=0;d<e.length;d++){r+=1;for(var f=0;f<l.length;f++)o="number"==typeof h[f]?h[f]/e.length+d/e.length:r/n,i.addColorStop(o,l[f]),r++}}else{i=this.context.createLinearGradient(0,a/2,s,a/2),n=l.length+1,r=1;for(var p=0;p<l.length;p++)o="number"==typeof h[p]?h[p]:r/n,i.addColorStop(o,l[p]),r++}return i},t.prototype.destroy=function(t){"boolean"==typeof t&&(t={children:t}),t=Object.assign({},Us,t),r.prototype.destroy.call(this,t),this.context=null,this.canvas=null,this._style=null},e.width.get=function(){return this.updateText(!0),Math.abs(this.scale.x)*this._texture.orig.width},e.width.set=function(t){this.updateText(!0);var e=Zi(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},e.height.get=function(){return this.updateText(!0),Math.abs(this.scale.y)*this._texture.orig.height},e.height.set=function(t){this.updateText(!0);var e=Zi(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},e.style.get=function(){return this._style},e.style.set=function(t){t=t||{},this._style=t instanceof Es?t:new Es(t),this.localStyleID=-1,this.dirty=!0},e.text.get=function(){return this._text},e.text.set=function(t){t=String(null==t?"":t),this._text!==t&&(this._text=t,this.dirty=!0)},e.resolution.get=function(){return this._resolution},e.resolution.set=function(t){this._autoResolution=!1,this._resolution!==t&&(this._resolution=t,this.dirty=!0)},Object.defineProperties(t.prototype,e),t}(Zo);
271/*!
272 * @pixi/prepare - v5.2.0
273 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
274 *
275 * @pixi/prepare is licensed under the MIT License.
276 * http://www.opensource.org/licenses/mit-license
277 */
278yi.UPLOADS_PER_FRAME=4;function Xs(t){this.maxItemsPerFrame=t,this.itemsLeft=0}Xs.prototype.beginFrame=function(){this.itemsLeft=this.maxItemsPerFrame},Xs.prototype.allowedToUpload=function(){return 0<this.itemsLeft--};function zs(t){var e=this;this.limiter=new Xs(yi.UPLOADS_PER_FRAME),this.renderer=t,this.uploadHookHelper=null,this.queue=[],this.addHooks=[],this.uploadHooks=[],this.completes=[],this.ticking=!1,this.delayedTick=function(){e.queue&&e.prepareItems()},this.registerFindHook(qs),this.registerFindHook(Ks),this.registerFindHook(Ws),this.registerFindHook(Hs),this.registerFindHook(Gs),this.registerUploadHook(Vs),this.registerUploadHook(Ys)}function Ws(t,e){var i=!1;if(t&&t._textures&&t._textures.length)for(var n=0;n<t._textures.length;n++)if(t._textures[n]instanceof zn){var r=t._textures[n].baseTexture;-1===e.indexOf(r)&&(e.push(r),i=!0)}return i}function Hs(t,e){if(t.baseTexture instanceof An){var i=t.baseTexture;return-1===e.indexOf(i)&&e.push(i),!0}return!1}function Gs(t,e){if(t._texture&&t._texture instanceof zn){var i=t._texture.baseTexture;return-1===e.indexOf(i)&&e.push(i),!0}return!1}function Vs(t,e){return e instanceof js&&(e.updateText(!0),!0)}function Ys(t,e){if(e instanceof Es){var i=e.toFontString();return Fs.measureFont(i),!0}return!1}function qs(t,e){if(t instanceof js){-1===e.indexOf(t.style)&&e.push(t.style),-1===e.indexOf(t)&&e.push(t);var i=t._texture.baseTexture;return-1===e.indexOf(i)&&e.push(i),!0}return!1}function Ks(t,e){return t instanceof Es&&(-1===e.indexOf(t)&&e.push(t),!0)}zs.prototype.upload=function(t,e){"function"==typeof t&&(e=t,t=null),t&&this.add(t),this.queue.length?(e&&this.completes.push(e),this.ticking||(this.ticking=!0,wi.system.addOnce(this.tick,this,mi.UTILITY))):e&&e()},zs.prototype.tick=function(){setTimeout(this.delayedTick,0)},zs.prototype.prepareItems=function(){for(this.limiter.beginFrame();this.queue.length&&this.limiter.allowedToUpload();){var t=this.queue[0],e=!1;if(t&&!t._destroyed)for(var i=0,n=this.uploadHooks.length;i<n;i++)if(this.uploadHooks[i](this.uploadHookHelper,t)){this.queue.shift(),e=!0;break}e||this.queue.shift()}if(this.queue.length)wi.system.addOnce(this.tick,this,mi.UTILITY);else{this.ticking=!1;for(var r=this.completes.slice(0),o=this.completes.length=0,s=r.length;o<s;o++)r[o]()}},zs.prototype.registerFindHook=function(t){return t&&this.addHooks.push(t),this},zs.prototype.registerUploadHook=function(t){return t&&this.uploadHooks.push(t),this},zs.prototype.add=function(t){for(var e=0,i=this.addHooks.length;e<i&&!this.addHooks[e](t,this.queue);e++);if(t instanceof _n)for(var n=t.children.length-1;0<=n;n--)this.add(t.children[n]);return this},zs.prototype.destroy=function(){this.ticking&&wi.system.remove(this.tick,this),this.ticking=!1,this.addHooks=null,this.uploadHooks=null,this.renderer=null,this.completes=null,this.queue=null,this.limiter=null,this.uploadHookHelper=null};var Zs=function(e){function t(t){e.call(this,t),this.uploadHookHelper=this.renderer,this.registerFindHook($s),this.registerUploadHook(Qs),this.registerUploadHook(Js)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(zs);function Qs(t,e){return e instanceof An&&(e._glTextures[t.CONTEXT_UID]||t.texture.bind(e),!0)}function Js(t,e){if(!(e instanceof Ts))return!1;var i=e.geometry;e.finishPoly(),i.updateBatches();
278for(var n=i.batches,r=0;r<n.length;r++){var o=n[r].style.texture;o&&Qs(t,o.baseTexture)}return i.batchable||t.geometry.bind(i,e._resolveDirectShader()),!0}function $s(t,e){return t instanceof Ts&&(e.push(t),!0)}
279/*!
280 * @pixi/filter-color-matrix - v5.2.0
281 * Compiled Wed, 06 Nov 2019 02:32:43 UTC
282 *
283 * @pixi/filter-color-matrix is licensed under the MIT License.
284 * http://www.opensource.org/licenses/mit-license
285 */
286var ta=function(e){function t(){var t={m:new Float32Array([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0]),uAlpha:1};e.call(this,"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n    vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n    return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n    return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n    gl_Position = filterVertexPosition();\n    vTextureCoord = filterTextureCoord();\n}\n","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform float m[20];\nuniform float uAlpha;\n\nvoid main(void)\n{\n    vec4 c = texture2D(uSampler, vTextureCoord);\n\n    if (uAlpha == 0.0) {\n        gl_FragColor = c;\n        return;\n    }\n\n    // Un-premultiply alpha before applying the color matrix. See issue #3539.\n    if (c.a > 0.0) {\n      c.rgb /= c.a;\n    }\n\n    vec4 result;\n\n    result.r = (m[0] * c.r);\n        result.r += (m[1] * c.g);\n        result.r += (m[2] * c.b);\n        result.r += (m[3] * c.a);\n        result.r += m[4];\n\n    result.g = (m[5] * c.r);\n        result.g += (m[6] * c.g);\n        result.g += (m[7] * c.b);\n        result.g += (m[8] * c.a);\n        result.g += m[9];\n\n    result.b = (m[10] * c.r);\n       result.b += (m[11] * c.g);\n       result.b += (m[12] * c.b);\n       result.b += (m[13] * c.a);\n       result.b += m[14];\n\n    result.a = (m[15] * c.r);\n       result.a += (m[16] * c.g);\n       result.a += (m[17] * c.b);\n       result.a += (m[18] * c.a);\n       result.a += m[19];\n\n    vec3 rgb = mix(c.rgb, result.rgb, uAlpha);\n\n    // Premultiply alpha again.\n    rgb *= result.a;\n\n    gl_FragColor = vec4(rgb, result.a);\n}\n",t),this.alpha=1}e&&(t.__proto__=e);var i={matrix:{configurable:!0},alpha:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype._loadMatrix=function(t,e){void 0===e&&(e=!1);var i=t;e&&(this._multiply(i,this.uniforms.m,t),i=this._colorMatrix(i)),this.uniforms.m=i},t.prototype._multiply=function(t,e,i){return t[0]=e[0]*i[0]+e[1]*i[5]+e[2]*i[10]+e[3]*i[15],t[1]=e[0]*i[1]+e[1]*i[6]+e[2]*i[11]+e[3]*i[16],t[2]=e[0]*i[2]+e[1]*i[7]+e[2]*i[12]+e[3]*i[17],t[3]=e[0]*i[3]+e[1]*i[8]+e[2]*i[13]+e[3]*i[18],t[4]=e[0]*i[4]+e[1]*i[9]+e[2]*i[14]+e[3]*i[19]+e[4],t[5]=e[5]*i[0]+e[6]*i[5]+e[7]*i[10]+e[8]*i[15],t[6]=e[5]*i[1]+e[6]*i[6]+e[7]*i[11]+e[8]*i[16],t[7]=e[5]*i[2]+e[6]*i[7]+e[7]*i[12]+e[8]*i[17],t[8]=e[5]*i[3]+e[6]*i[8]+e[7]*i[13]+e[8]*i[18],t[9]=e[5]*i[4]+e[6]*i[9]+e[7]*i[14]+e[8]*i[19]+e[9],t[10]=e[10]*i[0]+e[11]*i[5]+e[12]*i[10]+e[13]*i[15],t[11]=e[10]*i[1]+e[11]*i[6]+e[12]*i[11]+e[13]*i[16],t[12]=e[10]*i[2]+e[11]*i[7]+e[12]*i[12]+e[13]*i[17],t[13]=e[10]*i[3]+e[11]*i[8]+e[12]*i[13]+e[13]*i[18],t[14]=e[10]*i[4]+e[11]*i[9]+e[12]*i[14]+e[13]*i[19]+e[14],t[15]=e[15]*i[0]+e[16]*i[5]+e[17]*i[10]+e[18]*i[15],t[16]=e[15]*i[1]+e[16]*i[6]+e[17]*i[11]+e[18]*i[16],t[17]=e[15]*i[2]+e[16]*i[7]+e[17]*i[12]+e[18]*i[17],t[18]=e[15]*i[3]+e[16]*i[8]+e[17]*i[13]+e[18]*i[18],t[19]=e[15]*i[4]+e[16]*i[9]+e[17]*i[14]+e[18]*i[19]+e[19],t},t.prototype._colorMatrix=function(t){var e=new Float32Array(t);return e[4]/=255,e[9]/=255,e[14]/=255,e[19]/=255,e},t.prototype.brightness=function(t,e){var i=[t,0,0,0,0,0,t,0,0,0,0,0,t,0,0,0,0,0,1,0];this._loadMatrix(i,e)},t.prototype.greyscale=function(t,e){var i=[t,t,t,0,0,t,t,t,0,0,t,t,t,0,0,0,0,0,1,0];this._loadMatrix(i,e)},t.prototype.blackAndWhite=function(t){this._loadMatrix([.3,.6,.1,0,0,.3,.6,.1,0,0,.3,.6,.1,0,0,0,0,0,1,0],t)},t.prototype.hue=function(t,e){t=(t||0)/180*Math.PI;var i=Math.cos(t),n=Math.sin(t),r=(0,Math.sqrt)(1/3),o=[i+1/3*(1-i),1/3*(1-i)-r*n,1/3*(1-i)+r*n,0,0,1/3*(1-i)+r*n,i+1/3*(1-i),1/3*(1-i)-r*n,0,0,1/3*(1-i)-r*n,1/3*(1-i)+r*n,i+1/3*(1-i),0,0,0,0,0,1,0];this._loadMatrix(o,e)},t.prototype.contrast=function(t,e){var i=(t||0)+1,n=-.5*(i-1),r=[i,0,0,0,n,0,i,0,0,n,0,0,i,0,n,0,0,0,1,0];this._loadMatrix(r,e)},t.prototype.saturate=function(t,e){void 0===t&&(t=0);var i=2*t/3+1,n=-.5*(i-1),r=[i,n,n,0,0,n,i,n,0,0,n,n,i,0,0,0,0,0,1,0];this._loadMatrix(r,e)},t.prototype.desaturate=function(){this.saturate(-1)},t.prototype.negative=function(t){this._loadMatrix([-1,0,0,1,0,0,-1,0,1,0,0,0,-1,1,0,0,0,0,1,0],t)},t.prototype.sepia=function(t){this._loadMatrix([.393,.7689999,.18899999,0,0,.349,.6859999,.16799999,0,0,.272,.5339999,.13099999,0,0,0,0,0,1,0],t)},t.prototype.technicolor=function(t){this._loadMatrix([1.9125277891456083,-.8545344976951645,-.091555084827
28655585,0,11.793603434377337,-.3087833385928097,1.7658908555458428,-.10601743074722245,0,-70.35205161461398,-.231103377548616,-.7501899197440212,1.847597816108189,0,30.950940869491138,0,0,0,1,0],t)},t.prototype.polaroid=function(t){this._loadMatrix([1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0],t)},t.prototype.toBGR=function(t){this._loadMatrix([0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0],t)},t.prototype.kodachrome=function(t){this._loadMatrix([1.1285582396593525,-.3967382283601348,-.03992559172921793,0,63.72958762196502,-.16404339962244616,1.0835251566291304,-.05498805115633132,0,24.732407896706203,-.16786010706155763,-.5603416277695248,1.6014850761964943,0,35.62982807460946,0,0,0,1,0],t)},t.prototype.browni=function(t){this._loadMatrix([.5997023498159715,.34553243048391263,-.2708298674538042,0,47.43192855600873,-.037703249837783157,.8609577587992641,.15059552388459913,0,-36.96841498319127,.24113635128153335,-.07441037908422492,.44972182064877153,0,-7.562075277591283,0,0,0,1,0],t)},t.prototype.vintage=function(t){this._loadMatrix([.6279345635605994,.3202183420819367,-.03965408211312453,0,9.651285835294123,.02578397704808868,.6441188644374771,.03259127616149294,0,7.462829176470591,.0466055556782719,-.0851232987247891,.5241648018700465,0,5.159190588235296,0,0,0,1,0],t)},t.prototype.colorTone=function(t,e,i,n,r){var o=((i=i||16770432)>>16&255)/255,s=(i>>8&255)/255,a=(255&i)/255,l=((n=n||3375104)>>16&255)/255,h=(n>>8&255)/255,u=(255&n)/255,c=[.3,.59,.11,0,0,o,s,a,t=t||.2,0,l,h,u,e=e||.15,0,o-l,s-h,a-u,0,0];this._loadMatrix(c,r)},t.prototype.night=function(t,e){var i=[-2*(t=t||.1),-t,0,0,0,-t,0,t,0,0,0,t,2*t,0,0,0,0,0,1,0];this._loadMatrix(i,e)},t.prototype.predator=function(t,e){var i=[11.224130630493164*t,-4.794486999511719*t,-2.8746118545532227*t,0*t,.40342438220977783*t,-3.6330697536468506*t,9.193157196044922*t,-2.951810836791992*t,0*t,-1.316135048866272*t,-3.2184197902679443*t,-4.2375030517578125*t,7.476448059082031*t,0*t,.8044459223747253*t,0,0,0,1,0];this._loadMatrix(i,e)},t.prototype.lsd=function(t){this._loadMatrix([2,-.4,.5,0,0,-.5,2,-.4,0,0,-.4,-.5,3,0,0,0,0,0,1,0],t)},t.prototype.reset=function(){this._loadMatrix([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],!1)},i.matrix.get=function(){return this.uniforms.m},i.matrix.set=function(t){this.uniforms.m=t},i.alpha.get=function(){return this.uniforms.uAlpha},i.alpha.set=function(t){this.uniforms.uAlpha=t},Object.defineProperties(t.prototype,i),t}(zr);ta.prototype.grayscale=ta.prototype.greyscale,lo.registerPlugin("batch",wo),lo.registerPlugin("prepare",Zs),lo.registerPlugin("tilingSprite",Cs),Yo.registerPlugin(Vo),Yo.registerPlugin(Ti);var ea={ColorMatrixFilter:ta};function ia(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,ia),this.container=document.createElement("div"),this.container.innerText="Your browser does not support WebGL, please enable it, or update your browser. Otherwise this site will not function properly.",this.container.style.position="fixed",this.container.style.bottom="0",this.container.style.left="0",this.container.style.right="0",this.container.style.padding="10px 10px 10px 10px",this.container.style.background="#e7e5df",this.container.style.color="#000",this.container.style.zIndex="99999",this.container.style.textAlign="center",this.container.style.cursor="pointer",document.body.appendChild(this.container)}function na(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var ra=function(){function s(t,e,i,n,r,o){var y=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),this.dimensions={width:1500,height:883},this.killed=!1,this.currentIndex=0,this.titles=[],this.prevTitlesContainerClassName=null,this.transitioning=!1,this.directionNext=!0,this.proxyPad={value:0},this.mouseNormalized={x:0,y:1},this.hoverXShift={value:0},this.HIDDEN=!1,this.mobileMode=p.width<768,this.overflowWidth=0,this.listenersEnabled=!1,this.outDelays=[[0,.04,0],[.02,0,.02],[.02,0,.02],[.02,.02,.02],[0,0,0],[.04,.03,.04],[.02,0,.02],[0,0,0]],this.inDelays=[.07,0,.05,0,.1,0,.08],this.videoTextureReady=!1,this._listeningForUpdateTextureFrames=!1,this._hoverInteractionEnabled=!1,this.videoFirstFrameReady=function(){Q.to(y.videoSpriteAlphaContainers,.2,{alpha:1}),y.videoTextureReady=!0},this.setupSprites=function(){y.fakeBars=[];y.barWidth=(1*y.dimensions.width-120)/7;for(var t=0,e=y.mobileMode?[0,15,57,0,29,0,0,0,0]:[15,57,29,0,29,57,0,0],i=0;i<7;i++)y.fakeBars.push({x:t,y:e[i],width:y.barWidth,height:883}),t+=y.barWidth+20;y.videoTextures=[];var n=new vt(1500,940),r=mt.scaleToFill(n,new vt(y.dimensions.width,940)),a=.5*(r.width-y.dimensions.width),l=.5*(r.height-940);y.upscaleFactorVideoTexture=n.width/(r.width+40),y.videoSprites=[],y.bgSprites=[],y.videoTextureOriginalFrames=[],y.videoSpriteAlphaContainers=[],y.videoTextureFrameWidth=Math.floor(y.barWidth*y.upscaleFactorVideoTexture),y.spriteContainers=y.fakeBars.map(function(t,e){var i=new zn(y.videoBaseTexture,new ii(Math.floor(a+t.x*y.upscaleFactorVideoTexture),Math.floor(l+t.y*y.upscaleFactorVideoTexture),y.videoTextureFrameWidth,Math.floor(t.height*y.upscaleFactorVideoTexture)));y.videoTextures.push(i),y.videoTextureOriginalFrames.push(i.frame.clone());var n=new Zo.from(i);n.width=t.width,n.height=t.height,n.anchor.set(.5,.5),n.position.set(.5*t.width,.5*t.height),y.videoSprites.push(n);var r=new _n;r.alpha=0,r.addChild(n),y.videoSpriteAlphaContainers.push(r);var o=new _n;o.position.x=t.x,o.position.y=t.y;var s=new Zo(zn.WHITE);return s.width=t.width,s.height=t.height,s.tint=13618626,s.anchor.set(.5,.5),s.position.set(.5*t.width,.5*t.height),y.bgSprites.push(s),o.addChild(s),o.addChild(r),o}),y.stage.addChild(y.spriteContainers[0]),y.stage.addChild(y.spriteContainers[6]),y.stage.addChild(y.spriteContainers[2]),y.stage.addChild(y.spriteContainers[4]),y.stage.addChild(y.spriteContainers[
2861]),y.stage.addChild(y.spriteContainers[5]),y.stage.addChild(y.spriteContainers[3]),y.layoutSprites()},this.resize=function(){var t=2<arguments.length&&void 0!==arguments[2]&&arguments[2];y.mobileMode=p.width<768,y.overflowWidth=y.mobileMode?2*y.barWidth+40:0;var e=new vt(Math.min(y.wrapper.clientWidth,1500),Math.min(y.wrapper.clientHeight,940));y.currentDimensions=mt.scaleToFit(new vt(y.dimensions.width,940),e,!0);var i=mt.scaleToFit(new vt(y.dimensions.width-y.overflowWidth,940),e,!0),n=y.mobileMode?0:100;y.appendTo.style.width=y.currentDimensions.width+n+"px",y.appendTo.style.height=(y.mobileMode?i.height:y.currentDimensions.height)+n+"px",y.app.resize();var r=(y.mobileMode?i.width:Math.min(y.dimensions.width,y.currentDimensions.width))/(y.mobileMode?y.dimensions.width-y.overflowWidth:y.dimensions.width);y.app.stage.scale.set(r,r),y.mobileMode&&(Q.killTweensOf(y.mouseNormalized),y.proxyPad.value=0,y.isMouseOverAppliedState=!1,y.mouseNormalized.x=0,y.mouseNormalized.y=1);var o=y.mobileMode?-(y.barWidth+20):0;y.app.stage.position.set(.5*n+o*r,.5*n),y.updateTextureFrames(),y.canvasBoundingRect=y.canvas.getBoundingClientRect(),y.layoutSprites(),!1===t&&(y.disableListeners(),y.enableListeners()),y.titles.forEac
286h(function(t){return t.resize()})},this.kill=function(){y.killed=!0,y.videoElement.src="",y.videoElement=null,y.titles.forEach(function(t){return t.kill()}),p.signalResize.remove(y.resize),v.SIGNAL_MUTED.remove(y.muteChanged),y.disableListeners(),y.listenForUpdateTextureFrames(!1),y.resetApp()},this.isMouseOver=!1,this.isMouseOverAppliedState=!1,this.mouseOver=function(t){y.isMouseOver=!0,y.checkMouseOverOut()},this.mouseOut=function(t){y.isMouseOver=!1,y.checkMouseOverOut()},this.mouseMove=function(t){y.mouseX=t.pageX,y.mouseY=t.pageY,Q.to(y.mouseNormalized,1,{y:.5+y.mouseY/p.height*.5,x:y.mouseX/p.width-.5})},this.prevHover=function(){y.transitioning||Q.to(y.hoverXShift,.75,{value:-1,ease:me.e.easeOut})},this.nextHover=function(){y.transitioning||Q.to(y.hoverXShift,.75,{value:1,ease:me.e.easeOut})},this.nextPrevHoverOut=function(){y.transitioning||Q.to(y.hoverXShift,.5,{value:0,ease:K.easeOut})},this.updateTextureFrames=function(){y.paddingVideoAdjusted=y.proxyPad.value*y.upscaleFactorVideoTexture,y.stage.position.x=20*y.mouseNormalized.x+10*y.hoverXShift.value+.5*y.proxyPad.value,y.mouseOffsetX=40*y.mouseNormalized.x+20*-y.hoverXShift.value,y.container=null;var i=y.videoTextureFrameWidth+y.paddingVideoAdjusted;y.videoTextures.forEach(function(t,e){y.container=y.spriteContainers[e],y.container.position.x=y.fakeBars[e].x+-.5*y.proxyPad.value,y.container.position.y=y.fakeBars[e].y*y.mouseNormalized.y,y.videoTextureReady&&(t.frame.width=i,t.frame.x=y.videoTextureOriginalFrames[e].x-.5*y.paddingVideoAdjusted+y.mouseOffsetX,t.frame.y=y.videoTextureOriginalFrames[e].y*y.mouseNormalized.y,t.updateUvs())}),Q.set(y.titlesContainer,{y:(16*y.mouseNormalized.y-8)*y.app.stage.scale.x,x:20*y.mouseNormalized.x*y.app.stage.scale.x+10*y.hoverXShift.value,force3D:!0})},this.prev=function(t){t.preventDefault(),y.transitioning||(y.directionNext=!1,y.setActiveIndex(y.currentIndex-1))},this.next=function(t){t.preventDefault(),y.transitioning||(y.directionNext=!0,y.setActiveIndex(y.currentIndex+1))},this.listenForUpdateTextureFrames=function(t){y._listeningForUpdateTextureFrames!==t&&(!0===(y._listeningForUpdateTextureFrames=t)?wi.shared.add(y.updateTextureFrames):wi.shared.remove(y.updateTextureFrames))},this.outTransitionComplete=function(t){var e=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,n=4<arguments.length&&void 0!==arguments[4]&&arguments[4];if(t&&t.hide(!0),Q.killTweensOf(y.hoverXShift),Q.killTweensOf(y.proxyPad),Q.killTweensOf(y.mouseNormalized),y.hoverXShift.value=0,y.mouseNormalized.x=0,y.mouseNormalized.y=1,y.updateButtons(),y.layoutSprites(),y.stage.scale.set(1,1),y.stage.position.set(0,0),y.proxyPad.value=0,y.updateTextureFrames(),-1===y.videoElement.src.indexOf(y.itemData[y.currentIndex].video)&&(Q.set(y.videoSpriteAlphaContainers,{alpha:0}),y.videoElement.src=y.itemData[y.currentIndex].video),!e){Q.to(y.navButtonLabels,.3,{opacity:1});for(var r=new R({paused:!0,onComplete:function(){y.transitioning=!1,Q.killTweensOf(y.hoverXShift),Q.killTweensOf(y.proxyPad),Q.killTweensOf(y.mouseNormalized),y.mouseNormalized.x=0,y.mouseNormalized.y=1,y.proxyPad.value=0,y.isMouseOverAppliedState=!1,y.hoverXShift.value=0,y.listenForUpdateTextureFrames(!0),y.hoverInteractionEnabled(!0)}}),o=y.itemData[y.currentIndex].titlePosition-1,s=y.spriteContainers.length,a=y.dimensions.width,l=n?.8:1.35,h=z.easeOut.config(1.2,1.1),u=n?[1.05,1.122,1.23,0,1.32,1.05+.36,1.5]:y.inDelays.map(function(t){return 2*t}),c=0;c<s;c++){var d=c,f=y.videoSprites[d],p=y.bgSprites[d],v=y.spriteContainers[d],m=.5*a-.5*y.barWidth+.7*a/7*(c+.5-3.5)*.5,g=y.fakeBars[d];d===o&&r.add(function(){return y.titles[y.currentIndex].show()},n?1.65:.85+i),(y.mobileMode||!y.mobileMode&&d!==o)&&(v.alpha=1,r.fromTo(v.position,l,{x:m},{x:g.x,ease:h},u[d]+i),r.fromTo([f,p],l,{width:0,height:.7*g.height*.7,ease:h},{width:y.barWidth,height:g.height,ease:h},u[d]+i),r.to([f,p],.2*l,{alpha:1,ease:me.d.easeOut},u[d]+i))}r.play()}y.videoElement.play()},this.muteChanged=function(){y.HIDDEN||v.I_OS||(y.videoElement.muted=v.MUTED)},this.hoverInteractionEnabled=function(t){y._hoverInteractionEnabled!==t&&(!1===y._hoverInteractionEnabled&&y.mobileMode||(y._hoverInteractionEnabled=t)),y.checkMouseOverOut()},this.clickHandler=function(){if(y.transitioning)return!1;y.disableListeners();var t=K.easeOut,e=y.itemData[y.currentIndex];y.aniBgElement=document.createElement("div"),y.aniBgElement.appendChild(y.videoElement);var i=new vt(1540,965),n=new vt(1500,883);y.mobileMode&&(i=new vt(1540,1267),n=new vt(1500,1242));var r=mt.scaleToFill(new vt(1500,940),new vt(1540*1.1,1366.2)),o=new vt(p.width,p.height),s=mt.scaleToFill(n,o),a=y.currentDimensions.width/n.width,l=s.width/n.width;Q.set(y.aniBgElement,{backgroundColor:"#000000",scaleX:a,scaleY:a,opacity:0,width:n.width,height:n.height,position:"fixed",transformOrigin:y.mobileMode?"center top":"center center",left:.5*(p.documentWidth-n.width),top:y.mobileMode?y.canvasBoundingRect.top+29:.5*(p.height-n.height),willChange:"transform",overflow:"hidden",immediateRender:!0}),Q.set(y.videoElement,{width:y.mobileMode?r.width:i.width,height:y.mobileMode?r.height:i.height,x:y.mobileMode?.5*(n.width-r.width)+25:null,immediateRender:!0}),y.wrapper.parentNode.appendChild(y.aniBgElement);var h=y.spriteContainers[e.titlePosition-1];y.mobileMode||(h.alpha=0,h.visible=!0);Q.to(y.navButtons[0],1,{autoAlpha:0,x:-100,ease:ut}),Q.to(y.navButtons[1],1,{autoAlpha:0,x:100,ease:ut}),y.hideSurroundingUI(400),Q.to(y.titlesContainer,.3,{opacity:0,force3D:!0}),Q.to(y.mouseNormalized,.3,{y:0,x:0,ease:t}),Q.to(y.stage.position,.3,{y:29,ease:t}),v.CAN_PLAY_AUDIO&&Q.to(y.videoElement,1.3,{volume:0,onComplete:function(){y.videoElement.muted=!0}
286}),Q.to(y.proxyPad,.3,{value:20,ease:t,onComplete:function(){Q.set(y.aniBgElement,{opacity:1}),Q.to(y.videoElement,1,{opacity:0}),Q.to(y.aniBgElement,1,{ease:ut,scaleX:l,scaleY:l,y:y.mobileMode?-y.canvasBoundingRect.top-29:null,onComplete:function(){y.startGeniusMode(),y.listenForUpdateTextureFrames(!1),y.app.stop(),y.videoElement.pause()}})}}),Q.to(h,.3,{alpha:1}),y.instantiateGeniusMode(y.currentIndex)},this.closeGeniusModeTransition=function(t,e){if(y.aniBgElement.parentNode.removeChild(y.aniBgElement),y.stage.position.y=0,y.proxyPad.value=0,y.mobileMode?(y.mouseNormalized.x=0,y.mouseNormalized.y=1):(e&&(y.mouseY=e.pageY,y.mouseX=e.pageX),y.mouseNormalized.x=y.mouseX/p.width-.5,y.mouseNormalized.y=.5+y.mouseY/p.height*.5),Q.to(y.navButtons[0],1,{autoAlpha:1,x:0,ease:ut}),Q.to(y.navButtons[1],1,{autoAlpha:1,x:0,ease:ut}),Q.set(y.titlesContainer,{opacity:1,force3D:!0}),!y.mobileMode){y.updateTextureFrames();var i=y.spriteContainers[y.itemData[y.currentIndex].titlePosition-1];i.alpha=0,i.visible=!1}y.isMouseOverAppliedState=!1,y.enableListeners(),y.videoElement.setAttribute("style",""),y.listenForUpdateTextureFrames(!0),y.app.start(),setTimeout(function(){y.videoElement.play()},1)},this.landingAnimateIn=function(t,e){Q.delayedCall(t?.45:.5,function(){return y.show(0,t,e)})},this.templatingOut=function(){y.app.stop(),y.videoElement.muted=!0,v.SIGNAL_MUTED.remove(y.muteChanged),y.disableListeners(),y.listenForUpdateTextureFrames(!1)},this.wrapper=t,this.hideSurroundingUI=i,this.instantiateGeniusMode=n,this.startGeniusMode=r,this.setActiveTitleFromSingleView=o,this.titleElements=t.querySelectorAll(".SelectedWorks-item-vertical-title"),this.titlesContainer=t.querySelector(".SelectedWorks-singleMode-title-container"),this.navButtons=t.querySelectorAll(".SelectedWorks-navButton"),this.navButtonLabels=t.querySelectorAll(".SelectedWorks-navButton span"),this.items=Array.from(e),this.itemData=this.items.map(function(t,e){return{title:t.dataset.title,link:t.dataset.link,video:t.dataset.previewVideo,titlePosition:parseInt(t.dataset.titlePosition)}}),this.appendTo=t.querySelector(".SelectedWorks-singleMode-container"),s.APP)this.app=s.APP,this.app.resizeTo=this.appendTo;else try{this.app=new Yo({transparent:!0,powerPreference:"high-performance",antialias:!0,autoDensity:!0,resolution:Math.min(window.devicePixelRatio,1.5),resizeTo:this.appendTo}),s.APP=this.app}catch(t){return void new ia}this.stage=new _n,this.app.stage.addChild(this.stage),this.canvas=this.app.view,this.appendTo.appendChild(this.app.view),this.createVideoElement(),this.setupSprites(),this.resize(!0),this.titleElements.forEach(function(t){return y.titles.push(new Tt(t,!0))}),p.signalResize.add(this.resize),this.hide(null,!0),this.videoElement.pause()}return function(t,e,i){e&&na(t.prototype,e),i&&na(t,i)}(s,[{key:"createVideoElement",value:function(){this.videoElement=document.createElement("video"),this.videoElement.volume=0,this.videoElement.muted=!0,this.videoElement.setAttribute("playsinline",""),this.videoElement.crossOrigin="anonymous",this.videoElement.setAttribute("disableremoteplayback",""),this.videoElement.setAttribute("disablePictureInPicture",""),this.videoElement.autoplay=!0,this.videoElement.loop=!0,this.videoElement.addEventListener("loadeddata",this.videoFirstFrameReady),this.videoElement.addEventListener("canplay",this.videoFirstFrameReady),this.videoElement.src=this.itemData[0].video,this.videoBaseTexture=An.from(this.videoElement),this.videoBaseTexture.resource.updateFPS=30,v.SIGNAL_MUTED.add(this.muteChanged)}},{key:"show",value:function(t,e,i){var n=1<arguments.length&&void 0!==e&&e,r=2<arguments.length&&void 0!==i&&i;if(this.HIDDEN){this.transitioning=!0,this.HIDDEN=!1,Q.set(this.wrapper,{visibility:""});var o=r||n;Q.to(this.navButtons,o?1.5:.4,{delay:n?.02:o?1:null,autoAlpha:1,x:0,ease:o?ut:me.g.easeOut}),this.videoElement&&this.videoElement.paused&&this.videoElement.play(),this.app.start(),this.outTransitionComplete(this.titles[this.currentIndex],!0,!1,t,n),Q.set(this.wrapper,{pointerEvents:"all"})}}},{key:"hide",value:function(t,e){var i=this,n=1<arguments.length&&void 0!==e&&e;this.HIDDEN||(this.transitioning=!0,this.HIDDEN=!0,v.CAN_PLAY_AUDIO&&!n&&Q.to(this.videoElement,.5,{volume:0,onComplete:function(){i.videoElement.muted=!0}
286}),Q.to(this.navButtons[0],n?0:.3,{autoAlpha:0,x:-100,ease:me.f.easeOut}),Q.to(this.navButtons[1],n?0:.3,{autoAlpha:0,x:100,ease:me.f.easeOut}),this.hideTransition(this.currentIndex,!0,function(){i.app.stop(),!n&&i.videoElement&&i.videoElement.pause(),Q.set(i.wrapper,{pointerEvents:"none",visibility:"hidden"}),i.transitioning=!1,t&&t()},n))}},{key:"resetApp",value:function(){var t=this.app.view.style.width,e=this.app.view.style.height;Q.set(this.app.view,{clearProps:"all",immediateRender:!0}),this.app.view.style.width=t,this.app.view.style.height=e,this.stage.destroy(!0),this.app.stage=new _n,this.app.render(),this.app.stop(),this.app=null}},{key:"checkMouseOverOut",value:function(){var t=this;this._hoverInteractionEnabled&&(this.isMouseOver?this.isMouseOverAppliedState||(this.isMouseOverAppliedState=!0,Q.to(this.proxyPad,.5,{value:10}),v.CAN_PLAY_AUDIO&&(Q.to(this.videoElement,1,{volume:v.MAX_VOLUME}),this.videoElement.muted=v.MUTED)):this.isMouseOverAppliedState&&(this.isMouseOverAppliedState=!1,Q.to(this.proxyPad,.5,{value:0}),v.CAN_PLAY_AUDIO&&Q.to(this.videoElement,.3,{volume:0,onComplete:function(){t.videoElement.muted=!0}})))}},{key:"updateButtons",value:function(){this.navButtonLabels[1].textContent=this.itemData[this.currentIndex+1>=this.itemData.length?0:this.currentIndex+1].title,this.navButtonLabels[0].textContent=this.itemData[this.currentIndex-1<0?this.itemData.length-1:this.currentIndex-1].title}},{key:"layoutSprites",value:function(){var n=this,t=this.itemData[this.currentIndex].titlePosition;this.spriteContainers.forEach(function(t){t.visible=!0}),this.mobileMode?(this.spriteContainers[t-1].alpha=1,this.spriteContainers[0].visible=!1,this.spriteContainers[6].visible=!1,this.videoSprites.forEach(function(t,e){var i=n.bgSprites[e];i.alpha=t.alpha=1,i.width=t.width=n.barWidth,i.height=t.height=n.fakeBars[e].height})):this.spriteContainers[t-1].visible=!1,null!==this.prevTitlesContainerClassName&&this.titlesContainer.classList.remove(this.prevTitlesContainerClassName),this.prevTitlesContainerClassName="position-"+t,this.titlesContainer.classList.add(this.prevTitlesContainerClassName);var e=(this.barWidth*(t-4.5)+20*(4<=t?2:-2))*this.app.stage.scale.x;this.titlesContainer.style.left="calc(50% + ".concat(e,"px)"),this.titlesContainer.style.width=Math.floor(this.barWidth*this.app.stage.scale.x)+"px"}},{key:"setActiveIndex",value:function(t,e){var i=1<arguments.length&&void 0!==e&&e;this.transitioning||(t>=this.itemData.length&&(t=0),t<0&&(t=this.itemData.length-1),t!==this.currentIndex&&(this.transitioning=!0,i||this.setActiveTitleFromSingleView(t,!this.mobileMode,!this.mobileMode),this.hideTransition(t,!1,null,i)))}},{key:"hideTransition",value:function(t,e,i,n){var r=this,o=2<arguments.length&&void 0!==i?i:null,s=3<arguments.length&&void 0!==n&&n;this.hoverInteractionEnabled(!1),this.listenForUpdateTextureFrames(!1),e&&(this.directionNext=!0),this.titles[this.currentIndex].hide(!0);for(var a=new R({paused:!0,onComplete:function(){e?o&&o():r.outTransitionComplete(null,!1,s)}}),l=this.itemData[this.currentIndex].titlePosition-1,h=this.spriteContainers.length,u=0;u<h;u++){var c=u,d=this.videoSprites[c],f=this.bgSprites[c],p=this.spriteContainers[c],v=.5*this.dimensions.width-.5*this.barWidth+.7*this.dimensions.width/7*(u+.5-3.5)*.85;(this.mobileMode||!this.mobileMode&&c!==l)&&(a.to([d,f],.3,{width:0,height:.7*this.fakeBars[c].height,ease:ut},this.outDelays[c][0]),a.to(this.stage.scale,.3,{x:.7*this.stage.scale.x,y:.7*this.stage.scale.y,ease:ut},0),a.to(p.position,.3,{x:v,ease:ut},0),a.to(this.stage.position,.3,{x:225,y:.5*(883-883*.7),ease:ut},0),a.to([f,d],.15,{alpha:0,ease:me.d.easeIn},this.outDelays[c][0]))}e||(this.currentIndex=t,Q.to(this.navButtonLabels,s?0:.3,{opacity:0})),s?a.render(a.totalDuration()):a.play()}},{key:"enableListeners",value:function(){this.listenersEnabled||(this.canvas.addEventListener("click",this.clickHandler),this.navButtons[0].addEventListener("click",this.prev),this.navButtons[1].addEventListener("click",this.next),this.mobileMode||(this.isMouseOverAppliedState=!1,this.isMouseOver=!1,this.hoverInteractionEnabled(!0),this.canvas.addEventListener("touchstart",this.mouseOver,{passive:!0}),this.canvas.addEventListener("mouseover",this.mouseOver,{passive:!0}),this.canvas.addEventListener("touchend",this.mouseOut,{passive:!0}),this.canvas.addEventListener("mouseout",this.mouseOut,{passive:!0}),this.navButtons[0].addEventListener("mouseover",this.prevHover,{passive:!0}),this.navButtons[1].addEventListener("mouseover",this.nextHover,{passive:!0}),this.navButtons[0].addEventListener("mouseout",this.nextPrevHoverOut,{passive:!0}),this.navButtons[1].addEventListener("mouseout",this.nextPrevHoverOut,{passive:!0}),window.addEventListener("mousemove",this.mouseMove)),this.listenersEnabled=!0)}},{key:"disableListeners",value:function(){this.listenersEnabled&&(this.hoverInteractionEnabled(!1),this.isMouseOverAppliedState=!1,this.isMouseOver=!1,this.canvas.removeEventListener("mouseover",this.mouseOver),this.canvas.removeEventListener("touchstart",this.mouseOver),this.canvas.removeEventListener("mouseout",this.mouseOut),this.canvas.removeEventListener("touchend",this.mouseOut),this.canvas.removeEventListener("click",this.clickHandler),this.navButtons[0].removeEventListener("click",this.prev),this.navButtons[1].removeEventListener("click",this.next),this.navButtons[0].removeEventListener("mouseover",this.prevHover),this.navButtons[1].removeEventListener("mouseover",this.nextHover),this.navButtons[0].removeEventListener("mouseout",this.nextPrevHoverOut),this.navButtons[1].removeEventListener("mouseout",this.nextPrevHoverOut),window.removeEventListener("mousemove",this.mouseMove),this.listenersEnabled=!1)}}]),s}();function oa(t){return(oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sa(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function aa(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
286function la(t,e,i){return(la="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ha(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function ha(t){return(ha=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ua(t,e){return(ua=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var ca=function(){function n(t,e){var c;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(c=function(t,e){return!e||"object"!==oa(e)&&"function"!=typeof e?aa(t):e}(this,ha(n).call(this,t,e))).NAME="SelectedWorksModule",c.SPREAD_MODE=!0,c.titles=[],c.zIndex=10,c.hovering=!1,c.draggerPadding=0,c.currBarGap=0,c.currBarWidth=0,c.currSnapWidth=0,c.activeIndex=-1,c.highlightedIndex=-1,c.croppedMode=!1,c.videoMode=!0,c.videosLoaded=!1,c.geniusMode=null,c.templatingOut=!1,c.switchingMode=!1,c.titleIndex=0,c.mobileMode=p.width<768,c.inDelays=[0,.04,.1,.04,.04,0,.08,0,.03,0],c.VISIBLE=!1,c.mouseOverSwitchButton=function(t){var e=parseInt(t.currentTarget.dataset.targetIndex);(0===e&&!0===c.SPREAD_MODE||1===e&&!1===c.SPREAD_MODE)&&Q.to(c.viewModeSwitchButtonSvgs[parseInt(t.currentTarget.dataset.targetIndex)],1,{scale:.8,ease:z.easeOut.config(2,.4)})},c.mouseOutSwitchButton=function(t){var e=parseInt(t.currentTarget.dataset.targetIndex);(0===e&&!0===c.SPREAD_MODE||1===e&&!1===c.SPREAD_MODE)&&Q.to(c.viewModeSwitchButtonSvgs[parseInt(t.currentTarget.dataset.targetIndex)],.75,{scale:1,ease:z.easeOut.config(2,.4)})},c.muteChanged=function(){v.I_OS||(v.MUTED?c.videos.forEach(function(t){return t.muted=!0}):!0===c.VISIBLE&&-1!==c.activeIndex&&c.SPREAD_MODE&&c.videoMode&&v.CAN_PLAY_AUDIO&&(c.videos[c.activeIndex].volume=0,c.volumeTweenIn=Q.to(c.videos[c.activeIndex],1,{volume:v.MAX_VOLUME}),c.videos[c.activeIndex].muted=v.MUTED))},c.setSelectedMode=function(t){if(!c.switchingMode&&c.SPREAD_MODE!==t){c.SPREAD_MODE=t,c.switchingMode=!0;var e=c.viewModeSwitchButtonSvgs[c.SPREAD_MODE?1:0];if(Q.to(e,.25,{scale:.8,ease:K.easeIn}),Q.to(e,.35,{scale:1,delay:.3,ease:K.easeOut}),Q.to(c.viewModeSwitchPath,.75,{ease:ut,drawSVG:c.SPREAD_MODE?"43%":"59% 100%"}),c.SPREAD_MODE)c.singleViewMode.hide(null),c.transitionSpreadModeIn(.2);else{if(c.transitionSpreadModeOut(),c.videoMode&&v.CAN_PLAY_AUDIO&&-1!==c.activeIndex){var i=c.videos[c.activeIndex];Q.to(i,.5,{volume:0,onComplete:function(){i.muted=!0}})}c.croppedMode&&c.singleViewMode.setActiveIndex(c.activeIndex,!0),c.singleViewMode.show(.2)}}},c.transitionSpreadModeIn=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];Q.set(c.elementsWrapper,{visibility:"visible"}),c.instantSetCroppedModeIndex(c.titleIndex);for(var i=1.05,n=e?c.croppedMode?[0,.072,.09,.18,.27,.09*5,.09*5,.09*5,.09*5,.09*5,.09*5]:[i,1.122,1.23,1.32,0,0,1.23,1.122,1.32,.36+i,1.5]:c.inDelays,r=e?.8:1.5,o=z.easeOut.config(1.2,1),s=10*c.currBarWidth+9*c.currBarGap,a=0;a<c.elements.length;a++){var l=c.elements[a],h=.7*s/10*(a+1-5)*-1;Q.fromTo(l,.3*r,{opacity:0,force3D:!0},{opacity:1,force3D:!0,delay:n[a]+t,ease:o});var u=Q.fromTo(l,r,{willChange:"transform",scaleX:.01,x:c.croppedMode?null:h,scaleY:.7*.7,force3D:!0},{scaleX:1,x:0,scaleY:1,clearProps:"all",delay:n[a]+t,ease:o});a===c.elements.length-1&&u.eventCallback("onComplete",function(){Q.set([c.titlesWrapper,c.elementsWrapper],{pointerEvents:""}),c.switchingMode=!1,c.enableEventListeners()})}c.mobileMode||(-1!==c.titleIndex&&(c.titles[c.titleIndex].hide(!0),c.titleIndex=-1),Q.delayedCall(.6+(e?t+i+.09*5-.2:0),function(){c.croppedMode&&Q.to(c.titlesSubheading,.5,{opacity:1}),c.setActiveTitleFromSingleView(c.croppedMode?c.activeIndex:10)}))},c.transitionSpreadModeOut=function(){c.removeEventListeners(),Q.set([c.titlesWrapper,c.elementsWrapper],{pointerEvents:"none"});for(var t=ut,e=10*c.currBarWidth+9*c.currBarGap,i=0;i<c.elements.length;i++){var n=c.elements[i],r=.7*e/10*(i+1-5)*-1;Q.to(n,.3,{opacity:0,force3D:!0,delay:.4*c.inDelays[i],ease:t});var o=Q.to(n,.3,{willChange:"transform",scaleX:.01,x:c.croppedMode?null:r,scaleY:.7*.7,force3D:!0,delay:.4*c.inDelays[i],ease:t});i===c.elements.length-1&&o.eventCallback("onComplete",function(){Q.set(c.elementsWrapper,{visibility:"hidden"}),c.switchingMode=!1})}c.mobileMode||(Q.to(c.titlesSubheading,.5,{opacity:0}
286),-1!==c.titleIndex&&c.titles[c.titleIndex].hide(),c.setActiveTitleDelayedCall&&c.setActiveTitleDelayedCall.kill())},c.loadVideos=function(){c.videoMode&&!c.videosLoaded&&(c.videosLoaded=!0,c.videos.forEach(function(t){t.src=t.dataset.desktopSrc}))},c.instantSetCroppedModeIndex=function(t){c.croppedMode&&(-1===t&&(t=0),c.setActiveIndex(t,!0),c.highlightIndex(t),Q.set(c.elementsWrapper,{x:-c.activeIndex*c.currSnapWidth}),c.draggable.update(!0))},c.setCroppedMode=function(t){if(c.croppedMode!==t){c.croppedMode=t;var e=c.titleIndex;c.croppedMode?(c.element.classList.add("croppedMode"),Q.set(c.elementsWrapper,{x:0}),c.draggable.enable(),c.draggable.update(),c.setActiveIndex(0,!0),c.highlightIndex(0),c.elements.forEach(function(t,e){t.removeEventListener("mouseenter",c.mouseOver),t.removeEventListener("mouseleave",c.mouseOut)})):(c.element.classList.remove("croppedMode"),c.loadVideos(),c.draggable.disable(),Q.set(c.elementsWrapper,{x:0}),c.setActiveIndex(-1,!0),c.setActiveTitleFromSingleView(10,!0,!c.SPREAD_MODE),c.elements.forEach(function(t,e){t.addEventListener("mouseenter",c.mouseOver),t.addEventListener("mouseleave",c.mouseOut)})),c.SPREAD_MODE||(c.titleIndex=e)}},c.dragUpdate=function(){var t=yt(-1*Math.round(c.draggable.x/c.currSnapWidth),0,c.videos.length-1);c.highlightIndex(t)},c.highlightIndex=function(t){c.highlightedIndex!==t&&(-1!==c.highlightedIndex&&Q.to(c.currHoverArray[c.highlightedIndex],.3,{opacity:0}),c.highlightedIndex=t,Q.to(c.currHoverArray[t],.45,{opacity:1}))},c.mouseOver=function(t){var e=parseInt(t.currentTarget.dataset.index);c.setActiveIndex(e),c.croppedMode&&Q.to(c.elementsWrapper,1,{x:-e*c.currSnapWidth,ease:ut})},c.clickHandler=function(t){var e=parseInt(t.currentTarget.dataset.index);c.activeIndex!==e&&c.croppedMode?c.mouseOver(t):c.itemSelected(e)},c.hideSurroundingUI=function(t){var e=ut,i=p.width<992;Q.to(".WorksLink",1.5,{ease:e,y:i?-t:t,opacity:0}),Q.to([".SelectedWorks-titles","#MuteToggle",".ViewModeSwitch"],1.5,{ease:e,y:t}),Q.to(["#NewsToggle","#MenuToggle","#Logo"],1.5,{ease:e,y:-t})},c.instantiateGeniusMode=function(t){var e=c.elements[t];c.geniusMode=new kt(e.dataset.video,e.dataset.images.split(","),e.dataset.title,e.dataset.link,c.closeGeniusModeHandler,c.elements,t,c.nextGeniusMode,c.titles)},c.startGeniusMode=function(){c.geniusMode.initRest()},c.nextGeniusMode=function(t){c.killGeniusMode(),c.instantiateGeniusMode(t),c.startGeniusMode()},c.killGeniusMode=function(){c.geniusMode&&(c.geniusMode.kill(),c.geniusMode=null)},c.closeGeniusModeHandler=function(t){var i=ut;c.SPREAD_MODE&&c.template.element.removeChild(c.aniBgElement);var n=new R;n.to([".WorksLink"],1,{ease:i,y:0,opacity:1,clearProps:"y"},0),n.to([".SelectedWorks-titles","#MuteToggle",".ViewModeSwitch"],1,{ease:i,y:0,clearProps:"y"},0),n.to(["#NewsToggle","#MenuToggle","#Logo"],1,{ease:i,y:0,clearProps:"y"},0);var r=1;if(c.templatingOut)return r=0,void Q.delayedCall(.5,function(){return c.geniusMode.kill()});if(c.SPREAD_MODE)if(c.croppedMode){var o=!0;c.elementsInner.forEach(function(t,e){e<c.activeIndex?Q.set(c.elementsInner[e],{x:.5*-c.currBarWidth,y:0}):e>c.activeIndex?Q.set(c.elementsInner[e],{x:.5*c.currBarWidth,y:0}):Q.set(c.elementsInner[e],{x:.5*-c.currBarWidth,y:0}),n.fromTo(c.elementsInner[e],.8*r,{yPercent:o?-20:20},{yPercent:0,y:0,ease:i},0),o=!o,c.volumeTweenIn&&c.volumeTweenIn.kill(),c.videoMode&&v.CAN_PLAY_AUDIO&&(c.videos[c.activeIndex].volume=0,c.volumeTweenIn=Q.to(c.videos[c.activeIndex],3,{volume:v.MAX_VOLUME,delay:.2}),c.videos[c.activeIndex].muted=v.MUTED)})}else{c.aniElementsLeft=[],c.aniElementsRight=[],c.elementsInner.forEach(function(t,e){e<5?c.aniElementsLeft.push(t):c.aniElementsRight.push(t)}),c.aniElementsLeft=c.aniElementsLeft.reverse();var e=.06*r;n.staggerFromTo(c.aniElementsLeft,.6*r,{opacity:0},{opacity:1,clearProps:"opacity"},e,.2*r),n.staggerFromTo(c.aniElementsRight,.6*r,{opacity:0},{opacity:1,clearProps:"opacity"},e,.2*r),n.staggerFromTo(c.aniElementsLeft,1.5*r,{y:100,x:-700},{ease:i,x:0,y:0},e,0),n.staggerFromTo(c.aniElementsRight,1.5*r,{y:100,x:700},{ease:i,x:0,y:0},e,0)}else c.singleViewMode.closeGeniusModeTransition(n,t);n.call(function(){c.SPREAD_MODE&&c.enableEventListeners(),c.killGeniusMode(),Q.set(c.element,{pointerEvents:""})})},c.mouseOut=function(t){c.croppedMode||(c.setActiveIndex(-1,!1,!0),c.setActiveTitleFromSingleView(10))},c.templateOut=function(){Q.set(c.element,{pointerEvents:"none"}),c.template._templateManager.signalHashChange.remove(c.hashChangeHandler),c.templatingOut=!0,c.geniusMode&&(Q.set(c.elementsInner,{autoAlpha:0}),c.geniusMode.close(null)),c.singleViewMode.templatingOut()},c.setActiveTitleDelayedCall=null,c.setActiveTitleFromSingleView=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=2<arguments.length&&void 0!==arguments[2]&&arguments[2];c.titleIndex!==t&&(-1!==c.titleIndex&&c.titles[c.titleIndex].hide(e),c.setA
286ctiveTitleDelayedCall&&c.setActiveTitleDelayedCall.kill(),i||-1!==t&&(e?c.titles[t].show(!0):c.setActiveTitleDelayedCall=Q.delayedCall(.5,function(){return c.titles[t].show()})),c.titleIndex=t)},c.outAnimationCompleteHandler=function(t){var e=me.g.easeOut;Q.killTweensOf(c.titlesSubheading),Q.to(c.titlesSubheading,.3,{opacity:0,y:15,delay:.1}),Q.to(c.elementsInner,.4,{x:0,ease:e}),Q.to(c.elementsInner[t],.4,{width:c.currBarWidth,autoRound:!1,ease:e}),c.hovering=!1},c.landingAnimateIn=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;c.VISIBLE=!0,c.loadVideos(),c.SPREAD_MODE?c.transitionSpreadModeIn(i||(t?.45:.5),t):c.singleViewMode.landingAnimateIn(t,e);var n=ut,r=t||e?1.5:.75,o=p.width<992,s=t||e?o?.5:1.5:i?i+.5:.5;Q.fromTo([".SelectedWorks-titles",".ViewModeSwitch"],r,{y:300},{delay:s,ease:n,y:0,onComplete:function(){c.hashChangeHandler(!0),c.template._templateManager.signalHashChange.add(c.hashChangeHandler)}}),Q.fromTo(".WorksLink",r,{y:o?-40:300,opacity:o?0:1},{delay:s,ease:n,y:0,opacity:1}),(t||e)&&Q.fromTo(["#NewsToggle","#MenuToggle"],r,{y:-100},{delay:s,ease:n,y:0})},c.hashChangeHandler=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=kt.checkHashStringForGeniusModeIndex(window.location.hash);Q.killDelayedCallsTo(c.itemSelected),Q.killDelayedCallsTo(c.initGeniusModeFromHash),c.templatingOut||(0<=e&&e<10?c.geniusMode||c.switchingMode||(c.SPREAD_MODE?(c.initGeniusModeFromHash(e),t&&c.croppedMode&&c.titles[e].show(!0)):(c.setSelectedMode(!0),Q.delayedCall(1.7,c.initGeniusModeFromHash,[e],aa(c)))):c.geniusMode&&c.geniusMode.close(null))},c.elements=t.querySelectorAll(".SelectedWorks-item"),c.elementsWrapper=t.querySelector(".SelectedWorks-itemsWrapper"),c.titlesWrapper=t.querySelector(".SelectedWorks-titles"),c.elementsInner=t.querySelectorAll(".SelectedWorks-itemInner"),c.videos=t.querySelectorAll(".SelectedWorks-item video"),c.images=t.querySelectorAll(".SelectedWorks-item .SelectedWorks-imageWrapper"),c.imagesColor=t.querySelectorAll(".SelectedWorks-item .SelectedWorks-imageWrapper img.imageColor"),c.titlesSubheading=t.querySelector(".SelectedWorks-titles-subheading"),c.titleElements=t.querySelectorAll(".SelectedWorks-item-title"),c.viewModeSwitchPath=t.parentElement.querySelector("#ViewModeSwitchPath"),c.viewModeSwitchButtons=t.parentElement.querySelectorAll(".ViewModeSwitch .button"),c.viewModeSwitchButtonSvgs=t.parentElement.querySelectorAll(".ViewModeSwitch .button svg"),c.setResizeVariables(),c.croppedMode=c.shouldBeCropped(),c.videoMode=576<=p.width&&!v.I_OS,c.currHoverArray=c.videoMode?c.videos:c.imagesColor,c.videos.forEach(function(t){return t.muted=!0}),c.titleElements.forEach(function(t){return c.titles.push(new Tt(t))}),Q.set(c.images,{xPercent:-25}),Q.set(c.titlesSubheading,{opacity:0,y:15}),v.CAN_PLAY_AUDIO&&c.videos.forEach(function(t){return t.volume=0}),c.elements.forEach(function(t,e){t.dataset.index=e,c.croppedMode||(t.addEventListener("mouseenter",c.mouseOver),t.addEventListener("mouseleave",c.mouseOut))}),c.elementsInner.forEach(function(t,e){t.dataset.index=e,t.addEventListener("click",c.clickHandler)}),c.setupDraggable(),c.resize(),c.videoMode&&c.element.classList.add("videoMode"),c.croppedMode?(c.element.classList.add("croppedMode"),c.setActiveIndex(0),c.highlightIndex(0)):c.draggable.disable(),c.singleViewMode=new ra(t.querySelector(".SelectedWorks-singleMode"),c.elements,c.hideSurroundingUI,c.instantiateGeniusMode,c.startGeniusMode,c.setActiveTitleFromSingleView,!c.SPREAD_MODE),Q.set(c.viewModeSwitchPath,{drawSVG:c.SPREAD_MODE?"43%":"59% 100%"}),c.viewModeSwitchButtons[0].addEventListener("click",function(t){return t.preventDefault(),!c.switchingMode&&c.SPREAD_MODE&&window.gtag("event","LandingWorksOverview_change",{event_category:"LandingWorksOverview",event_action:"single",event_label:"Changed to single view"}),c.setSelectedMode(!1),!1}),c.viewModeSwitchButtons[1].addEventListener("click",function(t){return t.preventDefault(),c.switchingMode||c.SPREAD_MODE||window.gtag("event","LandingWorksOverview_change",{event_category:"LandingWorksOverview",event_action:"multi",event_label:"Changed to multi view"}),c.setSelectedMode(!0),!1}),v.IS_TOUCH_DEVICE||(c.viewModeSwitchButtons[0].dataset.targetIndex=0,c.viewModeSwitchButtons[1].dataset.targetIndex=1,c.viewModeSwitchButtons[0].addEventListener("mouseover",c.mouseOverSwitchButton),c.viewModeSwitchButtons[0].addEventListener("mouseout",c.mouseOutSwitchButton),c.viewModeSwitchButtons[1].addEventListener("mouseover",c.mouseOverSwitchButton),c.viewModeSwitchButtons[1].addEventListener("mouseout",c.mouseOutSwitchButton)),Q.set(c.elementsWrapper,{pointerEvents:"none"}),c.SPREAD_MODE||Q.set(c.elementsWrapper,{visibility:"hidden"}),c.removeEventListeners(),v.SIGNAL_MUTED.add(c.muteChanged),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}
286(n,$),function(t,e,i){e&&sa(t.prototype,e),i&&sa(t,i)}(n,[{key:"kill",value:function(){la(ha(n.prototype),"kill",this).call(this),this.template._templateManager.signalHashChange.remove(this.hashChangeHandler),this.singleViewMode.kill(),this.titles.forEach(function(t){return t.kill()}),this.draggable&&this.draggable.kill(),v.SIGNAL_MUTED.remove(this.muteChanged)}},{key:"setupDraggable",value:function(){var i=this;this.draggable=Yt.create(this.elementsWrapper,{bounds:this.element,type:"x",allowNativeTouchScrolling:!1,edgeResistance:.65,throwProps:!0,zIndexBoost:!1,lockAxis:!0,onDrag:this.dragUpdate,onThrowUpdate:this.dragUpdate,snap:function(t){var e=yt(-1*Math.round(t/i.currSnapWidth),0,i.videos.length-1);return i.setActiveIndex(e),yt(-e*i.currSnapWidth,i.draggable.minX,i.draggable.maxX)}})[0]}},{key:"shouldBeCropped",value:function(){return this.currSnapWidth*(this.elements.length+1)>this.element.clientWidth}},{key:"setResizeVariables",value:function(){this.mobileMode=p.width<768,this.currBarGap=2*parseInt(window.getComputedStyle(this.elements[0],null).getPropertyValue("margin-left").replace("px","")),this.currBarWidth=.12*p.height,this.currSnapWidth=this.currBarGap+this.currBarWidth,this.draggerPadding=.5*parseInt(window.getComputedStyle(this.elementsWrapper,null).getPropertyValue("padding-left").replace("px",""))}},{key:"resize",value:function(){var i=this;if(la(ha(n.prototype),"resize",this).call(this),this.setResizeVariables(),Q.killTweensOf(this.elementsInner),this.elementsInner.forEach(function(t,e){-1===i.activeIndex?Q.set(i.elementsInner[e],{x:0,width:i.currBarWidth,autoRound:!1}):e<i.activeIndex?Q.set(i.elementsInner[e],{x:.5*-i.currBarWidth,width:i.currBarWidth,autoRound:!1}):e>i.activeIndex?Q.set(i.elementsInner[e],{x:.5*i.currBarWidth,width:i.currBarWidth,autoRound:!1}):Q.set(i.elementsInner[e],{width:2*i.currBarWidth,autoRound:!1,x:.5*-i.currBarWidth})}),this.setCroppedMode(this.shouldBeCropped()),this.titles.forEac
286h(function(t){return t.resize()}),this.croppedMode&&(Q.set(this.elementsWrapper,{x:-this.activeIndex*this.currSnapWidth}),this.draggable.update(!0)),this.SPREAD_MODE)this.mobileMode?this.setActiveTitleFromSingleView(this.activeIndex,!0,!1):this.croppedMode&&(Q.set(this.titlesSubheading,{opacity:1}),this.setActiveTitleFromSingleView(this.activeIndex,!0,!0));else if(this.mobileMode){Q.set(this.titlesSubheading,{opacity:0});var t=this.titleIndex;this.titleIndex=-1,this.setActiveTitleFromSingleView(t,!0,!1)}else-1!==this.titleIndex&&this.titles[this.titleIndex].hide(!0),this.setActiveTitleDelayedCall&&this.setActiveTitleDelayedCall.kill();var e=this.elements[0].offsetTop;this.elementYOffsets=Array.from(this.elements).map(function(t){return t.offsetTop-e})}},{key:"removeEventListeners",value:function(){var i=this;this.elements.forEach(function(t,e){t.removeEventListener("mouseenter",i.mouseOver),t.removeEventListener("mouseleave",i.mouseOut)}),this.elementsInner.forEach(function(t,e){t.removeEventListener("click",i.clickHandler)})}},{key:"enableEventListeners",value:function(){var i=this;this.croppedMode||this.elements.forEach(function(t,e){t.addEventListener("mouseenter",i.mouseOver),t.addEventListener("mouseleave",i.mouseOut)}),this.elementsInner.forEach(function(t,e){t.addEventListener("click",i.clickHandler)})}},{key:"itemSelected",value:function(i){var n=this;if(this.removeEventListeners(),Q.set(this.element,{pointerEvents:"none"}),this.videoMode&&v.CAN_PLAY_AUDIO&&-1!==this.activeIndex){var t=this.videos[this.activeIndex];Q.to(t,.5,{volume:0,onComplete:function(){t.muted=!0}})}var e=this.currHoverArray[i],r=e.parentElement,o=e.getBoundingClientRect(),s=new vt(p.width,p.height);this.aniBgElement=document.createElement("div");var a=new R;a.set(e,{x:o.left,y:o.top,width:o.width,height:o.height,position:"fixed",transformOrigin:"top left",top:0,left:0,willChange:"transform",immediateRender:!0});var l=mt.scaleToFill(o,s),h=ut,u=ut;a.set(this.aniBgElement,{backgroundColor:"#000000",scaleX:o.width/l.width,scaleY:o.height/l.height,x:o.left,y:o.top-(this.elementYOffsets[i]-50),width:l.width,height:l.height,position:"fixed",transformOrigin:"top left",top:0,left:0,willChange:"transform",immediateRender:!0,opacity:0}),a.set(this.aniBgElement,{opacity:1},.65);var c=.5*-(l.height-s.height),d=.5*-(l.width-s.width);a.set(this.elements[i],{opacity:0},0),a.to(e,.65,{y:o.top-(this.elementYOffsets[i]-50),ease:u},0),a.to(e,1,{ease:h,transformOrigin:"top left",scaleX:l.width/o.width,scaleY:l.height/o.height,x:d,y:c},.65),a.to(e,.5,{autoAlpha:0,ease:me.g.easeIn},.65),a.to(this.aniBgElement,1,{ease:h,transformOrigin:"top left",scaleX:1,scaleY:1,x:d,y:c,onComplete:function(){r.appendChild(e),Q.set(e,{clearProps:"all"}),Q.set(e,{opacity:1}),a.set(n.elements[i],{opacity:1}),n.croppedMode||n.setActiveIndex(-1,!0),Q.set(n.aniBgElement,{width:"100%",height:"100%",clearProps:"x,y,scaleX,scaleY"}),n.startGeniusMode()}},.65);var f=o.top-c;this.hideSurroundingUI(f),this.aniElementsLeft=[],this.aniElementsRight=[],this.elementsInner.forEach(function(t,e){e<i?(a.to(t,.65-.05*e,{ease:u,y:50-n.elementYOffsets[e]},0),n.aniElementsLeft.push(t)):i<e&&(a.to(t,.65-.05*(e-i),{ease:u,y:50-n.elementYOffsets[e]},0),n.aniElementsRight.push(t))}),a.to(this.aniElementsLeft,1,{ease:h,x:-(o.left+this.currBarWidth)},.65),a.to(this.aniElementsRight,1,{ease:h,x:s.width-(o.left+o.width+this.currBarGap-this.currBarWidth)},.65),this.template.element.appendChild(this.aniBgElement),this.template.element.appendChild(e),this.instantiateGeniusMode(i)}},{key:"setActiveIndex",value:function(t,e,i){var n=this,r=1<arguments.length&&void 0!==e&&e,o=2<arguments.length&&void 0!==i&&i;if(t!==this.activeIndex){if(-1!==this.activeIndex){Q.delayedCall(.1,this.outAnimationCompleteHandler,[this.activeIndex]),Q.to(this.currHoverArray[this.activeIndex],.3,{opacity:0,ease:me.d.easeNone,delay:.1});var s=me.g.easeOut;if(Q.to(this.images[this.activeIndex],.3,{xPercent:-25,delay:.1,ease:s}),!1===o&&this.titles.length>this.activeIndex&&(this.titles[this.activeIndex].hide(!0),this.titleIndex=-1),this.volumeTweenIn&&this.volumeTweenIn.kill(),this.videoMode&&v.CAN_PLAY_AUDIO){var a=this.videos[this.activeIndex];Q.to(this.videos[this.activeIndex],.1,{volume:0,onComplete:function(){a.muted=!0}
286})}}if(this.activeIndex=t,-1!==this.activeIndex){this.hovering=!0;var l=me.g.easeOut,h=r?0:.6;Q.killTweensOf(this.elementsInner),Q.killDelayedCallsTo(this.outAnimationCompleteHandler),Q.set(this.elements[this.activeIndex],{zIndex:this.zIndex}),this.elementsInner.forEach(function(t,e){e<n.activeIndex?Q.to(n.elementsInner[e],h,{x:.5*-n.currBarWidth,width:n.currBarWidth,autoRound:!1,ease:l}):e>n.activeIndex?Q.to(n.elementsInner[e],h,{x:.5*n.currBarWidth,width:n.currBarWidth,autoRound:!1,ease:l}):Q.to(n.elementsInner[e],h,{width:2*n.currBarWidth,autoRound:!1,x:.5*-n.currBarWidth,ease:l})}),this.volumeTweenIn&&this.volumeTweenIn.kill(),this.videoMode&&v.CAN_PLAY_AUDIO&&!this.geniusMode&&(this.videos[this.activeIndex].volume=0,this.volumeTweenIn=Q.to(this.videos[this.activeIndex],r?0:3,{volume:v.MAX_VOLUME,delay:r?0:.2}),this.videos[this.activeIndex].muted=v.MUTED),Q.to(this.currHoverArray[this.activeIndex],r?0:.3,{opacity:1,ease:me.d.easeNone}),Q.to(this.images[this.activeIndex],h,{xPercent:0,ease:l}),this.titles.length>this.activeIndex&&(this.setActiveTitleDelayedCall&&(this.setActiveTitleDelayedCall.kill(),this.setActiveTitleDelayedCall=null),-1!==this.titleIndex&&this.titles[this.titleIndex].hide(!0),this.SPREAD_MODE&&this.titles[this.activeIndex].show(!1,!0),this.titleIndex=this.activeIndex),this.SPREAD_MODE&&(Q.to(this.titlesSubheading,r?0:1,{y:0,ease:me.g.easeOut}),Q.to(this.titlesSubheading,r?0:.5,{opacity:1,delay:r?0:.25})),this.zIndex++}}}},{key:"initGeniusModeFromHash",value:function(t){this.activeIndex!==t&&(this.setActiveIndex(t),this.croppedMode&&Q.to(this.elementsWrapper,.5,{x:-t*this.currSnapWidth,ease:ut})),Q.delayedCall(.5,this.itemSelected,[t],this)}}]),n}();function da(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,da),this.open=!1,this.toggle=function(t){t.preventDefault(),e.open=!e.open,Q.to(e.element,.4,{xPercent:e.open?0:-100,ease:ut}),Q.set(e.globalOverlay,{pointerEvents:e.open?"all":"none"}),Q.to(e.globalOverlay,.4,{opacity:e.open?.8:0}),e.open?(Q.set(e.element,{visibility:"visible"}),Q.staggerTo(e.firstItems,.8,{xPercent:0,ease:me.g.easeOut},.1),Q.staggerTo(e.firstItems,.6,{opacity:1,ease:me.d.easeOut},.1),Q.to(e.sidebarNav,.8,{xPercent:0,ease:me.g.easeOut,delay:.3}),Q.to(e.sidebarNav,.6,{opacity:1,ease:me.d.easeOut,delay:.3}),document.body.classList.add("news-sidebar-open")):(Q.staggerTo(e.firstItems,.4,{xPercent:-50,ease:me.g.easeOut},.03),Q.staggerTo(e.firstItems,.1,{opacity:0,ease:me.d.easeIn},.03),Q.to(e.sidebarNav,.4,{xPercent:-100,ease:me.g.easeOut}),Q.to(e.sidebarNav,.1,{opacity:0,ease:me.d.easeIn}),document.body.classList.remove("news-sidebar-open"))},this.close=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;t&&t.preventDefault(),e.open&&(e.open=!1,Q.to(e.globalOverlay,.4,{opacity:0}),Q.set(e.globalOverlay,{pointerEvents:"none"}),Q.staggerTo(e.firstItems,.4,{xPercent:-50,ease:me.g.easeOut},.03),Q.staggerTo(e.firstItems,.1,{opacity:0,ease:me.d.easeIn},.03),Q.to(e.element,.4,{xPercent:-100,ease:ut}),Q.to(e.sidebarNav,.4,{xPercent:-100,ease:me.g.easeOut}),Q.to(e.sidebarNav,.1,{opacity:0,ease:me.d.easeIn}),document.body.classList.remove("news-sidebar-open"))},this.expandItemClickHandler=function(t){var e=t.target;if(!1===e.expanded){e.expanded=!0,e.parentElement.classList.add("expanded");var i=e.parentElement.querySelector(".NewsSidebar-description.extended");Q.to(i,.5,{maxHeight:i.scrollHeight,ease:ut,onComplete:function(){return Q.set(i,{maxHeight:"none"})}})}else{e.expanded=!1,e.parentElement.classList.remove("expanded");var n=e.parentElement.querySelector(".NewsSidebar-description.extended");Q.to(n,.5,{height:60,ease:ut,clearProps:"maxHeight, height"})}},this.element=document.getElementById("NewsSidebar"),this.globalOverlay=document.getElementById("BlockingOverlay"),this.openButton=document.getElementById("NewsToggle"),this.closeButton=this.element.querySelector(".NewsSidebar-close"),this.firstItems=this.element.querySelectorAll(".stagger"),this.sidebarNav=this.element.querySelector(".NewsSidebar-nav"),this.expandButtons=this.element.querySelectorAll(".NewsSidebar-description-expandButton"),this.openButton.addEventListener("click",this.toggle),this.closeButton.addEventListener("click",this.close),this.globalOverlay.addEventListener("click",this.close),new ct(this.openButton,this.openButton,!0,1.15),Q.set(this.element,{xPercent:-100}),Q.set(this.firstItems,{xPercent:-50,opacity:0}
286),Q.set(this.sidebarNav,{xPercent:-100,opacity:0}),this.expandButtons.forEach(function(t){t.expanded=!1,t.addEventListener("click",e.expandItemClickHandler)})}function fa(t){return(fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function va(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ma(t,e,i){return e&&va(t.prototype,e),i&&va(t,i),t}function ga(t,e){return!e||"object"!==fa(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function ya(t,e,i){return(ya="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_a(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function _a(t){return(_a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xa(t,e){return(xa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var wa=function(){function r(t,e){var i;pa(this,r),i=ga(this,_a(r).call(this,t,e));var n=t.querySelectorAll(".FAQListModule-entry");return i.entries=Array.from(n).map(function(t){return new ba(t)}),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xa(t,e)}(r,$),ma(r,[{key:"resize",value:function(){ya(_a(r.prototype),"resize",this).call(this),this.entries.forEach(function(t){return t.resize()})}}]),r}(),ba=function(){function i(t){var e=this;pa(this,i),this.toHeight=0,this.toggle=function(t){if(t.preventDefault(),"A"==t.target.nodeName)return!0;e.open=!e.open,Q.to(e.answer,.4,{height:e.open?e.toHeight:0,ease:ut}),Q.to(e.answer,.4,{opacity:e.open?1:0}),Q.to(e.plus,.4,{scaleY:e.open?0:1,opacity:e.open?0:1,ease:ut,transformOrigin:"center center"})},this._element=t,this.plus=this._element.querySelector(".FAQListModule-plus"),this._element.addEventListener("click",this.toggle),this.answer=this._element.querySelector(".FAQListModule-answer"),Q.set(this.answer,{opacity:0}),this.resize()}return ma(i,[{key:"resize",value:function(){this.toHeight=this.answer.querySelector("div").clientHeight}}]),i}();function Ta(t){return(Ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ea(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Sa(t,e){return!e||"object"!==Ta(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Oa(t,e,i){return(Oa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Pa(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function Pa(t){return(Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Aa(t,e){return(Aa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Ca,Ia,Ma,ka,Ra,La,Da,Na,Fa,Ba,Ua,ja,Xa,za,Wa,Ha=function(){function n(t,e){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(i=Sa(this,Pa(n).call(this,t,e))).subtitle=t.querySelector(".TextStyle-PageSubtitle"),Q.set(i.subtitle,{opacity:0,y:30}),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}
286(n,at),function(t,e,i){e&&Ea(t.prototype,e),i&&Ea(t,i)}(n,[{key:"templateInComplete",value:function(){var t=this;Oa(Pa(n.prototype),"templateInComplete",this).call(this);var e=this.element.querySelector(".TextStyle-PageTitle").parentElement;this.title=new Tt(e),Q.delayedCall(this._templateManager.isInitial()?.75:0,function(){t.element.classList.add("templateInComplete"),t.title.show(),Q.to(t.subtitle,.75,{y:0,ease:ut,delay:.75}),Q.to(t.subtitle,.5,{opacity:1,delay:.75})})}}]),n}();
287/*!
288 * VERSION: 0.7.0
289 * DATE: 2019-02-07
290 * UPDATES AND DOCS AT: http://greensock.com
291 *
292 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
293 * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use
294 * this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details.
295 * This work is subject to the software agreement that was issued with your membership.
296 * 
297 * @author: Jack Doyle, [email protected]
298 */function Ga(t){return La.getComputedStyle(t)}function Va(t,e,i,n){var r;return(i=i||Ga(t))?r=(t=i.getPropertyValue(e.replace(Da,"-$1").toLowerCase()))||i.length?t:i[e]:t.currentStyle&&(r=(i=t.currentStyle)[e]),n?r:parseInt(r,10)||0}function Ya(t){return!!(t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))}function qa(t,e){for(var i,n=e.length;-1<--n;)if(i=e[n],t.substr(0,i.length)===i)return i.length}function Ka(t){return(t.charCodeAt(0)-55296<<10)+(t.charCodeAt(1)-56320)+65536}function Za(t,e){var i=-1!==(t=t||"").indexOf("++"),n=1;return i&&(t=t.split("++").join("")),function(){return"<"+e+Ba+(t?" class='"+t+(i?n++:"")+"'>":">")}}function Qa(t,e){for(var i=e.length;-1<--i;)t.push(e[i])}function Ja(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i}function $a(t,e,i){for(var n;t&&t!==e;){if(n=t._next||t.nextSibling)return n.textContent.charAt(0)===i;t=t.parentNode||t._parent}return!1}function tl(t,e,i,n,r,o,s){var a,l,h,u,c,d,f,p,v,m,g,y,_=Ga(t),x=Va(t,"paddingLeft",_),w=-999,b=Va(t,"borderBottomWidth",_)+Va(t,"borderTopWidth",_),T=Va(t,"borderLeftWidth",_)+Va(t,"borderRightWidth",_),E=Va(t,"paddingTop",_)+Va(t,"paddingBottom",_),S=Va(t,"paddingLeft",_)+Va(t,"paddingRight",_),O=.2*Va(t,"fontSize"),P=Va(t,"textAlign",_,!0),A=[],C=[],I=[],M=e.wordDelimiter||" ",k=e.tag?e.tag:e.span?"span":"div",R=e.type||e.split||"chars,words,lines",L=r&&-1!==R.indexOf("lines")?[]:null,D=-1!==R.indexOf("words"),N=-1!==R.indexOf("chars"),F="absolute"===e.position||!0===e.absolute,B=e.linesClass,U=-1!==(B||"").indexOf("++"),j=[];for(U&&(B=B.split("++").join("")),h=(l=t.getElementsByTagName("*")).length,c=[],a=0;a<h;a++)c[a]=l[a];if(L||F)for(a=0;a<h;a++)((d=(u=c[a]).parentNode===t)||F||N&&!D)&&(y=u.offsetTop,L&&d&&Math.abs(y-w)>O&&("BR"!==u.nodeName||0===a)&&(f=[],L.push(f),w=y),F&&(u._x=u.offsetLeft,u._y=y,u._w=u.offsetWidth,u._h=u.offsetHeight),L&&((u._isSplit&&d||!N&&d||D&&d||!D&&u.parentNode.parentNode===t&&!u.parentNode._isSplit)&&(f.push(u),u._x-=x,$a(u,t,M)&&(u._wordEnd=!0)),"BR"===u.nodeName&&(u.nextSibling&&"BR"===u.nextSibling.nodeName||0===a)&&L.push([])));for(a=0;a<h;a++)d=(u=c[a]).parentNode===t,"BR"!==u.nodeName?(F&&(v=u.style,D||d||(u._x+=u.parentNode._x,u._y+=u.parentNode._y),v.left=u._x+"px",v.top=u._y+"px",v.position="absolute",v.display="block",v.width=u._w+1+"px",v.height=u._h+"px"),!D&&N?u._isSplit?(u._next=u.nextSibling,u.parentNode.appendChild(u)):u.parentNode._isSplit?(u._parent=u.parentNode,!u.previousSibling&&u.firstChild&&(u.firstChild._isFirst=!0),u.nextSibling&&" "===u.nextSibling.textContent&&!u.nextSibling.nextSibling&&j.push(u.nextSibling),u._next=u.nextSibling&&u.nextSibling._isFirst?null:u.nextSibling,u.parentNode.removeChild(u),c.splice(a--,1),h--):d||(y=!u.nextSibling&&$a(u.parentNode,t,M),u.parentNode._parent&&u.parentNode._parent.appendChild(u),y&&u.parentNode.appendChild(Ra.createTextNode(" ")),"span"===k&&(u.style.display="inline"),A.push(u)):u.parentNode._isSplit&&!u._isSplit&&""!==u.innerHTML?C.push(u):N&&!u._isSplit&&("span"===k&&(u.style.display="inline"),A.push(u))):L||F?(u.parentNode&&u.parentNode.removeChild(u),c.splice(a--,1),h--):D||t.appendChild(u);for(a=j.length;-1<--a;)j[a].parentNode.removeChild(j[a]);if(L){for(F&&(m=Ra.createElement(k),t.appendChild(m),g=m.offsetWidth+"px",y=m.offsetParent===t?0:t.offsetLeft,t.removeChild(m)),v=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(p=" "===M&&(!F||!D&&!N),a=0;a<L.length;a++){for(f=L[a],(m=Ra.createElement(k)).style.cssText="display:block;text-align:"+P+";position:"+(F?"absolute;":"relative;"),B&&(m.className=B+(U?a+1:"")),I.push(m),h=f.length,l=0;l<h;l++)"BR"!==f[l].nodeName&&(u=f[l],m.appendChild(u),p&&u._wordEnd&&m.appendChild(Ra.createTextNode(" ")),F&&(0===l&&(m.style.top=u._y+"px",m.style.left=x+y+"px"),u.style.top="0px",y&&(u.style.left=u._x-y+"px")));0===h?m.innerHTML="&nbsp;":D||N||(Xa(m),ja(m,String.fromCharCode(160)," ")),F&&(m.style.width=g,m.style.height=u._h+"px"),t.appendChild(m)}t.style.cssText=v}F&&(s>t.clientHeight&&(t.style.height=s-E+"px",t.clientHeight<s&&(t.style.height=s+b+"px")),o>t.clientWidth&&(t.style.width=o-S+"px",t.clientWidth<o&&(t.style.width=o+T+"px"))),Qa(i,A),D&&Qa(n,C),Qa(r,I)}
299/*!
300 * VERSION: 0.7.0
301 * DATE: 2019-02-07
302 * UPDATES AND DOCS AT: http://greensock.com
303 *
304 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
305 * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use
306 * this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details.
307 * This work is subject to the software agreement that was issued with your membership.
308 * 
309 * @author: Jack Doyle, [email protected]
310 */
311Ca=me.k,Ia=Ca.GreenSockGlobals||Ca,Ma=function(t){var e,i=t.split("."),n=Ia;for(e=0;e<i.length;e++)n[i[e]]=n=n[i[e]]||{};return n}("com.greensock.utils"),ka=function(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=ka(t)}else if(3===e||4===e)return t.nodeValue;return i},Ra=me.k.document||{},La=void 0!==Ca?Ca:Ra.defaultView||{getComputedStyle:function(){}},Da=/([A-Z])/g,Na=/(?:\r|\n|\t\t)/g,Fa=/(?:\s\s+)/g,Ba=" style='position:relative;display:inline-block;"+(Ra.all&&!Ra.addEventListener?"*display:inline;*zoom:1;'":"'"),Ua=Ma.SplitText=Ia.SplitText=function(t,e){if("string"==typeof t&&(t=Ua.selector(t)),!t)throw"cannot split a null element.";this.elements=Ya(t)?function(t){var e,i,n,r=[],o=t.length;for(e=0;e<o;e++)if(i=t[e],Ya(i))for(n=i.length,n=0;n<i.length;n++)r.push(i[n]);else r.push(i);return r}(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},ja=function(t,e,i){var n=t.nodeType;if(1===n||9===n||11===n)for(t=t.firstChild;t;t=t.nextSibling)ja(t,e,i);else 3!==n&&4!==n||(t.nodeValue=t.nodeValue.split(e).join(i))},Xa=function(t){var e,i,n=Ja(t.childNodes),r=n.length;for(e=0;e<r;e++)(i=n[e])._isSplit?Xa(i):(e&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=3===i.nodeType?i.nodeValue:i.firstChild.nodeValue:3!==i.nodeType&&t.insertBefore(i.firstChild,i),t.removeChild(i))},za=function(t,e,i,n){var r,o,s=Ja(t.childNodes),a=s.length,l="absolute"===e.position||!0===e.absolute;if(3!==t.nodeType||1<a){for(e.absolute=!1,r=0;r<a;r++)3===(o=s[r]).nodeType&&!/\S+/.test(o.nodeValue)||(l&&3!==o.nodeType&&"inline"===Va(o,"display",null,!0)&&(o.style.display="inline-block",o.style.position="relative"),o._isSplit=!0,za(o,e,i,n));return e.absolute=l,void(t._isSplit=!0)}!function(t,e,i,n){var r,o,s,a,l,h,u,c,d,f,p=e.tag?e.tag:e.span?"span":"div",v=-1!==(e.type||e.split||"chars,words,lines").indexOf("chars"),m="absolute"===e.position||!0===e.absolute,g=e.wordDelimiter||" ",y=" "!==g?"":m?"&#173; ":" ",_="</"+p+">",x=!0,w=e.specialChars?"function"==typeof e.specialChars?e.specialChars:qa:null,b=Ra.createElement("div"),T=t.parentNode;for(T.insertBefore(b,t),b.textContent=t.nodeValue,T.removeChild(t),u=-1!==(r=ka(t=b)).indexOf("<"),!1!==e.reduceWhiteSpace&&(r=r.replace(Fa," ").replace(Na,"")),u&&(r=r.split("<").join("{{LT}}")),l=r.length,o=(" "===r.charAt(0)?y:"")+i(),s=0;s<l;s++)if(h=r.charAt(s),w&&(f=w(r.substr(s),e.specialChars)))h=r.substr(s,f||1),o+=v&&" "!==h?n()+h+"</"+p+">":h,s+=f-1;else if(h===g&&r.charAt(s-1)!==g&&s){for(o+=x?_:"",x=!1;r.charAt(s+1)===g;)o+=y,s++;s===l-1?o+=y:")"!==r.charAt(s+1)&&(o+=y+i(),x=!0)}else"{"===h&&"{{LT}}"===r.substr(s,6)?(o+=v?n()+"{{LT}}</"+p+">":"{{LT}}",s+=5):55296<=h.charCodeAt(0)&&h.charCodeAt(0)<=56319||65024<=r.charCodeAt(s+1)&&r.charCodeAt(s+1)<=65039?(c=Ka(r.substr(s,2)),d=Ka(r.substr(s+2,2)),a=127462<=c&&c<=127487&&127462<=d&&d<=127487||127995<=d&&d<=127999?4:2,o+=v&&" "!==h?n()+r.substr(s,a)+"</"+p+">":r.substr(s,a),s+=a-1):o+=v&&" "!==h?n()+h+"</"+p+">":h;t.outerHTML=o+(x?_:""),u&&ja(T,"{{LT}}","<")}(t,e,i,n)},(Wa=Ua.prototype).split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,i,n,r=this.elements.length,o=t.tag?t.tag:t.span?"span":"div",s=Za(t.wordsClass,o),a=Za(t.charsClass,o);-1<--r;)n=this.elements[r],this._originals[r]=n.innerHTML,e=n.clientHeight,i=n.clientWidth,za(n,t,s,a),tl(n,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},Wa.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;-1<--t;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},Ua.selector=Ca.$||Ca.jQuery||function(t){var e=Ca.$||Ca.jQuery;return e?(Ua.selector=e)(t):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)},Ua.version="0.7.0";var el=me.m.SplitText;function il(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var nl=function(){function r(t,e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.open=!1,this.activeMenuIndex=-1,this.activeHoverMenuIndex=-1,this.splitTexts=[],this.toggle=function(t){t.preventDefault(),n.open=!n.open,n.open&&n.newsSidebar.close(),Q.to(n.element,.4,{yPercent:n.open?0:-100,ease:ut}),Q.set(n.globalOverlay,{pointerEvents:n.open?"all":"none"}),Q.to(n.globalOverlay,.4,{opacity:n.open?.8:0}),n.open?(Q.staggerTo(n.menuItems,.8,{yPercent:n.open?0:-50,force3D:!0,ease:me.g.easeOut},.1),Q.staggerTo(n.menuItems,.6,{opacity:n.open?1:0,force3D:!0,ease:me.d.easeOut},.1),document.body.classList.add("menu-open")):(Q.staggerTo(n.menuItems,.4,{yPercent:-50,force3D:!0,ease:me.g.easeOut},.03),Q.staggerTo(n.menuItems,.1,{opacity:0,force3D:!0,ease:me.d.easeIn},.03),document.body.classList.remove("menu-open"))},this.close=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;if(t&&t.preventDefault(),n.open){n.open=!1,Q.to(n.globalOverlay,.4,{opacity:0,delay:0}),Q.set(n.globalOverlay,{pointerEvents:"none"}),Q.to(n.element,.4,{yPercent:-100,ease:ut,delay:0}),Q.staggerTo(n.menuItems,.4,{yPercent:-50,ease:me.g.easeOut,delay:0},.03),Q.staggerTo(n.menuItems,.1,{opacity:0,ease:me.d.easeIn,delay:0},.03),document.body.classList.remove("menu-open")}},this.mouseOver=function(t){var e=t.currentTarget.hoverIndex;n.activeHoverMenuIndex=e,n.showMenuItem(e)},this.mouseOut=function(t){var e=t.currentTarget.hoverIndex;n.activeHoverMenuIndex=-1,e!==n.activeMenuIndex&&(n.menuItems[e].classList.remove("active"),n.hideMenuItem(e))},this.clickHandler=function(t){t.currentTarget.hoverIndex===n.activeMenuIndex&&n.close(t)},this.randomOffsets=[1,5,3,6,5,3,3,2,2,4,6,4],this.hashChangeHandler=function(t){var e="/"+t.fullUrl.split("/")[1],i=n.mappedUrlIndexes[e];n.activeMenuIndex!==i&&(void 0!==i&&i!==n.activeHoverMenuIndex&&n.showMenuItem(i,!n.open),void 0!==i&&(-1!==n.activeMenuIndex&&n.hideMenuItem(n.activeMenuIndex,!0),n.activeMenuIndex=i))},this.newsSidebar=t,this.element=document.getElementById("Menu"),this.globalOverlay=document.getElementById("BlockingOverlay"),this.openButton=document.getElementById("MenuToggle"),this.logo=document.getElementById("Logo"),this.menuItems=this.element.querySelectorAll("a"),this.menuItemSVGTitleWrappers=Array.from(this.element.querySelectorAll("div")),this.menuItemLabels=Array.from(this.element.querySelectorAll("span")),this.menuItemLabels.forEac
311h(function(t,e){n.splitTexts.push(new el(t,{type:"chars"}))}),this.animationTitles=this.menuItemSVGTitleWrappers.map(function(t){return new Tt(t)}),this.openButton.addEventListener("click",this.toggle),this.globalOverlay.addEventListener("click",this.close),Q.set(this.element,{yPercent:-100}),Q.set(this.menuItems,{yPercent:-50,opacity:0,force3D:!0}),this.mappedUrlIndexes=[],this.menuItems.forEach(function(t,e){v.IS_TOUCH_DEVICE||(t.addEventListener("mouseover",n.mouseOver),t.addEventListener("mouseout",n.mouseOut)),t.addEventListener("click",n.clickHandler),n.mappedUrlIndexes[t.getAttribute("href")]=e,t.hoverIndex=e});var i=ot.getInstance();i.parseNodeList(this.menuItems),i.parse(this.logo),i.parse(document.querySelector(".MenuLogo")),this.hashChangeHandler({fullUrl:window.location.pathname}),e.signalHashChange.add(this.hashChangeHandler)}return function(t,e,i){e&&il(t.prototype,e),i&&il(t,i)}(r,[{key:"showMenuItem",value:function(t,e){var i=1<arguments.length&&void 0!==e&&e;this.animationTitles[t].show(i),this.menuItems[t].classList.add("active"),Q.killTweensOf(this.splitTexts[t].chars),Q.to(this.splitTexts[t].chars,i?0:.1,{opacity:0})}},{key:"hideMenuItem",value:function(t,e){var i=this,n=1<arguments.length&&void 0!==e&&e;this.animationTitles[t].hideMenu(n),this.menuItems[t].classList.remove("active"),Q.killTweensOf(this.splitTexts[t].chars),this.splitTexts[t].chars.forEach(function(t,e){Q.to(t,n?0:.175,{opacity:.6,delay:.04*i.randomOffsets[e]})})}}]),r}();function rl(t){return(rl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ol(t,e){return!e||"object"!==rl(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function sl(t){return(sl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function al(t,e){return(al=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var ll=function(){function i(t,e){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(r=ol(this,sl(i).call(this,t,e))).sortingOnIndex=0,r.trData=[],r.sortOn=function(t){var e=t.target,i=r.ths.indexOf(e);r.sortingOnIndex!==i&&(r.ths[r.sortingOnIndex].classList.remove("asc"),r.ths[r.sortingOnIndex].classList.remove("active"),r.sortingOnIndex=i,r.ths[r.sortingOnIndex].classList.add("active"));var n=e.classList.toggle("asc");0===r.sortingOnIndex?r.trData[r.sortingOnIndex].sort(function(t,e){return t.value-e.value}):r.trData[r.sortingOnIndex].sort(function(t,e){var i=t.value.toUpperCase(),n=e.value.toUpperCase();return i<n?-1:n<i?1:0}),r.trData[r.sortingOnIndex].forEach(function(t,e){n?r.table.appendChild(r.table.removeChild(t.tr)):r.table.prepend(r.table.removeChild(t.tr))})},r.table=t.querySelector("table tbody"),r.ths=Array.from(t.querySelectorAll("th")),r.trs=Array.from(t.querySelectorAll("tbody tr")),r.trData[0]=r.trs.map(function(t){return{tr:t,value:parseInt(t.dataset.year)}}),r.trData[1]=r.trs.map(function(t){return{tr:t,value:t.dataset.award}}),r.trData[2]=r.trs.map(function(t){return{tr:t,value:t.dataset.project}}),r.trData[3]=r.trs.map(function(t){return{tr:t,value:t.dataset.song}}),r.trData[4]=r.trs.map(function(t){return{tr:t,value:t.dataset.status}}),r.ths.forEach(function(t,e){t.addEventListener("click",r.sortOn)}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&al(t,e)}(i,$),i}();function hl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var ul=function(){function a(t,e){var c=this,i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=3<arguments.length?arguments[3]:void 0,r=4<arguments.length?arguments[4]:void 0,o=5<arguments.length?arguments[5]:void 0;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),this.dimensions={width:960,height:660},this.scrollLength=300,this.killed=!1,this.currImageScale=1,this.hashChangeHandler=function(){var t=kt.checkHashStringForGeniusModeIndex(window.location.hash);Q.killDelayedCallsTo(c.instantiateGeniusMode),c.templatingOut||c.killed||(0===t?c.geniusMode||c.instantiateGeniusMode(null):c.geniusMode&&c.geniusMode.close(null))},this.enableHover=function(){c.geniusModeButton&&(c.appendTo.addEventListener("mouseover",c.mouseOver),c.appendTo.addEventListener("mouseout",c.mouseOut),c.appendTo.addEventListener("click",c.instantiateGeniusMode))},this.disableHover=function(){c.geniusModeButton&&(c.appendTo.removeEventListener("mouseover",c.mouseOver),c.appendTo.removeEventListener("mouseout",c.mouseOut),c.appendTo.removeEventListener("click",c.instantiateGeniusMode))},this.setupTimeline=function(){c.timeline&&(c.timeline.render(0,!0,!0),c.timeline.kill(),c.timeline=null),c.imageScaleFactor=c.dimensions.width/c.image.naturalWi
311dth;for(var n=[],t=(c.dimensions.width-90)/6,e=c.dimensions.width-100,i=0,r=[45,20,50,0,50,0],o=[45,27,9,-9,-27,-45],s=0;s<6;s++)n.push({x:i,y:r[s],width:t,height:610}),i+=18+t;c.spriteMask.clear(),c.spriteMask.beginFill(0),n.map(function(t,e){c.spriteMask.drawRect(t.x,t.y,t.width,t.height)});var a=0,l=e/c.dimensions.width*c.spriteImage.scale.x,h=K.easeIn;c.timeline=new R({paused:!0,onUpdate:function(){c.killed||(c.spriteMask.clear(),c.spriteMask.beginFill(0),n.forEach(function(t,e){var i=n[e];c.spriteMask.drawRect(i.x,i.y,i.width,i.height)}))}}),c.timeline.to(c.spriteImage.scale,1,{ease:h,x:l,y:l},0),c.timeline.to(n[a],1,{ease:h,x:n[a].x+o[a],y:50},0);for(var u=0;u<5;u++)a++,c.timeline.to(n[a],1,{ease:h,y:50,x:n[a].x+o[a]},0);c.geniusModeButton&&(c.geniusModeButtonTween=Q.to(c.geniusModeButton,1,{y:50*c.app.stage.scale.x,x:36*c.app.stage.scale.x,ease:h}),c.timeline.add(c.geniusModeButtonTween,0),c.timeline.fromTo(c.geniusModeButton,.4,{opacity:1},{opacity:0,ease:me.d.easeIn},.4))},this.scrollUpdate=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=c.getScrollProgress();t?c.timeline.render(e,!1,!0):Q.to(c.timeline,.3,{progress:e,ease:me.d.easeNone})},this.resize=function(){var t=Math.min(c.dimensions.width,c.appendTo.clientWidth)/c.dimensions.width;c.app.stage.scale.set(t,t),c.scrollLength=300,c.geniusModeButtonTween&&c.geniusModeButtonTween.updateTo({css:{y:50*t,x:36*t}},!1),c.scrollUpdate(!0)},this.kill=function(){c.killed||(c.killed=!0,p.signalResize.remove(c.resize),u.signalScroll.remove(c.scrollUpdate),c.disableHover(),c.timeline&&c.timeline.kill(),c.killGeniusMode(),c.spriteImage&&(c.spriteImage.destroy(),c.spriteMask.destroy()),c.resetApp())},this.templateOut=function(){c.templatingOut=!0,c.geniusMode&&c.geniusMode.close(null,!0)},this.killGeniusMode=function(){c.geniusMode&&(c.geniusMode.kill(),c.geniusMode=null)},this.closeGeniusModeHandler=function(){c.templatingOut||c.transitionCloseGeniusMode()},this.instantiateGeniusMode=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;t&&t.preventDefault(),u.signalScroll.remove(c.scrollUpdate),c.disableHover();var e=c.canvas.getBoundingClientRect(),i=new vt(860*c.app.stage.scale.x,580*c.app.stage.scale.x),n=mt.scaleToFill(i,new vt(p.documentWidth,p.height)).width/i.width*1.1,r=new R({onComplete:function(){c.geniusMode.initRest()}});Q.set(c.app.view,{position:"fixed",left:0,top:0,x:e.left,y:e.top}),Q.killTweensOf(c.timeline);var o=.3*(1-c.timeline.progress());return r.to(c.timeline,o,{progress:1,ease:ut}),c.blackSprite.visible=!0,r.to(c.blackSprite,.2,{alpha:1},.5*o),r.to(c.app.view,.75,{onStart:function(){c.app.render(),c.app.stop(),c.app.view.style.willChange="transform"},force3D:!0,transformOrigin:"center top",scaleX:n,scaleY:n,ease:ut,y:-.5*(e.height*n-p.height)}),c.geniusMode=new kt(c.dataset.video,c.dataset.images.split(","),c.dataset.title,null,c.closeGeniusModeHandler),!1},this.mouseOver=function(){Q.to(c.timeline,.75,{progress:.45,ease:me.g.easeOut})},this.mouseOut=function(){Q.to(c.timeline,.4,{progress:c.getScrollProgress(),ease:me.e.easeOut})},this.appendTo=t,this.transitionIn=i,this.geniusModeButton=n,this.dataset=r,this._templateManager=o,a.APP)this.app=a.APP,this.app.resizeTo=t,this.app.start();else try{this.app=new Yo({transparent:!0,powerPreference:"high-performance",antialias:!0,autoDensity:!0,resolution:window.devicePixelRatio,resizeTo:t}),a.APP=this.app}catch(t){return void new ia}this.stage=this.app.stage,this.canvas=this.app.view,t.appendChild(this.app.view);var s=new Image;s.crossOrigin="anonymous",s.addEventListener("load",function(){c.killed||(c.setupImage(s),p.signalResize.add(c.resize),c.setupTimeline(),c.resize(),c.transitionIn&&(c.spriteImage.alpha=0,Q.fromTo(c.timeline,2,{progress:1},{progress:c.getScrollProgress(),ease:ut,delay:.5,onComplete:function(){c.enableHover(),c._templateManager.signalHashChange.add(c.hashChangeHandler)}}),Q.to(c.spriteImage,1,{alpha:1})),u.signalScroll.add(c.scrollUpdate),c.geniusModeButton&&(c.transitionIn||Q.fromTo(c.geniusModeButton,.5,{opacity:0},{opacity:1,delay:.75,onComplete:c.enableHover})))}),s.src=e}
311return function(t,e,i){e&&hl(t.prototype,e),i&&hl(t,i)}(a,[{key:"setupImage",value:function(t){this.image=t,this.imageHeight=this.image.naturalHeight,this.spriteImage=new Zo.from(this.image);var e=mt.scaleToFill(new vt(this.image.naturalWidth,this.imageHeight),new vt(this.dimensions.width,this.dimensions.height));this.spriteImage.width=e.width,this.spriteImage.height=e.height,this.spriteImage.anchor.set(.5,.5),this.spriteImage.position.x=.5*this.dimensions.width,this.spriteImage.position.y=.5*this.dimensions.height,this.blackSprite=new Zo,this.blackSprite.texture=zn.WHITE,this.blackSprite.tint=0,this.blackSprite.width=e.width-100,this.blackSprite.height=e.height-84,this.blackSprite.anchor.set(.5,.5),this.blackSprite.position.x=.5*this.dimensions.width,this.blackSprite.position.y=.5*this.dimensions.height+8,this.blackSprite.visible=!1,this.blackSprite.alpha=0,this.spriteMask=new Ts,this.spriteMask.lineStyle(0),this.stage.addChild(this.spriteImage),this.stage.addChild(this.spriteMask),this.stage.addChild(this.blackSprite),this.spriteImage.mask=this.spriteMask}},{key:"getScrollProgress",value:function(){return yt(u.viewport.top/this.scrollLength,0,1)}},{key:"resetApp",value:function(){var t=this.app.view.style.width,e=this.app.view.style.height;Q.set(this.app.view,{clearProps:"all",immediateRender:!0}),this.app.view.style.width=t,this.app.view.style.height=e,this.stage.destroy(!0),this.app.stage=new _n,this.app.render(),this.app.stop()}},{key:"transitionCloseGeniusMode",value:function(){var t=this,e=new R({onComplete:function(){t.blackSprite.visible=!1,t.killGeniusMode(),t.enableHover(),u.signalScroll.add(t.scrollUpdate)}}),i=this.appendTo.getBoundingClientRect(),n=new vt(860*this.app.stage.scale.x,580*this.app.stage.scale.x),r=mt.scaleToFill(n,new vt(p.documentWidth,p.height)).width/n.width*1.1;Q.set(this.app.view,{x:i.left}),e.fromTo(this.app.view,.5,{scaleX:r,scaleY:r,y:-.5*(i.height*r-p.height),transformOrigin:"center top",force3D:!0},{delay:0,transformOrigin:"center top",y:i.top,scaleX:1,scaleY:1,force3D:!0,clearProps:"scaleX, scaleY, y, willChange, position, left, top, x",ease:ut});var o=.5*(1-this.getScrollProgress());this.blackSprite.visible=!0,e.to(this.blackSprite,.2,{alpha:0}),e.to(this.timeline,o,{onStart:function(){return t.app.start()},progress:this.getScrollProgress(),ease:K.easeOut},"-=0.2")}}]),a}();function cl(t){return(cl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function fl(t,e){return!e||"object"!==cl(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function pl(t,e,i){return(pl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=vl(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function vl(t){return(vl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ml(t,e){return(ml=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var gl=function(){function n(t,e){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(i=fl(this,vl(n).call(this,t,e))).activeIndex=0,i.players=[],i.prev=function(t){t&&t.preventDefault(),0<i.activeIndex&&i.setActiveIndex(i.activeIndex-1,!1,!0)},i.next=function(t){t&&t.preventDefault(),i.activeIndex<i.medias.length-1&&i.setActiveIndex(i.activeIndex+1,!1,!0)},v.IS_TOUCH_DEVICE&&t.classList.add("is-touch"),i.medias=Array.from(t.querySelectorAll(".WorkSliderModule-media")),i.captions=Array.from(t.querySelectorAll(".WorkSliderModule-caption")),i.navArrows=t.querySelectorAll(".WorkSliderModule-nav a"),i.boundsElement=i.element.querySelector(".WorkSliderModule-medias"),i.draggableElement=i.element.querySelector(".WorkSliderModule-mediasInner"),i.videos=i.element.querySelectorAll(".video-js"),0<i.videos.length&&i.setupVideos(),1<i.medias.length&&(i.setupDraggable(),i.setupNav(),i.checkNavArrows(),i.resize()),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ml(t,e)}
311(n,$),function(t,e,i){e&&dl(t.prototype,e),i&&dl(t,i)}(n,[{key:"setupDraggable",value:function(){var i=this;this.draggable=Yt.create(this.draggableElement,{bounds:{minX:-this.currSnapWidth*(this.medias.length-1),maxX:0},type:"x",edgeResistance:.5,throwProps:!0,allowEventDefault:!0,zIndexBoost:!1,lockAxis:!0,allowNativeTouchScrolling:!1,snap:function(t){var e=i.getIndex(t);return i.setActiveIndex(e),yt(-e*i.currSnapWidth,i.draggable.minX,i.draggable.maxX)}})[0]}},{key:"getIndex",value:function(t){return yt(-1*Math.round(t/this.currSnapWidth),0,this.medias.length-1)}},{key:"setActiveIndex",value:function(t,e,i){var n=1<arguments.length&&void 0!==e&&e,r=2<arguments.length&&void 0!==i&&i;if(t!==this.activeIndex){var o=n?0:.8;Q.killTweensOf(this.captions[this.activeIndex]),Q.to(this.captions[this.activeIndex],.4,{autoAlpha:0,display:"none"}),this.playersIndexed[this.activeIndex]&&(this.playersIndexed[this.activeIndex].paused()||this.playersIndexed[this.activeIndex].pause()),this.activeIndex=t,Q.to(this.captions[this.activeIndex],.4,{autoAlpha:1,display:"block",delay:.4}),r&&Q.to(this.draggableElement,o,{ease:ut,x:-this.currSnapWidth*t}),this.checkNavArrows()}}},{key:"resize",value:function(){pl(vl(n.prototype),"resize",this).call(this),this.draggable&&(this.currSnapWidth=this.boundsElement.clientWidth,Q.set(this.draggableElement,{x:-this.currSnapWidth*this.activeIndex}),this.draggable.applyBounds({minX:-this.currSnapWidth*(this.medias.length-1),maxX:0}))}},{key:"setupNav",value:function(){this.navArrows[0].addEventListener("click",this.prev),this.navArrows[1].addEventListener("click",this.next)}},{key:"checkNavArrows",value:function(){0===this.activeIndex?this.navArrows[0].classList.add("inactive"):this.navArrows[0].classList.remove("inactive"),this.activeIndex===this.medias.length-1?this.navArrows[1].classList.add("inactive"):this.navArrows[1].classList.remove("inactive")}},{key:"kill",value:function(){pl(vl(n.prototype),"kill",this).call(this),this.players.forEach(function(t){return t.dispose()}),this.players=[],this.draggable&&this.draggable.kill()}},{key:"setupVideos",value:function(){var o=this;r.e(1).then(r.bind(null,392)).then(function(t){var r=t.default;window.videojs=r,o.playersIndexed=[],o.medias.forEach(function(t,e){var i=t.querySelector(".video-js");if(i){if(0===i.querySelectorAll("source").length)return void(o.playersIndexed[e]=null);try{var n=r(i,{nativeControlsForTouch:!0,fullscreen:{options:{navigationUI:"show"}},controlBar:{pictureInPictureToggle:!1,fullscreenToggle:!0},userActions:{doubleClick:!1}});o.playersIndexed[e]=n,o.players.push(n)}catch(t){o.playersIndexed[e]=null}}else o.playersIndexed[e]=null})}).catch(function(t){})}}]),n}();function yl(t,e){var i=this,n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,yl),this.toggleAudio=function(t){i.audio.paused?i.audio.play():i.audio.pause()},this.audioPlayChange=function(t){var e=!i.audio.paused;i._useLabels&&(i.span.textContent=e?"Pause song":"Play song"),e&&i._playingCallback(i.audio),Q.to(i.svgIcons[1],.3,{opacity:e?1:0}),Q.to(i.svgIcons[0],.3,{opacity:e?0:1})},this.mouseOver=function(){Q.set(i.svgCircle,{opacity:1}),Q.killTweensOf(i.svgCircle),Q.to(i.svgIcons,1,{scale:1,ease:i.ease}),Q.fromTo(i.svgCircle,.5,{drawSVG:"0% 0%"},{drawSVG:"0% 100%",ease:ut})},this.mouseOut=function(){Q.killTweensOf(i.svgCircle),Q.to(i.svgIcons,.75,{scale:1.2,ease:i.ease}),Q.to(i.svgCircle,.4,{drawSVG:"100% 100%",ease:ut,onComplete:function(){Q.set(i.svgCircle,{opacity:0})}})},this._playingCallback=e,this._useLabels=n;var r=document.createElement("div");r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 47.14 45.5">\n    <path class="DrawCircle" d="M33.72 1.25A28.4 28.4 0 0012.43 4.7a22.6 22.6 0 00-7.77 7.75 21.33 21.33 0 00-1.81 16.69 22.75 22.75 0 0014.47 14.8 22.79 22.79 0 0020.42-3.41 22.79 22.79 0 008.89-18.7A20.86 20.86 0 0035.88 4.29C29.14.77 20.89 2 14.4 5.5 8.23 8.82 3.05 14.32 1.2 21.22a19.9 19.9 0 00-.46 2.14 15.44 15.44 0 001 8.93 19.1 19.1 0 001 1.92"\n          fill="none" stroke="#231f20" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n<svg class="DrawIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 47.14 45.5">\n<path d="M22 20.17c0 1.87-.07 5.53-.07 7.4 0 1.36.86 2 2 1s3.64-3.08 4.32-3.81c.94-1 .91-1.7-.14-2.63a49.93 49.93 0 00-4.32-3.6c-.99-.68-1.79-.42-1.79 1.64z" fill="#231f20"/>\n</svg>\n<svg class="DrawIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 47.14 45.5">\n<path d="M20.59 18a1 1 0 01.65-.19c.29 0 .74-.05 1 .18s.23.87.25 1.21l.08 1.42c0 1.06.06 2.12.08 3.19s.06 2.08.06 3.12a8.43 8.43 0 01-.12 2c-.12.49-.63.48-1 .49a1.61 1.61 0 01-1.06-.17c-.16-.14-.17-.43-.19-.63a21.55 21.55 0 01-.06-2.41c0-.82 0-1.65.07-2.47 0-1 0-2 .07-3.06a19 19 0 01.12-2.39.53.53 0 01.05-.29zM26.79 18c.3-.29.94-.23 1.32-.18s.61.44.66.85c.18 1.71.14 3.39.17 5.1v2.32a21.43 21.43 0 01-.07 2.27c0 .3 0 .69-.28.88a1.26 1.26 0 01-.74.19c-.39 0-1 .1-1.27-.23-.45-.56-.21-4.12-.18-5.74 0-.91.12-4.21.17-4.92a.84.84 0 01.22-.54z"/>\n</svg>\n',t.appendChild(r),this.span=t.querySelector("span"),this.audio=t.querySelector("audio"),this.svgIcons=r.querySelectorAll(".DrawIcon"),this.svgCircle=r.querySelector(".DrawCircle"),Q.set(this.svgIcons[1],{opacity:0}
311),this.audio.addEventListener("playing",this.audioPlayChange),this.audio.addEventListener("pause",this.audioPlayChange),t.addEventListener("click",this.toggleAudio),v.IS_TOUCH_DEVICE||(this.ease=z.easeOut.config(2,.4),Q.set(this.svgCircle,{drawSVG:"0% 0%",opacity:0}),Q.set(this.svgIcons,{scale:1.2}),t.addEventListener("mouseover",this.mouseOver),t.addEventListener("mouseout",this.mouseOut))}function _l(t){return(_l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wl(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bl(t,e,i){return(bl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Tl(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function Tl(t){return(Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function El(t,e){return(El=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Sl=function(){function n(t,e){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(i=function(t,e){return!e||"object"!==_l(e)&&"function"!=typeof e?wl(t):e}(this,Tl(n).call(this,t,e))).listExpanded=!1,i.cameFromWorkPage=!1,i.killed=!1,i.setupImage=function(){i.topImage=new ul(i.imageWrapper,v.WEBP_SUPPORTED?i.imageWrapper.dataset.imageWebp:i.imageWrapper.dataset.image,!i.cameFromWorkPage,i.geniusModeButton,i.element.dataset,i._templateManager)},i.playingCallback=function(t){i.activeAudioElement!==t&&(i.activeAudioElement&&i.activeAudioElement.pause(),i.activeAudioElement=t)},i.toggleList=function(t){i.listExpanded=!i.listExpanded,i.songList.style.maxHeight=(i.listExpanded?393:i.songListInner.clientHeight)+"px",Q.to(i.listTogglerLabels[0],.5,{opacity:i.listExpanded?0:1}),Q.to(i.listTogglerLabels[1],.5,{opacity:i.listExpanded?1:0}),Q.to(i.songList,.5,{ease:ut,"max-height":i.listExpanded?i.songListInner.clientHeight:393,onComplete:function(){Q.set(i.songList,{"max-height":i.listExpanded?99999:""})}})},i.titleElement=i.element.querySelector(".TextStyle-PageTitle").parentElement,i.subtitle=i.element.querySelector(".TextStyle-PageSubtitle"),i.geniusModeButton=i.element.querySelector(".GeniusModeButton"),i.descriptionWrapper=i.element.querySelector(".WorkTemplate-descriptionWrapper"),i.backToWorkButton=i.element.querySelector(".WorkTemplate-backToWork"),i.backToWorkButtonTop=i.element.querySelector(".WorkTemplate-backToWorkTop"),i.sliderElement=i.element.querySelector(".WorkSliderModule"),i.imageWrapper=i.element.querySelector(".WorkTemplate-image"),i.songList=i.element.querySelector(".WorkTemplate-expandWrapper"),i.songListInner=i.element.querySelector(".WorkTemplate-expandWrapper ul"),i.listToggler=i.element.querySelector(".WorkTemplate-ListToggler"),i.listTogglerLabels=i.element.querySelectorAll(".WorkTemplate-ListToggler span"),i.listToggler.addEventListener("click",i.toggleList),new dt(i.listToggler),Q.set("#NewsToggle",{opacity:0,pointerEvents:"none"}),Q.set(i.subtitle,{opacity:0,y:30}),Q.set([i.descriptionWrapper,i.sliderElement,i.backToWorkButton,i.backToWorkButtonTop],{opacity:0}),v.TRANSITIONING_FROM_WORKPAGE&&(v.NEXT_WORK_PAGE_TEMPLATE=wl(i)),new ct(i.backToWorkButtonTop,i.backToWorkButtonTop),new ct(i.backToWorkButton,i.backToWorkButton),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&El(t,e)}(n,at),function(t,e,i){e&&xl(t.prototype,e),i&&xl(t,i)}(n,[{key:"templateIn",value:function(){v.TRANSITIONING_FROM_WORKPAGE?(this.cameFromWorkPage=!0,v.TEMPLATE_LAYER.appendChild(this.element),this.resize(),this.buildModules(),v.SIGNAL_NEXT_WORK_PAGE_TEMPLATE_READY.dispatch()):bl(Tl(n.prototype),"templateIn",this).call(this)}},{key:"setupAudios",value:function(){var e=this;this.audios=this.element.querySelectorAll("li.hasAudio"),this.audios.forEach(function(t){new yl(t,e.playingCallback,!1)})}},{key:"templateInComplete",value:function(){var t=this;v.NEXT_WORK_PAGE_TEMPLATE=null,bl(Tl(n.prototype),"templateInComplete",this).call(this),this.title=new Tt(this.titleElement),v.WEBP_SUPPORT_CHECKED?this.setupImage():v.SIGNAL_WEBP_SUPPORT_CHECKED.addOnce(this.setupImage),Q.delayedCall(this._templateManager.isInitial()?.75:0,function(){t.title.show(),Q.to(t.subtitle,.75,{y:0,ease:ut,delay:.75,onComplete:function(){t.sliderElement&&!t.killed&&(t.slider=new gl(t.sliderElement,t),t.setupAudios())}}),Q.to([t.descriptionWrapper,t.sliderElement,t.backToWorkButton,t.backToWorkButtonTop],.5,{opacity:1,delay:.75}),Q.to(t.subtitle,.5,{opacity:1,delay:.75})})}},{key:"resize",value:function(){bl(Tl(n.prototype),"resize",this).call(this),this.slider&&this.slider.resize(),this.songListInner.clientHeight<393?this.listToggler.style.display="none":this.listToggler.style.display=""}},{key:"templateOut",value:function(t,e){this.topImage&&this.topImage.templateOut(),bl(Tl(n.prototype),"templateOut",this).call(this,t,e)}},{key:"templateOutComplete",value:function(){bl(Tl(n.prototype),"templateOutComplete",this).call(this),Q.set("#NewsToggle",{clearProps:"opacity",pointerEvents:""})}},{key:"kill",value:function(){bl(Tl(n.prototype),"kill",this).call(this),this.killed=!0,v.NEXT_WORK_PAGE_TEMPLATE=null,this.slider&&this.slider.kill(),this.topImage&&(this.topImage.kill(),this.topImage=null)}}]),n}(),Ol=new zr(void 0,"\n    varying vec2 vTextureCoord;\n    uniform sampler2D uSampler;\n    uniform vec4 targetColor;\n    void main(void)\n    {\n        vec4 source = texture2D(uSampler, vTextureCoord);\n\n        //reverse hardlight\n        if (source.a == 0.0) {\n            gl_FragColor = vec4(0, 0, 0, 0);\n            return;\n        }\n\n        //yeah, premultiplied\n        vec3 Cb = source.rgb/source.a, Cs;\n        if (targetColor.a > 0.0) {\n            Cs = targetColor.rgb / targetColor.a;\n        }\n        vec3 multiply = Cb * Cs * 2.0;\n        vec3 Cb2 = Cb * 2.0 - 1.0;\n        vec3 screen = Cb2 + Cs - Cb2 * Cs;\n        vec3 B;\n        if (Cs.r <= 0.5) {\n            B.r = multiply.r;\n        } else {\n            B.r = screen.r;\n        }\n        if (Cs.g <= 0.5) {\n            B.g = multiply.g;\n        } else {\n            B.g = screen.g;\n        }\n        if (Cs.b <= 0.5) {\n            B.b = multiply.b;\n        } else {\n            B.b = screen.b;\n        }\n        vec4 res;\n        res.xyz = (1.0 - source.a) * Cs + source.a * B;\n        res.a = source.a + targetColor.a * (1.0-source.a);\n        gl_FragColor = vec4(res.xyz * res.a, res.a);\n\n    }",{targetColor:[0,0,0,1]});function Pl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}i.hex2rgb(15197663,Ol.uniforms.targetColor);var Al=function(){function i(t,e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.barYs=[45,20,50,0,50,0],this.ease=ut,this.duration=1,this.resize=function(){r.tilingSprite.width=r._dimensions.width,r.tilingSprite.height=r._dimensions.height,r.imageYOffset=.5*r._dimensions.height,r.yPageOffset=164+79/1024*p.width,r.currentTargetWidth=Math.min(r._dimensions.width-20,940),375<=p.width&&(r.yPageOffset=164+79/1024*p.width+8),768<=p.width&&(r.yPageOffset=302+79/1024*p.width+8,r.currentTargetWidth=Math.min(r._dimensions.width-40,960)),1024<=p.width&&(r.yPageOffset=394)}
311,this.updateSprites=function(){r.sprites.forEach(function(t,e){var i=r.fakeBars[e],n=r.shadedSprites[e];t.scale.x=t.scale.y=n.scale.x=n.scale.y=r.scaleProxy.value,n.filterArea.x=t.filterArea.x=i.x,n.filterArea.y=t.filterArea.y=i.y,n.filterArea.width=t.filterArea.width=i.width,n.filterArea.height=t.filterArea.height=i.height})},this.transitionInDone=function(t){r.sprites.forEach(function(t){return t.destroy()}),r.sprites=[],r.texture&&(r.texture.destroy(!0),r.texture=null),t()},this.transitionDone=!1,this.outDone=!1,this.waitForSignal=!1,this.prepareWorkTemplate=function(t){v.NEXT_WORK_PAGE_TEMPLATE?r.showWorkTemplate(t):(r.waitForSignal=!0,v.SIGNAL_NEXT_WORK_PAGE_TEMPLATE_READY.addOnce(function(){return r.showWorkTemplate(t)}))},this.outTransitionDone=function(t){r._app.stop(),r.transitionDone=!0,r.waitForSignal||r.out(t)},this.showWorkTemplate=function(t){r.waitForSignal=!1,v.NEXT_WORK_PAGE_TEMPLATE.templateInComplete(),r.out(t)},this._app=t,this._dimensions=e,this.stage=new _n;this.tilingSprite=new Os(new zn(An.from("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABGdBTUEAALGPC/xhBQAAB+VJREFUaAV12FuSlEkOhNEiyf1vcZ7GZhNcJk8UX+IdVi2zQBGSy+XSX9A03/733//8/hj78ePHx/P5/OC/ffv28f3794+fP38eD9b9169fH4/HYyr/XtXKOb9//z481UHVowo5uPiqk6fhxsOqgaOD3geQoIA7q/DfhoCpqftt6srjZmLxa1zPcnzC3A2QpvDi2RH/GqTcyz9PLvEB801PCHIG6y6nvlqNna8sTDmid9vLE1bPhqm3+u7pEPucwu1lEqzh9i7XVuUNkRCiat6XaAGwxIT17iu1iNP0zy/xFOsr6Z3hE1+dj92ghIZtQWHDucsl1JsllIeND5aJqSEkMbwh2D1U4rbvAc4vau/8s+lqXDN1wBHHA3/XNASfMPi7th6b08NpOBj8X2HjhoXJxB81a4CmXSKN9q0GkXh28xTfhsX6GnxfGP/2CLM18sXVxU37+fMzQRIR8onj20KNxZyINYwnn4jb44bRz8GTKFg9xNbU1Ftcfe/DIVCRgGQABYQiYcW3phxcPHl8cfr8Da0mzCH+ghve8tRU91X/dL34PreqMPK9a0r4WriN7UDddyn3F1WrD5NLeNxiDJdjIbe1UIOeH60aB4xs32Kde7AEibe9ajdmMNhEEduWE77csHHHuxqqof/8l10xwBb2Y7GCusNmGiCM414KnFhCeNwJlnNvuAaLVz1difaWo6Ea/lX3+RsLWcW8OM8Al0gsfHd5+Mirbegd0L24+rVwxOuBN+5wYYrT+v5bH2JHMWBb4AHF5DLYcN3lkDO5hvJ27x2mmHf3sGJ4q2kx9ITh0/UASCBPNKtZWw4jF7lYOA2QZnJwCYg3D+fuJM4dxx1LF5x+/Go4XBIKmQ24r+i2wjusRt6Jb6ADeP0SvqaJkV/+xXcv34C43OuVXsMUO8oEdoCANW0AbxtW3Kbv5pvD4+Bvk7s4HM7y40t4eZwtypDyjnxazyCCAUwO8G/WBjZPKI41HGH5xLS0vHi9i+FJOJ7y4ttHzjkLS3iECCJB0MRI+tTi8Flb781rwIgLK+bN1ODpXYwXc+DVrnh5Ji9X/fnNLpB4oEQgiLBCefHwxDDCGrR3PsGJir8F8Ew9bAPDs3qU59XEB/MMrLjJm5JYMUSLU4gsvDdrOLn41N64uBLTWz18PJ+sf3+ccMLeebjHHYxo4zUU2yFvkRoxuMTnT+LPL+qYgQnrLXbjYZi+cumqpp7nRwuwrSzRG/T6jIbpnQDYCJfDfePw+8bFEtVbbHFhxAyifxrCtoinJol3b+ttAElDRsxn1cInSI24pmrjVLNCw+flYOkQ4+uNL3146hv2qSCCphWLXFGbayuRL/FX+HA4yidAbA1Xufp5txTY4u601v8Mo5mCJQLMIpc3CDzyhueRyrkzWObd8DzLn8f1C544pLrfNeLpblkPF4132ov/POUbKmzD9yXL85r11qMvkq+mXjjhEtYyxKuB3boG1Of8rgNEAFRSUWTubccdVjF8NThqstgVoTbTJ3wx75bUAA0WZt+463UGKZlHCIAsYNv1blgxNeXcw98DrGj1uC0qPL9vwremQfj6qanP55+DryTyEolDBLiESMLyNS/2Jn7Vsf2q3vVwT5Ba9w6MnrtImNvSIv4ehIA2WhER4reYBMj1I6DGu1NTeYabVUso3sQQ7yxm73j12KWGhzv/z+7CNEWsiNW0dwO2LRj38nzDl+PF1K5Ycf3U61Mv2MTWD7Y+8ozfuve/NG4R4D+m/TOYOLPdJayxGvdq+wp9NY3vLwSzvXvnPzv+/RGtPl+v97+i2GaCFLch98AJE2MEwIm3HTzu1fDxFks4L9YXTXwii8OsHr1bZPHzM1TjhNZIQSLuu5oaySVSTE1i5PAWc6+uRfCEwSRMLFwxmDQuvx7vv/0GRhZBIuSQJHIHNYAatncNd5PexdSX4+uXBrEEby/i67VxvR99Io8MkZO5R6JBjZG58+KE8DhrFFcCqk80H3/96uXd8sqpL86n8/3Hb0ENETm3IZFPXIPUuKUQ17BqEo1vefHg23w9G9w78frVXzwMnn/8i4EmFUm6i2mU6DZ9N1gxag3SgTVkGBw74PYirr7qmFqxloMHbjnPXxo/4X8n9wbe7TVAW4gMtpy7vNzGxMUyohwDZPEWJ1K+IeVxLg4W7gxUAmHEbdI7AbuNmsvVCBkuOA3Kab5fulq+RdWjXO848eHF785aVBzn94gCiQgSXRGxxdwdxqtBpkn1J/n6pTf+LDH8beHafJzietHDi9Ojb1rOICUQJF4TQCQEVeCeQL7NFGvgRC1+xeiTQL3k3tv981V7y+NpMLX61sP9/HckEKCTaASRJVTsxoipceSYgYp5a3pz7VZbYNx8gvXGlXB34uPD86yxIqckcOIVOQ2MsByScmoYTidMscT2Vsv0LLdeHzw3vzo4ufSeP7UAFQE0daKBtxDBCkw8QeLycYjJ48j02hrxRIXJE1kvNd1xMHUOO1+kqQT2niAEDZMIse5ya3I1E6+Ze/GNiddruZa/eDE8FqTXWbZA5ECCgYESrLE4woRunpjdPBxemGx5N7ZxfbbGfXnVWbZYODVnlQ0icRMprKC87anhiRBPTJtVF8adwREBG265YdTEZRnuarYXjc7ai+dzYwic3gtyR2QLyNuGJuHzcgkRwxnevS9688OwBnWHddSJs3r2Vuf8H0L1wQ/monVCAAAAAElFTkSuQmCC")),this._dimensions.width,this._dimensions.height),this.overlayFilter=Ol,this.greyscaleFilter=new ea.ColorMatrixFilter,this.greyscaleFilter.desaturate(),this.filters=[this.greyscaleFilter,this.overlayFilter],this.stage.addChild(this.tilingSprite)}
311return function(t,e,i){e&&Pl(t.prototype,e),i&&Pl(t,i)}(i,[{key:"transitionFromWorkOverviewToWorkPage",value:function(t,e,i,n,r){var o=this,s=2<arguments.length&&void 0!==i?i:.1,a=3<arguments.length?n:void 0,l=4<arguments.length?r:void 0;this.imageWidth=parseInt(t.baseTexture.width),this.imageHeight=parseInt(t.baseTexture.height);var h=mt.scaleToFill(new vt(this.imageWidth,this.imageHeight),this._dimensions).width/this.imageWidth*l,u=this._dimensions.width/this.imageWidth;this.texture=t;var c=Math.min(this._dimensions.width,this.currentTargetWidth),d=Math.min(c/960,1),f=18*d,p=c,v=(p-5*f)/6,m=610*d,g=660*d,y=this.barYs.map(function(t){return t*d}),_=mt.scaleToFill(new vt(this.imageWidth,this.imageHeight),new vt(p,g)),x=.5*(this._dimensions.width-p)+v;this.fakeBars=[],this.shadedSprites=[],this.fakeBars.push({x:0,y:0,width:x+f,height:this._dimensions.height});for(var w=x+f,b=0;b<4;b++)this.fakeBars.push({x:w,y:0,width:v+f,height:this._dimensions.height}),w+=v+f;this.fakeBars.push({x:this._dimensions.width-x,y:0,width:x+f,height:this._dimensions.height});var T=.5*this._dimensions.height-this.imageHeight*h*.5,E=.5*this._dimensions.width-this.imageWidth*h*.5,S=new R({onUpdate:this.updateSprites});this.sprites=this.fakeBars.map(function(t,e){var i=new Zo(o.texture);i.scale.x=h,i.scale.y=h,i.position.y=T,i.position.x=E,i.filters=[new zr],i.filterArea=new ii(t.x,t.y,t.width,t.height);var n=new Zo(o.texture);return n.scale.x=i.scale.x,n.scale.y=i.scale.y,n.position.y=i.position.y,n.position.x=i.position.x,n.filters=o.filters,n.filterArea=new ii(t.x,t.y,t.width,t.height),i.alpha=0,o.stage.addChild(n),o.stage.addChild(i),o.shadedSprites.push(n),i});var O=0,P=_.width/this._dimensions.width*u,A=this.imageWidth*P;this.scaleProxy={value:h};var C=.5*(g-_.height)+this.yPageOffset,I=.5*this._dimensions.width-.5*p,M=.5*this._dimensions.width-.5*A;S.to(this.scaleProxy,this.duration,{ease:this.ease,value:P},0),this.sprites.forEach(function(t,e){S.to(t.position,o.duration,{ease:o.ease,y:C,x:M},0),S.to(o.shadedSprites[e].position,o.duration,{ease:o.ease,y:C,x:M},0)}),S.staggerTo(this.sprites,.75*this.duration,{alpha:1,ease:me.d.easeNone},.15,.5*this.duration),S.to(this.fakeBars[O],this.duration,{ease:this.ease,width:v,x:I,y:this.yPageOffset+y[O],height:m},0);for(var k=0;k<4;k++)O++,S.to(this.fakeBars[O],this.duration,{ease:this.ease,width:v,y:this.yPageOffset+y[k+1],height:m},0);O++,S.to(this.fakeBars[O],this.duration,{width:v,x:.5*this._dimensions.width+.5*p-v,y:this.yPageOffset+y[O],height:m,ease:this.ease},0),e.add(S,s),e.addCallback(function(){return o.prepareWorkTemplate(a)},"-=0.6"),e.addCallback(function(){return o.outTransitionDone(a)}),this._app.stage=this.stage}},{key:"out",value:function(t){this.transitionDone&&!this.outDone&&(this.outDone=!0,Q.to(this._app.view,.3,{opacity:0,delay:.3,onComplete:this.transitionInDone,onCompleteParams:[t]}))}}]),i}();function Cl(t){return(Cl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Il(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ml(t,e){return!e||"object"!==Cl(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function kl(t,e,i){return(kl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Rl(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function Rl(t){return(Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ll(t,e){return(Ll=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}yi.FILTER_RESOLUTION=1440<window.innerWidth?Math.min(window.devicePixelRatio,1):Math.min(window.devicePixelRatio,3);var Dl=function(){function o(t,e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(r=Ml(this,Rl(o).call(this,t,e))).currIndex=0,r.currCenterIndex=0,r.currScroll=0,r.itemChosen=!1,r.force3D=!0,r.imageSprites=[],r.dimensions=new vt(p.documentWidth,p.height),r.defaultScales=[],r.imagesReady=!1,r.appVisible=!1,r.templatingOut=!1,r.USE_HOVER=!1,r.titleInDelay=v.IS_TOUCH_DEVICE?.5:.2,r.setupImages=function(){r.imageSprites=r.imageURLS.map(function(t,e){var i=new Zo.from(t+"q=45&fm="+(v.WEBP_SUPPORTED?"webp":"jpg"));return i.anchor.set(.5,.5),i.position.set(.5*p.documentWidth,.5*p.height),i.alpha=0,r.defaultScales[e]=1,r.stage.addChild(i),i}
311),r.imageSprites.forEach(function(t,e){0<t.texture.baseTexture.width?r.imageLoaded(t.texture.baseTexture,e):t.texture.baseTexture.on("loaded",function(){r.imageLoaded(t.texture.baseTexture,e)})}),r.imagesReady=!0},r.imageLoaded=function(t,e){r.resizeSprite(e),0===e&&r.showApp()},r.resizeSprite=function(t){var e=r.imageSprites[t];if(e&&(e.position.set(.5*r.dimensions.width,.5*r.dimensions.height),e.texture.baseTexture.width&&0<e.texture.baseTexture.width)){var i=mt.scaleToFill(new vt(e.texture.baseTexture.width,e.texture.baseTexture.height),r.dimensions);r.imageSprites[t].width=i.width,r.imageSprites[t].height=i.height,r.defaultScales[t]=r.imageSprites[t].scale.x,r.imageSprites[t].scale.x=r.imageSprites[t].scale.y=r.imageSprites[t].scale.x*(t===r.currIndex?1.1:1.25)}},r.prevStageHeight=0,r.prevStageWidth=0,r.timelineKillCallback=function(){v.TEMPLATE_LAYER.removeChild(r.element),Q.set(v.TEMPLATE_LAYER,{height:"",overflow:"",position:""}),r.kill()},r.transitionTitleIn=function(){r.titles[r.currIndex].hide(!0),r.titles[r.currIndex].show(!1,!1)},r.setActiveIndex=function(t){if(t!==r.currIndex){r.currCenterIndex=t;var e=r.currIndex;r.currIndex=t,r.titles[e].hide(!1),Q.killDelayedCallsTo(r.transitionTitleIn),Q.delayedCall(r.titleInDelay,r.transitionTitleIn),r.imagesReady&&r.showImage(e,t)}},r.showImage=function(t,e){var i=r.imageSprites[t],n=r.imageSprites[e];Q.to(i.scale,1,{x:1.05*r.defaultScales[t],y:1.05*r.defaultScales[t],ease:me.f.easeOut}),Q.to(i,.5,{alpha:0}),r.app.renderer.plugins.prepare.upload(n,function(){r.imageSprites[r.currIndex]===n&&(Q.fromTo(n.scale,2,{x:1.25*r.defaultScales[e],y:1.25*r.defaultScales[e]},{x:1.1*r.defaultScales[e],y:1.1*r.defaultScales[e],ease:me.g.easeOut}),r.inTween=Q.fromTo(n,.5,{alpha:0},{alpha:1}))})},r.onScroll=function(t){if(!r.itemChosen){r.currScroll=u.viewport.top;for(var e=0,i=0;i<r.offsets.length;i++){if(!(r.offsets[i]<=r.currScroll))break;e=i}e!==r.currCenterIndex&&(r.links[r.currCenterIndex].classList.remove("centered"),r.currCenterIndex=e,r.links[e].classList.add("centered"),Q.killDelayedCallsTo(r.transitionTitleIn),Q.killDelayedCallsTo(r.setActiveIndex),Q.delayedCall(.1,r.setActiveIndex,[e]))}},r.clickHandler=function(t){t.ctrlKey||t.shiftKey||t.metaKey||t.button&&1==t.button||(t.preventDefault(),t.cancelBubble=!0,!r.itemChosen&&r.imagesReady&&(r.currIndex=parseInt(t.currentTarget.dataset.index),r.itemChosen=!0))},r.over=function(t){!r.itemChosen&&r.imagesReady&&r.setActiveIndex(parseInt(t.currentTarget.dataset.index))},v.IS_TOUCH_DEVICE&&t.classList.add("touch-device"),r.scrollList=t.querySelector(".WorkOverviewTemplate-listInner"),r.scrollListItems=t.querySelectorAll(".WorkOverviewTemplate-listInner > *"),r.titleElements=Array.from(t.querySelectorAll("a > div")),r.svgOrigElements=Array.from(t.querySelectorAll("a svg")),r.imagesWrapper=t.querySelector(".WorkOverviewTemplate-images"),r.imageURLS=r.imagesWrapper.dataset.images.split(","),r.imageURLS.pop(),o.APP)r.app=o.APP,r.app.resizeTo=r.imagesWrapper;else try{r.app=new Yo({transparent:!1,backgroundColor:15197663,powerPreference:"high-performance",antialias:!0,autoDensity:!0,resolution:yi.FILTER_RESOLUTION,resizeTo:r.imagesWrapper}),o.APP=r.app}catch(t){return new ia,Ml(r)}return r.app.stop(),r.app.render(),r.stage=r.app.stage,r.canvas=r.app.view,r.imagesWrapper.appendChild(r.app.view),r.overlayFilter=Ol,r.greyscaleFilter=new ea.ColorMatrixFilter,r.greyscaleFilter.desaturate(),r.filters=[r.greyscaleFilter,r.overlayFilter],r.stage.filters=r.filters,r.links=Array.from(t.querySelectorAll("a")),r.transitionRenderer=new Al(r.app,r.dimensions),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ll(t,e)}(o,at),function(t,e,i){e&&Il(t.prototype,e),i&&Il(t,i)}(o,[{key:"showApp",value:function(){this.appVisible||this.templatingOut||(this.appVisible=!0,this.imageSprites[this.currIndex].alpha=1,this.app.render(),this.app.start(),this.canvas.style.opacity="1")}},{key:"templateIn",value:function(){var i=this;Q.set(window,{scrollTo:0}),Q.set(v.TEMPLATE_LAYER,{position:"absolute",height:"100%",overflow:"hidden"}),this._templateManager.isInitial()||v.TEMPLATE_LAYER.appendChild(this.element),this.titles=this.titleElements.map(function(t){return new Tt(t,!1,!0)});for(var t=[],e=0;e<this.scrollListItems.length;e++){var n=this.scrollListItems[e];
311if(!(n.offsetTop<p.height)){t.push(n);break}t.push(n)}Q.set(t,{y:-150,opacity:0}),this.links.forEach(function(t,e){t.dataset.index=e,v.IS_TOUCH_DEVICE||t.addEventListener("mouseover",i.over),t.addEventListener("click",i.clickHandler)}),v.IS_TOUCH_DEVICE||this.titles[this.currIndex].show(!0,!1),this.buildModules(),this.templateInComplete(),v.WEBP_SUPPORT_CHECKED?this.setupImages():v.SIGNAL_WEBP_SUPPORT_CHECKED.addOnce(this.setupImages),Q.to(t[0],1,{y:v.IS_TOUCH_DEVICE?"-4vw":0,opacity:1,ease:z.easeOut.config(1.5,1),delay:1}),Q.staggerTo(t.slice(1,t.length-1),1,{y:0,delay:1.075,opacity:1,ease:z.easeOut.config(1.5,1)},.075,function(){i.templatingOut||(i.scrollList.classList.add("transitioned-in"),Q.set(t,{clearProps:"all"}),v.IS_TOUCH_DEVICE&&(i.links[i.currIndex].classList.add("centered"),i.titles[i.currIndex].show(!1,!1)),Q.set(v.TEMPLATE_LAYER,{height:"",overflow:"",position:""}),v.IS_TOUCH_DEVICE&&u.signalScroll.add(i.onScroll))})}},{key:"resize",value:function(t){var i=this,e=0<arguments.length&&void 0!==t&&t;if(kl(Rl(o.prototype),"resize",this).call(this),this.dimensions.width=this.imagesWrapper.clientWidth,this.dimensions.height=this.imagesWrapper.clientHeight,this.prevStageHeight!==this.dimensions.height||this.prevStageWidth!==this.dimensions.width||!0===e){this.prevStageWidth=this.dimensions.width,this.prevStageHeight=this.dimensions.height;var n=this.links[0].offsetTop;this.offsets=this.links.map(function(t){return t.offsetTop-n}),this.imageSprites.forEach(function(t,e){Q.getTweensOf(t).forEach(function(t){return t.seek(t.duration())}),Q.killTweensOf(t),i.outImageIndex=-1,i.inImageIndex=-1,i.resizeSprite(e)}),this.transitionRenderer.resize(),this.app.resize()}}},{key:"kill",value:function(){v.TRANSITIONING_FROM_WORKPAGE=!1,this.resetApp(),this.transitionRenderer=null,kl(Rl(o.prototype),"kill",this).call(this)}},{key:"resetApp",value:function(){var t=this.app.view.style.width,e=this.app.view.style.height;Q.set(this.app.view,{clearProps:"all",immediateRender:!0}),this.app.view.style.width=t,this.app.view.style.height=e,this.stage.destroy(!0),this.app.stage=new _n,this.app.render(),this.app.stop()}},{key:"templateOut",value:function(t,e){if(this.templatingOut=!0,!this.itemChosen)return Q.set(v.TEMPLATE_LAYER,{height:"",overflow:"",position:""}),void kl(Rl(o.prototype),"templateOut",this).call(this,t,e);if(Q.set("#NewsToggle",{opacity:0,pointerEvents:"none"}),window.Main.menu.close(),Q.killTweensOf(this.imageSprites),v.IS_TOUCH_DEVICE&&u.signalScroll.remove(this.onScroll),this.element.style.position="absolute",this.element.style.width="100%",v.TRANSITIONING_FROM_WORKPAGE=!0,this._templateManager.nextTemplate(),this.itemChosen){var i=new R({paused:!0});this.scrollList.style.transition="none",i.fromTo(this.scrollList,.3,{opacity:1,force3D:this.force3D},{opacity:0,force3D:!0,onComplete:function(){Q.set(window,{scrollTo:0}),Q.set(v.TEMPLATE_LAYER,{position:"absolute",height:"100%",overflow:"hidden"})}},0),this.transitionRenderer.transitionFromWorkOverviewToWorkPage(this.imageSprites[this.currIndex].texture,i,.1,this.timelineKillCallback,this.imageSprites[this.currIndex].scale.x/this.defaultScales[this.currIndex]),i.play()}}},{key:"templateInComplete",value:function(){kl(Rl(o.prototype),"templateInComplete",this).call(this),this.resize(!0)}}]),o}(),Nl=r(140);function Fl(t){return(Fl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Bl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ul(t,e){return!e||"object"!==Fl(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function jl(t,e,i){return(jl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Xl(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function Xl(t){return(Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function zl(t,e){return(zl=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Wl(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,r="client"+i,o=document.body;return t===Kl||t===ql||t===o?Math.max(ql[n],o[n])-(Kl["inner"+i]||ql[r]||o[r]):t[n]-t["offset"+i]}function Hl(t,e){var i="scroll"+("x"===e?"Left":"Top");return t===Kl&&(null!=t.pageXOffset?i="page"+e.toUpperCase()+"Offset":t=null!=ql[i]?ql:document.body),function(){return t[i]}}function Gl(t,e){var i=function(t){return"string"==typeof t&&(t=TweenLite.selector(t)),t.length&&t!==Kl&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===Kl||t.nodeType&&t.style?t:null}(t).getBoundingClientRect(),n=document.body,r=!e||e===Kl||e===n,o=r?{top:ql.clientTop-(window.pageYOffset||ql.scrollTop||n.scrollTop||0),left
311:ql.clientLeft-(window.pageXOffset||ql.scrollLeft||n.scrollLeft||0)}:e.getBoundingClientRect(),s={x:i.left-o.left,y:i.top-o.top};return!r&&e&&(s.x+=Hl(e,"x")(),s.y+=Hl(e,"y")()),s}function Vl(t,e,i,n){var r=typeof t;return isNaN(t)?"string"==r&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+n:"max"===t?Wl(e,i):Math.min(Wl(e,i),Gl(t,e)[i]):parseFloat(t)}var Yl=function(){function i(t,e){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(o=Ul(this,Xl(i).call(this,t,e))).players=[],o.activeIndex=0,o.mobile=!0,o.elementVisible=function(t,i){t.forEach(function(t){if(t.isIntersecting){i.unobserve(t.target);var e=parseInt(t.target.dataset.index);o.sectionAnimationTitles[e].show(!1,!0,.65)}})},o.scrollToKilled=function(){o.scrollTween=null},o.prev=function(t){t&&t.preventDefault(),0<o.activeIndex&&o.setActiveIndex(o.activeIndex-1,!1,!0)},o.next=function(t){t&&t.preventDefault(),o.activeIndex<o.listLinks.length-1&&o.setActiveIndex(o.activeIndex+1,!1,!0)},o.initVideoPlayer=function(t){var e=t.currentTarget;e.removeEventListener("click",o.initVideoPlayer),e.dataset.index=o.players.length,e.addEventListener("click",o.pausePlayers),e.classList.add("video-inited");var i=e.querySelector(".video-js"),n=document.createElement("source");n.src=i.dataset.src,i.dataset.src.includes(".m3u8")?n.type="application/x-mpegURL":n.type="video/mp4",i.appendChild(n),i.autoplay=!0,i.controls=!0,o.pausePlayers(null),o.playingCallback(null);var r=o.videojs(i,{nativeControlsForTouch:!0,fullscreen:{options:{navigationUI:"show"}},controlBar:{pictureInPictureToggle:!1,fullscreenToggle:!0},userActions:{doubleClick:!1}});o.players.push(r)},o.pausePlayers=function(t){var i=null!==t?parseInt(t.currentTarget.dataset.index):-1;o.players.forEach(function(t,e){e!==i&&t.pause()}),0<=i&&o.playingCallback(null)},o.setupVideos=function(){r.e(1).then(r.bind(null,392)).then(function(t){var e=t.default;o.videos=o.element.querySelectorAll(".video"),o.videojs=e,window.videojs=e,o.videos.forEach(function(t){t.addEventListener("click",o.initVideoPlayer)})})},o.playingCallback=function(t){o.activeAudioElement!==t&&(o.activeAudioElement&&o.activeAudioElement.pause(),t&&o.pausePlayers(null),o.activeAudioElement=t)},o.snapped=!1,o.scrollHandler=function(){o.introTimeline.progress(yt(u.viewport.top/o.graphicsWrapperHeight*1.25,0,1)),!o.mobile&&o.scrollContentTimeline&&o.scrollContentTimeline.render(u.viewport.top),o.mobile&&(u.viewport.top>=o.mobileListNavSnapOffset?o.snapped||(o.snapped=!0,o.mobileListNav.style.position="fixed",o.mobileListNav.style.left="0"):o.snapped&&(o.snapped=!1,o.mobileListNav.style.left="",o.mobileListNav.style.position=""));var i=0;o.scrollTween||(o.sectionStarts.forEach(function(t,e){u.viewport.top>=t&&(i=e)}),o.setActiveIndex(i,!1,!0,!1))},o.navArrows=t.querySelectorAll(".BiographyTemplate-contentList-nav button"),o.listLinks=t.querySelectorAll(".BiographyTemplate-contentList-items a"),o.mobileListNav=t.querySelector(".BiographyTemplate-contentList"),o.graphicsWrapper=t.querySelector(".BiographyTemplate-Graphic"),o.contentWrapper=t.querySelector(".BiographyTemplate-content"),o.descriptionPieces=t.querySelectorAll(".BiographyTemplate-pieceDescriptionInner"),o.sections=Array.from(t.querySelectorAll("section")),o.subtitle=t.querySelector(".TextStyle-PageSubtitle"),Q.set(o.subtitle,{opacity:0,y:30}),o.sectionTitles=Array.from(t.querySelectorAll(".SectionTitle")),o.linkWrapper=t.querySelector(".BiographyTemplate-contentList-items"),o.setupAudios(),o.setupNav(),o.checkNavArrows(),o.listLinks.forEach(function(t,e){t.addEventListener("click",function(t){return t.preventDefault(),o.setActiveIndex(e),!1})}),o.setupIntroGraphicTimeline(),o.resize(),u.signalScroll.add(o.scrollHandler),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zl(t,e)}(i,at),function(t,e,i){e&&Bl(t.prototype,e),i&&Bl(t,i)}(i,[{key:"setupIntersectionObservers",value:function(){var i=new IntersectionObserver(this.elementVisible,{threshold:1,rootMargin:"100px"});
311this.sectionTitles.forEach(function(t,e){t.dataset.index="".concat(e),i.observe(t)})}},{key:"kill",value:function(){jl(Xl(i.prototype),"kill",this).call(this),u.signalScroll.remove(this.scrollHandler)}},{key:"setActiveIndex",value:function(t,e,i,n){var r=2<arguments.length&&void 0!==i&&i,o=1<arguments.length&&void 0!==e&&e?0:.8;3<arguments.length&&void 0!==n&&!n||(this.scrollTween=Q.to(window,o,{ease:ut,scrollTo:{y:"#section-"+(t+1),offsetY:this.scrollOffsetY,autoKill:!v.I_OS,onAutoKill:this.scrollToKilled}})),t!==this.activeIndex&&(this.listLinks[this.activeIndex].classList.remove("active"),this.activeIndex=t,this.listLinks[this.activeIndex].classList.add("active"),r&&this.mobile&&Q.to(this.linkWrapper,o,{ease:ut,x:-this.currSnapWidth*t}),this.checkNavArrows())}},{key:"resize",value:function(){var e=this;jl(Xl(i.prototype),"resize",this).call(this),this.scrollOffsetY=106,this.scrollHeight=document.documentElement.scrollHeight-p.height,this.graphicsWrapperHeight=this.graphicsWrapper.clientHeight,this.mobileListNavSnapOffset=this.contentWrapper.offsetTop,this.currSnapWidth=this.listLinks[0].clientWidth,800<=p.width?(this.mobile=!1,this.scrollOffsetY=60,Q.set(this.linkWrapper,{clearProps:"x"})):(this.mobile=!0,Q.set(this.linkWrapper,{x:-this.currSnapWidth*this.activeIndex})),this.sectionStarts=this.sections.map(function(t){return u.getOffsetTopForElement(t)-(e.scrollOffsetY+2)}),this.mobile?this.scrollContentTimeline&&(this.scrollContentTimeline.kill(),this.scrollContentTimeline=null,Q.set(this.descriptionPieces,{y:0,opacity:1,immediateRender:!0})):this.setupScrollContentTimeline(),this.scrollHandler()}},{key:"setupNav",value:function(){this.navArrows[0].addEventListener("click",this.prev),this.navArrows[1].addEventListener("click",this.next)}},{key:"checkNavArrows",value:function(){0===this.activeIndex?this.navArrows[0].classList.add("inactive"):this.navArrows[0].classList.remove("inactive"),this.activeIndex===this.listLinks.length-1?this.navArrows[1].classList.add("inactive"):this.navArrows[1].classList.remove("inactive")}},{key:"templateInComplete",value:function(){var t=this;jl(Xl(i.prototype),"templateInComplete",this).call(this);var e=this.element.querySelector(".TextStyle-PageTitle").parentElement;this.resize(),this.title=new Tt(e),this.sectionAnimationTitles=this.sectionTitles.map(function(t){return new Tt(t)}),Q.delayedCall(this._templateManager.isInitial()?.75:0,function(){t.element.classList.add("templateInComplete"),t.title.show(),Q.to(t.subtitle,.75,{y:0,ease:ut,delay:.75}),Q.to(t.subtitle,.5,{opacity:1,delay:.75}),t.setupVideos(),t.setupIntersectionObservers()})}},{key:"setupAudios",value:function(){var e=this;this.audios=this.element.querySelectorAll(".BiographyTemplate-pieceAudio"),this.audios.forEach(function(t){new yl(t,e.playingCallback)})}},{key:"setupIntroGraphicTimeline",value:function(){this.introTimeline=new R({paused:!0});var t=this.element.querySelector(".piano"),e=this.element.querySelector(".alan"),i=this.element.querySelector(".notes");[t,e,i].forEach(function(t){0<t.naturalWidth?t.style.opacity="1":t.onload=function(){t.style.opacity="1"}}),this.introTimeline.fromTo(t,1,{yPercent:20},{yPercent:0}),this.introTimeline.fromTo(i,1,{yPercent:31},{yPercent:10},0),this.introTimeline.fromTo(e,1,{yPercent:13},{yPercent:0},0)}},{key:"setupScrollContentTimeline",value:function(){var a=this;this.scrollContentTimeline&&this.scrollContentTimeline.kill(),this.scrollContentTimeline=new R({paused:!0}),this.scrollContentTimeline.to({value:0},this.scrollHeight,{value:1},0),Q.set(this.descriptionPieces,{y:0,opacity:1,immediateRender:!0}),this.descriptionPieces.forEach(function(t,e){var i=u.getOffsetTopForElement(t),n=t.parentElement.clientHeight,r=t.clientHeight,o=i+r-p.height,s=yt(i+n-r,0,a.scrollHeight)-o;a.scrollContentTimeline.to(t,s,{y:n-r-40,ease:me.d.easeNone},o)})}}]),i}(),ql=(me.k.document||{}).documentElement,Kl=me.k,Zl=me.k._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.2",init:function(t,e,i){return this._wdw=t===Kl,this._target=t,this._tween=i,"object"!=typeof e?"string"==typeof(e={y:e}).y&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),this.vars=e,this._autoKill=!1!==e.autoKill,this.getX=Hl(t,"x"),this.getY=Hl(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,"x",this.x,Vl(e.x,t,"x",this.x)-(e.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=e.y?(this._addTween(this,"y",this.y,Vl(e.y,t,"y",this.y)-(e.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,i=this._wdw||!this.skipY?this.getY():this.yPrev,n=i-this.yPrev,r=e-this.xPrev,o=Zl.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(o<r||r<-o)&&e<Wl(this._target,"x")&&(this.skipX=!0),!this.skipY&&(o<n||n<-o)&&i<Wl(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParam
311s||[]))),this._wdw?Kl.scrollTo(this.skipX?e:this.x,this.skipY?i:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),Ql=Zl.prototype;
312/*!
313 * VERSION: 1.9.2
314 * DATE: 2019-02-07
315 * UPDATES AND DOCS AT: http://greensock.com
316 *
317 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
318 * This work is subject to the terms at http://greensock.com/standard-license or for
319 * Club GreenSock members, the software agreement that was issued with your membership.
320 * 
321 * @author: Jack Doyle, [email protected]
322 **/function Jl(t){return(Jl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function th(t,e){return!e||"object"!==Jl(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function eh(t,e,i){return(eh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ih(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function ih(t){return(ih=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nh(t,e){return(nh=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Zl.max=Wl,Zl.getOffset=Gl,Zl.buildGetter=Hl,Zl.autoKillThreshold=7,Ql._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)};var rh=function(){function n(t,e){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(i=th(this,ih(n).call(this,t,e))).elementVisible=function(t,e){t.forEach(function(t){t.isIntersecting&&(e.unobserve(t.target),t.target.classList.add("transitioned-in"))})},i.subtitle=t.querySelector(".TextStyle-PageSubtitle"),i.awards=t.querySelectorAll(".AwardsTemplate-award"),i.sparkles=t.querySelectorAll(".AwardsTemplate-award #sparkles"),i.awardItems=t.querySelectorAll(".AwardsListModule tbody tr"),Q.set(i.subtitle,{opacity:0,y:30}),i.animateSparkles(),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nh(t,e)}(n,at),function(t,e,i){e&&$l(t.prototype,e),i&&$l(t,i)}(n,[{key:"templateInComplete",value:function(){var t=this;eh(ih(n.prototype),"templateInComplete",this).call(this);var e=this.element.querySelector(".TextStyle-PageTitle").parentElement;this.title=new Tt(e),Q.delayedCall(this._templateManager.isInitial()?1.4:.65,function(){t.element.classList.add("templateInComplete"),Q.delayedCall(1.25,function(){return t.title.show()}),Q.to(t.subtitle,.75,{y:0,ease:ut,delay:2}),Q.to(t.subtitle,.5,{opacity:1,delay:2,onComplete:function(){t.setupIntersectionObservers()}})})}},{key:"animateSparkles",value:function(){var t=new R({repeat:-1}),e=z.easeOut.config(3,.5);t.staggerFromTo(this.sparkles[0].childNodes,.5,{scale:0,immediateRender:!1},{opacity:1,scale:1,ease:e},.1),t.staggerFromTo(this.sparkles[2].childNodes,.5,{scale:0,immediateRender:!1},{opacity:1,scale:1,ease:e},.1,"+=1"),t.staggerFromTo(this.sparkles[1].childNodes,.5,{scale:0,immediateRender:!1},{opacity:1,scale:1,ease:e},.1,"+=1.4"),t.staggerFromTo(this.sparkles[3].childNodes,.5,{scale:0,immediateRender:!1},{opacity:1,scale:1,ease:e},.1,"+=1"),t.staggerFromTo(this.sparkles[4].childNodes,.5,{scale:0,immediateRender:!1},{opacity:1,scale:1,ease:e},.1,"+=1")}},{key:"setupIntersectionObservers",value:function(){var e=new IntersectionObserver(this.elementVisible,{threshold:0});
322this.awardItems.forEach(function(t){return e.observe(t)})}}]),n}();function oh(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function sh(t,e,i,n,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(n,r)}function ah(a){return function(){var t=this,s=arguments;return new Promise(function(e,i){var n=a.apply(t,s);function r(t){sh(n,e,i,r,o,"next",t)}function o(t){sh(n,e,i,r,o,"throw",t)}r(void 0)})}}var lh={SelectedWorksModule:ca,FAQListModule:wa,AwardsListModule:ll,WorkSliderModule:gl};function hh(){return uh.apply(this,arguments)}function uh(){return(uh=ah(regeneratorRuntime.mark(function t(){var e,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=!1,self.createImageBitmap)return"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",t.next=5,fetch("data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=").then(function(t){return t.blob()});t.next=7;break;case 5:i=t.sent,e=createImageBitmap(i).then(function(){return!0},function(){return!1});case 7:return t.abrupt("return",e);case 9:case"end":return t.stop()}},t)}))).apply(this,arguments)}var ch=function(){function i(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.scrollController=new u,this.templateManager=new g,this.BROWSER=Object(Nl.detect)(),this.resize=function(){dh(),t.templateManager.resize(),t.scrollController.resize()},this.enableAudioListener=function(){v.CAN_PLAY_AUDIO=!v.I_OS,v.MUTED=v.IS_TOUCH_DEVICE||v.I_OS,window.removeEventListener("click",t.enableAudioListener)},window.addEventListener("click",this.enableAudioListener),this.checkWebpSupport(),p.getInstance(),ot.getInstance(this.templateManager),it.registerModules(lh),this.initSite();var e=document.getElementById("LoadingBlocker");e.style.opacity="0",e.style.pointerEvents="none",y.delayedCall(.5,function(){e.parentNode.removeChild(e)})}var t;return function(t,e,i){e&&oh(t.prototype,e),i&&oh(t,i)}(i,[{key:"initSite",value:function(){this.templateManager.addTemplate("HomeTemplate",Ut),this.templateManager.addTemplate("FAQTemplate",Ha),this.templateManager.addTemplate("BiographyTemplate",Yl),this.templateManager.addTemplate("AwardsTemplate",rh),this.templateManager.addTemplate("WorkTemplate",Sl),this.templateManager.addTemplate("WorkOverviewTemplate",Dl),this.templateManager.addTemplate("ErrorTemplate",Vt),this.templateManager.init(v.TEMPLATE_LAYER,"home"),this.newsSidebar=new da,this.menu=new nl(this.newsSidebar,this.templateManager),p.signalResize.add(this.resize),this.resize()}},{key:"checkWebpSupport",value:(t=ah(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(v.WEBP_SUPPORT_CHECKED){t.next=7;break}return t.next=3,hh();case 3:t.sent&&(v.WEBP_SUPPORTED=!0),v.WEBP_SUPPORT_CHECKED=!0,v.SIGNAL_WEBP_SUPPORT_CHECKED.dispatch();case 7:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)})}]),i}();function dh(){var t=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(t,"px"))}dh(),window.Main=new ch}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.