text: !function(t){var e={};function r(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=256)}([function(t,e,r){"use strict";var i=r(2),n=r(15),o=r(17),s=r(18),a=r(26),u=function t(e,r,u){var l,h,c,f,d=e&t.F,p=e&t.G,v=e&t.P,y=e&t.B,m=p?i:e&t.S?i[r]||(i[r]={}):(i[r]||{}).prototype,g=p?n:n[r]||(n[r]={}),_=g.prototype||(g.prototype={});for(l in p&&(u=r),u)c=((h=!d&&m&&void 0!==m[l])?m:u)[l],f=y&&h?a(c,i):v&&"function"==typeof c?a(Function.call,c):c,m&&s(m,l,c,e&t.U),g[l]!=c&&o(g,l,f),v&&_[l]!=c&&(_[l]=c)};i.core=n,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,r){"use strict";var i=r(6);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){"use strict";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,r){"use strict";e.__esModule=!0;e.VERSION="4.8.6",e.PI_2=2*Math.PI,e.RAD_TO_DEG=180/Math.PI,e.DEG_TO_RAD=Math.PI/180,e.RENDERER_TYPE={UNKNOWN:0,WEBGL:1,CANVAS:2},e.BLEND_MODES={NORMAL:0,ADD:1,MULTIPLY:2,SCREEN:3,OVERLAY:4,DARKEN:5,LIGHTEN:6,COLOR_DODGE:7,COLOR_BURN:8,HARD_LIGHT:9,SOFT_LIGHT:10,DIFFERENCE:11,EXCLUSION:12,HUE:13,SATURATION:14,COLOR:15,LUMINOSITY:16,NORMAL_NPM:17,ADD_NPM:18,SCREEN_NPM:19},e.DRAW_MODES={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},e.SCALE_MODES={LINEAR:0,NEAREST:1},e.WRAP_MODES={CLAMP:0,REPEAT:1,MIRRORED_REPEAT:2},e.GC_MODES={AUTO:0,MANUAL:1},e.URL_FILE_EXTENSION=/\.(\w{3,4})(?:$|\?|#)/i,e.DATA_URI=/^\s*data:(?:([\w-]+)\/([\w+.-]+))?(?:;charset=([\w-]+))?(?:;(base64))?,(.*)/i,e.SVG_SIZE=/<svg[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i,e.SHAPES={POLY:0,RECT:1,CIRC:2,ELIP:3,RREC:4},e.PRECISION={LOW:"lowp",MEDIUM:"mediump",HIGH:"highp"},e.TRANSFORM_MODE={STATIC:0,DYNAMIC:1},e.TEXT_GRADIENT={LINEAR_VERTICAL:0,LINEAR_HORIZONTAL:1},e.UPDATE_PRIORITY={INTERACTION:50,HIGH:25,NORMAL:0,LOW:-25,UTILITY:-50}},function(t,e,r){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){"use strict";e.__esModule=!0,e.autoDetectRenderer=e.Application=e.Filter=e.SpriteMaskFilter=e.Quad=e.RenderTarget=e.ObjectRenderer=e.WebGLManager=e.Shader=e.CanvasRenderTarget=e.TextureUvs=e.VideoBaseTexture=e.BaseRenderTexture=e.RenderTexture=e.BaseTexture=e.TextureMatrix=e.Texture=e.Spritesheet=e.CanvasGraphicsRenderer=e.GraphicsRenderer=e.GraphicsData=e.Graphics=e.TextMetrics=e.TextStyle=e.Text=e.SpriteRenderer=e.CanvasTinter=e.CanvasSpriteRenderer=e.Sprite=e.TransformBase=e.TransformStatic=e.Transform=e.Container=e.DisplayObject=e.Bounds=e.glCore=e.WebGLRenderer=e.CanvasRenderer=e.ticker=e.utils=e.settings=void 0;var i=r(3);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var n=r(14);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(25);Object.defineProperty(e,"glCore",{enumerable:!0,get:function(){return V(o).default}});var s=r(130);Object.defineProperty(e,"Bounds",{enumerable:!0,get:function(){return V(s).default}});var a=r(215);Object.defineProperty(e,"DisplayObject",{enumerable:!0,get:function(){return V(a).default}});var u=r(64);Object.defineProperty(e,"Container",{enumerable:!0,get:function(){return V(u).default}});var l=r(217);Object.defineProperty(e,"Transform",{enumerable:!0,get:function(){return V(l).default}});var h=r(216);Object.defineProperty(e,"TransformStatic",{enumerable:!0,get:function(){return V(h).default}});var c=r(132);Object.defineProperty(e,"TransformBase",{enumerable:!0,get:function(){return V(c).default}});var f=r(134);Object.defineProperty(e,"Sprite",{enumerable:!0,get:function(){return V(f).default}});var d=r(522);Object.defineProperty(e,"CanvasSpriteRenderer",{enumerable:!0,get:function(){return V(d).default}});var p=r(90);Object.defineProperty(e,"CanvasTinter",{enumerable:!0,get:function(){return V(p).default}});var v=r(525);Object.defineProperty(e,"SpriteRenderer",{enumerable:!0,get:function(){return V(v).default}});var y=r(541);Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return V(y).default}});var m=r(231);Object.defineProperty(e,"TextStyle",{enumerable:!0,get:function(){return V(m).default}});var g=r(232);Object.defineProperty(e,"TextMetrics",{enumerable:!0,get:function(){return V(g).default}});var _=r(543);Object.defineProperty(e,"Graphics",{enumerable:!0,get:function(){return V(_).default}});var b=r(233);Object.defineProperty(e,"GraphicsData",{enumerable:!0,get:function(){return V(b).default}});var x=r(545);Object.defineProperty(e,"GraphicsRenderer",{enumerable:!0,get:function(){return V(x).default}});var w=r(552);Object.defineProperty(e,"CanvasGraphicsRenderer",{enumerable:!0,get:function(){return V(w).default}});var T=r(553);Object.defineProperty(e,"Spritesheet",{enumerable:!0,get:function(){return V(T).default}});var S=r(41);Object.defineProperty(e,"Texture",{enumerable:!0,get:function(){return V(S).default}});var E=r(229);Object.defineProperty(e,"TextureMatrix",{enumerable:!0,get:function(){return V(E).default}});var P=r(60);Object.defineProperty(e,"BaseTexture",{enumerable:!0,get:function(){return V(P).default}});var O=r(137);Object.defineProperty(e,"RenderTexture",{enumerable:!0,get:function(){return V(O).default}});var M=r(224);Object.defineProperty(e,"BaseRenderTexture",{enumerable:!0,get:function(){return V(M).default}});var A=r(221);Object.defineProperty(e,"VideoBaseTexture",{enumerable:!0,get:function(){return V(A).default}});var C=r(222);Object.defineProperty(e,"TextureUvs",{enumerable:!0,get:function(){return V(C).default}});var R=r(225);Object.defineProperty(e,"CanvasRenderTarget",{enumerable:!0,get:function(){return V(R).default}});var D=r(67);Object.defineProperty(e,"Shader",{enumerable:!0,get:function(){return V(D).default}});var I=r(66);Object.defineProperty(e,"WebGLManager",{enumerable:!0,get:function(){return V(I).default}});var k=r(91);Object.defineProperty(e,"ObjectRenderer",{enumerable:!0,get:function(){return V(k).default}});var L=r(93);Object.defineProperty(e,"RenderTarget",{enumerable:!0,get:function(){return V(L).default}});var F=r(230);Object.defineProperty(e,"Quad",{enumerable:!0,get:function(){return V(F).default}});var N=r(227);Object.defineProperty(e,"SpriteMaskFilter",{enumerable:!0,get:function(){return V(N).default}});var j=r(228);Object.defineProperty(e,"Filter",{enumerable:!0,get:function(){return V(j).default}});var B=r(234);Object.defineProperty(e,"Application",{enumerable:!0,get:function(){return V(B).default}});var U=r(235);Object.defineProperty(e,"autoDetectRenderer",{enumerable:!0,get:function(){return U.autoDetectRenderer}});var X=Y(r(7)),W=Y(r(136)),H=V(r(13)),z=V(r(65)),G=V(r(92));function Y(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function V(t){return t&&t.__esModule?t:{default:t}}e.settings=H.default,e.utils=X,e.ticker=W,e.CanvasRenderer=z.default,e.WebGLRenderer=G.default},function(t,e,r){"use strict";var i="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.exports=function(t){return"object"===(void 0===t?"undefined":i(t))?null!==t:"function"==typeof t}},function(t,e,r){"use strict";e.__esModule=!0,e.premultiplyBlendMode=e.BaseTextureCache=e.TextureCache=e.earcut=e.mixins=e.pluginTarget=e.EventEmitter=e.removeItems=e.isMobile=void 0,e.uid=function(){return++p},e.hex2rgb=function(t,e){return(e=e||[])[0]=(t>>16&255)/255,e[1]=(t>>8&255)/255,e[2]=(255&t)/255,e},e.hex2string=function(t){return t=t.toString(16),"#"+(t="000000".substr(0,6-t.length)+t)},e.rgb2hex=function(t){return(255*t[0]<<16)+(255*t[1]<<8)+(255*t[2]|0)},e.getResolutionOfUrl=function(t,e){var r=n.default.RETINA_PREFIX.exec(t);if(r)return parseFloat(r[1]);return void 0!==e?e:1},e.decomposeDataUri=function(t){var e=i.DATA_URI.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]};return},e.getUrlFileExtension=function(t){var e=i.URL_FILE_EXTENSION.exec(t);if(e)return e[1].toLowerCase();return},e.getSvgSize=function(t){var e=i.SVG_SIZE.exec(t),r={};e&&(r[e[1]]=Math.round(parseFloat(e[3])),r[e[5]]=Math.round(parseFloat(e[7])));return r},e.skipHello=function(){v=!0},e.sayHello=function(t){if(v)return;if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var e=["\n %c %c %c PixiJS "+i.VERSION+" - ✰ "+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 "+i.VERSION+" - "+t+" - http://www.pixijs.com/");v=!0},e.isWebGLSupported=function(){var t={stencil:!0,failIfMajorPerformanceCaveat:!0};try{if(!window.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),r=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),i=!(!r||!r.getContextAttributes().stencil);if(r){var n=r.getExtension("WEBGL_lose_context");n&&n.loseContext()}return r=null,i}catch(t){return!1}},e.sign=function(t){return 0===t?0:t<0?-1:1},e.destroyTextureCache=function(){var t=void 0;for(t in y)y[t].destroy();for(t in m)m[t].destroy()},e.clearTextureCache=function(){var t=void 0;for(t in y)delete y[t];for(t in m)delete m[t]},e.correctBlendMode=function(t,e){return g[e?1:0][t]},e.premultiplyTint=function(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var r=t>>16&255,i=t>>8&255,n=255&t;return(255*e<<24)+((r=r*e+.5|0)<<16)+((i=i*e+.5|0)<<8)+(n=n*e+.5|0)},e.premultiplyRgba=function(t,e,r,i){r=r||new Float32Array(4),i||void 0===i?(r[0]=t[0]*e,r[1]=t[1]*e,r[2]=t[2]*e):(r[0]=t[0],r[1]=t[1],r[2]=t[2]);return r[3]=e,r},e.premultiplyTintToRgba=function(t,e,r,i){(r=r||new Float32Array(4))[0]=(t>>16&255)/255,r[1]=(t>>8&255)/255,r[2]=(255&t)/255,(i||void 0===i)&&(r[0]*=e,r[1]*=e,r[2]*=e);return r[3]=e,r};var i=r(3),n=d(r(13)),o=d(r(55)),s=d(r(511)),a=f(r(512)),u=f(r(131)),l=d(r(513)),h=d(r(514)),c=d(r(133));function f(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function d(t){return t&&t.__esModule?t:{default:t}}var p=0,v=!1;e.isMobile=u,e.removeItems=l.default,e.EventEmitter=o.default,e.pluginTarget=s.default,e.mixins=a,e.earcut=c.default;var y=e.TextureCache=Object.create(null),m=e.BaseTextureCache=Object.create(null);var g=e.premultiplyBlendMode=(0,h.default)()},function(t,e,r){"use strict";var i=r(71)("wks"),n=r(44),o=r(2).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:n)("Symbol."+t))}).store=i},function(t,e,r){"use strict";t.exports=!r(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,r){"use strict";var i=r(1),n=r(150),o=r(29),s=Object.defineProperty;e.f=r(9)?Object.defineProperty:function(t,e,r){if(i(t),e=o(e,!0),i(r),n)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){"use strict";var i=r(31),n=Math.min;t.exports=function(t){return t>0?n(i(t),9007199254740991):0}},function(t,e,r){"use strict";var i=r(30);t.exports=function(t){return Object(i(t))}},function(t,e,r){"use strict";e.__esModule=!0;var i=o(r(509)),n=o(r(510));function o(t){return t&&t.__esModule?t:{default:t}}e.default={TARGET_FPMS:.06,MIPMAP_TEXTURES:!0,RESOLUTION:1,FILTER_RESOLUTION:1,SPRITE_MAX_TEXTURES:(0,i.default)(32),SPRITE_BATCH_SIZE:4096,RETINA_PREFIX:/@([0-9\.]+)x/,RENDER_OPTIONS:{view:null,antialias:!1,forceFXAA:!1,autoResize:!1,transparent:!1,backgroundColor:0,clearBeforeRender:!0,preserveDrawingBuffer:!1,roundPixels:!1,width:800,height:600,legacy:!1},TRANSFORM_MODE:0,GC_MODE:0,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:0,SCALE_MODE:0,PRECISION_VERTEX:"highp",PRECISION_FRAGMENT:"mediump",CAN_UPLOAD_SAME_BUFFER:(0,n.default)(),MESH_CANVAS_PADDING:0}},function(t,e,r){"use strict";e.__esModule=!0;var i=r(126);Object.defineProperty(e,"Point",{enumerable:!0,get:function(){return f(i).default}});var n=r(204);Object.defineProperty(e,"ObservablePoint",{enumerable:!0,get:function(){return f(n).default}});var o=r(127);Object.defineProperty(e,"Matrix",{enumerable:!0,get:function(){return f(o).default}});var s=r(205);Object.defineProperty(e,"GroupD8",{enumerable:!0,get:function(){return f(s).default}});var a=r(499);Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return f(a).default}});var u=r(500);Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return f(u).default}});var l=r(501);Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return f(l).default}});var h=r(128);Object.defineProperty(e,"Rectangle",{enumerable:!0,get:function(){return f(h).default}});var c=r(502);function f(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"RoundedRectangle",{enumerable:!0,get:function(){return f(c).default}})},function(t,e,r){"use strict";var i=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=i)},function(t,e,r){"use strict";t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){"use strict";var i=r(10),n=r(43);t.exports=r(9)?function(t,e,r){return i.f(t,e,n(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){"use strict";var i=r(2),n=r(17),o=r(21),s=r(44)("src"),a=Function.toString,u=(""+a).split("toString");r(15).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,r,a){var l="function"==typeof r;l&&(o(r,"name")||n(r,"name",e)),t[e]!==r&&(l&&(o(r,s)||n(r,s,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=r:a?t[e]?t[e]=r:n(t,e,r):(delete t[e],n(t,e,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,r){"use strict";var i=r(0),n=r(4),o=r(30),s=/"/g,a=function(t,e,r,i){var n=String(o(t)),a="<"+e;return""!==r&&(a+=" "+r+'="'+String(i).replace(s,"&quot;")+'"'),a+">"+n+"</"+e+">"};t.exports=function(t,e){var r={};r[t]=e(a),i(i.P+i.F*n(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",r)}},function(t,e,r){"use strict";(function(r){Object.defineProperty(e,"__esModule",{value:!0});var i="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},n=e._gsScope="undefined"!=typeof window?window:t.exports&&void 0!==r?r:{},o=e.TweenLite=function(t,e){var r={},n=t.document,o=t.GreenSockGlobals=t.GreenSockGlobals||t;if(o.TweenLite)return o.TweenLite;var s,a,u,l,h,c,f,d=function(t){var e,r=t.split("."),i=o;for(e=0;e<r.length;e++)i[r[e]]=i=i[r[e]]||{};return i},p=d("com.greensock"),v=function(t){var e,r=[],i=t.length;for(e=0;e!==i;r.push(t[e++]));return r},y=function(){},m=(c=Object.prototype.toString,f=c.call([]),function(t){return null!=t&&(t instanceof Array||"object"===(void 0===t?"undefined":i(t))&&!!t.push&&c.call(t)===f)}),g={},_=t._gsDefine=function(t,e,i,n){return new function t(e,i,n,s){this.sc=g[e]?g[e].sc:[],g[e]=this,this.gsClass=null,this.func=n;var a=[];this.check=function(u){for(var l,h,c,f,p=i.length,v=p;--p>-1;)(l=g[i[p]]||new t(i[p],[])).gsClass?(a[p]=l.gsClass,v--):u&&l.sc.push(this);if(0===v&&n)for(c=(h=("com.greensock."+e).split(".")).pop(),f=d(h.join("."))[c]=this.gsClass=n.apply(n,a),s&&(o[c]=r[c]=f),p=0;p<this.sc.length;p++)this.sc[p].check()},this.check(!0)}(t,e,i,n)},b=p._class=function(t,e,r){return e=e||function(){},_(t,[],function(){return e},r),e};_.globals=o;var x=[0,0,1,1],w=b("easing.Ease",function(t,e,r,i){this._func=t,this._type=r||0,this._power=i||0,this._params=e?x.concat(e):x},!0),T=w.map={},S=w.register=function(t,e,r,i){for(var n,o,s,a,u=e.split(","),l=u.length,h=(r||"easeIn,easeOut,easeInOut").split(",");--l>-1;)for(o=u[l],n=i?b("easing."+o,null,!0):p.easing[o]||{},s=h.length;--s>-1;)a=h[s],T[o+"."+a]=T[a+o]=n[a]=t.getRatio?t:t[a]||new t};for((u=w.prototype)._calcEnd=!1,u.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,r=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===r?i*=i:2===r?i*=i*i:3===r?i*=i*i*i:4===r&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},a=(s=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)u=s[a]+",Power"+a,S(new w(null,null,1,a),u,"easeOut",!0),S(new w(null,null,2,a),u,"easeIn"+(0===a?",easeNone":"")),S(new w(null,null,3,a),u,"easeInOut");T.linear=p.easing.Linear.easeIn,T.swing=p.easing.Quad.easeInOut;var E=b("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(u=E.prototype).addEventListener=function(t,e,r,i,n){n=n||0;var o,s,a=this._listeners[t],u=0;for(this!==l||h||l.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;--s>-1;)(o=a[s]).c===e&&o.s===r?a.splice(s,1):0===u&&o.pr<n&&(u=s+1);a.splice(u,0,{c:e,s:r,up:i,pr:n})},u.removeEventListener=function(t,e){var r,i=this._listeners[t];if(i)for(r=i.length;--r>-1;)if(i[r].c===e)return void i.splice(r,1)},u.dispatchEvent=function(t){var e,r,i,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),r=this._eventTarget;--e>-1;)(i=n[e])&&(i.up?i.c.call(i.s||r,{type:t,target:r}):i.c.call(i.s||r))};var P=t.requestAnimationFrame,O=t.cancelAnimationFrame,M=Date.now||function(){return(new Date).getTime()},A=M();for(a=(s=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[s[a]+"RequestAnimationFrame"],O=t[s[a]+"CancelAnimationFrame"]||t[s[a]+"CancelRequestAnimationFrame"];b("Ticker",function(t,e){var r,i,o,s,a,u=this,c=M(),f=!(!1===e||!P)&&"auto",d=500,p=33,v=function t(e){var n,l,h=M()-A;h>d&&(c+=h-p),A+=h,u.time=(A-c)/1e3,n=u.time-a,(!r||n>0||!0===e)&&(u.frame++,a+=n+(n>=s?.004:s-n),l=!0),!0!==e&&(o=i(t)),l&&u.dispatchEvent("tick")};E.call(u),u.time=u.frame=0,u.tick=function(){v(!0)},u.lagSmoothing=function(t,e){if(!arguments.length)return d<1e10;d=t||1e10,p=Math.min(e,d,0)},u.sleep=function(){null!=o&&(f&&O?O(o):clearTimeout(o),i=y,o=null,u===l&&(h=!1))},u.wake=function(t){null!==o?u.sleep():t?c+=-A+(A=M()):u.frame>10&&(A=M()-d+5),i=0===r?y:f&&P?P:function(t){return setTimeout(t,1e3*(a-u.time)+1|0)},u===l&&(h=!0),v(2)},u.fps=function(t){if(!arguments.length)return r;s=1/((r=t)||60),a=this.time+s,u.wake()},u.useRAF=function(t){if(!arguments.length)return f;u.sleep(),f=t,u.fps(r)},u.fps(t),setTimeout(function(){"auto"===f&&u.frame<5&&"hidden"!==(n||{}).visibilityState&&u.useRAF(!1)},1500)}),(u=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var C=b("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,q){h||l.wake();var r=this.vars.useFrames?V:q;r.add(this,r._time),this.vars.paused&&this.paused(!0)}});l=C.ticker=new p.Ticker,(u=C.prototype)._dirty=u._gc=u._initted=u._paused=!1,u._totalTime=u._time=0,u._rawPrevTime=-1,u._next=u._last=u._onUpdate=u._timeline=u.timeline=null,u._paused=!1;!function t(){h&&M()-A>2e3&&("hidden"!==(n||{}).visibilityState||!l.lagSmoothing())&&l.wake();var e=setTimeout(t,2e3);e.unref&&e.unref()}(),u.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},u.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},u.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},u.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},u.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},u.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},u.render=function(t,e,r){},u.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},u.isActive=function(){var t,e=this._timeline,r=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<r+this.totalDuration()/this._timeScale-1e-7},u._enabled=function(t,e){return h||l.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},u._kill=function(t,e){return this._enabled(!1,!1)},u.kill=function(t,e){return this._kill(t,e),this},u._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},u._swapSelfInParams=function(t){for(var e=t.length,r=t.concat();--e>-1;)"{self}"===t[e]&&(r[e]=this);return r},u._callback=function(t){var e=this.vars,r=e[t],i=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:r.call(n);break;case 1:r.call(n,i[0]);break;case 2:r.call(n,i[0],i[1]);break;default:r.apply(n,i)}},u.eventCallback=function(t,e,r,i){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(r)&&-1!==r.join("").indexOf("{self}")?this._swapSelfInParams(r):r,n[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},u.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},u.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},u.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},u.totalTime=function(t,e,r){if(h||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!r&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,n=this._timeline;if(t>i&&!r&&(t=i),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?i-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(k.length&&Z(),this.render(t,e,!1),k.length&&Z())}return this},u.progress=u.totalProgress=function(t,e){var r=this.duration();return arguments.length?this.totalTime(r*t,e):r?this._time/r:this.ratio},u.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},u.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},u.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,r;for(t=t||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(r=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=r-(r-this._startTime)*this._timeScale/t),this._timeScale=t,r=this.timeline;r&&r.timeline;)r._dirty=!0,r.totalDuration(),r=r.timeline;return this},u.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},u.paused=function(t){if(!arguments.length)return this._paused;var e,r,i=this._timeline;return t!=this._paused&&i&&(h||t||l.wake(),r=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=r,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==r&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var R=b("core.SimpleTimeline",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(u=R.prototype=new C).constructor=R,u.kill()._gc=!1,u._first=u._last=u._recent=null,u._sortChildren=!1,u.add=u.insert=function(t,e,r,i){var n,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),n=this._last,this._sortChildren)for(o=t._startTime;n&&n._startTime>o;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},u._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},u.render=function(t,e,r){var i,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)i=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)),n=i},u.rawTime=function(){return h||l.wake(),this._totalTime};var D=b("TweenLite",function(e,r,i){if(C.call(this,r,i),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:D.selector(e)||e;var n,o,s,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),u=this.vars.overwrite;if(this._overwrite=u=null==u?Y[D.defaultOverwrite]:"number"==typeof u?u>>0:Y[u],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=s=v(e),this._propLookup=[],this._siblings=[],n=0;n<s.length;n++)(o=s[n])?"string"!=typeof o?o.length&&o!==t&&o[0]&&(o[0]===t||o[0].nodeType&&o[0].style&&!o.nodeType)?(s.splice(n--,1),this._targets=s=s.concat(v(o))):(this._siblings[n]=K(o,this,!1),1===u&&this._siblings[n].length>1&&$(o,this,null,1,this._siblings[n])):"string"==typeof(o=s[n--]=D.selector(o))&&s.splice(n+1,1):s.splice(n--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===u&&this._siblings.length>1&&$(e,this,null,1,this._siblings);(this.vars.immediateRender||0===r&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),I=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(u=D.prototype=new C).constructor=D,u.kill()._gc=!1,u.ratio=0,u._firstPT=u._targets=u._overwrittenProps=u._startAt=null,u._notifyPluginsOfEnabled=u._lazy=!1,D.version="2.0.2",D.defaultEase=u._ease=new w(null,null,1,1),D.defaultOverwrite="auto",D.ticker=l,D.autoSleep=120,D.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},D.selector=t.$||t.jQuery||function(e){var r=t.$||t.jQuery;return r?(D.selector=r,r(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var k=[],L={},F=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,j=function(t){for(var e,r=this._firstPT;r;)e=r.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:r.c*t+r.s,r.m?e=r.m.call(this._tween,e,this._target||r.t,this._tween):e<1e-6&&e>-1e-6&&!r.blob&&(e=0),r.f?r.fp?r.t[r.p](r.fp,e):r.t[r.p](e):r.t[r.p]=e,r=r._next},B=function(t,e,r,i){var n,o,s,a,u,l,h,c=[],f=0,d="",p=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",r&&(r(c),t=c[0],e=c[1]),c.length=0,n=t.match(F)||[],o=e.match(F)||[],i&&(i._next=null,i.blob=1,c._firstPT=c._applyPT=i),u=o.length,a=0;a<u;a++)h=o[a],d+=(l=e.substr(f,e.indexOf(h,f)-f))||!a?l:",",f+=l.length,p?p=(p+1)%5:"rgba("===l.substr(-5)&&(p=1),h===n[a]||n.length<=a?d+=h:(d&&(c.push(d),d=""),s=parseFloat(n[a]),c.push(s),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:s,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-s)||0,f:0,m:p&&p<4?Math.round:0}),f+=h.length;return(d+=e.substr(f))&&c.push(d),c.setRatio=j,N.test(e)&&(c.end=null),c},U=function(t,e,r,n,o,s,a,u,l){"function"==typeof n&&(n=n(l||0,t));var h=i(t[e]),c="function"!==h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==r?r:c?a?t[c](a):t[c]():t[e],d="string"==typeof n&&"="===n.charAt(1),p={t:t,p:e,s:f,f:"function"===h,pg:0,n:o||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:d?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-f||0};if(("number"!=typeof f||"number"!=typeof n&&!d)&&(a||isNaN(f)||!d&&isNaN(n)||"boolean"==typeof f||"boolean"==typeof n?(p.fp=a,p={t:B(f,d?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):n,u||D.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:o||e,pr:0,m:0}):(p.s=parseFloat(f),d||(p.c=parseFloat(n)-p.s||0))),p.c)return(p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p},X=D._internals={isArray:m,isSelector:I,lazyTweens:k,blobDif:B},W=D._plugins={},H=X.tweenLookup={},z=0,G=X.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},Y={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},V=C._rootFramesTimeline=new R,q=C._rootTimeline=new R,Q=30,Z=X.lazyRender=function(){var t,e=k.length;for(L={};--e>-1;)(t=k[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);k.length=0};q._startTime=l.time,V._startTime=l.frame,q._active=V._active=!0,setTimeout(Z,1),C._updateRoot=D.render=function(){var t,e,r;if(k.length&&Z(),q.render((l.time-q._startTime)*q._timeScale,!1,!1),V.render((l.frame-V._startTime)*V._timeScale,!1,!1),k.length&&Z(),l.frame>=Q){for(r in Q=l.frame+(parseInt(D.autoSleep,10)||120),H){for(t=(e=H[r].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete H[r]}if((!(r=q._first)||r._paused)&&D.autoSleep&&!V._first&&1===l._listeners.tick.length){for(;r&&r._paused;)r=r._next;r||l.sleep()}}},l.addEventListener("tick",C._updateRoot);var K=function(t,e,r){var i,n,o=t._gsTweenID;if(H[o||(t._gsTweenID=o="t"+z++)]||(H[o]={target:t,tweens:[]}),e&&((i=H[o].tweens)[n=i.length]=e,r))for(;--n>-1;)i[n]===e&&i.splice(n,1);return H[o].tweens},J=function(t,e,r,i){var n,o,s=t.vars.onOverwrite;return s&&(n=s(t,e,r,i)),(s=D.onOverwrite)&&(o=s(t,e,r,i)),!1!==n&&!1!==o},$=function(t,e,r,i,n){var o,s,a,u;if(1===i||i>=4){for(u=n.length,o=0;o<u;o++)if((a=n[o])!==e)a._gc||a._kill(null,t,e)&&(s=!0);else if(5===i)break;return s}var l,h=e._startTime+1e-10,c=[],f=0,d=0===e._duration;for(o=n.length;--o>-1;)(a=n[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(l=l||tt(e,0,d),0===tt(a,l,d)&&(c[f++]=a)):a._startTime<=h&&a._startTime+a.totalDuration()/a._timeScale>h&&((d||!a._initted)&&h-a._startTime<=2e-10||(c[f++]=a)));for(o=f;--o>-1;)if(u=(a=c[o])._firstPT,2===i&&a._kill(r,t,e)&&(s=!0),2!==i||!a._firstPT&&a._initted&&u){if(2!==i&&!J(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},tt=function(t,e,r){for(var i=t._timeline,n=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,n*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=n)>e?o-e:r&&o===e||!t._initted&&o-e<2e-10?1e-10:(o+=t.totalDuration()/t._timeScale/n)>e+1e-10?0:o-e-1e-10};u._init=function(){var t,e,r,i,n,o,s=this.vars,a=this._overwrittenProps,u=this._duration,l=!!s.immediateRender,h=s.ease;if(s.startAt){for(i in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},s.startAt)n[i]=s.startAt[i];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=l&&!1!==s.lazy,n.startAt=n.delay=null,n.onUpdate=s.onUpdate,n.onUpdateParams=s.onUpdateParams,n.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=D.to(this.target||{},0,n),l)if(this._time>0)this._startAt=null;else if(0!==u)return}else if(s.runBackwards&&0!==u)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(i in 0!==this._time&&(l=!1),r={},s)G[i]&&"autoCSS"!==i||(r[i]=s[i]);if(r.overwrite=0,r.data="isFromStart",r.lazy=l&&!1!==s.lazy,r.immediateRender=l,this._startAt=D.to(this.target,0,r),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof w?h:"function"==typeof h?new w(h,s.easeParams):T[h]||D.defaultEase:D.defaultEase,s.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,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&&D._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(r=this._firstPT;r;)r.s+=r.c,r.c=-r.c,r=r._next;this._onUpdate=s.onUpdate,this._initted=!0},u._initProps=function(e,r,i,n,o){var s,a,u,l,h,c;if(null==e)return!1;for(s in L[e._gsTweenID]&&Z(),this.vars.css||e.style&&e!==t&&e.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var r,i={};for(r in t)G[r]||r in e&&"transform"!==r&&"x"!==r&&"y"!==r&&"width"!==r&&"height"!==r&&"className"!==r&&"border"!==r||!(!W[r]||W[r]&&W[r]._autoCSS)||(i[r]=t[r],delete t[r]);t.css=i}(this.vars,e),this.vars)if(c=this.vars[s],G[s])c&&(c instanceof Array||c.push&&m(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[s]=c=this._swapSelfInParams(c,this));else if(W[s]&&(l=new W[s])._onInitTween(e,this.vars[s],this,o)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:s,pg:1,pr:l._priority,m:0},a=l._overwriteProps.length;--a>-1;)r[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(u=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else r[s]=U.call(this,e,s,"get",c,s,0,null,this.vars.stringFilter,o);return n&&this._kill(n,e)?this._initProps(e,r,i,n,o):this._overwrite>1&&this._firstPT&&i.length>1&&$(e,this,r,this._overwrite,i)?(this._kill(r,e),this._initProps(e,r,i,n,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),u)},u.render=function(t,e,r){var i,n,o,s,a=this._time,u=this._duration,l=this._rawPrevTime;if(t>=u-1e-7&&t>=0)this._totalTime=this._time=u,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,n="onComplete",r=r||this._timeline.autoRemoveChildren),0===u&&(this._initted||!this.vars.lazy||r)&&(this._startTime===this._timeline._duration&&(t=0),(l<0||t<=0&&t>=-1e-7||1e-10===l&&"isPause"!==this.data)&&l!==t&&(r=!0,l>1e-10&&(n="onReverseComplete")),this._rawPrevTime=s=!e||t||l===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===u&&l>0)&&(n="onReverseComplete",i=this._reversed),t<0&&(this._active=!1,0===u&&(this._initted||!this.vars.lazy||r)&&(l>=0&&(1e-10!==l||"isPause"!==this.data)&&(r=!0),this._rawPrevTime=s=!e||t||l===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(r=!0);else if(this._totalTime=this._time=t,this._easeType){var h=t/u,c=this._easeType,f=this._easePower;(1===c||3===c&&h>=.5)&&(h=1-h),3===c&&(h*=2),1===f?h*=h:2===f?h*=h*h:3===f?h*=h*h*h:4===f&&(h*=h*h*h*h),this.ratio=1===c?1-h:2===c?h:t/u<.5?h/2:1-h/2}else this.ratio=this._ease.getRatio(t/u);if(this._time!==a||r){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!r&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=l,k.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/u):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,r):n||(n="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==u||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,r),e||(this._time!==a||i||r)&&this._callback("onUpdate")),n&&(this._gc&&!r||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,r),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n),0===u&&1e-10===this._rawPrevTime&&1e-10!==s&&(this._rawPrevTime=0)))}},u._kill=function(t,e,r){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:D.selector(e)||e;var n,o,s,a,u,l,h,c,f,d=r&&this._time&&r._startTime===this._startTime&&this._timeline===r._timeline,p=this._firstPT;if((m(e)||I(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],r)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){u=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],o=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;u=this._propLookup,o=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(u){if(h=t||u,c=t!==o&&"all"!==o&&t!==u&&("object"!==(void 0===t?"undefined":i(t))||!t._tempKill),r&&(D.onOverwrite||this.vars.onOverwrite)){for(s in h)u[s]&&(f||(f=[]),f.push(s));if((f||!t)&&!J(this,r,e,f))return!1}for(s in h)(a=u[s])&&(d&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete u[s]),c&&(o[s]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},u.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},u._enabled=function(t,e){if(h||l.wake(),t&&this._gc){var r,i=this._targets;if(i)for(r=i.length;--r>-1;)this._siblings[r]=K(i[r],this,!0);else this._siblings=K(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)},D.to=function(t,e,r){return new D(t,e,r)},D.from=function(t,e,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new D(t,e,r)},D.fromTo=function(t,e,r,i){return i.startAt=r,i.immediateRender=0!=i.immediateRender&&0!=r.immediateRender,new D(t,e,i)},D.delayedCall=function(t,e,r,i,n){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:r,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:r,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];var r,i,n,o;if(t="string"!=typeof t?t:D.selector(t)||t,(m(t)||I(t))&&"number"!=typeof t[0]){for(r=t.length,i=[];--r>-1;)i=i.concat(D.getTweensOf(t[r],e));for(r=i.length;--r>-1;)for(o=i[r],n=r;--n>-1;)o===i[n]&&i.splice(r,1)}else if(t._gsTweenID)for(r=(i=K(t).concat()).length;--r>-1;)(i[r]._gc||e&&!i[r].isActive())&&i.splice(r,1);return i||[]},D.killTweensOf=D.killDelayedCallsTo=function(t,e,r){"object"===(void 0===e?"undefined":i(e))&&(r=e,e=!1);for(var n=D.getTweensOf(t,e),o=n.length;--o>-1;)n[o]._kill(r,t)};var et=b("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=et.prototype},!0);if(u=et.prototype,et.version="1.19.0",et.API=2,u._firstPT=null,u._addTween=U,u.setRatio=j,u._kill=function(t){var e,r=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=r.length;--e>-1;)null!=t[r[e]]&&r.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},u._mod=u._roundProps=function(t){for(var e,r=this._firstPT;r;)(e=t[this._propName]||null!=r.n&&t[r.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===r.f?r.t._applyPT.m=e:r.m=e),r=r._next},D._onPluginEvent=function(t,e){var r,i,n,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,i=n;i&&i.pr>a.pr;)i=i._next;(a._prev=i?i._prev:o)?a._prev._next=a:n=a,(a._next=i)?i._prev=a:o=a,a=s}a=e._firstPT=n}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(r=!0),a=a._next;return r},et.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===et.API&&(W[(new t[e])._propName]=t[e]);return!0},_.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,r=t.propName,i=t.priority||0,n=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=b("plugins."+r.charAt(0).toUpperCase()+r.substr(1)+"Plugin",function(){et.call(this,r,i),this._overwriteProps=n||[]},!0===t.global),a=s.prototype=new et(r);for(e in a.constructor=s,s.API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,et.activate([s]),s},s=t._gsQueue){for(a=0;a<s.length;a++)s[a]();for(u in g)g[u].func||t.console.log("GSAP encountered missing dependency: "+u)}return h=!1,D}(n),s=e.globals=n.GreenSockGlobals,a=s.com.greensock;e.default=o;e.SimpleTimeline=a.core.SimpleTimeline,e.Animation=a.core.Animation,e.Ease=s.Ease;var u=e.Linear=s.Linear;e.Power0=u,e.Power1=s.Power1,e.Power2=s.Power2,e.Power3=s.Power3,e.Power4=s.Power4,e.TweenPlugin=s.TweenPlugin,e.EventDispatcher=a.events.EventDispatcher}).call(this,r(42))},function(t,e,r){"use strict";var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,r){"use strict";var i=r(61),n=r(30);t.exports=function(t){return i(n(t))}},function(t,e,r){"use strict";var i=r(62),n=r(43),o=r(22),s=r(29),a=r(21),u=r(150),l=Object.getOwnPropertyDescriptor;e.f=r(9)?l:function(t,e){if(t=o(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(a(t,e))return n(!i.f.call(t,e),t[e])}},function(t,e,r){"use strict";var i=r(21),n=r(12),o=r(98)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=n(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,r){"use strict";var i={createContext:r(503),setVertexAttribArrays:r(206),GLBuffer:r(504),GLFramebuffer:r(505),GLShader:r(506),GLTexture:r(207),VertexArrayObject:r(507),shader:r(508)};t.exports&&(t.exports=i),"undefined"!=typeof window&&(window.PIXI=window.PIXI||{},window.PIXI.glCore=i)},function(t,e,r){"use strict";var i=r(16);t.exports=function(t,e,r){if(i(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,n){return t.call(e,r,i,n)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){"use strict";var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,r){"use strict";var i=r(4);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,r){"use strict";var i=r(6);t.exports=function(t,e){if(!i(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!i(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!i(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!i(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){"use strict";t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,r){"use strict";var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,r){"use strict";var i=r(0),n=r(15),o=r(4);t.exports=function(t,e){var r=(n.Object||{})[t]||Object[t],s={};s[t]=e(r),i(i.S+i.F*o(function(){r(1)}),"Object",s)}},function(t,e,r){"use strict";var i=r(26),n=r(61),o=r(12),s=r(11),a=r(115);t.exports=function(t,e){var r=1==t,u=2==t,l=3==t,h=4==t,c=6==t,f=5==t||c,d=e||a;return function(e,a,p){for(var v,y,m=o(e),g=n(m),_=i(a,p,3),b=s(g.length),x=0,w=r?d(e,b):u?d(e,0):void 0;b>x;x++)if((f||x in g)&&(y=_(v=g[x],x,m),t))if(r)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:w.push(v)}else if(h)return!1;return c?-1:l||h?h:w}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(468);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var n=r(199);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(200);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})});var s=r(469);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})});var a=r(470);Object.keys(a).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})});var u=r(471);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}})})},function(t,e,r){"use strict";(function(t){function r(t,e){for(var r=0,i=t.length-1;i>=0;i--){var n=t[i];"."===n?t.splice(i,1):".."===n?(t.splice(i,1),r++):r&&(t.splice(i,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,n=function(t){return i.exec(t).slice(1)};function o(t,e){if(t.filter)return t.filter(e);for(var r=[],i=0;i<t.length;i++)e(t[i],i,t)&&r.push(t[i]);return r}e.resolve=function(){for(var e="",i=!1,n=arguments.length-1;n>=-1&&!i;n--){var s=n>=0?arguments[n]:t.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,i="/"===s.charAt(0))}return e=r(o(e.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),n="/"===s(t,-1);return(t=r(o(t.split("/"),function(t){return!!t}),!i).join("/"))||i||(t="."),t&&n&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,r){function i(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;r>=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var n=i(t.split("/")),o=i(r.split("/")),s=Math.min(n.length,o.length),a=s,u=0;u<s;u++)if(n[u]!==o[u]){a=u;break}var l=[];for(u=a;u<n.length;u++)l.push("..");return(l=l.concat(o.slice(a))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){var e=n(t),r=e[0],i=e[1];return r||i?(i&&(i=i.substr(0,i.length-1)),r+i):"."},e.basename=function(t,e){var r=n(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){return n(t)[3]};var s="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r(528))},function(t,e,r){"use strict";var i="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};if(r(9)){var n=r(39),o=r(2),s=r(4),a=r(0),u=r(84),l=r(124),h=r(26),c=r(50),f=r(43),d=r(17),p=r(52),v=r(31),y=r(11),m=r(175),g=r(46),_=r(29),b=r(21),x=r(63),w=r(6),T=r(12),S=r(112),E=r(47),P=r(24),O=r(48).f,M=r(114),A=r(44),C=r(8),R=r(33),D=r(72),I=r(81),k=r(117),L=r(58),F=r(78),N=r(49),j=r(116),B=r(168),U=r(10),X=r(23),W=U.f,H=X.f,z=o.RangeError,G=o.TypeError,Y=o.Uint8Array,V=Array.prototype,q=l.ArrayBuffer,Q=l.DataView,Z=R(0),K=R(2),J=R(3),$=R(4),tt=R(5),et=R(6),rt=D(!0),it=D(!1),nt=k.values,ot=k.keys,st=k.entries,at=V.lastIndexOf,ut=V.reduce,lt=V.reduceRight,ht=V.join,ct=V.sort,ft=V.slice,dt=V.toString,pt=V.toLocaleString,vt=C("iterator"),yt=C("toStringTag"),mt=A("typed_constructor"),gt=A("def_constructor"),_t=u.CONSTR,bt=u.TYPED,xt=u.VIEW,wt=R(1,function(t,e){return Ot(I(t,t[gt]),e)}),Tt=s(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),St=!!Y&&!!Y.prototype.set&&s(function(){new Y(1).set({})}),Et=function(t,e){var r=v(t);if(r<0||r%e)throw z("Wrong offset!");return r},Pt=function(t){if(w(t)&&bt in t)return t;throw G(t+" is not a typed array!")},Ot=function(t,e){if(!(w(t)&&mt in t))throw G("It is not a typed array constructor!");return new t(e)},Mt=function(t,e){return At(I(t,t[gt]),e)},At=function(t,e){for(var r=0,i=e.length,n=Ot(t,i);i>r;)n[r]=e[r++];return n},Ct=function(t,e,r){W(t,e,{get:function(){return this._d[r]}})},Rt=function(t){var e,r,i,n,o,s,a=T(t),u=arguments.length,l=u>1?arguments[1]:void 0,c=void 0!==l,f=M(a);if(void 0!=f&&!S(f)){for(s=f.call(a),i=[],e=0;!(o=s.next()).done;e++)i.push(o.value);a=i}for(c&&u>2&&(l=h(l,arguments[2],2)),e=0,r=y(a.length),n=Ot(this,r);r>e;e++)n[e]=c?l(a[e],e):a[e];return n},Dt=function(){for(var t=0,e=arguments.length,r=Ot(this,e);e>t;)r[t]=arguments[t++];return r},It=!!Y&&s(function(){pt.call(new Y(1))}),kt=function(){return pt.apply(It?ft.call(Pt(this)):Pt(this),arguments)},Lt={copyWithin:function(t,e){return B.call(Pt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return $(Pt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return j.apply(Pt(this),arguments)},filter:function(t){return Mt(this,K(Pt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return tt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return et(Pt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Z(Pt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return it(Pt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return rt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ht.apply(Pt(this),arguments)},lastIndexOf:function(t){return at.apply(Pt(this),arguments)},map:function(t){return wt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ut.apply(Pt(this),arguments)},reduceRight:function(t){return lt.apply(Pt(this),arguments)},reverse:function(){for(var t,e=Pt(this).length,r=Math.floor(e/2),i=0;i<r;)t=this[i],this[i++]=this[--e],this[e]=t;return this},some:function(t){return J(Pt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ct.call(Pt(this),t)},subarray:function(t,e){var r=Pt(this),i=r.length,n=g(t,i);return new(I(r,r[gt]))(r.buffer,r.byteOffset+n*r.BYTES_PER_ELEMENT,y((void 0===e?i:g(e,i))-n))}},Ft=function(t,e){return Mt(this,ft.call(Pt(this),t,e))},Nt=function(t){Pt(this);var e=Et(arguments[1],1),r=this.length,i=T(t),n=y(i.length),o=0;if(n+e>r)throw z("Wrong length!");for(;o<n;)this[e+o]=i[o++]},jt={entries:function(){return st.call(Pt(this))},keys:function(){return ot.call(Pt(this))},values:function(){return nt.call(Pt(this))}},Bt=function(t,e){return w(t)&&t[bt]&&"symbol"!=(void 0===e?"undefined":i(e))&&e in t&&String(+e)==String(e)},Ut=function(t,e){return Bt(t,e=_(e,!0))?f(2,t[e]):H(t,e)},Xt=function(t,e,r){return!(Bt(t,e=_(e,!0))&&w(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?W(t,e,r):(t[e]=r.value,t)};_t||(X.f=Ut,U.f=Xt),a(a.S+a.F*!_t,"Object",{getOwnPropertyDescriptor:Ut,defineProperty:Xt}),s(function(){dt.call({})})&&(dt=pt=function(){return ht.call(this)});var Wt=p({},Lt);p(Wt,jt),d(Wt,vt,jt.values),p(Wt,{slice:Ft,set:Nt,constructor:function(){},toString:dt,toLocaleString:kt}),Ct(Wt,"buffer","b"),Ct(Wt,"byteOffset","o"),Ct(Wt,"byteLength","l"),Ct(Wt,"length","e"),W(Wt,yt,{get:function(){return this[bt]}}),t.exports=function(t,e,r,i){var l=t+((i=!!i)?"Clamped":"")+"Array",h="get"+t,f="set"+t,p=o[l],v=p||{},g=p&&P(p),_=!p||!u.ABV,b={},T=p&&p.prototype,S=function(t,r){W(t,r,{get:function(){return function(t,r){var i=t._d;return i.v[h](r*e+i.o,Tt)}(this,r)},set:function(t){return function(t,r,n){var o=t._d;i&&(n=(n=Math.round(n))<0?0:n>255?255:255&n),o.v[f](r*e+o.o,n,Tt)}(this,r,t)},enumerable:!0})};_?(p=r(function(t,r,i,n){c(t,p,l,"_d");var o,s,a,u,h=0,f=0;if(w(r)){if(!(r instanceof q||"ArrayBuffer"==(u=x(r))||"SharedArrayBuffer"==u))return bt in r?At(p,r):Rt.call(p,r);o=r,f=Et(i,e);var v=r.byteLength;if(void 0===n){if(v%e)throw z("Wrong length!");if((s=v-f)<0)throw z("Wrong length!")}else if((s=y(n)*e)+f>v)throw z("Wrong length!");a=s/e}else a=m(r),o=new q(s=a*e);for(d(t,"_d",{b:o,o:f,l:s,e:a,v:new Q(o)});h<a;)S(t,h++)}),T=p.prototype=E(Wt),d(T,"constructor",p)):s(function(){p(1)})&&s(function(){new p(-1)})&&F(function(t){new p,new p(null),new p(1.5),new p(t)},!0)||(p=r(function(t,r,i,n){var o;return c(t,p,l),w(r)?r instanceof q||"ArrayBuffer"==(o=x(r))||"SharedArrayBuffer"==o?void 0!==n?new v(r,Et(i,e),n):void 0!==i?new v(r,Et(i,e)):new v(r):bt in r?At(p,r):Rt.call(p,r):new v(m(r))}),Z(g!==Function.prototype?O(v).concat(O(g)):O(v),function(t){t in p||d(p,t,v[t])}),p.prototype=T,n||(T.constructor=p));var M=T[vt],A=!!M&&("values"==M.name||void 0==M.name),C=jt.values;d(p,mt,!0),d(T,bt,l),d(T,xt,!0),d(T,gt,p),(i?new p(1)[yt]==l:yt in T)||W(T,yt,{get:function(){return l}}),b[l]=p,a(a.G+a.W+a.F*(p!=v),b),a(a.S,l,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*s(function(){v.of.call(p,1)}),l,{from:Rt,of:Dt}),"BYTES_PER_ELEMENT"in T||d(T,"BYTES_PER_ELEMENT",e),a(a.P,l,Lt),N(l),a(a.P+a.F*St,l,{set:Nt}),a(a.P+a.F*!A,l,jt),n||T.toString==dt||(T.toString=dt),a(a.P+a.F*s(function(){new p(1).slice()}),l,{slice:Ft}),a(a.P+a.F*(s(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!s(function(){T.toLocaleString.call([1,2])})),l,{toLocaleString:kt}),L[l]=A?M:C,n||A||d(T,vt,C)}}else t.exports=function(){}},function(t,e,r){"use strict";var i="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},n=r(121),o=r(0),s=r(71)("metadata"),a=s.store||(s.store=new(r(123))),u=function(t,e,r){var i=a.get(t);if(!i){if(!r)return;a.set(t,i=new n)}var o=i.get(e);if(!o){if(!r)return;i.set(e,o=new n)}return o};t.exports={store:a,map:u,has:function(t,e,r){var i=u(e,r,!1);return void 0!==i&&i.has(t)},get:function(t,e,r){var i=u(e,r,!1);return void 0===i?void 0:i.get(t)},set:function(t,e,r,i){u(r,i,!0).set(t,e)},keys:function(t,e){var r=u(t,e,!1),i=[];return r&&r.forEach(function(t,e){i.push(e)}),i},key:function(t){return void 0===t||"symbol"==(void 0===t?"undefined":i(t))?t:String(t)},exp:function(t){o(o.S,"Reflect",t)}}},function(t,e,r){"use strict";var i="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},n=r(44)("meta"),o=r(6),s=r(21),a=r(10).f,u=0,l=Object.isExtensible||function(){return!0},h=!r(4)(function(){return l(Object.preventExtensions({}))}),c=function(t){a(t,n,{value:{i:"O"+ ++u,w:{}}})},f=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==(void 0===t?"undefined":i(t))?t:("string"==typeof t?"S":"P")+t;if(!s(t,n)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[n].i},getWeak:function(t,e){if(!s(t,n)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[n].w},onFreeze:function(t){return h&&f.NEED&&l(t)&&!s(t,n)&&c(t),t}}},function(t,e,r){"use strict";t.exports=!1},function(t,e,r){"use strict";var i=r(8)("unscopables"),n=Array.prototype;void 0==n[i]&&r(17)(n,i,{}),t.exports=function(t){n[i][t]=!0}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=f(r(60)),s=f(r(221)),a=f(r(222)),u=f(r(55)),l=r(14),h=r(7),c=f(r(13));function f(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(r,n,o,s,a,u){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var h=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));if(h.noFrame=!1,n||(h.noFrame=!0,n=new l.Rectangle(0,0,1,1)),r instanceof e&&(r=r.baseTexture),h.baseTexture=r,h._frame=n,h.trim=s,h.valid=!1,h.requiresUpdate=!1,h._uvs=null,h.orig=o||n,h._rotate=Number(a||0),!0===a)h._rotate=2;else if(h._rotate%2!=0)throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");return r.hasLoaded?(h.noFrame&&(n=new l.Rectangle(0,0,r.width,r.height),r.on("update",h.onBaseTextureUpdated,h)),h.frame=n):r.once("loaded",h.onBaseTextureLoaded,h),h.defaultAnchor=u?new l.Point(u.x,u.y):new l.Point(0,0),h._updateID=0,h.transform=null,h.textureCacheIds=[],h}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.update=function(){this.baseTexture.update()},e.prototype.onBaseTextureLoaded=function(t){this._updateID++,this.noFrame?this.frame=new l.Rectangle(0,0,t.width,t.height):this.frame=this._frame,this.baseTexture.on("update",this.onBaseTextureUpdated,this),this.emit("update",this)},e.prototype.onBaseTextureUpdated=function(t){this._updateID++,this._frame.width=t.width,this._frame.height=t.height,this.emit("update",this)},e.prototype.destroy=function(t){this.baseTexture&&(t&&(h.TextureCache[this.baseTexture.imageUrl]&&e.removeFromCache(this.baseTexture.imageUrl),this.baseTexture.destroy()),this.baseTexture.off("update",this.onBaseTextureUpdated,this),this.baseTexture.off("loaded",this.onBaseTextureLoaded,this),this.baseTexture=null),this._frame=null,this._uvs=null,this.trim=null,this.orig=null,this.valid=!1,e.removeFromCache(this),this.textureCacheIds=null},e.prototype.clone=function(){return new e(this.baseTexture,this.frame,this.orig,this.trim,this.rotate,this.defaultAnchor)},e.prototype._updateUvs=function(){this._uvs||(this._uvs=new a.default),this._uvs.set(this._frame,this.baseTexture,this.rotate),this._updateID++},e.fromImage=function(t,r,i,n){var s=h.TextureCache[t];return s||(s=new e(o.default.fromImage(t,r,i,n)),e.addToCache(s,t)),s},e.fromFrame=function(t){var e=h.TextureCache[t];if(!e)throw new Error('The frameId "'+t+'" does not exist in the texture cache');return e},e.fromCanvas=function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"canvas";return new e(o.default.fromCanvas(t,r,i))},e.fromVideo=function(t,r,i,n){return"string"==typeof t?e.fromVideoUrl(t,r,i,n):new e(s.default.fromVideo(t,r,n))},e.fromVideoUrl=function(t,r,i,n){return new e(s.default.fromUrl(t,r,i,n))},e.from=function(t){if("string"==typeof t){var r=h.TextureCache[t];return r||(null!==t.match(/\.(mp4|webm|ogg|h264|avi|mov)$/)?e.fromVideoUrl(t):e.fromImage(t))}return t instanceof HTMLImageElement?new e(o.default.from(t)):t instanceof HTMLCanvasElement?e.fromCanvas(t,c.default.SCALE_MODE,"HTMLCanvasElement"):t instanceof HTMLVideoElement?e.fromVideo(t):t instanceof o.default?new e(t):t},e.fromLoader=function(t,r,i){var n=new o.default(t,void 0,(0,h.getResolutionOfUrl)(r)),s=new e(n);return n.imageUrl=r,i||(i=r),o.default.addToCache(s.baseTexture,i),e.addToCache(s,i),i!==r&&(o.default.addToCache(s.baseTexture,r),e.addToCache(s,r)),s},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),h.TextureCache[e],h.TextureCache[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=h.TextureCache[t];if(e){var r=e.textureCacheIds.indexOf(t);return r>-1&&e.textureCacheIds.splice(r,1),delete h.TextureCache[t],e}}else if(t&&t.textureCacheIds){for(var i=0;i<t.textureCacheIds.length;++i)h.TextureCache[t.textureCacheIds[i]]===t&&delete h.TextureCache[t.textureCacheIds[i]];return t.textureCacheIds.length=0,t}return null},n(e,[{key:"frame",get:function(){return this._frame},set:function(t){this._frame=t,this.noFrame=!1;var e=t.x,r=t.y,i=t.width,n=t.height,o=e+i>this.baseTexture.width,s=r+n>this.baseTexture.height;if(o||s){var a=o&&s?"and":"or",u="X: "+e+" + "+i+" = "+(e+i)+" > "+this.baseTexture.width,l="Y: "+r+" + "+n+" = "+(r+n)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+u+" "+a+" "+l)}this.valid=i&&n&&this.baseTexture.hasLoaded,this.trim||this.rotate||(this.orig=t),this.valid&&this._updateUvs()}},{key:"rotate",get:function(){return this._rotate},set:function(t){this._rotate=t,this.valid&&this._updateUvs()}},{key:"width",get:function(){return this.orig.width}},{key:"height",get:function(){return this.orig.height}}]),e}(u.default);function p(t){t.destroy=function(){},t.on=function(){},t.once=function(){},t.emit=function(){}}e.default=d,d.EMPTY=new d(new o.default),p(d.EMPTY),p(d.EMPTY.baseTexture),d.WHITE=function(){var t=document.createElement("canvas");t.width=10,t.height=10;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,10,10),new d(new o.default(t))}(),p(d.WHITE),p(d.WHITE.baseTexture)},function(t,e,r){"use strict";var i,n="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};i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":n(window))&&(i=window)}t.exports=i},function(t,e,r){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){"use strict";var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e,r){"use strict";var i=r(152),n=r(99);t.exports=Object.keys||function(t){return i(t,n)}},function(t,e,r){"use strict";var i=r(31),n=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?n(t+e,0):o(t,e)}},function(t,e,r){"use strict";var i=r(1),n=r(153),o=r(99),s=r(98)("IE_PROTO"),a=function(){},u=function(){var t,e=r(96)("iframe"),i=o.length;for(e.style.display="none",r(100).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.prototype[o[i]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=i(t),r=new a,a.prototype=null,r[s]=t):r=u(),void 0===e?r:n(r,e)}},function(t,e,r){"use strict";var i=r(152),n=r(99).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,n)}},function(t,e,r){"use strict";var i=r(2),n=r(10),o=r(9),s=r(8)("species");t.exports=function(t){var e=i[t];o&&e&&!e[s]&&n.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,r){"use strict";t.exports=function(t,e,r,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,e,r){"use strict";var i=r(26),n=r(166),o=r(112),s=r(1),a=r(11),u=r(114),l={},h={},c=t.exports=function(t,e,r,c,f){var d,p,v,y,m=f?function(){return t}:u(t),g=i(r,c,e?2:1),_=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=a(t.length);d>_;_++)if((y=e?g(s(p=t[_])[0],p[1]):g(t[_]))===l||y===h)return y}else for(v=m.call(t);!(p=v.next()).done;)if((y=n(v,g,p.value,e))===l||y===h)return y};c.BREAK=l,c.RETURN=h},function(t,e,r){"use strict";var i=r(18);t.exports=function(t,e,r){for(var n in e)i(t,n,e[n],r);return t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="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};e.__extends=function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},e.__rest=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&(r[i[n]]=t[i[n]]);return r},e.__decorate=function(t,e,r,n){var o,s=arguments.length,a=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"===("undefined"==typeof Reflect?"undefined":i(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(s<3?o(a):s>3?o(e,r,a):o(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a},e.__param=function(t,e){return function(r,i){e(r,i,t)}},e.__metadata=function(t,e){if("object"===("undefined"==typeof Reflect?"undefined":i(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},e.__awaiter=function(t,e,r,i){return new(r||(r=Promise))(function(n,o){function s(t){try{u(i.next(t))}catch(t){o(t)}}function a(t){try{u(i.throw(t))}catch(t){o(t)}}function u(t){t.done?n(t.value):new r(function(e){e(t.value)}).then(s,a)}u((i=i.apply(t,e||[])).next())})},e.__generator=function(t,e){var r,i,n,o,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(n=2&o[0]?i.return:o[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;switch(i=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(n=(n=s.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){s.label=o[1];break}if(6===o[0]&&s.label<n[1]){s.label=n[1],n=o;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(o);break}n[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],i=0}finally{r=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},e.__exportStar=function(t,e){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])},e.__values=s,e.__read=a,e.__spread=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t},e.__await=u,e.__asyncGenerator=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(t,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(t){n[t]&&(i[t]=function(e){return new Promise(function(r,i){o.push([t,e,r,i])>1||a(t,e)})})}function a(t,e){try{(r=n[t](e)).value instanceof u?Promise.resolve(r.value.v).then(l,h):c(o[0][2],r)}catch(t){c(o[0][3],t)}var r}function l(t){a("next",t)}function h(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}},e.__asyncDelegator=function(t){var e,r;return e={},i("next"),i("throw",function(t){throw t}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,n){e[i]=t[i]?function(e){return(r=!r)?{value:u(t[i](e)),done:"return"===i}:n?n(e):e}:n}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=s(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(e){return new Promise(function(i,n){e=t[r](e),function(t,e,r,i){Promise.resolve(i).then(function(e){t({value:e,done:r})},e)}(i,n,e.done,e.value)})}}},e.__makeTemplateObject=function(t,e){Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e;return t},e.__importStar=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e},e.__importDefault=function(t){return t&&t.__esModule?t:{default:t}};var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};var o=function(){return e.__assign=o=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},o.apply(this,arguments)};function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}function a(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s}function u(t){return this instanceof u?(this.v=t,this):new u(t)}e.__assign=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(r(456)),n=o(r(194));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,r){return void 0===r&&(r=e,e=void 0),void 0!==r&&(r=(r=(0,n.default)(r))==r?r:0),void 0!==e&&(e=(e=(0,n.default)(e))==e?e:0),(0,i.default)((0,n.default)(t),e,r)}},function(t,e,r){"use strict";var i=Object.prototype.hasOwnProperty,n="~";function o(){}function s(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),a.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)i.call(t,e)&&r.push(n?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},a.prototype.listeners=function(t,e){var r=n?n+t:t,i=this._events[r];if(e)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var o=0,s=i.length,a=new Array(s);o<s;o++)a[o]=i[o].fn;return a},a.prototype.emit=function(t,e,r,i,o,s){var a=n?n+t:t;if(!this._events[a])return!1;var u,l,h=this._events[a],c=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),c){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,r),!0;case 4:return h.fn.call(h.context,e,r,i),!0;case 5:return h.fn.call(h.context,e,r,i,o),!0;case 6:return h.fn.call(h.context,e,r,i,o,s),!0}for(l=1,u=new Array(c-1);l<c;l++)u[l-1]=arguments[l];h.fn.apply(h.context,u)}else{var f,d=h.length;for(l=0;l<d;l++)switch(h[l].once&&this.removeListener(t,h[l].fn,void 0,!0),c){case 1:h[l].fn.call(h[l].context);break;case 2:h[l].fn.call(h[l].context,e);break;case 3:h[l].fn.call(h[l].context,e,r);break;case 4:h[l].fn.call(h[l].context,e,r,i);break;default:if(!u)for(f=1,u=new Array(c-1);f<c;f++)u[f-1]=arguments[f];h[l].fn.apply(h[l].context,u)}}return!0},a.prototype.on=function(t,e,r){var i=new s(e,r||this),o=n?n+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],i]:this._events[o].push(i):(this._events[o]=i,this._eventsCount++),this},a.prototype.once=function(t,e,r){var i=new s(e,r||this,!0),o=n?n+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],i]:this._events[o].push(i):(this._events[o]=i,this._eventsCount++),this},a.prototype.removeListener=function(t,e,r,i){var s=n?n+t:t;if(!this._events[s])return this;if(!e)return 0==--this._eventsCount?this._events=new o:delete this._events[s],this;var a=this._events[s];if(a.fn)a.fn!==e||i&&!a.once||r&&a.context!==r||(0==--this._eventsCount?this._events=new o:delete this._events[s]);else{for(var u=0,l=[],h=a.length;u<h;u++)(a[u].fn!==e||i&&!a[u].once||r&&a[u].context!==r)&&l.push(a[u]);l.length?this._events[s]=1===l.length?l[0]:l:0==--this._eventsCount?this._events=new o:delete this._events[s]}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new o:delete this._events[e])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=n,a.EventEmitter=a,t.exports=a},function(t,e,r){"use strict";var i=r(10).f,n=r(21),o=r(8)("toStringTag");t.exports=function(t,e,r){t&&!n(t=r?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,r){"use strict";var i=r(0),n=r(30),o=r(4),s=r(102),a="["+s+"]",u=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),h=function(t,e,r){var n={},a=o(function(){return!!s[t]()||"​"!="​"[t]()}),u=n[t]=a?e(c):s[t];r&&(n[r]=u),i(i.P+i.F*a,"String",n)},c=h.trim=function(t,e){return t=String(n(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=h},function(t,e,r){"use strict";t.exports={}},function(t,e,r){"use strict";var i=r(6);t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=r(7),o=l(r(13)),s=l(r(55)),a=l(r(218)),u=l(r(135));function l(t){return t&&t.__esModule?t:{default:t}}var h=function(t){function e(r,s,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return u.uid=(0,n.uid)(),u.touched=0,u.resolution=a||o.default.RESOLUTION,u.width=100,u.height=100,u.realWidth=100,u.realHeight=100,u.scaleMode=void 0!==s?s:o.default.SCALE_MODE,u.hasLoaded=!1,u.isLoading=!1,u.source=null,u.origSource=null,u.imageType=null,u.sourceScale=1,u.premultipliedAlpha=!0,u.imageUrl=null,u.isPowerOfTwo=!1,u.mipmap=o.default.MIPMAP_TEXTURES,u.wrapMode=o.default.WRAP_MODE,u._glTextures={},u._enabled=0,u._virtalBoundId=-1,u._destroyed=!1,u.textureCacheIds=[],r&&u.loadSource(r),u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.update=function(){"svg"!==this.imageType&&(this.realWidth=this.source.naturalWidth||this.source.videoWidth||this.source.width,this.realHeight=this.source.naturalHeight||this.source.videoHeight||this.source.height,this._updateDimensions()),this.emit("update",this)},e.prototype._updateDimensions=function(){this.width=this.realWidth/this.resolution,this.height=this.realHeight/this.resolution,this.isPowerOfTwo=u.default.isPow2(this.realWidth)&&u.default.isPow2(this.realHeight)},e.prototype.loadSource=function(t){var e=this.isLoading;this.hasLoaded=!1,this.isLoading=!1,e&&this.source&&(this.source.onload=null,this.source.onerror=null);var r=!this.source;if(this.source=t,(t.src&&t.complete||t.getContext)&&t.width&&t.height)this._updateImageType(),"svg"===this.imageType?this._loadSvgSource():this._sourceLoaded(),r&&this.emit("loaded",this);else if(!t.getContext){this.isLoading=!0;var i=this;if(t.onload=function(){i._updateImageType(),t.onload=null,t.onerror=null,i.isLoading&&(i.isLoading=!1,i._sourceLoaded(),"svg"!==i.imageType?i.emit("loaded",i):i._loadSvgSource())},t.onerror=function(){t.onload=null,t.onerror=null,i.isLoading&&(i.isLoading=!1,i.emit("error",i))},t.complete&&t.src){if(t.onload=null,t.onerror=null,"svg"===i.imageType)return void i._loadSvgSource();this.isLoading=!1,t.width&&t.height?(this._sourceLoaded(),e&&this.emit("loaded",this)):e&&this.emit("error",this)}}},e.prototype._updateImageType=function(){if(this.imageUrl){var t=(0,n.decomposeDataUri)(this.imageUrl),e=void 0;if(t&&"image"===t.mediaType){var r=t.subType.split("+")[0];if(!(e=(0,n.getUrlFileExtension)("."+r)))throw new Error("Invalid image type in data URI.")}else(e=(0,n.getUrlFileExtension)(this.imageUrl))||(e="png");this.imageType=e}},e.prototype._loadSvgSource=function(){if("svg"===this.imageType){var t=(0,n.decomposeDataUri)(this.imageUrl);t?this._loadSvgSourceUsingDataUri(t):this._loadSvgSourceUsingXhr()}},e.prototype._loadSvgSourceUsingDataUri=function(t){var e=void 0;if("base64"===t.encoding){if(!atob)throw new Error("Your browser doesn't support base64 conversions.");e=atob(t.data)}else e=t.data;this._loadSvgSourceUsingString(e)},e.prototype._loadSvgSourceUsingXhr=function(){var t=this,e=new XMLHttpRequest;e.onload=function(){if(e.readyState!==e.DONE||200!==e.status)throw new Error("Failed to load SVG using XHR.");t._loadSvgSourceUsingString(e.response)},e.onerror=function(){return t.emit("error",t)},e.open("GET",this.imageUrl,!0),e.send()},e.prototype._loadSvgSourceUsingString=function(t){var r=(0,n.getSvgSize)(t),i=r.width,o=r.height;if(!i||!o)throw new Error("The SVG image must have width and height defined (in pixels), canvas API needs them.");this.realWidth=Math.round(i*this.sourceScale),this.realHeight=Math.round(o*this.sourceScale),this._updateDimensions();var s=document.createElement("canvas");s.width=this.realWidth,s.height=this.realHeight,s._pixiId="canvas_"+(0,n.uid)(),s.getContext("2d").drawImage(this.source,0,0,i,o,0,0,this.realWidth,this.realHeight),this.origSource=this.source,this.source=s,e.addToCache(this,s._pixiId),this.isLoading=!1,this._sourceLoaded(),this.emit("loaded",this)},e.prototype._sourceLoaded=function(){this.hasLoaded=!0,this.update()},e.prototype.destroy=function(){this.imageUrl&&(delete n.TextureCache[this.imageUrl],this.imageUrl=null,navigator.isCocoonJS||(this.source.src="")),this.source=null,this.dispose(),e.removeFromCache(this),this.textureCacheIds=null,this._destroyed=!0},e.prototype.dispose=function(){this.emit("dispose",this)},e.prototype.updateSourceImage=function(t){this.source.src=t,this.loadSource(this.source)},e.fromImage=function(t,r,i,o){var s=n.BaseTextureCache[t];if(!s){var u=new Image;void 0===r&&0!==t.indexOf("data:")?u.crossOrigin=(0,a.default)(t):r&&(u.crossOrigin="string"==typeof r?r:"anonymous"),(s=new e(u,i)).imageUrl=t,o&&(s.sourceScale=o),s.resolution=(0,n.getResolutionOfUrl)(t),u.src=t,e.addToCache(s,t)}return s},e.fromCanvas=function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"canvas";t._pixiId||(t._pixiId=i+"_"+(0,n.uid)());var o=n.BaseTextureCache[t._pixiId];return o||(o=new e(t,r),e.addToCache(o,t._pixiId)),o},e.from=function(t,r,i){if("string"==typeof t)return e.fromImage(t,void 0,r,i);if(t instanceof HTMLImageElement){var o=t.src,s=n.BaseTextureCache[o];return s||((s=new e(t,r)).imageUrl=o,i&&(s.sourceScale=i),s.resolution=(0,n.getResolutionOfUrl)(o),e.addToCache(s,o)),s}return t instanceof HTMLCanvasElement?e.fromCanvas(t,r):t},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),n.BaseTextureCache[e],n.BaseTextureCache[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=n.BaseTextureCache[t];if(e){var r=e.textureCacheIds.indexOf(t);return r>-1&&e.textureCacheIds.splice(r,1),delete n.BaseTextureCache[t],e}}else if(t&&t.textureCacheIds){for(var i=0;i<t.textureCacheIds.length;++i)delete n.BaseTextureCache[t.textureCacheIds[i]];return t.textureCacheIds.length=0,t}return null},e}(s.default);e.default=h},function(t,e,r){"use strict";var i=r(27);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,r){"use strict";e.f={}.propertyIsEnumerable},function(t,e,r){"use strict";var i=r(27),n=r(8)("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,r,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),n))?r:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=r(7),a=r(215);var u=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return r.children=[],r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.onChildrenChange=function(){},e.prototype.addChild=function(t){var e=arguments.length;if(e>1)for(var r=0;r<e;r++)this.addChild(arguments[r]);else t.parent&&t.parent.removeChild(t),t.parent=this,t.transform._parentID=-1,this.children.push(t),this._boundsID++,this.onChildrenChange(this.children.length-1),t.emit("added",this);return t},e.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,t.transform._parentID=-1,this.children.splice(e,0,t),this._boundsID++,this.onChildrenChange(e),t.emit("added",this),t},e.prototype.swapChildren=function(t,e){if(t!==e){var r=this.getChildIndex(t),i=this.getChildIndex(e);this.children[r]=e,this.children[i]=t,this.onChildrenChange(r<i?r:i)}},e.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},e.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 r=this.getChildIndex(t);(0,s.removeItems)(this.children,r,1),this.children.splice(e,0,t),this.onChildrenChange(e)},e.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Index ("+t+") does not exist.");return this.children[t]},e.prototype.removeChild=function(t){var e=arguments.length;if(e>1)for(var r=0;r<e;r++)this.removeChild(arguments[r]);else{var i=this.children.indexOf(t);if(-1===i)return null;t.parent=null,t.transform._parentID=-1,(0,s.removeItems)(this.children,i,1),this._boundsID++,this.onChildrenChange(i),t.emit("removed",this)}return t},e.prototype.removeChildAt=function(t){var e=this.getChildAt(t);return e.parent=null,e.transform._parentID=-1,(0,s.removeItems)(this.children,t,1),this._boundsID++,this.onChildrenChange(t),e.emit("removed",this),e},e.prototype.removeChildren=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments[1],r=t,i="number"==typeof e?e:this.children.length,n=i-r,o=void 0;if(n>0&&n<=i){o=this.children.splice(r,n);for(var s=0;s<o.length;++s)o[s].parent=null,o[s].transform&&(o[s].transform._parentID=-1);this._boundsID++,this.onChildrenChange(t);for(var a=0;a<o.length;++a)o[a].emit("removed",this);return o}if(0===n&&0===this.children.length)return[];throw new RangeError("removeChildren: numeric values are outside the acceptable range.")},e.prototype.updateTransform=function(){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 r=this.children[t];r.visible&&r.updateTransform()}},e.prototype.calculateBounds=function(){this._bounds.clear(),this._calculateBounds();for(var t=0;t<this.children.length;t++){var e=this.children[t];e.visible&&e.renderable&&(e.calculateBounds(),e._mask?(e._mask.calculateBounds(),this._bounds.addBoundsMask(e._bounds,e._mask._bounds)):e.filterArea?this._bounds.addBoundsArea(e._bounds,e.filterArea):this._bounds.addBounds(e._bounds))}this._lastBoundsID=this._boundsID},e.prototype._calculateBounds=function(){},e.prototype.renderWebGL=function(t){if(this.visible&&!(this.worldAlpha<=0)&&this.renderable)if(this._mask||this._filters)this.renderAdvancedWebGL(t);else{this._renderWebGL(t);for(var e=0,r=this.children.length;e<r;++e)this.children[e].renderWebGL(t)}},e.prototype.renderAdvancedWebGL=function(t){t.flush();var e=this._filters,r=this._mask;if(e){this._enabledFilters||(this._enabledFilters=[]),this._enabledFilters.length=0;for(var i=0;i<e.length;i++)e[i].enabled&&this._enabledFilters.push(e[i]);this._enabledFilters.length&&t.filterManager.pushFilter(this,this._enabledFilters)}r&&t.maskManager.pushMask(this,this._mask),this._renderWebGL(t);for(var n=0,o=this.children.length;n<o;n++)this.children[n].renderWebGL(t);t.flush(),r&&t.maskManager.popMask(this,this._mask),e&&this._enabledFilters&&this._enabledFilters.length&&t.filterManager.popFilter()},e.prototype._renderWebGL=function(t){},e.prototype._renderCanvas=function(t){},e.prototype.renderCanvas=function(t){if(this.visible&&!(this.worldAlpha<=0)&&this.renderable){this._mask&&t.maskManager.pushMask(this._mask),this._renderCanvas(t);for(var e=0,r=this.children.length;e<r;++e)this.children[e].renderCanvas(t);this._mask&&t.maskManager.popMask(t)}},e.prototype.destroy=function(e){t.prototype.destroy.call(this);var r="boolean"==typeof e?e:e&&e.children,i=this.removeChildren(0,this.children.length);if(r)for(var n=0;n<i.length;++n)i[n].destroy(e)},o(e,[{key:"width",get:function(){return this.scale.x*this.getLocalBounds().width},set:function(t){var e=this.getLocalBounds().width;this.scale.x=0!==e?t/e:1,this._width=t}},{key:"height",get:function(){return this.scale.y*this.getLocalBounds().height},set:function(t){var e=this.getLocalBounds().height;this.scale.y=0!==e?t/e:1,this._height=t}}]),e}(((n=a)&&n.__esModule?n:{default:n}).default);e.default=u,u.prototype.containerUpdateTransform=u.prototype.updateTransform},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=c(r(223)),o=c(r(523)),s=c(r(225)),a=c(r(524)),u=r(7),l=r(3),h=c(r(13));function c(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(r,n,s){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,"Canvas",r,n,s));return u.type=l.RENDERER_TYPE.CANVAS,u.rootContext=u.view.getContext("2d",{alpha:u.transparent}),u.context=u.rootContext,u.refresh=!0,u.maskManager=new o.default(u),u.smoothProperty="imageSmoothingEnabled",u.rootContext.imageSmoothingEnabled||(u.rootContext.webkitImageSmoothingEnabled?u.smoothProperty="webkitImageSmoothingEnabled":u.rootContext.mozImageSmoothingEnabled?u.smoothProperty="mozImageSmoothingEnabled":u.rootContext.oImageSmoothingEnabled?u.smoothProperty="oImageSmoothingEnabled":u.rootContext.msImageSmoothingEnabled&&(u.smoothProperty="msImageSmoothingEnabled")),u.initPlugins(),u.blendModes=(0,a.default)(),u._activeBlendMode=null,u.renderingToScreen=!1,u.resize(u.options.width,u.options.height),u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.render=function(t,e,r,i,n){if(this.view){this.renderingToScreen=!e,this.emit("prerender");var o=this.resolution;e?((e=e.baseTexture||e)._canvasRenderTarget||(e._canvasRenderTarget=new s.default(e.width,e.height,e.resolution),e.source=e._canvasRenderTarget.canvas,e.valid=!0),this.context=e._canvasRenderTarget.context,this.resolution=e._canvasRenderTarget.resolution):this.context=this.rootContext;var a=this.context;if(e||(this._lastObjectRendered=t),!n){var u=t.parent,h=this._tempDisplayObjectParent.transform.worldTransform;i?(i.copy(h),this._tempDisplayObjectParent.transform._worldID=-1):h.identity(),t.parent=this._tempDisplayObjectParent,t.updateTransform(),t.parent=u}a.save(),a.setTransform(1,0,0,1,0,0),a.globalAlpha=1,this._activeBlendMode=l.BLEND_MODES.NORMAL,a.globalCompositeOperation=this.blendModes[l.BLEND_MODES.NORMAL],navigator.isCocoonJS&&this.view.screencanvas&&(a.fillStyle="black",a.clear()),(void 0!==r?r:this.clearBeforeRender)&&this.renderingToScreen&&(this.transparent?a.clearRect(0,0,this.width,this.height):(a.fillStyle=this._backgroundColorString,a.fillRect(0,0,this.width,this.height)));var c=this.context;this.context=a,t.renderCanvas(this),this.context=c,a.restore(),this.resolution=o,this.emit("postrender")}},e.prototype.clear=function(t){var e=this.context;t=t||this._backgroundColorString,!this.transparent&&t?(e.fillStyle=t,e.fillRect(0,0,this.width,this.height)):e.clearRect(0,0,this.width,this.height)},e.prototype.setBlendMode=function(t){this._activeBlendMode!==t&&(this._activeBlendMode=t,this.context.globalCompositeOperation=this.blendModes[t])},e.prototype.destroy=function(e){this.destroyPlugins(),t.prototype.destroy.call(this,e),this.context=null,this.refresh=!0,this.maskManager.destroy(),this.maskManager=null,this.smoothProperty=null},e.prototype.resize=function(e,r){t.prototype.resize.call(this,e,r),this.smoothProperty&&(this.rootContext[this.smoothProperty]=h.default.SCALE_MODE===l.SCALE_MODES.LINEAR)},e.prototype.invalidateBlendMode=function(){this._activeBlendMode=this.blendModes.indexOf(this.context.globalCompositeOperation)},e}(n.default);e.default=f,u.pluginTarget.mixin(f)},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e,this.renderer.on("context",this.onContextChange,this)}return t.prototype.onContextChange=function(){},t.prototype.destroy=function(){this.renderer.off("context",this.onContextChange,this),this.renderer=null},t}();e.default=i},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=r(25),s=r(13),a=(n=s)&&n.__esModule?n:{default:n};function u(t,e){if(t instanceof Array){if("precision"!==t[0].substring(0,9)){var r=t.slice(0);return r.unshift("precision "+e+" float;"),r}}else if("precision"!==t.trim().substring(0,9))return"precision "+e+" float;\n"+t;return t}var l=function(t){function e(r,n,o,s,l){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r,u(n,l||a.default.PRECISION_VERTEX),u(o,l||a.default.PRECISION_FRAGMENT),void 0,s))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(o.GLShader);e.default=l},function(t,e,r){"use strict";var i=r(577).Loader,n=r(139).Resource,o=r(250),s=r(251);i.Resource=n,i.async=o,i.encodeBinary=s,i.base64=s,t.exports=i,t.exports.Loader=i,t.exports.default=i},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),a=r(41),u=(n=a)&&n.__esModule?n:{default:n};var l=new s.Point,h=new s.Polygon,c=function(t){function e(r,n,o,a,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var h=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return h._texture=r||u.default.EMPTY,h.uvs=o||new Float32Array([0,0,1,0,1,1,0,1]),h.vertices=n||new Float32Array([0,0,100,0,100,100,0,100]),h.indices=a||new Uint16Array([0,1,3,2]),h.dirty=0,h.indexDirty=0,h.vertexDirty=0,h.autoUpdate=!0,h.blendMode=s.BLEND_MODES.NORMAL,h.canvasPadding=s.settings.MESH_CANVAS_PADDING,h.drawMode=l||e.DRAW_MODES.TRIANGLE_MESH,h.shader=null,h.tintRgb=new Float32Array([1,1,1]),h._glDatas={},h._uvTransform=new s.TextureMatrix(h._texture),h.uploadUvTransform=!1,h.pluginName="mesh",h}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._renderWebGL=function(t){this.refresh(),t.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},e.prototype._renderCanvas=function(t){this.refresh(),t.plugins[this.pluginName].render(this)},e.prototype._onTextureUpdate=function(){this._uvTransform.texture=this._texture,this.refresh()},e.prototype.multiplyUvs=function(){this.uploadUvTransform||this._uvTransform.multiplyUvs(this.uvs)},e.prototype.refresh=function(t){this.autoUpdate&&this.vertexDirty++,this._uvTransform.update(t)&&this._refresh()},e.prototype._refresh=function(){},e.prototype._calculateBounds=function(){this._bounds.addVertices(this.transform,this.vertices,0,this.vertices.length)},e.prototype.containsPoint=function(t){if(!this.getBounds().contains(t.x,t.y))return!1;this.worldTransform.applyInverse(t,l);for(var r=this.vertices,i=h.points,n=this.indices,o=this.indices.length,s=this.drawMode===e.DRAW_MODES.TRIANGLES?3:1,a=0;a+2<o;a+=s){var u=2*n[a],c=2*n[a+1],f=2*n[a+2];if(i[0]=r[u],i[1]=r[u+1],i[2]=r[c],i[3]=r[c+1],i[4]=r[f],i[5]=r[f+1],h.contains(l.x,l.y))return!0}return!1},e.prototype.destroy=function(e){for(var r in this._glDatas){var i=this._glDatas[r];i.destroy?i.destroy():(i.vertexBuffer&&(i.vertexBuffer.destroy(),i.vertexBuffer=null),i.indexBuffer&&(i.indexBuffer.destroy(),i.indexBuffer=null),i.uvBuffer&&(i.uvBuffer.destroy(),i.uvBuffer=null),i.vao&&(i.vao.destroy(),i.vao=null))}this._glDatas=null,t.prototype.destroy.call(this,e)},o(e,[{key:"texture",get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture=t,t&&(t.baseTexture.hasLoaded?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))}},{key:"tint",get:function(){return s.utils.rgb2hex(this.tintRgb)},set:function(t){this.tintRgb=s.utils.hex2rgb(t,this.tintRgb)}}]),e}(s.Container);e.default=c,c.DRAW_MODES={TRIANGLE_MESH:0,TRIANGLES:1}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._gsScope=e.ExpoScaleEase=e.Sine=e.Expo=e.Circ=e.SteppedEase=e.SlowMo=e.RoughEase=e.Bounce=e.Elastic=e.Back=e.Linear=e.Power4=e.Power3=e.Power2=e.Power1=e.Power0=e.Ease=e.TweenPlugin=e.DirectionalRotationPlugin=e.RoundPropsPlugin=e.BezierPlugin=e.AttrPlugin=e.CSSPlugin=e.TimelineMax=e.TimelineLite=e.TweenMax=e.TweenLite=e.default=void 0;var i=r(20),n=p(i),o=p(r(95)),s=p(r(142)),a=p(r(143)),u=p(r(144)),l=p(r(145)),h=p(r(146)),c=p(r(147)),f=p(r(148)),d=r(149);function p(t){return t&&t.__esModule?t:{default:t}}e.default=a.default,e.TweenLite=n.default,e.TweenMax=a.default,e.TimelineLite=o.default,e.TimelineMax=s.default,e.CSSPlugin=u.default,e.AttrPlugin=l.default,e.BezierPlugin=f.default,e.RoundPropsPlugin=h.default,e.DirectionalRotationPlugin=c.default,e.TweenPlugin=i.TweenPlugin,e.Ease=i.Ease,e.Power0=i.Power0,e.Power1=i.Power1,e.Power2=i.Power2,e.Power3=i.Power3,e.Power4=i.Power4,e.Linear=i.Linear,e.Back=d.Back,e.Elastic=d.Elastic,e.Bounce=d.Bounce,e.RoughEase=d.RoughEase,e.SlowMo=d.SlowMo,e.SteppedEase=d.SteppedEase,e.Circ=d.Circ,e.Expo=d.Expo,e.Sine=d.Sine,e.ExpoScaleEase=d.ExpoScaleEase,e._gsScope=i._gsScope},function(t,e,r){"use strict";var i=r(15),n=r(2),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:r(39)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){"use strict";var i=r(22),n=r(11),o=r(46);t.exports=function(t){return function(e,r,s){var a,u=i(e),l=n(u.length),h=o(s,l);if(t&&r!=r){for(;l>h;)if((a=u[h++])!=a)return!0}else for(;l>h;h++)if((t||h in u)&&u[h]===r)return t||h||0;return!t&&-1}}},function(t,e,r){"use strict";e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var i=r(27);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,r){"use strict";var i=r(63),n={};n[r(8)("toStringTag")]="z",n+""!="[object z]"&&r(18)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,r){"use strict";var i=r(107)(!0);r(108)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=i(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){"use strict";var i=r(6),n=r(27),o=r(8)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==n(t))}},function(t,e,r){"use strict";var i=r(8)("iterator"),n=!1;try{var o=[7][i]();o.return=function(){n=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!n)return!1;var r=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:r=!0}},o[i]=function(){return s},t(o)}catch(t){}return r}},function(t,e,r){"use strict";var i=r(1);t.exports=function(){var t=i(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,r){"use strict";var i=r(17),n=r(18),o=r(4),s=r(30),a=r(8);t.exports=function(t,e,r){var u=a(t),l=r(s,u,""[t]),h=l[0],c=l[1];o(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(n(String.prototype,t,h),i(RegExp.prototype,u,2==e?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)}))}},function(t,e,r){"use strict";var i=r(1),n=r(16),o=r(8)("species");t.exports=function(t,e){var r,s=i(t).constructor;return void 0===s||void 0==(r=i(s)[o])?e:n(r)}},function(t,e,r){"use strict";var i=r(2).navigator;t.exports=i&&i.userAgent||""},function(t,e,r){"use strict";var i=r(2),n=r(0),o=r(18),s=r(52),a=r(38),u=r(51),l=r(50),h=r(6),c=r(4),f=r(78),d=r(56),p=r(103);t.exports=function(t,e,r,v,y,m){var g=i[t],_=g,b=y?"set":"add",x=_&&_.prototype,w={},T=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!h(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,r){return e.call(this,0===t?0:t,r),this})};if("function"==typeof _&&(m||x.forEach&&!c(function(){(new _).entries().next()}))){var S=new _,E=S[b](m?{}:-0,1)!=S,P=c(function(){S.has(1)}),O=f(function(t){new _(t)}),M=!m&&c(function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)});O||((_=e(function(e,r){l(e,_,t);var i=p(new g,e,_);return void 0!=r&&u(r,y,i[b],i),i})).prototype=x,x.constructor=_),(P||M)&&(T("delete"),T("has"),y&&T("get")),(M||E)&&T(b),m&&x.clear&&delete x.clear}else _=v.getConstructor(e,t,y,b),s(_.prototype,r),a.NEED=!0;return d(_,t),w[t]=_,n(n.G+n.W+n.F*(_!=g),w),m||v.setStrong(_,t,y),_}},function(t,e,r){"use strict";for(var i,n=r(2),o=r(17),s=r(44),a=s("typed_array"),u=s("view"),l=!(!n.ArrayBuffer||!n.DataView),h=l,c=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(i=n[f[c++]])?(o(i.prototype,a,!0),o(i.prototype,u,!0)):h=!1;t.exports={ABV:l,CONSTR:h,TYPED:a,VIEW:u}},function(t,e,r){"use strict";t.exports=r(39)||!r(4)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete r(2)[t]})},function(t,e,r){"use strict";var i=r(0);t.exports=function(t){i(i.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,r){"use strict";var i=r(0),n=r(16),o=r(26),s=r(51);t.exports=function(t){i(i.S,t,{from:function(t){var e,r,i,a,u=arguments[1];return n(this),(e=void 0!==u)&&n(u),void 0==t?new this:(r=[],e?(i=0,a=o(u,arguments[2],2),s(t,!1,function(t){r.push(a(t,i++))})):s(t,!1,r.push,r),new this(r))}})}},function(t,e,r){"use strict";for(var i=r(117),n=r(45),o=r(18),s=r(2),a=r(17),u=r(58),l=r(8),h=l("iterator"),c=l("toStringTag"),f=u.Array,d={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=n(d),v=0;v<p.length;v++){var y,m=p[v],g=d[m],_=s[m],b=_&&_.prototype;if(b&&(b[h]||a(b,h,f),b[c]||a(b,c,m),u[m]=f,g))for(y in i)b[y]||o(b,y,i[y],!0)}},function(t,e,r){"use strict";function i(){}i.prototype={on:function(t,e,r){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var i=this;function n(){i.off(t,n),e.apply(r,arguments)}return n._=e,this.on(t,n,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),i=0,n=r.length;i<n;i++)r[i].fn.apply(r[i].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),i=r[t],n=[];if(i&&e)for(var o=0,s=i.length;o<s;o++)i[o].fn!==e&&i[o].fn._!==e&&n.push(i[o]);return n.length?r[t]=n:delete r[t],this}},t.exports=i},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(7),o=r(226);var s={getTintedTexture:function(t,e){var r=t._texture,i="#"+("00000"+(0|(e=s.roundColor(e))).toString(16)).substr(-6);r.tintCache=r.tintCache||{};var n=r.tintCache[i],o=void 0;if(n){if(n.tintId===r._updateID)return r.tintCache[i];o=r.tintCache[i]}else o=s.canvas||document.createElement("canvas");if(s.tintMethod(r,e,o),o.tintId=r._updateID,s.convertTintToImage){var a=new Image;a.src=o.toDataURL(),r.tintCache[i]=a}else r.tintCache[i]=o,s.canvas=null;return o},tintWithMultiply:function(t,e,r){var i=r.getContext("2d"),n=t._frame.clone(),o=t.baseTexture.resolution;n.x*=o,n.y*=o,n.width*=o,n.height*=o,r.width=Math.ceil(n.width),r.height=Math.ceil(n.height),i.save(),i.fillStyle="#"+("00000"+(0|e).toString(16)).substr(-6),i.fillRect(0,0,n.width,n.height),i.globalCompositeOperation="multiply",i.drawImage(t.baseTexture.source,n.x,n.y,n.width,n.height,0,0,n.width,n.height),i.globalCompositeOperation="destination-atop",i.drawImage(t.baseTexture.source,n.x,n.y,n.width,n.height,0,0,n.width,n.height),i.restore()},tintWithOverlay:function(t,e,r){var i=r.getContext("2d"),n=t._frame.clone(),o=t.baseTexture.resolution;n.x*=o,n.y*=o,n.width*=o,n.height*=o,r.width=Math.ceil(n.width),r.height=Math.ceil(n.height),i.save(),i.globalCompositeOperation="copy",i.fillStyle="#"+("00000"+(0|e).toString(16)).substr(-6),i.fillRect(0,0,n.width,n.height),i.globalCompositeOperation="destination-atop",i.drawImage(t.baseTexture.source,n.x,n.y,n.width,n.height,0,0,n.width,n.height),i.restore()},tintWithPerPixel:function(t,e,r){var i=r.getContext("2d"),o=t._frame.clone(),s=t.baseTexture.resolution;o.x*=s,o.y*=s,o.width*=s,o.height*=s,r.width=Math.ceil(o.width),r.height=Math.ceil(o.height),i.save(),i.globalCompositeOperation="copy",i.drawImage(t.baseTexture.source,o.x,o.y,o.width,o.height,0,0,o.width,o.height),i.restore();for(var a=(0,n.hex2rgb)(e),u=a[0],l=a[1],h=a[2],c=i.getImageData(0,0,o.width,o.height),f=c.data,d=0;d<f.length;d+=4)f[d+0]*=u,f[d+1]*=l,f[d+2]*=h;i.putImageData(c,0,0)},roundColor:function(t){var e=s.cacheStepsPerColorChannel,r=(0,n.hex2rgb)(t);return r[0]=Math.min(255,r[0]/e*e),r[1]=Math.min(255,r[1]/e*e),r[2]=Math.min(255,r[2]/e*e),(0,n.rgb2hex)(r)},cacheStepsPerColorChannel:8,convertTintToImage:!1,canUseMultiply:(0,((i=o)&&i.__esModule?i:{default:i}).default)(),tintMethod:0};s.tintMethod=s.canUseMultiply?s.tintWithMultiply:s.tintWithPerPixel,e.default=s},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=r(66);var s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,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, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.start=function(){},e.prototype.stop=function(){this.flush()},e.prototype.flush=function(){},e.prototype.render=function(t){},e}(((n=o)&&n.__esModule?n:{default:n}).default);e.default=s},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=_(r(223)),o=_(r(526)),s=_(r(529)),a=_(r(530)),u=_(r(93)),l=_(r(91)),h=_(r(532)),c=_(r(60)),f=_(r(533)),d=_(r(534)),p=_(r(536)),v=_(r(537)),y=r(7),m=_(r(25)),g=r(3);function _(t){return t&&t.__esModule?t:{default:t}}var b=0,x=function(t){function e(r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,"WebGL",r,n,a));return u.legacy=u.options.legacy,u.legacy&&(m.default.VertexArrayObject.FORCE_NATIVE=!0),u.type=g.RENDERER_TYPE.WEBGL,u.handleContextLost=u.handleContextLost.bind(u),u.handleContextRestored=u.handleContextRestored.bind(u),u.view.addEventListener("webglcontextlost",u.handleContextLost,!1),u.view.addEventListener("webglcontextrestored",u.handleContextRestored,!1),u._contextOptions={alpha:u.transparent,antialias:u.options.antialias,premultipliedAlpha:u.transparent&&"notMultiplied"!==u.transparent,stencil:!0,preserveDrawingBuffer:u.options.preserveDrawingBuffer,powerPreference:u.options.powerPreference},u._backgroundColorRgba[3]=u.transparent?0:1,u.maskManager=new o.default(u),u.stencilManager=new s.default(u),u.emptyRenderer=new l.default(u),u.currentRenderer=u.emptyRenderer,u.textureManager=null,u.filterManager=null,u.initPlugins(),u.options.context&&(0,v.default)(u.options.context),u.gl=u.options.context||m.default.createContext(u.view,u._contextOptions),u.CONTEXT_UID=b++,u.state=new d.default(u.gl),u.renderingToScreen=!0,u.boundTextures=null,u._activeShader=null,u._activeVao=null,u._activeRenderTarget=null,u._initContext(),u.drawModes=(0,p.default)(u.gl),u._nextTextureLocation=0,u.setBlendMode(0),u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._initContext=function(){var t=this.gl;t.isContextLost()&&t.getExtension("WEBGL_lose_context")&&t.getExtension("WEBGL_lose_context").restoreContext();var e=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);this._activeShader=null,this._activeVao=null,this.boundTextures=new Array(e),this.emptyTextures=new Array(e),this._unknownBoundTextures=!1,this.textureManager=new h.default(this),this.filterManager=new a.default(this),this.textureGC=new f.default(this),this.state.resetToDefault(),this.rootRenderTarget=new u.default(t,this.width,this.height,null,this.resolution,!0),this.rootRenderTarget.clearColor=this._backgroundColorRgba,this.bindRenderTarget(this.rootRenderTarget);var r=new m.default.GLTexture.fromData(t,null,1,1),i={_glTextures:{}};i._glTextures[this.CONTEXT_UID]={};for(var n=0;n<e;n++){var o=new c.default;o._glTextures[this.CONTEXT_UID]=r,this.boundTextures[n]=i,this.emptyTextures[n]=o,this.bindTexture(null,n)}this.emit("context",t),this.resize(this.screen.width,this.screen.height)},e.prototype.render=function(t,e,r,i,n){if(this.renderingToScreen=!e,this.emit("prerender"),this.gl&&!this.gl.isContextLost()){if(this._nextTextureLocation=0,e||(this._lastObjectRendered=t),!n){var o=t.parent;t.parent=this._tempDisplayObjectParent,t.updateTransform(),t.parent=o}this.bindRenderTexture(e,i),this.currentRenderer.start(),(void 0!==r?r:this.clearBeforeRender)&&this._activeRenderTarget.clear(),t.renderWebGL(this),this.currentRenderer.flush(),this.textureGC.update(),this.emit("postrender")}},e.prototype.setObjectRenderer=function(t){this.currentRenderer!==t&&(this.currentRenderer.stop(),this.currentRenderer=t,this.currentRenderer.start())},e.prototype.flush=function(){this.setObjectRenderer(this.emptyRenderer)},e.prototype.resize=function(t,e){n.default.prototype.resize.call(this,t,e),this.rootRenderTarget.resize(t,e),this._activeRenderTarget===this.rootRenderTarget&&(this.rootRenderTarget.activate(),this._activeShader&&(this._activeShader.uniforms.projectionMatrix=this.rootRenderTarget.projectionMatrix.toArray(!0)))},e.prototype.setBlendMode=function(t){this.state.setBlendMode(t)},e.prototype.clear=function(t){this._activeRenderTarget.clear(t)},e.prototype.setTransform=function(t){this._activeRenderTarget.transform=t},e.prototype.clearRenderTexture=function(t,e){var r=t.baseTexture._glRenderTargets[this.CONTEXT_UID];return r&&r.clear(e),this},e.prototype.bindRenderTexture=function(t,e){var r=void 0;if(t){var i=t.baseTexture;i._glRenderTargets[this.CONTEXT_UID]||this.textureManager.updateTexture(i,0),this.unbindTexture(i),(r=i._glRenderTargets[this.CONTEXT_UID]).setFrame(t.frame)}else r=this.rootRenderTarget;return r.transform=e,this.bindRenderTarget(r),this},e.prototype.bindRenderTarget=function(t){return t!==this._activeRenderTarget&&(this._activeRenderTarget=t,t.activate(),this._activeShader&&(this._activeShader.uniforms.projectionMatrix=t.projectionMatrix.toArray(!0)),this.stencilManager.setMaskStack(t.stencilMaskStack)),this},e.prototype.bindShader=function(t,e){return this._activeShader!==t&&(this._activeShader=t,t.bind(),!1!==e&&(t.uniforms.projectionMatrix=this._activeRenderTarget.projectionMatrix.toArray(!0))),this},e.prototype.bindTexture=function(t,e,r){if((t=(t=t||this.emptyTextures[e]).baseTexture||t).touched=this.textureGC.count,r)e=e||0;else{for(var i=0;i<this.boundTextures.length;i++)if(this.boundTextures[i]===t)return i;void 0===e&&(this._nextTextureLocation++,this._nextTextureLocation%=this.boundTextures.length,e=this.boundTextures.length-this._nextTextureLocation-1)}var n=this.gl,o=t._glTextures[this.CONTEXT_UID];return o?(this.boundTextures[e]=t,n.activeTexture(n.TEXTURE0+e),n.bindTexture(n.TEXTURE_2D,o.texture)):this.textureManager.updateTexture(t,e),e},e.prototype.unbindTexture=function(t){var e=this.gl;if(t=t.baseTexture||t,this._unknownBoundTextures){this._unknownBoundTextures=!1;for(var r=0;r<this.boundTextures.length;r++)this.boundTextures[r]===this.emptyTextures[r]&&(e.activeTexture(e.TEXTURE0+r),e.bindTexture(e.TEXTURE_2D,this.emptyTextures[r]._glTextures[this.CONTEXT_UID].texture))}for(var i=0;i<this.boundTextures.length;i++)this.boundTextures[i]===t&&(this.boundTextures[i]=this.emptyTextures[i],e.activeTexture(e.TEXTURE0+i),e.bindTexture(e.TEXTURE_2D,this.emptyTextures[i]._glTextures[this.CONTEXT_UID].texture));return this},e.prototype.createVao=function(){return new m.default.VertexArrayObject(this.gl,this.state.attribState)},e.prototype.bindVao=function(t){return this._activeVao===t?this:(t?t.bind():this._activeVao&&this._activeVao.unbind(),this._activeVao=t,this)},e.prototype.reset=function(){this.setObjectRenderer(this.emptyRenderer),this.bindVao(null),this._activeShader=null,this._activeRenderTarget=this.rootRenderTarget,this._unknownBoundTextures=!0;for(var t=0;t<this.boundTextures.length;t++)this.boundTextures[t]=this.emptyTextures[t];return this.rootRenderTarget.activate(),this.state.resetToDefault(),this},e.prototype.handleContextLost=function(t){t.preventDefault()},e.prototype.handleContextRestored=function(){this.textureManager.removeAll(),this.filterManager.destroy(!0),this._initContext()},e.prototype.destroy=function(e){this.destroyPlugins(),this.view.removeEventListener("webglcontextlost",this.handleContextLost),this.view.removeEventListener("webglcontextrestored",this.handleContextRestored),this.textureManager.destroy(),t.prototype.destroy.call(this,e),this.uid=0,this.maskManager.destroy(),this.stencilManager.destroy(),this.filterManager.destroy(),this.maskManager=null,this.filterManager=null,this.textureManager=null,this.currentRenderer=null,this.handleContextLost=null,this.handleContextRestored=null,this._contextOptions=null,this.gl.useProgram(null),this.gl.getExtension("WEBGL_lose_context")&&this.gl.getExtension("WEBGL_lose_context").loseContext(),this.gl=null},e}(n.default);e.default=x,y.pluginTarget.mixin(x)},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(14),o=r(3),s=r(13),a=(i=s)&&i.__esModule?i:{default:i},u=r(25);var l=function(){function t(e,r,i,s,l,h){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.gl=e,this.frameBuffer=null,this.texture=null,this.clearColor=[0,0,0,0],this.size=new n.Rectangle(0,0,1,1),this.resolution=l||a.default.RESOLUTION,this.projectionMatrix=new n.Matrix,this.transform=null,this.frame=null,this.defaultFrame=new n.Rectangle,this.destinationFrame=null,this.sourceFrame=null,this.stencilBuffer=null,this.stencilMaskStack=[],this.filterData=null,this.filterPoolKey="",this.scaleMode=void 0!==s?s:a.default.SCALE_MODE,this.root=h||!1,this.root?(this.frameBuffer=new u.GLFramebuffer(e,100,100),this.frameBuffer.framebuffer=null):(this.frameBuffer=u.GLFramebuffer.createRGBA(e,100,100),this.scaleMode===o.SCALE_MODES.NEAREST?this.frameBuffer.texture.enableNearestScaling():this.frameBuffer.texture.enableLinearScaling(),this.texture=this.frameBuffer.texture),this.setFrame(),this.resize(r,i)}return t.prototype.clear=function(t){var e=t||this.clearColor;this.frameBuffer.clear(e[0],e[1],e[2],e[3])},t.prototype.attachStencilBuffer=function(){this.root||this.frameBuffer.enableStencil()},t.prototype.setFrame=function(t,e){this.destinationFrame=t||this.destinationFrame||this.defaultFrame,this.sourceFrame=e||this.sourceFrame||this.destinationFrame},t.prototype.activate=function(){var t=this.gl;this.frameBuffer.bind(),this.calculateProjection(this.destinationFrame,this.sourceFrame),this.transform&&this.projectionMatrix.append(this.transform),this.destinationFrame!==this.sourceFrame?(t.enable(t.SCISSOR_TEST),t.scissor(0|this.destinationFrame.x,0|this.destinationFrame.y,this.destinationFrame.width*this.resolution|0,this.destinationFrame.height*this.resolution|0)):t.disable(t.SCISSOR_TEST),t.viewport(0|this.destinationFrame.x,0|this.destinationFrame.y,this.destinationFrame.width*this.resolution|0,this.destinationFrame.height*this.resolution|0)},t.prototype.calculateProjection=function(t,e){var r=this.projectionMatrix;e=e||t,r.identity(),this.root?(r.a=1/t.width*2,r.d=-1/t.height*2,r.tx=-1-e.x*r.a,r.ty=1-e.y*r.d):(r.a=1/t.width*2,r.d=1/t.height*2,r.tx=-1-e.x*r.a,r.ty=-1-e.y*r.d)},t.prototype.resize=function(t,e){if(t|=0,e|=0,this.size.width!==t||this.size.height!==e){this.size.width=t,this.size.height=e,this.defaultFrame.width=t,this.defaultFrame.height=e,this.frameBuffer.resize(t*this.resolution,e*this.resolution);var r=this.frame||this.size;this.calculateProjection(r)}},t.prototype.destroy=function(){this.frameBuffer.stencil&&this.gl.deleteRenderbuffer(this.frameBuffer.stencil),this.frameBuffer.destroy(),this.frameBuffer=null,this.texture=null},t}();e.default=l},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e,r){t.nativeLines?function(t,e){var r=0,i=t.points;if(0===i.length)return;var o=e.points,s=i.length/2,a=(0,n.hex2rgb)(t.lineColor),u=t.lineAlpha,l=a[0]*u,h=a[1]*u,c=a[2]*u;for(r=1;r<s;r++){var f=i[2*(r-1)],d=i[2*(r-1)+1],p=i[2*r],v=i[2*r+1];o.push(f,d),o.push(l,h,c,u),o.push(p,v),o.push(l,h,c,u)}}(t,r):function(t,e){var r=t.points;if(0===r.length)return;var o=new i.Point(r[0],r[1]),s=new i.Point(r[r.length-2],r[r.length-1]);if(o.x===s.x&&o.y===s.y){(r=r.slice()).pop(),r.pop();var a=(s=new i.Point(r[r.length-2],r[r.length-1])).x+.5*(o.x-s.x),u=s.y+.5*(o.y-s.y);r.unshift(a,u),r.push(a,u)}var l=e.points,h=e.indices,c=r.length/2,f=r.length,d=l.length/6,p=t.lineWidth/2,v=(0,n.hex2rgb)(t.lineColor),y=t.lineAlpha,m=v[0]*y,g=v[1]*y,_=v[2]*y,b=r[0],x=r[1],w=r[2],T=r[3],S=0,E=0,P=-(x-T),O=b-w,M=0,A=0,C=0,R=0,D=Math.sqrt(P*P+O*O);P/=D,O/=D,P*=p,O*=p;var I=t.lineAlignment,k=2*(1-I),L=2*I;l.push(b-P*k,x-O*k,m,g,_,y),l.push(b+P*L,x+O*L,m,g,_,y);for(var F=1;F<c-1;++F){b=r[2*(F-1)],x=r[2*(F-1)+1],w=r[2*F],T=r[2*F+1],S=r[2*(F+1)],E=r[2*(F+1)+1],P=-(x-T),O=b-w,D=Math.sqrt(P*P+O*O),P/=D,O/=D,P*=p,O*=p,M=-(T-E),A=w-S,D=Math.sqrt(M*M+A*A),M/=D,A/=D;var N=-O+x-(-O+T),j=-P+w-(-P+b),B=(-P+b)*(-O+T)-(-P+w)*(-O+x),U=-(A*=p)+E-(-A+T),X=-(M*=p)+w-(-M+S),W=(-M+S)*(-A+T)-(-M+w)*(-A+E),H=N*X-U*j;if(Math.abs(H)<.1)H+=10.1,l.push(w-P*k,T-O*k,m,g,_,y),l.push(w+P*L,T+O*L,m,g,_,y);else{var z=(j*W-X*B)/H,G=(U*B-N*W)/H,Y=(z-w)*(z-w)+(G-T)*(G-T);Y>196*p*p?(C=P-M,R=O-A,D=Math.sqrt(C*C+R*R),C/=D,R/=D,C*=p,R*=p,l.push(w-C*k,T-R*k),l.push(m,g,_,y),l.push(w+C*L,T+R*L),l.push(m,g,_,y),l.push(w-C*L*k,T-R*k),l.push(m,g,_,y),f++):(l.push(w+(z-w)*k,T+(G-T)*k),l.push(m,g,_,y),l.push(w-(z-w)*L,T-(G-T)*L),l.push(m,g,_,y))}}b=r[2*(c-2)],x=r[2*(c-2)+1],w=r[2*(c-1)],T=r[2*(c-1)+1],P=-(x-T),O=b-w,D=Math.sqrt(P*P+O*O),P/=D,O/=D,P*=p,O*=p,l.push(w-P*k,T-O*k),l.push(m,g,_,y),l.push(w+P*L,T+O*L),l.push(m,g,_,y),h.push(d);for(var V=0;V<f;++V)h.push(d++);h.push(d-1)}(t,e)};var i=r(14),n=r(7)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TimelineLite=void 0;var i,n=r(20),o=(i=n)&&i.__esModule?i:{default:i};n._gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){n.SimpleTimeline.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,r,i=this.vars;for(r in i)e=i[r],s(e)&&-1!==e.join("").indexOf("{self}")&&(i[r]=this._swapSelfInParams(e));s(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},e=o.default._internals,r=t._internals={},i=e.isSelector,s=e.isArray,a=e.lazyTweens,u=e.lazyRender,l=n._gsScope._gsDefine.globals,h=function(t){var e,r={};for(e in t)r[e]=t[e];return r},c=function(t,e,r){var i,n,o=t.cycle;for(i in o)n=o[i],t[i]="function"==typeof n?n(r,e[r]):n[r%n.length];delete t.cycle},f=r.pauseCallback=function(){},d=function(t){var e,r=[],i=t.length;for(e=0;e!==i;r.push(t[e++]));return r},p=t.prototype=new n.SimpleTimeline;return t.version="2.0.2",p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,r,i){var n=r.repeat&&l.TweenMax||o.default;return e?this.add(new n(t,e,r),i):this.set(t,r,i)},p.from=function(t,e,r,i){return this.add((r.repeat&&l.TweenMax||o.default).from(t,e,r),i)},p.fromTo=function(t,e,r,i,n){var s=i.repeat&&l.TweenMax||o.default;return e?this.add(s.fromTo(t,e,r,i),n):this.set(t,i,n)},p.staggerTo=function(e,r,n,s,a,u,l,f){var p,v,y=new t({onComplete:u,onCompleteParams:l,callbackScope:f,smoothChildTiming:this.smoothChildTiming}),m=n.cycle;for("string"==typeof e&&(e=o.default.selector(e)||e),i(e=e||[])&&(e=d(e)),(s=s||0)<0&&((e=d(e)).reverse(),s*=-1),v=0;v<e.length;v++)(p=h(n)).startAt&&(p.startAt=h(p.startAt),p.startAt.cycle&&c(p.startAt,e,v)),m&&(c(p,e,v),null!=p.duration&&(r=p.duration,delete p.duration)),y.to(e[v],r,p,v*s);return this.add(y,a)},p.staggerFrom=function(t,e,r,i,n,o,s,a){return r.immediateRender=0!=r.immediateRender,r.runBackwards=!0,this.staggerTo(t,e,r,i,n,o,s,a)},p.staggerFromTo=function(t,e,r,i,n,o,s,a,u){return i.startAt=r,i.immediateRender=0!=i.immediateRender&&0!=r.immediateRender,this.staggerTo(t,e,i,n,o,s,a,u)},p.call=function(t,e,r,i){return this.add(o.default.delayedCall(0,t,e,r),i)},p.set=function(t,e,r){return r=this._parseTimeOrLabel(r,0,!0),null==e.immediateRender&&(e.immediateRender=r===this._time&&!this._paused),this.add(new o.default(t,0,e),r)},t.exportRoot=function(e,r){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var i,n,s,a,u=new t(e),l=u._timeline;for(null==r&&(r=!0),l._remove(u,!0),u._startTime=0,u._rawPrevTime=u._time=u._totalTime=l._time,s=l._first;s;)a=s._next,r&&s instanceof o.default&&s.target===s.vars.onComplete||((n=s._startTime-s._delay)<0&&(i=1),u.add(s,n)),s=a;return l.add(u,0),i&&u.totalDuration(),u},p.add=function(e,r,i,a){var u,l,h,c,f,d;if("number"!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,e)),!(e instanceof n.Animation)){if(e instanceof Array||e&&e.push&&s(e)){for(i=i||"normal",a=a||0,u=r,l=e.length,h=0;h<l;h++)s(c=e[h])&&(c=new t({tweens:c})),this.add(c,u),"string"!=typeof c&&"function"!=typeof c&&("sequence"===i?u=c._startTime+c.totalDuration()/c._timeScale:"start"===i&&(c._startTime-=c.delay())),u+=a;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,r);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=o.default.delayedCall(0,e)}if(n.SimpleTimeline.prototype.add.call(this,e,r),e._time&&(u=Math.max(0,Math.min(e.totalDuration(),(this.rawTime()-e._startTime)*e._timeScale)),Math.abs(u-e._totalTime)>1e-5&&e.render(u,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(d=(f=this).rawTime()>e._startTime;f._timeline;)d&&f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._gc&&f._enabled(!0,!1),f=f._timeline;return this},p.remove=function(t){if(t instanceof n.Animation){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?n.Animation._rootFramesTimeline:n.Animation._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&&s(t)){for(var r=t.length;--r>-1;)this.remove(t[r]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},p._remove=function(t,e){return n.SimpleTimeline.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},p.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},p.insert=p.insertMultiple=function(t,e,r,i){return this.add(t,e||0,r,i)},p.appendMultiple=function(t,e,r,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),r,i)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,r,i){var n=o.default.delayedCall(0,f,r,i||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},p.removeLabel=function(t){return delete this._labels[t],this},p.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},p._parseTimeOrLabel=function(t,e,r,i){var o,a;if(i instanceof n.Animation&&i.timeline===this)this.remove(i);else if(i&&(i instanceof Array||i.push&&s(i)))for(a=i.length;--a>-1;)i[a]instanceof n.Animation&&i[a].timeline===this&&this.remove(i[a]);if(o="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,r&&"number"==typeof t&&null==this._labels[e]?t-o:0,r);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=o);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?r?this._labels[t]=o+e:e:this._labels[t]+e;e=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,r):o}return Number(t)+e},p.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},p.stop=function(){return this.paused(!0)},p.gotoAndPlay=function(t,e){return this.play(t,e)},p.gotoAndStop=function(t,e){return this.pause(t,e)},p.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var i,n,o,s,l,h,c,f=this._time,d=this._dirty?this.totalDuration():this._totalDuration,p=this._startTime,v=this._timeScale,y=this._paused;if(f!==this._time&&(t+=this._time-f),t>=d-1e-7&&t>=0)this._totalTime=this._time=d,this._reversed||this._hasPausedChild()||(n=!0,s="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>1e-10&&(s="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=d+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&1e-10!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(s="onReverseComplete",n=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=n=!0,s="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&n)for(i=this._first;i&&0===i._startTime;)i._duration||(n=!1),i=i._next;t=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(i=this._first;i&&i._startTime<=t&&!h;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(h=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!h;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(h=i),i=i._prev;h&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||r||l||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(c=this._time)>=f)for(i=this._first;i&&(o=i._next,c===this._time&&(!this._paused||y));)(i._active||i._startTime<=c&&!i._paused&&!i._gc)&&(h===i&&this.pause(),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)),i=o;else for(i=this._last;i&&(o=i._prev,c===this._time&&(!this._paused||y));){if(i._active||i._startTime<=f&&!i._paused&&!i._gc){if(h===i){for(h=i._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,r),h=h._prev;h=null,this.pause()}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)}i=o}this._onUpdate&&(e||(a.length&&u(),this._callback("onUpdate"))),s&&(this._gc||p!==this._startTime&&v===this._timeScale||(0===this._time||d>=this.totalDuration())&&(n&&(a.length&&u(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s)))}},p._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},p.getChildren=function(t,e,r,i){i=i||-9999999999;for(var n=[],s=this._first,a=0;s;)s._startTime<i||(s instanceof o.default?!1!==e&&(n[a++]=s):(!1!==r&&(n[a++]=s),!1!==t&&(a=(n=n.concat(s.getChildren(!0,e,r))).length))),s=s._next;return n},p.getTweensOf=function(t,e){var r,i,n=this._gc,s=[],a=0;for(n&&this._enabled(!0,!0),i=(r=o.default.getTweensOf(t)).length;--i>-1;)(r[i].timeline===this||e&&this._contains(r[i]))&&(s[a++]=r[i]);return n&&this._enabled(!1,!0),s},p.recent=function(){return this._recent},p._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},p.shiftChildren=function(t,e,r){r=r||0;for(var i,n=this._first,o=this._labels;n;)n._startTime>=r&&(n._startTime+=t),n=n._next;if(e)for(i in o)o[i]>=r&&(o[i]+=t);return this._uncache(!0)},p._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var r=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=r.length,n=!1;--i>-1;)r[i]._kill(t,e)&&(n=!0);return n},p.clear=function(t){var e=this.getChildren(!1,!0,!0),r=e.length;for(this._time=this._totalTime=0;--r>-1;)e[r]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},p.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return n.Animation.prototype.invalidate.call(this)},p._enabled=function(t,e){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return n.SimpleTimeline.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,r){this._forcingPlayhead=!0;var i=n.Animation.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,i},p.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},p.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,r,i=0,n=this._last,o=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>o&&this._sortChildren&&!n._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(n,n._startTime-n._delay),this._calculatingDuration=0):o=n._startTime,n._startTime<0&&!n._paused&&(i-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale,this._time-=n._startTime,this._totalTime-=n._startTime,this._rawPrevTime-=n._startTime),this.shiftChildren(-n._startTime,!1,-9999999999),o=0),(r=n._startTime+n._totalDuration/n._timeScale)>i&&(i=r),n=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},p.paused=function(t){if(!t)for(var e=this._first,r=this._time;e;)e._startTime===r&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return n.Animation.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===n.Animation._rootFramesTimeline},p.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t},!0);var s=e.TimelineLite=n.globals.TimelineLite;e.default=s},function(t,e,r){"use strict";var i=r(6),n=r(2).document,o=i(n)&&i(n.createElement);t.exports=function(t){return o?n.createElement(t):{}}},function(t,e,r){"use strict";var i=r(2),n=r(15),o=r(39),s=r(151),a=r(10).f;t.exports=function(t){var e=n.Symbol||(n.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,r){"use strict";var i=r(71)("keys"),n=r(44);t.exports=function(t){return i[t]||(i[t]=n(t))}},function(t,e,r){"use strict";t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,r){"use strict";var i=r(2).document;t.exports=i&&i.documentElement},function(t,e,r){"use strict";var i=r(6),n=r(1),o=function(t,e){if(n(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{(i=r(26)(Function.call,r(23).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return o(t,r),e?t.__proto__=r:i(t,r),t}}({},!1):void 0),check:o}},function(t,e,r){"use strict";t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,e,r){"use strict";var i=r(6),n=r(101).set;t.exports=function(t,e,r){var o,s=e.constructor;return s!==r&&"function"==typeof s&&(o=s.prototype)!==r.prototype&&i(o)&&n&&n(t,o),t}},function(t,e,r){"use strict";var i=r(31),n=r(30);t.exports=function(t){var e=String(n(this)),r="",o=i(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(r+=e);return r}},function(t,e,r){"use strict";t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,r){"use strict";var i=Math.expm1;t.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:i},function(t,e,r){"use strict";var i=r(31),n=r(30);t.exports=function(t){return function(e,r){var o,s,a=String(n(e)),u=i(r),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u))<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536}}},function(t,e,r){"use strict";var i=r(39),n=r(0),o=r(18),s=r(17),a=r(58),u=r(109),l=r(56),h=r(24),c=r(8)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,p,v,y,m){u(r,e,p);var g,_,b,x=function(t){if(!f&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=e+" Iterator",T="values"==v,S=!1,E=t.prototype,P=E[c]||E["@@iterator"]||v&&E[v],O=P||x(v),M=v?T?x("entries"):O:void 0,A="Array"==e&&E.entries||P;if(A&&(b=h(A.call(new t)))!==Object.prototype&&b.next&&(l(b,w,!0),i||"function"==typeof b[c]||s(b,c,d)),T&&P&&"values"!==P.name&&(S=!0,O=function(){return P.call(this)}),i&&!m||!f&&!S&&E[c]||s(E,c,O),a[e]=O,a[w]=d,v)if(g={values:T?O:x("values"),keys:y?O:x("keys"),entries:M},m)for(_ in g)_ in E||o(E,_,g[_]);else n(n.P+n.F*(f||S),e,g);return g}},function(t,e,r){"use strict";var i=r(47),n=r(43),o=r(56),s={};r(17)(s,r(8)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=i(s,{next:n(1,r)}),o(t,e+" Iterator")}},function(t,e,r){"use strict";var i=r(77),n=r(30);t.exports=function(t,e,r){if(i(e))throw TypeError("String#"+r+" doesn't accept regex!");return String(n(t))}},function(t,e,r){"use strict";var i=r(8)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,r){"use strict";var i=r(58),n=r(8)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[n]===t)}},function(t,e,r){"use strict";var i=r(10),n=r(43);t.exports=function(t,e,r){e in t?i.f(t,e,n(0,r)):t[e]=r}},function(t,e,r){"use strict";var i=r(63),n=r(8)("iterator"),o=r(58);t.exports=r(15).getIteratorMethod=function(t){if(void 0!=t)return t[n]||t["@@iterator"]||o[i(t)]}},function(t,e,r){"use strict";var i=r(346);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,r){"use strict";var i=r(12),n=r(46),o=r(11);t.exports=function(t){for(var e=i(this),r=o(e.length),s=arguments.length,a=n(s>1?arguments[1]:void 0,r),u=s>2?arguments[2]:void 0,l=void 0===u?r:n(u,r);l>a;)e[a++]=t;return e}},function(t,e,r){"use strict";var i=r(40),n=r(169),o=r(58),s=r(22);t.exports=r(108)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,n(1)):n(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,r){"use strict";var i,n,o,s=r(26),a=r(158),u=r(100),l=r(96),h=r(2),c=h.process,f=h.setImmediate,d=h.clearImmediate,p=h.MessageChannel,v=h.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){g.call(t.data)};f&&d||(f=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return m[++y]=function(){a("function"==typeof t?t:Function(t),e)},i(y),y},d=function(t){delete m[t]},"process"==r(27)(c)?i=function(t){c.nextTick(s(g,t,1))}:v&&v.now?i=function(t){v.now(s(g,t,1))}:p?(o=(n=new p).port2,n.port1.onmessage=_,i=s(o.postMessage,o,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(i=function(t){h.postMessage(t+"","*")},h.addEventListener("message",_,!1)):i="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(s(g,t,1),0)}),t.exports={set:f,clear:d}},function(t,e,r){"use strict";var i=r(2),n=r(118).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,u="process"==r(27)(s);t.exports=function(){var t,e,r,l=function(){var i,n;for(u&&(i=s.domain)&&i.exit();t;){n=t.fn,t=t.next;try{n()}catch(i){throw t?r():e=void 0,i}}e=void 0,i&&i.enter()};if(u)r=function(){s.nextTick(l)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var h=a.resolve(void 0);r=function(){h.then(l)}}else r=function(){n.call(i,l)};else{var c=!0,f=document.createTextNode("");new o(l).observe(f,{characterData:!0}),r=function(){f.data=c=!c}}return function(i){var n={fn:i,next:void 0};e&&(e.next=n),t||(t=n,r()),e=n}}},function(t,e,r){"use strict";var i=r(16);t.exports.f=function(t){return new function(t){var e,r;this.promise=new t(function(t,i){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=i}),this.resolve=i(e),this.reject=i(r)}(t)}},function(t,e,r){"use strict";var i=r(173),n=r(59);t.exports=r(83)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=i.getEntry(n(this,"Map"),t);return e&&e.v},set:function(t,e){return i.def(n(this,"Map"),0===t?0:t,e)}},i,!0)},function(t,e,r){"use strict";var i=r(173),n=r(59);t.exports=r(83)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(n(this,"Set"),t=0===t?0:t,t)}},i)},function(t,e,r){"use strict";var i,n=r(33)(0),o=r(18),s=r(38),a=r(156),u=r(174),l=r(6),h=r(4),c=r(59),f=s.getWeak,d=Object.isExtensible,p=u.ufstore,v={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(l(t)){var e=f(t);return!0===e?p(c(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(c(this,"WeakMap"),t,e)}},g=t.exports=r(83)("WeakMap",y,m,u,!0,!0);h(function(){return 7!=(new g).set((Object.freeze||Object)(v),7).get(v)})&&(a((i=u.getConstructor(y,"WeakMap")).prototype,m),s.NEED=!0,n(["delete","has","get","set"],function(t){var e=g.prototype,r=e[t];o(e,t,function(e,n){if(l(e)&&!d(e)){this._f||(this._f=new i);var o=this._f[t](e,n);return"set"==t?this:o}return r.call(this,e,n)})}))},function(t,e,r){"use strict";var i=r(2),n=r(9),o=r(39),s=r(84),a=r(17),u=r(52),l=r(4),h=r(50),c=r(31),f=r(11),d=r(175),p=r(48).f,v=r(10).f,y=r(116),m=r(56),g="prototype",_="Wrong index!",b=i.ArrayBuffer,x=i.DataView,w=i.Math,T=i.RangeError,S=i.Infinity,E=b,P=w.abs,O=w.pow,M=w.floor,A=w.log,C=w.LN2,R=n?"_b":"buffer",D=n?"_l":"byteLength",I=n?"_o":"byteOffset";function k(t,e,r){var i,n,o,s=new Array(r),a=8*r-e-1,u=(1<<a)-1,l=u>>1,h=23===e?O(2,-24)-O(2,-77):0,c=0,f=t<0||0===t&&1/t<0?1:0;for((t=P(t))!=t||t===S?(n=t!=t?1:0,i=u):(i=M(A(t)/C),t*(o=O(2,-i))<1&&(i--,o*=2),(t+=i+l>=1?h/o:h*O(2,1-l))*o>=2&&(i++,o/=2),i+l>=u?(n=0,i=u):i+l>=1?(n=(t*o-1)*O(2,e),i+=l):(n=t*O(2,l-1)*O(2,e),i=0));e>=8;s[c++]=255&n,n/=256,e-=8);for(i=i<<e|n,a+=e;a>0;s[c++]=255&i,i/=256,a-=8);return s[--c]|=128*f,s}function L(t,e,r){var i,n=8*r-e-1,o=(1<<n)-1,s=o>>1,a=n-7,u=r-1,l=t[u--],h=127&l;for(l>>=7;a>0;h=256*h+t[u],u--,a-=8);for(i=h&(1<<-a)-1,h>>=-a,a+=e;a>0;i=256*i+t[u],u--,a-=8);if(0===h)h=1-s;else{if(h===o)return i?NaN:l?-S:S;i+=O(2,e),h-=s}return(l?-1:1)*i*O(2,h-e)}function F(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function j(t){return[255&t,t>>8&255]}function B(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function U(t){return k(t,52,8)}function X(t){return k(t,23,4)}function W(t,e,r){v(t[g],e,{get:function(){return this[r]}})}function H(t,e,r,i){var n=d(+r);if(n+e>t[D])throw T(_);var o=t[R]._b,s=n+t[I],a=o.slice(s,s+e);return i?a:a.reverse()}function z(t,e,r,i,n,o){var s=d(+r);if(s+e>t[D])throw T(_);for(var a=t[R]._b,u=s+t[I],l=i(+n),h=0;h<e;h++)a[u+h]=l[o?h:e-h-1]}if(s.ABV){if(!l(function(){b(1)})||!l(function(){new b(-1)})||l(function(){return new b,new b(1.5),new b(NaN),"ArrayBuffer"!=b.name})){for(var G,Y=(b=function(t){return h(this,b),new E(d(t))})[g]=E[g],V=p(E),q=0;V.length>q;)(G=V[q++])in b||a(b,G,E[G]);o||(Y.constructor=b)}var Q=new x(new b(2)),Z=x[g].setInt8;Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||u(x[g],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else b=function(t){h(this,b,"ArrayBuffer");var e=d(t);this._b=y.call(new Array(e),0),this[D]=e},x=function(t,e,r){h(this,x,"DataView"),h(t,b,"DataView");var i=t[D],n=c(e);if(n<0||n>i)throw T("Wrong offset!");if(n+(r=void 0===r?i-n:f(r))>i)throw T("Wrong length!");this[R]=t,this[I]=n,this[D]=r},n&&(W(b,"byteLength","_l"),W(x,"buffer","_b"),W(x,"byteLength","_l"),W(x,"byteOffset","_o")),u(x[g],{getInt8:function(t){return H(this,1,t)[0]<<24>>24},getUint8:function(t){return H(this,1,t)[0]},getInt16:function(t){var e=H(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=H(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return F(H(this,4,t,arguments[1]))},getUint32:function(t){return F(H(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return L(H(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return L(H(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){z(this,1,t,N,e)},setUint8:function(t,e){z(this,1,t,N,e)},setInt16:function(t,e){z(this,2,t,j,e,arguments[2])},setUint16:function(t,e){z(this,2,t,j,e,arguments[2])},setInt32:function(t,e){z(this,4,t,B,e,arguments[2])},setUint32:function(t,e){z(this,4,t,B,e,arguments[2])},setFloat32:function(t,e){z(this,4,t,X,e,arguments[2])},setFloat64:function(t,e){z(this,8,t,U,e,arguments[2])}});m(b,"ArrayBuffer"),m(x,"DataView"),a(x[g],s.VIEW,!0),e.ArrayBuffer=b,e.DataView=x},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(464);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var n=r(465);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(466);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=e,this.y=r}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copy=function(t){this.set(t.x,t.y)},t.prototype.equals=function(t){return t.x===this.x&&t.y===this.y},t.prototype.set=function(t,e){this.x=t||0,this.y=e||(0!==e?this.x:0)},t}();e.default=i},function(t,e,r){"use strict";e.__esModule=!0;var i,n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(126),s=(i=o)&&i.__esModule?i:{default:i},a=r(3);var u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.a=e,this.b=r,this.c=i,this.d=n,this.tx=o,this.ty=s,this.array=null}return t.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]},t.prototype.set=function(t,e,r,i,n,o){return this.a=t,this.b=e,this.c=r,this.d=i,this.tx=n,this.ty=o,this},t.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var r=e||this.array;return t?(r[0]=this.a,r[1]=this.b,r[2]=0,r[3]=this.c,r[4]=this.d,r[5]=0,r[6]=this.tx,r[7]=this.ty,r[8]=1):(r[0]=this.a,r[1]=this.c,r[2]=this.tx,r[3]=this.b,r[4]=this.d,r[5]=this.ty,r[6]=0,r[7]=0,r[8]=1),r},t.prototype.apply=function(t,e){e=e||new s.default;var r=t.x,i=t.y;return e.x=this.a*r+this.c*i+this.tx,e.y=this.b*r+this.d*i+this.ty,e},t.prototype.applyInverse=function(t,e){e=e||new s.default;var r=1/(this.a*this.d+this.c*-this.b),i=t.x,n=t.y;return e.x=this.d*r*i+-this.c*r*n+(this.ty*this.c-this.tx*this.d)*r,e.y=this.a*r*n+-this.b*r*i+(-this.ty*this.a+this.tx*this.b)*r,e},t.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},t.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},t.prototype.rotate=function(t){var e=Math.cos(t),r=Math.sin(t),i=this.a,n=this.c,o=this.tx;return this.a=i*e-this.b*r,this.b=i*r+this.b*e,this.c=n*e-this.d*r,this.d=n*r+this.d*e,this.tx=o*e-this.ty*r,this.ty=o*r+this.ty*e,this},t.prototype.append=function(t){var e=this.a,r=this.b,i=this.c,n=this.d;return this.a=t.a*e+t.b*i,this.b=t.a*r+t.b*n,this.c=t.c*e+t.d*i,this.d=t.c*r+t.d*n,this.tx=t.tx*e+t.ty*i+this.tx,this.ty=t.tx*r+t.ty*n+this.ty,this},t.prototype.setTransform=function(t,e,r,i,n,o,s,a,u){return this.a=Math.cos(s+u)*n,this.b=Math.sin(s+u)*n,this.c=-Math.sin(s-a)*o,this.d=Math.cos(s-a)*o,this.tx=t-(r*this.a+i*this.c),this.ty=e-(r*this.b+i*this.d),this},t.prototype.prepend=function(t){var e=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var r=this.a,i=this.c;this.a=r*t.a+this.b*t.c,this.b=r*t.b+this.b*t.d,this.c=i*t.a+this.d*t.c,this.d=i*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},t.prototype.decompose=function(t){var e=this.a,r=this.b,i=this.c,n=this.d,o=-Math.atan2(-i,n),s=Math.atan2(r,e),u=Math.abs(o+s);return u<1e-5||Math.abs(a.PI_2-u)<1e-5?(t.rotation=s,e<0&&n>=0&&(t.rotation+=t.rotation<=0?Math.PI:-Math.PI),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+r*r),t.scale.y=Math.sqrt(i*i+n*n),t.position.x=this.tx,t.position.y=this.ty,t},t.prototype.invert=function(){var t=this.a,e=this.b,r=this.c,i=this.d,n=this.tx,o=t*i-e*r;return this.a=i/o,this.b=-e/o,this.c=-r/o,this.d=t/o,this.tx=(r*this.ty-i*n)/o,this.ty=-(t*this.ty-e*n)/o,this},t.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},t.prototype.clone=function(){var e=new t;return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e},t.prototype.copy=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},n(t,null,[{key:"IDENTITY",get:function(){return new t}},{key:"TEMP_MATRIX",get:function(){return new t}}]),t}();e.default=u},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=r(3);var o=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=Number(e),this.y=Number(r),this.width=Number(i),this.height=Number(o),this.type=n.SHAPES.RECT}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},t.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)},t.prototype.pad=function(t,e){t=t||0,e=e||(0!==e?t:0),this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e},t.prototype.fit=function(t){var e=Math.max(this.x,t.x),r=Math.min(this.x+this.width,t.x+t.width),i=Math.max(this.y,t.y),n=Math.min(this.y+this.height,t.y+t.height);this.x=e,this.width=Math.max(r-e,0),this.y=i,this.height=Math.max(n-i,0)},t.prototype.enlarge=function(t){var e=Math.min(this.x,t.x),r=Math.max(this.x+this.width,t.x+t.width),i=Math.min(this.y,t.y),n=Math.max(this.y+this.height,t.y+t.height);this.x=e,this.width=r-e,this.y=i,this.height=n-i},t.prototype.ceil=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.001,r=Math.ceil((this.x+this.width-e)*t)/t,i=Math.ceil((this.y+this.height-e)*t)/t;this.x=Math.floor((this.x+e)*t)/t,this.y=Math.floor((this.y+e)*t)/t,this.width=r-this.x,this.height=i-this.y},i(t,[{key:"left",get:function(){return this.x}},{key:"right",get:function(){return this.x+this.width}},{key:"top",get:function(){return this.y}},{key:"bottom",get:function(){return this.y+this.height}}],[{key:"EMPTY",get:function(){return new t(0,0,0,0)}}]),t}();e.default=o},function(t,e,r){"use strict";var i=null,n={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"};t.exports=function(t,e){if(!i){var r=Object.keys(n);i={};for(var o=0;o<r.length;++o){var s=r[o];i[t[s]]=n[s]}}return i[e]}},function(t,e,r){"use strict";e.__esModule=!0;var i=r(14);var n=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null}return t.prototype.isEmpty=function(){return this.minX>this.maxX||this.minY>this.maxY},t.prototype.clear=function(){this.updateID++,this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},t.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?i.Rectangle.EMPTY:((t=t||new i.Rectangle(0,0,1,1)).x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},t.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)},t.prototype.addQuad=function(t){var e=this.minX,r=this.minY,i=this.maxX,n=this.maxY,o=t[0],s=t[1];e=o<e?o:e,r=s<r?s:r,i=o>i?o:i,n=s>n?s:n,o=t[2],s=t[3],e=o<e?o:e,r=s<r?s:r,i=o>i?o:i,n=s>n?s:n,o=t[4],s=t[5],e=o<e?o:e,r=s<r?s:r,i=o>i?o:i,n=s>n?s:n,o=t[6],s=t[7],e=o<e?o:e,r=s<r?s:r,i=o>i?o:i,n=s>n?s:n,this.minX=e,this.minY=r,this.maxX=i,this.maxY=n},t.prototype.addFrame=function(t,e,r,i,n){var o=t.worldTransform,s=o.a,a=o.b,u=o.c,l=o.d,h=o.tx,c=o.ty,f=this.minX,d=this.minY,p=this.maxX,v=this.maxY,y=s*e+u*r+h,m=a*e+l*r+c;f=y<f?y:f,d=m<d?m:d,p=y>p?y:p,v=m>v?m:v,m=a*i+l*r+c,f=(y=s*i+u*r+h)<f?y:f,d=m<d?m:d,p=y>p?y:p,v=m>v?m:v,m=a*e+l*n+c,f=(y=s*e+u*n+h)<f?y:f,d=m<d?m:d,p=y>p?y:p,v=m>v?m:v,m=a*i+l*n+c,f=(y=s*i+u*n+h)<f?y:f,d=m<d?m:d,p=y>p?y:p,v=m>v?m:v,this.minX=f,this.minY=d,this.maxX=p,this.maxY=v},t.prototype.addVertices=function(t,e,r,i){for(var n=t.worldTransform,o=n.a,s=n.b,a=n.c,u=n.d,l=n.tx,h=n.ty,c=this.minX,f=this.minY,d=this.maxX,p=this.maxY,v=r;v<i;v+=2){var y=e[v],m=e[v+1],g=o*y+a*m+l,_=u*m+s*y+h;c=g<c?g:c,f=_<f?_:f,d=g>d?g:d,p=_>p?_:p}this.minX=c,this.minY=f,this.maxX=d,this.maxY=p},t.prototype.addBounds=function(t){var e=this.minX,r=this.minY,i=this.maxX,n=this.maxY;this.minX=t.minX<e?t.minX:e,this.minY=t.minY<r?t.minY:r,this.maxX=t.maxX>i?t.maxX:i,this.maxY=t.maxY>n?t.maxY:n},t.prototype.addBoundsMask=function(t,e){var r=t.minX>e.minX?t.minX:e.minX,i=t.minY>e.minY?t.minY:e.minY,n=t.maxX<e.maxX?t.maxX:e.maxX,o=t.maxY<e.maxY?t.maxY:e.maxY;if(r<=n&&i<=o){var s=this.minX,a=this.minY,u=this.maxX,l=this.maxY;this.minX=r<s?r:s,this.minY=i<a?i:a,this.maxX=n>u?n:u,this.maxY=o>l?o:l}},t.prototype.addBoundsArea=function(t,e){var r=t.minX>e.x?t.minX:e.x,i=t.minY>e.y?t.minY:e.y,n=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(r<=n&&i<=o){var s=this.minX,a=this.minY,u=this.maxX,l=this.maxY;this.minX=r<s?r:s,this.minY=i<a?i:a,this.maxX=n>u?n:u,this.maxY=o>l?o:l}},t}();e.default=n},function(t,e,r){"use strict";var i,n,o;!function(r){var s=/iPhone/i,a=/iPod/i,u=/iPad/i,l=/\bAndroid(?:.+)Mobile\b/i,h=/Android/i,c=/\bAndroid(?:.+)SD4930UR\b/i,f=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,d=/Windows Phone/i,p=/\bWindows(?:.+)ARM\b/i,v=/BlackBerry/i,y=/BB10/i,m=/Opera Mini/i,g=/\b(CriOS|Chrome)(?:.+)Mobile/i,_=/\Mobile(?:.+)Firefox\b/i;function b(t,e){return t.test(e)}function x(t){var e=t||("undefined"!=typeof navigator?navigator.userAgent:""),r=e.split("[FBAN");void 0!==r[1]&&(e=r[0]),void 0!==(r=e.split("Twitter"))[1]&&(e=r[0]);var i={apple:{phone:b(s,e)&&!b(d,e),ipod:b(a,e),tablet:!b(s,e)&&b(u,e)&&!b(d,e),device:(b(s,e)||b(a,e)||b(u,e))&&!b(d,e)},amazon:{phone:b(c,e),tablet:!b(c,e)&&b(f,e),device:b(c,e)||b(f,e)},android:{phone:!b(d,e)&&b(c,e)||!b(d,e)&&b(l,e),tablet:!b(d,e)&&!b(c,e)&&!b(l,e)&&(b(f,e)||b(h,e)),device:!b(d,e)&&(b(c,e)||b(f,e)||b(l,e)||b(h,e))},windows:{phone:b(d,e),tablet:b(p,e),device:b(d,e)||b(p,e)},other:{blackberry:b(v,e),blackberry10:b(y,e),opera:b(m,e),firefox:b(_,e),chrome:b(g,e),device:b(v,e)||b(y,e)||b(m,e)||b(_,e)||b(g,e)}};return i.any=i.apple.device||i.android.device||i.windows.device||i.other.device,i.phone=i.apple.phone||i.android.phone||i.windows.phone,i.tablet=i.apple.tablet||i.android.tablet||i.windows.tablet,i}t.exports&&"undefined"==typeof window?t.exports=x:t.exports&&"undefined"!=typeof window?t.exports=x():(n=[],i=r.isMobile=x(),void 0===(o="function"==typeof i?i.apply(e,n):i)||(t.exports=o))}(void 0)},function(t,e,r){"use strict";e.__esModule=!0;var i=r(14);var n=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.worldTransform=new i.Matrix,this.localTransform=new i.Matrix,this._worldID=0,this._parentID=0}return t.prototype.updateLocalTransform=function(){},t.prototype.updateTransform=function(t){var e=t.worldTransform,r=this.worldTransform,i=this.localTransform;r.a=i.a*e.a+i.b*e.c,r.b=i.a*e.b+i.b*e.d,r.c=i.c*e.a+i.d*e.c,r.d=i.c*e.b+i.d*e.d,r.tx=i.tx*e.a+i.ty*e.c+e.tx,r.ty=i.tx*e.b+i.ty*e.d+e.ty,this._worldID++},t}();e.default=n,n.prototype.updateWorldTransform=n.prototype.updateTransform,n.IDENTITY=new n},function(t,e,r){"use strict";function i(t,e,r){r=r||2;var i,a,u,l,h,d,v,y=e&&e.length,m=y?e[0]*r:t.length,g=n(t,0,m,r,!0),_=[];if(!g||g.next===g.prev)return _;if(y&&(g=function(t,e,r,i){var s,a,u,l,h,d=[];for(s=0,a=e.length;s<a;s++)u=e[s]*i,l=s<a-1?e[s+1]*i:t.length,(h=n(t,u,l,i,!1))===h.next&&(h.steiner=!0),d.push(p(h));for(d.sort(c),s=0;s<d.length;s++)f(d[s],r),r=o(r,r.next);return r}(t,e,g,r)),t.length>80*r){i=u=t[0],a=l=t[1];for(var b=r;b<m;b+=r)h=t[b],d=t[b+1],h<i&&(i=h),d<a&&(a=d),h>u&&(u=h),d>l&&(l=d);v=0!==(v=Math.max(u-i,l-a))?1/v:0}return s(g,_,r,i,a,v),_}function n(t,e,r,i,n){var o,s;if(n===E(t,e,r,i)>0)for(o=e;o<r;o+=i)s=w(o,t[o],t[o+1],s);else for(o=r-i;o>=e;o-=i)s=w(o,t[o],t[o+1],s);return s&&g(s,s.next)&&(T(s),s=s.next),s}function o(t,e){if(!t)return t;e||(e=t);var r,i=t;do{if(r=!1,i.steiner||!g(i,i.next)&&0!==m(i.prev,i,i.next))i=i.next;else{if(T(i),(i=e=i.prev)===i.next)break;r=!0}}while(r||i!==e);return e}function s(t,e,r,i,n,c,f){if(t){!f&&c&&function(t,e,r,i){var n=t;do{null===n.z&&(n.z=d(n.x,n.y,e,r,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next}while(n!==t);n.prevZ.nextZ=null,n.prevZ=null,function(t){var e,r,i,n,o,s,a,u,l=1;do{for(r=t,t=null,o=null,s=0;r;){for(s++,i=r,a=0,e=0;e<l&&(a++,i=i.nextZ);e++);for(u=l;a>0||u>0&&i;)0!==a&&(0===u||!i||r.z<=i.z)?(n=r,r=r.nextZ,a--):(n=i,i=i.nextZ,u--),o?o.nextZ=n:t=n,n.prevZ=o,o=n;r=i}o.nextZ=null,l*=2}while(s>1)}(n)}(t,i,n,c);for(var p,v,y=t;t.prev!==t.next;)if(p=t.prev,v=t.next,c?u(t,i,n,c):a(t))e.push(p.i/r),e.push(t.i/r),e.push(v.i/r),T(t),t=v.next,y=v.next;else if((t=v)===y){f?1===f?s(t=l(t,e,r),e,r,i,n,c,2):2===f&&h(t,e,r,i,n,c):s(o(t),e,r,i,n,c,1);break}}}function a(t){var e=t.prev,r=t,i=t.next;if(m(e,r,i)>=0)return!1;for(var n=t.next.next;n!==t.prev;){if(v(e.x,e.y,r.x,r.y,i.x,i.y,n.x,n.y)&&m(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function u(t,e,r,i){var n=t.prev,o=t,s=t.next;if(m(n,o,s)>=0)return!1;for(var a=n.x<o.x?n.x<s.x?n.x:s.x:o.x<s.x?o.x:s.x,u=n.y<o.y?n.y<s.y?n.y:s.y:o.y<s.y?o.y:s.y,l=n.x>o.x?n.x>s.x?n.x:s.x:o.x>s.x?o.x:s.x,h=n.y>o.y?n.y>s.y?n.y:s.y:o.y>s.y?o.y:s.y,c=d(a,u,e,r,i),f=d(l,h,e,r,i),p=t.prevZ,y=t.nextZ;p&&p.z>=c&&y&&y.z<=f;){if(p!==t.prev&&p!==t.next&&v(n.x,n.y,o.x,o.y,s.x,s.y,p.x,p.y)&&m(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,y!==t.prev&&y!==t.next&&v(n.x,n.y,o.x,o.y,s.x,s.y,y.x,y.y)&&m(y.prev,y,y.next)>=0)return!1;y=y.nextZ}for(;p&&p.z>=c;){if(p!==t.prev&&p!==t.next&&v(n.x,n.y,o.x,o.y,s.x,s.y,p.x,p.y)&&m(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;y&&y.z<=f;){if(y!==t.prev&&y!==t.next&&v(n.x,n.y,o.x,o.y,s.x,s.y,y.x,y.y)&&m(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}function l(t,e,r){var i=t;do{var n=i.prev,o=i.next.next;!g(n,o)&&_(n,i,i.next,o)&&b(n,o)&&b(o,n)&&(e.push(n.i/r),e.push(i.i/r),e.push(o.i/r),T(i),T(i.next),i=t=o),i=i.next}while(i!==t);return i}function h(t,e,r,i,n,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&y(u,l)){var h=x(u,l);return u=o(u,u.next),h=o(h,h.next),s(u,e,r,i,n,a),void s(h,e,r,i,n,a)}l=l.next}u=u.next}while(u!==t)}function c(t,e){return t.x-e.x}function f(t,e){if(e=function(t,e){var r,i=e,n=t.x,o=t.y,s=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var a=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(a<=n&&a>s){if(s=a,a===n){if(o===i.y)return i;if(o===i.next.y)return i.next}r=i.x<i.next.x?i:i.next}}i=i.next}while(i!==e);if(!r)return null;if(n===s)return r.prev;var u,l=r,h=r.x,c=r.y,f=1/0;i=r.next;for(;i!==l;)n>=i.x&&i.x>=h&&n!==i.x&&v(o<c?n:s,o,h,c,o<c?s:n,o,i.x,i.y)&&((u=Math.abs(o-i.y)/(n-i.x))<f||u===f&&i.x>r.x)&&b(i,t)&&(r=i,f=u),i=i.next;return r}(t,e)){var r=x(e,t);o(r,r.next)}}function d(t,e,r,i,n){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*n)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*n)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function p(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function v(t,e,r,i,n,o,s,a){return(n-s)*(e-a)-(t-s)*(o-a)>=0&&(t-s)*(i-a)-(r-s)*(e-a)>=0&&(r-s)*(o-a)-(n-s)*(i-a)>=0}function y(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&_(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&b(t,e)&&b(e,t)&&function(t,e){var r=t,i=!1,n=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&n<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(i=!i),r=r.next}while(r!==t);return i}(t,e)}function m(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function g(t,e){return t.x===e.x&&t.y===e.y}function _(t,e,r,i){return!!(g(t,e)&&g(r,i)||g(t,i)&&g(r,e))||m(t,e,r)>0!=m(t,e,i)>0&&m(r,i,t)>0!=m(r,i,e)>0}function b(t,e){return m(t.prev,t,t.next)<0?m(t,e,t.next)>=0&&m(t,t.prev,e)>=0:m(t,e,t.prev)<0||m(t,t.next,e)<0}function x(t,e){var r=new S(t.i,t.x,t.y),i=new S(e.i,e.x,e.y),n=t.next,o=e.prev;return t.next=e,e.prev=t,r.next=n,n.prev=r,i.next=r,r.prev=i,o.next=i,i.prev=o,i}function w(t,e,r,i){var n=new S(t,e,r);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function T(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,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function E(t,e,r,i){for(var n=0,o=e,s=r-i;o<r;o+=i)n+=(t[s]-t[o])*(t[o+1]+t[s+1]),s=o;return n}t.exports=i,t.exports.default=i,i.deviation=function(t,e,r,i){var n=e&&e.length,o=n?e[0]*r:t.length,s=Math.abs(E(t,0,o,r));if(n)for(var a=0,u=e.length;a<u;a++){var l=e[a]*r,h=a<u-1?e[a+1]*r:t.length;s-=Math.abs(E(t,l,h,r))}var c=0;for(a=0;a<i.length;a+=3){var f=i[a]*r,d=i[a+1]*r,p=i[a+2]*r;c+=Math.abs((t[f]-t[p])*(t[d+1]-t[f+1])-(t[f]-t[d])*(t[p+1]-t[f+1]))}return 0===s&&0===c?0:Math.abs((c-s)/s)},i.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},i=0,n=0;n<t.length;n++){for(var o=0;o<t[n].length;o++)for(var s=0;s<e;s++)r.vertices.push(t[n][o][s]);n>0&&(i+=t[n-1].length,r.holes.push(i))}return r}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(14),s=r(7),a=r(3),u=h(r(41)),l=h(r(64));function h(t){return t&&t.__esModule?t:{default:t}}var c=new o.Point,f=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return n._anchor=new o.ObservablePoint(n._onAnchorUpdate,n,r?r.defaultAnchor.x:0,r?r.defaultAnchor.y:0),n._texture=null,n._width=0,n._height=0,n._tint=null,n._tintRGB=null,n.tint=16777215,n.blendMode=a.BLEND_MODES.NORMAL,n.shader=null,n.cachedTint=16777215,n.texture=r||u.default.EMPTY,n.vertexData=new Float32Array(8),n.vertexTrimmedData=null,n._transformID=-1,n._textureID=-1,n._transformTrimmedID=-1,n._textureTrimmedID=-1,n.pluginName="sprite",n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this.cachedTint=16777215,this._width&&(this.scale.x=(0,s.sign)(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=(0,s.sign)(this.scale.y)*this._height/this._texture.orig.height)},e.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},e.prototype.calculateVertices=function(){if(this._transformID!==this.transform._worldID||this._textureID!==this._texture._updateID){this._transformID=this.transform._worldID,this._textureID=this._texture._updateID;var t=this._texture,e=this.transform.worldTransform,r=e.a,i=e.b,n=e.c,o=e.d,s=e.tx,a=e.ty,u=this.vertexData,l=t.trim,h=t.orig,c=this._anchor,f=0,d=0,p=0,v=0;l?(f=(d=l.x-c._x*h.width)+l.width,p=(v=l.y-c._y*h.height)+l.height):(f=(d=-c._x*h.width)+h.width,p=(v=-c._y*h.height)+h.height),u[0]=r*d+n*v+s,u[1]=o*v+i*d+a,u[2]=r*f+n*v+s,u[3]=o*v+i*f+a,u[4]=r*f+n*p+s,u[5]=o*p+i*f+a,u[6]=r*d+n*p+s,u[7]=o*p+i*d+a}},e.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,r=t.orig,i=this._anchor,n=this.transform.worldTransform,o=n.a,s=n.b,a=n.c,u=n.d,l=n.tx,h=n.ty,c=-i._x*r.width,f=c+r.width,d=-i._y*r.height,p=d+r.height;e[0]=o*c+a*d+l,e[1]=u*d+s*c+h,e[2]=o*f+a*d+l,e[3]=u*d+s*f+h,e[4]=o*f+a*p+l,e[5]=u*p+s*f+h,e[6]=o*c+a*p+l,e[7]=u*p+s*c+h},e.prototype._renderWebGL=function(t){this.calculateVertices(),t.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},e.prototype._renderCanvas=function(t){t.plugins[this.pluginName].render(this)},e.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))},e.prototype.getLocalBounds=function(e){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),e||(this._localBoundsRect||(this._localBoundsRect=new o.Rectangle),e=this._localBoundsRect),this._bounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,c);var e=this._texture.orig.width,r=this._texture.orig.height,i=-e*this.anchor.x,n=0;return c.x>=i&&c.x<i+e&&(n=-r*this.anchor.y,c.y>=n&&c.y<n+r)},e.prototype.destroy=function(e){if(t.prototype.destroy.call(this,e),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof e?e:e&&e.texture){var r="boolean"==typeof e?e:e&&e.baseTexture;this._texture.destroy(!!r)}this._texture=null,this.shader=null},e.from=function(t){return new e(u.default.from(t))},e.fromFrame=function(t){var r=s.TextureCache[t];if(!r)throw new Error('The frameId "'+t+'" does not exist in the texture cache');return new e(r)},e.fromImage=function(t,r,i){return new e(u.default.fromImage(t,r,i))},n(e,[{key:"width",get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=(0,s.sign)(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t}},{key:"height",get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=(0,s.sign)(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t}},{key:"anchor",get:function(){return this._anchor},set:function(t){this._anchor.copy(t)}},{key:"tint",get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)}},{key:"texture",get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture=t||u.default.EMPTY,this.cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.hasLoaded?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))}}]),e}(l.default);e.default=f},function(t,e,r){"use strict";"use restrict";function i(t){var e=32;return(t&=-t)&&e--,65535&t&&(e-=16),16711935&t&&(e-=8),252645135&t&&(e-=4),858993459&t&&(e-=2),1431655765&t&&(e-=1),e}e.INT_BITS=32,e.INT_MAX=2147483647,e.INT_MIN=-1<<31,e.sign=function(t){return(t>0)-(t<0)},e.abs=function(t){var e=t>>31;return(t^e)-e},e.min=function(t,e){return e^(t^e)&-(t<e)},e.max=function(t,e){return t^(t^e)&-(t<e)},e.isPow2=function(t){return!(t&t-1||!t)},e.log2=function(t){var e,r;return e=(t>65535)<<4,e|=r=((t>>>=e)>255)<<3,e|=r=((t>>>=r)>15)<<2,(e|=r=((t>>>=r)>3)<<1)|(t>>>=r)>>1},e.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},e.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},e.countTrailingZeros=i,e.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1},e.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},e.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var n=new Array(256);!function(t){for(var e=0;e<256;++e){var r=e,i=e,n=7;for(r>>>=1;r;r>>>=1)i<<=1,i|=1&r,--n;t[e]=i<<n&255}}(n),e.reverse=function(t){return n[255&t]<<24|n[t>>>8&255]<<16|n[t>>>16&255]<<8|n[t>>>24&255]},e.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},e.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},e.interleave3=function(t,e,r){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(r=1227133513&((r=3272356035&((r=251719695&((r=4278190335&((r&=1023)|r<<16))|r<<8))|r<<4))|r<<2))<<2},e.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},e.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>i(t)+1}},function(t,e,r){"use strict";e.__esModule=!0,e.Ticker=e.shared=void 0;var i,n=r(520),o=(i=n)&&i.__esModule?i:{default:i};var s=new o.default;s.autoStart=!0,s.destroy=function(){},e.shared=s,e.Ticker=o.default},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=o(r(224));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(r,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var s=null;if(!(r instanceof n.default)){var a=arguments[1],u=arguments[2],l=arguments[3],h=arguments[4];s=arguments[0],o=null,r=new n.default(a,u,l,h)}var c=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r,o));return c.legacyRenderer=s,c.valid=!0,c._updateUvs(),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.resize=function(t,e,r){t=Math.ceil(t),e=Math.ceil(e),this.valid=t>0&&e>0,this._frame.width=this.orig.width=t,this._frame.height=this.orig.height=e,r||this.baseTexture.resize(t,e),this._updateUvs()},e.create=function(t,r,i,o){return new e(new n.default(t,r,i,o))},e}(o(r(41)).default);e.default=s},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){for(var e=6*t,r=new Uint16Array(e),i=0,n=0;i<e;i+=6,n+=4)r[i+0]=n+0,r[i+1]=n+1,r[i+2]=n+2,r[i+3]=n+0,r[i+4]=n+2,r[i+5]=n+3;return r}},function(t,e,r){"use strict";e.__esModule=!0,e.Resource=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=s(r(249)),o=s(r(248));function s(t){return t&&t.__esModule?t:{default:t}}var a=!(!window.XDomainRequest||"withCredentials"in new XMLHttpRequest),u=null;function l(){}var h=e.Resource=function(){function t(e,r,i){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),"string"!=typeof e||"string"!=typeof r)throw new Error("Both name and url are required for constructing a resource.");i=i||{},this._flags=0,this._setFlag(t.STATUS_FLAGS.DATA_URL,0===r.indexOf("data:")),this.name=e,this.url=r,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=t.TYPE.UNKNOWN,this.progressChunk=0,this._dequeue=l,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 o.default,this.onProgress=new o.default,this.onComplete=new o.default,this.onAfterMiddleware=new o.default}return t.setExtensionLoadType=function(e,r){c(t._loadTypeMap,e,r)},t.setExtensionXhrType=function(e,r){c(t._xhrTypeMap,e,r)},t.prototype.complete=function(){this._clearEvents(),this._finish()},t.prototype.abort=function(e){if(!this.error){if(this.error=new Error(e),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=t.EMPTY_GIF;else for(;this.data.firstChild;)this.data.removeChild(this.data.firstChild);this._finish()}},t.prototype.load=function(e){var r=this;if(!this.isLoading)if(this.isComplete)e&&setTimeout(function(){return e(r)},1);else switch(e&&this.onComplete.once(e),this._setFlag(t.STATUS_FLAGS.LOADING,!0),this.onStart.dispatch(this),!1!==this.crossOrigin&&"string"==typeof this.crossOrigin||(this.crossOrigin=this._determineCrossOrigin(this.url)),this.loadType){case t.LOAD_TYPE.IMAGE:this.type=t.TYPE.IMAGE,this._loadElement("image");break;case t.LOAD_TYPE.AUDIO:this.type=t.TYPE.AUDIO,this._loadSourceElement("audio");break;case t.LOAD_TYPE.VIDEO:this.type=t.TYPE.VIDEO,this._loadSourceElement("video");break;case t.LOAD_TYPE.XHR:default:a&&this.crossOrigin?this._loadXdr():this._loadXhr()}},t.prototype._hasFlag=function(t){return 0!=(this._flags&t)},t.prototype._setFlag=function(t,e){this._flags=e?this._flags|t:this._flags&~t},t.prototype._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.prototype._finish=function(){if(this.isComplete)throw new Error("Complete called again for an already completed resource.");this._setFlag(t.STATUS_FLAGS.COMPLETE,!0),this._setFlag(t.STATUS_FLAGS.LOADING,!1),this.onComplete.dispatch(this)},t.prototype._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.prototype._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,r=0;r<this.url.length;++r)this.data.appendChild(this._createSource(t,this.url[r],Array.isArray(e)?e[r]:e));else{var i=this.metadata.mimeType;this.data.appendChild(this._createSource(t,this.url,Array.isArray(i)?i[0]:i))}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.prototype._loadXhr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var e=this.xhr=new XMLHttpRequest;e.open("GET",this.url,!0),e.timeout=this.timeout,this.xhrType===t.XHR_RESPONSE_TYPE.JSON||this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT?e.responseType=t.XHR_RESPONSE_TYPE.TEXT:e.responseType=this.xhrType,e.addEventListener("error",this._boundXhrOnError,!1),e.addEventListener("timeout",this._boundXhrOnTimeout,!1),e.addEventListener("abort",this._boundXhrOnAbort,!1),e.addEventListener("progress",this._boundOnProgress,!1),e.addEventListener("load",this._boundXhrOnLoad,!1),e.send()},t.prototype._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)},t.prototype._createSource=function(t,e,r){r||(r=t+"/"+this._getExtension(e));var i=document.createElement("source");return i.src=e,i.type=r,i},t.prototype._onError=function(t){this.abort("Failed to load element using: "+t.target.nodeName)},t.prototype._onProgress=function(t){t&&t.lengthComputable&&this.onProgress.dispatch(this,t.loaded/t.total)},t.prototype._onTimeout=function(){this.abort("Load timed out.")},t.prototype._xhrOnError=function(){var t=this.xhr;this.abort(f(t)+" Request failed. Status: "+t.status+', text: "'+t.statusText+'"')},t.prototype._xhrOnTimeout=function(){var t=this.xhr;this.abort(f(t)+" Request timed out.")},t.prototype._xhrOnAbort=function(){var t=this.xhr;this.abort(f(t)+" Request was aborted by the user.")},t.prototype._xhrOnLoad=function(){var e=this.xhr,r="",i=void 0===e.status?200:e.status;if(""!==e.responseType&&"text"!==e.responseType&&void 0!==e.responseType||(r=e.responseText),0===i&&(r.length>0||e.responseType===t.XHR_RESPONSE_TYPE.BUFFER)?i=200:1223===i&&(i=204),2===(i/100|0)){if(this.xhrType===t.XHR_RESPONSE_TYPE.TEXT)this.data=r,this.type=t.TYPE.TEXT;else if(this.xhrType===t.XHR_RESPONSE_TYPE.JSON)try{this.data=JSON.parse(r),this.type=t.TYPE.JSON}catch(t){return void this.abort("Error trying to parse loaded json: "+t)}else if(this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT)try{if(window.DOMParser){var n=new DOMParser;this.data=n.parseFromString(r,"text/xml")}else{var o=document.createElement("div");o.innerHTML=r,this.data=o}this.type=t.TYPE.XML}catch(t){return void this.abort("Error trying to parse loaded xml: "+t)}else this.data=e.response||r;this.complete()}else this.abort("["+e.status+"] "+e.statusText+": "+e.responseURL)},t.prototype._determineCrossOrigin=function(t,e){if(0===t.indexOf("data:"))return"";if(window.origin!==window.location.origin)return"anonymous";e=e||window.location,u||(u=document.createElement("a")),u.href=t;var r=!(t=(0,n.default)(u.href,{strictMode:!0})).port&&""===e.port||t.port===e.port,i=t.protocol?t.protocol+":":"";return t.host===e.hostname&&r&&i===e.protocol?"":"anonymous"},t.prototype._determineXhrType=function(){return t._xhrTypeMap[this.extension]||t.XHR_RESPONSE_TYPE.TEXT},t.prototype._determineLoadType=function(){return t._loadTypeMap[this.extension]||t.LOAD_TYPE.XHR},t.prototype._getExtension=function(){var t=this.url,e="";if(this.isDataUrl){var r=t.indexOf("/");e=t.substring(r+1,t.indexOf(";",r))}else{var i=t.indexOf("?"),n=t.indexOf("#"),o=Math.min(i>-1?i:t.length,n>-1?n:t.length);e=(t=t.substring(0,o)).substring(t.lastIndexOf(".")+1)}return e.toLowerCase()},t.prototype._getMimeFromXhrType=function(e){switch(e){case t.XHR_RESPONSE_TYPE.BUFFER:return"application/octet-binary";case t.XHR_RESPONSE_TYPE.BLOB:return"application/blob";case t.XHR_RESPONSE_TYPE.DOCUMENT:return"application/xml";case t.XHR_RESPONSE_TYPE.JSON:return"application/json";case t.XHR_RESPONSE_TYPE.DEFAULT:case t.XHR_RESPONSE_TYPE.TEXT:default:return"text/plain"}},i(t,[{key:"isDataUrl",get:function(){return this._hasFlag(t.STATUS_FLAGS.DATA_URL)}},{key:"isComplete",get:function(){return this._hasFlag(t.STATUS_FLAGS.COMPLETE)}},{key:"isLoading",get:function(){return this._hasFlag(t.STATUS_FLAGS.LOADING)}}]),t}();function c(t,e,r){e&&0===e.indexOf(".")&&(e=e.substring(1)),e&&(t[e]=r)}function f(t){return t.toString().replace("object ","")}h.STATUS_FLAGS={NONE:0,DATA_URL:1,COMPLETE:2,LOADING:4},h.TYPE={UNKNOWN:0,JSON:1,XML:2,IMAGE:3,AUDIO:4,VIDEO:5,TEXT:6},h.LOAD_TYPE={XHR:1,IMAGE:2,AUDIO:3,VIDEO:4},h.XHR_RESPONSE_TYPE={DEFAULT:"text",BUFFER:"arraybuffer",BLOB:"blob",DOCUMENT:"document",JSON:"json",TEXT:"text"},h._loadTypeMap={gif:h.LOAD_TYPE.IMAGE,png:h.LOAD_TYPE.IMAGE,bmp:h.LOAD_TYPE.IMAGE,jpg:h.LOAD_TYPE.IMAGE,jpeg:h.LOAD_TYPE.IMAGE,tif:h.LOAD_TYPE.IMAGE,tiff:h.LOAD_TYPE.IMAGE,webp:h.LOAD_TYPE.IMAGE,tga:h.LOAD_TYPE.IMAGE,svg:h.LOAD_TYPE.IMAGE,"svg+xml":h.LOAD_TYPE.IMAGE,mp3:h.LOAD_TYPE.AUDIO,ogg:h.LOAD_TYPE.AUDIO,wav:h.LOAD_TYPE.AUDIO,mp4:h.LOAD_TYPE.VIDEO,webm:h.LOAD_TYPE.VIDEO},h._xhrTypeMap={xhtml:h.XHR_RESPONSE_TYPE.DOCUMENT,html:h.XHR_RESPONSE_TYPE.DOCUMENT,htm:h.XHR_RESPONSE_TYPE.DOCUMENT,xml:h.XHR_RESPONSE_TYPE.DOCUMENT,tmx:h.XHR_RESPONSE_TYPE.DOCUMENT,svg:h.XHR_RESPONSE_TYPE.DOCUMENT,tsx:h.XHR_RESPONSE_TYPE.DOCUMENT,gif:h.XHR_RESPONSE_TYPE.BLOB,png:h.XHR_RESPONSE_TYPE.BLOB,bmp:h.XHR_RESPONSE_TYPE.BLOB,jpg:h.XHR_RESPONSE_TYPE.BLOB,jpeg:h.XHR_RESPONSE_TYPE.BLOB,tif:h.XHR_RESPONSE_TYPE.BLOB,tiff:h.XHR_RESPONSE_TYPE.BLOB,webp:h.XHR_RESPONSE_TYPE.BLOB,tga:h.XHR_RESPONSE_TYPE.BLOB,json:h.XHR_RESPONSE_TYPE.JSON,text:h.XHR_RESPONSE_TYPE.TEXT,txt:h.XHR_RESPONSE_TYPE.TEXT,ttf:h.XHR_RESPONSE_TYPE.BUFFER,otf:h.XHR_RESPONSE_TYPE.BUFFER},h.EMPTY_GIF="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",t.exports.default=h},function(t,e,r){"use strict";e.__esModule=!0;var i,n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),o=r(255),s=(i=o)&&i.__esModule?i:{default:i};var a=n.ticker.shared;n.settings.UPLOADS_PER_FRAME=4;var u=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.limiter=new s.default(n.settings.UPLOADS_PER_FRAME),this.renderer=e,this.uploadHookHelper=null,this.queue=[],this.addHooks=[],this.uploadHooks=[],this.completes=[],this.ticking=!1,this.delayedTick=function(){r.queue&&r.prepareItems()},this.registerFindHook(p),this.registerFindHook(v),this.registerFindHook(l),this.registerFindHook(h),this.registerFindHook(c),this.registerUploadHook(f),this.registerUploadHook(d)}return t.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,a.addOnce(this.tick,this,n.UPDATE_PRIORITY.UTILITY))):e&&e()},t.prototype.tick=function(){setTimeout(this.delayedTick,0)},t.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 r=0,i=this.uploadHooks.length;r<i;r++)if(this.uploadHooks[r](this.uploadHookHelper,t)){this.queue.shift(),e=!0;break}e||this.queue.shift()}if(this.queue.length)a.addOnce(this.tick,this,n.UPDATE_PRIORITY.UTILITY);else{this.ticking=!1;var o=this.completes.slice(0);this.completes.length=0;for(var s=0,u=o.length;s<u;s++)o[s]()}},t.prototype.registerFindHook=function(t){return t&&this.addHooks.push(t),this},t.prototype.registerUploadHook=function(t){return t&&this.uploadHooks.push(t),this},t.prototype.add=function(t){for(var e=0,r=this.addHooks.length;e<r&&!this.addHooks[e](t,this.queue);e++);if(t instanceof n.Container)for(var i=t.children.length-1;i>=0;i--)this.add(t.children[i]);return this},t.prototype.destroy=function(){this.ticking&&a.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},t}();function l(t,e){var r=!1;if(t&&t._textures&&t._textures.length)for(var i=0;i<t._textures.length;i++)if(t._textures[i]instanceof n.Texture){var o=t._textures[i].baseTexture;-1===e.indexOf(o)&&(e.push(o),r=!0)}return r}function h(t,e){return t instanceof n.BaseTexture&&(-1===e.indexOf(t)&&e.push(t),!0)}function c(t,e){if(t._texture&&t._texture instanceof n.Texture){var r=t._texture.baseTexture;return-1===e.indexOf(r)&&e.push(r),!0}return!1}function f(t,e){return e instanceof n.Text&&(e.updateText(!0),!0)}function d(t,e){if(e instanceof n.TextStyle){var r=e.toFontString();return n.TextMetrics.measureFont(r),!0}return!1}function p(t,e){if(t instanceof n.Text){-1===e.indexOf(t.style)&&e.push(t.style),-1===e.indexOf(t)&&e.push(t);var r=t._texture.baseTexture;return-1===e.indexOf(r)&&e.push(r),!0}return!1}function v(t,e){return t instanceof n.TextStyle&&(-1===e.indexOf(t)&&e.push(t),!0)}e.default=u},function(t){t.exports={mainColor:"#5bc5f2",white:"#f0f0f0",black:"#222222",grey:"#b0b0b0",pink:"#fdb393",yellow:"#ffe49d",font1:"'MierA', sans-serif",fw_black:900,fw_extrabold:800,fw_semibold:600,fw_regular:400,sizes:{ultra_small_screen:"600px",xtra_small_screen:"768px",small_screen:"1024px",medium_screen:"1280px",large_screen:"1440px",xtra_large_screen:"1920px",ultra_large_screen:"2560px"}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TimelineLite=e.TimelineMax=void 0;var i=r(20),n=s(i),o=s(r(95));function s(t){return t&&t.__esModule?t:{default:t}}i._gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){o.default.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},e=n.default._internals,r=e.lazyTweens,s=e.lazyRender,a=i._gsScope._gsDefine.globals,u=new i.Ease(null,null,1,0),l=t.prototype=new o.default;return l.constructor=t,l.kill()._gc=!1,t.version="2.0.2",l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),o.default.prototype.invalidate.call(this)},l.addCallback=function(t,e,r,i){return this.add(n.default.delayedCall(0,t,r,i),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var r=this.getTweensOf(t,!1),i=r.length,n=this._parseTimeOrLabel(e);--i>-1;)r[i]._startTime===n&&r[i]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(o.default._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var r,i,o,s={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},l=e.repeat&&a.TweenMax||n.default;for(i in e)s[i]=e[i];return s.time=this._parseTimeOrLabel(t),r=Math.abs(Number(s.time)-this._time)/this._timeScale||.001,o=new l(this,r,s),s.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||r!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},l.tweenFromTo=function(t,e,r){r=r||{},t=this._parseTimeOrLabel(t),r.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},r.immediateRender=!1!==r.immediateRender;var i=this.tweenTo(e,r);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,o,a,u,l,h,c,f,d=this._time,p=this._dirty?this.totalDuration():this._totalDuration,v=this._duration,y=this._totalTime,m=this._startTime,g=this._timeScale,_=this._rawPrevTime,b=this._paused,x=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=p-1e-7&&t>=0)this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,u="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||_<0||1e-10===_)&&_!==t&&this._first&&(l=!0,_>1e-10&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=v,t=v+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==d||0===v&&1e-10!==_&&(_>0||t<0&&_>=0)&&!this._locked)&&(u="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=o=!0,u="onReverseComplete"):_>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=v||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&o)for(n=this._first;n&&0===n._startTime;)n._duration||(o=!1),n=n._next;t=0,this._initted||(l=!0)}else if(0===v&&_<0&&(l=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(h=v+this._repeatDelay,this._cycle=this._totalTime/h>>0,0!==this._cycle&&this._cycle===this._totalTime/h&&y<=t&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=v-this._time),this._time>v?(this._time=v,t=v+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=d||this._repeat&&x!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!c;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(c=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!c;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(c=n),n=n._prev;c&&c._startTime<v&&(this._time=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==x&&!this._locked){var w=this._yoyo&&0!=(1&x),T=w===(this._yoyo&&0!=(1&this._cycle)),S=this._totalTime,E=this._cycle,P=this._rawPrevTime,O=this._time;if(this._totalTime=x*v,this._cycle<x?w=!w:this._totalTime+=v,this._time=d,this._rawPrevTime=0===v?_-1e-4:_,this._cycle=x,this._locked=!0,d=w?0:v,this.render(d,e,0===v),e||this._gc||this.vars.onRepeat&&(this._cycle=E,this._locked=!1,this._callback("onRepeat")),d!==this._time)return;if(T&&(this._cycle=x,this._locked=!0,d=w?v+1e-4:-1e-4,this.render(d,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=O,this._totalTime=S,this._cycle=E,this._rawPrevTime=P}if(this._time!==d&&this._first||i||l||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==y&&t>0&&(this._active=!0),0===y&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=d)for(n=this._first;n&&(a=n._next,f===this._time&&(!this._paused||b));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(c===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;else for(n=this._last;n&&(a=n._prev,f===this._time&&(!this._paused||b));){if(n._active||n._startTime<=d&&!n._paused&&!n._gc){if(c===n){for(c=n._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,i),c=c._prev;c=null,this.pause()}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=a}this._onUpdate&&(e||(r.length&&s(),this._callback("onUpdate"))),u&&(this._locked||this._gc||m!==this._startTime&&g===this._timeScale||(0===this._time||p>=this.totalDuration())&&(o&&(r.length&&s(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[u]&&this._callback(u)))}else y!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,r){null==t&&(t=!0),null==e&&(e=!0),null==r&&(r=!1);var i,n,o=[],s=this.getChildren(t,e,r),a=0,u=s.length;for(i=0;i<u;i++)(n=s[i]).isActive()&&(o[a++]=n);return o},l.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,r=this.getLabelsArray(),i=r.length;for(e=0;e<i;e++)if(r[e].time>t)return r[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),r=e.length;--r>-1;)if(e[r].time<t)return e[r].name;return null},l.getLabelsArray=function(){var t,e=[],r=0;for(t in this._labels)e[r++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},l.invalidate=function(){return this._locked=!1,o.default.prototype.invalidate.call(this)},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},l.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(o.default.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t},!0);var a=e.TimelineMax=i.globals.TimelineMax;e.TimelineLite=o.default,e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExpoScaleEase=e.Sine=e.Expo=e.Circ=e.SteppedEase=e.SlowMo=e.RoughEase=e.Bounce=e.Elastic=e.Back=e.Linear=e.Power4=e.Power3=e.Power2=e.Power1=e.Power0=e.Ease=e.TweenPlugin=e.RoundPropsPlugin=e.DirectionalRotationPlugin=e.BezierPlugin=e.AttrPlugin=e.CSSPlugin=e.TimelineMax=e.TimelineLite=e.TweenLite=e.default=e.TweenMax=void 0;var i=r(20),n=p(i),o=p(r(257)),s=p(r(144)),a=p(r(145)),u=p(r(146)),l=p(r(147)),h=p(r(95)),c=p(r(142)),f=p(r(148)),d=r(149);function p(t){return t&&t.__esModule?t:{default:t}}var v=e.TweenMax=o.default;v._autoActivated=[h.default,c.default,s.default,a.default,f.default,u.default,l.default,d.Back,d.Elastic,d.Bounce,d.RoughEase,d.SlowMo,d.SteppedEase,d.Circ,d.Expo,d.Sine,d.ExpoScaleEase],e.default=v,e.TweenLite=n.default,e.TimelineLite=h.default,e.TimelineMax=c.default,e.CSSPlugin=s.default,e.AttrPlugin=a.default,e.BezierPlugin=f.default,e.DirectionalRotationPlugin=l.default,e.RoundPropsPlugin=u.default,e.TweenPlugin=i.TweenPlugin,e.Ease=i.Ease,e.Power0=i.Power0,e.Power1=i.Power1,e.Power2=i.Power2,e.Power3=i.Power3,e.Power4=i.Power4,e.Linear=i.Linear,e.Back=d.Back,e.Elastic=d.Elastic,e.Bounce=d.Bounce,e.RoughEase=d.RoughEase,e.SlowMo=d.SlowMo,e.SteppedEase=d.SteppedEase,e.Circ=d.Circ,e.Expo=d.Expo,e.Sine=d.Sine,e.ExpoScaleEase=d.ExpoScaleEase},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CSSPlugin=void 0;var i,n="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},o=r(20),s=(i=o)&&i.__esModule?i:{default:i};o._gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,r,i,a=function t(){o.TweenPlugin.call(this,"css"),this._overwriteProps.length=0,this.setRatio=t.prototype.setRatio},u=o._gsScope._gsDefine.globals,l={},h=a.prototype=new o.TweenPlugin("css");h.constructor=a,a.version="2.0.2",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,a.suffixMap={top:h="px",right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var c,f,d,p,v,y,m,g,_=/(?:\-|\.|\b)(\d|\.|e\-)+/g,b=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,S=/opacity *= *([^)]*)/i,E=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,M=/([A-Z])/g,A=/-([a-z])/gi,C=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,R=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,I=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,k=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,F=/[\s,\(]/i,N=Math.PI/180,j=180/Math.PI,B={},U={style:{}},X=o._gsScope.document||{createElement:function(){return U}},W=function(t,e){return X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t)},H=W("div"),z=W("img"),G=a._internals={_specialProps:l},Y=(o._gsScope.navigator||{}).userAgent||"",V=function(){var t=Y.indexOf("Android"),e=W("a");return d=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===t||parseFloat(Y.substr(t+8,2))>3),v=d&&parseFloat(Y.substr(Y.indexOf("Version/")+8,2))<6,p=-1!==Y.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y))&&(y=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),q=function(t){return S.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Q=function(t){o._gsScope.console},Z="",K="",J=function(t,e){var r,i,n=(e=e||H).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===n[r[i]+t];);return i>=0?(Z="-"+(K=3===i?"ms":r[i]).toLowerCase()+"-",K+t):null},$=("undefined"!=typeof window?window:X.defaultView||{getComputedStyle:function(){}}).getComputedStyle,tt=a.getStyle=function(t,e,r,i,n){var o;return V||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(r=r||$(t))?o=r[e]||r.getPropertyValue(e)||r.getPropertyValue(e.replace(M,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==n||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:n):q(t)},et=G.convertToPixels=function(t,e,r,i,n){if("px"===i||!i&&"lineHeight"!==e)return r;if("auto"===i||!r)return 0;var o,u,l,h=D.test(e),c=t,f=H.style,d=r<0,p=1===r;if(d&&(r=-r),p&&(r*=100),"lineHeight"!==e||i)if("%"===i&&-1!==e.indexOf("border"))o=r/100*(h?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+tt(t,"position")+";line-height:0;","%"!==i&&c.appendChild&&"v"!==i.charAt(0)&&"rem"!==i)f[h?"borderLeftWidth":"borderTopWidth"]=r+i;else{if(c=t.parentNode||X.body,-1!==tt(c,"display").indexOf("flex")&&(f.position="absolute"),u=c._gsCache,l=s.default.ticker.frame,u&&h&&u.time===l)return u.width*r/100;f[h?"width":"height"]=r+i}c.appendChild(H),o=parseFloat(H[h?"offsetWidth":"offsetHeight"]),c.removeChild(H),h&&"%"===i&&!1!==a.cacheWidths&&((u=c._gsCache=c._gsCache||{}).time=l,u.width=o/r*100),0!==o||n||(o=et(t,e,r,i,!0))}else u=$(t).lineHeight,t.style.lineHeight=r,o=parseFloat($(t).lineHeight),t.style.lineHeight=u;return p&&(o/=100),d?-o:o},rt=G.calculateOffset=function(t,e,r){if("absolute"!==tt(t,"position",r))return 0;var i="left"===e?"Left":"Top",n=tt(t,"margin"+i,r);return t["offset"+i]-(et(t,e,parseFloat(n),n.replace(T,""))||0)},it=function(t,e){var r,i,n,o={};if(e=e||$(t,null))if(r=e.length)for(;--r>-1;)-1!==(n=e[r]).indexOf("-transform")&&kt!==n||(o[n.replace(A,R)]=e.getPropertyValue(n));else for(r in e)-1!==r.indexOf("Transform")&&It!==r||(o[r]=e[r]);else if(e=t.currentStyle||t.style)for(r in e)"string"==typeof r&&void 0===o[r]&&(o[r.replace(A,R)]=e[r]);return V||(o.opacity=q(t)),i=Vt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Ft&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},nt=function(t,e,r,i,n){var o,s,a,u={},l=t.style;for(s in r)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=r[s])||n&&n[s])&&-1===s.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(u[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(w,"")?o:0:rt(t,s),void 0!==l[s]&&(a=new _t(l,s,l[s],a))));if(i)for(s in i)"className"!==s&&(u[s]=i[s]);return{difs:u,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},st=["marginLeft","marginRight","marginTop","marginBottom"],at=function(t,e,r){if("svg"===(t.nodeName+"").toLowerCase())return(r||$(t))[e]||0;if(t.getCTM&&zt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ot[e],o=n.length;for(r=r||$(t,null);--o>-1;)i-=parseFloat(tt(t,"padding"+n[o],r,!0))||0,i-=parseFloat(tt(t,"border"+n[o]+"Width",r,!0))||0;return i},ut=function t(e,r){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var i,n=e.split(" "),o=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":n[0],s=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":n[1];if(n.length>3&&!r){for(n=e.split(", ").join(",").split(","),e=[],i=0;i<n.length;i++)e.push(t(n[i]));return e.join(",")}return null==s?s="center"===o?"50%":"0":"center"===s&&(s="50%"),("center"===o||isNaN(parseFloat(o))&&-1===(o+"").indexOf("="))&&(o="50%"),e=o+" "+s+(n.length>2?" "+n[2]:""),r&&(r.oxp=-1!==o.indexOf("%"),r.oyp=-1!==s.indexOf("%"),r.oxr="="===o.charAt(1),r.oyr="="===s.charAt(1),r.ox=parseFloat(o.replace(w,"")),r.oy=parseFloat(s.replace(w,"")),r.v=e),r||e},lt=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){"function"==typeof t&&(t=t(g,m));var r="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(r?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(r?t.substr(2):t)/100)),null==t?e:r?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,r,i){var n,o,s,a,u;return"function"==typeof t&&(t=t(g,m)),null==t?a=e:"number"==typeof t?a=t:(n=360,o=t.split("_"),s=((u="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:j)-(u?0:e),o.length&&(i&&(i[r]=e+s),-1!==t.indexOf("short")&&(s%=n)!==s%(n/2)&&(s=s<0?s+n:s-n),-1!==t.indexOf("_cw")&&s<0?s=(s+9999999999*n)%n-(s/n|0)*n:-1!==t.indexOf("ccw")&&s>0&&(s=(s-9999999999*n)%n-(s/n|0)*n)),a=e+s),a<1e-6&&a>-1e-6&&(a=0),a},ft={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]},dt=function(t,e,r){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},pt=a.parseColor=function(t,e){var r,i,n,o,s,a,u,l,h,c,f;if(t)if("number"==typeof t)r=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ft[t])r=ft[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(o=t.charAt(3))+o),r=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(r=f=t.match(_),e){if(-1!==t.indexOf("="))return t.match(b)}else s=Number(r[0])%360/360,a=Number(r[1])/100,i=2*(u=Number(r[2])/100)-(n=u<=.5?u*(a+1):u+a-u*a),r.length>3&&(r[3]=Number(r[3])),r[0]=dt(s+1/3,i,n),r[1]=dt(s,i,n),r[2]=dt(s-1/3,i,n);else r=t.match(_)||ft.transparent;r[0]=Number(r[0]),r[1]=Number(r[1]),r[2]=Number(r[2]),r.length>3&&(r[3]=Number(r[3]))}else r=ft.black;return e&&!f&&(i=r[0]/255,n=r[1]/255,o=r[2]/255,u=((l=Math.max(i,n,o))+(h=Math.min(i,n,o)))/2,l===h?s=a=0:(c=l-h,a=u>.5?c/(2-l-h):c/(l+h),s=l===i?(n-o)/c+(n<o?6:0):l===n?(o-i)/c+2:(i-n)/c+4,s*=60),r[0]=s+.5|0,r[1]=100*a+.5|0,r[2]=100*u+.5|0),r},vt=function(t,e){var r,i,n,o=t.match(yt)||[],s=0,a="";if(!o.length)return t;for(r=0;r<o.length;r++)i=o[r],s+=(n=t.substr(s,t.indexOf(i,s)-s)).length+i.length,3===(i=pt(i,e)).length&&i.push(1),a+=n+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return a+t.substr(s)},yt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in ft)yt+="|"+h+"\\b";yt=new RegExp(yt+")","gi"),a.colorStringFilter=function(t){var e,r=t[0]+" "+t[1];yt.test(r)&&(e=-1!==r.indexOf("hsl(")||-1!==r.indexOf("hsla("),t[0]=vt(t[0],e),t[1]=vt(t[1],e)),yt.lastIndex=0},s.default.defaultStringFilter||(s.default.defaultStringFilter=a.colorStringFilter);var mt=function(t,e,r,i){if(null==t)return function(t){return t};var n,o=e?(t.match(yt)||[""])[0]:"",s=t.split(o).join("").match(x)||[],a=t.substr(0,t.indexOf(s[0])),u=")"===t.charAt(t.length-1)?")":"",l=-1!==t.indexOf(" ")?" ":",",h=s.length,c=h>0?s[0].replace(_,""):"";return h?n=e?function(t){var e,f,d,p;if("number"==typeof t)t+=c;else if(i&&L.test(t)){for(p=t.replace(L,"|").split("|"),d=0;d<p.length;d++)p[d]=n(p[d]);return p.join(",")}if(e=(t.match(yt)||[o])[0],d=(f=t.split(e).join("").match(x)||[]).length,h>d--)for(;++d<h;)f[d]=r?f[(d-1)/2|0]:s[d];return a+f.join(l)+l+e+u+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,o,f;if("number"==typeof t)t+=c;else if(i&&L.test(t)){for(o=t.replace(L,"|").split("|"),f=0;f<o.length;f++)o[f]=n(o[f]);return o.join(",")}if(f=(e=t.match(x)||[]).length,h>f--)for(;++f<h;)e[f]=r?e[(f-1)/2|0]:s[f];return a+e.join(l)+u}:function(t){return t}},gt=function(t){return t=t.split(","),function(e,r,i,n,o,s,a){var u,l=(r+"").split(" ");for(a={},u=0;u<4;u++)a[t[u]]=l[u]=l[u]||l[(u-1)/2>>0];return n.parse(e,a,o,s)}},_t=(G._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,r,i,n,o,s=this.data,a=s.proxy,u=s.firstMPT;u;)e=a[u.v],u.r?e=u.r(e):e<1e-6&&e>-1e-6&&(e=0),u.t[u.p]=e,u=u._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(u=s.firstMPT,o=1===t?"e":"b";u;){if((r=u.t).type){if(1===r.type){for(n=r.xs0+r.s+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r[o]=n}}else r[o]=r.s+r.xs0;u=u._next}},function(t,e,r,i,n){this.t=t,this.p=e,this.v=r,this.r=n,i&&(i._prev=this,this._next=i)}),bt=(G._parseToProxy=function(t,e,r,i,n,o){var s,a,u,l,h,c=i,f={},d={},p=r._transform,v=B;for(r._transform=null,B=e,i=h=r.parse(t,e,i,n),B=v,o&&(r._transform=p,c&&(c._prev=null,c._prev&&(c._prev._next=null)));i&&i!==c;){if(i.type<=1&&(d[a=i.p]=i.s+i.c,f[a]=i.s,o||(l=new _t(i,"s",a,l,i.r),i.c=0),1===i.type))for(s=i.l;--s>0;)u="xn"+s,d[a=i.p+"_"+u]=i.data[u],f[a]=i[u],o||(l=new _t(i,u,a,l,i.rxp[u]));i=i._next}return{proxy:f,end:d,firstMPT:l,pt:h}},G.CSSPropTween=function(e,r,n,o,s,a,u,l,h,c,f){this.t=e,this.p=r,this.s=n,this.c=o,this.n=u||r,e instanceof bt||i.push(this.n),this.r=l?"function"==typeof l?l:Math.round:l,this.type=a||0,h&&(this.pr=h,t=!0),this.b=void 0===c?n:c,this.e=void 0===f?n+o:f,s&&(this._next=s,s._prev=this)}),xt=function(t,e,r,i,n,o){var s=new bt(t,e,r,i-r,n,-1,o);return s.b=r,s.e=s.xs0=i,s},wt=a.parseComplex=function(t,e,r,i,n,o,s,u,l,h){r=r||o||"","function"==typeof i&&(i=i(g,m)),s=new bt(t,e,0,0,s,h?2:1,null,!1,u,r,i),i+="",n&&yt.test(i+r)&&(a.colorStringFilter(i=[r,i]),r=i[0],i=i[1]);var f,d,p,v,y,x,w,T,S,E,P,O,M,A=r.split(", ").join(",").split(" "),C=i.split(", ").join(",").split(" "),R=A.length,D=!1!==c;for(-1===i.indexOf(",")&&-1===r.indexOf(",")||(-1!==(i+r).indexOf("rgb")||-1!==(i+r).indexOf("hsl")?(A=A.join(" ").replace(L,", ").split(" "),C=C.join(" ").replace(L,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),R=A.length),R!==C.length&&(R=(A=(o||"").split(" ")).length),s.plugin=l,s.setRatio=h,yt.lastIndex=0,f=0;f<R;f++)if(v=A[f],y=C[f]+"",(T=parseFloat(v))||0===T)s.appendXtra("",T,lt(y,T),y.replace(b,""),!(!D||-1===y.indexOf("px"))&&Math.round,!0);else if(n&&yt.test(v))O=")"+((O=y.indexOf(")")+1)?y.substr(O):""),M=-1!==y.indexOf("hsl")&&V,E=y,v=pt(v,M),y=pt(y,M),(S=v.length+y.length>6)&&!V&&0===y[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(C[f]).join("transparent")):(V||(S=!1),M?s.appendXtra(E.substr(0,E.indexOf("hsl"))+(S?"hsla(":"hsl("),v[0],lt(y[0],v[0]),",",!1,!0).appendXtra("",v[1],lt(y[1],v[1]),"%,",!1).appendXtra("",v[2],lt(y[2],v[2]),S?"%,":"%"+O,!1):s.appendXtra(E.substr(0,E.indexOf("rgb"))+(S?"rgba(":"rgb("),v[0],y[0]-v[0],",",Math.round,!0).appendXtra("",v[1],y[1]-v[1],",",Math.round).appendXtra("",v[2],y[2]-v[2],S?",":O,Math.round),S&&(v=v.length<4?1:v[3],s.appendXtra("",v,(y.length<4?1:y[3])-v,O,!1))),yt.lastIndex=0;else if(x=v.match(_)){if(!(w=y.match(b))||w.length!==x.length)return s;for(p=0,d=0;d<x.length;d++)P=x[d],E=v.indexOf(P,p),s.appendXtra(v.substr(p,E-p),Number(P),lt(w[d],P),"",!(!D||"px"!==v.substr(E+P.length,2))&&Math.round,0===d),p=E+P.length;s["xs"+s.l]+=v.substr(p)}else s["xs"+s.l]+=s.l||s["xs"+s.l]?" "+y:y;if(-1!==i.indexOf("=")&&s.data){for(O=s.xs0+s.data.s,f=1;f<s.l;f++)O+=s["xs"+f]+s.data["xn"+f];s.e=O+s["xs"+f]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},Tt=9;for((h=bt.prototype).l=h.pr=0;--Tt>0;)h["xn"+Tt]=0,h["xs"+Tt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,r,i,n,o){var s=this,a=s.l;return s["xs"+a]+=o&&(a||s["xs"+a])?" "+t:t||"",r||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=i||"",a>0?(s.data["xn"+a]=e+r,s.rxp["xn"+a]=n,s["xn"+a]=e,s.plugin||(s.xfirst=new bt(s,"xn"+a,e,r,s.xfirst||s,0,s.n,n,s.pr),s.xfirst.xs0=0),s):(s.data={s:e+r},s.rxp={},s.s=e,s.c=r,s.r=n,s)):(s["xs"+a]+=e+(i||""),s)};var St=function(t,e){e=e||{},this.p=e.prefix&&J(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||mt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},Et=G._registerComplexSpecialProp=function(t,e,r){"object"!==(void 0===e?"undefined":n(e))&&(e={parser:r});var i,o=t.split(","),s=e.defaultValue;for(r=r||[s],i=0;i<o.length;i++)e.prefix=0===i&&e.prefix,e.defaultValue=r[i]||s,new St(o[i],e)},Pt=G._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Et(t,{parser:function(t,r,i,n,o,s,a){var h=u.com.greensock.plugins[e];return h?(h._cssRegister(),l[i].parse(t,r,i,n,o,s,a)):(Q(),o)}})}};(h=St.prototype).parseComplex=function(t,e,r,i,n,o){var s,a,u,l,h,c,f=this.keyword;if(this.multi&&(L.test(r)||L.test(e)?(a=e.replace(L,"|").split("|"),u=r.replace(L,"|").split("|")):f&&(a=[e],u=[r])),u){for(l=u.length>a.length?u.length:a.length,s=0;s<l;s++)e=a[s]=a[s]||this.dflt,r=u[s]=u[s]||this.dflt,f&&(h=e.indexOf(f))!==(c=r.indexOf(f))&&(-1===c?a[s]=a[s].split(f).join(""):-1===h&&(a[s]+=" "+f));e=a.join(", "),r=u.join(", ")}return wt(t,this.p,e,r,this.clrs,this.dflt,i,this.pr,n,o)},h.parse=function(t,e,i,n,o,s,a){return this.parseComplex(t.style,this.format(tt(t,this.p,r,!1,this.dflt)),this.format(e),o,s)},a.registerSpecialProp=function(t,e,r){Et(t,{parser:function(t,i,n,o,s,a,u){var l=new bt(t,n,0,0,s,2,n,!1,r);return l.plugin=a,l.setRatio=e(t,i,o._tween,n),l},priority:r})},a.useSVGTransformAttr=!0;var Ot,Mt,At,Ct,Rt,Dt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),It=J("transform"),kt=Z+"transform",Lt=J("transformOrigin"),Ft=null!==J("perspective"),Nt=G.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Ft)&&(a.defaultForce3D||"auto")},jt=o._gsScope.SVGElement,Bt=function(t,e,r){var i,n=X.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in r)n.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),r[i]);return e.appendChild(n),n},Ut=X.documentElement||{},Xt=(Rt=y||/Android/i.test(Y)&&!o._gsScope.chrome,X.createElementNS&&!Rt&&(Mt=Bt("svg",Ut),Ct=(At=Bt("rect",Mt,{width:100,height:50,x:100})).getBoundingClientRect().width,At.style[Lt]="50% 50%",At.style[It]="scaleX(0.5)",Rt=Ct===At.getBoundingClientRect().width&&!(p&&Ft),Ut.removeChild(Mt)),Rt),Wt=function(t,e,r,i,n,o){var s,u,l,h,c,f,d,p,v,y,m,g,_,b,x=t._gsTransform,w=Yt(t,!0);x&&(_=x.xOrigin,b=x.yOrigin),(!i||(s=i.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=ut(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]),r.xOrigin=h=parseFloat(s[0]),r.yOrigin=c=parseFloat(s[1]),i&&w!==Gt&&(f=w[0],d=w[1],p=w[2],v=w[3],y=w[4],m=w[5],(g=f*v-d*p)&&(u=h*(v/g)+c*(-p/g)+(p*m-v*y)/g,l=h*(-d/g)+c*(f/g)-(f*m-d*y)/g,h=r.xOrigin=s[0]=u,c=r.yOrigin=s[1]=l)),x&&(o&&(r.xOffset=x.xOffset,r.yOffset=x.yOffset,x=r),n||!1!==n&&!1!==a.defaultSmoothOrigin?(u=h-_,l=c-b,x.xOffset+=u*w[0]+l*w[2]-u,x.yOffset+=u*w[1]+l*w[3]-l):x.xOffset=x.yOffset=0),o||t.setAttribute("data-svg-origin",s.join(" "))},Ht=function(t){try{return t.getBBox()}catch(e){return function t(e){var r,i=W("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Ut.appendChild(i),i.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=t}catch(t){}else this._originalGetBBox&&(r=this._originalGetBBox());return o?n.insertBefore(this,o):n.appendChild(this),Ut.removeChild(i),this.style.cssText=s,r}.call(t,!0)}},zt=function(t){return!(!jt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Ht(t))},Gt=[1,0,0,1,0,0],Yt=function(t,e){var r,i,n,o,s,a,u=t._gsTransform||new Nt,l=t.style;if(It?i=tt(t,kt,null,!0):t.currentStyle&&(i=(i=t.currentStyle.filter.match(I))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),u.x||0,u.y||0].join(","):""),r=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,!It||!(a=!$(t)||"none"===$(t).display)&&t.parentNode||(a&&(o=l.display,l.display="block"),t.parentNode||(s=1,Ut.appendChild(t)),r=!(i=tt(t,kt,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,o?l.display=o:a&&Kt(l,"display"),s&&Ut.removeChild(t)),(u.svg||t.getCTM&&zt(t))&&(r&&-1!==(l[It]+"").indexOf("matrix")&&(i=l[It],r=0),n=t.getAttribute("transform"),r&&n&&(i="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",r=0)),r)return Gt;for(n=(i||"").match(_)||[],Tt=n.length;--Tt>-1;)o=Number(n[Tt]),n[Tt]=(s=o-(o|=0))?(1e5*s+(s<0?-.5:.5)|0)/1e5+o:o;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Vt=G.getTransform=function(t,e,r,i){if(t._gsTransform&&r&&!i)return t._gsTransform;var n,o,u,l,h,c,f=r&&t._gsTransform||new Nt,d=f.scaleX<0,p=Ft&&(parseFloat(tt(t,Lt,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,v=parseFloat(a.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!zt(t)),f.svg&&(Wt(t,tt(t,Lt,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=a.useSVGTransformAttr||Xt),(n=Yt(t))!==Gt){if(16===n.length){var y,m,g,_,b,x=n[0],w=n[1],T=n[2],S=n[3],E=n[4],P=n[5],O=n[6],M=n[7],A=n[8],C=n[9],R=n[10],D=n[12],I=n[13],k=n[14],L=n[11],F=Math.atan2(O,R);f.zOrigin&&(D=A*(k=-f.zOrigin)-n[12],I=C*k-n[13],k=R*k+f.zOrigin-n[14]),f.rotationX=F*j,F&&(y=E*(_=Math.cos(-F))+A*(b=Math.sin(-F)),m=P*_+C*b,g=O*_+R*b,A=E*-b+A*_,C=P*-b+C*_,R=O*-b+R*_,L=M*-b+L*_,E=y,P=m,O=g),F=Math.atan2(-T,R),f.rotationY=F*j,F&&(m=w*(_=Math.cos(-F))-C*(b=Math.sin(-F)),g=T*_-R*b,C=w*b+C*_,R=T*b+R*_,L=S*b+L*_,x=y=x*_-A*b,w=m,T=g),F=Math.atan2(w,x),f.rotation=F*j,F&&(y=x*(_=Math.cos(F))+w*(b=Math.sin(F)),m=E*_+P*b,g=A*_+C*b,w=w*_-x*b,P=P*_-E*b,C=C*_-A*b,x=y,E=m,A=g),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),F=Math.atan2(E,P),f.scaleX=(1e5*Math.sqrt(x*x+w*w+T*T)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(P*P+O*O)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+R*R)+.5|0)/1e5,x/=f.scaleX,E/=f.scaleY,w/=f.scaleX,P/=f.scaleY,Math.abs(F)>2e-5?(f.skewX=F*j,E=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(F))):f.skewX=0,f.perspective=L?1/(L<0?-L:L):0,f.x=D,f.y=I,f.z=k,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*x-f.yOrigin*E),f.y-=f.yOrigin-(f.yOrigin*w-f.xOrigin*P))}else if(!Ft||i||!n.length||f.x!==n[4]||f.y!==n[5]||!f.rotationX&&!f.rotationY){var N=n.length>=6,B=N?n[0]:1,U=n[1]||0,X=n[2]||0,W=N?n[3]:1;f.x=n[4]||0,f.y=n[5]||0,u=Math.sqrt(B*B+U*U),l=Math.sqrt(W*W+X*X),h=B||U?Math.atan2(U,B)*j:f.rotation||0,c=X||W?Math.atan2(X,W)*j+h:f.skewX||0,f.scaleX=u,f.scaleY=l,f.rotation=h,f.skewX=c,Ft&&(f.rotationX=f.rotationY=f.z=0,f.perspective=v,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*B+f.yOrigin*X),f.y-=f.yOrigin-(f.xOrigin*U+f.yOrigin*W))}for(o in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(d?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=p,f)f[o]<2e-5&&f[o]>-2e-5&&(f[o]=0)}return r&&(t._gsTransform=f,f.svg&&(Ot&&t.style[It]?s.default.delayedCall(.001,function(){Kt(t.style,It)}):!Ot&&t.getAttribute("transform")&&s.default.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},qt=function(t){var e,r,i=this.data,n=-i.rotation*N,o=n+i.skewX*N,s=(Math.cos(n)*i.scaleX*1e5|0)/1e5,a=(Math.sin(n)*i.scaleX*1e5|0)/1e5,u=(Math.sin(o)*-i.scaleY*1e5|0)/1e5,l=(Math.cos(o)*i.scaleY*1e5|0)/1e5,h=this.t.style,c=this.t.currentStyle;if(c){r=a,a=-u,u=-r,e=c.filter,h.filter="";var f,d,p=this.t.offsetWidth,v=this.t.offsetHeight,m="absolute"!==c.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+a+", M21="+u+", M22="+l,_=i.x+p*i.xPercent/100,b=i.y+v*i.yPercent/100;if(null!=i.ox&&(_+=(f=(i.oxp?p*i.ox*.01:i.ox)-p/2)-(f*s+(d=(i.oyp?v*i.oy*.01:i.oy)-v/2)*a),b+=d-(f*u+d*l)),g+=m?", Dx="+((f=p/2)-(f*s+(d=v/2)*a)+_)+", Dy="+(d-(f*u+d*l)+b)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(k,g):h.filter=g+" "+e,0!==t&&1!==t||1===s&&0===a&&0===u&&1===l&&(m&&-1===g.indexOf("Dx=0, Dy=0")||S.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!m){var x,w,E,P=y<8?1:-1;for(f=i.ieOffsetX||0,d=i.ieOffsetY||0,i.ieOffsetX=Math.round((p-((s<0?-s:s)*p+(a<0?-a:a)*v))/2+_),i.ieOffsetY=Math.round((v-((l<0?-l:l)*v+(u<0?-u:u)*p))/2+b),Tt=0;Tt<4;Tt++)E=(r=-1!==(x=c[w=st[Tt]]).indexOf("px")?parseFloat(x):et(this.t,w,parseFloat(x),x.replace(T,""))||0)!==i[w]?Tt<2?-i.ieOffsetX:-i.ieOffsetY:Tt<2?f-i.ieOffsetX:d-i.ieOffsetY,h[w]=(i[w]=Math.round(r-E*(0===Tt||2===Tt?1:P)))+"px"}}},Qt=G.set3DTransformRatio=G.setTransformRatio=function(t){var e,r,i,n,o,s,a,u,l,h,c,f,d,v,y,m,g,_,b,x,w,T=this.data,S=this.t.style,E=T.rotation,P=T.rotationX,O=T.rotationY,M=T.scaleX,A=T.scaleY,C=T.scaleZ,R=T.x,D=T.y,I=T.z,k=T.svg,L=T.perspective,F=T.force3D,j=T.skewY,B=T.skewX;if(j&&(B+=j,E+=j),!((1!==t&&0!==t||"auto"!==F||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&F||I||L||O||P||1!==C)||Ot&&k||!Ft)E||B||k?(E*=N,x=B*N,w=1e5,r=Math.cos(E)*M,o=Math.sin(E)*M,i=Math.sin(E-x)*-A,s=Math.cos(E-x)*A,x&&"simple"===T.skewType&&(e=Math.tan(x-j*N),i*=e=Math.sqrt(1+e*e),s*=e,j&&(e=Math.tan(j*N),r*=e=Math.sqrt(1+e*e),o*=e)),k&&(R+=T.xOrigin-(T.xOrigin*r+T.yOrigin*i)+T.xOffset,D+=T.yOrigin-(T.xOrigin*o+T.yOrigin*s)+T.yOffset,Ot&&(T.xPercent||T.yPercent)&&(y=this.t.getBBox(),R+=.01*T.xPercent*y.width,D+=.01*T.yPercent*y.height),R<(y=1e-6)&&R>-y&&(R=0),D<y&&D>-y&&(D=0)),b=(r*w|0)/w+","+(o*w|0)/w+","+(i*w|0)/w+","+(s*w|0)/w+","+R+","+D+")",k&&Ot?this.t.setAttribute("transform","matrix("+b):S[It]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+b):S[It]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+M+",0,0,"+A+","+R+","+D+")";else{if(p&&(M<(y=1e-4)&&M>-y&&(M=C=2e-5),A<y&&A>-y&&(A=C=2e-5),!L||T.z||T.rotationX||T.rotationY||(L=0)),E||B)E*=N,m=r=Math.cos(E),g=o=Math.sin(E),B&&(E-=B*N,m=Math.cos(E),g=Math.sin(E),"simple"===T.skewType&&(e=Math.tan((B-j)*N),m*=e=Math.sqrt(1+e*e),g*=e,T.skewY&&(e=Math.tan(j*N),r*=e=Math.sqrt(1+e*e),o*=e))),i=-g,s=m;else{if(!(O||P||1!==C||L||k))return void(S[It]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) translate3d(":"translate3d(")+R+"px,"+D+"px,"+I+"px)"+(1!==M||1!==A?" scale("+M+","+A+")":""));r=s=1,i=o=0}h=1,n=a=u=l=c=f=0,d=L?-1/L:0,v=T.zOrigin,y=1e-6,",","0",(E=O*N)&&(m=Math.cos(E),u=-(g=Math.sin(E)),c=d*-g,n=r*g,a=o*g,h=m,d*=m,r*=m,o*=m),(E=P*N)&&(e=i*(m=Math.cos(E))+n*(g=Math.sin(E)),_=s*m+a*g,l=h*g,f=d*g,n=i*-g+n*m,a=s*-g+a*m,h*=m,d*=m,i=e,s=_),1!==C&&(n*=C,a*=C,h*=C,d*=C),1!==A&&(i*=A,s*=A,l*=A,f*=A),1!==M&&(r*=M,o*=M,u*=M,c*=M),(v||k)&&(v&&(R+=n*-v,D+=a*-v,I+=h*-v+v),k&&(R+=T.xOrigin-(T.xOrigin*r+T.yOrigin*i)+T.xOffset,D+=T.yOrigin-(T.xOrigin*o+T.yOrigin*s)+T.yOffset),R<y&&R>-y&&(R="0"),D<y&&D>-y&&(D="0"),I<y&&I>-y&&(I=0)),b=T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix3d(":"matrix3d(",b+=(r<y&&r>-y?"0":r)+","+(o<y&&o>-y?"0":o)+","+(u<y&&u>-y?"0":u),b+=","+(c<y&&c>-y?"0":c)+","+(i<y&&i>-y?"0":i)+","+(s<y&&s>-y?"0":s),P||O||1!==C?(b+=","+(l<y&&l>-y?"0":l)+","+(f<y&&f>-y?"0":f)+","+(n<y&&n>-y?"0":n),b+=","+(a<y&&a>-y?"0":a)+","+(h<y&&h>-y?"0":h)+","+(d<y&&d>-y?"0":d)+","):b+=",0,0,0,0,1,0,",b+=R+","+D+","+I+","+(L?1+-I/L:1)+")",S[It]=b}};(h=Nt.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Et("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,o,s,u,l){if(o._lastParsedTransform===l)return s;o._lastParsedTransform=l;var h,c=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(h=l[i],l[i]=e),c&&(l.scale=c(g,t));var f,d,p,v,y,_,b,x,w,T=t._gsTransform,S=t.style,E=Dt.length,P=l,O={},M=Vt(t,r,!0,P.parseTransform),A=P.transform&&("function"==typeof P.transform?P.transform(g,m):P.transform);if(M.skewType=P.skewType||M.skewType||a.defaultSkewType,o._transform=M,"rotationZ"in P&&(P.rotation=P.rotationZ),A&&"string"==typeof A&&It)(d=H.style)[It]=A,d.display="block",d.position="absolute",-1!==A.indexOf("%")&&(d.width=tt(t,"width"),d.height=tt(t,"height")),X.body.appendChild(H),f=Vt(H,null,!1),"simple"===M.skewType&&(f.scaleY*=Math.cos(f.skewX*N)),M.svg&&(_=M.xOrigin,b=M.yOrigin,f.x-=M.xOffset,f.y-=M.yOffset,(P.transformOrigin||P.svgOrigin)&&(A={},Wt(t,ut(P.transformOrigin),A,P.svgOrigin,P.smoothOrigin,!0),_=A.xOrigin,b=A.yOrigin,f.x-=A.xOffset-M.xOffset,f.y-=A.yOffset-M.yOffset),(_||b)&&(x=Yt(H,!0),f.x-=_-(_*x[0]+b*x[2]),f.y-=b-(_*x[1]+b*x[3]))),X.body.removeChild(H),f.perspective||(f.perspective=M.perspective),null!=P.xPercent&&(f.xPercent=ht(P.xPercent,M.xPercent)),null!=P.yPercent&&(f.yPercent=ht(P.yPercent,M.yPercent));else if("object"===(void 0===P?"undefined":n(P))){if(f={scaleX:ht(null!=P.scaleX?P.scaleX:P.scale,M.scaleX),scaleY:ht(null!=P.scaleY?P.scaleY:P.scale,M.scaleY),scaleZ:ht(P.scaleZ,M.scaleZ),x:ht(P.x,M.x),y:ht(P.y,M.y),z:ht(P.z,M.z),xPercent:ht(P.xPercent,M.xPercent),yPercent:ht(P.yPercent,M.yPercent),perspective:ht(P.transformPerspective,M.perspective)},null!=(y=P.directionalRotation))if("object"===(void 0===y?"undefined":n(y)))for(d in y)P[d]=y[d];else P.rotation=y;"string"==typeof P.x&&-1!==P.x.indexOf("%")&&(f.x=0,f.xPercent=ht(P.x,M.xPercent)),"string"==typeof P.y&&-1!==P.y.indexOf("%")&&(f.y=0,f.yPercent=ht(P.y,M.yPercent)),f.rotation=ct("rotation"in P?P.rotation:"shortRotation"in P?P.shortRotation+"_short":M.rotation,M.rotation,"rotation",O),Ft&&(f.rotationX=ct("rotationX"in P?P.rotationX:"shortRotationX"in P?P.shortRotationX+"_short":M.rotationX||0,M.rotationX,"rotationX",O),f.rotationY=ct("rotationY"in P?P.rotationY:"shortRotationY"in P?P.shortRotationY+"_short":M.rotationY||0,M.rotationY,"rotationY",O)),f.skewX=ct(P.skewX,M.skewX),f.skewY=ct(P.skewY,M.skewY)}for(Ft&&null!=P.force3D&&(M.force3D=P.force3D,v=!0),(p=M.force3D||M.z||M.rotationX||M.rotationY||f.z||f.rotationX||f.rotationY||f.perspective)||null==P.scale||(f.scaleZ=1);--E>-1;)((A=f[w=Dt[E]]-M[w])>1e-6||A<-1e-6||null!=P[w]||null!=B[w])&&(v=!0,s=new bt(M,w,M[w],A,s),w in O&&(s.e=O[w]),s.xs0=0,s.plugin=u,o._overwriteProps.push(s.n));return A=P.transformOrigin,M.svg&&(A||P.svgOrigin)&&(_=M.xOffset,b=M.yOffset,Wt(t,ut(A),f,P.svgOrigin,P.smoothOrigin),s=xt(M,"xOrigin",(T?M:f).xOrigin,f.xOrigin,s,"transformOrigin"),s=xt(M,"yOrigin",(T?M:f).yOrigin,f.yOrigin,s,"transformOrigin"),_===M.xOffset&&b===M.yOffset||(s=xt(M,"xOffset",T?_:M.xOffset,M.xOffset,s,"transformOrigin"),s=xt(M,"yOffset",T?b:M.yOffset,M.yOffset,s,"transformOrigin")),A="0px 0px"),(A||Ft&&p&&M.zOrigin)&&(It?(v=!0,w=Lt,A=(A||tt(t,w,r,!1,"50% 50%"))+"",(s=new bt(S,w,0,0,s,-1,"transformOrigin")).b=S[w],s.plugin=u,Ft?(d=M.zOrigin,A=A.split(" "),M.zOrigin=(A.length>2&&(0===d||"0px"!==A[2])?parseFloat(A[2]):d)||0,s.xs0=s.e=A[0]+" "+(A[1]||"50%")+" 0px",(s=new bt(M,"zOrigin",0,0,s,-1,s.n)).b=d,s.xs0=s.e=M.zOrigin):s.xs0=s.e=A):ut(A+"",M)),v&&(o._transformType=M.svg&&Ot||!p&&3!==this._transformType?2:3),h&&(l[i]=h),c&&(l.scale=c),s},prefix:!0}),Et("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Et("borderRadius",{defaultValue:"0px",parser:function(t,i,n,o,s,a){i=this.format(i);var u,l,h,c,f,d,p,v,y,m,g,_,b,x,w,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],E=t.style;for(y=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),u=i.split(" "),l=0;l<S.length;l++)this.p.indexOf("border")&&(S[l]=J(S[l])),-1!==(f=c=tt(t,S[l],r,!1,"0px")).indexOf(" ")&&(f=(c=f.split(" "))[0],c=c[1]),d=h=u[l],p=parseFloat(f),_=f.substr((p+"").length),(b="="===d.charAt(1))?(v=parseInt(d.charAt(0)+"1",10),d=d.substr(2),v*=parseFloat(d),g=d.substr((v+"").length-(v<0?1:0))||""):(v=parseFloat(d),g=d.substr((v+"").length)),""===g&&(g=e[n]||_),g!==_&&(x=et(t,"borderLeft",p,_),w=et(t,"borderTop",p,_),"%"===g?(f=x/y*100+"%",c=w/m*100+"%"):"em"===g?(f=x/(T=et(t,"borderLeft",1,"em"))+"em",c=w/T+"em"):(f=x+"px",c=w+"px"),b&&(d=parseFloat(f)+v+g,h=parseFloat(c)+v+g)),s=wt(E,S[l],f+" "+c,d+" "+h,!1,"0px",s);return s},prefix:!0,formatter:mt("0px 0px 0px 0px",!1,!0)}),Et("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,o,s){return wt(t.style,i,this.format(tt(t,i,r,!1,"0px 0px")),this.format(e),!1,"0px",o)},prefix:!0,formatter:mt("0px 0px",!1,!0)}),Et("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,o,s){var a,u,l,h,c,f,d="background-position",p=r||$(t,null),v=this.format((p?y?p.getPropertyValue(d+"-x")+" "+p.getPropertyValue(d+"-y"):p.getPropertyValue(d):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==v.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&(f=tt(t,"backgroundImage").replace(C,""))&&"none"!==f){for(a=v.split(" "),u=m.split(" "),z.setAttribute("src",f),l=2;--l>-1;)(h=-1!==(v=a[l]).indexOf("%"))!==(-1!==u[l].indexOf("%"))&&(c=0===l?t.offsetWidth-z.width:t.offsetHeight-z.height,a[l]=h?parseFloat(v)/100*c+"px":parseFloat(v)/c*100+"%");v=a.join(" ")}return this.parseComplex(t.style,v,m,o,s)},formatter:ut}),Et("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ut(-1===t.indexOf(" ")?t+" "+t:t)}}),Et("perspective",{defaultValue:"0px",prefix:!0}),Et("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Et("transformStyle",{prefix:!0}),Et("backfaceVisibility",{prefix:!0}),Et("userSelect",{prefix:!0}),Et("margin",{parser:gt("marginTop,marginRight,marginBottom,marginLeft")}),Et("padding",{parser:gt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Et("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,o,s){var a,u,l;return y<9?(u=t.currentStyle,l=y<8?" ":",",a="rect("+u.clipTop+l+u.clipRight+l+u.clipBottom+l+u.clipLeft+")",e=this.format(e).split(",").join(l)):(a=this.format(tt(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,s)}}),Et("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Et("autoRound,strictUnits",{parser:function(t,e,r,i,n){return n}}),Et("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,o,s){var a=tt(t,"borderTopWidth",r,!1,"0px"),u=this.format(e).split(" "),l=u[0].replace(T,"");return"px"!==l&&(a=parseFloat(a)/et(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(a+" "+tt(t,"borderTopStyle",r,!1,"solid")+" "+tt(t,"borderTopColor",r,!1,"#000")),u.join(" "),o,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(yt)||["#000"])[0]}}),Et("borderWidth",{parser:gt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Et("float,cssFloat,styleFloat",{parser:function(t,e,r,i,n,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new bt(s,a,0,0,n,-1,r,!1,0,s[a],e)}});var Zt=function(t){var e,r=this.t,i=r.filter||tt(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(r.removeAttribute("filter"),e=!tt(this.data,"filter")):(r.filter=i.replace(P,""),e=!0)),e||(this.xn1&&(r.filter=i=i||"alpha(opacity="+n+")"),-1===i.indexOf("pacity")?0===n&&this.xn1||(r.filter=i+" alpha(opacity="+n+")"):r.filter=i.replace(S,"opacity="+n))};Et("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,o,s){var a=parseFloat(tt(t,"opacity",r,!1,"1")),u=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),l&&1===a&&"hidden"===tt(t,"visibility",r)&&0!==e&&(a=0),V?o=new bt(u,"opacity",a,e-a,o):((o=new bt(u,"opacity",100*a,100*(e-a),o)).xn1=l?1:0,u.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=s,o.setRatio=Zt),l&&((o=new bt(u,"visibility",0,0,o,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(o.n),n._overwriteProps.push(i)),o}});var Kt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(M,"-$1").toLowerCase())):t.removeAttribute(e))},Jt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,r=this.t.style;e;)e.v?r[e.p]=e.v:Kt(r,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Et("className",{parser:function(e,i,n,o,s,a,u){var l,h,c,f,d,p=e.getAttribute("class")||"",v=e.style.cssText;if((s=o._classNamePT=new bt(e,n,0,0,s,2)).setRatio=Jt,s.pr=-11,t=!0,s.b=p,h=it(e,r),c=e._gsClassPT){for(f={},d=c.data;d;)f[d.p]=1,d=d._next;c.setRatio(1)}return e._gsClassPT=s,s.e="="!==i.charAt(1)?i:p.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",s.e),l=nt(e,h,it(e),u,f),e.setAttribute("class",p),s.data=l.firstMPT,e.style.cssText=v,s=s.xfirst=o.parse(e,l.difs,s,a)}});var $t=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,r,i,n,o,s=this.t.style,a=l.transform.parse;if("all"===this.e)s.cssText="",n=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)r=e[i],l[r]&&(l[r].parse===a?n=!0:r="transformOrigin"===r?Lt:l[r].p),Kt(s,r);n&&(Kt(s,It),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Et("clearProps",{parser:function(e,r,i,n,o){return(o=new bt(e,i,0,0,o,2)).setRatio=$t,o.e=r,o.pr=-10,o.data=n._tween,t=!0,o}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Tt=h.length;Tt--;)Pt(h[Tt]);(h=a.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(n,o,s,u){if(!n.nodeType)return!1;this._target=m=n,this._tween=s,this._vars=o,g=u,c=o.autoRound,t=!1,e=o.suffixMap||a.suffixMap,r=$(n,""),i=this._overwriteProps;var h,p,y,_,b,x,w,T,S,P=n.style;if(f&&""===P.zIndex&&("auto"!==(h=tt(n,"zIndex",r))&&""!==h||this._addLazySet(P,"zIndex",0)),"string"==typeof o&&(_=P.cssText,h=it(n,r),P.cssText=_+";"+o,h=nt(n,h,it(n)).difs,!V&&E.test(o)&&(h.opacity=parseFloat(RegExp.$1)),o=h,P.cssText=_),o.className?this._firstPT=p=l.className.parse(n,o.className,"className",this,null,null,o):this._firstPT=p=this.parse(n,o,null),this._transformType){for(S=3===this._transformType,It?d&&(f=!0,""===P.zIndex&&("auto"!==(w=tt(n,"zIndex",r))&&""!==w||this._addLazySet(P,"zIndex",0)),v&&this._addLazySet(P,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(S?"visible":"hidden"))):P.zoom=1,y=p;y&&y._next;)y=y._next;T=new bt(n,"transform",0,0,null,2),this._linkCSSP(T,null,y),T.setRatio=It?Qt:qt,T.data=this._transform||Vt(n,r,!0),T.tween=s,T.pr=-1,i.pop()}if(t){for(;p;){for(x=p._next,y=_;y&&y.pr>p.pr;)y=y._next;(p._prev=y?y._prev:b)?p._prev._next=p:_=p,(p._next=y)?y._prev=p:b=p,p=x}this._firstPT=_}return!0},h.parse=function(t,i,n,o){var s,a,u,h,f,d,p,v,y,_,b=t.style;for(s in i){if("function"==typeof(d=i[s])&&(d=d(g,m)),a=l[s])n=a.parse(t,d,s,this,n,o,i);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",$(t).getPropertyValue(s)+"",d+"",s,!1,s);continue}f=tt(t,s,r)+"",y="string"==typeof d,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||y&&O.test(d)?(y||(d=((d=pt(d)).length>3?"rgba(":"rgb(")+d.join(",")+")"),n=wt(b,s,f,d,!0,"transparent",n,0,o)):y&&F.test(d)?n=wt(b,s,f,d,!0,null,n,0,o):(p=(u=parseFloat(f))||0===u?f.substr((u+"").length):"",""!==f&&"auto"!==f||("width"===s||"height"===s?(u=at(t,s,r),p="px"):"left"===s||"top"===s?(u=rt(t,s,r),p="px"):(u="opacity"!==s?0:1,p="")),(_=y&&"="===d.charAt(1))?(h=parseInt(d.charAt(0)+"1",10),d=d.substr(2),h*=parseFloat(d),v=d.replace(T,"")):(h=parseFloat(d),v=y?d.replace(T,""):""),""===v&&(v=s in e?e[s]:p),d=h||0===h?(_?h+u:h)+v:i[s],p!==v&&(""===v&&"lineHeight"!==s||(h||0===h)&&u&&(u=et(t,s,u,p),"%"===v?(u/=et(t,s,100,"%")/100,!0!==i.strictUnits&&(f=u+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?u/=et(t,s,1,v):"px"!==v&&(h=et(t,s,h,v),v="px"),_&&(h||0===h)&&(d=h+u+v))),_&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==b[s]&&(d||d+""!="NaN"&&null!=d)?(n=new bt(b,s,h||u||0,0,n,-1,s,!1,0,f,d)).xs0="none"!==d||"display"!==s&&-1===s.indexOf("Style")?d:f:Q(i[s]):(n=new bt(b,s,u,h-u,n,0,s,!1!==c&&("px"===v||"zIndex"===s),0,f,d)).xs0=v)}o&&n&&!n.plugin&&(n.plugin=o)}return n},h.setRatio=function(t){var e,r,i,n=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(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):e<1e-6&&e>-1e-6&&(e=0),n.type)if(1===n.type)if(2===(i=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===i)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===i)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===i)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(r=n.xs0+e+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n.t[n.p]=r}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(i=n.l,r=n.xs0+e+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n.t[n.p]=r}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},h._enableTransforms=function(t){this._transform=this._transform||Vt(this._target,r,!0),this._transformType=this._transform.svg&&Ot||!t&&3!==this._transformType?2:3};var te=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,r){var i=this._firstPT=new bt(t,e,0,0,this._firstPT,2);i.e=r,i.setRatio=te,i.data=this},h._linkCSSP=function(t,e,r,i){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,i=!0),r?r._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=r),t},h._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},h._kill=function(t){var e,r,i,n=t;if(t.autoAlpha||t.alpha){for(r in n={},t)n[r]=t[r];n.opacity=1,n.autoAlpha&&(n.visibility=1)}for(t.className&&(e=this._classNamePT)&&((i=e.xfirst)&&i._prev?this._linkCSSP(i._prev,e._next,i._prev._prev):i===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,i._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==r&&e.plugin._kill&&(e.plugin._kill(t),r=e.plugin),e=e._next;return o.TweenPlugin.prototype._kill.call(this,n)};var ee=function t(e,r,i){var n,o,s,a;if(e.slice)for(o=e.length;--o>-1;)t(e[o],r,i);else for(o=(n=e.childNodes).length;--o>-1;)a=(s=n[o]).type,s.style&&(r.push(it(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||t(s,r,i)};return a.cascadeTo=function(t,e,r){var i,n,o,a,u=s.default.to(t,e,r),l=[u],h=[],c=[],f=[],d=s.default._internals.reservedProps;for(t=u._targets||u.target,ee(t,h,f),u.render(e,!0,!0),ee(t,c),u.render(0,!0,!0),u._enabled(!0),i=f.length;--i>-1;)if((n=nt(f[i],h[i],c[i])).firstMPT){for(o in n=n.difs,r)d[o]&&(n[o]=r[o]);for(o in a={},n)a[o]=h[i][o];l.push(s.default.fromTo(f[i],e,a,n))}return l},o.TweenPlugin.activate([a]),a},!0);var a=e.CSSPlugin=o.globals.CSSPlugin;e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.AttrPlugin=void 0;var i=r(20),n=e.AttrPlugin=i._gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,r,i){var n,o;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(o=e[n])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",o+"",n,!1,n),this._overwriteProps.push(n);return!0}});e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.p=e._roundLinkedList=e._getRoundFunc=e.RoundPropsPlugin=void 0;var i="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},n=r(20),o=e.RoundPropsPlugin=n._gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,r){return this._tween=r,!0}}),s=e._getRoundFunc=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(r){return(Math.round(r/t)*t*e|0)/e}},a=e._roundLinkedList=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},u=e.p=o.prototype;u._onInitAllProps=function(){var t,e,r,n,o=this._tween,u=o.vars.roundProps,l={},h=o._propLookup.roundProps;if("object"!==(void 0===u?"undefined":i(u))||u.push)for("string"==typeof u&&(u=u.split(",")),r=u.length;--r>-1;)l[u[r]]=Math.round;else for(n in u)l[n]=s(u[n]);for(n in l)for(t=o._firstPT;t;)e=t._next,t.pg?t.t._mod(l):t.n===n&&(2===t.f&&t.t?a(t.t._firstPT,l[n]):(this._add(t.t,n,t.s,t.c,l[n]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:o._firstPT===t&&(o._firstPT=e),t._next=t._prev=null,o._propLookup[n]=h)),t=e;return!1},u._add=function(t,e,r,i,n){this._addTween(t,e,r,r+i,e,n||Math.round),this._overwriteProps.push(e)},e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DirectionalRotationPlugin=void 0;var i="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},n=r(20),o=e.DirectionalRotationPlugin=n._gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,r,n){"object"!==(void 0===e?"undefined":i(e))&&(e={rotation:e}),this.finals={};var o,s,a,u,l,h,c=!0===e.useRadians?2*Math.PI:360;for(o in e)"useRadians"!==o&&("function"==typeof(u=e[o])&&(u=u(n,t)),s=(h=(u+"").split("_"))[0],a=parseFloat("function"!=typeof t[o]?t[o]:t[o.indexOf("set")||"function"!=typeof t["get"+o.substr(3)]?o:"get"+o.substr(3)]()),l=(u=this.finals[o]="string"==typeof s&&"="===s.charAt(1)?a+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-a,h.length&&(-1!==(s=h.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==s.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,o,a,a+l,o),this._overwriteProps.push(o)));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}});o._autoCSS=!0,e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BezierPlugin=void 0;var i=r(20),n=180/Math.PI,o=[],s=[],a=[],u={},l=i._gsScope._gsDefine.globals,h=function(t,e,r,i){r===i&&(r=i-(i-e)/1e6),t===e&&(e=t+(r-t)/1e6),this.a=t,this.b=e,this.c=r,this.d=i,this.da=i-t,this.ca=r-t,this.ba=e-t},c=function(t,e,r,i){var n={a:t},o={},s={},a={c:i},u=(t+e)/2,l=(e+r)/2,h=(r+i)/2,c=(u+l)/2,f=(l+h)/2,d=(f-c)/8;return n.b=u+(t-u)/4,o.b=c+d,n.c=o.a=(n.b+o.b)/2,o.c=s.a=(c+f)/2,s.b=f-d,a.b=h+(i-h)/4,s.c=a.a=(s.b+a.b)/2,[n,o,s,a]},f=function(t,e,r,i,n){var u,l,h,f,d,p,v,y,m,g,_,b,x,w=t.length-1,T=0,S=t[0].a;for(u=0;u<w;u++)l=(d=t[T]).a,h=d.d,f=t[T+1].d,n?(_=o[u],x=((b=s[u])+_)*e*.25/(i?.5:a[u]||.5),y=h-((p=h-(h-l)*(i?.5*e:0!==_?x/_:0))+(((v=h+(f-h)*(i?.5*e:0!==b?x/b:0))-p)*(3*_/(_+b)+.5)/4||0))):y=h-((p=h-(h-l)*e*.5)+(v=h+(f-h)*e*.5))/2,p+=y,v+=y,d.c=m=p,d.b=0!==u?S:S=d.a+.6*(d.c-d.a),d.da=h-l,d.ca=m-l,d.ba=S-l,r?(g=c(l,S,m,h),t.splice(T,1,g[0],g[1],g[2],g[3]),T+=4):T++,S=v;(d=t[T]).b=S,d.c=S+.4*(d.d-S),d.da=d.d-d.a,d.ca=d.c-d.a,d.ba=S-d.a,r&&(g=c(d.a,S,d.c,d.d),t.splice(T,1,g[0],g[1],g[2],g[3]))},d=function(t,e,r,i){var n,a,u,l,c,f,d=[];if(i)for(a=(t=[i].concat(t)).length;--a>-1;)"string"==typeof(f=t[a][e])&&"="===f.charAt(1)&&(t[a][e]=i[e]+Number(f.charAt(0)+f.substr(2)));if((n=t.length-2)<0)return d[0]=new h(t[0][e],0,0,t[0][e]),d;for(a=0;a<n;a++)u=t[a][e],l=t[a+1][e],d[a]=new h(u,0,0,l),r&&(c=t[a+2][e],o[a]=(o[a]||0)+(l-u)*(l-u),s[a]=(s[a]||0)+(c-l)*(c-l));return d[a]=new h(t[a][e],0,0,t[a+1][e]),d},p=function(t,e,r,i,n,l){var h,c,p,v,y,m,g,_,b={},x=[],w=l||t[0];for(c in n="string"==typeof n?","+n+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])x.push(c);if(t.length>1){for(_=t[t.length-1],g=!0,h=x.length;--h>-1;)if(c=x[h],Math.abs(w[c]-_[c])>.05){g=!1;break}g&&(t=t.concat(),l&&t.unshift(l),t.push(t[1]),l=t[t.length-3])}for(o.length=s.length=a.length=0,h=x.length;--h>-1;)c=x[h],u[c]=-1!==n.indexOf(","+c+","),b[c]=d(t,c,u[c],l);for(h=o.length;--h>-1;)o[h]=Math.sqrt(o[h]),s[h]=Math.sqrt(s[h]);if(!i){for(h=x.length;--h>-1;)if(u[c])for(m=(p=b[x[h]]).length-1,v=0;v<m;v++)y=p[v+1].da/s[v]+p[v].da/o[v]||0,a[v]=(a[v]||0)+y*y;for(h=a.length;--h>-1;)a[h]=Math.sqrt(a[h])}for(h=x.length,v=r?4:1;--h>-1;)p=b[c=x[h]],f(p,e,r,i,u[c]),g&&(p.splice(0,v),p.splice(p.length-v,v));return b},v=function(t,e,r){for(var i,n,o,s,a,u,l,h,c,f,d,p=1/r,v=t.length;--v>-1;)for(o=(f=t[v]).a,s=f.d-o,a=f.c-o,u=f.b-o,i=n=0,h=1;h<=r;h++)i=n-(n=((l=p*h)*l*s+3*(c=1-l)*(l*a+c*u))*l),e[d=v*r+h-1]=(e[d]||0)+i*i},y=i._gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(t,e,r){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,n,o,s,a,u=e.values||[],l={},c=u[0],f=e.autoRotate||r.vars.orientToBezier;for(i in this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",!0===f?0:Number(f)||0]]:null,c)this._props.push(i);for(o=this._props.length;--o>-1;)i=this._props[o],this._overwriteProps.push(i),n=this._func[i]="function"==typeof t[i],l[i]=n?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),a||l[i]!==u[0][i]&&(a=l);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?p(u,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):function(t,e,r){var i,n,o,s,a,u,l,c,f,d,p,v={},y="cubic"===(e=e||"soft")?3:2,m="soft"===e,g=[];if(m&&r&&(t=[r].concat(t)),null==t||t.length<y+1)throw"invalid Bezier data";for(f in t[0])g.push(f);for(u=g.length;--u>-1;){for(v[f=g[u]]=a=[],d=0,c=t.length,l=0;l<c;l++)i=null==r?t[l][f]:"string"==typeof(p=t[l][f])&&"="===p.charAt(1)?r[f]+Number(p.charAt(0)+p.substr(2)):Number(p),m&&l>1&&l<c-1&&(a[d++]=(i+a[d-2])/2),a[d++]=i;for(c=d-y+1,d=0,l=0;l<c;l+=y)i=a[l],n=a[l+1],o=a[l+2],s=2===y?0:a[l+3],a[d++]=p=3===y?new h(i,n,o,s):new h(i,(2*n+i)/3,(2*n+o)/3,o);a.length=d}return v}(u,e.type,l),this._segCount=this._beziers[i].length,this._timeRes){var d=function(t,e){var r,i,n,o,s=[],a=[],u=0,l=0,h=(e=e>>0||6)-1,c=[],f=[];for(r in t)v(t[r],s,e);for(n=s.length,i=0;i<n;i++)u+=Math.sqrt(s[i]),f[o=i%e]=u,o===h&&(l+=u,c[o=i/e>>0]=f,a[o]=l,u=0,f=[]);return{length:l,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(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),o=f.length;--o>-1;){for(s=0;s<3;s++)i=f[o][s],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=f[o][2],this._initialRotations[o]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=r.vars.runBackwards?1:0,!0},set:function(t){var e,r,i,o,s,a,u,l,h,c,f=this._segCount,d=this._func,p=this._target,v=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,c=this._curSeg,t*=this._length,i=this._li,t>this._l2&&i<f-1){for(l=f-1;i<l&&(this._l2=h[++i])<=t;);this._l1=h[i-1],this._li=i,this._curSeg=c=this._segments[i],this._s2=c[this._s1=this._si=0]}else if(t<this._l1&&i>0){for(;i>0&&(this._l1=h[--i])>=t;);0===i&&t<this._l1?this._l1=0:i++,this._l2=h[i],this._li=i,this._curSeg=c=this._segments[i],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(e=i,t-=this._l1,i=this._si,t>this._s2&&i<c.length-1){for(l=c.length-1;i<l&&(this._s2=c[++i])<=t;);this._s1=c[i-1],this._si=i}else if(t<this._s1&&i>0){for(;i>0&&(this._s1=c[--i])>=t;);0===i&&t<this._s1?this._s1=0:i++,this._s2=c[i],this._si=i}a=(i+(t-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(t-(e=t<0?0:t>=1?f-1:f*t>>0)*(1/f))*f;for(r=1-a,i=this._props.length;--i>-1;)o=this._props[i],u=(a*a*(s=this._beziers[o][e]).da+3*r*(a*s.ca+r*s.ba))*a+s.a,this._mod[o]&&(u=this._mod[o](u,p)),d[o]?p[o](u):p[o]=u;if(this._autoRotate){var y,m,g,_,b,x,w,T=this._autoRotate;for(i=T.length;--i>-1;)o=T[i][2],x=T[i][3]||0,w=!0===T[i][4]?1:n,s=this._beziers[T[i][0]],y=this._beziers[T[i][1]],s&&y&&(s=s[e],y=y[e],m=s.a+(s.b-s.a)*a,m+=((_=s.b+(s.c-s.b)*a)-m)*a,_+=(s.c+(s.d-s.c)*a-_)*a,g=y.a+(y.b-y.a)*a,g+=((b=y.b+(y.c-y.b)*a)-g)*a,b+=(y.c+(y.d-y.c)*a-b)*a,u=v?Math.atan2(b-g,_-m)*w+x:this._initialRotations[i],this._mod[o]&&(u=this._mod[o](u,p)),d[o]?p[o](u):p[o]=u)}}}),m=y.prototype;y.bezierThrough=p,y.cubicToQuadratic=c,y._autoCSS=!0,y.quadraticToCubic=function(t,e,r){return new h(t,(2*e+t)/3,(2*e+r)/3,r)},y._cssRegister=function(){var t=l.CSSPlugin;if(t){var e=t._internals,r=e._parseToProxy,i=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,s,a,u){e instanceof Array&&(e={values:e}),u=new y;var l,h,c,f=e.values,d=f.length-1,p=[],v={};if(d<0)return a;for(l=0;l<=d;l++)c=r(t,f[l],s,a,u,d!==l),p[l]=c.end;for(h in e)v[h]=e[h];return v.values=p,(a=new n(t,"bezier",0,0,c.pt,2)).data=c,a.plugin=u,a.setRatio=i,0===v.autoRotate&&(v.autoRotate=!0),!v.autoRotate||v.autoRotate instanceof Array||(l=!0===v.autoRotate?0:Number(v.autoRotate),v.autoRotate=null!=c.end.left?[["left","top","rotation",l,!1]]:null!=c.end.x&&[["x","y","rotation",l,!1]]),v.autoRotate&&(s._transform||s._enableTransforms(!1),c.autoRotate=s._target._gsTransform,c.proxy.rotation=c.autoRotate.rotation||0,s._overwriteProps.push("rotation")),u._onInitTween(c.proxy,v,s._tween),a}})}},m._mod=function(t){for(var e,r=this._overwriteProps,i=r.length;--i>-1;)(e=t[r[i]])&&"function"==typeof e&&(this._mod[r[i]]=e)},m._kill=function(t){var e,r,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],r=i.length;--r>-1;)i[r]===e&&i.splice(r,1);if(i=this._autoRotate)for(r=i.length;--r>-1;)t[i[r][2]]&&i.splice(r,1);return this._super._kill.call(this,t)},e.BezierPlugin=y,e.default=y},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Power4=e.Power3=e.Power2=e.Power1=e.Power0=e.Linear=e.ExpoScaleEase=e.Sine=e.Expo=e.Circ=e.SteppedEase=e.SlowMo=e.RoughEase=e.Bounce=e.Elastic=e.Back=void 0;var i=r(20);i._gsScope._gsDefine("easing.Back",["easing.Ease"],function(){var t,e,r,n,o=i._gsScope.GreenSockGlobals||i._gsScope,s=o.com.greensock,a=2*Math.PI,u=Math.PI/2,l=s._class,h=function(t,e){var r=l("easing."+t,function(){},!0),n=r.prototype=new i.Ease;return n.constructor=r,n.getRatio=e,r},c=i.Ease.register||function(){},f=function(t,e,r,i,n){var o=l("easing."+t,{easeOut:new e,easeIn:new r,easeInOut:new i},!0);return c(o,t),o},d=function(t,e,r){this.t=t,this.v=e,r&&(this.next=r,r.prev=this,this.c=r.v-e,this.gap=r.t-t)},p=function(t,e){var r=l("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new i.Ease;return n.constructor=r,n.getRatio=e,n.config=function(t){return new r(t)},r},v=f("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("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)})),y=l("easing.SlowMo",function(t,e,r){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===r},!0),m=y.prototype=new i.Ease;return m.constructor=y,m.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},y.ease=new y(.7,.7),m.config=y.config=function(t,e,r){return new y(t,e,r)},(m=(t=l("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 i.Ease).constructor=t,m.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},m.config=t.config=function(e,r){return new t(e,r)},(m=(e=l("easing.ExpoScaleEase",function(t,e,r){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=r},!0)).prototype=new i.Ease).constructor=e,m.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},m.config=e.config=function(t,r,i){return new e(t,r,i)},(m=(r=l("easing.RoughEase",function(t){for(var e,r,n,o,s,a,u=(t=t||{}).taper||"none",l=[],h=0,c=0|(t.points||20),f=c,p=!1!==t.randomize,v=!0===t.clamp,y=t.template instanceof i.Ease?t.template:null,m="number"==typeof t.strength?.4*t.strength:.4;--f>-1;)e=p?Math.random():1/c*f,r=y?y.getRatio(e):e,n="none"===u?m:"out"===u?(o=1-e)*o*m:"in"===u?e*e*m:e<.5?(o=2*e)*o*.5*m:(o=2*(1-e))*o*.5*m,p?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,v&&(r>1?r=1:r<0&&(r=0)),l[h++]={x:e,y:r};for(l.sort(function(t,e){return t.x-e.x}),a=new d(1,1,null),f=c;--f>-1;)s=l[f],a=new d(s.x,s.y,a);this._prev=new d(0,0,0!==a.t?a:a.next)},!0)).prototype=new i.Ease).constructor=r,m.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},m.config=function(t){return new r(t)},r.ease=new r,f("Bounce",h("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}),h("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)}),h("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",h("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),h("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),h("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(n=function(t,e,r){var n=l("easing."+t,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),o=n.prototype=new i.Ease;return o.constructor=n,o.getRatio=e,o.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),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",h("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),h("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),h("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",h("SineOut",function(t){return Math.sin(t*u)}),h("SineIn",function(t){return 1-Math.cos(t*u)}),h("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(t){return i.Ease.map[t]}},!0),c(o.SlowMo,"SlowMo","ease,"),c(r,"RoughEase","ease,"),c(t,"SteppedEase","ease,"),v},!0);e.Back=i.globals.Back,e.Elastic=i.globals.Elastic,e.Bounce=i.globals.Bounce,e.RoughEase=i.globals.RoughEase,e.SlowMo=i.globals.SlowMo,e.SteppedEase=i.globals.SteppedEase,e.Circ=i.globals.Circ,e.Expo=i.globals.Expo,e.Sine=i.globals.Sine,e.ExpoScaleEase=i.globals.ExpoScaleEase;e.Linear=i.Linear,e.Power0=i.Power0,e.Power1=i.Power1,e.Power2=i.Power2,e.Power3=i.Power3,e.Power4=i.Power4},function(t,e,r){"use strict";t.exports=!r(9)&&!r(4)(function(){return 7!=Object.defineProperty(r(96)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){"use strict";e.f=r(8)},function(t,e,r){"use strict";var i=r(21),n=r(22),o=r(72)(!1),s=r(98)("IE_PROTO");t.exports=function(t,e){var r,a=n(t),u=0,l=[];for(r in a)r!=s&&i(a,r)&&l.push(r);for(;e.length>u;)i(a,r=e[u++])&&(~o(l,r)||l.push(r));return l}},function(t,e,r){"use strict";var i=r(10),n=r(1),o=r(45);t.exports=r(9)?Object.defineProperties:function(t,e){n(t);for(var r,s=o(e),a=s.length,u=0;a>u;)i.f(t,r=s[u++],e[r]);return t}},function(t,e,r){"use strict";var i="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},n=r(22),o=r(48).f,s={}.toString,a="object"==("undefined"==typeof window?"undefined":i(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==s.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(n(t))}},function(t,e,r){"use strict";var i=r(0);i(i.S+i.F,"Object",{assign:r(156)})},function(t,e,r){"use strict";var i=r(45),n=r(73),o=r(62),s=r(12),a=r(61),u=Object.assign;t.exports=!u||r(4)(function(){var t={},e={},r=Symbol(),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=i})?function(t,e){for(var r=s(t),u=arguments.length,l=1,h=n.f,c=o.f;u>l;)for(var f,d=a(arguments[l++]),p=h?i(d).concat(h(d)):i(d),v=p.length,y=0;v>y;)c.call(d,f=p[y++])&&(r[f]=d[f]);return r}:u},function(t,e,r){"use strict";var i=r(16),n=r(6),o=r(158),s=[].slice,a={};t.exports=Function.bind||function(t){var e=i(this),r=s.call(arguments,1),u=function i(){var n=r.concat(s.call(arguments));return this instanceof i?function(t,e,r){if(!(e in a)){for(var i=[],n=0;n<e;n++)i[n]="a["+n+"]";a[e]=Function("F,a","return new F("+i.join(",")+")")}return a[e](t,r)}(e,n.length,n):o(e,n,t)};return n(e.prototype)&&(u.prototype=e.prototype),u}},function(t,e,r){"use strict";t.exports=function(t,e,r){var i=void 0===r;switch(e.length){case 0:return i?t():t.call(r);case 1:return i?t(e[0]):t.call(r,e[0]);case 2:return i?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},function(t,e,r){"use strict";var i=r(2).parseInt,n=r(57).trim,o=r(102),s=/^[-+]?0[xX]/;t.exports=8!==i(o+"08")||22!==i(o+"0x16")?function(t,e){var r=n(String(t),3);return i(r,e>>>0||(s.test(r)?16:10))}:i},function(t,e,r){"use strict";var i=r(2).parseFloat,n=r(57).trim;t.exports=1/i(r(102)+"-0")!=-1/0?function(t){var e=n(String(t),3),r=i(e);return 0===r&&"-"==e.charAt(0)?-0:r}:i},function(t,e,r){"use strict";var i=r(27);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=i(t))throw TypeError(e);return+t}},function(t,e,r){"use strict";var i=r(6),n=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&n(t)===t}},function(t,e,r){"use strict";t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,r){"use strict";var i=r(105),n=Math.pow,o=n(2,-52),s=n(2,-23),a=n(2,127)*(2-s),u=n(2,-126);t.exports=Math.fround||function(t){var e,r,n=Math.abs(t),l=i(t);return n<u?l*(n/u/s+1/o-1/o)*u*s:(r=(e=(1+s/o)*n)-(e-n))>a||r!=r?l*(1/0):l*r}},function(t,e,r){"use strict";var i=r(26),n=r(0),o=r(12),s=r(166),a=r(112),u=r(11),l=r(113),h=r(114);n(n.S+n.F*!r(78)(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,n,c,f=o(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,y=void 0!==v,m=0,g=h(f);if(y&&(v=i(v,p>2?arguments[2]:void 0,2)),void 0==g||d==Array&&a(g))for(r=new d(e=u(f.length));e>m;m++)l(r,m,y?v(f[m],m):f[m]);else for(c=g.call(f),r=new d;!(n=c.next()).done;m++)l(r,m,y?s(c,v,[n.value,m],!0):n.value);return r.length=m,r}})},function(t,e,r){"use strict";var i=r(1);t.exports=function(t,e,r,n){try{return n?e(i(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,r){"use strict";var i=r(16),n=r(12),o=r(61),s=r(11);t.exports=function(t,e,r,a,u){i(e);var l=n(t),h=o(l),c=s(l.length),f=u?c-1:0,d=u?-1:1;if(r<2)for(;;){if(f in h){a=h[f],f+=d;break}if(f+=d,u?f<0:c<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:c>f;f+=d)f in h&&(a=e(a,h[f],f,l));return a}},function(t,e,r){"use strict";var i=r(12),n=r(46),o=r(11);t.exports=[].copyWithin||function(t,e){var r=i(this),s=o(r.length),a=n(t,s),u=n(e,s),l=arguments.length>2?arguments[2]:void 0,h=Math.min((void 0===l?s:n(l,s))-u,s-a),c=1;for(u<a&&a<u+h&&(c=-1,u+=h-1,a+=h-1);h-- >0;)u in r?r[a]=r[u]:delete r[a],a+=c,u+=c;return r}},function(t,e,r){"use strict";t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){"use strict";r(9)&&"g"!=/./g.flags&&r(10).f(RegExp.prototype,"flags",{configurable:!0,get:r(79)})},function(t,e,r){"use strict";t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,r){"use strict";var i=r(1),n=r(6),o=r(120);t.exports=function(t,e){if(i(t),n(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){"use strict";var i=r(10).f,n=r(47),o=r(52),s=r(26),a=r(50),u=r(51),l=r(108),h=r(169),c=r(49),f=r(9),d=r(38).fastKey,p=r(59),v=f?"_s":"size",y=function(t,e){var r,i=d(e);if("F"!==i)return t._i[i];for(r=t._f;r;r=r.n)if(r.k==e)return r};t.exports={getConstructor:function(t,e,r,l){var h=t(function(t,i){a(t,h,e,"_i"),t._t=e,t._i=n(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=i&&u(i,r,t[l],t)});return o(h.prototype,{clear:function(){for(var t=p(this,e),r=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete r[i.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var r=p(this,e),i=y(r,t);if(i){var n=i.n,o=i.p;delete r._i[i.i],i.r=!0,o&&(o.n=n),n&&(n.p=o),r._f==i&&(r._f=n),r._l==i&&(r._l=o),r[v]--}return!!i},forEach:function(t){p(this,e);for(var r,i=s(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(i(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!y(p(this,e),t)}}),f&&i(h.prototype,"size",{get:function(){return p(this,e)[v]}}),h},def:function(t,e,r){var i,n,o=y(t,e);return o?o.v=r:(t._l=o={i:n=d(e,!0),k:e,v:r,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[v]++,"F"!==n&&(t._i[n]=o)),t},getEntry:y,setStrong:function(t,e,r){l(t,e,function(t,r){this._t=p(t,e),this._k=r,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?h(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,h(1))},r?"entries":"values",!r,!0),c(e)}}},function(t,e,r){"use strict";var i=r(52),n=r(38).getWeak,o=r(1),s=r(6),a=r(50),u=r(51),l=r(33),h=r(21),c=r(59),f=l(5),d=l(6),p=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},m=function(t,e){return f(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var r=m(this,t);r?r[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,r,o){var l=t(function(t,i){a(t,l,e,"_i"),t._t=e,t._i=p++,t._l=void 0,void 0!=i&&u(i,r,t[o],t)});return i(l.prototype,{delete:function(t){if(!s(t))return!1;var r=n(t);return!0===r?v(c(this,e)).delete(t):r&&h(r,this._i)&&delete r[this._i]},has:function(t){if(!s(t))return!1;var r=n(t);return!0===r?v(c(this,e)).has(t):r&&h(r,this._i)}}),l},def:function(t,e,r){var i=n(o(e),!0);return!0===i?v(t).set(e,r):i[t._i]=r,t},ufstore:v}},function(t,e,r){"use strict";var i=r(31),n=r(11);t.exports=function(t){if(void 0===t)return 0;var e=i(t),r=n(e);if(e!==r)throw RangeError("Wrong length!");return r}},function(t,e,r){"use strict";var i=r(48),n=r(73),o=r(1),s=r(2).Reflect;t.exports=s&&s.ownKeys||function(t){var e=i.f(o(t)),r=n.f;return r?e.concat(r(t)):e}},function(t,e,r){"use strict";var i=r(74),n=r(6),o=r(11),s=r(26),a=r(8)("isConcatSpreadable");t.exports=function t(e,r,u,l,h,c,f,d){for(var p,v,y=h,m=0,g=!!f&&s(f,d,3);m<l;){if(m in u){if(p=g?g(u[m],m,r):u[m],v=!1,n(p)&&(v=void 0!==(v=p[a])?!!v:i(p)),v&&c>0)y=t(e,r,p,o(p.length),y,c-1)-1;else{if(y>=9007199254740991)throw TypeError();e[y]=p}y++}m++}return y}},function(t,e,r){"use strict";var i=r(11),n=r(104),o=r(30);t.exports=function(t,e,r,s){var a=String(o(t)),u=a.length,l=void 0===r?" ":String(r),h=i(e);if(h<=u||""==l)return a;var c=h-u,f=n.call(l,Math.ceil(c/l.length));return f.length>c&&(f=f.slice(0,c)),s?f+a:a+f}},function(t,e,r){"use strict";var i=r(45),n=r(22),o=r(62).f;t.exports=function(t){return function(e){for(var r,s=n(e),a=i(s),u=a.length,l=0,h=[];u>l;)o.call(s,r=a[l++])&&h.push(t?[r,s[r]]:s[r]);return h}}},function(t,e,r){"use strict";var i=r(0);i(i.P+i.R,"Map",{toJSON:r(181)("Map")})},function(t,e,r){"use strict";var i=r(63),n=r(182);t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return n(this)}}},function(t,e,r){"use strict";var i=r(51);t.exports=function(t,e){var r=[];return i(t,!1,r.push,r,e),r}},function(t,e,r){"use strict";var i=r(0);i(i.P+i.R,"Set",{toJSON:r(181)("Set")})},function(t,e,r){"use strict";r(86)("Map")},function(t,e,r){"use strict";r(86)("Set")},function(t,e,r){"use strict";r(86)("WeakMap")},function(t,e,r){"use strict";r(87)("Map")},function(t,e,r){"use strict";r(87)("Set")},function(t,e,r){"use strict";r(87)("WeakMap")},function(t,e,r){"use strict";t.exports=Math.scale||function(t,e,r,i,n){return 0===arguments.length||t!=t||e!=e||r!=r||i!=i||n!=n?NaN:t===1/0||t===-1/0?t:(t-e)*(n-i)/(r-e)+i}},function(t,e,r){"use strict";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}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=e._supportsWebp=(i=regeneratorRuntime.mark(function t(){var e,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(self.createImageBitmap){t.next=2;break}return t.abrupt("return",!1);case 2:return e="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",t.next=5,fetch(e).then(function(t){return t.blob()});case 5:return r=t.sent,t.abrupt("return",createImageBitmap(r).then(function(){return!0},function(){return!1}));case 7:case"end":return t.stop()}},t,this)}),n=function(){var t=i.apply(this,arguments);return new Promise(function(e,r){return function i(n,o){try{var s=t[n](o),a=s.value}catch(t){return void r(t)}if(!s.done)return Promise.resolve(a).then(function(t){i("next",t)},function(t){i("throw",t)});e(a)}("next")})},function(){return n.apply(this,arguments)});function a(t){return function(e,r,i,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:.5,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:.5,u=i/n,l=e/r,h=e*o,c=r*o;return(t?u>l:u<l)?c=h/u:h=c*u,{width:h,height:c,offsetX:(e-h)*s,offsetY:(r-c)*a}}}e.toFixedDown=function(t,e){var r=new RegExp("(\\d+\\.\\d{"+e+"})(\\d)"),i=t.toString().match(r);return i?parseFloat(i[1]):t.valueOf()},e.gaClickEvents=function(t){function e(t){if(t.target){var e=t.target.innerText||t.target.textContent,r=t.target.getAttribute("href");(e||r)&&gtag("event","click",{event_category:"Lien externe",event_label:e,value:r,page_path:window.location.href})}}[].slice.call(t.querySelectorAll("a[target=_blank]")).forEach(function(t){t.removeEventListener("click",e),t.addEventListener("click",e)})},e.getJSON=function(t){var e=new XMLHttpRequest;return new Promise(function(r,i){e.onreadystatechange=function(){4===e.readyState&&(200===e.status?r(JSON.parse(e.responseText)):i(e.responseText))},e.open("GET",t),e.send()})},e.canplayVideoType=function(){var t,e,r,i,n=document.createElement("video");n.canPlayType&&(t=""!==n.canPlayType('video/mp4; codecs="mp4v.20.8"'),e=""!==(n.canPlayType('video/mp4; codecs="avc1.42E01E"')||n.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')),r=""!==n.canPlayType('video/ogg; codecs="theora"'),i=""!==n.canPlayType('video/webm; codecs="vp8, vorbis"'));return{mpeg4:t,h264:e,ogg:r,webm:i}},e.detectIE=function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var i=t.indexOf("Edge/");if(i>0)return parseInt(t.substring(i+5,t.indexOf(".",i)),10);return!1},e._getAbsoluteOffsetTop=u,e._getAbsoluteOffsetLeft=l;e.contain=a(!0),e.cover=a(!1);e.strpad=String.prototype.lpad=function(t,e){for(var r=this;r.length<e;)r=t+r;return r};e.getCssStyle=HTMLElement.prototype.getCssStyle=function(t){var e=window.getComputedStyle(this,null);if(t)return e.getPropertyValue(t)};e.shuffleArray=Array.prototype.shuffleArray=function(){for(var t=this.length-1;t>=0;t--){var e=Math.floor(Math.random()*(t+1)),r=this[e];this[e]=this[t],this[t]=r}return this},e.Cookies=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return o(t,null,[{key:"set",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,i=new Date;i.setTime(i.getTime()+24*r*60*60*1e3);var n="expires="+i.toUTCString();document.cookie=t+"="+e+";"+n+";path=/"}},{key:"get",value:function(t){for(var e=t+"=",r=decodeURIComponent(document.cookie).split(";"),i=0;i<r.length;i++){for(var n=r[i];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(e))return n.substring(e.length,n.length)}return!1}}]),t}();function u(t){for(var e=t.offsetTop,r=t.offsetParent;r;)e+=r.offsetTop,r=r.offsetParent;return e}e.getAbsoluteOffsetTop=u;function l(t){for(var e=t.offsetLeft,r=t.offsetParent;r;)e+=r.offsetLeft,r=r.offsetParent;return e}e.getAbsoluteOffsetLeft=l,e.supportsWebp=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarPlugin=void 0;var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(53));r(449);var n=r(455),o=r(202),s=r(490);e.ScrollbarPlugin=o.ScrollbarPlugin;var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.init=function(t,e){if(!t||1!==t.nodeType)throw new TypeError("expect element to be DOM Element, but got "+t);return(0,s.attachStyle)(),n.scrollbarMap.has(t)?n.scrollbarMap.get(t):new n.Scrollbar(t,e)},e.initAll=function(t){return Array.from(document.querySelectorAll("[data-scrollbar]"),function(r){return e.init(r,t)})},e.has=function(t){return n.scrollbarMap.has(t)},e.get=function(t){return n.scrollbarMap.get(t)},e.getAll=function(){return Array.from(n.scrollbarMap.values())},e.destroy=function(t){var e=n.scrollbarMap.get(t);e&&e.destroy()},e.destroyAll=function(){n.scrollbarMap.forEach(function(t){t.destroy()})},e.use=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o.addPlugins.apply(void 0,t)},e.attachStyle=function(){return(0,s.attachStyle)()},e.detachStyle=function(){return(0,s.detachStyle)()},e.version="8.3.1",e.ScrollbarPlugin=o.ScrollbarPlugin,e}(n.Scrollbar);e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(r(195)),n=o(r(457));function o(t){return t&&t.__esModule?t:{default:t}}var s=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,h=/^0o[0-7]+$/i,c=parseInt;e.default=function(t){if("number"==typeof t)return t;if((0,n.default)(t))return s;if((0,i.default)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,i.default)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var r=l.test(t);return r||h.test(t)?c(t.slice(2),r?2:8):u.test(t)?s:+t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="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};e.default=function(t){var e=void 0===t?"undefined":i(t);return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=r(197);var o=((i=n)&&i.__esModule?i:{default:i}).default.Symbol;e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n="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},o=r(459),s=(i=o)&&i.__esModule?i:{default:i};var a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,u=s.default||a||Function("return this")();e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s(r(195)),n=s(r(467)),o=s(r(194));function s(t){return t&&t.__esModule?t:{default:t}}var a="Expected a function",u=Math.max,l=Math.min;e.default=function(t,e,r){var s,h,c,f,d,p,v=0,y=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError(a);function _(e){var r=s,i=h;return s=h=void 0,v=e,f=t.apply(i,r)}function b(t){var r=t-p;return void 0===p||r>=e||r<0||m&&t-v>=c}function x(){var t=(0,n.default)();if(b(t))return w(t);d=setTimeout(x,function(t){var r=e-(t-p);return m?l(r,c-(t-v)):r}(t))}function w(t){return d=void 0,g&&s?_(t):(s=h=void 0,f)}function T(){var t=(0,n.default)(),r=b(t);if(s=arguments,h=this,p=t,r){if(void 0===d)return function(t){return v=t,d=setTimeout(x,e),y?_(t):f}(p);if(m)return d=setTimeout(x,e),_(p)}return void 0===d&&(d=setTimeout(x,e)),f}return e=(0,o.default)(e)||0,(0,i.default)(r)&&(y=!!r.leading,c=(m="maxWait"in r)?u((0,o.default)(r.maxWait)||0,e):c,g="trailing"in r?!!r.trailing:g),T.cancel=function(){void 0!==d&&clearTimeout(d),v=0,s=p=h=d=void 0},T.flush=function(){return void 0===d?f:w((0,n.default)())},T}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPointerData=function(t){return t.touches?t.touches[t.touches.length-1]:t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPosition=function(t){var e=(0,i.getPointerData)(t);return{x:e.clientX,y:e.clientY}};var i=r(199)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=e.TrackDirection=void 0;!function(t){t.X="x",t.Y="y"}(i||(e.TrackDirection=i={}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.globalPlugins=e.ScrollbarPlugin=void 0,e.addPlugins=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t.forEach(function(t){var e=t.pluginName;if(!e)throw new TypeError("plugin name is required");o.order.add(e),o.constructors[e]=t})},e.initPlugins=function(t,e){return Array.from(o.order).filter(function(t){return!1!==e[t]}).map(function(r){var i=o.constructors[r],n=new i(t,e[r]);return e[r]=n.options,n})};var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(53));var n=function(){function t(t,e){var r=this.constructor;this.scrollbar=t,this.name=r.pluginName,this.options=i.__assign({},r.defaultOptions,e)}return t.prototype.onInit=function(){},t.prototype.onDestory=function(){},t.prototype.onUpdate=function(){},t.prototype.onRender=function(t){},t.prototype.transformDelta=function(t,e){return i.__assign({},t)},t.pluginName="",t.defaultOptions={},t}();e.ScrollbarPlugin=n;var o=e.globalPlugins={order:new Set,constructors:{}}},function(t,e,r){"use strict";(function(t){e.__esModule=!0,e.loader=e.prepare=e.particles=e.mesh=e.loaders=e.interaction=e.filters=e.extras=e.extract=e.accessibility=void 0;var i=r(493);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var n=r(5);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o,s=r(554),a=(o=s)&&o.__esModule?o:{default:o},u=m(r(555)),l=m(r(557)),h=m(r(237)),c=m(r(567)),f=m(r(574)),d=m(r(576)),p=m(r(580)),v=m(r(585)),y=m(r(590));function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}n.utils.mixins.performMixins();var g=d.shared||null;e.accessibility=u,e.extract=l,e.extras=h,e.filters=c,e.interaction=f,e.loaders=d,e.mesh=p,e.particles=v,e.prepare=y,e.loader=g,"function"==typeof a.default&&(0,a.default)(e),t.PIXI=e}).call(this,r(42))},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}();var n=function(){function t(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._x=i,this._y=n,this.cb=e,this.scope=r}return t.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new t(e||this.cb,r||this.scope,this._x,this._y)},t.prototype.set=function(t,e){var r=t||0,i=e||(0!==e?r:0);this._x===r&&this._y===i||(this._x=r,this._y=i,this.cb.call(this.scope))},t.prototype.copy=function(t){this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope))},t.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},i(t,[{key:"x",get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))}},{key:"y",get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))}}]),t}();e.default=n},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(127),o=(i=n)&&i.__esModule?i:{default:i};var s=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],a=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],u=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],l=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],h=[],c=[];function f(t){return t<0?-1:t>0?1:0}!function(){for(var t=0;t<16;t++){var e=[];c.push(e);for(var r=0;r<16;r++)for(var i=f(s[t]*s[r]+u[t]*a[r]),n=f(a[t]*s[r]+l[t]*a[r]),d=f(s[t]*u[r]+u[t]*l[r]),p=f(a[t]*u[r]+l[t]*l[r]),v=0;v<16;v++)if(s[v]===i&&a[v]===n&&u[v]===d&&l[v]===p){e.push(v);break}}for(var y=0;y<16;y++){var m=new o.default;m.set(s[y],a[y],u[y],l[y],0,0),h.push(m)}}();var d={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MIRROR_HORIZONTAL:12,uX:function(t){return s[t]},uY:function(t){return a[t]},vX:function(t){return u[t]},vY:function(t){return l[t]},inv:function(t){return 8&t?15&t:7&-t},add:function(t,e){return c[t][e]},sub:function(t,e){return c[t][d.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)?e>=0?d.S:d.N:2*Math.abs(e)<=Math.abs(t)?t>0?d.E:d.W:e>0?t>0?d.SE:d.SW:t>0?d.NE:d.NW},matrixAppendRotationInv:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=h[d.inv(e)];n.tx=r,n.ty=i,t.append(n)}};e.default=d},function(t,e,r){"use strict";t.exports=function(t,e,r){var i;if(r){var n=r.tempAttribState,o=r.attribState;for(i=0;i<n.length;i++)n[i]=!1;for(i=0;i<e.length;i++)n[e[i].attribute.location]=!0;for(i=0;i<o.length;i++)o[i]!==n[i]&&(o[i]=n[i],r.attribState[i]?t.enableVertexAttribArray(i):t.disableVertexAttribArray(i))}else for(i=0;i<e.length;i++){var s=e[i];t.enableVertexAttribArray(s.attribute.location)}}},function(t,e,r){"use strict";var i=function(t,e,r,i,n){this.gl=t,this.texture=t.createTexture(),this.mipmap=!1,this.premultiplyAlpha=!1,this.width=e||-1,this.height=r||-1,this.format=i||t.RGBA,this.type=n||t.UNSIGNED_BYTE};i.prototype.upload=function(t){this.bind();var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha);var r=t.videoWidth||t.width,i=t.videoHeight||t.height;i!==this.height||r!==this.width?e.texImage2D(e.TEXTURE_2D,0,this.format,this.format,this.type,t):e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.format,this.type,t),this.width=r,this.height=i};var n=!1;i.prototype.uploadData=function(t,e,r){this.bind();var i=this.gl;if(t instanceof Float32Array){if(!n){if(!i.getExtension("OES_texture_float"))throw new Error("floating point textures not available");n=!0}this.type=i.FLOAT}else this.type=this.type||i.UNSIGNED_BYTE;i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha),e!==this.width||r!==this.height?i.texImage2D(i.TEXTURE_2D,0,this.format,e,r,0,this.format,this.type,t||null):i.texSubImage2D(i.TEXTURE_2D,0,0,0,e,r,this.format,this.type,t||null),this.width=e,this.height=r},i.prototype.bind=function(t){var e=this.gl;void 0!==t&&e.activeTexture(e.TEXTURE0+t),e.bindTexture(e.TEXTURE_2D,this.texture)},i.prototype.unbind=function(){var t=this.gl;t.bindTexture(t.TEXTURE_2D,null)},i.prototype.minFilter=function(t){var e=this.gl;this.bind(),this.mipmap?e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t?e.LINEAR_MIPMAP_LINEAR:e.NEAREST_MIPMAP_NEAREST):e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t?e.LINEAR:e.NEAREST)},i.prototype.magFilter=function(t){var e=this.gl;this.bind(),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,t?e.LINEAR:e.NEAREST)},i.prototype.enableMipmap=function(){var t=this.gl;this.bind(),this.mipmap=!0,t.generateMipmap(t.TEXTURE_2D)},i.prototype.enableLinearScaling=function(){this.minFilter(!0),this.magFilter(!0)},i.prototype.enableNearestScaling=function(){this.minFilter(!1),this.magFilter(!1)},i.prototype.enableWrapClamp=function(){var t=this.gl;this.bind(),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE)},i.prototype.enableWrapRepeat=function(){var t=this.gl;this.bind(),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT)},i.prototype.enableWrapMirrorRepeat=function(){var t=this.gl;this.bind(),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.MIRRORED_REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.MIRRORED_REPEAT)},i.prototype.destroy=function(){this.gl.deleteTexture(this.texture)},i.fromSource=function(t,e,r){var n=new i(t);return n.premultiplyAlpha=r||!1,n.upload(e),n},i.fromData=function(t,e,r,n){var o=new i(t);return o.uploadData(e,r,n),o},t.exports=i},function(t,e,r){"use strict";var i=function(t,e,r){var i=t.createShader(e);return t.shaderSource(i,r),t.compileShader(i),t.getShaderParameter(i,t.COMPILE_STATUS)?i:null};t.exports=function(t,e,r,n){var o=i(t,t.VERTEX_SHADER,e),s=i(t,t.FRAGMENT_SHADER,r),a=t.createProgram();if(t.attachShader(a,o),t.attachShader(a,s),n)for(var u in n)t.bindAttribLocation(a,n[u],u);return t.linkProgram(a),t.getProgramParameter(a,t.LINK_STATUS)||(t.getProgramInfoLog(a),t.deleteProgram(a),a=null),t.deleteShader(o),t.deleteShader(s),a}},function(t,e,r){"use strict";var i=r(129),n=r(210),o=function(t,e,r,i){gl.vertexAttribPointer(this.location,this.size,t||gl.FLOAT,e||!1,r||0,i||0)};t.exports=function(t,e){for(var r={},s=t.getProgramParameter(e,t.ACTIVE_ATTRIBUTES),a=0;a<s;a++){var u=t.getActiveAttrib(e,a),l=i(t,u.type);r[u.name]={type:l,size:n(l),location:t.getAttribLocation(e,u.name),pointer:o}}return r}},function(t,e,r){"use strict";var i={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};t.exports=function(t){return i[t]}},function(t,e,r){"use strict";var i=r(129),n=r(212);t.exports=function(t,e){for(var r={},o=t.getProgramParameter(e,t.ACTIVE_UNIFORMS),s=0;s<o;s++){var a=t.getActiveUniform(e,s),u=a.name.replace(/\[.*?\]/,""),l=i(t,a.type);r[u]={type:l,size:a.size,location:t.getUniformLocation(e,u),value:n(l,a.size)}}return r}},function(t,e,r){"use strict";var i=function(t){for(var e=new Array(t),r=0;r<e.length;r++)e[r]=!1;return e};t.exports=function(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":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 i(2*e);case"bvec3":return i(3*e);case"bvec4":return i(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])}}},function(t,e,r){"use strict";t.exports=function(t,e){return"precision"!==t.substring(0,9)?"precision "+e+" float;\n"+t:t}},function(t,e,r){"use strict";var i=function(t){return function(){return this.data[t].value}},n={float:function(t,e,r){t.uniform1f(e,r)},vec2:function(t,e,r){t.uniform2f(e,r[0],r[1])},vec3:function(t,e,r){t.uniform3f(e,r[0],r[1],r[2])},vec4:function(t,e,r){t.uniform4f(e,r[0],r[1],r[2],r[3])},int:function(t,e,r){t.uniform1i(e,r)},ivec2:function(t,e,r){t.uniform2i(e,r[0],r[1])},ivec3:function(t,e,r){t.uniform3i(e,r[0],r[1],r[2])},ivec4:function(t,e,r){t.uniform4i(e,r[0],r[1],r[2],r[3])},bool:function(t,e,r){t.uniform1i(e,r)},bvec2:function(t,e,r){t.uniform2i(e,r[0],r[1])},bvec3:function(t,e,r){t.uniform3i(e,r[0],r[1],r[2])},bvec4:function(t,e,r){t.uniform4i(e,r[0],r[1],r[2],r[3])},mat2:function(t,e,r){t.uniformMatrix2fv(e,!1,r)},mat3:function(t,e,r){t.uniformMatrix3fv(e,!1,r)},mat4:function(t,e,r){t.uniformMatrix4fv(e,!1,r)},sampler2D:function(t,e,r){t.uniform1i(e,r)}},o={float:function(t,e,r){t.uniform1fv(e,r)},vec2:function(t,e,r){t.uniform2fv(e,r)},vec3:function(t,e,r){t.uniform3fv(e,r)},vec4:function(t,e,r){t.uniform4fv(e,r)},int:function(t,e,r){t.uniform1iv(e,r)},ivec2:function(t,e,r){t.uniform2iv(e,r)},ivec3:function(t,e,r){t.uniform3iv(e,r)},ivec4:function(t,e,r){t.uniform4iv(e,r)},bool:function(t,e,r){t.uniform1iv(e,r)},bvec2:function(t,e,r){t.uniform2iv(e,r)},bvec3:function(t,e,r){t.uniform3iv(e,r)},bvec4:function(t,e,r){t.uniform4iv(e,r)},sampler2D:function(t,e,r){t.uniform1iv(e,r)}};function s(t,e){return function(r){this.data[t].value=r;var i=this.data[t].location;1===e.size?n[e.type](this.gl,i,r):o[e.type](this.gl,i,r)}}function a(t,e){for(var r=e,i=0;i<t.length-1;i++){var n=r[t[i]]||{data:{}};r[t[i]]=n,r=n}return r}t.exports=function(t,e){var r={data:{}};r.gl=t;for(var n=Object.keys(e),o=0;o<n.length;o++){var u=n[o],l=u.split("."),h=l[l.length-1],c=a(l,r),f=e[u];c.data[h]=f,c.gl=t,Object.defineProperty(c,h,{get:i(h),set:s(h,f)})}return r}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=f(r(55)),s=r(3),a=f(r(13)),u=f(r(216)),l=f(r(217)),h=f(r(130)),c=r(14);function f(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this)),n=a.default.TRANSFORM_MODE===s.TRANSFORM_MODE.STATIC?u.default:l.default;return r.tempDisplayObjectParent=null,r.transform=new n,r.alpha=1,r.visible=!0,r.renderable=!0,r.parent=null,r.worldAlpha=1,r.filterArea=null,r._filters=null,r._enabledFilters=null,r._bounds=new h.default,r._boundsID=0,r._lastBoundsID=-1,r._boundsRect=null,r._localBoundsRect=null,r._mask=null,r._destroyed=!1,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.updateTransform=function(){this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha,this._bounds.updateID++},e.prototype._recursivePostUpdateTransform=function(){this.parent?(this.parent._recursivePostUpdateTransform(),this.transform.updateTransform(this.parent.transform)):this.transform.updateTransform(this._tempDisplayObjectParent.transform)},e.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&&this.calculateBounds(),e||(this._boundsRect||(this._boundsRect=new c.Rectangle),e=this._boundsRect),this._bounds.getRectangle(e)},e.prototype.getLocalBounds=function(t){var e=this.transform,r=this.parent;this.parent=null,this.transform=this._tempDisplayObjectParent.transform,t||(this._localBoundsRect||(this._localBoundsRect=new c.Rectangle),t=this._localBoundsRect);var i=this.getBounds(!1,t);return this.parent=r,this.transform=e,i},e.prototype.toGlobal=function(t,e){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.apply(t,e)},e.prototype.toLocal=function(t,e,r,i){return e&&(t=e.toGlobal(t,r,i)),i||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.applyInverse(t,r)},e.prototype.renderWebGL=function(t){},e.prototype.renderCanvas=function(t){},e.prototype.setParent=function(t){if(!t||!t.addChild)throw new Error("setParent: Argument must be a Container");return t.addChild(this),t},e.prototype.setTransform=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;return this.position.x=t,this.position.y=e,this.scale.x=r||1,this.scale.y=i||1,this.rotation=n,this.skew.x=o,this.skew.y=s,this.pivot.x=a,this.pivot.y=u,this},e.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.filterArea=null,this.interactive=!1,this.interactiveChildren=!1,this._destroyed=!0},n(e,[{key:"_tempDisplayObjectParent",get:function(){return null===this.tempDisplayObjectParent&&(this.tempDisplayObjectParent=new e),this.tempDisplayObjectParent}},{key:"x",get:function(){return this.position.x},set:function(t){this.transform.position.x=t}},{key:"y",get:function(){return this.position.y},set:function(t){this.transform.position.y=t}},{key:"worldTransform",get:function(){return this.transform.worldTransform}},{key:"localTransform",get:function(){return this.transform.localTransform}},{key:"position",get:function(){return this.transform.position},set:function(t){this.transform.position.copy(t)}},{key:"scale",get:function(){return this.transform.scale},set:function(t){this.transform.scale.copy(t)}},{key:"pivot",get:function(){return this.transform.pivot},set:function(t){this.transform.pivot.copy(t)}},{key:"skew",get:function(){return this.transform.skew},set:function(t){this.transform.skew.copy(t)}},{key:"rotation",get:function(){return this.transform.rotation},set:function(t){this.transform.rotation=t}},{key:"worldVisible",get:function(){var t=this;do{if(!t.visible)return!1;t=t.parent}while(t);return!0}},{key:"mask",get:function(){return this._mask},set:function(t){this._mask&&(this._mask.renderable=!0,this._mask.isMask=!1),this._mask=t,this._mask&&(this._mask.renderable=!1,this._mask.isMask=!0)}},{key:"filters",get:function(){return this._filters&&this._filters.slice()},set:function(t){this._filters=t&&t.slice()}}]),e}(o.default);e.default=d,d.prototype.displayObjectUpdateTransform=d.prototype.updateTransform},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=r(14),a=r(132);var u=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return r.position=new s.ObservablePoint(r.onChange,r,0,0),r.scale=new s.ObservablePoint(r.onChange,r,1,1),r.pivot=new s.ObservablePoint(r.onChange,r,0,0),r.skew=new s.ObservablePoint(r.updateSkew,r,0,0),r._rotation=0,r._cx=1,r._sx=0,r._cy=0,r._sy=1,r._localID=0,r._currentLocalID=0,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.onChange=function(){this._localID++},e.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++},e.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)},e.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 r=t.worldTransform,i=this.worldTransform;i.a=e.a*r.a+e.b*r.c,i.b=e.a*r.b+e.b*r.d,i.c=e.c*r.a+e.d*r.c,i.d=e.c*r.b+e.d*r.d,i.tx=e.tx*r.a+e.ty*r.c+r.tx,i.ty=e.tx*r.b+e.ty*r.d+r.ty,this._parentID=t._worldID,this._worldID++}},e.prototype.setFromMatrix=function(t){t.decompose(this),this._localID++},o(e,[{key:"rotation",get:function(){return this._rotation},set:function(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())}}]),e}(((n=a)&&n.__esModule?n:{default:n}).default);e.default=u},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=r(14),a=r(132);var u=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return r.position=new s.Point(0,0),r.scale=new s.Point(1,1),r.skew=new s.ObservablePoint(r.updateSkew,r,0,0),r.pivot=new s.Point(0,0),r._rotation=0,r._cx=1,r._sx=0,r._cy=0,r._sy=1,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.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)},e.prototype.updateLocalTransform=function(){var t=this.localTransform;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)},e.prototype.updateTransform=function(t){var e=this.localTransform;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);var r=t.worldTransform,i=this.worldTransform;i.a=e.a*r.a+e.b*r.c,i.b=e.a*r.b+e.b*r.d,i.c=e.c*r.a+e.d*r.c,i.d=e.c*r.b+e.d*r.d,i.tx=e.tx*r.a+e.ty*r.c+r.tx,i.ty=e.tx*r.b+e.ty*r.d+r.ty,this._worldID++},e.prototype.setFromMatrix=function(t){t.decompose(this)},o(e,[{key:"rotation",get:function(){return this._rotation},set:function(t){this._rotation=t,this.updateSkew()}}]),e}(((n=a)&&n.__esModule?n:{default:n}).default);e.default=u},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;if(0===t.indexOf("data:"))return"";e=e||window.location,s||(s=document.createElement("a"));s.href=t;var r=!(t=o.default.parse(s.href)).port&&""===e.port||t.port===e.port;if(t.hostname!==e.hostname||!r||t.protocol!==e.protocol)return"anonymous";return""};var i,n=r(219),o=(i=n)&&i.__esModule?i:{default:i};var s=void 0},function(t,e,r){"use strict";var i="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},n=r(515),o=r(516);function s(){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=b,e.resolve=function(t,e){return b(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?b(t,!1,!0).resolveObject(e):e},e.format=function(t){o.isString(t)&&(t=b(t));return t instanceof s?t.format():s.prototype.format.call(t)},e.Url=s;var a=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(h),f=["%","/","?",";","#"].concat(c),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r(517);function b(t,e,r){if(t&&o.isObject(t)&&t instanceof s)return t;var i=new s;return i.parse(t,e,r),i}s.prototype.parse=function(t,e,r){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+(void 0===t?"undefined":i(t)));var s=t.indexOf("?"),u=-1!==s&&s<t.indexOf("#")?"?":"#",h=t.split(u);h[0]=h[0].replace(/\\/g,"/");var b=t=h.join(u);if(b=b.trim(),!r&&1===t.split("#").length){var x=l.exec(b);if(x)return this.path=b,this.href=b,this.pathname=x[1],x[2]?(this.search=x[2],this.query=e?_.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var T=(w=w[0]).toLowerCase();this.protocol=T,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||w&&m[w]||(b=b.substr(2),this.slashes=!0)}if(!m[w]&&(S||w&&!g[w])){for(var E,P,O=-1,M=0;M<d.length;M++){-1!==(A=b.indexOf(d[M]))&&(-1===O||A<O)&&(O=A)}-1!==(P=-1===O?b.lastIndexOf("@"):b.lastIndexOf("@",O))&&(E=b.slice(0,P),b=b.slice(P+1),this.auth=decodeURIComponent(E)),O=-1;for(M=0;M<f.length;M++){var A;-1!==(A=b.indexOf(f[M]))&&(-1===O||A<O)&&(O=A)}-1===O&&(O=b.length),this.host=b.slice(0,O),b=b.slice(O),this.parseHost(),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C)for(var R=this.hostname.split(/\./),D=(M=0,R.length);M<D;M++){var I=R[M];if(I&&!I.match(p)){for(var k="",L=0,F=I.length;L<F;L++)I.charCodeAt(L)>127?k+="x":k+=I[L];if(!k.match(p)){var N=R.slice(0,M),j=R.slice(M+1),B=I.match(v);B&&(N.push(B[1]),j.unshift(B[2])),j.length&&(b="/"+j.join(".")+b),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),C||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",X=this.hostname||"";this.host=X+U,this.href+=this.host,C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!y[T])for(M=0,D=c.length;M<D;M++){var W=c[M];if(-1!==b.indexOf(W)){var H=encodeURIComponent(W);H===W&&(H=escape(W)),b=b.split(W).join(H)}}var z=b.indexOf("#");-1!==z&&(this.hash=b.substr(z),b=b.slice(0,z));var G=b.indexOf("?");if(-1!==G?(this.search=b.substr(G),this.query=b.substr(G+1),e&&(this.query=_.parse(this.query)),b=b.slice(0,G)):e&&(this.search="",this.query={}),b&&(this.pathname=b),g[T]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var Y=this.search||"";this.path=U+Y}return this.href=this.format(),this},s.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",i=this.hash||"",n=!1,s="";this.host?n=t+this.host:this.hostname&&(n=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(s=_.stringify(this.query));var a=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||g[e])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),e+n+(r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(a=a.replace("#","%23"))+i},s.prototype.resolve=function(t){return this.resolveObject(b(t,!1,!0)).format()},s.prototype.resolveObject=function(t){if(o.isString(t)){var e=new s;e.parse(t,!1,!0),t=e}for(var r=new s,i=Object.keys(this),n=0;n<i.length;n++){var a=i[n];r[a]=this[a]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),l=0;l<u.length;l++){var h=u[l];"protocol"!==h&&(r[h]=t[h])}return g[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!g[t.protocol]){for(var c=Object.keys(t),f=0;f<c.length;f++){var d=c[f];r[d]=t[d]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||m[t.protocol])r.pathname=t.pathname;else{for(var p=(t.pathname||"").split("/");p.length&&!(t.host=p.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var v=r.pathname||"",y=r.search||"";r.path=v+y}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var _=r.pathname&&"/"===r.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),x=b||_||r.host&&t.pathname,w=x,T=r.pathname&&r.pathname.split("/")||[],S=(p=t.pathname&&t.pathname.split("/")||[],r.protocol&&!g[r.protocol]);if(S&&(r.hostname="",r.port=null,r.host&&(""===T[0]?T[0]=r.host:T.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),x=x&&(""===p[0]||""===T[0])),b)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,T=p;else if(p.length)T||(T=[]),T.pop(),T=T.concat(p),r.search=t.search,r.query=t.query;else if(!o.isNullOrUndefined(t.search)){if(S)r.hostname=r.host=T.shift(),(A=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=A.shift(),r.host=r.hostname=A.shift());return r.search=t.search,r.query=t.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!T.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=T.slice(-1)[0],P=(r.host||t.host||T.length>1)&&("."===E||".."===E)||""===E,O=0,M=T.length;M>=0;M--)"."===(E=T[M])?T.splice(M,1):".."===E?(T.splice(M,1),O++):O&&(T.splice(M,1),O--);if(!x&&!w)for(;O--;O)T.unshift("..");!x||""===T[0]||T[0]&&"/"===T[0].charAt(0)||T.unshift(""),P&&"/"!==T.join("/").substr(-1)&&T.push("");var A,C=""===T[0]||T[0]&&"/"===T[0].charAt(0);S&&(r.hostname=r.host=C?"":T.length?T.shift():"",(A=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=A.shift(),r.host=r.hostname=A.shift()));return(x=x||r.host&&T.length)&&!C&&T.unshift(""),T.length?r.pathname=T.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},s.prototype.parseHost=function(){var t=this.host,e=u.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=h(r(60)),s=r(7),a=r(136),u=r(3),l=h(r(218));function h(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(r,n){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),!r)throw new Error("No video source element specified.");(r.readyState===r.HAVE_ENOUGH_DATA||r.readyState===r.HAVE_FUTURE_DATA)&&r.width&&r.height&&(r.complete=!0);var s=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r,n));return s.width=r.videoWidth,s.height=r.videoHeight,s._autoUpdate=!0,s._isAutoUpdating=!1,s.autoPlay=o,s.update=s.update.bind(s),s._onCanPlay=s._onCanPlay.bind(s),r.addEventListener("play",s._onPlayStart.bind(s)),r.addEventListener("pause",s._onPlayStop.bind(s)),s.hasLoaded=!1,s.__loaded=!1,s._isSourceReady()?s._onCanPlay():(r.addEventListener("canplay",s._onCanPlay),r.addEventListener("canplaythrough",s._onCanPlay)),s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._isSourcePlaying=function(){var t=this.source;return t.currentTime>0&&!1===t.paused&&!1===t.ended&&t.readyState>2},e.prototype._isSourceReady=function(){return 3===this.source.readyState||4===this.source.readyState},e.prototype._onPlayStart=function(){this.hasLoaded||this._onCanPlay(),!this._isAutoUpdating&&this.autoUpdate&&(a.shared.add(this.update,this,u.UPDATE_PRIORITY.HIGH),this._isAutoUpdating=!0)},e.prototype._onPlayStop=function(){this._isAutoUpdating&&(a.shared.remove(this.update,this),this._isAutoUpdating=!1)},e.prototype._onCanPlay=function(){this.hasLoaded=!0,this.source&&(this.source.removeEventListener("canplay",this._onCanPlay),this.source.removeEventListener("canplaythrough",this._onCanPlay),this.width=this.source.videoWidth,this.height=this.source.videoHeight,this.__loaded||(this.__loaded=!0,this.emit("loaded",this)),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&this.source.play())},e.prototype.destroy=function(){this._isAutoUpdating&&a.shared.remove(this.update,this),this.source&&this.source._pixiId&&(o.default.removeFromCache(this.source._pixiId),delete this.source._pixiId,this.source.pause(),this.source.src="",this.source.load()),t.prototype.destroy.call(this)},e.fromVideo=function(t,r,i){t._pixiId||(t._pixiId="video_"+(0,s.uid)());var n=s.BaseTextureCache[t._pixiId];return n||(n=new e(t,r,i),o.default.addToCache(n,t._pixiId)),n},e.fromUrl=function(t,r,i,n){var o=document.createElement("video");o.setAttribute("webkit-playsinline",""),o.setAttribute("playsinline","");var s=Array.isArray(t)?t[0].src||t[0]:t.src||t;if(void 0===i&&0!==s.indexOf("data:")?o.crossOrigin=(0,l.default)(s):i&&(o.crossOrigin="string"==typeof i?i:"anonymous"),Array.isArray(t))for(var a=0;a<t.length;++a)o.appendChild(f(t[a].src||t[a],t[a].mime));else o.appendChild(f(s,t.mime));return o.load(),e.fromVideo(o,r,n)},n(e,[{key:"autoUpdate",get:function(){return this._autoUpdate},set:function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isAutoUpdating?(a.shared.remove(this.update,this),this._isAutoUpdating=!1):this._autoUpdate&&!this._isAutoUpdating&&(a.shared.add(this.update,this,u.UPDATE_PRIORITY.HIGH),this._isAutoUpdating=!0))}}]),e}(o.default);function f(t,e){if(!e){var r=t.split("?").shift().toLowerCase();e="video/"+r.substr(r.lastIndexOf(".")+1)}var i=document.createElement("source");return i.src=t,i.type=e,i}e.default=c,c.fromUrls=c.fromUrl},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(205),o=(i=n)&&i.__esModule?i:{default:i};var s=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),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.uvsUint32=new Uint32Array(4)}return t.prototype.set=function(t,e,r){var i=e.width,n=e.height;if(r){var s=t.width/2/i,a=t.height/2/n,u=t.x/i+s,l=t.y/n+a;r=o.default.add(r,o.default.NW),this.x0=u+s*o.default.uX(r),this.y0=l+a*o.default.uY(r),r=o.default.add(r,2),this.x1=u+s*o.default.uX(r),this.y1=l+a*o.default.uY(r),r=o.default.add(r,2),this.x2=u+s*o.default.uX(r),this.y2=l+a*o.default.uY(r),r=o.default.add(r,2),this.x3=u+s*o.default.uX(r),this.y3=l+a*o.default.uY(r)}else this.x0=t.x/i,this.y0=t.y/n,this.x1=(t.x+t.width)/i,this.y1=t.y/n,this.x2=(t.x+t.width)/i,this.y2=(t.y+t.height)/n,this.x3=t.x/i,this.y3=(t.y+t.height)/n;this.uvsUint32[0]=(65535&Math.round(65535*this.y0))<<16|65535&Math.round(65535*this.x0),this.uvsUint32[1]=(65535&Math.round(65535*this.y1))<<16|65535&Math.round(65535*this.x1),this.uvsUint32[2]=(65535&Math.round(65535*this.y2))<<16|65535&Math.round(65535*this.x2),this.uvsUint32[3]=(65535&Math.round(65535*this.y3))<<16|65535&Math.round(65535*this.x3)},t}();e.default=s},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(7),s=r(14),a=r(3),u=f(r(13)),l=f(r(64)),h=f(r(137)),c=f(r(55));function f(t){return t&&t.__esModule?t:{default:t}}var d=new s.Matrix,p=function(t){function e(r,n,h,c){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var f=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return(0,o.sayHello)(r),"number"==typeof n&&(n=Object.assign({width:n,height:h||u.default.RENDER_OPTIONS.height},c)),n=Object.assign({},u.default.RENDER_OPTIONS,n),f.options=n,f.type=a.RENDERER_TYPE.UNKNOWN,f.screen=new s.Rectangle(0,0,n.width,n.height),f.view=n.view||document.createElement("canvas"),f.resolution=n.resolution||u.default.RESOLUTION,f.transparent=n.transparent,f.autoResize=n.autoResize||!1,f.blendModes=null,f.preserveDrawingBuffer=n.preserveDrawingBuffer,f.clearBeforeRender=n.clearBeforeRender,f.roundPixels=n.roundPixels,f._backgroundColor=0,f._backgroundColorRgba=[0,0,0,0],f._backgroundColorString="#000000",f.backgroundColor=n.backgroundColor||f._backgroundColor,f._tempDisplayObjectParent=new l.default,f._lastObjectRendered=f._tempDisplayObjectParent,f}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.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.autoResize&&(this.view.style.width=t+"px",this.view.style.height=e+"px")},e.prototype.generateTexture=function(t,e,r,i){i=i||t.getLocalBounds();var n=h.default.create(0|i.width,0|i.height,e,r);return d.tx=-i.x,d.ty=-i.y,this.render(t,n,!1,d,!!t.parent),n},e.prototype.destroy=function(t){t&&this.view.parentNode&&this.view.parentNode.removeChild(this.view),this.type=a.RENDERER_TYPE.UNKNOWN,this.view=null,this.screen=null,this.resolution=0,this.transparent=!1,this.autoResize=!1,this.blendModes=null,this.options=null,this.preserveDrawingBuffer=!1,this.clearBeforeRender=!1,this.roundPixels=!1,this._backgroundColor=0,this._backgroundColorRgba=null,this._backgroundColorString=null,this._tempDisplayObjectParent=null,this._lastObjectRendered=null},n(e,[{key:"width",get:function(){return this.view.width}},{key:"height",get:function(){return this.view.height}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(t){this._backgroundColor=t,this._backgroundColorString=(0,o.hex2string)(t),(0,o.hex2rgb)(t,this._backgroundColorRgba)}}]),e}(c.default);e.default=p},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=s(r(60)),o=s(r(13));function s(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,s=arguments[2],a=arguments[3];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,null,s));return u.resolution=a||o.default.RESOLUTION,u.width=Math.ceil(r),u.height=Math.ceil(n),u.realWidth=u.width*u.resolution,u.realHeight=u.height*u.resolution,u.scaleMode=void 0!==s?s:o.default.SCALE_MODE,u.hasLoaded=!0,u._glRenderTargets={},u._canvasRenderTarget=null,u.valid=!1,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.resize=function(t,e){t=Math.ceil(t),e=Math.ceil(e),t===this.width&&e===this.height||(this.valid=t>0&&e>0,this.width=t,this.height=e,this.realWidth=this.width*this.resolution,this.realHeight=this.height*this.resolution,this.valid&&this.emit("update",this))},e.prototype.destroy=function(){t.prototype.destroy.call(this,!0),this.renderer=null},e}(n.default);e.default=a},function(t,e,r){"use strict";e.__esModule=!0;var i,n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(13),s=(i=o)&&i.__esModule?i:{default:i};var a=function(){function t(e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.resolution=i||s.default.RESOLUTION,this.resize(e,r)}return t.prototype.clear=function(){this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.canvas.width,this.canvas.height)},t.prototype.resize=function(t,e){this.canvas.width=t*this.resolution,this.canvas.height=e*this.resolution},t.prototype.destroy=function(){this.context=null,this.canvas=null},n(t,[{key:"width",get:function(){return this.canvas.width},set:function(t){this.canvas.width=t}},{key:"height",get:function(){return this.canvas.height},set:function(t){this.canvas.height=t}}]),t}();e.default=a},function(t,e,r){"use strict";function i(t){var e=document.createElement("canvas");e.width=6,e.height=1;var r=e.getContext("2d");return r.fillStyle=t,r.fillRect(0,0,6,1),e}e.__esModule=!0,e.default=function(){if("undefined"==typeof document)return!1;var t=i("#ff00ff"),e=i("#ffff00"),r=document.createElement("canvas");r.width=6,r.height=1;var n=r.getContext("2d");n.globalCompositeOperation="multiply",n.drawImage(t,0,0),n.drawImage(e,2,0);var o=n.getImageData(2,0,1,1);if(!o)return!1;var s=o.data;return 255===s[0]&&0===s[1]&&0===s[2]}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=a(r(228)),o=r(14),s=(r(35),a(r(229)));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=new o.Matrix,s=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.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)).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 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\n    original *= (masky.r * masky.a * alpha * clip);\n\n    gl_FragColor = original;\n}\n"));return r.renderable=!1,s.maskSprite=r,s.maskMatrix=n,s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.apply=function(t,e,r,i){var n=this.maskSprite,o=this.maskSprite.texture;o.valid&&(o.transform||(o.transform=new s.default(o,0)),o.transform.update(),this.uniforms.mask=o,this.uniforms.otherMatrix=t.calculateSpriteMatrix(this.maskMatrix,n).prepend(o.transform.mapCoord),this.uniforms.alpha=n.worldAlpha,this.uniforms.maskClamp=o.transform.uClampFrame,t.applyFilter(this,e,r,i))},e}(n.default);e.default=u},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=u(r(527)),o=r(7),s=r(3),a=u(r(13));function u(t){return t&&t.__esModule?t:{default:t}}var l={},h=function(){function t(e,r,i){for(var u in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.vertexSrc=e||t.defaultVertexSrc,this.fragmentSrc=r||t.defaultFragmentSrc,this._blendMode=s.BLEND_MODES.NORMAL,this.uniformData=i||(0,n.default)(this.vertexSrc,this.fragmentSrc,"projectionMatrix|uSampler"),this.uniforms={},this.uniformData)this.uniforms[u]=this.uniformData[u].value,this.uniformData[u].type&&(this.uniformData[u].type=this.uniformData[u].type.toLowerCase());this.glShaders={},l[this.vertexSrc+this.fragmentSrc]||(l[this.vertexSrc+this.fragmentSrc]=(0,o.uid)()),this.glShaderKey=l[this.vertexSrc+this.fragmentSrc],this.padding=4,this.resolution=a.default.FILTER_RESOLUTION,this.enabled=!0,this.autoFit=!0}return t.prototype.apply=function(t,e,r,i,n){t.applyFilter(this,e,r,i)},i(t,[{key:"blendMode",get:function(){return this._blendMode},set:function(t){this._blendMode=t}}],[{key:"defaultVertexSrc",get:function(){return["attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","uniform mat3 projectionMatrix;","uniform mat3 filterMatrix;","varying vec2 vTextureCoord;","varying vec2 vFilterCoord;","void main(void){","   gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);","   vFilterCoord = ( filterMatrix * vec3( aTextureCoord, 1.0)  ).xy;","   vTextureCoord = aTextureCoord ;","}"].join("\n")}},{key:"defaultFragmentSrc",get:function(){return["varying vec2 vTextureCoord;","varying vec2 vFilterCoord;","uniform sampler2D uSampler;","uniform sampler2D filterSampler;","void main(void){","   vec4 masky = texture2D(filterSampler, vFilterCoord);","   vec4 sample = texture2D(uSampler, vTextureCoord);","   vec4 color;","   if(mod(vFilterCoord.x, 1.0) > 0.5)","   {","     color = vec4(1.0, 0.0, 0.0, 1.0);","   }","   else","   {","     color = vec4(0.0, 1.0, 0.0, 1.0);","   }","   gl_FragColor = mix(sample, masky, 0.5);","   gl_FragColor *= sample.a;","}"].join("\n")}}]),t}();e.default=h},function(t,e,r){"use strict";e.__esModule=!0;var i,n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(127),s=(i=o)&&i.__esModule?i:{default:i};var a=new s.default,u=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._texture=e,this.mapCoord=new s.default,this.uClampFrame=new Float32Array(4),this.uClampOffset=new Float32Array(2),this._lastTextureID=-1,this.clampOffset=0,this.clampMargin=void 0===r?.5:r}return t.prototype.multiplyUvs=function(t,e){void 0===e&&(e=t);for(var r=this.mapCoord,i=0;i<t.length;i+=2){var n=t[i],o=t[i+1];e[i]=n*r.a+o*r.c+r.tx,e[i+1]=n*r.b+o*r.d+r.ty}return e},t.prototype.update=function(t){var e=this._texture;if(!e||!e.valid)return!1;if(!t&&this._lastTextureID===e._updateID)return!1;this._lastTextureID=e._updateID;var r=e._uvs;this.mapCoord.set(r.x1-r.x0,r.y1-r.y0,r.x3-r.x0,r.y3-r.y0,r.x0,r.y0);var i=e.orig,n=e.trim;n&&(a.set(i.width/n.width,0,0,i.height/n.height,-n.x/n.width,-n.y/n.height),this.mapCoord.append(a));var o=e.baseTexture,s=this.uClampFrame,u=this.clampMargin/o.resolution,l=this.clampOffset;return s[0]=(e._frame.x+u+l)/o.width,s[1]=(e._frame.y+u+l)/o.height,s[2]=(e._frame.x+e._frame.width-u+l)/o.width,s[3]=(e._frame.y+e._frame.height-u+l)/o.height,this.uClampOffset[0]=l/o.realWidth,this.uClampOffset[1]=l/o.realHeight,!0},n(t,[{key:"texture",get:function(){return this._texture},set:function(t){this._texture=t,this._lastTextureID=-1}}]),t}();e.default=u},function(t,e,r){"use strict";e.__esModule=!0;var i=o(r(25)),n=o(r(138));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.gl=e,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.interleaved=new Float32Array(16);for(var o=0;o<4;o++)this.interleaved[4*o]=this.vertices[2*o],this.interleaved[4*o+1]=this.vertices[2*o+1],this.interleaved[4*o+2]=this.uvs[2*o],this.interleaved[4*o+3]=this.uvs[2*o+1];this.indices=(0,n.default)(1),this.vertexBuffer=i.default.GLBuffer.createVertexBuffer(e,this.interleaved,e.STATIC_DRAW),this.indexBuffer=i.default.GLBuffer.createIndexBuffer(e,this.indices,e.STATIC_DRAW),this.vao=new i.default.VertexArrayObject(e,r)}return t.prototype.initVao=function(t){this.vao.clear().addIndex(this.indexBuffer).addAttribute(this.vertexBuffer,t.attributes.aVertexPosition,this.gl.FLOAT,!1,16,0).addAttribute(this.vertexBuffer,t.attributes.aTextureCoord,this.gl.FLOAT,!1,16,8)},t.prototype.map=function(t,e){var r=0,i=0;return this.uvs[0]=r,this.uvs[1]=i,this.uvs[2]=r+e.width/t.width,this.uvs[3]=i,this.uvs[4]=r+e.width/t.width,this.uvs[5]=i+e.height/t.height,this.uvs[6]=r,this.uvs[7]=i+e.height/t.height,r=e.x,i=e.y,this.vertices[0]=r,this.vertices[1]=i,this.vertices[2]=r+e.width,this.vertices[3]=i,this.vertices[4]=r+e.width,this.vertices[5]=i+e.height,this.vertices[6]=r,this.vertices[7]=i+e.height,this},t.prototype.upload=function(){for(var t=0;t<4;t++)this.interleaved[4*t]=this.vertices[2*t],this.interleaved[4*t+1]=this.vertices[2*t+1],this.interleaved[4*t+2]=this.uvs[2*t],this.interleaved[4*t+3]=this.uvs[2*t+1];return this.vertexBuffer.upload(this.interleaved),this},t.prototype.destroy=function(){var t=this.gl;t.deleteBuffer(this.vertexBuffer),t.deleteBuffer(this.indexBuffer)},t}();e.default=s},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=r(3),o=r(7);var s={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fillGradientType:n.TEXT_GRADIENT.LINEAR_VERTICAL,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},a=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.styleID=0,this.reset(),c(this,e,e)}return t.prototype.clone=function(){var e={};return c(e,this,s),new t(e)},t.prototype.reset=function(){c(this,s,s)},t.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 r=e.length-1;r>=0;r--){var i=e[r].trim();!/([\"\'])[^\'\"]+\1/.test(i)&&a.indexOf(i)<0&&(i='"'+i+'"'),e[r]=i}return this.fontStyle+" "+this.fontVariant+" "+this.fontWeight+" "+t+" "+e.join(",")},i(t,[{key:"align",get:function(){return this._align},set:function(t){this._align!==t&&(this._align=t,this.styleID++)}},{key:"breakWords",get:function(){return this._breakWords},set:function(t){this._breakWords!==t&&(this._breakWords=t,this.styleID++)}},{key:"dropShadow",get:function(){return this._dropShadow},set:function(t){this._dropShadow!==t&&(this._dropShadow=t,this.styleID++)}},{key:"dropShadowAlpha",get:function(){return this._dropShadowAlpha},set:function(t){this._dropShadowAlpha!==t&&(this._dropShadowAlpha=t,this.styleID++)}},{key:"dropShadowAngle",get:function(){return this._dropShadowAngle},set:function(t){this._dropShadowAngle!==t&&(this._dropShadowAngle=t,this.styleID++)}},{key:"dropShadowBlur",get:function(){return this._dropShadowBlur},set:function(t){this._dropShadowBlur!==t&&(this._dropShadowBlur=t,this.styleID++)}},{key:"dropShadowColor",get:function(){return this._dropShadowColor},set:function(t){var e=h(t);this._dropShadowColor!==e&&(this._dropShadowColor=e,this.styleID++)}},{key:"dropShadowDistance",get:function(){return this._dropShadowDistance},set:function(t){this._dropShadowDistance!==t&&(this._dropShadowDistance=t,this.styleID++)}},{key:"fill",get:function(){return this._fill},set:function(t){var e=h(t);this._fill!==e&&(this._fill=e,this.styleID++)}},{key:"fillGradientType",get:function(){return this._fillGradientType},set:function(t){this._fillGradientType!==t&&(this._fillGradientType=t,this.styleID++)}},{key:"fillGradientStops",get:function(){return this._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 r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0})(this._fillGradientStops,t)||(this._fillGradientStops=t,this.styleID++)}},{key:"fontFamily",get:function(){return this._fontFamily},set:function(t){this.fontFamily!==t&&(this._fontFamily=t,this.styleID++)}},{key:"fontSize",get:function(){return this._fontSize},set:function(t){this._fontSize!==t&&(this._fontSize=t,this.styleID++)}},{key:"fontStyle",get:function(){return this._fontStyle},set:function(t){this._fontStyle!==t&&(this._fontStyle=t,this.styleID++)}},{key:"fontVariant",get:function(){return this._fontVariant},set:function(t){this._fontVariant!==t&&(this._fontVariant=t,this.styleID++)}},{key:"fontWeight",get:function(){return this._fontWeight},set:function(t){this._fontWeight!==t&&(this._fontWeight=t,this.styleID++)}},{key:"letterSpacing",get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.styleID++)}},{key:"lineHeight",get:function(){return this._lineHeight},set:function(t){this._lineHeight!==t&&(this._lineHeight=t,this.styleID++)}},{key:"leading",get:function(){return this._leading},set:function(t){this._leading!==t&&(this._leading=t,this.styleID++)}},{key:"lineJoin",get:function(){return this._lineJoin},set:function(t){this._lineJoin!==t&&(this._lineJoin=t,this.styleID++)}},{key:"miterLimit",get:function(){return this._miterLimit},set:function(t){this._miterLimit!==t&&(this._miterLimit=t,this.styleID++)}},{key:"padding",get:function(){return this._padding},set:function(t){this._padding!==t&&(this._padding=t,this.styleID++)}},{key:"stroke",get:function(){return this._stroke},set:function(t){var e=h(t);this._stroke!==e&&(this._stroke=e,this.styleID++)}},{key:"strokeThickness",get:function(){return this._strokeThickness},set:function(t){this._strokeThickness!==t&&(this._strokeThickness=t,this.styleID++)}},{key:"textBaseline",get:function(){return this._textBaseline},set:function(t){this._textBaseline!==t&&(this._textBaseline=t,this.styleID++)}},{key:"trim",get:function(){return this._trim},set:function(t){this._trim!==t&&(this._trim=t,this.styleID++)}},{key:"whiteSpace",get:function(){return this._whiteSpace},set:function(t){this._whiteSpace!==t&&(this._whiteSpace=t,this.styleID++)}},{key:"wordWrap",get:function(){return this._wordWrap},set:function(t){this._wordWrap!==t&&(this._wordWrap=t,this.styleID++)}},{key:"wordWrapWidth",get:function(){return this._wordWrapWidth},set:function(t){this._wordWrapWidth!==t&&(this._wordWrapWidth=t,this.styleID++)}}]),t}();function l(t){return"number"==typeof t?(0,o.hex2string)(t):("string"==typeof t&&0===t.indexOf("0x")&&(t=t.replace("0x","#")),t)}function h(t){if(Array.isArray(t)){for(var e=0;e<t.length;++e)t[e]=l(t[e]);return t}return l(t)}function c(t,e,r){for(var i in r)Array.isArray(e[i])?t[i]=e[i].slice():t[i]=e[i]}e.default=u},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(e,r,i,n,o,s,a,u,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.text=e,this.style=r,this.width=i,this.height=n,this.lines=o,this.lineWidths=s,this.lineHeight=a,this.maxLineWidth=u,this.fontProperties=l}return t.measureText=function(e,r,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t._canvas;i=void 0===i||null===i?r.wordWrap:i;var o=r.toFontString(),s=t.measureFont(o),a=n.getContext("2d");a.font=o;for(var u=(i?t.wordWrap(e,r,n):e).split(/(?:\r\n|\r|\n)/),l=new Array(u.length),h=0,c=0;c<u.length;c++){var f=a.measureText(u[c]).width+(u[c].length-1)*r.letterSpacing;l[c]=f,h=Math.max(h,f)}var d=h+r.strokeThickness;r.dropShadow&&(d+=r.dropShadowDistance);var p=r.lineHeight||s.fontSize+r.strokeThickness,v=Math.max(p,s.fontSize+r.strokeThickness)+(u.length-1)*(p+r.leading);return r.dropShadow&&(v+=r.dropShadowDistance),new t(e,r,d,v,u,l,p+r.leading,h,s)},t.wordWrap=function(e,r){for(var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:t._canvas).getContext("2d"),n=0,o="",s="",a={},u=r.letterSpacing,l=r.whiteSpace,h=t.collapseSpaces(l),c=t.collapseNewlines(l),f=!h,d=r.wordWrapWidth+u,p=t.tokenize(e),v=0;v<p.length;v++){var y=p[v];if(t.isNewline(y)){if(!c){s+=t.addLine(o),f=!h,o="",n=0;continue}y=" "}if(h){var m=t.isBreakingSpace(y),g=t.isBreakingSpace(o[o.length-1]);if(m&&g)continue}var _=t.getFromCache(y,u,a,i);if(_>d)if(""!==o&&(s+=t.addLine(o),o="",n=0),t.canBreakWords(y,r.breakWords))for(var b=y.split(""),x=0;x<b.length;x++){for(var w=b[x],T=1;b[x+T];){var S=b[x+T],E=w[w.length-1];if(t.canBreakChars(E,S,y,x,r.breakWords))break;w+=S,T++}x+=w.length-1;var P=t.getFromCache(w,u,a,i);P+n>d&&(s+=t.addLine(o),f=!1,o="",n=0),o+=w,n+=P}else{o.length>0&&(s+=t.addLine(o),o="",n=0);var O=v===p.length-1;s+=t.addLine(y,!O),f=!1,o="",n=0}else _+n>d&&(f=!1,s+=t.addLine(o),o="",n=0),(o.length>0||!t.isBreakingSpace(y)||f)&&(o+=y,n+=_)}return s+=t.addLine(o,!1)},t.addLine=function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=t.trimRight(e),e=r?e+"\n":e},t.getFromCache=function(t,e,r,i){var n=r[t];if(void 0===n){var o=t.length*e;n=i.measureText(t).width+o,r[t]=n}return n},t.collapseSpaces=function(t){return"normal"===t||"pre-line"===t},t.collapseNewlines=function(t){return"normal"===t},t.trimRight=function(e){if("string"!=typeof e)return"";for(var r=e.length-1;r>=0;r--){var i=e[r];if(!t.isBreakingSpace(i))break;e=e.slice(0,-1)}return e},t.isNewline=function(e){return"string"==typeof e&&t._newlines.indexOf(e.charCodeAt(0))>=0},t.isBreakingSpace=function(e){return"string"==typeof e&&t._breakingSpaces.indexOf(e.charCodeAt(0))>=0},t.tokenize=function(e){var r=[],i="";if("string"!=typeof e)return r;for(var n=0;n<e.length;n++){var o=e[n];t.isBreakingSpace(o)||t.isNewline(o)?(""!==i&&(r.push(i),i=""),r.push(o)):i+=o}return""!==i&&r.push(i),r},t.canBreakWords=function(t,e){return e},t.canBreakChars=function(t,e,r,i,n){return!0},t.measureFont=function(e){if(t._fonts[e])return t._fonts[e];var r={},i=t._canvas,n=t._context;n.font=e;var o=t.METRICS_STRING+t.BASELINE_SYMBOL,s=Math.ceil(n.measureText(o).width),a=Math.ceil(n.measureText(t.BASELINE_SYMBOL).width),u=2*a;a=a*t.BASELINE_MULTIPLIER|0,i.width=s,i.height=u,n.fillStyle="#f00",n.fillRect(0,0,s,u),n.font=e,n.textBaseline="alphabetic",n.fillStyle="#000",n.fillText(o,0,a);var l=n.getImageData(0,0,s,u).data,h=l.length,c=4*s,f=0,d=0,p=!1;for(f=0;f<a;++f){for(var v=0;v<c;v+=4)if(255!==l[d+v]){p=!0;break}if(p)break;d+=c}for(r.ascent=a-f,d=h-c,p=!1,f=u;f>a;--f){for(var y=0;y<c;y+=4)if(255!==l[d+y]){p=!0;break}if(p)break;d-=c}return r.descent=f-a,r.fontSize=r.ascent+r.descent,t._fonts[e]=r,r},t.clearMetrics=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e?delete t._fonts[e]:t._fonts={}},t}();e.default=i;var n=document.createElement("canvas");n.width=n.height=10,i._canvas=n,i._context=n.getContext("2d"),i._fonts={},i.METRICS_STRING="|Éq",i.BASELINE_SYMBOL="M",i.BASELINE_MULTIPLIER=1.4,i._newlines=[10,13],i._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288]},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(e,r,i,n,o,s,a,u,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.lineWidth=e,this.lineAlignment=l,this.nativeLines=a,this.lineColor=r,this.lineAlpha=i,this._lineTint=r,this.fillColor=n,this.fillAlpha=o,this._fillTint=n,this.fill=s,this.holes=[],this.shape=u,this.type=u.type}return t.prototype.clone=function(){return new t(this.lineWidth,this.lineColor,this.lineAlpha,this.fillColor,this.fillAlpha,this.fill,this.nativeLines,this.shape,this.lineAlignment)},t.prototype.addHole=function(t){this.holes.push(t)},t.prototype.destroy=function(){this.shape=null,this.holes=null},t}();e.default=i},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=r(235),o=l(r(64)),s=r(136),a=l(r(13)),u=r(3);function l(t){return t&&t.__esModule?t:{default:t}}var h=function(){function t(e,r,i,u,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),"number"==typeof e&&(e=Object.assign({width:e,height:r||a.default.RENDER_OPTIONS.height,forceCanvas:!!u,sharedTicker:!!l},i)),this._options=e=Object.assign({autoStart:!0,sharedTicker:!1,forceCanvas:!1,sharedLoader:!1},e),this.renderer=(0,n.autoDetectRenderer)(e),this.stage=new o.default,this._ticker=null,this.ticker=e.sharedTicker?s.shared:new s.Ticker,e.autoStart&&this.start()}return t.prototype.render=function(){this.renderer.render(this.stage)},t.prototype.stop=function(){this._ticker.stop()},t.prototype.start=function(){this._ticker.start()},t.prototype.destroy=function(t,e){if(this._ticker){var r=this._ticker;this.ticker=null,r.destroy()}this.stage.destroy(e),this.stage=null,this.renderer.destroy(t),this.renderer=null,this._options=null},i(t,[{key:"ticker",set:function(t){this._ticker&&this._ticker.remove(this.render,this),this._ticker=t,t&&t.add(this.render,this,u.UPDATE_PRIORITY.LOW)},get:function(){return this._ticker}},{key:"view",get:function(){return this.renderer.view}},{key:"screen",get:function(){return this.renderer.screen}}]),t}();e.default=h},function(t,e,r){"use strict";e.__esModule=!0,e.autoDetectRenderer=function(t,e,r,s){var a=t&&t.forceCanvas;void 0!==s&&(a=s);if(!a&&i.isWebGLSupported())return new o.default(t,e,r);return new n.default(t,e,r)};var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(7)),n=s(r(65)),o=s(r(92));function s(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";e.__esModule=!0,e.default={accessible:!1,accessibleTitle:null,accessibleHint:null,tabIndex:0,_accessibleActive:!1,_accessibleDiv:!1}},function(t,e,r){"use strict";e.__esModule=!0,e.BitmapText=e.TilingSpriteRenderer=e.TilingSprite=e.AnimatedSprite=void 0;var i=r(560);Object.defineProperty(e,"AnimatedSprite",{enumerable:!0,get:function(){return a(i).default}});var n=r(561);Object.defineProperty(e,"TilingSprite",{enumerable:!0,get:function(){return a(n).default}});var o=r(562);Object.defineProperty(e,"TilingSpriteRenderer",{enumerable:!0,get:function(){return a(o).default}});var s=r(563);function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"BitmapText",{enumerable:!0,get:function(){return a(s).default}}),r(564),r(565),r(566)},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=l(r(239)),a=l(r(240)),u=l(r(241));function l(t){return t&&t.__esModule?t:{default:t}}var h=function(t){function e(r,n,u,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),l=l||5;var h=(0,s.default)(l,!0),c=(0,a.default)(l),f=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,h,c));return f.resolution=u||o.settings.RESOLUTION,f._quality=0,f.quality=n||4,f.strength=r||8,f.firstRun=!0,f}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.apply=function(t,e,r,i){if(this.firstRun){var n=t.renderer.gl,o=(0,u.default)(n);this.vertexSrc=(0,s.default)(o,!0),this.fragmentSrc=(0,a.default)(o),this.firstRun=!1}if(this.uniforms.strength=1/r.size.width*(r.size.width/e.size.width),this.uniforms.strength*=this.strength,this.uniforms.strength/=this.passes,1===this.passes)t.applyFilter(this,e,r,i);else{for(var l=t.getRenderTarget(!0),h=e,c=l,f=0;f<this.passes-1;f++){t.applyFilter(this,h,c,!0);var d=c;c=h,h=d}t.applyFilter(this,h,r,i),t.returnRenderTarget(l)}},n(e,[{key:"blur",get:function(){return this.strength},set:function(t){this.padding=2*Math.abs(t),this.strength=t}},{key:"quality",get:function(){return this._quality},set:function(t){this._quality=t,this.passes=t}}]),e}(o.Filter);e.default=h},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){var r=Math.ceil(t/2),n=i,o="",s=void 0;s=e?"vBlurTexCoords[%index%] = aTextureCoord + vec2(%sampleIndex% * strength, 0.0);":"vBlurTexCoords[%index%] = aTextureCoord + vec2(0.0, %sampleIndex% * strength);";for(var a=0;a<t;a++){var u=s.replace("%index%",a);u=u.replace("%sampleIndex%",a-(r-1)+".0"),o+=u,o+="\n"}return n=(n=n.replace("%blur%",o)).replace("%size%",t)};var i=["attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","uniform float strength;","uniform mat3 projectionMatrix;","varying vec2 vBlurTexCoords[%size%];","void main(void)","{","gl_Position = vec4((projectionMatrix * vec3((aVertexPosition), 1.0)).xy, 0.0, 1.0);","%blur%","}"].join("\n")},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){for(var e=i[t],r=e.length,o=n,s="",a=void 0,u=0;u<t;u++){var l="gl_FragColor += texture2D(uSampler, vBlurTexCoords[%index%]) * %value%;".replace("%index%",u);a=u,u>=r&&(a=t-u-1),l=l.replace("%value%",e[a]),s+=l,s+="\n"}return o=(o=o.replace("%blur%",s)).replace("%size%",t)};var i={5:[.153388,.221461,.250301],7:[.071303,.131514,.189879,.214607],9:[.028532,.067234,.124009,.179044,.20236],11:[.0093,.028002,.065984,.121703,.175713,.198596],13:[.002406,.009255,.027867,.065666,.121117,.174868,.197641],15:[489e-6,.002403,.009246,.02784,.065602,.120999,.174697,.197448]},n=["varying vec2 vBlurTexCoords[%size%];","uniform sampler2D uSampler;","void main(void)","{","    gl_FragColor = vec4(0.0);","    %blur%","}"].join("\n")},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=t.getParameter(t.MAX_VARYING_VECTORS),r=15;for(;r>e;)r-=2;return r}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=l(r(239)),a=l(r(240)),u=l(r(241));function l(t){return t&&t.__esModule?t:{default:t}}var h=function(t){function e(r,n,u,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),l=l||5;var h=(0,s.default)(l,!1),c=(0,a.default)(l),f=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,h,c));return f.resolution=u||o.settings.RESOLUTION,f._quality=0,f.quality=n||4,f.strength=r||8,f.firstRun=!0,f}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.apply=function(t,e,r,i){if(this.firstRun){var n=t.renderer.gl,o=(0,u.default)(n);this.vertexSrc=(0,s.default)(o,!1),this.fragmentSrc=(0,a.default)(o),this.firstRun=!1}if(this.uniforms.strength=1/r.size.height*(r.size.height/e.size.height),this.uniforms.strength*=this.strength,this.uniforms.strength/=this.passes,1===this.passes)t.applyFilter(this,e,r,i);else{for(var l=t.getRenderTarget(!0),h=e,c=l,f=0;f<this.passes-1;f++){t.applyFilter(this,h,c,!0);var d=c;c=h,h=d}t.applyFilter(this,h,r,i),t.returnRenderTarget(l)}},n(e,[{key:"blur",get:function(){return this.strength},set:function(t){this.padding=2*Math.abs(t),this.strength=t}},{key:"quality",get:function(){return this._quality},set:function(t){this._quality=t,this.passes=t}}]),e}(o.Filter);e.default=h},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.global=new n.Point,this.target=null,this.originalEvent=null,this.identifier=null,this.isPrimary=!1,this.button=0,this.buttons=0,this.width=0,this.height=0,this.tiltX=0,this.tiltY=0,this.pointerType=null,this.pressure=0,this.rotationAngle=0,this.twist=0,this.tangentialPressure=0}return t.prototype.getLocalPosition=function(t,e,r){return t.worldTransform.applyInverse(r||this.global,e)},t.prototype.copyEvent=function(t){t.isPrimary&&(this.isPrimary=!0),this.button=t.button,this.buttons=Number.isInteger(t.buttons)?t.buttons:t.which,this.width=t.width,this.height=t.height,this.tiltX=t.tiltX,this.tiltY=t.tiltY,this.pointerType=t.pointerType,this.pressure=t.pressure,this.rotationAngle=t.rotationAngle,this.twist=t.twist||0,this.tangentialPressure=t.tangentialPressure||0},t.prototype.reset=function(){this.isPrimary=!1},i(t,[{key:"pointerId",get:function(){return this.identifier}}]),t}();e.default=o},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.stopped=!1,this.target=null,this.currentTarget=null,this.type=null,this.data=null}return t.prototype.stopPropagation=function(){this.stopped=!0},t.prototype.reset=function(){this.stopped=!1,this.currentTarget=null,this.target=null},t}();e.default=i},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}();var n=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._pointerId=e,this._flags=t.FLAGS.NONE}return t.prototype._doSet=function(t,e){this._flags=e?this._flags|t:this._flags&~t},i(t,[{key:"pointerId",get:function(){return this._pointerId}},{key:"flags",get:function(){return this._flags},set:function(t){this._flags=t}},{key:"none",get:function(){return this._flags===this.constructor.FLAGS.NONE}},{key:"over",get:function(){return 0!=(this._flags&this.constructor.FLAGS.OVER)},set:function(t){this._doSet(this.constructor.FLAGS.OVER,t)}},{key:"rightDown",get:function(){return 0!=(this._flags&this.constructor.FLAGS.RIGHT_DOWN)},set:function(t){this._doSet(this.constructor.FLAGS.RIGHT_DOWN,t)}},{key:"leftDown",get:function(){return 0!=(this._flags&this.constructor.FLAGS.LEFT_DOWN)},set:function(t){this._doSet(this.constructor.FLAGS.LEFT_DOWN,t)}}]),t}();e.default=n,n.FLAGS=Object.freeze({NONE:0,OVER:1,LEFT_DOWN:2,RIGHT_DOWN:4})},function(t,e,r){"use strict";e.__esModule=!0,e.default={interactive:!1,interactiveChildren:!0,hitArea:null,get buttonMode(){return"pointer"===this.cursor},set buttonMode(t){t?this.cursor="pointer":"pointer"===this.cursor&&(this.cursor=null)},cursor:null,get trackedPointers(){return void 0===this._trackedPointers&&(this._trackedPointers={}),this._trackedPointers},_trackedPointers:void 0}},function(t,e,r){"use strict";e.__esModule=!0,e.parse=s,e.default=function(){return function(t,e){if(t.data&&t.type===n.Resource.TYPE.XML)if(0!==t.data.getElementsByTagName("page").length&&0!==t.data.getElementsByTagName("info").length&&null!==t.data.getElementsByTagName("info")[0].getAttribute("face")){var r=t.isDataUrl?"":i.dirname(t.url);t.isDataUrl&&("."===r&&(r=""),this.baseUrl&&r&&"/"===this.baseUrl.charAt(this.baseUrl.length-1)&&(r+="/")),(r=r.replace(this.baseUrl,""))&&"/"!==r.charAt(r.length-1)&&(r+="/");for(var o=t.data.getElementsByTagName("page"),a={},u=function(r){a[r.metadata.pageFile]=r.texture,Object.keys(a).length===o.length&&(s(t,a),e())},l=0;l<o.length;++l){var h=o[l].getAttribute("file"),c=r+h,f=!1;for(var d in this.resources){var p=this.resources[d];if(p.url===c){p.metadata.pageFile=h,p.texture?u(p):p.onAfterMiddleware.add(u),f=!0;break}}if(!f){var v={crossOrigin:t.crossOrigin,loadType:n.Resource.LOAD_TYPE.IMAGE,metadata:Object.assign({pageFile:h},t.metadata.imageMetadata),parentResource:t};this.add(c,v,u)}}}else e();else e()}};var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(35)),n=r(68),o=r(237);function s(t,e){t.bitmapFont=o.BitmapText.registerFont(t.data,e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}();function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e,r,i){void 0===r&&(r=!1),n(this,t),this._fn=e,this._once=r,this._thisArg=i,this._next=this._prev=this._owner=null}return i(t,[{key:"detach",value:function(){return null!==this._owner&&(this._owner.detach(this),!0)}}]),t}();function s(t,e){return t._head?(t._tail._next=e,e._prev=t._tail,t._tail=e):(t._head=e,t._tail=e),e._owner=t,e}var a=function(){function t(){n(this,t),this._head=this._tail=void 0}return i(t,[{key:"handlers",value:function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],e=this._head;if(t)return!!e;for(var r=[];e;)r.push(e),e=e._next;return r}},{key:"has",value:function(t){if(!(t instanceof o))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){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if("function"!=typeof t)throw new Error("MiniSignal#add(): First arg must be a Function.");return s(this,new o(t,!1,e))}},{key:"once",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if("function"!=typeof t)throw new Error("MiniSignal#once(): First arg must be a Function.");return s(this,new o(t,!0,e))}},{key:"detach",value:function(t){if(!(t instanceof o))throw new Error("MiniSignal#detach(): First arg must be a MiniSignalBinding object.");return t._owner!==this?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}}]),t}();a.MiniSignalBinding=o,e.default=a,t.exports=e.default},function(t,e,r){"use strict";t.exports=function(t,e){e=e||{};for(var r={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=r.parser[e.strictMode?"strict":"loose"].exec(t),n={},o=14;o--;)n[r.key[o]]=i[o]||"";return n[r.q.name]={},n[r.key[12]].replace(r.q.parser,function(t,e,i){e&&(n[r.q.name][e]=i)}),n}},function(t,e,r){"use strict";function i(){}function n(t){return function(){if(null===t)throw new Error("Callback was already called.");var e=t;t=null,e.apply(this,arguments)}}e.__esModule=!0,e.eachSeries=function(t,e,r,i){var n=0,o=t.length;!function s(a){a||n===o?r&&r(a):i?setTimeout(function(){e(t[n++],s)},1):e(t[n++],s)}()},e.queue=function(t,e){if(null==e)e=1;else if(0===e)throw new Error("Concurrency must not be zero");var r=0,o={_tasks:[],concurrency:e,saturated:i,unsaturated:i,buffer:e/4,empty:i,drain:i,error:i,started:!1,paused:!1,push:function(t,e){s(t,!1,e)},kill:function(){r=0,o.drain=i,o.started=!1,o._tasks=[]},unshift:function(t,e){s(t,!0,e)},process:function(){for(;!o.paused&&r<o.concurrency&&o._tasks.length;){var e=o._tasks.shift();0===o._tasks.length&&o.empty(),(r+=1)===o.concurrency&&o.saturated(),t(e.data,n(a(e)))}},length:function(){return o._tasks.length},running:function(){return r},idle:function(){return o._tasks.length+r===0},pause:function(){!0!==o.paused&&(o.paused=!0)},resume:function(){if(!1!==o.paused){o.paused=!1;for(var t=1;t<=o.concurrency;t++)o.process()}}};function s(t,e,r){if(null!=r&&"function"!=typeof r)throw new Error("task callback must be a function");if(o.started=!0,null==t&&o.idle())setTimeout(function(){return o.drain()},1);else{var n={data:t,callback:"function"==typeof r?r:i};e?o._tasks.unshift(n):o._tasks.push(n),setTimeout(function(){return o.process()},1)}}function a(t){return function(){r-=1,t.callback.apply(t,arguments),null!=arguments[0]&&o.error(arguments[0],t.data),r<=o.concurrency-o.buffer&&o.unsaturated(),o.idle()&&o.drain(),o.process()}}return o}},function(t,e,r){"use strict";e.__esModule=!0,e.encodeBinary=n;var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function n(t){for(var e="",r=0;r<t.length;){for(var n=[0,0,0],o=[0,0,0,0],s=0;s<n.length;++s)r<t.length?n[s]=255&t.charCodeAt(r++):n[s]=0;switch(o[0]=n[0]>>2,o[1]=(3&n[0])<<4|n[1]>>4,o[2]=(15&n[1])<<2|n[2]>>6,o[3]=63&n[2],r-(t.length-1)){case 2:o[3]=64,o[2]=64;break;case 1:o[3]=64}for(var a=0;a<o.length;++a)e+=i.charAt(o[a])}return e}t.exports.default=n},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(){return function(t,e){var r=t.name+"_image";if(t.data&&t.type===n.Resource.TYPE.JSON&&t.data.frames&&!this.resources[r]){var i={crossOrigin:t.crossOrigin,metadata:t.metadata.imageMetadata,parentResource:t},o=u(t,this.baseUrl);this.add(r,o,i,function(r){if(r.error)e(r.error);else{var i=new a.Spritesheet(r.texture.baseTexture,t.data,t.url);i.parse(function(){t.spritesheet=i,t.textures=i.textures,e()})}})}else e()}},e.getResourcePath=u;var i,n=r(68),o=r(219),s=(i=o)&&i.__esModule?i:{default:i},a=r(5);function u(t,e){return t.isDataUrl?t.data.meta.image:s.default.resolve(t.url.replace(e,""),t.data.meta.image)}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(){return function(t,e){t.data&&t.type===n.Resource.TYPE.IMAGE&&(t.texture=s.default.fromLoader(t.data,t.url,t.name)),e()}};var i,n=r(68),o=r(41),s=(i=o)&&i.__esModule?i:{default:i}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=r(69),s=(n=o)&&n.__esModule?n:{default:n};var a=function(t){function e(r,n,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return a._ready=!0,a.verticesX=n||10,a.verticesY=o||10,a.drawMode=s.default.DRAW_MODES.TRIANGLES,a.refresh(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._refresh=function(){for(var t=this._texture,e=this.verticesX*this.verticesY,r=[],i=[],n=[],o=this.verticesX-1,s=this.verticesY-1,a=t.width/o,u=t.height/s,l=0;l<e;l++){var h=l%this.verticesX,c=l/this.verticesX|0;r.push(h*a,c*u),i.push(h/o,c/s)}for(var f=o*s,d=0;d<f;d++){var p=d%o,v=d/o|0,y=v*this.verticesX+p,m=v*this.verticesX+p+1,g=(v+1)*this.verticesX+p,_=(v+1)*this.verticesX+p+1;n.push(y,m,g),n.push(m,_,g)}this.vertices=new Float32Array(r),this.uvs=new Float32Array(i),this.colors=new Float32Array([]),this.indices=new Uint16Array(n),this.dirty++,this.indexDirty++,this.multiplyUvs()},e.prototype._onTextureUpdate=function(){s.default.prototype._onTextureUpdate.call(this),this._ready&&this.refresh()},e}(s.default);e.default=a},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.maxItemsPerFrame=e,this.itemsLeft=0}return t.prototype.beginFrame=function(){this.itemsLeft=this.maxItemsPerFrame},t.prototype.allowedToUpload=function(){return this.itemsLeft-- >0},t}();e.default=i},function(t,e,r){"use strict";var i=p(r(141)),n=r(70);r(258),r(447),r(448);var o=r(192),s=p(r(193)),a=p(r(491)),u=p(r(492)),l=p(r(89)),h=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(203)),c=p(r(594)),f=p(r(596)),d=p(r(597));function p(t){return t&&t.__esModule?t:{default:t}}window.debug=!1,window.imageExt={png:".png",jpg:".jpg"},r(600),window.dispatcher=new l.default,h.utils.skipHello(),window.debug||(window.onbeforeunload=function(){window.scrollTo(0,0)});var v=[c.default],y=document.getElementById("scroller"),m=null,g=[];function _(t){var e={x:t.clientX,y:t.clientY};t.touches&&(e.x=t.touches[0].clientX,e.y=t.touches[0].clientY),window.mouse.delayed.tweenProgressUp||(window.mouse.delayed.tweenProgressDown&&window.mouse.delayed.tweenProgressDown.kill(),window.mouse.delayed.tweenProgressUp=n.TweenMax.to(window.mouse.delayed,1,{progress:1,ease:Quart.easeOut,onComplete:function(){window.mouse.delayed.tweenProgressUp=null}})),window.mouse.delayed.timeout&&clearTimeout(window.mouse.delayed.timeout),window.mouse.delayed.timeout=setTimeout(function(){window.mouse.delayed.tweenProgressUp&&(window.mouse.delayed.tweenProgressUp.kill(),window.mouse.delayed.tweenProgressUp=null),window.mouse.delayed.tweenProgressDown=n.TweenMax.to(window.mouse.delayed,.6,{progress:0,ease:Quart.easeIn})},100),window.mouse.x=e.x,window.mouse.y=e.y,n.TweenMax.to(window.mouse.delayed,.7,{x:e.x,y:e.y,ease:Quad.easeOut})}v.forEach(function(t){return g=g.concat(t.createElements(y))}),window.isTouch=window.matchMedia("(max-width: "+i.default.sizes.xtra_small_screen+")").matches,window.isIntro=!0,window.angle=0,window.mouse={x:window.innerWidth/2,y:window.innerHeight/2,delayed:{x:window.innerWidth/2,y:window.innerHeight/2,progress:0}},document.addEventListener("mousemove",_),document.addEventListener("touchmove",_),document.addEventListener("touchmove",function(){window.isTouch=!0}),window.cursor=f.default,window.isTouch=!1,f.default.start(),f.default.addLinkListeners(document.body),window.works={agili3f:{image:"./build/img/projects/02@2x",color:15658734,size:"landscape"},"marie-morelle":{image:"./build/img/projects/01@2x",color:16777215,size:"square"},"sword-group":{image:"./build/img/projects/04@2x",color:15594748,size:"portrait"},"fete-des-lumieres":{image:"./build/img/projects/06@2x",color:16316664,size:"square"},lense:{image:"./build/img/projects/05@2x",color:15328488,size:"portrait"}},window.customScrollbar={},window.progress=0;var b=0,x=null;window.dispatcher.on("vs:scroll:init",function(){var t=["virginievachet@gmail.com"].join("@"),e=document.querySelector(".about-end-mail");e.setAttribute("href","mailto:"+t),e.innerHTML=t,b=window.customScrollbar.offset.y,T(),m=new d.default(y);var r=new h.loaders.Loader,i=0,n=0;for(var o in r.onProgress.add(function(){i++,m.progressLoad(i/n)}),window.works)window.works.hasOwnProperty(o)&&(r.add(o,window.works[o].image+window.imageExt.jpg),n++);r.load(function(t,e){}),setTimeout(function(){m.timelineIntro.play()},100)}),window.dispatcher.on("debug",function(){m.resize()});var w,T=function t(){window.isIntro&&(window.customScrollbar.setMomentum(0,0),window.customScrollbar.scrollTo(0,0,0)),window.progress=window.customScrollbar.offset.y/window.customScrollbar.limit.y;if(null!==b){var e=Math.min(50,Math.max(-50,b-window.customScrollbar.offset.y))/135*20;x&&x.kill(),x=n.TweenMax.to(window,.3,{angle:e,ease:Quad.easeOut})}b=window.customScrollbar.offset.y,window.requestAnimationFrame(t)};(w=regeneratorRuntime.mark(function t(){var e,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.supportsWebp)();case 2:if(!t.sent){t.next=5;break}window.imageExt.jpg=".webp",window.imageExt.png=".webp";case 5:e=new Promise(function(t,e){u.default.load({custom:{families:["MierA"]},active:function(){t()}})}),r=new Promise(function(t,e){var r=new h.loaders.Loader;r.add("filter-repeat","./build/img/filter-repeat"+window.imageExt.png),r.add("filter-circle","./build/img/filter-circle"+window.imageExt.png),r.load(function(e,r){t()})}),Promise.all([e,r]).then(function(){s.default.use(a.default),window.customScrollbar=s.default.init(y,{damping:.1,thumbMinSize:20,renderByPixels:!0,alwaysShowTracks:!0,continuousScrolling:!1})});case 8:case"end":return t.stop()}},t,void 0)}),function(){var t=w.apply(this,arguments);return new Promise(function(e,r){return function i(n,o){try{var s=t[n](o),a=s.value}catch(t){return void r(t)}if(!s.done)return Promise.resolve(a).then(function(t){i("next",t)},function(t){i("throw",t)});e(a)}("next")})})()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Linear=e.Power4=e.Power3=e.Power2=e.Power1=e.Power0=e.Ease=e.TweenLite=e.default=e.TweenMaxBase=e.TweenMax=void 0;var i,n=r(20),o=(i=n)&&i.__esModule?i:{default:i};n._gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,r=[],i=t.length;for(e=0;e!==i;r.push(t[e++]));return r},e=function(t,e,r){var i,n,o=t.cycle;for(i in o)n=o[i],t[i]="function"==typeof n?n(r,e[r]):n[r%n.length];delete t.cycle},r=function t(e,r,i){o.default.call(this,e,r,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=t.prototype.render},i=o.default._internals,s=i.isSelector,a=i.isArray,u=r.prototype=o.default.to({},.1,{}),l=[];r.version="2.0.2",u.constructor=r,u.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=o.default.killTweensOf,r.getTweensOf=o.default.getTweensOf,r.lagSmoothing=o.default.lagSmoothing,r.ticker=o.default.ticker,r.render=o.default.render,u.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),o.default.prototype.invalidate.call(this)},u.updateTo=function(t,e){var r,i=this.ratio,n=this.vars.immediateRender||t.immediateRender;for(r in e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),t)this.vars[r]=t[r];if(this._initted||n)if(e)this._initted=!1,n&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&o.default._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var s=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||n)for(var a,u=1/(1-i),l=this._firstPT;l;)a=l.s+l.c,l.c*=u,l.s=a-l.c,l=l._next;return this},u.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,a,u,l,h,c,f,d,p,v=this._dirty?this.totalDuration():this._totalDuration,y=this._time,m=this._totalTime,g=this._cycle,_=this._duration,b=this._rawPrevTime;if(t>=v-1e-7&&t>=0?(this._totalTime=v,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=_,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,a="onComplete",r=r||this._timeline.autoRemoveChildren),0===_&&(this._initted||!this.vars.lazy||r)&&(this._startTime===this._timeline._duration&&(t=0),(b<0||t<=0&&t>=-1e-7||1e-10===b&&"isPause"!==this.data)&&b!==t&&(r=!0,b>1e-10&&(a="onReverseComplete")),this._rawPrevTime=d=!e||t||b===t?t:1e-10)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===_&&b>0)&&(a="onReverseComplete",s=this._reversed),t<0&&(this._active=!1,0===_&&(this._initted||!this.vars.lazy||r)&&(b>=0&&(r=!0),this._rawPrevTime=d=!e||t||b===t?t:1e-10)),this._initted||(r=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=_+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof n.Ease?p:n.Ease.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof n.Ease?p:"function"==typeof p?new n.Ease(p,this.vars.easeParams):n.Ease.map[p]||o.default.defaultEase:o.default.defaultEase)),this.ratio=p?1-p.getRatio((_-this._time)/_):0)),this._time>_?this._time=_:this._time<0&&(this._time=0)),this._easeType&&!p?(h=this._time/_,c=this._easeType,f=this._easePower,(1===c||3===c&&h>=.5)&&(h=1-h),3===c&&(h*=2),1===f?h*=h:2===f?h*=h*h:3===f?h*=h*h*h:4===f&&(h*=h*h*h*h),1===c?this.ratio=1-h:2===c?this.ratio=h:this._time/_<.5?this.ratio=h/2:this.ratio=1-h/2):p||(this.ratio=this._ease.getRatio(this._time/_))),y!==this._time||r||g!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!r&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=y,this._totalTime=m,this._rawPrevTime=b,this._cycle=g,i.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||s||p?s&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/_)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==y&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,r):a||(a="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==_||e||this._callback("onStart"))),u=this._firstPT;u;)u.f?u.t[u.p](u.c*this.ratio+u.s):u.t[u.p]=u.c*this.ratio+u.s,u=u._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,r),e||(this._totalTime!==m||a)&&this._callback("onUpdate")),this._cycle!==g&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),a&&(this._gc&&!r||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,r),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a),0===_&&1e-10===this._rawPrevTime&&1e-10!==d&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},r.to=function(t,e,i){return new r(t,e,i)},r.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new r(t,e,i)},r.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new r(t,e,n)},r.staggerTo=r.allTo=function(i,n,u,h,c,f,d){h=h||0;var p,v,y,m,g=0,_=[],b=function(){u.onComplete&&u.onComplete.apply(u.onCompleteScope||this,arguments),c.apply(d||u.callbackScope||this,f||l)},x=u.cycle,w=u.startAt&&u.startAt.cycle;for(a(i)||("string"==typeof i&&(i=o.default.selector(i)||i),s(i)&&(i=t(i))),i=i||[],h<0&&((i=t(i)).reverse(),h*=-1),p=i.length-1,y=0;y<=p;y++){for(m in v={},u)v[m]=u[m];if(x&&(e(v,i,y),null!=v.duration&&(n=v.duration,delete v.duration)),w){for(m in w=v.startAt={},u.startAt)w[m]=u.startAt[m];e(v.startAt,i,y)}v.delay=g+(v.delay||0),y===p&&c&&(v.onComplete=b),_[y]=new r(i[y],n,v),g+=h}return _},r.staggerFrom=r.allFrom=function(t,e,i,n,o,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,r.staggerTo(t,e,i,n,o,s,a)},r.staggerFromTo=r.allFromTo=function(t,e,i,n,o,s,a,u){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,r.staggerTo(t,e,n,o,s,a,u)},r.delayedCall=function(t,e,i,n,o){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:o,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){return o.default.getTweensOf(t,!0).length>0};var h=function t(e,r){for(var i=[],n=0,s=e._first;s;)s instanceof o.default?i[n++]=s:(r&&(i[n++]=s),n=(i=i.concat(t(s,r))).length),s=s._next;return i},c=r.getAllTweens=function(t){return h(n.Animation._rootTimeline,t).concat(h(n.Animation._rootFramesTimeline,t))};r.killAll=function(t,e,r,i){null==e&&(e=!0),null==r&&(r=!0);var o,s,a,u=c(0!=i),l=u.length,h=e&&r&&i;for(a=0;a<l;a++)s=u[a],(h||s instanceof n.SimpleTimeline||(o=s.target===s.vars.onComplete)&&r||e&&!o)&&(t?s.totalTime(s._reversed?0:s.totalDuration()):s._enabled(!1,!1))},r.killChildTweensOf=function(e,n){if(null!=e){var u,l,h,c,f,d=i.tweenLookup;if("string"==typeof e&&(e=o.default.selector(e)||e),s(e)&&(e=t(e)),a(e))for(c=e.length;--c>-1;)r.killChildTweensOf(e[c],n);else{for(h in u=[],d)for(l=d[h].target.parentNode;l;)l===e&&(u=u.concat(d[h].tweens)),l=l.parentNode;for(f=u.length,c=0;c<f;c++)n&&u[c].totalTime(u[c].totalDuration()),u[c]._enabled(!1,!1)}}};var f=function(t,e,r,i){e=!1!==e,r=!1!==r;for(var o,s,a=c(i=!1!==i),u=e&&r&&i,l=a.length;--l>-1;)s=a[l],(u||s instanceof n.SimpleTimeline||(o=s.target===s.vars.onComplete)&&r||e&&!o)&&s.paused(t)};return r.pauseAll=function(t,e,r){f(!0,t,e,r)},r.resumeAll=function(t,e,r){f(!1,t,e,r)},r.globalTimeScale=function(t){var e=n.Animation._rootTimeline,r=o.default.ticker.time;return arguments.length?(t=t||1e-10,e._startTime=r-(r-e._startTime)*e._timeScale/t,e=n.Animation._rootFramesTimeline,r=o.default.ticker.frame,e._startTime=r-(r-e._startTime)*e._timeScale/t,e._timeScale=n.Animation._rootTimeline._timeScale=t,t):e._timeScale},u.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()},u.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},u.duration=function(t){return arguments.length?n.Animation.prototype.duration.call(this,t):this._duration},u.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)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0);var s=e.TweenMax=n.globals.TweenMax;e.TweenMaxBase=s;e.default=s,e.TweenLite=o.default,e.Ease=n.Ease,e.Power0=n.Power0,e.Power1=n.Power1,e.Power2=n.Power2,e.Power3=n.Power3,e.Power4=n.Power4,e.Linear=n.Linear},function(t,e,r){"use strict";(function(t){if(r(259),r(443),r(444),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var e="defineProperty";function i(t,r,i){t[r]||Object[e](t,r,{writable:!0,configurable:!0,value:i})}i(String.prototype,"padLeft","".padStart),i(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&i(Array,t,Function.call.bind([][t]))})}).call(this,r(42))},function(t,e,r){"use strict";r(260),r(262),r(263),r(264),r(265),r(266),r(267),r(268),r(269),r(270),r(271),r(272),r(273),r(274),r(155),r(275),r(277),r(75),r(278),r(279),r(280),r(281),r(282),r(283),r(284),r(285),r(286),r(287),r(288),r(289),r(290),r(291),r(292),r(293),r(294),r(295),r(296),r(297),r(298),r(299),r(300),r(301),r(302),r(303),r(304),r(305),r(306),r(307),r(308),r(309),r(310),r(311),r(312),r(313),r(314),r(76),r(315),r(316),r(317),r(318),r(319),r(320),r(321),r(322),r(323),r(324),r(325),r(326),r(327),r(328),r(329),r(330),r(331),r(332),r(333),r(334),r(335),r(337),r(338),r(340),r(165),r(341),r(342),r(343),r(344),r(345),r(347),r(348),r(349),r(350),r(351),r(352),r(353),r(354),r(355),r(356),r(357),r(358),r(359),r(117),r(360),r(361),r(170),r(362),r(363),r(364),r(365),r(366),r(121),r(122),r(123),r(367),r(368),r(369),r(370),r(371),r(372),r(373),r(374),r(375),r(376),r(377),r(378),r(379),r(380),r(381),r(382),r(383),r(384),r(385),r(386),r(387),r(388),r(389),r(390),r(391),r(392),r(393),r(394),r(395),r(396),r(397),r(398),r(399),r(400),r(401),r(402),r(403),r(404),r(405),r(406),r(407),r(408),r(409),r(410),r(180),r(183),r(184),r(185),r(186),r(411),r(187),r(188),r(189),r(412),r(413),r(414),r(415),r(416),r(417),r(418),r(419),r(420),r(421),r(422),r(423),r(424),r(425),r(426),r(427),r(428),r(429),r(430),r(431),r(432),r(433),r(434),r(435),r(436),r(437),r(438),r(439),r(440),r(441),r(442),r(88),t.exports=r(15)},function(t,e,r){"use strict";var i="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},n=r(2),o=r(21),s=r(9),a=r(0),u=r(18),l=r(38).KEY,h=r(4),c=r(71),f=r(56),d=r(44),p=r(8),v=r(151),y=r(97),m=r(261),g=r(74),_=r(1),b=r(6),x=r(22),w=r(29),T=r(43),S=r(47),E=r(154),P=r(23),O=r(10),M=r(45),A=P.f,C=O.f,R=E.f,D=n.Symbol,I=n.JSON,k=I&&I.stringify,L=p("_hidden"),F=p("toPrimitive"),N={}.propertyIsEnumerable,j=c("symbol-registry"),B=c("symbols"),U=c("op-symbols"),X=Object.prototype,W="function"==typeof D,H=n.QObject,z=!H||!H.prototype||!H.prototype.findChild,G=s&&h(function(){return 7!=S(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(t,e,r){var i=A(X,e);i&&delete X[e],C(t,e,r),i&&t!==X&&C(X,e,i)}:C,Y=function(t){var e=B[t]=S(D.prototype);return e._k=t,e},V=W&&"symbol"==i(D.iterator)?function(t){return"symbol"==(void 0===t?"undefined":i(t))}:function(t){return t instanceof D},q=function(t,e,r){return t===X&&q(U,e,r),_(t),e=w(e,!0),_(r),o(B,e)?(r.enumerable?(o(t,L)&&t[L][e]&&(t[L][e]=!1),r=S(r,{enumerable:T(0,!1)})):(o(t,L)||C(t,L,T(1,{})),t[L][e]=!0),G(t,e,r)):C(t,e,r)},Q=function(t,e){_(t);for(var r,i=m(e=x(e)),n=0,o=i.length;o>n;)q(t,r=i[n++],e[r]);return t},Z=function(t){var e=N.call(this,t=w(t,!0));return!(this===X&&o(B,t)&&!o(U,t))&&(!(e||!o(this,t)||!o(B,t)||o(this,L)&&this[L][t])||e)},K=function(t,e){if(t=x(t),e=w(e,!0),t!==X||!o(B,e)||o(U,e)){var r=A(t,e);return!r||!o(B,e)||o(t,L)&&t[L][e]||(r.enumerable=!0),r}},J=function(t){for(var e,r=R(x(t)),i=[],n=0;r.length>n;)o(B,e=r[n++])||e==L||e==l||i.push(e);return i},$=function(t){for(var e,r=t===X,i=R(r?U:x(t)),n=[],s=0;i.length>s;)!o(B,e=i[s++])||r&&!o(X,e)||n.push(B[e]);return n};W||(u((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0);return s&&z&&G(X,t,{configurable:!0,set:function e(r){this===X&&e.call(U,r),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),G(this,t,T(1,r))}}),Y(t)}).prototype,"toString",function(){return this._k}),P.f=K,O.f=q,r(48).f=E.f=J,r(62).f=Z,r(73).f=$,s&&!r(39)&&u(X,"propertyIsEnumerable",Z,!0),v.f=function(t){return Y(p(t))}),a(a.G+a.W+a.F*!W,{Symbol:D});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)p(tt[et++]);for(var rt=M(p.store),it=0;rt.length>it;)y(rt[it++]);a(a.S+a.F*!W,"Symbol",{for:function(t){return o(j,t+="")?j[t]:j[t]=D(t)},keyFor:function(t){if(!V(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!W,"Object",{create:function(t,e){return void 0===e?S(t):Q(S(t),e)},defineProperty:q,defineProperties:Q,getOwnPropertyDescriptor:K,getOwnPropertyNames:J,getOwnPropertySymbols:$}),I&&a(a.S+a.F*(!W||h(function(){var t=D();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function(t){for(var e,r,i=[t],n=1;arguments.length>n;)i.push(arguments[n++]);if(r=e=i[1],(b(e)||void 0!==t)&&!V(t))return g(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!V(e))return e}),i[1]=e,k.apply(I,i)}}),D.prototype[F]||r(17)(D.prototype,F,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(t,e,r){"use strict";var i=r(45),n=r(73),o=r(62);t.exports=function(t){var e=i(t),r=n.f;if(r)for(var s,a=r(t),u=o.f,l=0;a.length>l;)u.call(t,s=a[l++])&&e.push(s);return e}},function(t,e,r){"use strict";var i=r(0);i(i.S,"Object",{create:r(47)})},function(t,e,r){"use strict";var i=r(0);i(i.S+i.F*!r(9),"Object",{defineProperty:r(10).f})},function(t,e,r){"use strict";var i=r(0);i(i.S+i.F*!r(9),"Object",{defineProperties:r(153)})},function(t,e,r){"use strict";var i=r(22),n=r(23).f;r(32)("getOwnPropertyDescriptor",function(){return function(t,e){return n(i(t),e)}})},function(t,e,r){"use strict";var i=r(12),n=r(24);r(32)("getPrototypeOf",function(){return function(t){return n(i(t))}})},function(t,e,r){"use strict";var i=r(12),n=r(45);r(32)("keys",function(){return function(t){return n(i(t))}})},function(t,e,r){"use strict";r(32)("getOwnPropertyNames",function(){return r(154).f})},function(t,e,r){"use strict";var i=r(6),n=r(38).onFreeze;r(32)("freeze",function(t){return function(e){return t&&i(e)?t(n(e)):e}})},function(t,e,r){"use strict";var i=r(6),n=r(38).onFreeze;r(32)("seal",function(t){return function(e){return t&&i(e)?t(n(e)):e}})},function(t,e,r){"use strict";var i=r(6),n=r(38).onFreeze;r(32)("preventExtensions",function(t){return function(e){return t&&i(e)?t(n(e)):e}})},function(t,e,r){"use strict";var i=r(6);r(32)("isFrozen",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,r){"use strict";var i=r(6);r(32)("isSealed",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,r){"use strict";var i=r(6);r(32)("isExtensible",function(t){return function(e){return!!i(e)&&(!t||t(e))}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Object",{is:r(276)})},function(t,e,r){"use strict";t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,r){"use strict";var i=r(0);i(i.S,"Object",{setPrototypeOf:r(101).set})},function(t,e,r){"use strict";var i=r(0);i(i.P,"Function",{bind:r(157)})},function(t,e,r){"use strict";var i=r(10).f,n=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in n||r(9)&&i(n,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,r){"use strict";var i=r(6),n=r(24),o=r(8)("hasInstance"),s=Function.prototype;o in s||r(10).f(s,o,{value:function(t){if("function"!=typeof this||!i(t))return!1;if(!i(this.prototype))return t instanceof this;for(;t=n(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,r){"use strict";var i=r(0),n=r(159);i(i.G+i.F*(parseInt!=n),{parseInt:n})},function(t,e,r){"use strict";var i=r(0),n=r(160);i(i.G+i.F*(parseFloat!=n),{parseFloat:n})},function(t,e,r){"use strict";var i=r(2),n=r(21),o=r(27),s=r(103),a=r(29),u=r(4),l=r(48).f,h=r(23).f,c=r(10).f,f=r(57).trim,d=i.Number,p=d,v=d.prototype,y="Number"==o(r(47)(v)),m="trim"in String.prototype,g=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){var r,i,n,o=(e=m?e.trim():f(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,n=49;break;case 79:case 111:i=8,n=55;break;default:return+e}for(var s,u=e.slice(2),l=0,h=u.length;l<h;l++)if((s=u.charCodeAt(l))<48||s>n)return NaN;return parseInt(u,i)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof d&&(y?u(function(){v.valueOf.call(r)}):"Number"!=o(r))?s(new p(g(e)),r,d):g(e)};for(var _,b=r(9)?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)n(p,_=b[x])&&!n(d,_)&&c(d,_,h(p,_));d.prototype=v,v.constructor=d,r(18)(i,"Number",d)}},function(t,e,r){"use strict";var i=r(0),n=r(31),o=r(161),s=r(104),a=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],h="Number.toFixed: incorrect invocation!",c=function(t,e){for(var r=-1,i=e;++r<6;)i+=t*l[r],l[r]=i%1e7,i=u(i/1e7)},f=function(t){for(var e=6,r=0;--e>=0;)r+=l[e],l[e]=u(r/t),r=r%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var r=String(l[t]);e=""===e?r:e+s.call("0",7-r.length)+r}return e},p=function t(e,r,i){return 0===r?i:r%2==1?t(e,r-1,i*e):t(e*e,r/2,i)};i(i.P+i.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!r(4)(function(){a.call({})})),"Number",{toFixed:function(t){var e,r,i,a,u=o(this,h),l=n(t),v="",y="0";if(l<0||l>20)throw RangeError(h);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(u*p(2,69,1))-69)<0?u*p(2,-e,1):u/p(2,e,1),r*=4503599627370496,(e=52-e)>0){for(c(0,r),i=l;i>=7;)c(1e7,0),i-=7;for(c(p(10,i,1),0),i=e-1;i>=23;)f(1<<23),i-=23;f(1<<i),c(1,1),f(2),y=d()}else c(0,r),c(1<<-e,0),y=d()+s.call("0",l);return y=l>0?v+((a=y.length)<=l?"0."+s.call("0",l-a)+y:y.slice(0,a-l)+"."+y.slice(a-l)):v+y}})},function(t,e,r){"use strict";var i=r(0),n=r(4),o=r(161),s=1..toPrecision;i(i.P+i.F*(n(function(){return"1"!==s.call(1,void 0)})||!n(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,r){"use strict";var i=r(0);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,r){"use strict";var i=r(0),n=r(2).isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&n(t)}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Number",{isInteger:r(162)})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,r){"use strict";var i=r(0),n=r(162),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return n(t)&&o(t)<=9007199254740991}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,r){"use strict";var i=r(0),n=r(160);i(i.S+i.F*(Number.parseFloat!=n),"Number",{parseFloat:n})},function(t,e,r){"use strict";var i=r(0),n=r(159);i(i.S+i.F*(Number.parseInt!=n),"Number",{parseInt:n})},function(t,e,r){"use strict";var i=r(0),n=r(163),o=Math.sqrt,s=Math.acosh;i(i.S+i.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:n(t-1+o(t-1)*o(t+1))}})},function(t,e,r){"use strict";var i=r(0),n=Math.asinh;i(i.S+i.F*!(n&&1/n(0)>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,r){"use strict";var i=r(0),n=Math.atanh;i(i.S+i.F*!(n&&1/n(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,r){"use strict";var i=r(0),n=r(105);i(i.S,"Math",{cbrt:function(t){return n(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,r){"use strict";var i=r(0),n=Math.exp;i(i.S,"Math",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},function(t,e,r){"use strict";var i=r(0),n=r(106);i(i.S+i.F*(n!=Math.expm1),"Math",{expm1:n})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{fround:r(164)})},function(t,e,r){"use strict";var i=r(0),n=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var r,i,o=0,s=0,a=arguments.length,u=0;s<a;)u<(r=n(arguments[s++]))?(o=o*(i=u/r)*i+1,u=r):o+=r>0?(i=r/u)*i:r;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,r){"use strict";var i=r(0),n=Math.imul;i(i.S+i.F*r(4)(function(){return-5!=n(4294967295,5)||2!=n.length}),"Math",{imul:function(t,e){var r=+t,i=+e,n=65535&r,o=65535&i;return 0|n*o+((65535&r>>>16)*o+n*(65535&i>>>16)<<16>>>0)}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{log1p:r(163)})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{sign:r(105)})},function(t,e,r){"use strict";var i=r(0),n=r(106),o=Math.exp;i(i.S+i.F*r(4)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(n(t)-n(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,r){"use strict";var i=r(0),n=r(106),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=n(t=+t),r=n(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,r){"use strict";var i=r(0),n=r(46),o=String.fromCharCode,s=String.fromCodePoint;i(i.S+i.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,r=[],i=arguments.length,s=0;i>s;){if(e=+arguments[s++],n(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}})},function(t,e,r){"use strict";var i=r(0),n=r(22),o=r(11);i(i.S,"String",{raw:function(t){for(var e=n(t.raw),r=o(e.length),i=arguments.length,s=[],a=0;r>a;)s.push(String(e[a++])),a<i&&s.push(String(arguments[a]));return s.join("")}})},function(t,e,r){"use strict";r(57)("trim",function(t){return function(){return t(this,3)}})},function(t,e,r){"use strict";var i=r(0),n=r(107)(!1);i(i.P,"String",{codePointAt:function(t){return n(this,t)}})},function(t,e,r){"use strict";var i=r(0),n=r(11),o=r(110),s="".endsWith;i(i.P+i.F*r(111)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),r=arguments.length>1?arguments[1]:void 0,i=n(e.length),a=void 0===r?i:Math.min(n(r),i),u=String(t);return s?s.call(e,u,a):e.slice(a-u.length,a)===u}})},function(t,e,r){"use strict";var i=r(0),n=r(110);i(i.P+i.F*r(111)("includes"),"String",{includes:function(t){return!!~n(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var i=r(0);i(i.P,"String",{repeat:r(104)})},function(t,e,r){"use strict";var i=r(0),n=r(11),o=r(110),s="".startsWith;i(i.P+i.F*r(111)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),r=n(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,r):e.slice(r,r+i.length)===i}})},function(t,e,r){"use strict";r(19)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,r){"use strict";r(19)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,r){"use strict";r(19)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,r){"use strict";r(19)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,r){"use strict";r(19)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,r){"use strict";r(19)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,r){"use strict";r(19)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,r){"use strict";r(19)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,r){"use strict";r(19)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,r){"use strict";r(19)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,r){"use strict";r(19)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,r){"use strict";r(19)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,r){"use strict";r(19)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,r){"use strict";var i=r(0),n=r(12),o=r(29);i(i.P+i.F*r(4)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=n(this),r=o(e);return"number"!=typeof r||isFinite(r)?e.toISOString():null}})},function(t,e,r){"use strict";var i=r(0),n=r(336);i(i.P+i.F*(Date.prototype.toISOString!==n),"Date",{toISOString:n})},function(t,e,r){"use strict";var i=r(4),n=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=i(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!i(function(){o.call(new Date(NaN))})?function(){if(!isFinite(n.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),r=t.getUTCMilliseconds(),i=e<0?"-":e>9999?"+":"";return i+("00000"+Math.abs(e)).slice(i?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(r>99?r:"0"+s(r))+"Z"}:o},function(t,e,r){"use strict";var i=Date.prototype,n=i.toString,o=i.getTime;new Date(NaN)+""!="Invalid Date"&&r(18)(i,"toString",function(){var t=o.call(this);return t==t?n.call(this):"Invalid Date"})},function(t,e,r){"use strict";var i=r(8)("toPrimitive"),n=Date.prototype;i in n||r(17)(n,i,r(339))},function(t,e,r){"use strict";var i=r(1),n=r(29);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return n(i(this),"number"!=t)}},function(t,e,r){"use strict";var i=r(0);i(i.S,"Array",{isArray:r(74)})},function(t,e,r){"use strict";var i=r(0),n=r(113);i(i.S+i.F*r(4)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,r=new("function"==typeof this?this:Array)(e);e>t;)n(r,t,arguments[t++]);return r.length=e,r}})},function(t,e,r){"use strict";var i=r(0),n=r(22),o=[].join;i(i.P+i.F*(r(61)!=Object||!r(28)(o)),"Array",{join:function(t){return o.call(n(this),void 0===t?",":t)}})},function(t,e,r){"use strict";var i=r(0),n=r(100),o=r(27),s=r(46),a=r(11),u=[].slice;i(i.P+i.F*r(4)(function(){n&&u.call(n)}),"Array",{slice:function(t,e){var r=a(this.length),i=o(this);if(e=void 0===e?r:e,"Array"==i)return u.call(this,t,e);for(var n=s(t,r),l=s(e,r),h=a(l-n),c=new Array(h),f=0;f<h;f++)c[f]="String"==i?this.charAt(n+f):this[n+f];return c}})},function(t,e,r){"use strict";var i=r(0),n=r(16),o=r(12),s=r(4),a=[].sort,u=[1,2,3];i(i.P+i.F*(s(function(){u.sort(void 0)})||!s(function(){u.sort(null)})||!r(28)(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),n(t))}})},function(t,e,r){"use strict";var i=r(0),n=r(33)(0),o=r(28)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(t){return n(this,t,arguments[1])}})},function(t,e,r){"use strict";var i=r(6),n=r(74),o=r(8)("species");t.exports=function(t){var e;return n(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!n(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,r){"use strict";var i=r(0),n=r(33)(1);i(i.P+i.F*!r(28)([].map,!0),"Array",{map:function(t){return n(this,t,arguments[1])}})},function(t,e,r){"use strict";var i=r(0),n=r(33)(2);i(i.P+i.F*!r(28)([].filter,!0),"Array",{filter:function(t){return n(this,t,arguments[1])}})},function(t,e,r){"use strict";var i=r(0),n=r(33)(3);i(i.P+i.F*!r(28)([].some,!0),"Array",{some:function(t){return n(this,t,arguments[1])}})},function(t,e,r){"use strict";var i=r(0),n=r(33)(4);i(i.P+i.F*!r(28)([].every,!0),"Array",{every:function(t){return n(this,t,arguments[1])}})},function(t,e,r){"use strict";var i=r(0),n=r(167);i(i.P+i.F*!r(28)([].reduce,!0),"Array",{reduce:function(t){return n(this,t,arguments.length,arguments[1],!1)}})},function(t,e,r){"use strict";var i=r(0),n=r(167);i(i.P+i.F*!r(28)([].reduceRight,!0),"Array",{reduceRight:function(t){return n(this,t,arguments.length,arguments[1],!0)}})},function(t,e,r){"use strict";var i=r(0),n=r(72)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!r(28)(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:n(this,t,arguments[1])}})},function(t,e,r){"use strict";var i=r(0),n=r(22),o=r(31),s=r(11),a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(u||!r(28)(a)),"Array",{lastIndexOf:function(t){if(u)return a.apply(this,arguments)||0;var e=n(this),r=s(e.length),i=r-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i<0&&(i=r+i);i>=0;i--)if(i in e&&e[i]===t)return i||0;return-1}})},function(t,e,r){"use strict";var i=r(0);i(i.P,"Array",{copyWithin:r(168)}),r(40)("copyWithin")},function(t,e,r){"use strict";var i=r(0);i(i.P,"Array",{fill:r(116)}),r(40)("fill")},function(t,e,r){"use strict";var i=r(0),n=r(33)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),r(40)("find")},function(t,e,r){"use strict";var i=r(0),n=r(33)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{findIndex:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),r(40)(o)},function(t,e,r){"use strict";r(49)("Array")},function(t,e,r){"use strict";var i=r(2),n=r(103),o=r(10).f,s=r(48).f,a=r(77),u=r(79),l=i.RegExp,h=l,c=l.prototype,f=/a/g,d=/a/g,p=new l(f)!==f;if(r(9)&&(!p||r(4)(function(){return d[r(8)("match")]=!1,l(f)!=f||l(d)==d||"/a/i"!=l(f,"i")}))){l=function(t,e){var r=this instanceof l,i=a(t),o=void 0===e;return!r&&i&&t.constructor===l&&o?t:n(p?new h(i&&!o?t.source:t,e):h((i=t instanceof l)?t.source:t,i&&o?u.call(t):e),r?this:c,l)};for(var v=function(t){t in l||o(l,t,{configurable:!0,get:function(){return h[t]},set:function(e){h[t]=e}})},y=s(h),m=0;y.length>m;)v(y[m++]);c.constructor=l,l.prototype=c,r(18)(i,"RegExp",l)}r(49)("RegExp")},function(t,e,r){"use strict";r(170);var i=r(1),n=r(79),o=r(9),s=/./.toString,a=function(t){r(18)(RegExp.prototype,"toString",t,!0)};r(4)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?n.call(t):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},function(t,e,r){"use strict";r(80)("match",1,function(t,e,r){return[function(r){var i=t(this),n=void 0==r?void 0:r[e];return void 0!==n?n.call(r,i):new RegExp(r)[e](String(i))},r]})},function(t,e,r){"use strict";r(80)("replace",2,function(t,e,r){return[function(i,n){var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,n):r.call(String(o),i,n)},r]})},function(t,e,r){"use strict";r(80)("search",1,function(t,e,r){return[function(r){var i=t(this),n=void 0==r?void 0:r[e];return void 0!==n?n.call(r,i):new RegExp(r)[e](String(i))},r]})},function(t,e,r){"use strict";r(80)("split",2,function(t,e,i){var n=r(77),o=i,s=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];i=function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!n(t))return o.call(r,t,e);var i,u,l,h,c,f=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,v=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,d+"g");for(a||(i=new RegExp("^"+y.source+"$(?!\\s)",d));(u=y.exec(r))&&!((l=u.index+u[0].length)>p&&(f.push(r.slice(p,u.index)),!a&&u.length>1&&u[0].replace(i,function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(u[c]=void 0)}),u.length>1&&u.index<r.length&&s.apply(f,u.slice(1)),h=u[0].length,p=l,f.length>=v));)y.lastIndex===u.index&&y.lastIndex++;return p===r.length?!h&&y.test("")||f.push(""):f.push(r.slice(p)),f.length>v?f.slice(0,v):f}}else"0".split(void 0,0).length&&(i=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(r,n){var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,n):i.call(String(o),r,n)},i]})},function(t,e,r){"use strict";var i,n,o,s,a=r(39),u=r(2),l=r(26),h=r(63),c=r(0),f=r(6),d=r(16),p=r(50),v=r(51),y=r(81),m=r(118).set,g=r(119)(),_=r(120),b=r(171),x=r(82),w=r(172),T=u.TypeError,S=u.process,E=S&&S.versions,P=E&&E.v8||"",O=u.Promise,M="process"==h(S),A=function(){},C=n=_.f,R=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[r(8)("species")]=function(t){t(A,A)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==P.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),D=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var i=t._v,n=1==t._s,o=0,s=function(e){var r,o,s,a=n?e.ok:e.fail,u=e.resolve,l=e.reject,h=e.domain;try{a?(n||(2==t._h&&F(t),t._h=1),!0===a?r=i:(h&&h.enter(),r=a(i),h&&(h.exit(),s=!0)),r===e.promise?l(T("Promise-chain cycle")):(o=D(r))?o.call(r,u,l):u(r)):l(i)}catch(t){h&&!s&&h.exit(),l(t)}};r.length>o;)s(r[o++]);t._c=[],t._n=!1,e&&!t._h&&k(t)})}},k=function(t){m.call(u,function(){var e,r,i,n=t._v,o=L(t);if(o&&(e=b(function(){M?S.emit("unhandledRejection",n,t):(r=u.onunhandledrejection)?r({promise:t,reason:n}):(i=u.console)&&i.error&&i.error("Unhandled promise rejection",n)}),t._h=M||L(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){m.call(u,function(){var e;M?S.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(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()),I(e,!0))},j=function t(e){var r,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw T("Promise can't be resolved itself");(r=D(e))?g(function(){var n={_w:i,_d:!1};try{r.call(e,l(t,n,1),l(N,n,1))}catch(t){N.call(n,t)}}):(i._v=e,i._s=1,I(i,!1))}catch(t){N.call({_w:i,_d:!1},t)}}};R||(O=function(t){p(this,O,"Promise","_h"),d(t),i.call(this);try{t(l(j,this,1),l(N,this,1))}catch(t){N.call(this,t)}},(i=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=r(52)(O.prototype,{then:function(t,e){var r=C(y(this,O));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=M?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&I(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=l(j,t,1),this.reject=l(N,t,1)},_.f=C=function(t){return t===O||t===s?new o(t):n(t)}),c(c.G+c.W+c.F*!R,{Promise:O}),r(56)(O,"Promise"),r(49)("Promise"),s=r(15).Promise,c(c.S+c.F*!R,"Promise",{reject:function(t){var e=C(this);return(0,e.reject)(t),e.promise}}),c(c.S+c.F*(a||!R),"Promise",{resolve:function(t){return w(a&&this===s?O:this,t)}}),c(c.S+c.F*!(R&&r(78)(function(t){O.all(t).catch(A)})),"Promise",{all:function(t){var e=this,r=C(e),i=r.resolve,n=r.reject,o=b(function(){var r=[],o=0,s=1;v(t,!1,function(t){var a=o++,u=!1;r.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,r[a]=t,--s||i(r))},n)}),--s||i(r)});return o.e&&n(o.v),r.promise},race:function(t){var e=this,r=C(e),i=r.reject,n=b(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,i)})});return n.e&&i(n.v),r.promise}})},function(t,e,r){"use strict";var i=r(174),n=r(59);r(83)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(n(this,"WeakSet"),t,!0)}},i,!1,!0)},function(t,e,r){"use strict";var i=r(0),n=r(84),o=r(124),s=r(1),a=r(46),u=r(11),l=r(6),h=r(2).ArrayBuffer,c=r(81),f=o.ArrayBuffer,d=o.DataView,p=n.ABV&&h.isView,v=f.prototype.slice,y=n.VIEW;i(i.G+i.W+i.F*(h!==f),{ArrayBuffer:f}),i(i.S+i.F*!n.CONSTR,"ArrayBuffer",{isView:function(t){return p&&p(t)||l(t)&&y in t}}),i(i.P+i.U+i.F*r(4)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(s(this),t);for(var r=s(this).byteLength,i=a(t,r),n=a(void 0===e?r:e,r),o=new(c(this,f))(u(n-i)),l=new d(this),h=new d(o),p=0;i<n;)h.setUint8(p++,l.getUint8(i++));return o}}),r(49)("ArrayBuffer")},function(t,e,r){"use strict";var i=r(0);i(i.G+i.W+i.F*!r(84).ABV,{DataView:r(124).DataView})},function(t,e,r){"use strict";r(36)("Int8",1,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";r(36)("Uint8",1,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";r(36)("Uint8",1,function(t){return function(e,r,i){return t(this,e,r,i)}},!0)},function(t,e,r){"use strict";r(36)("Int16",2,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";r(36)("Uint16",2,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";r(36)("Int32",4,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";r(36)("Uint32",4,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";r(36)("Float32",4,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";r(36)("Float64",8,function(t){return function(e,r,i){return t(this,e,r,i)}})},function(t,e,r){"use strict";var i=r(0),n=r(16),o=r(1),s=(r(2).Reflect||{}).apply,a=Function.apply;i(i.S+i.F*!r(4)(function(){s(function(){})}),"Reflect",{apply:function(t,e,r){var i=n(t),u=o(r);return s?s(i,e,u):a.call(i,e,u)}})},function(t,e,r){"use strict";var i=r(0),n=r(47),o=r(16),s=r(1),a=r(6),u=r(4),l=r(157),h=(r(2).Reflect||{}).construct,c=u(function(){function t(){}return!(h(function(){},[],t)instanceof t)}),f=!u(function(){h(function(){})});i(i.S+i.F*(c||f),"Reflect",{construct:function(t,e){o(t),s(e);var r=arguments.length<3?t:o(arguments[2]);if(f&&!c)return h(t,e,r);if(t==r){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 i=[null];return i.push.apply(i,e),new(l.apply(t,i))}var u=r.prototype,d=n(a(u)?u:Object.prototype),p=Function.apply.call(t,d,e);return a(p)?p:d}})},function(t,e,r){"use strict";var i=r(10),n=r(0),o=r(1),s=r(29);n(n.S+n.F*r(4)(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){o(t),e=s(e,!0),o(r);try{return i.f(t,e,r),!0}catch(t){return!1}}})},function(t,e,r){"use strict";var i=r(0),n=r(23).f,o=r(1);i(i.S,"Reflect",{deleteProperty:function(t,e){var r=n(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},function(t,e,r){"use strict";var i=r(0),n=r(1),o=function(t){this._t=n(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)};r(109)(o,"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}}),i(i.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,r){"use strict";var i=r(23),n=r(24),o=r(21),s=r(0),a=r(6),u=r(1);s(s.S,"Reflect",{get:function t(e,r){var s,l,h=arguments.length<3?e:arguments[2];return u(e)===h?e[r]:(s=i.f(e,r))?o(s,"value")?s.value:void 0!==s.get?s.get.call(h):void 0:a(l=n(e))?t(l,r,h):void 0}})},function(t,e,r){"use strict";var i=r(23),n=r(0),o=r(1);n(n.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.f(o(t),e)}})},function(t,e,r){"use strict";var i=r(0),n=r(24),o=r(1);i(i.S,"Reflect",{getPrototypeOf:function(t){return n(o(t))}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,r){"use strict";var i=r(0),n=r(1),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return n(t),!o||o(t)}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Reflect",{ownKeys:r(176)})},function(t,e,r){"use strict";var i=r(0),n=r(1),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){n(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,r){"use strict";var i=r(10),n=r(23),o=r(24),s=r(21),a=r(0),u=r(43),l=r(1),h=r(6);a(a.S,"Reflect",{set:function t(e,r,a){var c,f,d=arguments.length<4?e:arguments[3],p=n.f(l(e),r);if(!p){if(h(f=o(e)))return t(f,r,a,d);p=u(0)}if(s(p,"value")){if(!1===p.writable||!h(d))return!1;if(c=n.f(d,r)){if(c.get||c.set||!1===c.writable)return!1;c.value=a,i.f(d,r,c)}else i.f(d,r,u(0,a));return!0}return void 0!==p.set&&(p.set.call(d,a),!0)}})},function(t,e,r){"use strict";var i=r(0),n=r(101);n&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){n.check(t,e);try{return n.set(t,e),!0}catch(t){return!1}}})},function(t,e,r){"use strict";var i=r(0),n=r(72)(!0);i(i.P,"Array",{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),r(40)("includes")},function(t,e,r){"use strict";var i=r(0),n=r(177),o=r(12),s=r(11),a=r(16),u=r(115);i(i.P,"Array",{flatMap:function(t){var e,r,i=o(this);return a(t),e=s(i.length),r=u(i,0),n(r,i,i,e,0,1,t,arguments[1]),r}}),r(40)("flatMap")},function(t,e,r){"use strict";var i=r(0),n=r(177),o=r(12),s=r(11),a=r(31),u=r(115);i(i.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),r=s(e.length),i=u(e,0);return n(i,e,e,r,0,void 0===t?1:a(t)),i}}),r(40)("flatten")},function(t,e,r){"use strict";var i=r(0),n=r(107)(!0);i(i.P,"String",{at:function(t){return n(this,t)}})},function(t,e,r){"use strict";var i=r(0),n=r(178),o=r(82);i(i.P+i.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,r){"use strict";var i=r(0),n=r(178),o=r(82);i(i.P+i.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padEnd:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,r){"use strict";r(57)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,r){"use strict";r(57)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,r){"use strict";var i=r(0),n=r(30),o=r(11),s=r(77),a=r(79),u=RegExp.prototype,l=function(t,e){this._r=t,this._s=e};r(109)(l,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),i(i.P,"String",{matchAll:function(t){if(n(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),r="flags"in u?String(t.flags):a.call(t),i=new RegExp(t.source,~r.indexOf("g")?r:"g"+r);return i.lastIndex=o(t.lastIndex),new l(i,e)}})},function(t,e,r){"use strict";r(97)("asyncIterator")},function(t,e,r){"use strict";r(97)("observable")},function(t,e,r){"use strict";var i=r(0),n=r(176),o=r(22),s=r(23),a=r(113);i(i.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,r,i=o(t),u=s.f,l=n(i),h={},c=0;l.length>c;)void 0!==(r=u(i,e=l[c++]))&&a(h,e,r);return h}})},function(t,e,r){"use strict";var i=r(0),n=r(179)(!1);i(i.S,"Object",{values:function(t){return n(t)}})},function(t,e,r){"use strict";var i=r(0),n=r(179)(!0);i(i.S,"Object",{entries:function(t){return n(t)}})},function(t,e,r){"use strict";var i=r(0),n=r(12),o=r(16),s=r(10);r(9)&&i(i.P+r(85),"Object",{__defineGetter__:function(t,e){s.f(n(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,r){"use strict";var i=r(0),n=r(12),o=r(16),s=r(10);r(9)&&i(i.P+r(85),"Object",{__defineSetter__:function(t,e){s.f(n(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,r){"use strict";var i=r(0),n=r(12),o=r(29),s=r(24),a=r(23).f;r(9)&&i(i.P+r(85),"Object",{__lookupGetter__:function(t){var e,r=n(this),i=o(t,!0);do{if(e=a(r,i))return e.get}while(r=s(r))}})},function(t,e,r){"use strict";var i=r(0),n=r(12),o=r(29),s=r(24),a=r(23).f;r(9)&&i(i.P+r(85),"Object",{__lookupSetter__:function(t){var e,r=n(this),i=o(t,!0);do{if(e=a(r,i))return e.set}while(r=s(r))}})},function(t,e,r){"use strict";r(86)("WeakSet")},function(t,e,r){"use strict";r(87)("WeakSet")},function(t,e,r){"use strict";var i=r(0);i(i.G,{global:r(2)})},function(t,e,r){"use strict";var i=r(0);i(i.S,"System",{global:r(2)})},function(t,e,r){"use strict";var i=r(0),n=r(27);i(i.S,"Error",{isError:function(t){return"Error"===n(t)}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{clamp:function(t,e,r){return Math.min(r,Math.max(e,t))}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,r){"use strict";var i=r(0),n=180/Math.PI;i(i.S,"Math",{degrees:function(t){return t*n}})},function(t,e,r){"use strict";var i=r(0),n=r(190),o=r(164);i(i.S,"Math",{fscale:function(t,e,r,i,s){return o(n(t,e,r,i,s))}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{iaddh:function(t,e,r,i){var n=t>>>0,o=r>>>0;return(e>>>0)+(i>>>0)+((n&o|(n|o)&~(n+o>>>0))>>>31)|0}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{isubh:function(t,e,r,i){var n=t>>>0,o=r>>>0;return(e>>>0)-(i>>>0)-((~n&o|~(n^o)&n-o>>>0)>>>31)|0}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{imulh:function(t,e){var r=+t,i=+e,n=65535&r,o=65535&i,s=r>>16,a=i>>16,u=(s*o>>>0)+(n*o>>>16);return s*a+(u>>16)+((n*a>>>0)+(65535&u)>>16)}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,r){"use strict";var i=r(0),n=Math.PI/180;i(i.S,"Math",{radians:function(t){return t*n}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{scale:r(190)})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{umulh:function(t,e){var r=+t,i=+e,n=65535&r,o=65535&i,s=r>>>16,a=i>>>16,u=(s*o>>>0)+(n*o>>>16);return s*a+(u>>>16)+((n*a>>>0)+(65535&u)>>>16)}})},function(t,e,r){"use strict";var i=r(0);i(i.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,r){"use strict";var i=r(0),n=r(15),o=r(2),s=r(81),a=r(172);i(i.P+i.R,"Promise",{finally:function(t){var e=s(this,n.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return a(e,t()).then(function(){return r})}:t,r?function(r){return a(e,t()).then(function(){throw r})}:t)}})},function(t,e,r){"use strict";var i=r(0),n=r(120),o=r(171);i(i.S,"Promise",{try:function(t){var e=n.f(this),r=o(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=i.key,s=i.set;i.exp({defineMetadata:function(t,e,r,i){s(t,e,n(r),o(i))}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=i.key,s=i.map,a=i.store;i.exp({deleteMetadata:function(t,e){var r=arguments.length<3?void 0:o(arguments[2]),i=s(n(e),r,!1);if(void 0===i||!i.delete(t))return!1;if(i.size)return!0;var u=a.get(e);return u.delete(r),!!u.size||a.delete(e)}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=r(24),s=i.has,a=i.get,u=i.key;i.exp({getMetadata:function(t,e){return function t(e,r,i){if(s(e,r,i))return a(e,r,i);var n=o(r);return null!==n?t(e,n,i):void 0}(t,n(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,r){"use strict";var i=r(122),n=r(182),o=r(37),s=r(1),a=r(24),u=o.keys,l=o.key;o.exp({getMetadataKeys:function(t){return function t(e,r){var o=u(e,r),s=a(e);if(null===s)return o;var l=t(s,r);return l.length?o.length?n(new i(o.concat(l))):l:o}(s(t),arguments.length<2?void 0:l(arguments[1]))}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=i.get,s=i.key;i.exp({getOwnMetadata:function(t,e){return o(t,n(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=i.keys,s=i.key;i.exp({getOwnMetadataKeys:function(t){return o(n(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=r(24),s=i.has,a=i.key;i.exp({hasMetadata:function(t,e){return function t(e,r,i){if(s(e,r,i))return!0;var n=o(r);return null!==n&&t(e,n,i)}(t,n(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=i.has,s=i.key;i.exp({hasOwnMetadata:function(t,e){return o(t,n(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,r){"use strict";var i=r(37),n=r(1),o=r(16),s=i.key,a=i.set;i.exp({metadata:function(t,e){return function(r,i){a(t,e,(void 0!==i?n:o)(r),s(i))}}})},function(t,e,r){"use strict";var i=r(0),n=r(119)(),o=r(2).process,s="process"==r(27)(o);i(i.G,{asap:function(t){var e=s&&o.domain;n(e?e.bind(t):t)}})},function(t,e,r){"use strict";var i=r(0),n=r(2),o=r(15),s=r(119)(),a=r(8)("observable"),u=r(16),l=r(1),h=r(50),c=r(52),f=r(17),d=r(51),p=d.RETURN,v=function(t){return null==t?void 0:u(t)},y=function(t){var e=t._c;e&&(t._c=void 0,e())},m=function(t){return void 0===t._o},g=function(t){m(t)||(t._o=void 0,y(t))},_=function(t,e){l(t),this._c=void 0,this._o=t,t=new b(this);try{var r=e(t),i=r;null!=r&&("function"==typeof r.unsubscribe?r=function(){i.unsubscribe()}:u(r),this._c=r)}catch(e){return void t.error(e)}m(this)&&y(this)};_.prototype=c({},{unsubscribe:function(){g(this)}});var b=function(t){this._s=t};b.prototype=c({},{next:function(t){var e=this._s;if(!m(e)){var r=e._o;try{var i=v(r.next);if(i)return i.call(r,t)}catch(t){try{g(e)}finally{throw t}}}},error:function(t){var e=this._s;if(m(e))throw t;var r=e._o;e._o=void 0;try{var i=v(r.error);if(!i)throw t;t=i.call(r,t)}catch(t){try{y(e)}finally{throw t}}return y(e),t},complete:function(t){var e=this._s;if(!m(e)){var r=e._o;e._o=void 0;try{var i=v(r.complete);t=i?i.call(r,t):void 0}catch(t){try{y(e)}finally{throw t}}return y(e),t}}});var x=function(t){h(this,x,"Observable","_f")._f=u(t)};c(x.prototype,{subscribe:function(t){return new _(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||n.Promise)(function(r,i){u(t);var n=e.subscribe({next:function(e){try{return t(e)}catch(t){i(t),n.unsubscribe()}},error:i,complete:r})})}}),c(x,{from:function(t){var e="function"==typeof this?this:x,r=v(l(t)[a]);if(r){var i=l(r.call(t));return i.constructor===e?i:new e(function(t){return i.subscribe(t)})}return new e(function(e){var r=!1;return s(function(){if(!r){try{if(d(t,!1,function(t){if(e.next(t),r)return p})===p)return}catch(t){if(r)throw t;return void e.error(t)}e.complete()}}),function(){r=!0}})},of:function(){for(var t=0,e=arguments.length,r=new Array(e);t<e;)r[t]=arguments[t++];return new("function"==typeof this?this:x)(function(t){var e=!1;return s(function(){if(!e){for(var i=0;i<r.length;++i)if(t.next(r[i]),e)return;t.complete()}}),function(){e=!0}})}}),f(x.prototype,a,function(){return this}),i(i.G,{Observable:x}),r(49)("Observable")},function(t,e,r){"use strict";var i=r(2),n=r(0),o=r(82),s=[].slice,a=/MSIE .\./.test(o),u=function(t){return function(e,r){var i=arguments.length>2,n=!!i&&s.call(arguments,2);return t(i?function(){("function"==typeof e?e:Function(e)).apply(this,n)}:e,r)}};n(n.G+n.B+n.F*a,{setTimeout:u(i.setTimeout),setInterval:u(i.setInterval)})},function(t,e,r){"use strict";var i=r(0),n=r(118);i(i.G+i.B,{setImmediate:n.set,clearImmediate:n.clear})},function(t,e,r){"use strict";(function(t,e){var r="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};!function(t){var i,n=Object.prototype,o=n.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},a=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag",h="object"===r(e),c=t.regeneratorRuntime;if(c)h&&(e.exports=c);else{(c=t.regeneratorRuntime=h?e.exports:{}).wrap=x;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",y={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,_=g&&g(g(D([])));_&&_!==n&&o.call(_,a)&&(m=_);var b=E.prototype=T.prototype=Object.create(m);S.prototype=b.constructor=E,E.constructor=S,E[l]=S.displayName="GeneratorFunction",c.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},c.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(b),t},c.awrap=function(t){return{__await:t}},P(O.prototype),O.prototype[u]=function(){return this},c.AsyncIterator=O,c.async=function(t,e,r,i){var n=new O(x(t,e,r,i));return c.isGeneratorFunction(e)?n:n.next().then(function(t){return t.done?t.value:n.next()})},P(b),b[l]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var i=e.pop();if(i in t)return r.value=i,r.done=!1,r}return r.done=!0,r}},c.values=D,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=i)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=i),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var s=this.tryEntries[n],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var u=o.call(s,"catchLoc"),l=o.call(s,"finallyLoc");if(u&&l){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(u){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var s=n?n.completion:{};return s.type=t,s.arg=e,n?(this.method="next",this.next=n.finallyLoc,y):this.complete(s)},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),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var n=i.arg;C(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:D(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=i),y}}}function x(t,e,r,i){var n=e&&e.prototype instanceof T?e:T,o=Object.create(n.prototype),s=new R(i||[]);return o._invoke=function(t,e,r){var i=f;return function(n,o){if(i===p)throw new Error("Generator is already running");if(i===v){if("throw"===n)throw o;return I()}for(r.method=n,r.arg=o;;){var s=r.delegate;if(s){var a=M(s,r);if(a){if(a===y)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var u=w(t,e,r);if("normal"===u.type){if(i=r.done?v:d,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=v,r.method="throw",r.arg=u.arg)}}}(t,r,s),o}function w(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function T(){}function S(){}function E(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function O(e){function i(t,n,s,a){var u=w(e[t],e,n);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"===(void 0===h?"undefined":r(h))&&o.call(h,"__await")?Promise.resolve(h.__await).then(function(t){i("next",t,s,a)},function(t){i("throw",t,s,a)}):Promise.resolve(h).then(function(t){l.value=t,s(l)},a)}a(u.arg)}var n;"object"===r(t.process)&&t.process.domain&&(i=t.process.domain.bind(i)),this._invoke=function(t,e){function r(){return new Promise(function(r,n){i(t,e,r,n)})}return n=n?n.then(r,r):r()}}function M(t,e){var r=t.iterator[e.method];if(r===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=i,M(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var n=w(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,y;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=i),e.delegate=null,y):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function A(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function D(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=i,e.done=!0,e};return n.next=n}}return{next:I}}function I(){return{value:i,done:!0}}}("object"===(void 0===t?"undefined":r(t))?t:"object"===("undefined"==typeof window?"undefined":r(window))?window:"object"===("undefined"==typeof self?"undefined":r(self))?self:void 0)}).call(this,r(42),r(191)(t))},function(t,e,r){"use strict";r(445),t.exports=r(15).RegExp.escape},function(t,e,r){"use strict";var i=r(0),n=r(446)(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return n(t)}})},function(t,e,r){"use strict";t.exports=function(t,e){var r=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,r)}}},function(t,e,r){"use strict";"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(t){if("Element"in t){var e=t.Element.prototype,r=Object,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},n=Array.prototype.indexOf||function(t){for(var e=0,r=this.length;e<r;e++)if(e in this&&this[e]===t)return e;return-1},o=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},s=function(t,e){if(""===e)throw new o("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new o("INVALID_CHARACTER_ERR","String contains an invalid character");return n.call(t,e)},a=function(t){for(var e=i.call(t.getAttribute("class")||""),r=e?e.split(/\s+/):[],n=0,o=r.length;n<o;n++)this.push(r[n]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},u=a.prototype=[],l=function(){return new a(this)};if(o.prototype=Error.prototype,u.item=function(t){return this[t]||null},u.contains=function(t){return-1!==s(this,t+="")},u.add=function(){var t,e=arguments,r=0,i=e.length,n=!1;do{t=e[r]+"",-1===s(this,t)&&(this.push(t),n=!0)}while(++r<i);n&&this._updateClassName()},u.remove=function(){var t,e,r=arguments,i=0,n=r.length,o=!1;do{for(t=r[i]+"",e=s(this,t);-1!==e;)this.splice(e,1),o=!0,e=s(this,t)}while(++i<n);o&&this._updateClassName()},u.toggle=function(t,e){t+="";var r=this.contains(t),i=r?!0!==e&&"remove":!1!==e&&"add";return i&&this[i](t),!0===e||!1===e?e:!r},u.toString=function(){return this.join(" ")},r.defineProperty){var h={get:l,enumerable:!0,configurable:!0};try{r.defineProperty(e,"classList",h)}catch(t){void 0!==t.number&&-2146823252!==t.number||(h.enumerable=!1,r.defineProperty(e,"classList",h))}}else r.prototype.__defineGetter__&&e.__defineGetter__("classList",l)}}(window.self),function(){var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var r,i=arguments.length;for(r=0;r<i;r++)t=arguments[r],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:r.call(this,t)}}t=null}())},function(t,e,r){"use strict";var i="padding: 0; color:#000000; line-height:20px; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;",n=["🍪","😘","🤓","🍰","😍","🔥","🙌"],o=n[Math.floor(Math.random()*n.length)];window.console.log("%cMade with "+o+" \nby %cwww.virginievachet.com    \n",i,"padding: 0; color:#000000; line-height:20px; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; font-weight: 700;")},function(t,e,r){"use strict";r(450),r(451),r(452),r(453),r(454)},function(t,e,r){"use strict";r(75),r(76),r(88),r(121),r(180),r(184),r(187),t.exports=r(15).Map},function(t,e,r){"use strict";r(75),r(76),r(88),r(122),r(183),r(185),r(188),t.exports=r(15).Set},function(t,e,r){"use strict";r(75),r(88),r(123),r(186),r(189),t.exports=r(15).WeakMap},function(t,e,r){"use strict";r(76),r(165),t.exports=r(15).Array.from},function(t,e,r){"use strict";r(155),t.exports=r(15).Object.assign},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.scrollbarMap=void 0;var i,n=v(r(53)),o=r(54),s=(i=o)&&i.__esModule?i:{default:i},a=r(463),u=r(34),l=r(125),h=r(472),c=r(475),f=r(479),d=r(202),p=v(r(483));function v(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var y=e.scrollbarMap=new Map,m=function(){function t(t,e){var r=this;this.offset={x:0,y:0},this.limit={x:1/0,y:1/0},this.bounding={top:0,right:0,bottom:0,left:0},this._plugins=[],this._momentum={x:0,y:0},this._listeners=new Set,this.containerEl=t;var i=this.contentEl=document.createElement("div");this.options=new a.Options(e),t.setAttribute("data-scrollbar","true"),t.setAttribute("tabindex","1"),(0,u.setStyle)(t,{overflow:"hidden",outline:"none"}),window.navigator.msPointerEnabled&&(t.style.msTouchAction="none"),i.className="scroll-content",Array.from(t.childNodes).forEach(function(t){i.appendChild(t)}),t.appendChild(i),this.track=new h.TrackController(this),this.size=this.getSize(),this._plugins=(0,d.initPlugins)(this,this.options.plugins);var n=t.scrollLeft,o=t.scrollTop;t.scrollLeft=t.scrollTop=0,this.setPosition(n,o,{withoutCallbacks:!0});var s=window,l=s.MutationObserver||s.WebKitMutationObserver||s.MozMutationObserver;"function"==typeof l&&(this._observer=new l(function(){r.update()}),this._observer.observe(i,{subtree:!0,childList:!0})),y.set(t,this),requestAnimationFrame(function(){r._init()})}return Object.defineProperty(t.prototype,"parent",{get:function(){for(var t=this.containerEl.parentElement;t;){var e=y.get(t);if(e)return e;t=t.parentElement}return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollTop",{get:function(){return this.offset.y},set:function(t){this.setPosition(this.scrollLeft,t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollLeft",{get:function(){return this.offset.x},set:function(t){this.setPosition(t,this.scrollTop)},enumerable:!0,configurable:!0}),t.prototype.getSize=function(){return(0,c.getSize)(this)},t.prototype.update=function(){(0,c.update)(this),this._plugins.forEach(function(t){t.onUpdate()})},t.prototype.isVisible=function(t){return(0,c.isVisible)(this,t)},t.prototype.setPosition=function(t,e,r){var i=this;void 0===t&&(t=this.offset.x),void 0===e&&(e=this.offset.y),void 0===r&&(r={});var n=(0,f.setPosition)(this,t,e);n&&!r.withoutCallbacks&&this._listeners.forEach(function(t){t.call(i,n)})},t.prototype.scrollTo=function(t,e,r,i){void 0===t&&(t=this.offset.x),void 0===e&&(e=this.offset.y),void 0===r&&(r=0),void 0===i&&(i={}),(0,f.scrollTo)(this,t,e,r,i)},t.prototype.scrollIntoView=function(t,e){void 0===e&&(e={}),(0,f.scrollIntoView)(this,t,e)},t.prototype.addListener=function(t){if("function"!=typeof t)throw new TypeError("[smooth-scrollbar] scrolling listener should be a function");this._listeners.add(t)},t.prototype.removeListener=function(t){this._listeners.delete(t)},t.prototype.addTransformableMomentum=function(t,e,r,i){this._updateDebounced();var n=this._plugins.reduce(function(t,e){return e.transformDelta(t,r)||t},{x:t,y:e}),o=!this._shouldPropagateMomentum(n.x,n.y);o&&this.addMomentum(n.x,n.y),i&&i.call(this,o)},t.prototype.addMomentum=function(t,e){this.setMomentum(this._momentum.x+t,this._momentum.y+e)},t.prototype.setMomentum=function(t,e){0===this.limit.x&&(t=0),0===this.limit.y&&(e=0),this.options.renderByPixels&&(t=Math.round(t),e=Math.round(e)),this._momentum.x=t,this._momentum.y=e},t.prototype.updatePluginOptions=function(t,e){this._plugins.forEach(function(r){r.name===t&&Object.assign(r.options,e)})},t.prototype.destroy=function(){var t=this.containerEl,e=this.contentEl;(0,u.clearEventsOn)(this),this._listeners.clear(),this.setMomentum(0,0),cancelAnimationFrame(this._renderID),this._observer&&this._observer.disconnect(),y.delete(this.containerEl);for(var r=Array.from(e.childNodes);t.firstChild;)t.removeChild(t.firstChild);r.forEach(function(e){t.appendChild(e)}),(0,u.setStyle)(t,{overflow:""}),t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,this._plugins.forEach(function(t){t.onDestory()}),this._plugins.length=0},t.prototype._init=function(){var t=this;this.update(),Object.keys(p).forEach(function(e){p[e](t)}),this._plugins.forEach(function(t){t.onInit()}),this._render()},t.prototype._updateDebounced=function(){this.update()},t.prototype._shouldPropagateMomentum=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var r=this.options,i=this.offset,n=this.limit;if(!r.continuousScrolling)return!1;0===n.x&&0===n.y&&this._updateDebounced();var o=(0,s.default)(t+i.x,0,n.x),a=(0,s.default)(e+i.y,0,n.y),u=!0;return u=(u=(u=u&&o===i.x)&&a===i.y)&&(i.x===n.x||0===i.x||i.y===n.y||0===i.y)},t.prototype._render=function(){var t=this._momentum;if(t.x||t.y){var e=this._nextTick("x"),r=this._nextTick("y");t.x=e.momentum,t.y=r.momentum,this.setPosition(e.position,r.position)}var i=n.__assign({},this._momentum);this._plugins.forEach(function(t){t.onRender(i)}),this._renderID=requestAnimationFrame(this._render.bind(this))},t.prototype._nextTick=function(t){var e=this.options,r=this.offset,i=this._momentum,n=r[t],o=i[t];if(Math.abs(o)<=.1)return{momentum:0,position:n+o};var s=o*(1-e.damping);return e.renderByPixels&&(s|=0),{momentum:s,position:n+o-s}},n.__decorate([(0,l.debounce)(100,{leading:!0})],t.prototype,"_updateDebounced",null),t}();e.Scrollbar=m},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==e&&(t=t>=e?t:e)),t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="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},n=s(r(458)),o=s(r(462));function s(t){return t&&t.__esModule?t:{default:t}}var a="[object Symbol]";e.default=function(t){return"symbol"==(void 0===t?"undefined":i(t))||(0,o.default)(t)&&(0,n.default)(t)==a}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s(r(196)),n=s(r(460)),o=s(r(461));function s(t){return t&&t.__esModule?t:{default:t}}var a="[object Null]",u="[object Undefined]",l=i.default?i.default.toStringTag:void 0;e.default=function(t){return null==t?void 0===t?u:a:l&&l in Object(t)?(0,n.default)(t):(0,o.default)(t)}},function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r="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},i="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t;e.default=i}).call(this,r(42))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=r(196),o=(i=n)&&i.__esModule?i:{default:i};var s=Object.prototype,a=s.hasOwnProperty,u=s.toString,l=o.default?o.default.toStringTag:void 0;e.default=function(t){var e=a.call(t,l),r=t[l];try{t[l]=void 0;var i=!0}catch(t){}var n=u.call(t);return i&&(e?t[l]=r:delete t[l]),n}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.prototype.toString;e.default=function(t){return i.call(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="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};e.default=function(t){return null!=t&&"object"==(void 0===t?"undefined":i(t))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Options=void 0;var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(53)),n=r(125);var o=function(){function t(t){void 0===t&&(t={});var e=this;this.damping=.1,this.thumbMinSize=20,this.renderByPixels=!0,this.alwaysShowTracks=!1,this.continuousScrolling=!0,this.delegateTo=null,this.plugins={},Object.keys(t).forEach(function(r){e[r]=t[r]})}return Object.defineProperty(t.prototype,"wheelEventTarget",{get:function(){return this.delegateTo},set:function(t){this.delegateTo=t},enumerable:!0,configurable:!0}),i.__decorate([(0,n.range)(0,1)],t.prototype,"damping",void 0),i.__decorate([(0,n.range)(0,1/0)],t.prototype,"thumbMinSize",void 0),i.__decorate([n.boolean],t.prototype,"renderByPixels",void 0),i.__decorate([n.boolean],t.prototype,"alwaysShowTracks",void 0),i.__decorate([n.boolean],t.prototype,"continuousScrolling",void 0),t}();e.Options=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.range=function(t,e){void 0===t&&(t=-1/0);void 0===e&&(e=1/0);return function(r,i){var n="_"+i;Object.defineProperty(r,i,{get:function(){return this[n]},set:function(r){Object.defineProperty(this,n,{value:(0,o.default)(r,t,e),enumerable:!1,writable:!0,configurable:!0})},enumerable:!0,configurable:!0})}};var i,n=r(54),o=(i=n)&&i.__esModule?i:{default:i}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.boolean=function(t,e){var r="_"+e;Object.defineProperty(t,e,{get:function(){return this[r]},set:function(t){Object.defineProperty(this,r,{value:!!t,enumerable:!1,writable:!0,configurable:!0})},enumerable:!0,configurable:!0})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e,r,i){var n=i.value;return{get:function(){return this.hasOwnProperty(r)||Object.defineProperty(this,r,{value:o.default.apply(void 0,[n].concat(t))}),this[r]}}}};var i,n=r(198),o=(i=n)&&i.__esModule?i:{default:i}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=r(197),o=(i=n)&&i.__esModule?i:{default:i};e.default=function(){return o.default.Date.now()}},function(t,e,r){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.eventScope=function(t){var e=n.get(t)||[];return n.set(t,e),function(t,r,i){function n(t){t.defaultPrevented||i(t)}r.split(/\s+/g).forEach(function(r){e.push({elem:t,eventName:r,handler:n}),t.addEventListener(r,n,o())})}},e.clearEventsOn=function(t){var e=n.get(t);if(!e)return;e.forEach(function(t){var e=t.elem,r=t.eventName,i=t.handler;e.removeEventListener(r,i,o())}),n.delete(t)};var n=new WeakMap;function o(){if(void 0!==i)return i;var t=!1;try{var e=function(){},r=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassive",e,r),window.removeEventListener("testPassive",e,r)}catch(t){}return i=!!t&&{passive:!1}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isOneOf=function(t,e){void 0===e&&(e=[]);return e.some(function(e){return t===e})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setStyle=function(t,e){e=function(t){var e={};return Object.keys(t).forEach(function(r){if(n.test(r)){var o=t[r];r=r.replace(/^-/,""),e[r]=o,i.forEach(function(t){e["-"+t+"-"+r]=o})}else e[r]=t[r]}),e}(e),Object.keys(e).forEach(function(r){var i=r.replace(/^-/,"").replace(/-([a-z])/g,function(t,e){return e.toUpperCase()});t.style[i]=e[r]})};var i=["webkit","moz","ms","o"],n=new RegExp("^-(?!(?:"+i.join("|")+")-)")},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TouchRecord=e.Tracker=void 0;var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(53)),n=r(200);var o=function(){function t(t){this.updateTime=Date.now(),this.delta={x:0,y:0},this.velocity={x:0,y:0},this.lastPosition={x:0,y:0},this.lastPosition=(0,n.getPosition)(t)}return t.prototype.update=function(t){var e=this.velocity,r=this.updateTime,i=this.lastPosition,o=Date.now(),s=(0,n.getPosition)(t),a={x:-(s.x-i.x),y:-(s.y-i.y)},u=o-r||16,l=a.x/u*16,h=a.y/u*16;e.x=.9*l+.1*e.x,e.y=.9*h+.1*e.y,this.delta=a,this.updateTime=o,this.lastPosition=s},t}();e.Tracker=o;var s=function(){function t(){this._touchList={}}return Object.defineProperty(t.prototype,"_primitiveValue",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),t.prototype.isActive=function(){return void 0!==this._activeTouchID},t.prototype.getDelta=function(){var t=this._getActiveTracker();return t?i.__assign({},t.delta):this._primitiveValue},t.prototype.getVelocity=function(){var t=this._getActiveTracker();return t?i.__assign({},t.velocity):this._primitiveValue},t.prototype.track=function(t){var e=this,r=t.targetTouches;return Array.from(r).forEach(function(t){e._add(t)}),this._touchList},t.prototype.update=function(t){var e=this,r=t.touches,i=t.changedTouches;return Array.from(r).forEach(function(t){e._renew(t)}),this._setActiveID(i),this._touchList},t.prototype.release=function(t){var e=this;delete this._activeTouchID,Array.from(t.changedTouches).forEach(function(t){e._delete(t)})},t.prototype._add=function(t){if(!this._has(t)){var e=new o(t);this._touchList[t.identifier]=e}},t.prototype._renew=function(t){this._has(t)&&this._touchList[t.identifier].update(t)},t.prototype._delete=function(t){delete this._touchList[t.identifier]},t.prototype._has=function(t){return this._touchList.hasOwnProperty(t.identifier)},t.prototype._setActiveID=function(t){this._activeTouchID=t[t.length-1].identifier,this._lastTouch=this._touchList[this._activeTouchID]},t.prototype._getActiveTracker=function(){return this._touchList[this._activeTouchID]},t}();e.TouchRecord=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TrackController=void 0;var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(53)),n=r(473),o=r(201),s=r(125);var a=function(){function t(t){this._scrollbar=t;var e=t.options.thumbMinSize;this.xAxis=new n.ScrollbarTrack(o.TrackDirection.X,e),this.yAxis=new n.ScrollbarTrack(o.TrackDirection.Y,e),this.xAxis.attachTo(t.containerEl),this.yAxis.attachTo(t.containerEl),t.options.alwaysShowTracks&&(this.xAxis.show(),this.yAxis.show())}return t.prototype.update=function(){var t=this._scrollbar,e=t.size,r=t.offset;this.xAxis.update(r.x,e.container.width,e.content.width),this.yAxis.update(r.y,e.container.height,e.content.height)},t.prototype.autoHideOnIdle=function(){this._scrollbar.options.alwaysShowTracks||(this.xAxis.hide(),this.yAxis.hide())},i.__decorate([(0,s.debounce)(300)],t.prototype,"autoHideOnIdle",null),t}();e.TrackController=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarTrack=void 0;var i=r(474),n=r(34),o=function(){function t(t,e){void 0===e&&(e=0),this.element=document.createElement("div"),this._isShown=!1,this.element.className="scrollbar-track scrollbar-track-"+t,this.thumb=new i.ScrollbarThumb(t,e),this.thumb.attachTo(this.element)}return t.prototype.attachTo=function(t){t.appendChild(this.element)},t.prototype.show=function(){this._isShown||(this._isShown=!0,this.element.classList.add("show"))},t.prototype.hide=function(){this._isShown&&(this._isShown=!1,this.element.classList.remove("show"))},t.prototype.update=function(t,e,r){(0,n.setStyle)(this.element,{display:r<=e?"none":"block"}),this.thumb.update(t,e,r)},t}();e.ScrollbarTrack=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarThumb=void 0;var i=r(201),n=r(34),o=function(){function t(t,e){void 0===e&&(e=0),this._direction=t,this._minSize=e,this.element=document.createElement("div"),this.displaySize=0,this.realSize=0,this.offset=0,this.element.className="scrollbar-thumb scrollbar-thumb-"+t}return t.prototype.attachTo=function(t){t.appendChild(this.element)},t.prototype.update=function(t,e,r){this.realSize=Math.min(e/r,1)*e,this.displaySize=Math.max(this.realSize,this._minSize),this.offset=t/r*(e+(this.realSize-this.displaySize)),(0,n.setStyle)(this.element,this._getStyle())},t.prototype._getStyle=function(){switch(this._direction){case i.TrackDirection.X:return{width:this.displaySize+"px","-transform":"translate3d("+this.offset+"px, 0, 0)"};case i.TrackDirection.Y:return{height:this.displaySize+"px","-transform":"translate3d(0, "+this.offset+"px, 0)"};default:return null}},t}();e.ScrollbarThumb=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(476);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var n=r(477);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(478);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSize=function(t){var e=t.containerEl,r=t.contentEl;return{container:{width:e.clientWidth,height:e.clientHeight},content:{width:r.offsetWidth-r.clientWidth+r.scrollWidth,height:r.offsetHeight-r.clientHeight+r.scrollHeight}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isVisible=function(t,e){var r=t.bounding,i=e.getBoundingClientRect(),n=Math.max(r.top,i.top),o=Math.max(r.left,i.left),s=Math.min(r.right,i.right),a=Math.min(r.bottom,i.bottom);return n<a&&o<s}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.update=function(t){var e=t.getSize(),r={x:Math.max(e.content.width-e.container.width,0),y:Math.max(e.content.height-e.container.height,0)},i=t.containerEl.getBoundingClientRect(),n={top:Math.max(i.top,0),right:Math.min(i.right,window.innerWidth),bottom:Math.min(i.bottom,window.innerHeight),left:Math.max(i.left,0)};t.size=e,t.limit=r,t.bounding=n,t.track.update(),t.setPosition()}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(480);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var n=r(481);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(482);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setPosition=function(t,e,r){var i=t.options,o=t.offset,u=t.limit,l=t.track,h=t.contentEl;i.renderByPixels&&(e=Math.round(e),r=Math.round(r));e=(0,s.default)(e,0,u.x),r=(0,s.default)(r,0,u.y),e!==o.x&&l.xAxis.show();r!==o.y&&l.yAxis.show();i.alwaysShowTracks||l.autoHideOnIdle();if(e===o.x&&r===o.y)return null;return o.x=e,o.y=r,(0,a.setStyle)(h,{"-transform":"translate3d("+-e+"px, "+-r+"px, 0)"}),l.update(),{offset:n.__assign({},o),limit:n.__assign({},u)}};var i,n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(53)),o=r(54),s=(i=o)&&i.__esModule?i:{default:i},a=r(34)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scrollTo=function(t,e,r,i,n){void 0===i&&(i=0);var u=void 0===n?{}:n,l=u.easing,h=void 0===l?a:l,c=u.callback,f=void 0===c?null:c,d=t.options,p=t.offset,v=t.limit;d.renderByPixels&&(e=Math.round(e),r=Math.round(r));var y=p.x,m=p.y,g=(0,o.default)(e,0,v.x)-y,_=(0,o.default)(r,0,v.y)-m,b=Date.now();cancelAnimationFrame(s.get(t)),function e(){var r=Date.now()-b;var n=i?h(Math.min(r/i,1)):1;t.setPosition(y+g*n,m+_*n);if(r>=i)"function"==typeof f&&f.call(t);else{var o=requestAnimationFrame(e);s.set(t,o)}}()};var i,n=r(54),o=(i=n)&&i.__esModule?i:{default:i};var s=new WeakMap;function a(t){return Math.pow(t-1,3)+1}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scrollIntoView=function(t,e,r){var i=void 0===r?{}:r,n=i.alignToTop,s=void 0===n||n,a=i.onlyScrollIfNeeded,u=void 0!==a&&a,l=i.offsetTop,h=void 0===l?0:l,c=i.offsetLeft,f=void 0===c?0:c,d=i.offsetBottom,p=void 0===d?0:d,v=t.containerEl,y=t.bounding,m=t.offset,g=t.limit;if(!e||!v.contains(e))return;var _=e.getBoundingClientRect();if(u&&t.isVisible(e))return;var b=s?_.top-y.top-h:_.bottom-y.bottom+p;t.setMomentum(_.left-y.left-f,(0,o.default)(b,-m.y,g.y-m.y))};var i,n=r(54),o=(i=n)&&i.__esModule?i:{default:i}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(484);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var n=r(485);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(486);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})});var s=r(487);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})});var a=r(488);Object.keys(a).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})});var u=r(489);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}})})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keyboardHandler=function(t){var e=(0,n.eventScope)(t),r=t.containerEl;e(r,"keydown",function(e){if(document.activeElement===r){var n=function(t,e){var r=t.size,n=t.limit,o=t.offset;switch(e){case i.SPACE:return[0,200];case i.PAGE_UP:return[0,40-r.container.height];case i.PAGE_DOWN:return[0,r.container.height-40];case i.END:return[0,n.y-o.y];case i.HOME:return[0,-o.y];case i.LEFT:return[-40,0];case i.UP:return[0,-40];case i.RIGHT:return[40,0];case i.DOWN:return[0,40];default:return null}}(t,e.keyCode||e.which);if(n){var o=n[0],s=n[1];t.addTransformableMomentum(o,s,e,function(r){r?e.preventDefault():(t.containerEl.blur(),t.parent&&t.parent.containerEl.focus())})}}})};var i,n=r(34);!function(t){t[t.SPACE=32]="SPACE",t[t.PAGE_UP=33]="PAGE_UP",t[t.PAGE_DOWN=34]="PAGE_DOWN",t[t.END=35]="END",t[t.HOME=36]="HOME",t[t.LEFT=37]="LEFT",t[t.UP=38]="UP",t[t.RIGHT=39]="RIGHT",t[t.DOWN=40]="DOWN"}(i||(i={}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mouseHandler=function(t){var e,r,i,o,u,l=(0,a.eventScope)(t),h=t.containerEl,c=t.track,f=c.xAxis,d=c.yAxis;function p(e,r){var i=t.size;if(e===n.X){var o=i.container.width+(f.thumb.realSize-f.thumb.displaySize);return r/o*i.content.width}if(e===n.Y){var s=i.container.height+(d.thumb.realSize-d.thumb.displaySize);return r/s*i.content.height}return 0}function v(t){return(0,a.isOneOf)(t,[f.element,f.thumb.element])?n.X:(0,a.isOneOf)(t,[d.element,d.thumb.element])?n.Y:void 0}l(h,"click",function(e){if(!r&&(0,a.isOneOf)(e.target,[f.element,d.element])){var i=e.target,o=v(i),u=i.getBoundingClientRect(),l=(0,a.getPosition)(e),h=t.offset,c=t.limit;if(o===n.X){var y=l.x-u.left-f.thumb.displaySize/2;t.setMomentum((0,s.default)(p(o,y)-h.x,-h.x,c.x-h.x),0)}if(o===n.Y){var y=l.y-u.top-d.thumb.displaySize/2;t.setMomentum(0,(0,s.default)(p(o,y)-h.y,-h.y,c.y-h.y))}}}),l(h,"mousedown",function(r){if((0,a.isOneOf)(r.target,[f.thumb.element,d.thumb.element])){e=!0;var n=r.target,s=(0,a.getPosition)(r),l=n.getBoundingClientRect();o=v(n),i={x:s.x-l.left,y:s.y-l.top},u=h.getBoundingClientRect(),(0,a.setStyle)(t.containerEl,{"-user-select":"none"})}}),l(window,"mousemove",function(s){if(e){r=!0;var l=t.offset,h=(0,a.getPosition)(s);if(o===n.X){var c=h.x-i.x-u.left;t.setPosition(p(o,c),l.y)}if(o===n.Y){var c=h.y-i.y-u.top;t.setPosition(l.x,p(o,c))}}}),l(window,"mouseup blur",function(){e=r=!1,(0,a.setStyle)(t.containerEl,{"-user-select":""})})};var i,n,o=r(54),s=(i=o)&&i.__esModule?i:{default:i},a=r(34);!function(t){t[t.X=0]="X",t[t.Y=1]="Y"}(n||(n={}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizeHandler=function(t){(0,s.eventScope)(t)(window,"resize",(0,o.default)(t.update.bind(t),300))};var i,n=r(198),o=(i=n)&&i.__esModule?i:{default:i},s=r(34)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.selectHandler=function(t){var e,r=(0,s.eventScope)(t),i=t.containerEl,n=t.contentEl,a=t.offset,u=t.limit,l=!1;r(window,"mousemove",function(r){if(l){cancelAnimationFrame(e);var i=function(t,e){var r=t.bounding,i=r.top,n=r.right,o=r.bottom,a=r.left,u=(0,s.getPosition)(e),l=u.x,h=u.y,c={x:0,y:0};if(0===l&&0===h)return c;l>n-20?c.x=l-n+20:l<a+20&&(c.x=l-a-20);h>o-20?c.y=h-o+20:h<i+20&&(c.y=h-i-20);return c.x*=2,c.y*=2,c}(t,r);!function r(i){var n=i.x,s=i.y;if(!n&&!s)return;t.setMomentum((0,o.default)(a.x+n,0,u.x)-a.x,(0,o.default)(a.y+s,0,u.y)-a.y);e=requestAnimationFrame(function(){r({x:n,y:s})})}(i)}}),r(n,"selectstart",function(t){t.stopPropagation(),cancelAnimationFrame(e),l=!0}),r(window,"mouseup blur",function(){cancelAnimationFrame(e),l=!1}),r(i,"scroll",function(t){t.preventDefault(),i.scrollTop=i.scrollLeft=0})};var i,n=r(54),o=(i=n)&&i.__esModule?i:{default:i},s=r(34)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.touchHandler=function(t){var e,r=/Android/.test(navigator.userAgent)?3:2,o=t.options.delegateTo||t.containerEl,s=new n.TouchRecord,a=(0,n.eventScope)(t),u=0;a(o,"touchstart",function(r){s.track(r),t.setMomentum(0,0),0===u&&(e=t.options.damping,t.options.damping=Math.max(e,.5)),u++}),a(o,"touchmove",function(e){if(!i||i===t){s.update(e);var r=s.getDelta(),n=r.x,o=r.y;t.addTransformableMomentum(n,o,e,function(r){r&&(e.preventDefault(),i=t)})}}),a(o,"touchcancel touchend",function(n){var o=s.getVelocity(),a={x:0,y:0};Object.keys(o).forEach(function(t){var i=o[t]/e;a[t]=Math.abs(i)<50?0:i*r}),t.addTransformableMomentum(a.x,a.y,n),0===--u&&(t.options.damping=e),s.release(n),i=null})};var i,n=r(34)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wheelHandler=function(t){var e=(0,i.eventScope)(t),r=t.options.delegateTo||t.containerEl,o="onwheel"in window||document.implementation.hasFeature("Events.wheel","3.0")?"wheel":"mousewheel";e(r,o,function(e){var r=function(t){if("deltaX"in t){var e=s(t.deltaMode);return{x:t.deltaX/n.STANDARD*e,y:t.deltaY/n.STANDARD*e}}if("wheelDeltaX"in t)return{x:t.wheelDeltaX/n.OTHERS,y:t.wheelDeltaY/n.OTHERS};return{x:0,y:t.wheelDelta/n.OTHERS}}(e),i=r.x,o=r.y;t.addTransformableMomentum(i,o,e,function(t){t&&e.preventDefault()})})};var i=r(34);var n={STANDARD:1,OTHERS:-3},o=[1,28,500],s=function(t){return o[t]||o[0]}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.attachStyle=function(){if(o||"undefined"==typeof window)return;var t=document.createElement("style");t.id=n,t.textContent=i,document.head.appendChild(t),o=!0},e.detachStyle=function(){if(!o||"undefined"==typeof window)return;var t=document.getElementById(n);if(!t||!t.parentNode)return;t.parentNode.removeChild(t),o=!1};var i="\n[data-scrollbar] {\n  display: block;\n  position: relative;\n}\n\n.scroll-content {\n  -webkit-transform: translate3d(0, 0, 0);\n          transform: translate3d(0, 0, 0);\n}\n\n.scrollbar-track {\n  position: absolute;\n  opacity: 0;\n  z-index: 1;\n  background: rgba(222, 222, 222, .75);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  -webkit-transition: opacity 0.5s 0.5s ease-out;\n          transition: opacity 0.5s 0.5s ease-out;\n}\n.scrollbar-track.show,\n.scrollbar-track:hover {\n  opacity: 1;\n  -webkit-transition-delay: 0s;\n          transition-delay: 0s;\n}\n\n.scrollbar-track-x {\n  bottom: 0;\n  left: 0;\n  width: 100%;\n  height: 8px;\n}\n.scrollbar-track-y {\n  top: 0;\n  right: 0;\n  width: 8px;\n  height: 100%;\n}\n.scrollbar-thumb {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 8px;\n  height: 8px;\n  background: rgba(0, 0, 0, .5);\n  border-radius: 4px;\n}\n",n="smooth-scrollbar-style",o=!1},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(89),s=(i=o)&&i.__esModule?i:{default:i},a=r(193);var u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).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, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,a.ScrollbarPlugin),n(e,[{key:"_construct",value:function(){this.lastScrollTop=0,this.atEnd=!1,this.atTop=!0,window.dispatcher||(window.dispatcher=new s.default)}},{key:"onInit",value:function(){window.dispatcher.emit("vs:scroll:init")}},{key:"onRender",value:function(){this.lastScrollTop!==this.scrollbar.scrollTop&&(this.lastScrollTop=this.scrollbar.scrollTop,window.dispatcher.emit("vs:scroll:change"),this.scrollbar.offset.y<=0?(this.atTop||document.body.classList.add("scroll-start"),this.atTop=!0):(this.atTop&&document.body.classList.remove("scroll-start"),this.atTop=!1),this.scrollbar.offset.y>=this.scrollbar.limit.y?(this.atEnd||document.body.classList.add("scroll-end"),this.atEnd=!0):(this.atEnd&&document.body.classList.remove("scroll-end"),this.atEnd=!1))}}]),e}();u.pluginName="VS_ScrollPlugin",e.default=u},function(t,e,r){"use strict";var i;!function(){function n(t,e,r){return t.call.apply(t.bind,arguments)}function o(t,e,r){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(r,i),t.apply(e,r)}}return function(){return t.apply(e,arguments)}}function s(t,e,r){return(s=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?n:o).apply(null,arguments)}var a=Date.now||function(){return+new Date};var u=!!window.FontFace;function l(t,e,r,i){if(e=t.c.createElement(e),r)for(var n in r)r.hasOwnProperty(n)&&("style"==n?e.style.cssText=r[n]:e.setAttribute(n,r[n]));return i&&e.appendChild(t.c.createTextNode(i)),e}function h(t,e,r){(t=t.c.getElementsByTagName(e)[0])||(t=document.documentElement),t.insertBefore(r,t.lastChild)}function c(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,r){e=e||[],r=r||[];for(var i=t.className.split(/\s+/),n=0;n<e.length;n+=1){for(var o=!1,s=0;s<i.length;s+=1)if(e[n]===i[s]){o=!0;break}o||i.push(e[n])}for(e=[],n=0;n<i.length;n+=1){for(o=!1,s=0;s<r.length;s+=1)if(i[n]===r[s]){o=!0;break}o||e.push(i[n])}t.className=e.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function d(t,e){for(var r=t.className.split(/\s+/),i=0,n=r.length;i<n;i++)if(r[i]==e)return!0;return!1}function p(t,e,r){function i(){a&&n&&o&&(a(s),a=null)}e=l(t,"link",{rel:"stylesheet",href:e,media:"all"});var n=!1,o=!0,s=null,a=r||null;u?(e.onload=function(){n=!0,i()},e.onerror=function(){n=!0,s=Error("Stylesheet failed to load"),i()}):setTimeout(function(){n=!0,i()},0),h(t,"head",e)}function v(t,e,r,i){var n=t.c.getElementsByTagName("head")[0];if(n){var o=l(t,"script",{src:e}),s=!1;return o.onload=o.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,r&&r(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&n.removeChild(o))},n.appendChild(o),setTimeout(function(){s||(s=!0,r&&r(Error("Script load timeout")))},i||5e3),o}return null}function y(){this.a=0,this.c=null}function m(t){return t.a++,function(){t.a--,_(t)}}function g(t,e){t.c=e,_(t)}function _(t){0==t.a&&t.c&&(t.c(),t.c=null)}function b(t){this.a=t||"-"}function x(t,e){this.c=t,this.f=4,this.a="n";var r=(e||"n4").match(/^([nio])([1-9])$/i);r&&(this.a=r[1],this.f=parseInt(r[2],10))}function w(t){var e=[];t=t.split(/,\s*/);for(var r=0;r<t.length;r++){var i=t[r].replace(/['"]/g,"");-1!=i.indexOf(" ")||/^\d/.test(i)?e.push("'"+i+"'"):e.push(i)}return e.join(",")}function T(t){return t.a+t.f}function S(t){var e="normal";return"o"===t.a?e="oblique":"i"===t.a&&(e="italic"),e}function E(t){var e=4,r="n",i=null;return t&&((i=t.match(/(normal|oblique|italic)/i))&&i[1]&&(r=i[1].substr(0,1).toLowerCase()),(i=t.match(/([1-9]00|normal|bold)/i))&&i[1]&&(/bold/i.test(i[1])?e=7:/[1-9]00/.test(i[1])&&(e=parseInt(i[1].substr(0,1),10)))),r+e}function P(t){if(t.g){var e=d(t.f,t.a.c("wf","active")),r=[],i=[t.a.c("wf","loading")];e||r.push(t.a.c("wf","inactive")),f(t.f,r,i)}O(t,"inactive")}function O(t,e,r){t.j&&t.h[e]&&(r?t.h[e](r.c,T(r)):t.h[e]())}function M(t,e){this.c=t,this.f=e,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function A(t){h(t.c,"body",t.a)}function C(t){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+w(t.c)+";font-style:"+S(t)+";font-weight:"+t.f+"00;"}function R(t,e,r,i,n,o){this.g=t,this.j=e,this.a=i,this.c=r,this.f=n||3e3,this.h=o||void 0}function D(t,e,r,i,n,o,s){this.v=t,this.B=e,this.c=r,this.a=i,this.s=s||"BESbswy",this.f={},this.w=n||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new M(this.c,this.s),this.h=new M(this.c,this.s),this.j=new M(this.c,this.s),this.m=new M(this.c,this.s),t=C(t=new x(this.a.c+",serif",T(this.a))),this.g.a.style.cssText=t,t=C(t=new x(this.a.c+",sans-serif",T(this.a))),this.h.a.style.cssText=t,t=C(t=new x("serif",T(this.a))),this.j.a.style.cssText=t,t=C(t=new x("sans-serif",T(this.a))),this.m.a.style.cssText=t,A(this.g),A(this.h),A(this.j),A(this.m)}b.prototype.c=function(t){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r].replace(/[\W_]+/g,"").toLowerCase());return e.join(this.a)},R.prototype.start=function(){var t=this.c.o.document,e=this,r=a(),i=new Promise(function(i,n){!function o(){a()-r>=e.f?n():t.fonts.load(function(t){return S(t)+" "+t.f+"00 300px "+w(t.c)}(e.a),e.h).then(function(t){1<=t.length?i():setTimeout(o,25)},function(){n()})}()}),n=null,o=new Promise(function(t,r){n=setTimeout(r,e.f)});Promise.race([o,i]).then(function(){n&&(clearTimeout(n),n=null),e.g(e.a)},function(){e.j(e.a)})};var I={D:"serif",C:"sans-serif"},k=null;function L(){if(null===k){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);k=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return k}function F(t,e,r){for(var i in I)if(I.hasOwnProperty(i)&&e===t.f[I[i]]&&r===t.f[I[i]])return!0;return!1}function N(t){var e,r=t.g.a.offsetWidth,i=t.h.a.offsetWidth;(e=r===t.f.serif&&i===t.f["sans-serif"])||(e=L()&&F(t,r,i)),e?a()-t.A>=t.w?L()&&F(t,r,i)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?j(t,t.v):j(t,t.B):function(t){setTimeout(s(function(){N(this)},t),50)}(t):j(t,t.v)}function j(t,e){setTimeout(s(function(){c(this.g.a),c(this.h.a),c(this.j.a),c(this.m.a),e(this.a)},t),0)}function B(t,e,r){this.c=t,this.a=e,this.f=0,this.m=this.j=!1,this.s=r}D.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),N(this)};var U=null;function X(t){0==--t.f&&t.j&&(t.m?((t=t.a).g&&f(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),O(t,"active")):P(t.a))}function W(t){this.j=t,this.a=new function(){this.c={}},this.h=0,this.f=this.g=!0}function H(t,e,r,i,n){var o=0==--t.h;(t.f||t.g)&&setTimeout(function(){var t=n||null,a=i||{};if(0===r.length&&o)P(e.a);else{e.f+=r.length,o&&(e.j=o);var u,l=[];for(u=0;u<r.length;u++){var h=r[u],c=a[h.c],d=e.a,p=h;if(d.g&&f(d.f,[d.a.c("wf",p.c,T(p).toString(),"loading")]),O(d,"fontloading",p),d=null,null===U)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var v=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);U=p?42<parseInt(p[1],10):!v}else U=!1;d=U?new R(s(e.g,e),s(e.h,e),e.c,h,e.s,c):new D(s(e.g,e),s(e.h,e),e.c,h,e.s,t,c),l.push(d)}for(u=0;u<l.length;u++)l[u].start()}},0)}function z(t,e){this.c=t,this.a=e}function G(t,e){this.c=t,this.a=e}B.prototype.g=function(t){var e=this.a;e.g&&f(e.f,[e.a.c("wf",t.c,T(t).toString(),"active")],[e.a.c("wf",t.c,T(t).toString(),"loading"),e.a.c("wf",t.c,T(t).toString(),"inactive")]),O(e,"fontactive",t),this.m=!0,X(this)},B.prototype.h=function(t){var e=this.a;if(e.g){var r=d(e.f,e.a.c("wf",t.c,T(t).toString(),"active")),i=[],n=[e.a.c("wf",t.c,T(t).toString(),"loading")];r||i.push(e.a.c("wf",t.c,T(t).toString(),"inactive")),f(e.f,i,n)}O(e,"fontinactive",t),X(this)},W.prototype.load=function(t){this.c=new function(t,e){this.a=t,this.o=e||t,this.c=this.o.document}(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,function(t,e,r){var i=[],n=r.timeout;!function(t){t.g&&f(t.f,[t.a.c("wf","loading")]),O(t,"loading")}(e);var i=function(t,e,r){var i,n=[];for(i in e)if(e.hasOwnProperty(i)){var o=t.c[i];o&&n.push(o(e[i],r))}return n}(t.a,r,t.c),o=new B(t.c,e,n);for(t.h=i.length,e=0,r=i.length;e<r;e++)i[e].load(function(e,r,i){H(t,o,e,r,i)})}(this,new function(t,e){this.c=t,this.f=t.o.document.documentElement,this.h=e,this.a=new b("-"),this.j=!1!==e.events,this.g=!1!==e.classes}(this.c,t),t)},z.prototype.load=function(t){var e=this,r=e.a.projectId,i=e.a.version;if(r){var n=e.c.o;v(this.c,(e.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(i?"?v="+i:""),function(i){i?t([]):(n["__MonotypeConfiguration__"+r]=function(){return e.a},function e(){if(n["__mti_fntLst"+r]){var i,o=n["__mti_fntLst"+r](),s=[];if(o)for(var a=0;a<o.length;a++){var u=o[a].fontfamily;void 0!=o[a].fontStyle&&void 0!=o[a].fontWeight?(i=o[a].fontStyle+o[a].fontWeight,s.push(new x(u,i))):s.push(new x(u))}t(s)}else setTimeout(function(){e()},50)}())}).id="__MonotypeAPIScript__"+r}else t([])},G.prototype.load=function(t){var e,r,i=this.a.urls||[],n=this.a.families||[],o=this.a.testStrings||{},s=new y;for(e=0,r=i.length;e<r;e++)p(this.c,i[e],m(s));var a=[];for(e=0,r=n.length;e<r;e++)if((i=n[e].split(":"))[1])for(var u=i[1].split(","),l=0;l<u.length;l+=1)a.push(new x(i[0],u[l]));else a.push(new x(i[0]));g(s,function(){t(a,o)})};var Y="https://fonts.googleapis.com/css";var V={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},q={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Q={i:"i",italic:"i",n:"n",normal:"n"},Z=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function K(t,e){this.c=t,this.a=e}var J={Arimo:!0,Cousine:!0,Tinos:!0};function $(t,e){this.c=t,this.a=e}function tt(t,e){this.c=t,this.f=e,this.a=[]}K.prototype.load=function(t){var e=new y,r=this.c,i=new function(t,e){this.c=t||Y,this.a=[],this.f=[],this.g=e||""}(this.a.api,this.a.text),n=this.a.families;!function(t,e){for(var r=e.length,i=0;i<r;i++){var n=e[i].split(":");3==n.length&&t.f.push(n.pop());var o="";2==n.length&&""!=n[1]&&(o=":"),t.a.push(n.join(o))}}(i,n);var o=new function(t){this.f=t,this.a=[],this.c={}}(n);!function(t){for(var e=t.f.length,r=0;r<e;r++){var i=t.f[r].split(":"),n=i[0].replace(/\+/g," "),o=["n4"];if(2<=i.length){var s;if(s=[],a=i[1])for(var a,u=(a=a.split(",")).length,l=0;l<u;l++){var h;if((h=a[l]).match(/^[\w-]+$/))if(null==(f=Z.exec(h.toLowerCase())))h="";else{if(h=null==(h=f[2])||""==h?"n":Q[h],null==(f=f[1])||""==f)f="4";else var c=q[f],f=c||(isNaN(f)?"4":f.substr(0,1));h=[h,f].join("")}else h="";h&&s.push(h)}0<s.length&&(o=s),3==i.length&&(s=[],0<(i=(i=i[2])?i.split(","):s).length&&(i=V[i[0]])&&(t.c[n]=i))}for(t.c[n]||(i=V[n])&&(t.c[n]=i),i=0;i<o.length;i+=1)t.a.push(new x(n,o[i]))}}(o),p(r,function(t){if(0==t.a.length)throw Error("No fonts to load!");if(-1!=t.c.indexOf("kit="))return t.c;for(var e=t.a.length,r=[],i=0;i<e;i++)r.push(t.a[i].replace(/ /g,"+"));return e=t.c+"?family="+r.join("%7C"),0<t.f.length&&(e+="&subset="+t.f.join(",")),0<t.g.length&&(e+="&text="+encodeURIComponent(t.g)),e}(i),m(e)),g(e,function(){t(o.a,o.c,J)})},$.prototype.load=function(t){var e=this.a.id,r=this.c.o;e?v(this.c,(this.a.api||"https://use.typekit.net")+"/"+e+".js",function(e){if(e)t([]);else if(r.Typekit&&r.Typekit.config&&r.Typekit.config.fn){e=r.Typekit.config.fn;for(var i=[],n=0;n<e.length;n+=2)for(var o=e[n],s=e[n+1],a=0;a<s.length;a++)i.push(new x(o,s[a]));try{r.Typekit.load({events:!1,classes:!1,async:!0})}catch(t){}t(i)}},2e3):t([])},tt.prototype.load=function(t){var e=this.f.id,r=this.c.o,i=this;e?(r.__webfontfontdeckmodule__||(r.__webfontfontdeckmodule__={}),r.__webfontfontdeckmodule__[e]=function(e,r){for(var n=0,o=r.fonts.length;n<o;++n){var s=r.fonts[n];i.a.push(new x(s.name,E("font-weight:"+s.weight+";font-style:"+s.style)))}t(i.a)},v(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(t){return t.o.location.hostname||t.a.location.hostname}(this.c)+"/"+e+".js",function(e){e&&t([])})):t([])};var et=new W(window);et.a.c.custom=function(t,e){return new G(e,t)},et.a.c.fontdeck=function(t,e){return new tt(e,t)},et.a.c.monotype=function(t,e){return new z(e,t)},et.a.c.typekit=function(t,e){return new $(e,t)},et.a.c.google=function(t,e){return new K(e,t)};var rt={load:s(et.load,et)};void 0===(i=function(){return rt}.call(e,r,e,t))||(t.exports=i)}()},function(t,e,r){"use strict";r(494),r(496),r(497),r(498),window.ArrayBuffer||(window.ArrayBuffer=Array),window.Float32Array||(window.Float32Array=Array),window.Uint32Array||(window.Uint32Array=Array),window.Uint16Array||(window.Uint16Array=Array)},function(t,e,r){"use strict";var i,n=r(495),o=(i=n)&&i.__esModule?i:{default:i};Object.assign||(Object.assign=o.default)},function(t,e,r){"use strict";var i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,s,a=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),u=1;u<arguments.length;u++){for(var l in r=Object(arguments[u]))n.call(r,l)&&(a[l]=r[l]);if(i){s=i(r);for(var h=0;h<s.length;h++)o.call(r,s[h])&&(a[s[h]]=r[s[h]])}}return a}},function(t,e,r){"use strict";(function(t){if(Date.now&&Date.prototype.getTime||(Date.now=function(){return(new Date).getTime()}),!t.performance||!t.performance.now){var e=Date.now();t.performance||(t.performance={}),t.performance.now=function(){return Date.now()-e}}for(var r=Date.now(),i=["ms","moz","webkit","o"],n=0;n<i.length&&!t.requestAnimationFrame;++n){var o=i[n];t.requestAnimationFrame=t[o+"RequestAnimationFrame"],t.cancelAnimationFrame=t[o+"CancelAnimationFrame"]||t[o+"CancelRequestAnimationFrame"]}t.requestAnimationFrame||(t.requestAnimationFrame=function(t){if("function"!=typeof t)throw new TypeError(t+"is not a function");var e=Date.now(),i=16+r-e;return i<0&&(i=0),r=e,setTimeout(function(){r=Date.now(),t(performance.now())},i)}),t.cancelAnimationFrame||(t.cancelAnimationFrame=function(t){return clearTimeout(t)})}).call(this,r(42))},function(t,e,r){"use strict";Math.sign||(Math.sign=function(t){return 0===(t=Number(t))||isNaN(t)?t:t>0?1:-1})},function(t,e,r){"use strict";Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t})},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(128),o=(i=n)&&i.__esModule?i:{default:i},s=r(3);var a=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=e,this.y=r,this.radius=i,this.type=s.SHAPES.CIRC}return t.prototype.clone=function(){return new t(this.x,this.y,this.radius)},t.prototype.contains=function(t,e){if(this.radius<=0)return!1;var r=this.radius*this.radius,i=this.x-t,n=this.y-e;return(i*=i)+(n*=n)<=r},t.prototype.getBounds=function(){return new o.default(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)},t}();e.default=a},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(128),o=(i=n)&&i.__esModule?i:{default:i},s=r(3);var a=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=e,this.y=r,this.width=i,this.height=n,this.type=s.SHAPES.ELIP}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;var r=(t-this.x)/this.width,i=(e-this.y)/this.height;return(r*=r)+(i*=i)<=1},t.prototype.getBounds=function(){return new o.default(this.x-this.width,this.y-this.height,this.width,this.height)},t}();e.default=a},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(126),o=(i=n)&&i.__esModule?i:{default:i},s=r(3);var a=function(){function t(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Array.isArray(r[0])&&(r=r[0]),r[0]instanceof o.default){for(var n=[],a=0,u=r.length;a<u;a++)n.push(r[a].x,r[a].y);r=n}this.closed=!0,this.points=r,this.type=s.SHAPES.POLY}return t.prototype.clone=function(){return new t(this.points.slice())},t.prototype.close=function(){var t=this.points;t[0]===t[t.length-2]&&t[1]===t[t.length-1]||t.push(t[0],t[1])},t.prototype.contains=function(t,e){for(var r=!1,i=this.points.length/2,n=0,o=i-1;n<i;o=n++){var s=this.points[2*n],a=this.points[2*n+1],u=this.points[2*o],l=this.points[2*o+1];a>e!=l>e&&t<(e-a)/(l-a)*(u-s)+s&&(r=!r)}return r},t}();e.default=a},function(t,e,r){"use strict";e.__esModule=!0;var i=r(3);var n=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:20;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=e,this.y=r,this.width=n,this.height=o,this.radius=s,this.type=i.SHAPES.RREC}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height,this.radius)},t.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 r=t-(this.x+this.radius),i=e-(this.y+this.radius),n=this.radius*this.radius;if(r*r+i*i<=n)return!0;if((r=t-(this.x+this.width-this.radius))*r+i*i<=n)return!0;if(r*r+(i=e-(this.y+this.height-this.radius))*i<=n)return!0;if((r=t-(this.x+this.radius))*r+i*i<=n)return!0}return!1},t}();e.default=n},function(t,e,r){"use strict";t.exports=function(t,e){var r=t.getContext("webgl",e)||t.getContext("experimental-webgl",e);if(!r)throw new Error("This browser does not support webGL. Try using the canvas renderer");return r}},function(t,e,r){"use strict";var i=new ArrayBuffer(0),n=function(t,e,r,n){this.gl=t,this.buffer=t.createBuffer(),this.type=e||t.ARRAY_BUFFER,this.drawType=n||t.STATIC_DRAW,this.data=i,r&&this.upload(r),this._updateID=0};n.prototype.upload=function(t,e,r){r||this.bind();var i=this.gl;t=t||this.data,e=e||0,this.data.byteLength>=t.byteLength?i.bufferSubData(this.type,e,t):i.bufferData(this.type,t,this.drawType),this.data=t},n.prototype.bind=function(){this.gl.bindBuffer(this.type,this.buffer)},n.createVertexBuffer=function(t,e,r){return new n(t,t.ARRAY_BUFFER,e,r)},n.createIndexBuffer=function(t,e,r){return new n(t,t.ELEMENT_ARRAY_BUFFER,e,r)},n.create=function(t,e,r,i){return new n(t,e,r,i)},n.prototype.destroy=function(){this.gl.deleteBuffer(this.buffer)},t.exports=n},function(t,e,r){"use strict";var i=r(207),n=function(t,e,r){this.gl=t,this.framebuffer=t.createFramebuffer(),this.stencil=null,this.texture=null,this.width=e||100,this.height=r||100};n.prototype.enableTexture=function(t){var e=this.gl;this.texture=t||new i(e),this.texture.bind(),this.bind(),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture.texture,0)},n.prototype.enableStencil=function(){if(!this.stencil){var t=this.gl;this.stencil=t.createRenderbuffer(),t.bindRenderbuffer(t.RENDERBUFFER,this.stencil),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.RENDERBUFFER,this.stencil),t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_STENCIL,this.width,this.height)}},n.prototype.clear=function(t,e,r,i){this.bind();var n=this.gl;n.clearColor(t,e,r,i),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT)},n.prototype.bind=function(){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,this.framebuffer)},n.prototype.unbind=function(){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,null)},n.prototype.resize=function(t,e){var r=this.gl;this.width=t,this.height=e,this.texture&&this.texture.uploadData(null,t,e),this.stencil&&(r.bindRenderbuffer(r.RENDERBUFFER,this.stencil),r.renderbufferStorage(r.RENDERBUFFER,r.DEPTH_STENCIL,t,e))},n.prototype.destroy=function(){var t=this.gl;this.texture&&this.texture.destroy(),t.deleteFramebuffer(this.framebuffer),this.gl=null,this.stencil=null,this.texture=null},n.createRGBA=function(t,e,r,o){var s=i.fromData(t,null,e,r);s.enableNearestScaling(),s.enableWrapClamp();var a=new n(t,e,r);return a.enableTexture(s),a.unbind(),a},n.createFloat32=function(t,e,r,o){var s=new i.fromData(t,o,e,r);s.enableNearestScaling(),s.enableWrapClamp();var a=new n(t,e,r);return a.enableTexture(s),a.unbind(),a},t.exports=n},function(t,e,r){"use strict";var i=r(208),n=r(209),o=r(211),s=r(213),a=r(214),u=function(t,e,r,u,l){this.gl=t,u&&(e=s(e,u),r=s(r,u)),this.program=i(t,e,r,l),this.attributes=n(t,this.program),this.uniformData=o(t,this.program),this.uniforms=a(t,this.uniformData)};u.prototype.bind=function(){return this.gl.useProgram(this.program),this},u.prototype.destroy=function(){this.attributes=null,this.uniformData=null,this.uniforms=null,this.gl.deleteProgram(this.program)},t.exports=u},function(t,e,r){"use strict";var i=r(206);function n(t,e){if(this.nativeVaoExtension=null,n.FORCE_NATIVE||(this.nativeVaoExtension=t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object")),this.nativeState=e,this.nativeVaoExtension){this.nativeVao=this.nativeVaoExtension.createVertexArrayOES();var r=t.getParameter(t.MAX_VERTEX_ATTRIBS);this.nativeState={tempAttribState:new Array(r),attribState:new Array(r)}}this.gl=t,this.attributes=[],this.indexBuffer=null,this.dirty=!1}n.prototype.constructor=n,t.exports=n,n.FORCE_NATIVE=!1,n.prototype.bind=function(){if(this.nativeVao){if(this.nativeVaoExtension.bindVertexArrayOES(this.nativeVao),this.dirty)return this.dirty=!1,this.activate(),this;this.indexBuffer&&this.indexBuffer.bind()}else this.activate();return this},n.prototype.unbind=function(){return this.nativeVao&&this.nativeVaoExtension.bindVertexArrayOES(null),this},n.prototype.activate=function(){for(var t=this.gl,e=null,r=0;r<this.attributes.length;r++){var n=this.attributes[r];e!==n.buffer&&(n.buffer.bind(),e=n.buffer),t.vertexAttribPointer(n.attribute.location,n.attribute.size,n.type||t.FLOAT,n.normalized||!1,n.stride||0,n.start||0)}return i(t,this.attributes,this.nativeState),this.indexBuffer&&this.indexBuffer.bind(),this},n.prototype.addAttribute=function(t,e,r,i,n,o){return this.attributes.push({buffer:t,attribute:e,location:e.location,type:r||this.gl.FLOAT,normalized:i||!1,stride:n||0,start:o||0}),this.dirty=!0,this},n.prototype.addIndex=function(t){return this.indexBuffer=t,this.dirty=!0,this},n.prototype.clear=function(){return this.nativeVao&&this.nativeVaoExtension.bindVertexArrayOES(this.nativeVao),this.attributes.length=0,this.indexBuffer=null,this},n.prototype.draw=function(t,e,r){var i=this.gl;return this.indexBuffer?i.drawElements(t,e||this.indexBuffer.data.length,i.UNSIGNED_SHORT,2*(r||0)):i.drawArrays(t,r,e||this.getSize()),this},n.prototype.destroy=function(){this.gl=null,this.indexBuffer=null,this.attributes=null,this.nativeState=null,this.nativeVao&&this.nativeVaoExtension.deleteVertexArrayOES(this.nativeVao),this.nativeVaoExtension=null,this.nativeVao=null},n.prototype.getSize=function(){var t=this.attributes[0];return t.buffer.data.length/(t.stride/4||t.attribute.size)}},function(t,e,r){"use strict";t.exports={compileProgram:r(208),defaultValue:r(212),extractAttributes:r(209),extractUniforms:r(211),generateUniformAccessObject:r(214),setPrecision:r(213),mapSize:r(210),mapType:r(129)}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){if(o.default.tablet||o.default.phone)return 4;return t};var i,n=r(131),o=(i=n)&&i.__esModule?i:{default:i}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(){return!(navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform))}},function(t,e,r){"use strict";e.__esModule=!0,e.default={mixin:function(t){!function(t){t.__plugins={},t.registerPlugin=function(e,r){t.__plugins[e]=r},t.prototype.initPlugins=function(){for(var e in this.plugins=this.plugins||{},t.__plugins)this.plugins[e]=new t.__plugins[e](this)},t.prototype.destroyPlugins=function(){for(var t in this.plugins)this.plugins[t].destroy(),this.plugins[t]=null;this.plugins=null}}(t)}}},function(t,e,r){"use strict";function i(t,e){if(t&&e)for(var r=Object.keys(e),i=0;i<r.length;++i){var n=r[i];Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}}e.__esModule=!0,e.mixin=i,e.delayMixin=function(t,e){n.push(t,e)},e.performMixins=function(){for(var t=0;t<n.length;t+=2)i(n[t],n[t+1]);n.length=0};var n=[]},function(t,e,r){"use strict";t.exports=function(t,e,r){var i,n=t.length;if(!(e>=n||0===r)){var o=n-(r=e+r>n?n-e:r);for(i=e;i<o;++i)t[i]=t[i+r];t.length=o}}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(){for(var t=[],e=[],r=0;r<32;r++)t[r]=r,e[r]=r;t[i.BLEND_MODES.NORMAL_NPM]=i.BLEND_MODES.NORMAL,t[i.BLEND_MODES.ADD_NPM]=i.BLEND_MODES.ADD,t[i.BLEND_MODES.SCREEN_NPM]=i.BLEND_MODES.SCREEN,e[i.BLEND_MODES.NORMAL]=i.BLEND_MODES.NORMAL_NPM,e[i.BLEND_MODES.ADD]=i.BLEND_MODES.ADD_NPM,e[i.BLEND_MODES.SCREEN]=i.BLEND_MODES.SCREEN_NPM;var n=[];return n.push(e),n.push(t),n};var i=r(3)},function(t,e,r){"use strict";(function(t,i){var n,o="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};!function(s){var a="object"==o(e)&&e&&!e.nodeType&&e,u="object"==o(t)&&t&&!t.nodeType&&t,l="object"==(void 0===i?"undefined":o(i))&&i;l.global!==l&&l.window!==l&&l.self!==l||(s=l);var h,c,f=2147483647,d=36,p=1,v=26,y=38,m=700,g=72,_=128,b="-",x=/^xn--/,w=/[^\x20-\x7E]/,T=/[\x2E\u3002\uFF0E\uFF61]/g,S={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=d-p,P=Math.floor,O=String.fromCharCode;function M(t){throw new RangeError(S[t])}function A(t,e){for(var r=t.length,i=[];r--;)i[r]=e(t[r]);return i}function C(t,e){var r=t.split("@"),i="";return r.length>1&&(i=r[0]+"@",t=r[1]),i+A((t=t.replace(T,".")).split("."),e).join(".")}function R(t){for(var e,r,i=[],n=0,o=t.length;n<o;)(e=t.charCodeAt(n++))>=55296&&e<=56319&&n<o?56320==(64512&(r=t.charCodeAt(n++)))?i.push(((1023&e)<<10)+(1023&r)+65536):(i.push(e),n--):i.push(e);return i}function D(t){return A(t,function(t){var e="";return t>65535&&(e+=O((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=O(t)}).join("")}function I(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function k(t,e,r){var i=0;for(t=r?P(t/m):t>>1,t+=P(t/e);t>E*v>>1;i+=d)t=P(t/E);return P(i+(E+1)*t/(t+y))}function L(t){var e,r,i,n,o,s,a,u,l,h,c,y=[],m=t.length,x=0,w=_,T=g;for((r=t.lastIndexOf(b))<0&&(r=0),i=0;i<r;++i)t.charCodeAt(i)>=128&&M("not-basic"),y.push(t.charCodeAt(i));for(n=r>0?r+1:0;n<m;){for(o=x,s=1,a=d;n>=m&&M("invalid-input"),((u=(c=t.charCodeAt(n++))-48<10?c-22:c-65<26?c-65:c-97<26?c-97:d)>=d||u>P((f-x)/s))&&M("overflow"),x+=u*s,!(u<(l=a<=T?p:a>=T+v?v:a-T));a+=d)s>P(f/(h=d-l))&&M("overflow"),s*=h;T=k(x-o,e=y.length+1,0==o),P(x/e)>f-w&&M("overflow"),w+=P(x/e),x%=e,y.splice(x++,0,w)}return D(y)}function F(t){var e,r,i,n,o,s,a,u,l,h,c,y,m,x,w,T=[];for(y=(t=R(t)).length,e=_,r=0,o=g,s=0;s<y;++s)(c=t[s])<128&&T.push(O(c));for(i=n=T.length,n&&T.push(b);i<y;){for(a=f,s=0;s<y;++s)(c=t[s])>=e&&c<a&&(a=c);for(a-e>P((f-r)/(m=i+1))&&M("overflow"),r+=(a-e)*m,e=a,s=0;s<y;++s)if((c=t[s])<e&&++r>f&&M("overflow"),c==e){for(u=r,l=d;!(u<(h=l<=o?p:l>=o+v?v:l-o));l+=d)w=u-h,x=d-h,T.push(O(I(h+w%x,0))),u=P(w/x);T.push(O(I(u,0))),o=k(r,m,i==n),r=0,++i}++r,++e}return T.join("")}if(h={version:"1.4.1",ucs2:{decode:R,encode:D},decode:L,encode:F,toASCII:function(t){return C(t,function(t){return w.test(t)?"xn--"+F(t):t})},toUnicode:function(t){return C(t,function(t){return x.test(t)?L(t.slice(4).toLowerCase()):t})}},"object"==o(r(220))&&r(220))void 0===(n=function(){return h}.call(e,r,e,t))||(t.exports=n);else if(a&&u)if(t.exports==a)u.exports=h;else for(c in h)h.hasOwnProperty(c)&&(a[c]=h[c]);else s.punycode=h}(void 0)}).call(this,r(191)(t),r(42))},function(t,e,r){"use strict";var i="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.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"===(void 0===t?"undefined":i(t))&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,r){"use strict";e.decode=e.parse=r(518),e.encode=e.stringify=r(519)},function(t,e,r){"use strict";function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,r,o){e=e||"&",r=r||"=";var s={};if("string"!=typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=t.length;u>0&&l>u&&(l=u);for(var h=0;h<l;++h){var c,f,d,p,v=t[h].replace(a,"%20"),y=v.indexOf(r);y>=0?(c=v.substr(0,y),f=v.substr(y+1)):(c=v,f=""),d=decodeURIComponent(c),p=decodeURIComponent(f),i(s,d)?n(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,r){"use strict";var i="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},n=function(t){switch(void 0===t?"undefined":i(t)){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,u){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"===(void 0===t?"undefined":i(t))?s(a(t),function(i){var a=encodeURIComponent(n(i))+r;return o(t[i])?s(t[i],function(t){return a+encodeURIComponent(n(t))}).join(e):a+encodeURIComponent(n(t[i]))}).join(e):u?encodeURIComponent(n(u))+r+encodeURIComponent(n(t)):""};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function s(t,e){if(t.map)return t.map(e);for(var r=[],i=0;i<t.length;i++)r.push(e(t[i],i));return r}var a=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=a(r(13)),o=r(3),s=a(r(521));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._head=new s.default(null,null,1/0),this._requestId=null,this._maxElapsedMS=100,this.autoStart=!1,this.deltaTime=1,this.elapsedMS=1/n.default.TARGET_FPMS,this.lastTime=-1,this.speed=1,this.started=!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)))}}return t.prototype._requestIfNeeded=function(){null===this._requestId&&this._head.next&&(this.lastTime=performance.now(),this._requestId=requestAnimationFrame(this._tick))},t.prototype._cancelIfNeeded=function(){null!==this._requestId&&(cancelAnimationFrame(this._requestId),this._requestId=null)},t.prototype._startIfPossible=function(){this.started?this._requestIfNeeded():this.autoStart&&this.start()},t.prototype.add=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.UPDATE_PRIORITY.NORMAL;return this._addListener(new s.default(t,e,r))},t.prototype.addOnce=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.UPDATE_PRIORITY.NORMAL;return this._addListener(new s.default(t,e,r,!0))},t.prototype._addListener=function(t){var e=this._head.next,r=this._head;if(e){for(;e;){if(t.priority>e.priority){t.connect(r);break}r=e,e=e.next}t.previous||t.connect(r)}else t.connect(r);return this._startIfPossible(),this},t.prototype.remove=function(t,e){for(var r=this._head.next;r;)r=r.match(t,e)?r.destroy():r.next;return this._head.next||this._cancelIfNeeded(),this},t.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},t.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},t.prototype.destroy=function(){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null},t.prototype.update=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now(),e=void 0;if(t>this.lastTime){(e=this.elapsedMS=t-this.lastTime)>this._maxElapsedMS&&(e=this._maxElapsedMS),this.deltaTime=e*n.default.TARGET_FPMS*this.speed;for(var r=this._head,i=r.next;i;)i=i.emit(this.deltaTime);r.next||this._cancelIfNeeded()}else this.deltaTime=this.elapsedMS=0;this.lastTime=t},i(t,[{key:"FPS",get:function(){return 1e3/this.elapsedMS}},{key:"minFPS",get:function(){return 1e3/this._maxElapsedMS},set:function(t){var e=Math.min(Math.max(0,t)/1e3,n.default.TARGET_FPMS);this._maxElapsedMS=1/e}}]),t}();e.default=u},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.fn=e,this.context=r,this.priority=i,this.once=n,this.next=null,this.previous=null,this._destroyed=!1}return t.prototype.match=function(t,e){return e=e||null,this.fn===t&&this.context===e},t.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},t.prototype.connect=function(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this},t.prototype.destroy=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];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},t}();e.default=i},function(t,e,r){"use strict";e.__esModule=!0;var i=a(r(65)),n=r(3),o=r(14),s=a(r(90));function a(t){return t&&t.__esModule?t:{default:t}}var u=new o.Matrix,l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e}return t.prototype.render=function(t){var e=t._texture,r=this.renderer,i=e._frame.width,a=e._frame.height,l=t.transform.worldTransform,h=0,c=0;if(!(e.orig.width<=0||e.orig.height<=0)&&e.baseTexture.source&&(r.setBlendMode(t.blendMode),e.valid)){r.context.globalAlpha=t.worldAlpha;var f=e.baseTexture.scaleMode===n.SCALE_MODES.LINEAR;r.smoothProperty&&r.context[r.smoothProperty]!==f&&(r.context[r.smoothProperty]=f),e.trim?(h=e.trim.width/2+e.trim.x-t.anchor.x*e.orig.width,c=e.trim.height/2+e.trim.y-t.anchor.y*e.orig.height):(h=(.5-t.anchor.x)*e.orig.width,c=(.5-t.anchor.y)*e.orig.height),e.rotate&&(l.copy(u),l=u,o.GroupD8.matrixAppendRotationInv(l,e.rotate,h,c),h=0,c=0),h-=i/2,c-=a/2,r.roundPixels?(r.context.setTransform(l.a,l.b,l.c,l.d,l.tx*r.resolution|0,l.ty*r.resolution|0),h|=0,c|=0):r.context.setTransform(l.a,l.b,l.c,l.d,l.tx*r.resolution,l.ty*r.resolution);var d=e.baseTexture.resolution;16777215!==t.tint?(t.cachedTint===t.tint&&t.tintedTexture.tintId===t._texture._updateID||(t.cachedTint=t.tint,t.tintedTexture=s.default.getTintedTexture(t,t.tint)),r.context.drawImage(t.tintedTexture,0,0,i*d,a*d,h*r.resolution,c*r.resolution,i*r.resolution,a*r.resolution)):r.context.drawImage(e.baseTexture.source,e._frame.x*d,e._frame.y*d,i*d,a*d,h*r.resolution,c*r.resolution,i*r.resolution,a*r.resolution)}},t.prototype.destroy=function(){this.renderer=null},t}();e.default=l,i.default.registerPlugin("sprite",l)},function(t,e,r){"use strict";e.__esModule=!0;var i=r(3);var n=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e}return t.prototype.pushMask=function(t){var e=this.renderer;e.context.save();var r=t.alpha,i=t.transform.worldTransform,n=e.resolution;e.context.setTransform(i.a*n,i.b*n,i.c*n,i.d*n,i.tx*n,i.ty*n),t._texture||(this.renderGraphicsShape(t),e.context.clip()),t.worldAlpha=r},t.prototype.renderGraphicsShape=function(t){var e=this.renderer.context,r=t.graphicsData.length;if(0!==r){e.beginPath();for(var n=0;n<r;n++){var o=t.graphicsData[n],s=o.shape;if(o.type===i.SHAPES.POLY){var a=s.points,u=o.holes,l=void 0,h=void 0;e.moveTo(a[0],a[1]);for(var c=2;c<a.length;c+=2)e.lineTo(a[c],a[c+1]);if(a[0]===a[a.length-2]&&a[1]===a[a.length-1]&&e.closePath(),u.length>0){l=0;for(var f=0;f<a.length;f+=2)l+=a[f]*a[f+3]-a[f+1]*a[f+2];for(var d=0;d<u.length;d++){a=u[d].points,h=0;for(var p=0;p<a.length;p+=2)h+=a[p]*a[p+3]-a[p+1]*a[p+2];if(e.moveTo(a[0],a[1]),h*l<0)for(var v=2;v<a.length;v+=2)e.lineTo(a[v],a[v+1]);else for(var y=a.length-2;y>=2;y-=2)e.lineTo(a[y],a[y+1])}}}else if(o.type===i.SHAPES.RECT)e.rect(s.x,s.y,s.width,s.height),e.closePath();else if(o.type===i.SHAPES.CIRC)e.arc(s.x,s.y,s.radius,0,2*Math.PI),e.closePath();else if(o.type===i.SHAPES.ELIP){var m=2*s.width,g=2*s.height,_=s.x-m/2,b=s.y-g/2,x=m/2*.5522848,w=g/2*.5522848,T=_+m,S=b+g,E=_+m/2,P=b+g/2;e.moveTo(_,P),e.bezierCurveTo(_,P-w,E-x,b,E,b),e.bezierCurveTo(E+x,b,T,P-w,T,P),e.bezierCurveTo(T,P+w,E+x,S,E,S),e.bezierCurveTo(E-x,S,_,P+w,_,P),e.closePath()}else if(o.type===i.SHAPES.RREC){var O=s.x,M=s.y,A=s.width,C=s.height,R=s.radius,D=Math.min(A,C)/2|0;R=R>D?D:R,e.moveTo(O,M+R),e.lineTo(O,M+C-R),e.quadraticCurveTo(O,M+C,O+R,M+C),e.lineTo(O+A-R,M+C),e.quadraticCurveTo(O+A,M+C,O+A,M+C-R),e.lineTo(O+A,M+R),e.quadraticCurveTo(O+A,M,O+A-R,M),e.lineTo(O+R,M),e.quadraticCurveTo(O,M,O,M+R),e.closePath()}}}},t.prototype.popMask=function(t){t.context.restore(),t.invalidateBlendMode()},t.prototype.destroy=function(){},t}();e.default=n},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,s.default)()?(t[n.BLEND_MODES.NORMAL]="source-over",t[n.BLEND_MODES.ADD]="lighter",t[n.BLEND_MODES.MULTIPLY]="multiply",t[n.BLEND_MODES.SCREEN]="screen",t[n.BLEND_MODES.OVERLAY]="overlay",t[n.BLEND_MODES.DARKEN]="darken",t[n.BLEND_MODES.LIGHTEN]="lighten",t[n.BLEND_MODES.COLOR_DODGE]="color-dodge",t[n.BLEND_MODES.COLOR_BURN]="color-burn",t[n.BLEND_MODES.HARD_LIGHT]="hard-light",t[n.BLEND_MODES.SOFT_LIGHT]="soft-light",t[n.BLEND_MODES.DIFFERENCE]="difference",t[n.BLEND_MODES.EXCLUSION]="exclusion",t[n.BLEND_MODES.HUE]="hue",t[n.BLEND_MODES.SATURATION]="saturate",t[n.BLEND_MODES.COLOR]="color",t[n.BLEND_MODES.LUMINOSITY]="luminosity"):(t[n.BLEND_MODES.NORMAL]="source-over",t[n.BLEND_MODES.ADD]="lighter",t[n.BLEND_MODES.MULTIPLY]="source-over",t[n.BLEND_MODES.SCREEN]="source-over",t[n.BLEND_MODES.OVERLAY]="source-over",t[n.BLEND_MODES.DARKEN]="source-over",t[n.BLEND_MODES.LIGHTEN]="source-over",t[n.BLEND_MODES.COLOR_DODGE]="source-over",t[n.BLEND_MODES.COLOR_BURN]="source-over",t[n.BLEND_MODES.HARD_LIGHT]="source-over",t[n.BLEND_MODES.SOFT_LIGHT]="source-over",t[n.BLEND_MODES.DIFFERENCE]="source-over",t[n.BLEND_MODES.EXCLUSION]="source-over",t[n.BLEND_MODES.HUE]="source-over",t[n.BLEND_MODES.SATURATION]="source-over",t[n.BLEND_MODES.COLOR]="source-over",t[n.BLEND_MODES.LUMINOSITY]="source-over");return t[n.BLEND_MODES.NORMAL_NPM]=t[n.BLEND_MODES.NORMAL],t[n.BLEND_MODES.ADD_NPM]=t[n.BLEND_MODES.ADD],t[n.BLEND_MODES.SCREEN_NPM]=t[n.BLEND_MODES.SCREEN],t};var i,n=r(3),o=r(226),s=(i=o)&&i.__esModule?i:{default:i}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=p(r(91)),o=p(r(92)),s=p(r(138)),a=p(r(538)),u=p(r(539)),l=p(r(540)),h=p(r(13)),c=r(7),f=p(r(25)),d=p(r(135));function p(t){return t&&t.__esModule?t:{default:t}}var v=0,y=0,m=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));n.vertSize=5,n.vertByteSize=4*n.vertSize,n.size=h.default.SPRITE_BATCH_SIZE,n.buffers=[];for(var o=1;o<=d.default.nextPow2(n.size);o*=2)n.buffers.push(new l.default(4*o*n.vertByteSize));n.indices=(0,s.default)(n.size),n.shader=null,n.currentIndex=0,n.groups=[];for(var a=0;a<n.size;a++)n.groups[a]={textures:[],textureCount:0,ids:[],size:0,start:0,blend:0};return n.sprites=[],n.vertexBuffers=[],n.vaos=[],n.vaoMax=2,n.vertexCount=0,n.renderer.on("prerender",n.onPrerender,n),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.onContextChange=function(){var t=this.renderer.gl;this.renderer.legacy?this.MAX_TEXTURES=1:(this.MAX_TEXTURES=Math.min(t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS),h.default.SPRITE_MAX_TEXTURES),this.MAX_TEXTURES=(0,u.default)(this.MAX_TEXTURES,t)),this.shader=(0,a.default)(t,this.MAX_TEXTURES),this.indexBuffer=f.default.GLBuffer.createIndexBuffer(t,this.indices,t.STATIC_DRAW),this.renderer.bindVao(null);for(var e=this.shader.attributes,r=0;r<this.vaoMax;r++){var i=this.vertexBuffers[r]=f.default.GLBuffer.createVertexBuffer(t,null,t.STREAM_DRAW),n=this.renderer.createVao().addIndex(this.indexBuffer).addAttribute(i,e.aVertexPosition,t.FLOAT,!1,this.vertByteSize,0).addAttribute(i,e.aTextureCoord,t.UNSIGNED_SHORT,!0,this.vertByteSize,8).addAttribute(i,e.aColor,t.UNSIGNED_BYTE,!0,this.vertByteSize,12);e.aTextureId&&n.addAttribute(i,e.aTextureId,t.FLOAT,!1,this.vertByteSize,16),this.vaos[r]=n}this.vao=this.vaos[0],this.currentBlendMode=99999,this.boundTextures=new Array(this.MAX_TEXTURES)},e.prototype.onPrerender=function(){this.vertexCount=0},e.prototype.render=function(t){this.currentIndex>=this.size&&this.flush(),t._texture._uvs&&(this.sprites[this.currentIndex++]=t)},e.prototype.flush=function(){if(0!==this.currentIndex){var t=this.renderer.gl,e=this.MAX_TEXTURES,r=d.default.nextPow2(this.currentIndex),i=d.default.log2(r),n=this.buffers[i],o=this.sprites,s=this.groups,a=n.float32View,u=n.uint32View,l=this.boundTextures,p=this.renderer.boundTextures,m=this.renderer.textureGC.count,g=0,_=void 0,b=void 0,x=1,w=0,T=s[0],S=void 0,E=void 0,P=c.premultiplyBlendMode[o[0]._texture.baseTexture.premultipliedAlpha?1:0][o[0].blendMode];T.textureCount=0,T.start=0,T.blend=P,v++;var O=void 0;for(O=0;O<e;++O){var M=p[O];M._enabled!==v?(l[O]=M,M._virtalBoundId=O,M._enabled=v):l[O]=this.renderer.emptyTextures[O]}for(v++,O=0;O<this.currentIndex;++O){var A=o[O];o[O]=null,_=A._texture.baseTexture;var C=c.premultiplyBlendMode[Number(_.premultipliedAlpha)][A.blendMode];if(P!==C&&(P=C,b=null,w=e,v++),b!==_&&(b=_,_._enabled!==v)){if(w===e&&(v++,T.size=O-T.start,w=0,(T=s[x++]).blend=P,T.textureCount=0,T.start=O),_.touched=m,-1===_._virtalBoundId)for(var R=0;R<e;++R){var D=(R+y)%e,I=l[D];if(I._enabled!==v){y++,I._virtalBoundId=-1,_._virtalBoundId=D,l[D]=_;break}}_._enabled=v,T.textureCount++,T.ids[w]=_._virtalBoundId,T.textures[w++]=_}if(S=A.vertexData,E=A._texture._uvs.uvsUint32,this.renderer.roundPixels){var k=this.renderer.resolution;a[g]=(S[0]*k|0)/k,a[g+1]=(S[1]*k|0)/k,a[g+5]=(S[2]*k|0)/k,a[g+6]=(S[3]*k|0)/k,a[g+10]=(S[4]*k|0)/k,a[g+11]=(S[5]*k|0)/k,a[g+15]=(S[6]*k|0)/k,a[g+16]=(S[7]*k|0)/k}else a[g]=S[0],a[g+1]=S[1],a[g+5]=S[2],a[g+6]=S[3],a[g+10]=S[4],a[g+11]=S[5],a[g+15]=S[6],a[g+16]=S[7];u[g+2]=E[0],u[g+7]=E[1],u[g+12]=E[2],u[g+17]=E[3];var L=Math.min(A.worldAlpha,1),F=L<1&&_.premultipliedAlpha?(0,c.premultiplyTint)(A._tintRGB,L):A._tintRGB+(255*L<<24);u[g+3]=u[g+8]=u[g+13]=u[g+18]=F,a[g+4]=a[g+9]=a[g+14]=a[g+19]=_._virtalBoundId,g+=20}if(T.size=O-T.start,h.default.CAN_UPLOAD_SAME_BUFFER)this.vertexBuffers[this.vertexCount].upload(n.vertices,0,!0);else{if(this.vaoMax<=this.vertexCount){this.vaoMax++;var N=this.shader.attributes,j=this.vertexBuffers[this.vertexCount]=f.default.GLBuffer.createVertexBuffer(t,null,t.STREAM_DRAW),B=this.renderer.createVao().addIndex(this.indexBuffer).addAttribute(j,N.aVertexPosition,t.FLOAT,!1,this.vertByteSize,0).addAttribute(j,N.aTextureCoord,t.UNSIGNED_SHORT,!0,this.vertByteSize,8).addAttribute(j,N.aColor,t.UNSIGNED_BYTE,!0,this.vertByteSize,12);N.aTextureId&&B.addAttribute(j,N.aTextureId,t.FLOAT,!1,this.vertByteSize,16),this.vaos[this.vertexCount]=B}this.renderer.bindVao(this.vaos[this.vertexCount]),this.vertexBuffers[this.vertexCount].upload(n.vertices,0,!1),this.vertexCount++}for(O=0;O<e;++O)p[O]._virtalBoundId=-1;for(O=0;O<x;++O){for(var U=s[O],X=U.textureCount,W=0;W<X;W++)b=U.textures[W],p[U.ids[W]]!==b&&this.renderer.bindTexture(b,U.ids[W],!0),b._virtalBoundId=-1;this.renderer.state.setBlendMode(U.blend),t.drawElements(t.TRIANGLES,6*U.size,t.UNSIGNED_SHORT,6*U.start*2)}this.currentIndex=0}},e.prototype.start=function(){this.renderer.bindShader(this.shader),h.default.CAN_UPLOAD_SAME_BUFFER&&(this.renderer.bindVao(this.vaos[this.vertexCount]),this.vertexBuffers[this.vertexCount].bind())},e.prototype.stop=function(){this.flush()},e.prototype.destroy=function(){for(var e=0;e<this.vaoMax;e++)this.vertexBuffers[e]&&this.vertexBuffers[e].destroy(),this.vaos[e]&&this.vaos[e].destroy();this.indexBuffer&&this.indexBuffer.destroy(),this.renderer.off("prerender",this.onPrerender,this),t.prototype.destroy.call(this),this.shader&&(this.shader.destroy(),this.shader=null),this.vertexBuffers=null,this.vaos=null,this.indexBuffer=null,this.indices=null,this.sprites=null;for(var r=0;r<this.buffers.length;++r)this.buffers[r].destroy()},e}(n.default);e.default=m,o.default.registerPlugin("sprite",m)},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=s(r(66)),o=s(r(227));function s(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.scissor=!1,n.scissorData=null,n.scissorRenderTarget=null,n.enableScissor=!0,n.alphaMaskPool=[],n.alphaMaskIndex=0,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.pushMask=function(t,e){if(e.texture)this.pushSpriteMask(t,e);else if(this.enableScissor&&!this.scissor&&this.renderer._activeRenderTarget.root&&!this.renderer.stencilManager.stencilMaskStack.length&&e.isFastRect()){var r=e.worldTransform,i=Math.atan2(r.b,r.a);(i=Math.round(i*(180/Math.PI)))%90?this.pushStencilMask(e):this.pushScissorMask(t,e)}else this.pushStencilMask(e)},e.prototype.popMask=function(t,e){e.texture?this.popSpriteMask(t,e):this.enableScissor&&!this.renderer.stencilManager.stencilMaskStack.length?this.popScissorMask(t,e):this.popStencilMask(t,e)},e.prototype.pushSpriteMask=function(t,e){var r=this.alphaMaskPool[this.alphaMaskIndex];r||(r=this.alphaMaskPool[this.alphaMaskIndex]=[new o.default(e)]),r[0].resolution=this.renderer.resolution,r[0].maskSprite=e;var i=t.filterArea;t.filterArea=e.getBounds(!0),this.renderer.filterManager.pushFilter(t,r),t.filterArea=i,this.alphaMaskIndex++},e.prototype.popSpriteMask=function(){this.renderer.filterManager.popFilter(),this.alphaMaskIndex--},e.prototype.pushStencilMask=function(t){this.renderer.currentRenderer.stop(),this.renderer.stencilManager.pushStencil(t)},e.prototype.popStencilMask=function(){this.renderer.currentRenderer.stop(),this.renderer.stencilManager.popStencil()},e.prototype.pushScissorMask=function(t,e){e.renderable=!0;var r=this.renderer._activeRenderTarget,i=e.getBounds();i.fit(r.size),e.renderable=!1,this.renderer.gl.enable(this.renderer.gl.SCISSOR_TEST);var n=this.renderer.resolution;this.renderer.gl.scissor(i.x*n,(r.root?r.size.height-i.y-i.height:i.y)*n,i.width*n,i.height*n),this.scissorRenderTarget=r,this.scissorData=e,this.scissor=!0},e.prototype.popScissorMask=function(){this.scissorRenderTarget=null,this.scissorData=null,this.scissor=!1;var t=this.renderer.gl;t.disable(t.SCISSOR_TEST)},e}(n.default);e.default=a},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e,r){var i=s(t),n=s(e);return Object.assign(i,n)};var i,n=r(25);var o=((i=n)&&i.__esModule?i:{default:i}).default.shader.defaultValue;function s(t){for(var e=new RegExp("^(projectionMatrix|uSampler|filterArea|filterClamp)$"),r={},i=void 0,n=t.replace(/\s+/g," ").split(/\s*;\s*/),s=0;s<n.length;s++){var a=n[s].trim();if(a.indexOf("uniform")>-1){var u=a.split(" "),l=u[1],h=u[2],c=1;h.indexOf("[")>-1&&(h=(i=h.split(/\[|]/))[0],c*=Number(i[1])),h.match(e)||(r[h]={value:o(l,c),name:h,type:l})}}return r}},function(t,e,r){"use strict";var i,n,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(i===setTimeout)return setTimeout(t,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(t){i=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var l,h=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?h=l.concat(h):f=-1,h.length&&p())}function p(){if(!c){var t=u(d);c=!0;for(var e=h.length;e;){for(l=h,h=[];++f<e;)l&&l[f].run();f=-1,e=h.length}l=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function v(t,e){this.fun=t,this.array=e}function y(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];h.push(new v(t,e)),1!==h.length||c||u(p)},v.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=r(66),s=(n=o)&&n.__esModule?n:{default:n};var a=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.stencilMaskStack=null,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.setMaskStack=function(t){this.stencilMaskStack=t;var e=this.renderer.gl;0===t.length?e.disable(e.STENCIL_TEST):e.enable(e.STENCIL_TEST)},e.prototype.pushStencil=function(t){this.renderer.setObjectRenderer(this.renderer.plugins.graphics),this.renderer._activeRenderTarget.attachStencilBuffer();var e=this.renderer.gl,r=this.stencilMaskStack.length;0===r&&e.enable(e.STENCIL_TEST),this.stencilMaskStack.push(t),e.colorMask(!1,!1,!1,!1),e.stencilFunc(e.EQUAL,r,this._getBitwiseMask()),e.stencilOp(e.KEEP,e.KEEP,e.INCR),this.renderer.plugins.graphics.render(t),this._useCurrent()},e.prototype.popStencil=function(){this.renderer.setObjectRenderer(this.renderer.plugins.graphics);var t=this.renderer.gl,e=this.stencilMaskStack.pop();0===this.stencilMaskStack.length?(t.disable(t.STENCIL_TEST),t.clear(t.STENCIL_BUFFER_BIT),t.clearStencil(0)):(t.colorMask(!1,!1,!1,!1),t.stencilOp(t.KEEP,t.KEEP,t.DECR),this.renderer.plugins.graphics.render(e),this._useCurrent())},e.prototype._useCurrent=function(){var t=this.renderer.gl;t.colorMask(!0,!0,!0,!0),t.stencilFunc(t.EQUAL,this.stencilMaskStack.length,this._getBitwiseMask()),t.stencilOp(t.KEEP,t.KEEP,t.KEEP)},e.prototype._getBitwiseMask=function(){return(1<<this.stencilMaskStack.length)-1},e.prototype.destroy=function(){s.default.prototype.destroy.call(this),this.stencilMaskStack.stencilStack=null},e}(s.default);e.default=a},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=c(r(66)),o=c(r(93)),s=c(r(230)),a=r(14),u=c(r(67)),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(531)),h=c(r(135));function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){f(this,t),this.renderTarget=null,this.target=null,this.resolution=1,this.sourceFrame=new a.Rectangle,this.destinationFrame=new a.Rectangle,this.filters=[]}return t.prototype.clear=function(){this.filters=null,this.target=null,this.renderTarget=null},t}(),p=function(t){function e(r){f(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.gl=n.renderer.gl,n.quad=new s.default(n.gl,r.state.attribState),n.shaderCache={},n.pool={},n.filterData=null,n.managedFilters=[],n.renderer.on("prerender",n.onPrerender,n),n._screenWidth=r.view.width,n._screenHeight=r.view.height,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.pushFilter=function(t,e){var r=this.renderer,i=this.filterData;if(!i){i=this.renderer._activeRenderTarget.filterStack;var n=new d;n.sourceFrame=n.destinationFrame=this.renderer._activeRenderTarget.size,n.renderTarget=r._activeRenderTarget,this.renderer._activeRenderTarget.filterData=i={index:0,stack:[n]},this.filterData=i}var o=i.stack[++i.index],s=i.stack[0].destinationFrame;o||(o=i.stack[i.index]=new d);var a=t.filterArea&&0===t.filterArea.x&&0===t.filterArea.y&&t.filterArea.width===r.screen.width&&t.filterArea.height===r.screen.height,u=e[0].resolution,l=0|e[0].padding,h=a?r.screen:t.filterArea||t.getBounds(!0),c=o.sourceFrame,f=o.destinationFrame;c.x=(h.x*u|0)/u,c.y=(h.y*u|0)/u,c.width=(h.width*u|0)/u,c.height=(h.height*u|0)/u,a||(i.stack[0].renderTarget.transform||e[0].autoFit&&c.fit(s),c.pad(l)),f.width=c.width,f.height=c.height;var p=this.getPotRenderTarget(r.gl,c.width,c.height,u);o.target=t,o.filters=e,o.resolution=u,o.renderTarget=p,p.setFrame(f,c),r.bindRenderTarget(p),p.clear()},e.prototype.popFilter=function(){var t=this.filterData,e=t.stack[t.index-1],r=t.stack[t.index];this.quad.map(r.renderTarget.size,r.sourceFrame).upload();var i=r.filters;if(1===i.length)i[0].apply(this,r.renderTarget,e.renderTarget,!1,r),this.freePotRenderTarget(r.renderTarget);else{var n=r.renderTarget,o=this.getPotRenderTarget(this.renderer.gl,r.sourceFrame.width,r.sourceFrame.height,r.resolution);o.setFrame(r.destinationFrame,r.sourceFrame),o.clear();var s=0;for(s=0;s<i.length-1;++s){i[s].apply(this,n,o,!0,r);var a=n;n=o,o=a}i[s].apply(this,n,e.renderTarget,!1,r),this.freePotRenderTarget(n),this.freePotRenderTarget(o)}r.clear(),t.index--,0===t.index&&(this.filterData=null)},e.prototype.applyFilter=function(t,e,r,i){var n=this.renderer,o=n.gl,s=t.glShaders[n.CONTEXT_UID];s||(t.glShaderKey?(s=this.shaderCache[t.glShaderKey])||(s=new u.default(this.gl,t.vertexSrc,t.fragmentSrc),t.glShaders[n.CONTEXT_UID]=this.shaderCache[t.glShaderKey]=s,this.managedFilters.push(t)):(s=t.glShaders[n.CONTEXT_UID]=new u.default(this.gl,t.vertexSrc,t.fragmentSrc),this.managedFilters.push(t)),n.bindVao(null),this.quad.initVao(s)),n.bindVao(this.quad.vao),n.bindRenderTarget(r),i&&(o.disable(o.SCISSOR_TEST),n.clear(),o.enable(o.SCISSOR_TEST)),r===n.maskManager.scissorRenderTarget&&n.maskManager.pushScissorMask(null,n.maskManager.scissorData),n.bindShader(s);var a=this.renderer.emptyTextures[0];this.renderer.boundTextures[0]=a,this.syncUniforms(s,t),n.state.setBlendMode(t.blendMode),o.activeTexture(o.TEXTURE0),o.bindTexture(o.TEXTURE_2D,e.texture.texture),this.quad.vao.draw(this.renderer.gl.TRIANGLES,6,0),o.bindTexture(o.TEXTURE_2D,a._glTextures[this.renderer.CONTEXT_UID].texture)},e.prototype.syncUniforms=function(t,e){var r=e.uniformData,i=e.uniforms,n=1,o=void 0;if(t.uniforms.filterArea){o=this.filterData.stack[this.filterData.index];var s=t.uniforms.filterArea;s[0]=o.renderTarget.size.width,s[1]=o.renderTarget.size.height,s[2]=o.sourceFrame.x,s[3]=o.sourceFrame.y,t.uniforms.filterArea=s}if(t.uniforms.filterClamp){o=o||this.filterData.stack[this.filterData.index];var a=t.uniforms.filterClamp;a[0]=0,a[1]=0,a[2]=(o.sourceFrame.width-1)/o.renderTarget.size.width,a[3]=(o.sourceFrame.height-1)/o.renderTarget.size.height,t.uniforms.filterClamp=a}for(var u in r)if(t.uniforms.data[u]){var l=r[u].type;if("sampler2d"===l&&0!==i[u]){if(i[u].baseTexture)t.uniforms[u]=this.renderer.bindTexture(i[u].baseTexture,n);else{t.uniforms[u]=n;var h=this.renderer.gl;this.renderer.boundTextures[n]=this.renderer.emptyTextures[n],h.activeTexture(h.TEXTURE0+n),i[u].texture.bind()}n++}else if("mat3"===l)void 0!==i[u].a?t.uniforms[u]=i[u].toArray(!0):t.uniforms[u]=i[u];else if("vec2"===l)if(void 0!==i[u].x){var c=t.uniforms[u]||new Float32Array(2);c[0]=i[u].x,c[1]=i[u].y,t.uniforms[u]=c}else t.uniforms[u]=i[u];else"float"===l?t.uniforms.data[u].value!==r[u]&&(t.uniforms[u]=i[u]):t.uniforms[u]=i[u]}},e.prototype.getRenderTarget=function(t,e){var r=this.filterData.stack[this.filterData.index],i=this.getPotRenderTarget(this.renderer.gl,r.sourceFrame.width,r.sourceFrame.height,e||r.resolution);return i.setFrame(r.destinationFrame,r.sourceFrame),i},e.prototype.returnRenderTarget=function(t){this.freePotRenderTarget(t)},e.prototype.calculateScreenSpaceMatrix=function(t){var e=this.filterData.stack[this.filterData.index];return l.calculateScreenSpaceMatrix(t,e.sourceFrame,e.renderTarget.size)},e.prototype.calculateNormalizedScreenSpaceMatrix=function(t){var e=this.filterData.stack[this.filterData.index];return l.calculateNormalizedScreenSpaceMatrix(t,e.sourceFrame,e.renderTarget.size,e.destinationFrame)},e.prototype.calculateSpriteMatrix=function(t,e){var r=this.filterData.stack[this.filterData.index];return l.calculateSpriteMatrix(t,r.sourceFrame,r.renderTarget.size,e)},e.prototype.destroy=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.renderer,r=this.managedFilters;e.off("prerender",this.onPrerender,this);for(var i=0;i<r.length;i++)t||r[i].glShaders[e.CONTEXT_UID].destroy(),delete r[i].glShaders[e.CONTEXT_UID];this.shaderCache={},t?this.pool={}:this.emptyPool()},e.prototype.getPotRenderTarget=function(t,e,r,i){var n="screen";r*=i,(e*=i)===this._screenWidth&&r===this._screenHeight||(n=(65535&(e=h.default.nextPow2(e)))<<16|65535&(r=h.default.nextPow2(r))),this.pool[n]||(this.pool[n]=[]);var s=this.pool[n].pop();if(!s){var a=this.renderer.boundTextures[0];t.activeTexture(t.TEXTURE0),s=new o.default(t,e,r,null,1),t.bindTexture(t.TEXTURE_2D,a._glTextures[this.renderer.CONTEXT_UID].texture)}return s.resolution=i,s.defaultFrame.width=s.size.width=e/i,s.defaultFrame.height=s.size.height=r/i,s.filterPoolKey=n,s},e.prototype.emptyPool=function(){for(var t in this.pool){var e=this.pool[t];if(e)for(var r=0;r<e.length;r++)e[r].destroy(!0)}this.pool={}},e.prototype.freePotRenderTarget=function(t){this.pool[t.filterPoolKey].push(t)},e.prototype.onPrerender=function(){if(this._screenWidth!==this.renderer.view.width||this._screenHeight!==this.renderer.view.height){this._screenWidth=this.renderer.view.width,this._screenHeight=this.renderer.view.height;var t=this.pool.screen;if(t)for(var e=0;e<t.length;e++)t[e].destroy(!0);this.pool.screen=[]}},e}(n.default);e.default=p},function(t,e,r){"use strict";e.__esModule=!0,e.calculateScreenSpaceMatrix=function(t,e,r){var i=t.identity();return i.translate(e.x/r.width,e.y/r.height),i.scale(r.width,r.height),i},e.calculateNormalizedScreenSpaceMatrix=function(t,e,r){var i=t.identity();i.translate(e.x/r.width,e.y/r.height);var n=r.width/e.width,o=r.height/e.height;return i.scale(n,o),i},e.calculateSpriteMatrix=function(t,e,r,n){var o=n._texture.orig,s=t.set(r.width,0,0,r.height,e.x,e.y),a=n.worldTransform.copy(i.Matrix.TEMP_MATRIX);return a.invert(),s.prepend(a),s.scale(1/o.width,1/o.height),s.translate(n.anchor.x,n.anchor.y),s};var i=r(14)},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(25),o=r(3),s=r(93),a=(i=s)&&i.__esModule?i:{default:i},u=r(7);var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e,this.gl=e.gl,this._managedTextures=[]}return t.prototype.bindTexture=function(){},t.prototype.getTexture=function(){},t.prototype.updateTexture=function(t,e){var r=this.gl,i=!!t._glRenderTargets;if(!t.hasLoaded)return null;var s=this.renderer.boundTextures;if(void 0===e){e=0;for(var u=0;u<s.length;++u)if(s[u]===t){e=u;break}}s[e]=t,r.activeTexture(r.TEXTURE0+e);var l=t._glTextures[this.renderer.CONTEXT_UID];if(l)i?t._glRenderTargets[this.renderer.CONTEXT_UID].resize(t.width,t.height):l.upload(t.source);else{if(i){var h=new a.default(this.gl,t.width,t.height,t.scaleMode,t.resolution);h.resize(t.width,t.height),t._glRenderTargets[this.renderer.CONTEXT_UID]=h,l=h.texture,this.renderer._activeRenderTarget.root||this.renderer._activeRenderTarget.frameBuffer.bind()}else(l=new n.GLTexture(this.gl,null,null,null,null)).bind(e),l.premultiplyAlpha=!0,l.upload(t.source);t._glTextures[this.renderer.CONTEXT_UID]=l,t.on("update",this.updateTexture,this),t.on("dispose",this.destroyTexture,this),this._managedTextures.push(t),t.isPowerOfTwo?(t.mipmap&&l.enableMipmap(),t.wrapMode===o.WRAP_MODES.CLAMP?l.enableWrapClamp():t.wrapMode===o.WRAP_MODES.REPEAT?l.enableWrapRepeat():l.enableWrapMirrorRepeat()):l.enableWrapClamp(),t.scaleMode===o.SCALE_MODES.NEAREST?l.enableNearestScaling():l.enableLinearScaling()}return l},t.prototype.destroyTexture=function(t,e){if((t=t.baseTexture||t).hasLoaded){var r=this.renderer,i=r.CONTEXT_UID,n=t._glTextures,o=t._glRenderTargets;if(n[i]&&(r.unbindTexture(t),n[i].destroy(),t.off("update",this.updateTexture,this),t.off("dispose",this.destroyTexture,this),delete n[i],!e)){var s=this._managedTextures.indexOf(t);-1!==s&&(0,u.removeItems)(this._managedTextures,s,1)}o&&o[i]&&(r._activeRenderTarget===o[i]&&r.bindRenderTarget(r.rootRenderTarget),o[i].destroy(),delete o[i])}},t.prototype.removeAll=function(){for(var t=0;t<this._managedTextures.length;++t){var e=this._managedTextures[t];e._glTextures[this.renderer.CONTEXT_UID]&&delete e._glTextures[this.renderer.CONTEXT_UID]}},t.prototype.destroy=function(){for(var t=0;t<this._managedTextures.length;++t){var e=this._managedTextures[t];this.destroyTexture(e,!0),e.off("update",this.updateTexture,this),e.off("dispose",this.destroyTexture,this)}this._managedTextures=null},t}();e.default=l},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(3),o=r(13),s=(i=o)&&i.__esModule?i:{default:i};var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e,this.count=0,this.checkCount=0,this.maxIdle=s.default.GC_MAX_IDLE,this.checkCountMax=s.default.GC_MAX_CHECK_COUNT,this.mode=s.default.GC_MODE}return t.prototype.update=function(){this.count++,this.mode!==n.GC_MODES.MANUAL&&(this.checkCount++,this.checkCount>this.checkCountMax&&(this.checkCount=0,this.run()))},t.prototype.run=function(){for(var t=this.renderer.textureManager,e=t._managedTextures,r=!1,i=0;i<e.length;i++){var n=e[i];!n._glRenderTargets&&this.count-n.touched>this.maxIdle&&(t.destroyTexture(n,!0),e[i]=null,r=!0)}if(r){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.textureManager;t._texture&&t._texture._glRenderTargets&&e.destroyTexture(t._texture,!0);for(var r=t.children.length-1;r>=0;r--)this.unload(t.children[r])},t}();e.default=a},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(535),o=(i=n)&&i.__esModule?i:{default:i};var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.activeState=new Uint8Array(16),this.defaultState=new Uint8Array(16),this.defaultState[0]=1,this.stackIndex=0,this.stack=[],this.gl=e,this.maxAttribs=e.getParameter(e.MAX_VERTEX_ATTRIBS),this.attribState={tempAttribState:new Array(this.maxAttribs),attribState:new Array(this.maxAttribs)},this.blendModes=(0,o.default)(e),this.nativeVaoExtension=e.getExtension("OES_vertex_array_object")||e.getExtension("MOZ_OES_vertex_array_object")||e.getExtension("WEBKIT_OES_vertex_array_object")}return t.prototype.push=function(){var t=this.stack[this.stackIndex];t||(t=this.stack[this.stackIndex]=new Uint8Array(16)),++this.stackIndex;for(var e=0;e<this.activeState.length;e++)t[e]=this.activeState[e]},t.prototype.pop=function(){var t=this.stack[--this.stackIndex];this.setState(t)},t.prototype.setState=function(t){this.setBlend(t[0]),this.setDepthTest(t[1]),this.setFrontFace(t[2]),this.setCullFace(t[3]),this.setBlendMode(t[4])},t.prototype.setBlend=function(t){t=t?1:0,this.activeState[0]!==t&&(this.activeState[0]=t,this.gl[t?"enable":"disable"](this.gl.BLEND))},t.prototype.setBlendMode=function(t){if(t!==this.activeState[4]){this.activeState[4]=t;var e=this.blendModes[t];2===e.length?this.gl.blendFunc(e[0],e[1]):this.gl.blendFuncSeparate(e[0],e[1],e[2],e[3])}},t.prototype.setDepthTest=function(t){t=t?1:0,this.activeState[1]!==t&&(this.activeState[1]=t,this.gl[t?"enable":"disable"](this.gl.DEPTH_TEST))},t.prototype.setCullFace=function(t){t=t?1:0,this.activeState[3]!==t&&(this.activeState[3]=t,this.gl[t?"enable":"disable"](this.gl.CULL_FACE))},t.prototype.setFrontFace=function(t){t=t?1:0,this.activeState[2]!==t&&(this.activeState[2]=t,this.gl.frontFace(this.gl[t?"CW":"CCW"]))},t.prototype.resetAttributes=function(){for(var t=0;t<this.attribState.tempAttribState.length;t++)this.attribState.tempAttribState[t]=0;for(var e=0;e<this.attribState.attribState.length;e++)this.attribState.attribState[e]=0;for(var r=1;r<this.maxAttribs;r++)this.gl.disableVertexAttribArray(r)},t.prototype.resetToDefault=function(){this.nativeVaoExtension&&this.nativeVaoExtension.bindVertexArrayOES(null),this.resetAttributes();for(var t=0;t<this.activeState.length;++t)this.activeState[t]=32;this.gl.pixelStorei(this.gl.UNPACK_FLIP_Y_WEBGL,!1),this.setState(this.defaultState)},t}();e.default=s},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e[i.BLEND_MODES.NORMAL]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.ADD]=[t.ONE,t.DST_ALPHA],e[i.BLEND_MODES.MULTIPLY]=[t.DST_COLOR,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.SCREEN]=[t.ONE,t.ONE_MINUS_SRC_COLOR],e[i.BLEND_MODES.OVERLAY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.DARKEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.LIGHTEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.COLOR_DODGE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.COLOR_BURN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.HARD_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.SOFT_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.DIFFERENCE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.EXCLUSION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.HUE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.SATURATION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.COLOR]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.LUMINOSITY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.NORMAL_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.ADD_NPM]=[t.SRC_ALPHA,t.DST_ALPHA,t.ONE,t.DST_ALPHA],e[i.BLEND_MODES.SCREEN_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_COLOR],e};var i=r(3)},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e[i.DRAW_MODES.POINTS]=t.POINTS,e[i.DRAW_MODES.LINES]=t.LINES,e[i.DRAW_MODES.LINE_LOOP]=t.LINE_LOOP,e[i.DRAW_MODES.LINE_STRIP]=t.LINE_STRIP,e[i.DRAW_MODES.TRIANGLES]=t.TRIANGLES,e[i.DRAW_MODES.TRIANGLE_STRIP]=t.TRIANGLE_STRIP,e[i.DRAW_MODES.TRIANGLE_FAN]=t.TRIANGLE_FAN,e};var i=r(3)},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){t.getContextAttributes().stencil}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){var r=s;r=(r=r.replace(/%count%/gi,e)).replace(/%forloop%/gi,function(t){var e="";e+="\n",e+="\n";for(var r=0;r<t;r++)r>0&&(e+="\nelse "),r<t-1&&(e+="if(textureId == "+r+".0)"),e+="\n{",e+="\n\tcolor = texture2D(uSamplers["+r+"], vTextureCoord);",e+="\n}";return e+="\n",e+="\n"}(e));for(var i=new o.default(t,"precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n    vTextureCoord = aTextureCoord;\n    vTextureId = aTextureId;\n    vColor = aColor;\n}\n",r),n=[],a=0;a<e;a++)n[a]=a;return i.bind(),i.uniforms.uSamplers=n,i};var i,n=r(67),o=(i=n)&&i.__esModule?i:{default:i};r(35);var s=["varying vec2 vTextureCoord;","varying vec4 vColor;","varying float vTextureId;","uniform sampler2D uSamplers[%count%];","void main(void){","vec4 color;","float textureId = floor(vTextureId+0.5);","%forloop%","gl_FragColor = color * vColor;","}"].join("\n")},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){var r=!e;if(0===t)throw new Error("Invalid value of `0` passed to `checkMaxIfStatementsInShader`");if(r){var i=document.createElement("canvas");i.width=1,i.height=1,e=o.default.createContext(i)}var n=e.createShader(e.FRAGMENT_SHADER);for(;;){var u=s.replace(/%forloop%/gi,a(t));if(e.shaderSource(n,u),e.compileShader(n),e.getShaderParameter(n,e.COMPILE_STATUS))break;t=t/2|0}r&&e.getExtension("WEBGL_lose_context")&&e.getExtension("WEBGL_lose_context").loseContext();return t};var i,n=r(25),o=(i=n)&&i.__esModule?i:{default:i};var s=["precision mediump float;","void main(void){","float test = 0.1;","%forloop%","gl_FragColor = vec4(0.0);","}"].join("\n");function a(t){for(var e="",r=0;r<t;++r)r>0&&(e+="\nelse "),r<t-1&&(e+="if(test == "+r+".0){}");return e}},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.vertices=new ArrayBuffer(e),this.float32View=new Float32Array(this.vertices),this.uint32View=new Uint32Array(this.vertices)}return t.prototype.destroy=function(){this.vertices=null,this.positions=null,this.uvs=null,this.colors=null},t}();e.default=i},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=p(r(134)),s=p(r(41)),a=r(14),u=r(7),l=r(3),h=p(r(13)),c=p(r(231)),f=p(r(232)),d=p(r(542));function p(t){return t&&t.__esModule?t:{default:t}}var v={texture:!0,children:!1,baseTexture:!0},y=function(t){function e(r,n,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=o||document.createElement("canvas")).width=3,o.height=3;var u=s.default.fromCanvas(o,h.default.SCALE_MODE,"text");u.orig=new a.Rectangle,u.trim=new a.Rectangle;var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,u));return s.default.addToCache(l._texture,l._texture.baseTexture.textureCacheIds[0]),l.canvas=o,l.context=l.canvas.getContext("2d"),l.resolution=h.default.RESOLUTION,l._text=null,l._style=null,l._styleListener=null,l._font="",l.text=r,l.style=n,l.localStyleID=-1,l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.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 r=this.context,i=f.default.measureText(this._text,this._style,this._style.wordWrap,this.canvas),n=i.width,o=i.height,s=i.lines,a=i.lineHeight,u=i.lineWidths,l=i.maxLineWidth,h=i.fontProperties;this.canvas.width=Math.ceil((Math.max(1,n)+2*e.padding)*this.resolution),this.canvas.height=Math.ceil((Math.max(1,o)+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.strokeStyle=e.stroke,r.lineWidth=e.strokeThickness,r.textBaseline=e.textBaseline,r.lineJoin=e.lineJoin,r.miterLimit=e.miterLimit;var c=void 0,d=void 0;if(e.dropShadow){r.fillStyle=e.dropShadowColor,r.globalAlpha=e.dropShadowAlpha,r.shadowBlur=e.dropShadowBlur,e.dropShadowBlur>0&&(r.shadowColor=e.dropShadowColor);for(var p=Math.cos(e.dropShadowAngle)*e.dropShadowDistance,v=Math.sin(e.dropShadowAngle)*e.dropShadowDistance,y=0;y<s.length;y++)c=e.strokeThickness/2,d=e.strokeThickness/2+y*a+h.ascent,"right"===e.align?c+=l-u[y]:"center"===e.align&&(c+=(l-u[y])/2),e.fill&&(this.drawLetterSpacing(s[y],c+p+e.padding,d+v+e.padding),e.stroke&&e.strokeThickness&&(r.strokeStyle=e.dropShadowColor,this.drawLetterSpacing(s[y],c+p+e.padding,d+v+e.padding,!0),r.strokeStyle=e.stroke))}r.shadowBlur=0,r.globalAlpha=1,r.fillStyle=this._generateFillStyle(e,s);for(var m=0;m<s.length;m++)c=e.strokeThickness/2,d=e.strokeThickness/2+m*a+h.ascent,"right"===e.align?c+=l-u[m]:"center"===e.align&&(c+=(l-u[m])/2),e.stroke&&e.strokeThickness&&this.drawLetterSpacing(s[m],c+e.padding,d+e.padding,!0),e.fill&&this.drawLetterSpacing(s[m],c+e.padding,d+e.padding);this.updateTexture()}},e.prototype.drawLetterSpacing=function(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=this._style.letterSpacing;if(0!==n)for(var o=String.prototype.split.call(t,""),s=e,a=0,u="";a<t.length;)u=o[a++],i?this.context.strokeText(u,s,r):this.context.fillText(u,s,r),s+=this.context.measureText(u).width+n;else i?this.context.strokeText(t,e,r):this.context.fillText(t,e,r)},e.prototype.updateTexture=function(){var t=this.canvas;if(this._style.trim){var e=(0,d.default)(t);e.data&&(t.width=e.width,t.height=e.height,this.context.putImageData(e.data,0,0))}var r=this._texture,i=this._style,n=i.trim?0:i.padding,o=r.baseTexture;o.hasLoaded=!0,o.resolution=this.resolution,o.realWidth=t.width,o.realHeight=t.height,o.width=t.width/this.resolution,o.height=t.height/this.resolution,r.trim.width=r._frame.width=t.width/this.resolution,r.trim.height=r._frame.height=t.height/this.resolution,r.trim.x=-n,r.trim.y=-n,r.orig.width=r._frame.width-2*n,r.orig.height=r._frame.height-2*n,this._onTextureUpdate(),o.emit("update",o),this.dirty=!1},e.prototype.renderWebGL=function(e){this.resolution!==e.resolution&&(this.resolution=e.resolution,this.dirty=!0),this.updateText(!0),t.prototype.renderWebGL.call(this,e)},e.prototype._renderCanvas=function(e){this.resolution!==e.resolution&&(this.resolution=e.resolution,this.dirty=!0),this.updateText(!0),t.prototype._renderCanvas.call(this,e)},e.prototype.getLocalBounds=function(e){return this.updateText(!0),t.prototype.getLocalBounds.call(this,e)},e.prototype._calculateBounds=function(){this.updateText(!0),this.calculateVertices(),this._bounds.addQuad(this.vertexData)},e.prototype._onStyleChange=function(){this.dirty=!0},e.prototype._generateFillStyle=function(t,e){if(!Array.isArray(t.fill))return t.fill;if(navigator.isCocoonJS)return t.fill[0];var r=void 0,i=void 0,n=void 0,o=void 0,s=this.canvas.width/this.resolution,a=this.canvas.height/this.resolution,u=t.fill.slice(),h=t.fillGradientStops.slice();if(!h.length)for(var c=u.length+1,f=1;f<c;++f)h.push(f/c);if(u.unshift(t.fill[0]),h.unshift(0),u.push(t.fill[t.fill.length-1]),h.push(1),t.fillGradientType===l.TEXT_GRADIENT.LINEAR_VERTICAL){r=this.context.createLinearGradient(s/2,0,s/2,a),i=(u.length+1)*e.length,n=0;for(var d=0;d<e.length;d++){n+=1;for(var p=0;p<u.length;p++)o="number"==typeof h[p]?h[p]/e.length+d/e.length:n/i,r.addColorStop(o,u[p]),n++}}else{r=this.context.createLinearGradient(0,a/2,s,a/2),i=u.length+1,n=1;for(var v=0;v<u.length;v++)o="number"==typeof h[v]?h[v]:n/i,r.addColorStop(o,u[v]),n++}return r},e.prototype.destroy=function(e){"boolean"==typeof e&&(e={children:e}),e=Object.assign({},v,e),t.prototype.destroy.call(this,e),this.context=null,this.canvas=null,this._style=null},n(e,[{key:"width",get:function(){return this.updateText(!0),Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){this.updateText(!0);var e=(0,u.sign)(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t}},{key:"height",get:function(){return this.updateText(!0),Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){this.updateText(!0);var e=(0,u.sign)(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t}},{key:"style",get:function(){return this._style},set:function(t){(t=t||{})instanceof c.default?this._style=t:this._style=new c.default(t),this.localStyleID=-1,this.dirty=!0}},{key:"text",get:function(){return this._text},set:function(t){t=String(""===t||null===t||void 0===t?" ":t),this._text!==t&&(this._text=t,this.dirty=!0)}}]),e}(o.default);e.default=y},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=t.width,r=t.height,i=t.getContext("2d"),n=i.getImageData(0,0,e,r).data,o=n.length,s={top:null,left:null,right:null,bottom:null},a=null,u=void 0,l=void 0,h=void 0;for(u=0;u<o;u+=4)0!==n[u+3]&&(l=u/4%e,h=~~(u/4/e),null===s.top&&(s.top=h),null===s.left?s.left=l:l<s.left&&(s.left=l),null===s.right?s.right=l+1:s.right<l&&(s.right=l+1),null===s.bottom?s.bottom=h:s.bottom<h&&(s.bottom=h));null!==s.top&&(e=s.right-s.left,r=s.bottom-s.top+1,a=i.getImageData(s.left,s.top,e,r));return{height:r,width:e,data:a}}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=v(r(64)),o=v(r(137)),s=v(r(41)),a=v(r(233)),u=v(r(134)),l=r(14),h=r(7),c=r(3),f=v(r(130)),d=v(r(544)),p=v(r(65));function v(t){return t&&t.__esModule?t:{default:t}}var y=void 0,m=new l.Matrix,g=new l.Point,_=new Float32Array(4),b=new Float32Array(4),x=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return n.fillAlpha=1,n.lineWidth=0,n.nativeLines=r,n.lineColor=0,n.lineAlignment=.5,n.graphicsData=[],n.tint=16777215,n._prevTint=16777215,n.blendMode=c.BLEND_MODES.NORMAL,n.currentPath=null,n._webGL={},n.isMask=!1,n.boundsPadding=0,n._localBounds=new f.default,n.dirty=0,n.fastRectDirty=-1,n.clearDirty=0,n.boundsDirty=-1,n.cachedSpriteDirty=!1,n._spriteRect=null,n._fastRect=!1,n._prevRectTint=null,n._prevRectFillColor=null,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.clone=function(){var t=new e;t.renderable=this.renderable,t.fillAlpha=this.fillAlpha,t.lineWidth=this.lineWidth,t.lineColor=this.lineColor,t.lineAlignment=this.lineAlignment,t.tint=this.tint,t.blendMode=this.blendMode,t.isMask=this.isMask,t.boundsPadding=this.boundsPadding,t.dirty=0,t.cachedSpriteDirty=this.cachedSpriteDirty;for(var r=0;r<this.graphicsData.length;++r)t.graphicsData.push(this.graphicsData[r].clone());return t.currentPath=t.graphicsData[t.graphicsData.length-1],t.updateLocalBounds(),t},e.prototype._quadraticCurveLength=function(t,e,r,i,n,o){var s=t-2*r+n,a=e-2*i+o,u=2*r-2*t,l=2*i-2*e,h=4*(s*s+a*a),c=4*(s*u+a*l),f=u*u+l*l,d=2*Math.sqrt(h+c+f),p=Math.sqrt(h),v=2*h*p,y=2*Math.sqrt(f),m=c/p;return(v*d+p*c*(d-y)+(4*f*h-c*c)*Math.log((2*p+m+d)/(m+y)))/(4*v)},e.prototype._bezierCurveLength=function(t,e,r,i,n,o,s,a){for(var u=0,l=0,h=0,c=0,f=0,d=0,p=0,v=0,y=0,m=0,g=0,_=t,b=e,x=1;x<=10;++x)m=_-(v=(p=(d=(f=1-(l=x/10))*f)*f)*t+3*d*l*r+3*f*(h=l*l)*n+(c=h*l)*s),g=b-(y=p*e+3*d*l*i+3*f*h*o+c*a),_=v,b=y,u+=Math.sqrt(m*m+g*g);return u},e.prototype._segmentsCount=function(t){var r=Math.ceil(t/e.CURVES.maxLength);return r<e.CURVES.minSegments?r=e.CURVES.minSegments:r>e.CURVES.maxSegments&&(r=e.CURVES.maxSegments),r},e.prototype.lineStyle=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;if(this.lineWidth=t,this.lineColor=e,this.lineAlpha=r,this.lineAlignment=i,this.currentPath)if(this.currentPath.shape.points.length){var n=new l.Polygon(this.currentPath.shape.points.slice(-2));n.closed=!1,this.drawShape(n)}else this.currentPath.lineWidth=this.lineWidth,this.currentPath.lineColor=this.lineColor,this.currentPath.lineAlpha=this.lineAlpha,this.currentPath.lineAlignment=this.lineAlignment;return this},e.prototype.moveTo=function(t,e){var r=new l.Polygon([t,e]);return r.closed=!1,this.drawShape(r),this},e.prototype.lineTo=function(t,e){var r=this.currentPath.shape.points,i=r[r.length-2],n=r[r.length-1];return i===t&&n===e||(r.push(t,e),this.dirty++),this},e.prototype.quadraticCurveTo=function(t,r,i,n){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);var o=this.currentPath.shape.points,s=0,a=0;0===o.length&&this.moveTo(0,0);for(var u=o[o.length-2],l=o[o.length-1],h=e.CURVES.adaptive?this._segmentsCount(this._quadraticCurveLength(u,l,t,r,i,n)):20,c=1;c<=h;++c){var f=c/h;s=u+(t-u)*f,a=l+(r-l)*f,o.push(s+(t+(i-t)*f-s)*f,a+(r+(n-r)*f-a)*f)}return this.dirty++,this},e.prototype.bezierCurveTo=function(t,r,i,n,o,s){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);var a=this.currentPath.shape.points,u=a[a.length-2],l=a[a.length-1];a.length-=2;var h=e.CURVES.adaptive?this._segmentsCount(this._bezierCurveLength(u,l,t,r,i,n,o,s)):20;return(0,d.default)(u,l,t,r,i,n,o,s,h,a),this.dirty++,this},e.prototype.arcTo=function(t,e,r,i,n){this.currentPath?0===this.currentPath.shape.points.length&&this.currentPath.shape.points.push(t,e):this.moveTo(t,e);var o=this.currentPath.shape.points,s=o[o.length-2],a=o[o.length-1]-e,u=s-t,l=i-e,h=r-t,c=Math.abs(a*h-u*l);if(c<1e-8||0===n)o[o.length-2]===t&&o[o.length-1]===e||o.push(t,e);else{var f=a*a+u*u,d=l*l+h*h,p=a*l+u*h,v=n*Math.sqrt(f)/c,y=n*Math.sqrt(d)/c,m=v*p/f,g=y*p/d,_=v*h+y*u,b=v*l+y*a,x=u*(y+m),w=a*(y+m),T=h*(v+g),S=l*(v+g),E=Math.atan2(w-b,x-_),P=Math.atan2(S-b,T-_);this.arc(_+t,b+e,n,E,P,u*l>h*a)}return this.dirty++,this},e.prototype.arc=function(t,r,i,n,o){var s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(n===o)return this;!s&&o<=n?o+=c.PI_2:s&&n<=o&&(n+=c.PI_2);var a=o-n,u=e.CURVES.adaptive?this._segmentsCount(Math.abs(a)*i):40*Math.ceil(Math.abs(a)/c.PI_2);if(0===a)return this;var l=t+Math.cos(n)*i,h=r+Math.sin(n)*i,f=this.currentPath?this.currentPath.shape.points:null;if(f){var d=Math.abs(f[f.length-2]-l),p=Math.abs(f[f.length-1]-h);d<.001&&p<.001||f.push(l,h)}else this.moveTo(l,h),f=this.currentPath.shape.points;for(var v=a/(2*u),y=2*v,m=Math.cos(v),g=Math.sin(v),_=u-1,b=_%1/_,x=0;x<=_;++x){var w=v+n+y*(x+b*x),T=Math.cos(w),S=-Math.sin(w);f.push((m*T+g*S)*i+t,(m*-S+g*T)*i+r)}return this.dirty++,this},e.prototype.beginFill=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.filling=!0,this.fillColor=t,this.fillAlpha=e,this.currentPath&&this.currentPath.shape.points.length<=2&&(this.currentPath.fill=this.filling,this.currentPath.fillColor=this.fillColor,this.currentPath.fillAlpha=this.fillAlpha),this},e.prototype.endFill=function(){return this.filling=!1,this.fillColor=null,this.fillAlpha=1,this},e.prototype.drawRect=function(t,e,r,i){return this.drawShape(new l.Rectangle(t,e,r,i)),this},e.prototype.drawRoundedRect=function(t,e,r,i,n){return this.drawShape(new l.RoundedRectangle(t,e,r,i,n)),this},e.prototype.drawCircle=function(t,e,r){return this.drawShape(new l.Circle(t,e,r)),this},e.prototype.drawEllipse=function(t,e,r,i){return this.drawShape(new l.Ellipse(t,e,r,i)),this},e.prototype.drawPolygon=function(t){var e=t,r=!0;if(e instanceof l.Polygon&&(r=e.closed,e=e.points),!Array.isArray(e)){e=new Array(arguments.length);for(var i=0;i<e.length;++i)e[i]=arguments[i]}var n=new l.Polygon(e);return n.closed=r,this.drawShape(n),this},e.prototype.drawStar=function(t,e,r,i,n){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;n=n||i/2;for(var s=-1*Math.PI/2+o,a=2*r,u=c.PI_2/a,l=[],h=0;h<a;h++){var f=h%2?n:i,d=h*u+s;l.push(t+f*Math.cos(d),e+f*Math.sin(d))}return this.drawPolygon(l)},e.prototype.clear=function(){return(this.lineWidth||this.filling||this.graphicsData.length>0)&&(this.lineWidth=0,this.lineAlignment=.5,this.filling=!1,this.boundsDirty=-1,this.canvasTintDirty=-1,this.dirty++,this.clearDirty++,this.graphicsData.length=0),this.currentPath=null,this._spriteRect=null,this},e.prototype.isFastRect=function(){return 1===this.graphicsData.length&&this.graphicsData[0].shape.type===c.SHAPES.RECT&&!this.graphicsData[0].lineWidth},e.prototype._renderWebGL=function(t){this.dirty!==this.fastRectDirty&&(this.fastRectDirty=this.dirty,this._fastRect=this.isFastRect()),this._fastRect?this._renderSpriteRect(t):(t.setObjectRenderer(t.plugins.graphics),t.plugins.graphics.render(this))},e.prototype._renderSpriteRect=function(t){var e=this.graphicsData[0].shape;this._spriteRect||(this._spriteRect=new u.default(new s.default(s.default.WHITE)));var r=this._spriteRect,i=this.graphicsData[0].fillColor;if(16777215===this.tint)r.tint=i;else if(this.tint!==this._prevRectTint||i!==this._prevRectFillColor){var n=_,o=b;(0,h.hex2rgb)(i,n),(0,h.hex2rgb)(this.tint,o),n[0]*=o[0],n[1]*=o[1],n[2]*=o[2],r.tint=(0,h.rgb2hex)(n),this._prevRectTint=this.tint,this._prevRectFillColor=i}r.alpha=this.graphicsData[0].fillAlpha,r.worldAlpha=this.worldAlpha*r.alpha,r.blendMode=this.blendMode,r._texture._frame.width=e.width,r._texture._frame.height=e.height,r.transform.worldTransform=this.transform.worldTransform,r.anchor.set(-e.x/e.width,-e.y/e.height),r._onAnchorUpdate(),r._renderWebGL(t)},e.prototype._renderCanvas=function(t){!0!==this.isMask&&t.plugins.graphics.render(this)},e.prototype._calculateBounds=function(){this.boundsDirty!==this.dirty&&(this.boundsDirty=this.dirty,this.updateLocalBounds(),this.cachedSpriteDirty=!0);var t=this._localBounds;this._bounds.addFrame(this.transform,t.minX,t.minY,t.maxX,t.maxY)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,g);for(var e=this.graphicsData,r=0;r<e.length;++r){var i=e[r];if(i.fill&&(i.shape&&i.shape.contains(g.x,g.y))){if(i.holes)for(var n=0;n<i.holes.length;n++){if(i.holes[n].contains(g.x,g.y))return!1}return!0}}return!1},e.prototype.updateLocalBounds=function(){var t=1/0,e=-1/0,r=1/0,i=-1/0;if(this.graphicsData.length)for(var n=0,o=0,s=0,a=0,u=0,l=0;l<this.graphicsData.length;l++){var h=this.graphicsData[l],f=h.type,d=h.lineWidth*h.lineAlignment;if(n=h.shape,f===c.SHAPES.RECT||f===c.SHAPES.RREC)o=n.x-d,s=n.y-d,a=n.width+2*d,u=n.height+2*d,t=o<t?o:t,e=o+a>e?o+a:e,r=s<r?s:r,i=s+u>i?s+u:i;else if(f===c.SHAPES.CIRC)o=n.x,s=n.y,a=n.radius+d,u=n.radius+d,t=o-a<t?o-a:t,e=o+a>e?o+a:e,r=s-u<r?s-u:r,i=s+u>i?s+u:i;else if(f===c.SHAPES.ELIP)o=n.x,s=n.y,a=n.width+d,u=n.height+d,t=o-a<t?o-a:t,e=o+a>e?o+a:e,r=s-u<r?s-u:r,i=s+u>i?s+u:i;else for(var p=n.points,v=0,y=0,m=0,g=0,_=0,b=0,x=0,w=0,T=0;T+2<p.length;T+=2)o=p[T],s=p[T+1],v=p[T+2],y=p[T+3],m=Math.abs(v-o),g=Math.abs(y-s),u=2*d,(a=Math.sqrt(m*m+g*g))<1e-9||(b=(u/a*m+g)/2,w=(y+s)/2,t=(x=(v+o)/2)-(_=(u/a*g+m)/2)<t?x-_:t,e=x+_>e?x+_:e,r=w-b<r?w-b:r,i=w+b>i?w+b:i)}else t=0,e=0,r=0,i=0;var S=this.boundsPadding;this._localBounds.minX=t-S,this._localBounds.maxX=e+S,this._localBounds.minY=r-S,this._localBounds.maxY=i+S},e.prototype.drawShape=function(t){this.currentPath&&this.currentPath.shape.points.length<=2&&this.graphicsData.pop(),this.currentPath=null;var e=new a.default(this.lineWidth,this.lineColor,this.lineAlpha,this.fillColor,this.fillAlpha,this.filling,this.nativeLines,t,this.lineAlignment);return this.graphicsData.push(e),e.type===c.SHAPES.POLY&&(e.shape.closed=e.shape.closed,this.currentPath=e),this.dirty++,e},e.prototype.generateCanvasTexture=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.getLocalBounds(),i=o.default.create(r.width,r.height,t,e);y||(y=new p.default),this.transform.updateLocalTransform(),this.transform.localTransform.copy(m),m.invert(),m.tx-=r.x,m.ty-=r.y,y.render(this,i,!0,m);var n=s.default.fromCanvas(i.baseTexture._canvasRenderTarget.canvas,t,"graphics");return n.baseTexture.resolution=e,n.baseTexture.update(),n},e.prototype.closePath=function(){var t=this.currentPath;return t&&t.shape&&t.shape.close(),this},e.prototype.addHole=function(){var t=this.graphicsData.pop();return this.currentPath=this.graphicsData[this.graphicsData.length-1],this.currentPath.addHole(t.shape),this.currentPath=null,this},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e);for(var r=0;r<this.graphicsData.length;++r)this.graphicsData[r].destroy();for(var i in this._webGL)for(var n=0;n<this._webGL[i].data.length;++n)this._webGL[i].data[n].destroy();this._spriteRect&&this._spriteRect.destroy(),this.graphicsData=null,this.currentPath=null,this._webGL=null,this._localBounds=null},e}(n.default);e.default=x,x._SPRITE_TEXTURE=null,x.CURVES={adaptive:!1,maxLength:10,minSegments:8,maxSegments:2048}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e,r,i,n,o,s,a,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[],h=0,c=0,f=0,d=0,p=0;l.push(t,e);for(var v=1,y=0;v<=u;++v)f=(c=(h=1-(y=v/u))*h)*h,p=(d=y*y)*y,l.push(f*t+3*c*y*r+3*h*d*n+p*s,f*e+3*c*y*i+3*h*d*o+p*a);return l}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=r(7),o=r(3),s=p(r(91)),a=p(r(92)),u=p(r(546)),l=p(r(547)),h=p(r(548)),c=p(r(549)),f=p(r(550)),d=p(r(551));function p(t){return t&&t.__esModule?t:{default:t}}var v=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.graphicsDataPool=[],n.primitiveShader=null,n.gl=r.gl,n.CONTEXT_UID=0,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.onContextChange=function(){this.gl=this.renderer.gl,this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.primitiveShader=new l.default(this.gl)},e.prototype.destroy=function(){s.default.prototype.destroy.call(this);for(var t=0;t<this.graphicsDataPool.length;++t)this.graphicsDataPool[t].destroy();this.graphicsDataPool=null},e.prototype.render=function(t){var e=this.renderer,r=e.gl,i=void 0,o=t._webGL[this.CONTEXT_UID];o&&t.dirty===o.dirty||(this.updateGraphics(t),o=t._webGL[this.CONTEXT_UID]);var s=this.primitiveShader;e.bindShader(s),e.state.setBlendMode(t.blendMode);for(var a=0,u=o.data.length;a<u;a++){var l=(i=o.data[a]).shader;e.bindShader(l),l.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),l.uniforms.tint=(0,n.hex2rgb)(t.tint),l.uniforms.alpha=t.worldAlpha,e.bindVao(i.vao),i.nativeLines?r.drawArrays(r.LINES,0,i.points.length/6):i.vao.draw(r.TRIANGLE_STRIP,i.indices.length)}},e.prototype.updateGraphics=function(t){var e=this.renderer.gl,r=t._webGL[this.CONTEXT_UID];if(r||(r=t._webGL[this.CONTEXT_UID]={lastIndex:0,data:[],gl:e,clearDirty:-1,dirty:-1}),r.dirty=t.dirty,t.clearDirty!==r.clearDirty){r.clearDirty=t.clearDirty;for(var i=0;i<r.data.length;i++)this.graphicsDataPool.push(r.data[i]);r.data.length=0,r.lastIndex=0}for(var n=void 0,s=void 0,a=r.lastIndex;a<t.graphicsData.length;a++){var u=t.graphicsData[a];n=this.getWebGLData(r,0),u.nativeLines&&u.lineWidth&&(s=this.getWebGLData(r,0,!0),r.lastIndex++),u.type===o.SHAPES.POLY&&(0,h.default)(u,n,s),u.type===o.SHAPES.RECT?(0,c.default)(u,n,s):u.type===o.SHAPES.CIRC||u.type===o.SHAPES.ELIP?(0,d.default)(u,n,s):u.type===o.SHAPES.RREC&&(0,f.default)(u,n,s),r.lastIndex++}this.renderer.bindVao(null);for(var l=0;l<r.data.length;l++)(n=r.data[l]).dirty&&n.upload()},e.prototype.getWebGLData=function(t,e,r){var i=t.data[t.data.length-1];return(!i||i.nativeLines!==r||i.points.length>32e4)&&((i=this.graphicsDataPool.pop()||new u.default(this.renderer.gl,this.primitiveShader,this.renderer.state.attribsState)).nativeLines=r,i.reset(e),t.data.push(i)),i.dirty=!0,i},e}(s.default);e.default=v,a.default.registerPlugin("graphics",v)},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(25),o=(i=n)&&i.__esModule?i:{default:i};var s=function(){function t(e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.gl=e,this.color=[0,0,0],this.points=[],this.indices=[],this.buffer=o.default.GLBuffer.createVertexBuffer(e),this.indexBuffer=o.default.GLBuffer.createIndexBuffer(e),this.dirty=!0,this.nativeLines=!1,this.glPoints=null,this.glIndices=null,this.shader=r,this.vao=new o.default.VertexArrayObject(e,i).addIndex(this.indexBuffer).addAttribute(this.buffer,r.attributes.aVertexPosition,e.FLOAT,!1,24,0).addAttribute(this.buffer,r.attributes.aColor,e.FLOAT,!1,24,8)}return t.prototype.reset=function(){this.points.length=0,this.indices.length=0},t.prototype.upload=function(){this.glPoints=new Float32Array(this.points),this.buffer.upload(this.glPoints),this.glIndices=new Uint16Array(this.indices),this.indexBuffer.upload(this.glIndices),this.dirty=!1},t.prototype.destroy=function(){this.color=null,this.points=null,this.indices=null,this.vao.destroy(),this.buffer.destroy(),this.indexBuffer.destroy(),this.gl=null,this.buffer=null,this.indexBuffer=null,this.glPoints=null,this.glIndices=null},t}();e.default=s},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=r(67);var s=function(t){function e(r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r,["attribute vec2 aVertexPosition;","attribute vec4 aColor;","uniform mat3 translationMatrix;","uniform mat3 projectionMatrix;","uniform float alpha;","uniform vec3 tint;","varying vec4 vColor;","void main(void){","   gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);","   vColor = aColor * vec4(tint * alpha, alpha);","}"].join("\n"),["varying vec4 vColor;","void main(void){","   gl_FragColor = vColor;","}"].join("\n")))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((n=o)&&n.__esModule?n:{default:n}).default);e.default=s},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e,r){t.points=t.shape.points.slice();var s=t.points;if(t.fill&&s.length>=6){for(var a=[],u=t.holes,l=0;l<u.length;l++){var h=u[l];a.push(s.length/2),s=s.concat(h.points)}var c=e.points,f=e.indices,d=s.length/2,p=(0,n.hex2rgb)(t.fillColor),v=t.fillAlpha,y=p[0]*v,m=p[1]*v,g=p[2]*v,_=(0,o.default)(s,a,2);if(!_)return;for(var b=c.length/6,x=0;x<_.length;x+=3)f.push(_[x]+b),f.push(_[x]+b),f.push(_[x+1]+b),f.push(_[x+2]+b),f.push(_[x+2]+b);for(var w=0;w<d;w++)c.push(s[2*w],s[2*w+1],y,m,g,v)}t.lineWidth>0&&(0,i.default)(t,e,r)};var i=s(r(94)),n=r(7),o=s(r(133));function s(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e,r){var i=t.shape,n=i.x,a=i.y,u=i.width,l=i.height;if(t.fill){var h=(0,s.hex2rgb)(t.fillColor),c=t.fillAlpha,f=h[0]*c,d=h[1]*c,p=h[2]*c,v=e.points,y=e.indices,m=v.length/6;v.push(n,a),v.push(f,d,p,c),v.push(n+u,a),v.push(f,d,p,c),v.push(n,a+l),v.push(f,d,p,c),v.push(n+u,a+l),v.push(f,d,p,c),y.push(m,m,m+1,m+2,m+3,m+3)}if(t.lineWidth){var g=t.points;t.points=[n,a,n+u,a,n+u,a+l,n,a+l,n,a],(0,o.default)(t,e,r),t.points=g}};var i,n=r(94),o=(i=n)&&i.__esModule?i:{default:i},s=r(7)},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e,r){var s=t.shape,a=s.x,l=s.y,h=s.width,c=s.height,f=s.radius,d=[];if(d.push(a+f,l),u(a+h-f,l,a+h,l,a+h,l+f,d),u(a+h,l+c-f,a+h,l+c,a+h-f,l+c,d),u(a+f,l+c,a,l+c,a,l+c-f,d),u(a,l+f,a,l,a+f+1e-10,l,d),t.fill){for(var p=(0,o.hex2rgb)(t.fillColor),v=t.fillAlpha,y=p[0]*v,m=p[1]*v,g=p[2]*v,_=e.points,b=e.indices,x=_.length/6,w=(0,i.default)(d,null,2),T=0,S=w.length;T<S;T+=3)b.push(w[T]+x),b.push(w[T]+x),b.push(w[T+1]+x),b.push(w[T+2]+x),b.push(w[T+2]+x);for(var E=0,P=d.length;E<P;E++)_.push(d[E],d[++E],y,m,g,v)}if(t.lineWidth){var O=t.points;t.points=d,(0,n.default)(t,e,r),t.points=O}};var i=s(r(133)),n=s(r(94)),o=r(7);function s(t){return t&&t.__esModule?t:{default:t}}function a(t,e,r){return t+(e-t)*r}function u(t,e,r,i,n,o){for(var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],u=0,l=0,h=0,c=0,f=0,d=0,p=0,v=0;p<=20;++p)u=a(t,r,v=p/20),l=a(e,i,v),h=a(r,n,v),c=a(i,o,v),f=a(u,h,v),d=a(l,c,v),s.push(f,d);return s}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e,r){var i=t.shape,n=i.x,u=i.y,l=void 0,h=void 0;t.type===s.SHAPES.CIRC?(l=i.radius,h=i.radius):(l=i.width,h=i.height);if(0===l||0===h)return;var c=Math.floor(30*Math.sqrt(i.radius))||Math.floor(15*Math.sqrt(i.width+i.height)),f=2*Math.PI/c;if(t.fill){var d=(0,a.hex2rgb)(t.fillColor),p=t.fillAlpha,v=d[0]*p,y=d[1]*p,m=d[2]*p,g=e.points,_=e.indices,b=g.length/6;_.push(b);for(var x=0;x<c+1;x++)g.push(n,u,v,y,m,p),g.push(n+Math.sin(f*x)*l,u+Math.cos(f*x)*h,v,y,m,p),_.push(b++,b++);_.push(b-1)}if(t.lineWidth){var w=t.points;t.points=[];for(var T=0;T<c;T++)t.points.push(n+Math.sin(f*-T)*l,u+Math.cos(f*-T)*h);t.points.push(t.points[0],t.points[1]),(0,o.default)(t,e,r),t.points=w}};var i,n=r(94),o=(i=n)&&i.__esModule?i:{default:i},s=r(3),a=r(7)},function(t,e,r){"use strict";e.__esModule=!0;var i,n=r(65),o=(i=n)&&i.__esModule?i:{default:i},s=r(3);var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e}return t.prototype.render=function(t){var e=this.renderer,r=e.context,i=t.worldAlpha,n=t.transform.worldTransform,o=e.resolution;r.setTransform(n.a*o,n.b*o,n.c*o,n.d*o,n.tx*o,n.ty*o),t.canvasTintDirty===t.dirty&&t._prevTint===t.tint||this.updateGraphicsTint(t),e.setBlendMode(t.blendMode);for(var a=0;a<t.graphicsData.length;a++){var u=t.graphicsData[a],l=u.shape,h=u._fillTint,c=u._lineTint;if(r.lineWidth=u.lineWidth,u.type===s.SHAPES.POLY){r.beginPath();var f=l.points,d=u.holes,p=void 0,v=void 0;r.moveTo(f[0],f[1]);for(var y=2;y<f.length;y+=2)r.lineTo(f[y],f[y+1]);if(l.closed&&r.closePath(),d.length>0){p=0;for(var m=0;m<f.length;m+=2)p+=f[m]*f[m+3]-f[m+1]*f[m+2];for(var g=0;g<d.length;g++){f=d[g].points,v=0;for(var _=0;_<f.length;_+=2)v+=f[_]*f[_+3]-f[_+1]*f[_+2];if(r.moveTo(f[0],f[1]),v*p<0)for(var b=2;b<f.length;b+=2)r.lineTo(f[b],f[b+1]);else for(var x=f.length-2;x>=2;x-=2)r.lineTo(f[x],f[x+1]);d[g].closed&&r.closePath()}}u.fill&&(r.globalAlpha=u.fillAlpha*i,r.fillStyle="#"+("00000"+(0|h).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*i,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke())}else if(u.type===s.SHAPES.RECT)(u.fillColor||0===u.fillColor)&&(r.globalAlpha=u.fillAlpha*i,r.fillStyle="#"+("00000"+(0|h).toString(16)).substr(-6),r.fillRect(l.x,l.y,l.width,l.height)),u.lineWidth&&(r.globalAlpha=u.lineAlpha*i,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.strokeRect(l.x,l.y,l.width,l.height));else if(u.type===s.SHAPES.CIRC)r.beginPath(),r.arc(l.x,l.y,l.radius,0,2*Math.PI),r.closePath(),u.fill&&(r.globalAlpha=u.fillAlpha*i,r.fillStyle="#"+("00000"+(0|h).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*i,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke());else if(u.type===s.SHAPES.ELIP){var w=2*l.width,T=2*l.height,S=l.x-w/2,E=l.y-T/2;r.beginPath();var P=w/2*.5522848,O=T/2*.5522848,M=S+w,A=E+T,C=S+w/2,R=E+T/2;r.moveTo(S,R),r.bezierCurveTo(S,R-O,C-P,E,C,E),r.bezierCurveTo(C+P,E,M,R-O,M,R),r.bezierCurveTo(M,R+O,C+P,A,C,A),r.bezierCurveTo(C-P,A,S,R+O,S,R),r.closePath(),u.fill&&(r.globalAlpha=u.fillAlpha*i,r.fillStyle="#"+("00000"+(0|h).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*i,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke())}else if(u.type===s.SHAPES.RREC){var D=l.x,I=l.y,k=l.width,L=l.height,F=l.radius,N=Math.min(k,L)/2|0;F=F>N?N:F,r.beginPath(),r.moveTo(D,I+F),r.lineTo(D,I+L-F),r.quadraticCurveTo(D,I+L,D+F,I+L),r.lineTo(D+k-F,I+L),r.quadraticCurveTo(D+k,I+L,D+k,I+L-F),r.lineTo(D+k,I+F),r.quadraticCurveTo(D+k,I,D+k-F,I),r.lineTo(D+F,I),r.quadraticCurveTo(D,I,D,I+F),r.closePath(),(u.fillColor||0===u.fillColor)&&(r.globalAlpha=u.fillAlpha*i,r.fillStyle="#"+("00000"+(0|h).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*i,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke())}}},t.prototype.updateGraphicsTint=function(t){t._prevTint=t.tint,t.canvasTintDirty=t.dirty;for(var e=(t.tint>>16&255)/255,r=(t.tint>>8&255)/255,i=(255&t.tint)/255,n=0;n<t.graphicsData.length;++n){var o=t.graphicsData[n],s=0|o.fillColor,a=0|o.lineColor;o._fillTint=((s>>16&255)/255*e*255<<16)+((s>>8&255)/255*r*255<<8)+(255&s)/255*i*255,o._lineTint=((a>>16&255)/255*e*255<<16)+((a>>8&255)/255*r*255<<8)+(255&a)/255*i*255}},t.prototype.renderPolygon=function(t,e,r){r.moveTo(t[0],t[1]);for(var i=1;i<t.length/2;++i)r.lineTo(t[2*i],t[2*i+1]);e&&r.closePath()},t.prototype.destroy=function(){this.renderer=null},t}();e.default=a,o.default.registerPlugin("graphics",a)},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=r(5),o=r(7);var s=function(){function t(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.baseTexture=e,this.textures={},this.animations={},this.data=r,this.resolution=this._updateResolution(i||this.baseTexture.imageUrl),this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null}return i(t,null,[{key:"BATCH_SIZE",get:function(){return 1e3}}]),t.prototype._updateResolution=function(t){var e=this.data.meta.scale,r=(0,o.getResolutionOfUrl)(t,null);return null===r&&(r=void 0!==e?parseFloat(e):1),1!==r&&(this.baseTexture.resolution=r,this.baseTexture.update()),r},t.prototype.parse=function(e){this._batchIndex=0,this._callback=e,this._frameKeys.length<=t.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()},t.prototype._processFrames=function(e){for(var r=e,i=t.BATCH_SIZE,o=this.baseTexture.sourceScale;r-e<i&&r<this._frameKeys.length;){var s=this._frameKeys[r],a=this._frames[s],u=a.frame;if(u){var l=null,h=null,c=!1!==a.trimmed&&a.sourceSize?a.sourceSize:a.frame,f=new n.Rectangle(0,0,Math.floor(c.w*o)/this.resolution,Math.floor(c.h*o)/this.resolution);l=a.rotated?new n.Rectangle(Math.floor(u.x*o)/this.resolution,Math.floor(u.y*o)/this.resolution,Math.floor(u.h*o)/this.resolution,Math.floor(u.w*o)/this.resolution):new n.Rectangle(Math.floor(u.x*o)/this.resolution,Math.floor(u.y*o)/this.resolution,Math.floor(u.w*o)/this.resolution,Math.floor(u.h*o)/this.resolution),!1!==a.trimmed&&a.spriteSourceSize&&(h=new n.Rectangle(Math.floor(a.spriteSourceSize.x*o)/this.resolution,Math.floor(a.spriteSourceSize.y*o)/this.resolution,Math.floor(u.w*o)/this.resolution,Math.floor(u.h*o)/this.resolution)),this.textures[s]=new n.Texture(this.baseTexture,l,f,h,a.rotated?2:0,a.anchor),n.Texture.addToCache(this.textures[s],s)}r++}},t.prototype._processAnimations=function(){var t=this.data.animations||{};for(var e in t){this.animations[e]=[];var r=t[e],i=Array.isArray(r),n=0;for(r=i?r:r[Symbol.iterator]();;){var o;if(i){if(n>=r.length)break;o=r[n++]}else{if((n=r.next()).done)break;o=n.value}var s=o;this.animations[e].push(this.textures[s])}}},t.prototype._parseComplete=function(){var t=this._callback;this._callback=null,this._batchIndex=0,t.call(this,this.textures)},t.prototype._nextBatch=function(){var e=this;this._processFrames(this._batchIndex*t.BATCH_SIZE),this._batchIndex++,setTimeout(function(){e._batchIndex*t.BATCH_SIZE<e._frameKeys.length?e._nextBatch():(e._processAnimations(),e._parseComplete())},0)},t.prototype.destroy=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];for(var e in this.textures)this.textures[e].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,t&&this.baseTexture.destroy(),this.baseTexture=null},t}();e.default=s},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=t.mesh,r=t.particles,i=t.extras,o=t.filters,s=t.prepare,a=t.loaders,u=t.interaction;Object.defineProperties(t,{SpriteBatch:{get:function(){throw new ReferenceError("SpriteBatch does not exist any more, please use the new ParticleContainer instead.")}},AssetLoader:{get:function(){throw new ReferenceError("The loader system was overhauled in PixiJS v3, please see the new PIXI.loaders.Loader class.")}},Stage:{get:function(){return n("You do not need to use a PIXI Stage any more, you can simply render any container."),t.Container}},DisplayObjectContainer:{get:function(){return n("DisplayObjectContainer has been shortened to Container, please use Container from now on."),t.Container}},Strip:{get:function(){return n("The Strip class has been renamed to Mesh and moved to mesh.Mesh, please use mesh.Mesh from now on."),e.Mesh}},Rope:{get:function(){return n("The Rope class has been moved to mesh.Rope, please use mesh.Rope from now on."),e.Rope}},ParticleContainer:{get:function(){return n("The ParticleContainer class has been moved to particles.ParticleContainer, please use particles.ParticleContainer from now on."),r.ParticleContainer}},MovieClip:{get:function(){return n("The MovieClip class has been moved to extras.AnimatedSprite, please use extras.AnimatedSprite."),i.AnimatedSprite}},TilingSprite:{get:function(){return n("The TilingSprite class has been moved to extras.TilingSprite, please use extras.TilingSprite from now on."),i.TilingSprite}},BitmapText:{get:function(){return n("The BitmapText class has been moved to extras.BitmapText, please use extras.BitmapText from now on."),i.BitmapText}},blendModes:{get:function(){return n("The blendModes has been moved to BLEND_MODES, please use BLEND_MODES from now on."),t.BLEND_MODES}},scaleModes:{get:function(){return n("The scaleModes has been moved to SCALE_MODES, please use SCALE_MODES from now on."),t.SCALE_MODES}},BaseTextureCache:{get:function(){return n("The BaseTextureCache class has been moved to utils.BaseTextureCache, please use utils.BaseTextureCache from now on."),t.utils.BaseTextureCache}},TextureCache:{get:function(){return n("The TextureCache class has been moved to utils.TextureCache, please use utils.TextureCache from now on."),t.utils.TextureCache}},math:{get:function(){return n("The math namespace is deprecated, please access members already accessible on PIXI."),t}},AbstractFilter:{get:function(){return n("AstractFilter has been renamed to Filter, please use PIXI.Filter"),t.Filter}},TransformManual:{get:function(){return n("TransformManual has been renamed to TransformBase, please update your pixi-spine"),t.TransformBase}},TARGET_FPMS:{get:function(){return n("PIXI.TARGET_FPMS has been deprecated, please use PIXI.settings.TARGET_FPMS"),t.settings.TARGET_FPMS},set:function(e){n("PIXI.TARGET_FPMS has been deprecated, please use PIXI.settings.TARGET_FPMS"),t.settings.TARGET_FPMS=e}},FILTER_RESOLUTION:{get:function(){return n("PIXI.FILTER_RESOLUTION has been deprecated, please use PIXI.settings.FILTER_RESOLUTION"),t.settings.FILTER_RESOLUTION},set:function(e){n("PIXI.FILTER_RESOLUTION has been deprecated, please use PIXI.settings.FILTER_RESOLUTION"),t.settings.FILTER_RESOLUTION=e}},RESOLUTION:{get:function(){return n("PIXI.RESOLUTION has been deprecated, please use PIXI.settings.RESOLUTION"),t.settings.RESOLUTION},set:function(e){n("PIXI.RESOLUTION has been deprecated, please use PIXI.settings.RESOLUTION"),t.settings.RESOLUTION=e}},MIPMAP_TEXTURES:{get:function(){return n("PIXI.MIPMAP_TEXTURES has been deprecated, please use PIXI.settings.MIPMAP_TEXTURES"),t.settings.MIPMAP_TEXTURES},set:function(e){n("PIXI.MIPMAP_TEXTURES has been deprecated, please use PIXI.settings.MIPMAP_TEXTURES"),t.settings.MIPMAP_TEXTURES=e}},SPRITE_BATCH_SIZE:{get:function(){return n("PIXI.SPRITE_BATCH_SIZE has been deprecated, please use PIXI.settings.SPRITE_BATCH_SIZE"),t.settings.SPRITE_BATCH_SIZE},set:function(e){n("PIXI.SPRITE_BATCH_SIZE has been deprecated, please use PIXI.settings.SPRITE_BATCH_SIZE"),t.settings.SPRITE_BATCH_SIZE=e}},SPRITE_MAX_TEXTURES:{get:function(){return n("PIXI.SPRITE_MAX_TEXTURES has been deprecated, please use PIXI.settings.SPRITE_MAX_TEXTURES"),t.settings.SPRITE_MAX_TEXTURES},set:function(e){n("PIXI.SPRITE_MAX_TEXTURES has been deprecated, please use PIXI.settings.SPRITE_MAX_TEXTURES"),t.settings.SPRITE_MAX_TEXTURES=e}},RETINA_PREFIX:{get:function(){return n("PIXI.RETINA_PREFIX has been deprecated, please use PIXI.settings.RETINA_PREFIX"),t.settings.RETINA_PREFIX},set:function(e){n("PIXI.RETINA_PREFIX has been deprecated, please use PIXI.settings.RETINA_PREFIX"),t.settings.RETINA_PREFIX=e}},DEFAULT_RENDER_OPTIONS:{get:function(){return n("PIXI.DEFAULT_RENDER_OPTIONS has been deprecated, please use PIXI.settings.DEFAULT_RENDER_OPTIONS"),t.settings.RENDER_OPTIONS}}});for(var l=[{parent:"TRANSFORM_MODE",target:"TRANSFORM_MODE"},{parent:"GC_MODES",target:"GC_MODE"},{parent:"WRAP_MODES",target:"WRAP_MODE"},{parent:"SCALE_MODES",target:"SCALE_MODE"},{parent:"PRECISION",target:"PRECISION_FRAGMENT"}],h=function(e){var r=l[e];Object.defineProperty(t[r.parent],"DEFAULT",{get:function(){return n("PIXI."+r.parent+".DEFAULT has been deprecated, please use PIXI.settings."+r.target),t.settings[r.target]},set:function(e){n("PIXI."+r.parent+".DEFAULT has been deprecated, please use PIXI.settings."+r.target),t.settings[r.target]=e}})},c=0;c<l.length;c++)h(c);Object.defineProperties(t.settings,{PRECISION:{get:function(){return n("PIXI.settings.PRECISION has been deprecated, please use PIXI.settings.PRECISION_FRAGMENT"),t.settings.PRECISION_FRAGMENT},set:function(e){n("PIXI.settings.PRECISION has been deprecated, please use PIXI.settings.PRECISION_FRAGMENT"),t.settings.PRECISION_FRAGMENT=e}}}),i.AnimatedSprite&&Object.defineProperties(i,{MovieClip:{get:function(){return n("The MovieClip class has been renamed to AnimatedSprite, please use AnimatedSprite from now on."),i.AnimatedSprite}}});i&&Object.defineProperties(i,{TextureTransform:{get:function(){return n("The TextureTransform class has been renamed to TextureMatrix, please use PIXI.TextureMatrix from now on."),t.TextureMatrix}}});t.DisplayObject.prototype.generateTexture=function(t,e,r){return n("generateTexture has moved to the renderer, please use renderer.generateTexture(displayObject)"),t.generateTexture(this,e,r)},t.Graphics.prototype.generateTexture=function(t,e){return n("graphics generate texture has moved to the renderer. Or to render a graphics to a texture using canvas please use generateCanvasTexture"),this.generateCanvasTexture(t,e)},t.GroupD8.isSwapWidthHeight=function(e){return n("GroupD8.isSwapWidthHeight was renamed to GroupD8.isVertical"),t.GroupD8.isVertical(e)},t.RenderTexture.prototype.render=function(t,e,r,i){this.legacyRenderer.render(t,this,r,e,!i),n("RenderTexture.render is now deprecated, please use renderer.render(displayObject, renderTexture)")},t.RenderTexture.prototype.getImage=function(t){return n("RenderTexture.getImage is now deprecated, please use renderer.extract.image(target)"),this.legacyRenderer.extract.image(t)},t.RenderTexture.prototype.getBase64=function(t){return n("RenderTexture.getBase64 is now deprecated, please use renderer.extract.base64(target)"),this.legacyRenderer.extract.base64(t)},t.RenderTexture.prototype.getCanvas=function(t){return n("RenderTexture.getCanvas is now deprecated, please use renderer.extract.canvas(target)"),this.legacyRenderer.extract.canvas(t)},t.RenderTexture.prototype.getPixels=function(t){return n("RenderTexture.getPixels is now deprecated, please use renderer.extract.pixels(target)"),this.legacyRenderer.pixels(t)},t.Sprite.prototype.setTexture=function(t){this.texture=t,n("setTexture is now deprecated, please use the texture property, e.g : sprite.texture = texture;")},i.BitmapText&&(i.BitmapText.prototype.setText=function(t){this.text=t,n("setText is now deprecated, please use the text property, e.g : myBitmapText.text = 'my text';")});t.Text.prototype.setText=function(t){this.text=t,n("setText is now deprecated, please use the text property, e.g : myText.text = 'my text';")},t.Text.calculateFontProperties=function(e){return n("Text.calculateFontProperties is now deprecated, please use the TextMetrics.measureFont"),t.TextMetrics.measureFont(e)},Object.defineProperties(t.Text,{fontPropertiesCache:{get:function(){return n("Text.fontPropertiesCache is deprecated"),t.TextMetrics._fonts}},fontPropertiesCanvas:{get:function(){return n("Text.fontPropertiesCanvas is deprecated"),t.TextMetrics._canvas}},fontPropertiesContext:{get:function(){return n("Text.fontPropertiesContext is deprecated"),t.TextMetrics._context}}}),t.Text.prototype.setStyle=function(t){this.style=t,n("setStyle is now deprecated, please use the style property, e.g : myText.style = style;")},t.Text.prototype.determineFontProperties=function(e){return n("determineFontProperties is now deprecated, please use TextMetrics.measureFont method"),t.TextMetrics.measureFont(e)},t.Text.getFontStyle=function(e){return n("getFontStyle is now deprecated, please use TextStyle.toFontString() instead"),(e=e||{})instanceof t.TextStyle||(e=new t.TextStyle(e)),e.toFontString()},Object.defineProperties(t.TextStyle.prototype,{font:{get:function(){n("text style property 'font' is now deprecated, please use the 'fontFamily', 'fontSize', 'fontStyle', 'fontVariant' and 'fontWeight' properties from now on");var t="number"==typeof this._fontSize?this._fontSize+"px":this._fontSize;return this._fontStyle+" "+this._fontVariant+" "+this._fontWeight+" "+t+" "+this._fontFamily},set:function(t){n("text style property 'font' is now deprecated, please use the 'fontFamily','fontSize',fontStyle','fontVariant' and 'fontWeight' properties from now on"),t.indexOf("italic")>1?this._fontStyle="italic":t.indexOf("oblique")>-1?this._fontStyle="oblique":this._fontStyle="normal",t.indexOf("small-caps")>-1?this._fontVariant="small-caps":this._fontVariant="normal";var e=t.split(" "),r=-1;this._fontSize=26;for(var i=0;i<e.length;++i)if(e[i].match(/(px|pt|em|%)/)){r=i,this._fontSize=e[i];break}this._fontWeight="normal";for(var o=0;o<r;++o)if(e[o].match(/(bold|bolder|lighter|100|200|300|400|500|600|700|800|900)/)){this._fontWeight=e[o];break}if(r>-1&&r<e.length-1){this._fontFamily="";for(var s=r+1;s<e.length;++s)this._fontFamily+=e[s]+" ";this._fontFamily=this._fontFamily.slice(0,-1)}else this._fontFamily="Arial";this.styleID++}}}),t.Texture.prototype.setFrame=function(t){this.frame=t,n("setFrame is now deprecated, please use the frame property, e.g: myTexture.frame = frame;")},t.Texture.addTextureToCache=function(e,r){t.Texture.addToCache(e,r),n("Texture.addTextureToCache is deprecated, please use Texture.addToCache from now on.")},t.Texture.removeTextureFromCache=function(e){return n("Texture.removeTextureFromCache is deprecated, please use Texture.removeFromCache from now on. Be aware that Texture.removeFromCache does not automatically its BaseTexture from the BaseTextureCache. For that, use BaseTexture.removeFromCache"),t.BaseTexture.removeFromCache(e),t.Texture.removeFromCache(e)},Object.defineProperties(o,{AbstractFilter:{get:function(){return n("AstractFilter has been renamed to Filter, please use PIXI.Filter"),t.AbstractFilter}},SpriteMaskFilter:{get:function(){return n("filters.SpriteMaskFilter is an undocumented alias, please use SpriteMaskFilter from now on."),t.SpriteMaskFilter}},VoidFilter:{get:function(){return n("VoidFilter has been renamed to AlphaFilter, please use PIXI.filters.AlphaFilter"),o.AlphaFilter}}}),t.utils.uuid=function(){return n("utils.uuid() is deprecated, please use utils.uid() from now on."),t.utils.uid()},t.utils.canUseNewCanvasBlendModes=function(){return n("utils.canUseNewCanvasBlendModes() is deprecated, please use CanvasTinter.canUseMultiply from now on"),t.CanvasTinter.canUseMultiply};var f=!0;Object.defineProperty(t.utils,"_saidHello",{set:function(t){t&&(n("PIXI.utils._saidHello is deprecated, please use PIXI.utils.skipHello()"),this.skipHello()),f=t},get:function(){return f}}),s.BasePrepare&&(s.BasePrepare.prototype.register=function(t,e){return n("renderer.plugins.prepare.register is now deprecated, please use renderer.plugins.prepare.registerFindHook & renderer.plugins.prepare.registerUploadHook"),t&&this.registerFindHook(t),e&&this.registerUploadHook(e),this});s.canvas&&Object.defineProperty(s.canvas,"UPLOADS_PER_FRAME",{set:function(){n("PIXI.CanvasPrepare.UPLOADS_PER_FRAME has been removed. Please set renderer.plugins.prepare.limiter.maxItemsPerFrame on your renderer")},get:function(){return n("PIXI.CanvasPrepare.UPLOADS_PER_FRAME has been removed. Please use renderer.plugins.prepare.limiter"),NaN}});s.webgl&&Object.defineProperty(s.webgl,"UPLOADS_PER_FRAME",{set:function(){n("PIXI.WebGLPrepare.UPLOADS_PER_FRAME has been removed. Please set renderer.plugins.prepare.limiter.maxItemsPerFrame on your renderer")},get:function(){return n("PIXI.WebGLPrepare.UPLOADS_PER_FRAME has been removed. Please use renderer.plugins.prepare.limiter"),NaN}});if(a.Loader){var d=a.Resource,p=a.Loader;Object.defineProperties(d.prototype,{isJson:{get:function(){return n("The isJson property is deprecated, please use `resource.type === Resource.TYPE.JSON`."),this.type===d.TYPE.JSON}},isXml:{get:function(){return n("The isXml property is deprecated, please use `resource.type === Resource.TYPE.XML`."),this.type===d.TYPE.XML}},isImage:{get:function(){return n("The isImage property is deprecated, please use `resource.type === Resource.TYPE.IMAGE`."),this.type===d.TYPE.IMAGE}},isAudio:{get:function(){return n("The isAudio property is deprecated, please use `resource.type === Resource.TYPE.AUDIO`."),this.type===d.TYPE.AUDIO}},isVideo:{get:function(){return n("The isVideo property is deprecated, please use `resource.type === Resource.TYPE.VIDEO`."),this.type===d.TYPE.VIDEO}}}),Object.defineProperties(p.prototype,{before:{get:function(){return n("The before() method is deprecated, please use pre()."),this.pre}},after:{get:function(){return n("The after() method is deprecated, please use use()."),this.use}}})}u.interactiveTarget&&Object.defineProperty(u.interactiveTarget,"defaultCursor",{set:function(t){n("Property defaultCursor has been replaced with 'cursor'. "),this.cursor=t},get:function(){return n("Property defaultCursor has been replaced with 'cursor'. "),this.cursor}});u.InteractionManager&&(Object.defineProperty(u.InteractionManager,"defaultCursorStyle",{set:function(t){n("Property defaultCursorStyle has been replaced with 'cursorStyles.default'. "),this.cursorStyles.default=t},get:function(){return n("Property defaultCursorStyle has been replaced with 'cursorStyles.default'. "),this.cursorStyles.default}}),Object.defineProperty(u.InteractionManager,"currentCursorStyle",{set:function(t){n("Property currentCursorStyle has been removed.See the currentCursorMode property, which works differently."),this.currentCursorMode=t},get:function(){return n("Property currentCursorStyle has been removed.See the currentCursorMode property, which works differently."),this.currentCursorMode}}))};var i={};function n(t){if(!i[t]){var e=(new Error).stack;void 0===e||(e=e.split("\n").splice(3).join("\n"),console.groupCollapsed),i[t]=!0}}},function(t,e,r){"use strict";e.__esModule=!0;var i=r(236);Object.defineProperty(e,"accessibleTarget",{enumerable:!0,get:function(){return o(i).default}});var n=r(556);function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"AccessibilityManager",{enumerable:!0,get:function(){return o(n).default}})},function(t,e,r){"use strict";e.__esModule=!0;var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),n=s(r(131)),o=s(r(236));function s(t){return t&&t.__esModule?t:{default:t}}i.utils.mixins.delayMixin(i.DisplayObject.prototype,o.default);var a=100,u=0,l=0,h=2,c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!n.default.tablet&&!n.default.phone||navigator.isCocoonJS||this.createTouchHook();var r=document.createElement("div");r.style.width=a+"px",r.style.height=a+"px",r.style.position="absolute",r.style.top=u+"px",r.style.left=l+"px",r.style.zIndex=h,this.div=r,this.pool=[],this.renderId=0,this.debug=!1,this.renderer=e,this.children=[],this._onKeyDown=this._onKeyDown.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this.isActive=!1,this.isMobileAccessabillity=!1,window.addEventListener("keydown",this._onKeyDown,!1)}return t.prototype.createTouchHook=function(){var t=this,e=document.createElement("button");e.style.width="1px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.left="-1000px",e.style.zIndex=2,e.style.backgroundColor="#FF0000",e.title="HOOK DIV",e.addEventListener("focus",function(){t.isMobileAccessabillity=!0,t.activate(),document.body.removeChild(e)}),document.body.appendChild(e)},t.prototype.activate=function(){this.isActive||(this.isActive=!0,window.document.addEventListener("mousemove",this._onMouseMove,!0),window.removeEventListener("keydown",this._onKeyDown,!1),this.renderer.on("postrender",this.update,this),this.renderer.view.parentNode&&this.renderer.view.parentNode.appendChild(this.div))},t.prototype.deactivate=function(){this.isActive&&!this.isMobileAccessabillity&&(this.isActive=!1,window.document.removeEventListener("mousemove",this._onMouseMove,!0),window.addEventListener("keydown",this._onKeyDown,!1),this.renderer.off("postrender",this.update),this.div.parentNode&&this.div.parentNode.removeChild(this.div))},t.prototype.updateAccessibleObjects=function(t){if(t.visible){t.accessible&&t.interactive&&(t._accessibleActive||this.addChild(t),t.renderId=this.renderId);for(var e=t.children,r=0;r<e.length;r++)this.updateAccessibleObjects(e[r])}},t.prototype.update=function(){if(this.renderer.renderingToScreen){this.updateAccessibleObjects(this.renderer._lastObjectRendered);var t=this.renderer.view.getBoundingClientRect(),e=t.width/this.renderer.width,r=t.height/this.renderer.height,n=this.div;n.style.left=t.left+"px",n.style.top=t.top+"px",n.style.width=this.renderer.width+"px",n.style.height=this.renderer.height+"px";for(var o=0;o<this.children.length;o++){var s=this.children[o];if(s.renderId!==this.renderId)s._accessibleActive=!1,i.utils.removeItems(this.children,o,1),this.div.removeChild(s._accessibleDiv),this.pool.push(s._accessibleDiv),s._accessibleDiv=null,o--,0===this.children.length&&this.deactivate();else{n=s._accessibleDiv;var a=s.hitArea,u=s.worldTransform;s.hitArea?(n.style.left=(u.tx+a.x*u.a)*e+"px",n.style.top=(u.ty+a.y*u.d)*r+"px",n.style.width=a.width*u.a*e+"px",n.style.height=a.height*u.d*r+"px"):(a=s.getBounds(),this.capHitArea(a),n.style.left=a.x*e+"px",n.style.top=a.y*r+"px",n.style.width=a.width*e+"px",n.style.height=a.height*r+"px",n.title!==s.accessibleTitle&&null!==s.accessibleTitle&&(n.title=s.accessibleTitle),n.getAttribute("aria-label")!==s.accessibleHint&&null!==s.accessibleHint&&n.setAttribute("aria-label",s.accessibleHint))}}this.renderId++}},t.prototype.capHitArea=function(t){t.x<0&&(t.width+=t.x,t.x=0),t.y<0&&(t.height+=t.y,t.y=0),t.x+t.width>this.renderer.width&&(t.width=this.renderer.width-t.x),t.y+t.height>this.renderer.height&&(t.height=this.renderer.height-t.y)},t.prototype.addChild=function(t){var e=this.pool.pop();e||((e=document.createElement("button")).style.width=a+"px",e.style.height=a+"px",e.style.backgroundColor=this.debug?"rgba(255,0,0,0.5)":"transparent",e.style.position="absolute",e.style.zIndex=h,e.style.borderStyle="none",navigator.userAgent.toLowerCase().indexOf("chrome")>-1?e.setAttribute("aria-live","off"):e.setAttribute("aria-live","polite"),navigator.userAgent.match(/rv:.*Gecko\//)?e.setAttribute("aria-relevant","additions"):e.setAttribute("aria-relevant","text"),e.addEventListener("click",this._onClick.bind(this)),e.addEventListener("focus",this._onFocus.bind(this)),e.addEventListener("focusout",this._onFocusOut.bind(this))),t.accessibleTitle&&null!==t.accessibleTitle?e.title=t.accessibleTitle:t.accessibleHint&&null!==t.accessibleHint||(e.title="displayObject "+t.tabIndex),t.accessibleHint&&null!==t.accessibleHint&&e.setAttribute("aria-label",t.accessibleHint),t._accessibleActive=!0,t._accessibleDiv=e,e.displayObject=t,this.children.push(t),this.div.appendChild(t._accessibleDiv),t._accessibleDiv.tabIndex=t.tabIndex},t.prototype._onClick=function(t){var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"click",e.eventData)},t.prototype._onFocus=function(t){t.target.getAttribute("aria-live","off")||t.target.setAttribute("aria-live","assertive");var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"mouseover",e.eventData)},t.prototype._onFocusOut=function(t){t.target.getAttribute("aria-live","off")||t.target.setAttribute("aria-live","polite");var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"mouseout",e.eventData)},t.prototype._onKeyDown=function(t){9===t.keyCode&&this.activate()},t.prototype._onMouseMove=function(t){0===t.movementX&&0===t.movementY||this.deactivate()},t.prototype.destroy=function(){this.div=null;for(var t=0;t<this.children.length;t++)this.children[t].div=null;window.document.removeEventListener("mousemove",this._onMouseMove,!0),window.removeEventListener("keydown",this._onKeyDown),this.pool=null,this.children=null,this.renderer=null},t}();e.default=c,i.WebGLRenderer.registerPlugin("accessibility",c),i.CanvasRenderer.registerPlugin("accessibility",c)},function(t,e,r){"use strict";e.__esModule=!0;var i=r(558);Object.defineProperty(e,"webgl",{enumerable:!0,get:function(){return o(i).default}});var n=r(559);function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"canvas",{enumerable:!0,get:function(){return o(n).default}})},function(t,e,r){"use strict";e.__esModule=!0;var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));var n=new i.Rectangle,o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e,e.extract=this}return t.prototype.image=function(t){var e=new Image;return e.src=this.base64(t),e},t.prototype.base64=function(t){return this.canvas(t).toDataURL()},t.prototype.canvas=function(t){var e=this.renderer,r=void 0,o=void 0,s=void 0,a=!1,u=void 0,l=!1;t&&(t instanceof i.RenderTexture?u=t:(u=this.renderer.generateTexture(t),l=!0)),u?(o=(r=u.baseTexture._glRenderTargets[this.renderer.CONTEXT_UID]).resolution,s=u.frame,a=!1):(o=(r=this.renderer.rootRenderTarget).resolution,a=!0,(s=n).width=r.size.width,s.height=r.size.height);var h=s.width*o,c=s.height*o,f=new i.CanvasRenderTarget(h,c,1);if(r){e.bindRenderTarget(r);var d=new Uint8Array(4*h*c),p=e.gl;p.readPixels(s.x*o,s.y*o,h,c,p.RGBA,p.UNSIGNED_BYTE,d);var v=f.context.getImageData(0,0,h,c);v.data.set(d),f.context.putImageData(v,0,0),a&&(f.context.scale(1,-1),f.context.drawImage(f.canvas,0,-c))}return l&&u.destroy(!0),f.canvas},t.prototype.pixels=function(t){var e=this.renderer,r=void 0,o=void 0,s=void 0,a=void 0,u=!1;t&&(t instanceof i.RenderTexture?a=t:(a=this.renderer.generateTexture(t),u=!0)),a?(o=(r=a.baseTexture._glRenderTargets[this.renderer.CONTEXT_UID]).resolution,s=a.frame):(o=(r=this.renderer.rootRenderTarget).resolution,(s=n).width=r.size.width,s.height=r.size.height);var l=s.width*o,h=s.height*o,c=new Uint8Array(4*l*h);if(r){e.bindRenderTarget(r);var f=e.gl;f.readPixels(s.x*o,s.y*o,l,h,f.RGBA,f.UNSIGNED_BYTE,c)}return u&&a.destroy(!0),c},t.prototype.destroy=function(){this.renderer.extract=null,this.renderer=null},t}();e.default=o,i.WebGLRenderer.registerPlugin("extract",o)},function(t,e,r){"use strict";e.__esModule=!0;var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));var n=new i.Rectangle,o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e,e.extract=this}return t.prototype.image=function(t){var e=new Image;return e.src=this.base64(t),e},t.prototype.base64=function(t){return this.canvas(t).toDataURL()},t.prototype.canvas=function(t){var e=this.renderer,r=void 0,o=void 0,s=void 0,a=void 0;t&&(a=t instanceof i.RenderTexture?t:e.generateTexture(t)),a?(r=a.baseTexture._canvasRenderTarget.context,o=a.baseTexture._canvasRenderTarget.resolution,s=a.frame):(r=e.rootContext,o=e.resolution,(s=n).width=this.renderer.width,s.height=this.renderer.height);var u=s.width*o,l=s.height*o,h=new i.CanvasRenderTarget(u,l,1),c=r.getImageData(s.x*o,s.y*o,u,l);return h.context.putImageData(c,0,0),h.canvas},t.prototype.pixels=function(t){var e=this.renderer,r=void 0,o=void 0,s=void 0,a=void 0;return t&&(a=t instanceof i.RenderTexture?t:e.generateTexture(t)),a?(r=a.baseTexture._canvasRenderTarget.context,o=a.baseTexture._canvasRenderTarget.resolution,s=a.frame):(r=e.rootContext,(s=n).width=e.width,s.height=e.height),r.getImageData(0,0,s.width*o,s.height*o).data},t.prototype.destroy=function(){this.renderer.extract=null,this.renderer=null},t}();e.default=o,i.CanvasRenderer.registerPlugin("extract",o)},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));var s=function(t){function e(r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var s=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r[0]instanceof o.Texture?r[0]:r[0].texture));return s._textures=null,s._durations=null,s.textures=r,s._autoUpdate=!1!==n,s.animationSpeed=1,s.loop=!0,s.updateAnchor=!1,s.onComplete=null,s.onFrameChange=null,s.onLoop=null,s._currentTime=0,s.playing=!1,s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.stop=function(){this.playing&&(this.playing=!1,this._autoUpdate&&o.ticker.shared.remove(this.update,this))},e.prototype.play=function(){this.playing||(this.playing=!0,this._autoUpdate&&o.ticker.shared.add(this.update,this,o.UPDATE_PRIORITY.HIGH))},e.prototype.gotoAndStop=function(t){this.stop();var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture()},e.prototype.gotoAndPlay=function(t){var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture(),this.play()},e.prototype.update=function(t){var e=this.animationSpeed*t,r=this.currentFrame;if(null!==this._durations){var i=this._currentTime%1*this._durations[this.currentFrame];for(i+=e/60*1e3;i<0;)this._currentTime--,i+=this._durations[this.currentFrame];var n=Math.sign(this.animationSpeed*t);for(this._currentTime=Math.floor(this._currentTime);i>=this._durations[this.currentFrame];)i-=this._durations[this.currentFrame]*n,this._currentTime+=n;this._currentTime+=i/this._durations[this.currentFrame]}else this._currentTime+=e;this._currentTime<0&&!this.loop?(this.gotoAndStop(0),this.onComplete&&this.onComplete()):this._currentTime>=this._textures.length&&!this.loop?(this.gotoAndStop(this._textures.length-1),this.onComplete&&this.onComplete()):r!==this.currentFrame&&(this.loop&&this.onLoop&&(this.animationSpeed>0&&this.currentFrame<r?this.onLoop():this.animationSpeed<0&&this.currentFrame>r&&this.onLoop()),this.updateTexture())},e.prototype.updateTexture=function(){this._texture=this._textures[this.currentFrame],this._textureID=-1,this.cachedTint=16777215,this.updateAnchor&&this._anchor.copy(this._texture.defaultAnchor),this.onFrameChange&&this.onFrameChange(this.currentFrame)},e.prototype.destroy=function(e){this.stop(),t.prototype.destroy.call(this,e)},e.fromFrames=function(t){for(var r=[],i=0;i<t.length;++i)r.push(o.Texture.fromFrame(t[i]));return new e(r)},e.fromImages=function(t){for(var r=[],i=0;i<t.length;++i)r.push(o.Texture.fromImage(t[i]));return new e(r)},n(e,[{key:"totalFrames",get:function(){return this._textures.length}},{key:"textures",get:function(){return this._textures},set:function(t){if(t[0]instanceof o.Texture)this._textures=t,this._durations=null;else{this._textures=[],this._durations=[];for(var e=0;e<t.length;e++)this._textures.push(t[e].texture),this._durations.push(t[e].time)}this.gotoAndStop(0),this.updateTexture()}},{key:"currentFrame",get:function(){var t=Math.floor(this._currentTime)%this._textures.length;return t<0&&(t+=this._textures.length),t}}]),e}(o.Sprite);e.default=s},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),a=r(90),u=(n=a)&&n.__esModule?n:{default:n};var l=new s.Point,h=function(t){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return a.tileTransform=new s.TransformStatic,a._width=n,a._height=o,a._canvasPattern=null,a.uvTransform=r.transform||new s.TextureMatrix(r),a.pluginName="tilingSprite",a.uvRespectAnchor=!1,a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._onTextureUpdate=function(){this.uvTransform&&(this.uvTransform.texture=this._texture),this.cachedTint=16777215},e.prototype._renderWebGL=function(t){var e=this._texture;e&&e.valid&&(this.tileTransform.updateLocalTransform(),this.uvTransform.update(),t.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},e.prototype._renderCanvas=function(t){var e=this._texture;if(e.baseTexture.hasLoaded){var r=t.context,i=this.worldTransform,n=t.resolution,o=2===e.rotate,a=e.baseTexture,l=a.resolution,h=this.tilePosition.x/this.tileScale.x%e.orig.width*l,c=this.tilePosition.y/this.tileScale.y%e.orig.height*l;if(this._textureID!==this._texture._updateID||this.cachedTint!==this.tint){this._textureID=this._texture._updateID;var f=new s.CanvasRenderTarget(e.orig.width,e.orig.height,l);if(16777215!==this.tint)this.tintedTexture=u.default.getTintedTexture(this,this.tint),f.context.drawImage(this.tintedTexture,0,0);else{var d=e._frame.x*l,p=e._frame.y*l,v=e._frame.width*l,y=e._frame.height*l,m=(e.trim?e.trim.width:e.orig.width)*l,g=(e.trim?e.trim.height:e.orig.height)*l,_=(e.trim?e.trim.x:0)*l,b=(e.trim?e.trim.y:0)*l;o?(f.context.rotate(-Math.PI/2),f.context.translate(-g,0),f.context.drawImage(a.source,d,p,v,y,-b,_,g,m)):f.context.drawImage(a.source,d,p,v,y,_,b,m,g)}this.cachedTint=this.tint,this._canvasPattern=f.context.createPattern(f.canvas,"repeat")}r.globalAlpha=this.worldAlpha,r.setTransform(i.a*n,i.b*n,i.c*n,i.d*n,i.tx*n,i.ty*n),t.setBlendMode(this.blendMode),r.fillStyle=this._canvasPattern,r.scale(this.tileScale.x/l,this.tileScale.y/l);var x=this.anchor.x*-this._width*l,w=this.anchor.y*-this._height*l;this.uvRespectAnchor?(r.translate(h,c),r.fillRect(-h+x,-c+w,this._width/this.tileScale.x*l,this._height/this.tileScale.y*l)):(r.translate(h+x,c+w),r.fillRect(-h,-c,this._width/this.tileScale.x*l,this._height/this.tileScale.y*l))}},e.prototype._calculateBounds=function(){var t=this._width*-this._anchor._x,e=this._height*-this._anchor._y,r=this._width*(1-this._anchor._x),i=this._height*(1-this._anchor._y);this._bounds.addFrame(this.transform,t,e,r,i)},e.prototype.getLocalBounds=function(e){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),e||(this._localBoundsRect||(this._localBoundsRect=new s.Rectangle),e=this._localBoundsRect),this._bounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,l);var e=this._width,r=this._height,i=-e*this.anchor._x;if(l.x>=i&&l.x<i+e){var n=-r*this.anchor._y;if(l.y>=n&&l.y<n+r)return!0}return!1},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e),this.tileTransform=null,this.uvTransform=null},e.from=function(t,r,i){return new e(s.Texture.from(t),r,i)},e.fromFrame=function(t,r,i){var n=s.utils.TextureCache[t];if(!n)throw new Error('The frameId "'+t+'" does not exist in the texture cache '+this);return new e(n,r,i)},e.fromImage=function(t,r,i,n,o){return new e(s.Texture.fromImage(t,n,o),r,i)},o(e,[{key:"clampMargin",get:function(){return this.uvTransform.clampMargin},set:function(t){this.uvTransform.clampMargin=t,this.uvTransform.update(!0)}},{key:"tileScale",get:function(){return this.tileTransform.scale},set:function(t){this.tileTransform.scale.copy(t)}},{key:"tilePosition",get:function(){return this.tileTransform.position},set:function(t){this.tileTransform.position.copy(t)}},{key:"width",get:function(){return this._width},set:function(t){this._width=t}},{key:"height",get:function(){return this._height},set:function(t){this._height=t}}]),e}(s.Sprite);e.default=h},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),o=r(3);r(35);var s=new n.Matrix,a=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.shader=null,n.simpleShader=null,n.quad=null,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.onContextChange=function(){var t=this.renderer.gl;this.shader=new n.Shader(t,"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)).xy, 0.0, 1.0);\n\n    vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n","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 = mod(vTextureCoord - uClampOffset, vec2(1.0, 1.0)) + uClampOffset;\n    coord = (uMapCoord * vec3(coord, 1.0)).xy;\n    coord = clamp(coord, uClampFrame.xy, uClampFrame.zw);\n\n    vec4 sample = texture2D(uSampler, coord);\n    gl_FragColor = sample * uColor;\n}\n"),this.simpleShader=new n.Shader(t,"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)).xy, 0.0, 1.0);\n\n    vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n","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"),this.renderer.bindVao(null),this.quad=new n.Quad(t,this.renderer.state.attribState),this.quad.initVao(this.shader)},e.prototype.render=function(t){var e=this.renderer,r=this.quad;e.bindVao(r.vao);var i=r.vertices;i[0]=i[6]=t._width*-t.anchor.x,i[1]=i[3]=t._height*-t.anchor.y,i[2]=i[4]=t._width*(1-t.anchor.x),i[5]=i[7]=t._height*(1-t.anchor.y),t.uvRespectAnchor&&((i=r.uvs)[0]=i[6]=-t.anchor.x,i[1]=i[3]=-t.anchor.y,i[2]=i[4]=1-t.anchor.x,i[5]=i[7]=1-t.anchor.y),r.upload();var a=t._texture,u=a.baseTexture,l=t.tileTransform.localTransform,h=t.uvTransform,c=u.isPowerOfTwo&&a.frame.width===u.width&&a.frame.height===u.height;c&&(u._glTextures[e.CONTEXT_UID]?c=u.wrapMode!==o.WRAP_MODES.CLAMP:u.wrapMode===o.WRAP_MODES.CLAMP&&(u.wrapMode=o.WRAP_MODES.REPEAT));var f=c?this.simpleShader:this.shader;e.bindShader(f);var d=a.width,p=a.height,v=t._width,y=t._height;s.set(l.a*d/v,l.b*d/y,l.c*p/v,l.d*p/y,l.tx/v,l.ty/y),s.invert(),c?s.prepend(h.mapCoord):(f.uniforms.uMapCoord=h.mapCoord.toArray(!0),f.uniforms.uClampFrame=h.uClampFrame,f.uniforms.uClampOffset=h.uClampOffset),f.uniforms.uTransform=s.toArray(!0),f.uniforms.uColor=n.utils.premultiplyTintToRgba(t.tint,t.worldAlpha,f.uniforms.uColor,u.premultipliedAlpha),f.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),f.uniforms.uSampler=e.bindTexture(a),e.setBlendMode(n.utils.correctBlendMode(t.blendMode,u.premultipliedAlpha)),r.vao.draw(this.renderer.gl.TRIANGLES,6,0)},e}(n.ObjectRenderer);e.default=a,n.WebGLRenderer.registerPlugin("tilingSprite",a)},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=l(r(204)),a=r(7),u=l(r(13));function l(t){return t&&t.__esModule?t:{default:t}}var h=function(t){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return o._textWidth=0,o._textHeight=0,o._glyphs=[],o._font={tint:void 0!==n.tint?n.tint:16777215,align:n.align||"left",name:null,size:0},o.font=n.font,o._text=r,o._maxWidth=0,o._maxLineHeight=0,o._letterSpacing=0,o._anchor=new s.default(function(){o.dirty=!0},o,0,0),o.dirty=!1,o.updateText(),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.updateText=function(){for(var t=e.fonts[this._font.name],r=this._font.size/t.size,i=new o.Point,n=[],s=[],a=this.text.replace(/(?:\r\n|\r)/g,"\n"),u=a.length,l=this._maxWidth*t.size/this._font.size,h=null,c=0,f=0,d=0,p=-1,v=0,y=0,m=0,g=0;g<u;g++){var _=a.charCodeAt(g),b=a.charAt(g);if(/(?:\s)/.test(b)&&(p=g,v=c),"\r"!==b&&"\n"!==b){var x=t.chars[_];x&&(h&&x.kerning[h]&&(i.x+=x.kerning[h]),n.push({texture:x.texture,line:d,charCode:_,position:new o.Point(i.x+x.xOffset+this._letterSpacing/2,i.y+x.yOffset)}),i.x+=x.xAdvance+this._letterSpacing,c=i.x,m=Math.max(m,x.yOffset+x.texture.height),h=_,-1!==p&&l>0&&i.x>l&&(++y,o.utils.removeItems(n,1+p-y,1+g-p),g=p,p=-1,s.push(v),f=Math.max(f,v),d++,i.x=0,i.y+=t.lineHeight,h=null))}else s.push(c),f=Math.max(f,c),++d,++y,i.x=0,i.y+=t.lineHeight,h=null}var w=a.charAt(a.length-1);"\r"!==w&&"\n"!==w&&(/(?:\s)/.test(w)&&(c=v),s.push(c),f=Math.max(f,c));for(var T=[],S=0;S<=d;S++){var E=0;"right"===this._font.align?E=f-s[S]:"center"===this._font.align&&(E=(f-s[S])/2),T.push(E)}for(var P=n.length,O=this.tint,M=0;M<P;M++){var A=this._glyphs[M];A?A.texture=n[M].texture:(A=new o.Sprite(n[M].texture),this._glyphs.push(A)),A.position.x=(n[M].position.x+T[n[M].line])*r,A.position.y=n[M].position.y*r,A.scale.x=A.scale.y=r,A.tint=O,A.parent||this.addChild(A)}for(var C=P;C<this._glyphs.length;++C)this.removeChild(this._glyphs[C]);if(this._textWidth=f*r,this._textHeight=(i.y+t.lineHeight)*r,0!==this.anchor.x||0!==this.anchor.y)for(var R=0;R<P;R++)this._glyphs[R].x-=this._textWidth*this.anchor.x,this._glyphs[R].y-=this._textHeight*this.anchor.y;this._maxLineHeight=m*r},e.prototype.updateTransform=function(){this.validate(),this.containerUpdateTransform()},e.prototype.getLocalBounds=function(){return this.validate(),t.prototype.getLocalBounds.call(this)},e.prototype.validate=function(){this.dirty&&(this.updateText(),this.dirty=!1)},e.registerFont=function(t,r){var i={},n=t.getElementsByTagName("info")[0],s=t.getElementsByTagName("common")[0],l=t.getElementsByTagName("page"),h=(0,a.getResolutionOfUrl)(l[0].getAttribute("file"),u.default.RESOLUTION),c={};i.font=n.getAttribute("face"),i.size=parseInt(n.getAttribute("size"),10),i.lineHeight=parseInt(s.getAttribute("lineHeight"),10)/h,i.chars={},r instanceof o.Texture&&(r=[r]);for(var f=0;f<l.length;f++){var d=l[f].getAttribute("id"),p=l[f].getAttribute("file");c[d]=r instanceof Array?r[f]:r[p]}for(var v=t.getElementsByTagName("char"),y=0;y<v.length;y++){var m=v[y],g=parseInt(m.getAttribute("id"),10),_=m.getAttribute("page")||0,b=new o.Rectangle(parseInt(m.getAttribute("x"),10)/h+c[_].frame.x/h,parseInt(m.getAttribute("y"),10)/h+c[_].frame.y/h,parseInt(m.getAttribute("width"),10)/h,parseInt(m.getAttribute("height"),10)/h);i.chars[g]={xOffset:parseInt(m.getAttribute("xoffset"),10)/h,yOffset:parseInt(m.getAttribute("yoffset"),10)/h,xAdvance:parseInt(m.getAttribute("xadvance"),10)/h,kerning:{},texture:new o.Texture(c[_].baseTexture,b),page:_}}for(var x=t.getElementsByTagName("kerning"),w=0;w<x.length;w++){var T=x[w],S=parseInt(T.getAttribute("first"),10)/h,E=parseInt(T.getAttribute("second"),10)/h,P=parseInt(T.getAttribute("amount"),10)/h;i.chars[E]&&(i.chars[E].kerning[S]=P)}return e.fonts[i.font]=i,i},n(e,[{key:"tint",get:function(){return this._font.tint},set:function(t){this._font.tint="number"==typeof t&&t>=0?t:16777215,this.dirty=!0}},{key:"align",get:function(){return this._font.align},set:function(t){this._font.align=t||"left",this.dirty=!0}},{key:"anchor",get:function(){return this._anchor},set:function(t){"number"==typeof t?this._anchor.set(t):this._anchor.copy(t)}},{key:"font",get:function(){return this._font},set:function(t){t&&("string"==typeof t?(t=t.split(" "),this._font.name=1===t.length?t[0]:t.slice(1).join(" "),this._font.size=t.length>=2?parseInt(t[0],10):e.fonts[this._font.name].size):(this._font.name=t.name,this._font.size="number"==typeof t.size?t.size:parseInt(t.size,10)),this.dirty=!0)}},{key:"text",get:function(){return this._text},set:function(t){t=t.toString()||" ",this._text!==t&&(this._text=t,this.dirty=!0)}},{key:"maxWidth",get:function(){return this._maxWidth},set:function(t){this._maxWidth!==t&&(this._maxWidth=t,this.dirty=!0)}},{key:"maxLineHeight",get:function(){return this.validate(),this._maxLineHeight}},{key:"textWidth",get:function(){return this.validate(),this._textWidth}},{key:"letterSpacing",get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.dirty=!0)}},{key:"textHeight",get:function(){return this.validate(),this._textHeight}}]),e}(o.Container);e.default=h,h.fonts={}},function(t,e,r){"use strict";var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),n=a(r(41)),o=a(r(60)),s=r(7);function a(t){return t&&t.__esModule?t:{default:t}}var u=i.DisplayObject,l=new i.Matrix;u.prototype._cacheAsBitmap=!1,u.prototype._cacheData=!1;var h=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.textureCacheId=null,this.originalRenderWebGL=null,this.originalRenderCanvas=null,this.originalCalculateBounds=null,this.originalGetLocalBounds=null,this.originalUpdateTransform=null,this.originalHitTest=null,this.originalDestroy=null,this.originalMask=null,this.originalFilterArea=null,this.sprite=null};Object.defineProperties(u.prototype,{cacheAsBitmap:{get:function(){return this._cacheAsBitmap},set:function(t){if(this._cacheAsBitmap!==t){this._cacheAsBitmap=t;var e=void 0;t?(this._cacheData||(this._cacheData=new h),(e=this._cacheData).originalRenderWebGL=this.renderWebGL,e.originalRenderCanvas=this.renderCanvas,e.originalUpdateTransform=this.updateTransform,e.originalCalculateBounds=this.calculateBounds,e.originalGetLocalBounds=this.getLocalBounds,e.originalDestroy=this.destroy,e.originalContainsPoint=this.containsPoint,e.originalMask=this._mask,e.originalFilterArea=this.filterArea,this.renderWebGL=this._renderCachedWebGL,this.renderCanvas=this._renderCachedCanvas,this.destroy=this._cacheAsBitmapDestroy):((e=this._cacheData).sprite&&this._destroyCachedDisplayObject(),this.renderWebGL=e.originalRenderWebGL,this.renderCanvas=e.originalRenderCanvas,this.calculateBounds=e.originalCalculateBounds,this.getLocalBounds=e.originalGetLocalBounds,this.destroy=e.originalDestroy,this.updateTransform=e.originalUpdateTransform,this.containsPoint=e.originalContainsPoint,this._mask=e.originalMask,this.filterArea=e.originalFilterArea)}}}}),u.prototype._renderCachedWebGL=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObject(t),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._renderWebGL(t))},u.prototype._initCachedDisplayObject=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.alpha;this.alpha=1,t.currentRenderer.flush();var r=this.getLocalBounds().clone();if(this._filters&&this._filters.length){var a=this._filters[0].padding;r.pad(a)}r.ceil(i.settings.RESOLUTION);var u=t._activeRenderTarget,h=t.filterManager.filterStack,c=i.RenderTexture.create(r.width,r.height),f="cacheAsBitmap_"+(0,s.uid)();this._cacheData.textureCacheId=f,o.default.addToCache(c.baseTexture,f),n.default.addToCache(c,f);var d=l;d.tx=-r.x,d.ty=-r.y,this.transform.worldTransform.identity(),this.renderWebGL=this._cacheData.originalRenderWebGL,t.render(this,c,!0,d,!0),t.bindRenderTarget(u),t.filterManager.filterStack=h,this.renderWebGL=this._renderCachedWebGL,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null;var p=new i.Sprite(c);p.transform.worldTransform=this.transform.worldTransform,p.anchor.x=-r.x/r.width,p.anchor.y=-r.y/r.height,p.alpha=e,p._bounds=this._bounds,this._cacheData.sprite=p,this.transform._parentID=-1,this.parent?this.updateTransform():(this.parent=t._tempDisplayObjectParent,this.updateTransform(),this.parent=null),this.containsPoint=p.containsPoint.bind(p)}},u.prototype._renderCachedCanvas=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObjectCanvas(t),this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._renderCanvas(t))},u.prototype._initCachedDisplayObjectCanvas=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.getLocalBounds(),r=this.alpha;this.alpha=1;var a=t.context;e.ceil(i.settings.RESOLUTION);var u=i.RenderTexture.create(e.width,e.height),h="cacheAsBitmap_"+(0,s.uid)();this._cacheData.textureCacheId=h,o.default.addToCache(u.baseTexture,h),n.default.addToCache(u,h);var c=l;this.transform.localTransform.copy(c),c.invert(),c.tx-=e.x,c.ty-=e.y,this.renderCanvas=this._cacheData.originalRenderCanvas,t.render(this,u,!0,c,!1),t.context=a,this.renderCanvas=this._renderCachedCanvas,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null;var f=new i.Sprite(u);f.transform.worldTransform=this.transform.worldTransform,f.anchor.x=-e.x/e.width,f.anchor.y=-e.y/e.height,f.alpha=r,f._bounds=this._bounds,this._cacheData.sprite=f,this.transform._parentID=-1,this.parent?this.updateTransform():(this.parent=t._tempDisplayObjectParent,this.updateTransform(),this.parent=null),this.containsPoint=f.containsPoint.bind(f)}},u.prototype._calculateCachedBounds=function(){this._bounds.clear(),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite._calculateBounds(),this._lastBoundsID=this._boundsID},u.prototype._getCachedLocalBounds=function(){return this._cacheData.sprite.getLocalBounds()},u.prototype._destroyCachedDisplayObject=function(){this._cacheData.sprite._texture.destroy(!0),this._cacheData.sprite=null,o.default.removeFromCache(this._cacheData.textureCacheId),n.default.removeFromCache(this._cacheData.textureCacheId),this._cacheData.textureCacheId=null},u.prototype._cacheAsBitmapDestroy=function(t){this.cacheAsBitmap=!1,this.destroy(t)}},function(t,e,r){"use strict";var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));i.DisplayObject.prototype.name=null,i.Container.prototype.getChildByName=function(t){for(var e=0;e<this.children.length;e++)if(this.children[e].name===t)return this.children[e];return null}},function(t,e,r){"use strict";var i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));i.DisplayObject.prototype.getGlobalPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new i.Point,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.parent?this.parent.toGlobal(this.position,t,e):(t.x=this.position.x,t.y=this.position.y),t}},function(t,e,r){"use strict";e.__esModule=!0;var i=r(568);Object.defineProperty(e,"FXAAFilter",{enumerable:!0,get:function(){return c(i).default}});var n=r(569);Object.defineProperty(e,"NoiseFilter",{enumerable:!0,get:function(){return c(n).default}});var o=r(570);Object.defineProperty(e,"DisplacementFilter",{enumerable:!0,get:function(){return c(o).default}});var s=r(571);Object.defineProperty(e,"BlurFilter",{enumerable:!0,get:function(){return c(s).default}});var a=r(238);Object.defineProperty(e,"BlurXFilter",{enumerable:!0,get:function(){return c(a).default}});var u=r(242);Object.defineProperty(e,"BlurYFilter",{enumerable:!0,get:function(){return c(u).default}});var l=r(572);Object.defineProperty(e,"ColorMatrixFilter",{enumerable:!0,get:function(){return c(l).default}});var h=r(573);function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"AlphaFilter",{enumerable:!0,get:function(){return c(h).default}})},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));r(35);var o=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,"\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nuniform vec4 filterArea;\n\nvarying vec2 vTextureCoord;\n\nvec2 mapCoord( vec2 coord )\n{\n    coord *= filterArea.xy;\n    coord += filterArea.zw;\n\n    return coord;\n}\n\nvec2 unmapCoord( vec2 coord )\n{\n    coord -= filterArea.zw;\n    coord /= filterArea.xy;\n\n    return coord;\n}\n\nvoid texcoords(vec2 fragCoord, vec2 resolution,\n               out vec2 v_rgbNW, out vec2 v_rgbNE,\n               out vec2 v_rgbSW, out vec2 v_rgbSE,\n               out vec2 v_rgbM) {\n    vec2 inverseVP = 1.0 / resolution.xy;\n    v_rgbNW = (fragCoord + vec2(-1.0, -1.0)) * inverseVP;\n    v_rgbNE = (fragCoord + vec2(1.0, -1.0)) * inverseVP;\n    v_rgbSW = (fragCoord + vec2(-1.0, 1.0)) * inverseVP;\n    v_rgbSE = (fragCoord + vec2(1.0, 1.0)) * inverseVP;\n    v_rgbM = vec2(fragCoord * inverseVP);\n}\n\nvoid main(void) {\n\n   gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n   vTextureCoord = aTextureCoord;\n\n   vec2 fragCoord = vTextureCoord * filterArea.xy;\n\n   texcoords(fragCoord, filterArea.xy, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n}",'varying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\n/**\n Basic FXAA implementation based on the code on geeks3d.com with the\n modification that the texture2DLod stuff was removed since it\'s\n unsupported by WebGL.\n \n --\n \n From:\n https://github.com/mitsuhiko/webgl-meincraft\n \n Copyright (c) 2011 by Armin Ronacher.\n \n Some rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n \n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials provided\n with the distribution.\n \n * The names of the contributors may not be used to endorse or\n promote products derived from this software without specific\n prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n#ifndef FXAA_REDUCE_MIN\n#define FXAA_REDUCE_MIN   (1.0/ 128.0)\n#endif\n#ifndef FXAA_REDUCE_MUL\n#define FXAA_REDUCE_MUL   (1.0 / 8.0)\n#endif\n#ifndef FXAA_SPAN_MAX\n#define FXAA_SPAN_MAX     8.0\n#endif\n\n//optimized version for mobile, where dependent\n//texture reads can be a bottleneck\nvec4 fxaa(sampler2D tex, vec2 fragCoord, vec2 resolution,\n          vec2 v_rgbNW, vec2 v_rgbNE,\n          vec2 v_rgbSW, vec2 v_rgbSE,\n          vec2 v_rgbM) {\n    vec4 color;\n    mediump vec2 inverseVP = vec2(1.0 / resolution.x, 1.0 / resolution.y);\n    vec3 rgbNW = texture2D(tex, v_rgbNW).xyz;\n    vec3 rgbNE = texture2D(tex, v_rgbNE).xyz;\n    vec3 rgbSW = texture2D(tex, v_rgbSW).xyz;\n    vec3 rgbSE = texture2D(tex, v_rgbSE).xyz;\n    vec4 texColor = texture2D(tex, v_rgbM);\n    vec3 rgbM  = texColor.xyz;\n    vec3 luma = vec3(0.299, 0.587, 0.114);\n    float lumaNW = dot(rgbNW, luma);\n    float lumaNE = dot(rgbNE, luma);\n    float lumaSW = dot(rgbSW, luma);\n    float lumaSE = dot(rgbSE, luma);\n    float lumaM  = dot(rgbM,  luma);\n    float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));\n    float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));\n    \n    mediump vec2 dir;\n    dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n    dir.y =  ((lumaNW + lumaSW) - (lumaNE + lumaSE));\n    \n    float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) *\n                          (0.25 * FXAA_REDUCE_MUL), FXAA_REDUCE_MIN);\n    \n    float rcpDirMin = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);\n    dir = min(vec2(FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n              max(vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n                  dir * rcpDirMin)) * inverseVP;\n    \n    vec3 rgbA = 0.5 * (\n                       texture2D(tex, fragCoord * inverseVP + dir * (1.0 / 3.0 - 0.5)).xyz +\n                       texture2D(tex, fragCoord * inverseVP + dir * (2.0 / 3.0 - 0.5)).xyz);\n    vec3 rgbB = rgbA * 0.5 + 0.25 * (\n                                     texture2D(tex, fragCoord * inverseVP + dir * -0.5).xyz +\n                                     texture2D(tex, fragCoord * inverseVP + dir * 0.5).xyz);\n    \n    float lumaB = dot(rgbB, luma);\n    if ((lumaB < lumaMin) || (lumaB > lumaMax))\n        color = vec4(rgbA, texColor.a);\n    else\n        color = vec4(rgbB, texColor.a);\n    return color;\n}\n\nvoid main() {\n\n      vec2 fragCoord = vTextureCoord * filterArea.xy;\n\n      vec4 color;\n\n    color = fxaa(uSampler, fragCoord, filterArea.xy, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n\n      gl_FragColor = color;\n}\n'))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(n.Filter);e.default=o},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));r(35);var s=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.5,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.random();!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n    vTextureCoord = aTextureCoord;\n}","precision highp float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform float uNoise;\nuniform float uSeed;\nuniform sampler2D uSampler;\n\nfloat rand(vec2 co)\n{\n    return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main()\n{\n    vec4 color = texture2D(uSampler, vTextureCoord);\n    float randomValue = rand(gl_FragCoord.xy * uSeed);\n    float diff = (randomValue - 0.5) * uNoise;\n\n    // Un-premultiply alpha before applying the color matrix. See issue #3539.\n    if (color.a > 0.0) {\n        color.rgb /= color.a;\n    }\n\n    color.r += diff;\n    color.g += diff;\n    color.b += diff;\n\n    // Premultiply alpha again.\n    color.rgb *= color.a;\n\n    gl_FragColor = color;\n}\n"));return o.noise=r,o.seed=n,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"noise",get:function(){return this.uniforms.uNoise},set:function(t){this.uniforms.uNoise=t}},{key:"seed",get:function(){return this.uniforms.uSeed},set:function(t){this.uniforms.uSeed=t}}]),e}(o.Filter);e.default=s},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));r(35);var s=function(t){function e(r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var s=new o.Matrix;r.renderable=!1;var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 filterMatrix;\n\nvarying vec2 vTextureCoord;\nvarying vec2 vFilterCoord;\n\nvoid main(void)\n{\n   gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n   vFilterCoord = ( filterMatrix * vec3( aTextureCoord, 1.0)  ).xy;\n   vTextureCoord = aTextureCoord;\n}","varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\n\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\n\nvoid main(void)\n{\n  vec4 map =  texture2D(mapSampler, vFilterCoord);\n\n  map -= 0.5;\n  map.xy *= scale / filterArea.xy;\n\n  gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), filterClamp.xy, filterClamp.zw));\n}\n"));return a.maskSprite=r,a.maskMatrix=s,a.uniforms.mapSampler=r._texture,a.uniforms.filterMatrix=s,a.uniforms.scale={x:1,y:1},null!==n&&void 0!==n||(n=20),a.scale=new o.Point(n,n),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.apply=function(t,e,r){this.uniforms.filterMatrix=t.calculateSpriteMatrix(this.maskMatrix,this.maskSprite),this.uniforms.scale.x=this.scale.x,this.uniforms.scale.y=this.scale.y,t.applyFilter(this,e,r)},n(e,[{key:"map",get:function(){return this.uniforms.mapSampler},set:function(t){this.uniforms.mapSampler=t}}]),e}(o.Filter);e.default=s},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=u(r(238)),a=u(r(242));function u(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(r,n,u,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var h=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return h.blurXFilter=new s.default(r,n,u,l),h.blurYFilter=new a.default(r,n,u,l),h.padding=0,h.resolution=u||o.settings.RESOLUTION,h.quality=n||4,h.blur=r||8,h}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.apply=function(t,e,r){var i=t.getRenderTarget(!0);this.blurXFilter.apply(t,e,i,!0),this.blurYFilter.apply(t,i,r,!1),t.returnRenderTarget(i)},n(e,[{key:"blur",get:function(){return this.blurXFilter.blur},set:function(t){this.blurXFilter.blur=this.blurYFilter.blur=t,this.padding=2*Math.max(Math.abs(this.blurXFilter.strength),Math.abs(this.blurYFilter.strength))}},{key:"quality",get:function(){return this.blurXFilter.quality},set:function(t){this.blurXFilter.quality=this.blurYFilter.quality=t}},{key:"blurX",get:function(){return this.blurXFilter.blur},set:function(t){this.blurXFilter.blur=t,this.padding=2*Math.max(Math.abs(this.blurXFilter.strength),Math.abs(this.blurYFilter.strength))}},{key:"blurY",get:function(){return this.blurYFilter.blur},set:function(t){this.blurYFilter.blur=t,this.padding=2*Math.max(Math.abs(this.blurXFilter.strength),Math.abs(this.blurYFilter.strength))}},{key:"blendMode",get:function(){return this.blurYFilter._blendMode},set:function(t){this.blurYFilter._blendMode=t}}]),e}(o.Filter);e.default=l},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));r(35);var s=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n    vTextureCoord = aTextureCoord;\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"));return r.uniforms.m=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],r.alpha=1,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._loadMatrix=function(t){var e=t;arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(this._multiply(e,this.uniforms.m,t),e=this._colorMatrix(e)),this.uniforms.m=e},e.prototype._multiply=function(t,e,r){return t[0]=e[0]*r[0]+e[1]*r[5]+e[2]*r[10]+e[3]*r[15],t[1]=e[0]*r[1]+e[1]*r[6]+e[2]*r[11]+e[3]*r[16],t[2]=e[0]*r[2]+e[1]*r[7]+e[2]*r[12]+e[3]*r[17],t[3]=e[0]*r[3]+e[1]*r[8]+e[2]*r[13]+e[3]*r[18],t[4]=e[0]*r[4]+e[1]*r[9]+e[2]*r[14]+e[3]*r[19]+e[4],t[5]=e[5]*r[0]+e[6]*r[5]+e[7]*r[10]+e[8]*r[15],t[6]=e[5]*r[1]+e[6]*r[6]+e[7]*r[11]+e[8]*r[16],t[7]=e[5]*r[2]+e[6]*r[7]+e[7]*r[12]+e[8]*r[17],t[8]=e[5]*r[3]+e[6]*r[8]+e[7]*r[13]+e[8]*r[18],t[9]=e[5]*r[4]+e[6]*r[9]+e[7]*r[14]+e[8]*r[19]+e[9],t[10]=e[10]*r[0]+e[11]*r[5]+e[12]*r[10]+e[13]*r[15],t[11]=e[10]*r[1]+e[11]*r[6]+e[12]*r[11]+e[13]*r[16],t[12]=e[10]*r[2]+e[11]*r[7]+e[12]*r[12]+e[13]*r[17],t[13]=e[10]*r[3]+e[11]*r[8]+e[12]*r[13]+e[13]*r[18],t[14]=e[10]*r[4]+e[11]*r[9]+e[12]*r[14]+e[13]*r[19]+e[14],t[15]=e[15]*r[0]+e[16]*r[5]+e[17]*r[10]+e[18]*r[15],t[16]=e[15]*r[1]+e[16]*r[6]+e[17]*r[11]+e[18]*r[16],t[17]=e[15]*r[2]+e[16]*r[7]+e[17]*r[12]+e[18]*r[17],t[18]=e[15]*r[3]+e[16]*r[8]+e[17]*r[13]+e[18]*r[18],t[19]=e[15]*r[4]+e[16]*r[9]+e[17]*r[14]+e[18]*r[19]+e[19],t},e.prototype._colorMatrix=function(t){var e=new Float32Array(t);return e[4]/=255,e[9]/=255,e[14]/=255,e[19]/=255,e},e.prototype.brightness=function(t,e){var r=[t,0,0,0,0,0,t,0,0,0,0,0,t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},e.prototype.greyscale=function(t,e){var r=[t,t,t,0,0,t,t,t,0,0,t,t,t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},e.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)},e.prototype.hue=function(t,e){t=(t||0)/180*Math.PI;var r=Math.cos(t),i=Math.sin(t),n=1/3,o=(0,Math.sqrt)(n),s=[r+(1-r)*n,n*(1-r)-o*i,n*(1-r)+o*i,0,0,n*(1-r)+o*i,r+n*(1-r),n*(1-r)-o*i,0,0,n*(1-r)-o*i,n*(1-r)+o*i,r+n*(1-r),0,0,0,0,0,1,0];this._loadMatrix(s,e)},e.prototype.contrast=function(t,e){var r=(t||0)+1,i=-.5*(r-1),n=[r,0,0,0,i,0,r,0,0,i,0,0,r,0,i,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.saturate=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments[1],r=2*t/3+1,i=-.5*(r-1),n=[r,i,i,0,0,i,r,i,0,0,i,i,r,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.desaturate=function(){this.saturate(-1)},e.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)},e.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)},e.prototype.technicolor=function(t){this._loadMatrix([1.9125277891456083,-.8545344976951645,-.09155508482755585,0,11.793603434377337,-.3087833385928097,1.7658908555458428,-.10601743074722245,0,-70.35205161461398,-.231103377548616,-.7501899197440212,1.847597816108189,0,30.950940869491138,0,0,0,1,0],t)},e.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)},e.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)},e.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)},e.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)},e.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)},e.prototype.colorTone=function(t,e,r,i,n){t=t||.2,e=e||.15;var o=((r=r||16770432)>>16&255)/255,s=(r>>8&255)/255,a=(255&r)/255,u=((i=i||3375104)>>16&255)/255,l=(i>>8&255)/255,h=(255&i)/255,c=[.3,.59,.11,0,0,o,s,a,t,0,u,l,h,e,0,o-u,s-l,a-h,0,0];this._loadMatrix(c,n)},e.prototype.night=function(t,e){var r=[-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(r,e)},e.prototype.predator=function(t,e){var r=[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(r,e)},e.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)},e.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)},n(e,[{key:"matrix",get:function(){return this.uniforms.m},set:function(t){this.uniforms.m=t}},{key:"alpha",get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t}}]),e}(o.Filter);e.default=s,s.prototype.grayscale=s.prototype.greyscale},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));r(35);var s=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n    vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n   gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n"));return n.alpha=r,n.glShaderKey="alpha",n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"alpha",get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t}}]),e}(o.Filter);e.default=s},function(t,e,r){"use strict";e.__esModule=!0;var i=r(243);Object.defineProperty(e,"InteractionData",{enumerable:!0,get:function(){return u(i).default}});var n=r(575);Object.defineProperty(e,"InteractionManager",{enumerable:!0,get:function(){return u(n).default}});var o=r(246);Object.defineProperty(e,"interactiveTarget",{enumerable:!0,get:function(){return u(o).default}});var s=r(245);Object.defineProperty(e,"InteractionTrackingData",{enumerable:!0,get:function(){return u(s).default}});var a=r(244);function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"InteractionEvent",{enumerable:!0,get:function(){return u(a).default}})},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return void 0===t?"undefined":i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":i(t)},o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=c(r(243)),a=c(r(244)),u=c(r(245)),l=c(r(55)),h=c(r(246));function c(t){return t&&t.__esModule?t:{default:t}}o.utils.mixins.delayMixin(o.DisplayObject.prototype,h.default);var f=1,d={target:null,data:{global:null}},p=function(t){function e(r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return n=n||{},u.renderer=r,u.autoPreventDefault=void 0===n.autoPreventDefault||n.autoPreventDefault,u.interactionFrequency=n.interactionFrequency||10,u.mouse=new s.default,u.mouse.identifier=f,u.mouse.global.set(-999999),u.activeInteractionData={},u.activeInteractionData[f]=u.mouse,u.interactionDataPool=[],u.eventData=new a.default,u.interactionDOMElement=null,u.moveWhenInside=!1,u.eventsAdded=!1,u.mouseOverRenderer=!1,u.supportsTouchEvents="ontouchstart"in window,u.supportsPointerEvents=!!window.PointerEvent,u.onPointerUp=u.onPointerUp.bind(u),u.processPointerUp=u.processPointerUp.bind(u),u.onPointerCancel=u.onPointerCancel.bind(u),u.processPointerCancel=u.processPointerCancel.bind(u),u.onPointerDown=u.onPointerDown.bind(u),u.processPointerDown=u.processPointerDown.bind(u),u.onPointerMove=u.onPointerMove.bind(u),u.processPointerMove=u.processPointerMove.bind(u),u.onPointerOut=u.onPointerOut.bind(u),u.processPointerOverOut=u.processPointerOverOut.bind(u),u.onPointerOver=u.onPointerOver.bind(u),u.cursorStyles={default:"inherit",pointer:"pointer"},u.currentCursorMode=null,u.cursor=null,u._tempPoint=new o.Point,u.resolution=1,u.setTargetElement(u.renderer.view,u.renderer.resolution),u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.hitTest=function(t,e){return d.target=null,d.data.global=t,e||(e=this.renderer._lastObjectRendered),this.processInteractive(d,e,null,!0),d.target},e.prototype.setTargetElement=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.removeEvents(),this.interactionDOMElement=t,this.resolution=e,this.addEvents()},e.prototype.addEvents=function(){this.interactionDOMElement&&(o.ticker.shared.add(this.update,this,o.UPDATE_PRIORITY.INTERACTION),window.navigator.msPointerEnabled?(this.interactionDOMElement.style["-ms-content-zooming"]="none",this.interactionDOMElement.style["-ms-touch-action"]="none"):this.supportsPointerEvents&&(this.interactionDOMElement.style["touch-action"]="none"),this.supportsPointerEvents?(window.document.addEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("pointerover",this.onPointerOver,!0),window.addEventListener("pointercancel",this.onPointerCancel,!0),window.addEventListener("pointerup",this.onPointerUp,!0)):(window.document.addEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("mouseover",this.onPointerOver,!0),window.addEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.addEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.addEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.addEventListener("touchmove",this.onPointerMove,!0)),this.eventsAdded=!0)},e.prototype.removeEvents=function(){this.interactionDOMElement&&(o.ticker.shared.remove(this.update,this),window.navigator.msPointerEnabled?(this.interactionDOMElement.style["-ms-content-zooming"]="",this.interactionDOMElement.style["-ms-touch-action"]=""):this.supportsPointerEvents&&(this.interactionDOMElement.style["touch-action"]=""),this.supportsPointerEvents?(window.document.removeEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("pointerover",this.onPointerOver,!0),window.removeEventListener("pointercancel",this.onPointerCancel,!0),window.removeEventListener("pointerup",this.onPointerUp,!0)):(window.document.removeEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("mouseover",this.onPointerOver,!0),window.removeEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.removeEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.removeEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.removeEventListener("touchmove",this.onPointerMove,!0)),this.interactionDOMElement=null,this.eventsAdded=!1)},e.prototype.update=function(t){if(this._deltaTime+=t,!(this._deltaTime<this.interactionFrequency)&&(this._deltaTime=0,this.interactionDOMElement))if(this.didMove)this.didMove=!1;else{for(var e in this.cursor=null,this.activeInteractionData)if(this.activeInteractionData.hasOwnProperty(e)){var r=this.activeInteractionData[e];if(r.originalEvent&&"touch"!==r.pointerType){var i=this.configureInteractionEventForDOMEvent(this.eventData,r.originalEvent,r);this.processInteractive(i,this.renderer._lastObjectRendered,this.processPointerOverOut,!0)}}this.setCursorMode(this.cursor)}},e.prototype.setCursorMode=function(t){if(t=t||"default",this.currentCursorMode!==t){this.currentCursorMode=t;var e=this.cursorStyles[t];if(e)switch(void 0===e?"undefined":n(e)){case"string":this.interactionDOMElement.style.cursor=e;break;case"function":e(t);break;case"object":Object.assign(this.interactionDOMElement.style,e)}else"string"!=typeof t||Object.prototype.hasOwnProperty.call(this.cursorStyles,t)||(this.interactionDOMElement.style.cursor=t)}},e.prototype.dispatchEvent=function(t,e,r){r.stopped||(r.currentTarget=t,r.type=e,t.emit(e,r),t[e]&&t[e](r))},e.prototype.mapPositionToPoint=function(t,e,r){var i=void 0;i=this.interactionDOMElement.parentElement?this.interactionDOMElement.getBoundingClientRect():{x:0,y:0,width:0,height:0};var n=navigator.isCocoonJS?this.resolution:1/this.resolution;t.x=(e-i.left)*(this.interactionDOMElement.width/i.width)*n,t.y=(r-i.top)*(this.interactionDOMElement.height/i.height)*n},e.prototype.processInteractive=function(t,e,r,i,n){if(!e||!e.visible)return!1;var o=t.data.global,s=!1,a=n=e.interactive||n,u=!0;if(e.hitArea?(i&&(e.worldTransform.applyInverse(o,this._tempPoint),e.hitArea.contains(this._tempPoint.x,this._tempPoint.y)?s=!0:(i=!1,u=!1)),a=!1):e._mask&&i&&(e._mask.containsPoint(o)||(i=!1,u=!1)),u&&e.interactiveChildren&&e.children)for(var l=e.children,h=l.length-1;h>=0;h--){var c=l[h],f=this.processInteractive(t,c,r,i,a);if(f){if(!c.parent)continue;a=!1,f&&(t.target&&(i=!1),s=!0)}}return n&&(i&&!t.target&&!e.hitArea&&e.containsPoint&&e.containsPoint(o)&&(s=!0),e.interactive&&(s&&!t.target&&(t.target=e),r&&r(t,e,!!s))),s},e.prototype.onPointerDown=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);this.autoPreventDefault&&e[0].isNormalized&&t.preventDefault();for(var r=e.length,i=0;i<r;i++){var n=e[i],o=this.getInteractionDataForPointerId(n),s=this.configureInteractionEventForDOMEvent(this.eventData,n,o);if(s.data.originalEvent=t,this.processInteractive(s,this.renderer._lastObjectRendered,this.processPointerDown,!0),this.emit("pointerdown",s),"touch"===n.pointerType)this.emit("touchstart",s);else if("mouse"===n.pointerType||"pen"===n.pointerType){var a=2===n.button;this.emit(a?"rightdown":"mousedown",this.eventData)}}}},e.prototype.processPointerDown=function(t,e,r){var i=t.data,n=t.data.identifier;if(r)if(e.trackedPointers[n]||(e.trackedPointers[n]=new u.default(n)),this.dispatchEvent(e,"pointerdown",t),"touch"===i.pointerType)this.dispatchEvent(e,"touchstart",t);else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;o?e.trackedPointers[n].rightDown=!0:e.trackedPointers[n].leftDown=!0,this.dispatchEvent(e,o?"rightdown":"mousedown",t)}},e.prototype.onPointerComplete=function(t,e,r){for(var i=this.normalizeToPointerData(t),n=i.length,o=t.target!==this.interactionDOMElement?"outside":"",s=0;s<n;s++){var a=i[s],u=this.getInteractionDataForPointerId(a),l=this.configureInteractionEventForDOMEvent(this.eventData,a,u);if(l.data.originalEvent=t,this.processInteractive(l,this.renderer._lastObjectRendered,r,e||!o),this.emit(e?"pointercancel":"pointerup"+o,l),"mouse"===a.pointerType||"pen"===a.pointerType){var h=2===a.button;this.emit(h?"rightup"+o:"mouseup"+o,l)}else"touch"===a.pointerType&&(this.emit(e?"touchcancel":"touchend"+o,l),this.releaseInteractionDataForPointerId(a.pointerId,u))}},e.prototype.onPointerCancel=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!0,this.processPointerCancel)},e.prototype.processPointerCancel=function(t,e){var r=t.data,i=t.data.identifier;void 0!==e.trackedPointers[i]&&(delete e.trackedPointers[i],this.dispatchEvent(e,"pointercancel",t),"touch"===r.pointerType&&this.dispatchEvent(e,"touchcancel",t))},e.prototype.onPointerUp=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!1,this.processPointerUp)},e.prototype.processPointerUp=function(t,e,r){var i=t.data,n=t.data.identifier,o=e.trackedPointers[n],s="touch"===i.pointerType,a="mouse"===i.pointerType||"pen"===i.pointerType,l=!1;if(a){var h=2===i.button,c=u.default.FLAGS,f=h?c.RIGHT_DOWN:c.LEFT_DOWN,d=void 0!==o&&o.flags&f;r?(this.dispatchEvent(e,h?"rightup":"mouseup",t),d&&(this.dispatchEvent(e,h?"rightclick":"click",t),l=!0)):d&&this.dispatchEvent(e,h?"rightupoutside":"mouseupoutside",t),o&&(h?o.rightDown=!1:o.leftDown=!1)}r?(this.dispatchEvent(e,"pointerup",t),s&&this.dispatchEvent(e,"touchend",t),o&&(a&&!l||this.dispatchEvent(e,"pointertap",t),s&&(this.dispatchEvent(e,"tap",t),o.over=!1))):o&&(this.dispatchEvent(e,"pointerupoutside",t),s&&this.dispatchEvent(e,"touchendoutside",t)),o&&o.none&&delete e.trackedPointers[n]},e.prototype.onPointerMove=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);"mouse"!==e[0].pointerType&&"pen"!==e[0].pointerType||(this.didMove=!0,this.cursor=null);for(var r=e.length,i=0;i<r;i++){var n=e[i],o=this.getInteractionDataForPointerId(n),s=this.configureInteractionEventForDOMEvent(this.eventData,n,o);s.data.originalEvent=t;var a="touch"!==n.pointerType||this.moveWhenInside;this.processInteractive(s,this.renderer._lastObjectRendered,this.processPointerMove,a),this.emit("pointermove",s),"touch"===n.pointerType&&this.emit("touchmove",s),"mouse"!==n.pointerType&&"pen"!==n.pointerType||this.emit("mousemove",s)}"mouse"===e[0].pointerType&&this.setCursorMode(this.cursor)}},e.prototype.processPointerMove=function(t,e,r){var i=t.data,n="touch"===i.pointerType,o="mouse"===i.pointerType||"pen"===i.pointerType;o&&this.processPointerOverOut(t,e,r),this.moveWhenInside&&!r||(this.dispatchEvent(e,"pointermove",t),n&&this.dispatchEvent(e,"touchmove",t),o&&this.dispatchEvent(e,"mousemove",t))},e.prototype.onPointerOut=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t)[0];"mouse"===e.pointerType&&(this.mouseOverRenderer=!1,this.setCursorMode(null));var r=this.getInteractionDataForPointerId(e),i=this.configureInteractionEventForDOMEvent(this.eventData,e,r);i.data.originalEvent=e,this.processInteractive(i,this.renderer._lastObjectRendered,this.processPointerOverOut,!1),this.emit("pointerout",i),"mouse"===e.pointerType||"pen"===e.pointerType?this.emit("mouseout",i):this.releaseInteractionDataForPointerId(r.identifier)}},e.prototype.processPointerOverOut=function(t,e,r){var i=t.data,n=t.data.identifier,o="mouse"===i.pointerType||"pen"===i.pointerType,s=e.trackedPointers[n];r&&!s&&(s=e.trackedPointers[n]=new u.default(n)),void 0!==s&&(r&&this.mouseOverRenderer?(s.over||(s.over=!0,this.dispatchEvent(e,"pointerover",t),o&&this.dispatchEvent(e,"mouseover",t)),o&&null===this.cursor&&(this.cursor=e.cursor)):s.over&&(s.over=!1,this.dispatchEvent(e,"pointerout",this.eventData),o&&this.dispatchEvent(e,"mouseout",t),s.none&&delete e.trackedPointers[n]))},e.prototype.onPointerOver=function(t){var e=this.normalizeToPointerData(t)[0],r=this.getInteractionDataForPointerId(e),i=this.configureInteractionEventForDOMEvent(this.eventData,e,r);i.data.originalEvent=e,"mouse"===e.pointerType&&(this.mouseOverRenderer=!0),this.emit("pointerover",i),"mouse"!==e.pointerType&&"pen"!==e.pointerType||this.emit("mouseover",i)},e.prototype.getInteractionDataForPointerId=function(t){var e=t.pointerId,r=void 0;return e===f||"mouse"===t.pointerType?r=this.mouse:this.activeInteractionData[e]?r=this.activeInteractionData[e]:((r=this.interactionDataPool.pop()||new s.default).identifier=e,this.activeInteractionData[e]=r),r.copyEvent(t),r},e.prototype.releaseInteractionDataForPointerId=function(t){var e=this.activeInteractionData[t];e&&(delete this.activeInteractionData[t],e.reset(),this.interactionDataPool.push(e))},e.prototype.configureInteractionEventForDOMEvent=function(t,e,r){return t.data=r,this.mapPositionToPoint(r.global,e.clientX,e.clientY),navigator.isCocoonJS&&"touch"===e.pointerType&&(r.global.x=r.global.x/this.resolution,r.global.y=r.global.y/this.resolution),"touch"===e.pointerType&&(e.globalX=r.global.x,e.globalY=r.global.y),r.originalEvent=e,t.reset(),t},e.prototype.normalizeToPointerData=function(t){var e=[];if(this.supportsTouchEvents&&t instanceof TouchEvent)for(var r=0,i=t.changedTouches.length;r<i;r++){var n=t.changedTouches[r];void 0===n.button&&(n.button=t.touches.length?1:0),void 0===n.buttons&&(n.buttons=t.touches.length?1:0),void 0===n.isPrimary&&(n.isPrimary=1===t.touches.length&&"touchstart"===t.type),void 0===n.width&&(n.width=n.radiusX||1),void 0===n.height&&(n.height=n.radiusY||1),void 0===n.tiltX&&(n.tiltX=0),void 0===n.tiltY&&(n.tiltY=0),void 0===n.pointerType&&(n.pointerType="touch"),void 0===n.pointerId&&(n.pointerId=n.identifier||0),void 0===n.pressure&&(n.pressure=n.force||.5),void 0===n.twist&&(n.twist=0),void 0===n.tangentialPressure&&(n.tangentialPressure=0),void 0===n.layerX&&(n.layerX=n.offsetX=n.clientX),void 0===n.layerY&&(n.layerY=n.offsetY=n.clientY),n.isNormalized=!0,e.push(n)}else!(t instanceof MouseEvent)||this.supportsPointerEvents&&t instanceof window.PointerEvent?e.push(t):(void 0===t.isPrimary&&(t.isPrimary=!0),void 0===t.width&&(t.width=1),void 0===t.height&&(t.height=1),void 0===t.tiltX&&(t.tiltX=0),void 0===t.tiltY&&(t.tiltY=0),void 0===t.pointerType&&(t.pointerType="mouse"),void 0===t.pointerId&&(t.pointerId=f),void 0===t.pressure&&(t.pressure=.5),void 0===t.twist&&(t.twist=0),void 0===t.tangentialPressure&&(t.tangentialPressure=0),t.isNormalized=!0,e.push(t));return e},e.prototype.destroy=function(){this.removeEvents(),this.removeAllListeners(),this.renderer=null,this.mouse=null,this.eventData=null,this.interactionDOMElement=null,this.onPointerDown=null,this.processPointerDown=null,this.onPointerUp=null,this.processPointerUp=null,this.onPointerCancel=null,this.processPointerCancel=null,this.onPointerMove=null,this.processPointerMove=null,this.onPointerOut=null,this.processPointerOverOut=null,this.onPointerOver=null,this._tempPoint=null},e}(l.default);e.default=p,o.WebGLRenderer.registerPlugin("interaction",p),o.CanvasRenderer.registerPlugin("interaction",p)},function(t,e,r){"use strict";e.__esModule=!0,e.shared=e.Resource=e.textureParser=e.getResourcePath=e.spritesheetParser=e.parseBitmapFontData=e.bitmapFontParser=e.Loader=void 0;var i=r(247);Object.defineProperty(e,"bitmapFontParser",{enumerable:!0,get:function(){return l(i).default}}),Object.defineProperty(e,"parseBitmapFontData",{enumerable:!0,get:function(){return i.parse}});var n=r(252);Object.defineProperty(e,"spritesheetParser",{enumerable:!0,get:function(){return l(n).default}}),Object.defineProperty(e,"getResourcePath",{enumerable:!0,get:function(){return n.getResourcePath}});var o=r(253);Object.defineProperty(e,"textureParser",{enumerable:!0,get:function(){return l(o).default}});var s=r(68);Object.defineProperty(e,"Resource",{enumerable:!0,get:function(){return s.Resource}});var a=l(r(234)),u=l(r(578));function l(t){return t&&t.__esModule?t:{default:t}}e.Loader=u.default;var h=new u.default;h.destroy=function(){},e.shared=h;var c=a.default.prototype;c._loader=null,Object.defineProperty(c,"loader",{get:function(){if(!this._loader){var t=this._options.sharedLoader;this._loader=t?h:new u.default}return this._loader}}),c._parentDestroy=c.destroy,c.destroy=function(t,e){this._loader&&(this._loader.destroy(),this._loader=null),this._parentDestroy(t,e)}},function(t,e,r){"use strict";var i="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};e.__esModule=!0,e.Loader=void 0;var n="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return void 0===t?"undefined":i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":i(t)},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=h(r(248)),a=h(r(249)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(250)),l=r(139);function h(t){return t&&t.__esModule?t:{default:t}}var c=/(#[\w-]+)?$/,f=e.Loader=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.baseUrl=r,this.progress=0,this.loading=!1,this.defaultQueryString="",this._beforeMiddleware=[],this._afterMiddleware=[],this._resourcesParsing=[],this._boundLoadResource=function(t,r){return e._loadResource(t,r)},this._queue=u.queue(this._boundLoadResource,i),this._queue.pause(),this.resources={},this.onProgress=new s.default,this.onError=new s.default,this.onLoad=new s.default,this.onStart=new s.default,this.onComplete=new s.default;for(var n=0;n<t._defaultBeforeMiddleware.length;++n)this.pre(t._defaultBeforeMiddleware[n]);for(var o=0;o<t._defaultAfterMiddleware.length;++o)this.use(t._defaultAfterMiddleware[o])}return t.prototype.add=function(t,e,r,i){if(Array.isArray(t)){for(var o=0;o<t.length;++o)this.add(t[o]);return this}if("object"===(void 0===t?"undefined":n(t))&&(i=e||t.callback||t.onComplete,r=t,e=t.url,t=t.name||t.key||t.url),"string"!=typeof e&&(i=r,r=e,e=t),"string"!=typeof e)throw new Error("No url passed to add resource to loader.");if("function"==typeof r&&(i=r,r=null),this.loading&&(!r||!r.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 l.Resource(t,e,r),"function"==typeof i&&this.resources[t].onAfterMiddleware.once(i),this.loading){for(var s=r.parentResource,a=[],u=0;u<s.children.length;++u)s.children[u].isComplete||a.push(s.children[u]);var h=s.progressChunk*(a.length+1)/(a.length+2);s.children.push(this.resources[t]),s.progressChunk=h;for(var c=0;c<a.length;++c)a[c].progressChunk=h;this.resources[t].progressChunk=h}return this._queue.push(this.resources[t]),this},t.prototype.pre=function(t){return this._beforeMiddleware.push(t),this},t.prototype.use=function(t){return this._afterMiddleware.push(t),this},t.prototype.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.prototype.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,r=0;r<this._queue._tasks.length;++r)this._queue._tasks[r].data.progressChunk=e;this._onStart(),this._queue.resume()}return this},t.prototype._prepareUrl=function(t){var e=(0,a.default)(t,{strictMode:!0}),r=void 0;if(r=e.protocol||!e.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 i=c.exec(r)[0];-1!==(r=r.substr(0,r.length-i.length)).indexOf("?")?r+="&"+this.defaultQueryString:r+="?"+this.defaultQueryString,r+=i}return r},t.prototype._loadResource=function(t,e){var r=this;t._dequeue=e,u.eachSeries(this._beforeMiddleware,function(e,i){e.call(r,t,function(){i(t.isComplete?{}:null)})},function(){t.isComplete?r._onLoad(t):(t._onLoadBinding=t.onComplete.once(r._onLoad,r),t.load())},!0)},t.prototype._onStart=function(){this.progress=0,this.loading=!0,this.onStart.dispatch(this)},t.prototype._onComplete=function(){this.progress=100,this.loading=!1,this.onComplete.dispatch(this,this.resources)},t.prototype._onLoad=function(t){var e=this;t._onLoadBinding=null,this._resourcesParsing.push(t),t._dequeue(),u.eachSeries(this._afterMiddleware,function(r,i){r.call(e,t,i)},function(){t.onAfterMiddleware.dispatch(t),e.progress=Math.min(100,e.progress+t.progressChunk),e.onProgress.dispatch(e,t),t.error?e.onError.dispatch(t.error,e,t):e.onLoad.dispatch(e,t),e._resourcesParsing.splice(e._resourcesParsing.indexOf(t),1),e._queue.idle()&&0===e._resourcesParsing.length&&e._onComplete()},!0)},o(t,[{key:"concurrency",get:function(){return this._queue.concurrency},set:function(t){this._queue.concurrency=t}}]),t}();f._defaultBeforeMiddleware=[],f._defaultAfterMiddleware=[],f.pre=function(t){return f._defaultBeforeMiddleware.push(t),f},f.use=function(t){return f._defaultAfterMiddleware.push(t),f}},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=h(r(68)),o=r(579),s=h(r(55)),a=h(r(253)),u=h(r(252)),l=h(r(247));function h(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r,n));s.default.call(o);for(var a=0;a<e._pixiMiddleware.length;++a)o.use(e._pixiMiddleware[a]());return o.onStart.add(function(t){return o.emit("start",t)}),o.onProgress.add(function(t,e){return o.emit("progress",t,e)}),o.onError.add(function(t,e,r){return o.emit("error",t,e,r)}),o.onLoad.add(function(t,e){return o.emit("load",t,e)}),o.onComplete.add(function(t,e){return o.emit("complete",t,e)}),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.addPixiMiddleware=function(t){e._pixiMiddleware.push(t)},e.prototype.destroy=function(){this.removeAllListeners(),this.reset()},e}(n.default);for(var f in e.default=c,s.default.prototype)c.prototype[f]=s.default.prototype[f];c._pixiMiddleware=[o.blobMiddlewareFactory,a.default,u.default,l.default];var d=n.default.Resource;d.setExtensionXhrType("fnt",d.XHR_RESPONSE_TYPE.DOCUMENT)},function(t,e,r){"use strict";e.__esModule=!0,e.blobMiddlewareFactory=function(){return function(t,e){if(t.data){if(t.xhr&&t.xhrType===i.Resource.XHR_RESPONSE_TYPE.BLOB)if(window.Blob&&"string"!=typeof t.data){if(0===t.data.type.indexOf("image")){var r=o.createObjectURL(t.data);return t.blob=t.data,t.data=new Image,t.data.src=r,t.type=i.Resource.TYPE.IMAGE,void(t.data.onload=function(){o.revokeObjectURL(r),t.data.onload=null,e()})}}else{var s=t.xhr.getResponseHeader("content-type");if(s&&0===s.indexOf("image"))return t.data=new Image,t.data.src="data:"+s+";base64,"+(0,n.encodeBinary)(t.xhr.responseText),t.type=i.Resource.TYPE.IMAGE,void(t.data.onload=function(){t.data.onload=null,e()})}e()}else e()}};var i=r(139),n=r(251),o=window.URL||window.webkitURL},function(t,e,r){"use strict";e.__esModule=!0;var i=r(69);Object.defineProperty(e,"Mesh",{enumerable:!0,get:function(){return l(i).default}});var n=r(581);Object.defineProperty(e,"MeshRenderer",{enumerable:!0,get:function(){return l(n).default}});var o=r(582);Object.defineProperty(e,"CanvasMeshRenderer",{enumerable:!0,get:function(){return l(o).default}});var s=r(254);Object.defineProperty(e,"Plane",{enumerable:!0,get:function(){return l(s).default}});var a=r(583);Object.defineProperty(e,"NineSlicePlane",{enumerable:!0,get:function(){return l(a).default}});var u=r(584);function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"Rope",{enumerable:!0,get:function(){return l(u).default}})},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),o=a(r(25)),s=a(r(69));r(35);function a(t){return t&&t.__esModule?t:{default:t}}var u=n.Matrix.IDENTITY,l=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.shader=null,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.onContextChange=function(){var t=this.renderer.gl;this.shader=new n.Shader(t,"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)).xy, 0.0, 1.0);\n\n    vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n","varying vec2 vTextureCoord;\nuniform vec4 uColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void)\n{\n    gl_FragColor = texture2D(uSampler, vTextureCoord) * uColor;\n}\n")},e.prototype.render=function(t){var e=this.renderer,r=e.gl,i=t._texture;if(i.valid){var a=t._glDatas[e.CONTEXT_UID];a||(e.bindVao(null),(a={shader:this.shader,vertexBuffer:o.default.GLBuffer.createVertexBuffer(r,t.vertices,r.STREAM_DRAW),uvBuffer:o.default.GLBuffer.createVertexBuffer(r,t.uvs,r.STREAM_DRAW),indexBuffer:o.default.GLBuffer.createIndexBuffer(r,t.indices,r.STATIC_DRAW),vao:null,dirty:t.dirty,indexDirty:t.indexDirty,vertexDirty:t.vertexDirty}).vao=new o.default.VertexArrayObject(r).addIndex(a.indexBuffer).addAttribute(a.vertexBuffer,a.shader.attributes.aVertexPosition,r.FLOAT,!1,8,0).addAttribute(a.uvBuffer,a.shader.attributes.aTextureCoord,r.FLOAT,!1,8,0),t._glDatas[e.CONTEXT_UID]=a),e.bindVao(a.vao),t.dirty!==a.dirty&&(a.dirty=t.dirty,a.uvBuffer.upload(t.uvs)),t.indexDirty!==a.indexDirty&&(a.indexDirty=t.indexDirty,a.indexBuffer.upload(t.indices)),t.vertexDirty!==a.vertexDirty&&(a.vertexDirty=t.vertexDirty,a.vertexBuffer.upload(t.vertices)),e.bindShader(a.shader),a.shader.uniforms.uSampler=e.bindTexture(i),e.state.setBlendMode(n.utils.correctBlendMode(t.blendMode,i.baseTexture.premultipliedAlpha)),a.shader.uniforms.uTransform&&(t.uploadUvTransform?a.shader.uniforms.uTransform=t._uvTransform.mapCoord.toArray(!0):a.shader.uniforms.uTransform=u.toArray(!0)),a.shader.uniforms.translationMatrix=t.worldTransform.toArray(!0),a.shader.uniforms.uColor=n.utils.premultiplyRgba(t.tintRgb,t.worldAlpha,a.shader.uniforms.uColor,i.baseTexture.premultipliedAlpha);var l=t.drawMode===s.default.DRAW_MODES.TRIANGLE_MESH?r.TRIANGLE_STRIP:r.TRIANGLES;a.vao.draw(l,t.indices.length,0)}},e}(n.ObjectRenderer);e.default=l,n.WebGLRenderer.registerPlugin("mesh",l)},function(t,e,r){"use strict";e.__esModule=!0;var i,n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),o=r(69),s=(i=o)&&i.__esModule?i:{default:i};var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.renderer=e}return t.prototype.render=function(t){var e=this.renderer,r=e.context,i=t.worldTransform,n=e.resolution;e.roundPixels?r.setTransform(i.a*n,i.b*n,i.c*n,i.d*n,i.tx*n|0,i.ty*n|0):r.setTransform(i.a*n,i.b*n,i.c*n,i.d*n,i.tx*n,i.ty*n),e.context.globalAlpha=t.worldAlpha,e.setBlendMode(t.blendMode),t.drawMode===s.default.DRAW_MODES.TRIANGLE_MESH?this._renderTriangleMesh(t):this._renderTriangles(t)},t.prototype._renderTriangleMesh=function(t){for(var e=t.vertices.length/2,r=0;r<e-2;r++){var i=2*r;this._renderDrawTriangle(t,i,i+2,i+4)}},t.prototype._renderTriangles=function(t){for(var e=t.indices,r=e.length,i=0;i<r;i+=3){var n=2*e[i],o=2*e[i+1],s=2*e[i+2];this._renderDrawTriangle(t,n,o,s)}},t.prototype._renderDrawTriangle=function(t,e,r,i){var n=this.renderer.context,o=t.uvs,s=t.vertices,a=t._texture;if(a.valid){var u=a.baseTexture,l=u.source,h=u.width,c=u.height,f=void 0,d=void 0,p=void 0,v=void 0,y=void 0,m=void 0;if(t.uploadUvTransform){var g=t._uvTransform.mapCoord;f=(o[e]*g.a+o[e+1]*g.c+g.tx)*u.width,d=(o[r]*g.a+o[r+1]*g.c+g.tx)*u.width,p=(o[i]*g.a+o[i+1]*g.c+g.tx)*u.width,v=(o[e]*g.b+o[e+1]*g.d+g.ty)*u.height,y=(o[r]*g.b+o[r+1]*g.d+g.ty)*u.height,m=(o[i]*g.b+o[i+1]*g.d+g.ty)*u.height}else f=o[e]*u.width,d=o[r]*u.width,p=o[i]*u.width,v=o[e+1]*u.height,y=o[r+1]*u.height,m=o[i+1]*u.height;var _=s[e],b=s[r],x=s[i],w=s[e+1],T=s[r+1],S=s[i+1],E=t.canvasPadding/this.renderer.resolution;if(E>0){var P=E/Math.abs(t.worldTransform.a),O=E/Math.abs(t.worldTransform.d),M=(_+b+x)/3,A=(w+T+S)/3,C=_-M,R=w-A,D=Math.sqrt(C*C+R*R);_=M+C/D*(D+P),w=A+R/D*(D+O),R=T-A,b=M+(C=b-M)/(D=Math.sqrt(C*C+R*R))*(D+P),T=A+R/D*(D+O),R=S-A,x=M+(C=x-M)/(D=Math.sqrt(C*C+R*R))*(D+P),S=A+R/D*(D+O)}n.save(),n.beginPath(),n.moveTo(_,w),n.lineTo(b,T),n.lineTo(x,S),n.closePath(),n.clip();var I=f*y+v*p+d*m-y*p-v*d-f*m,k=_*y+v*x+b*m-y*x-v*b-_*m,L=f*b+_*p+d*x-b*p-_*d-f*x,F=f*y*x+v*b*p+_*d*m-_*y*p-v*d*x-f*b*m,N=w*y+v*S+T*m-y*S-v*T-w*m,j=f*T+w*p+d*S-T*p-w*d-f*S,B=f*y*S+v*T*p+w*d*m-w*y*p-v*d*S-f*T*m;n.transform(k/I,N/I,L/I,j/I,F/I,B/I),n.drawImage(l,0,0,h*u.resolution,c*u.resolution,0,0,h,c),n.restore(),this.renderer.invalidateBlendMode()}},t.prototype.renderMeshFlat=function(t){var e=this.renderer.context,r=t.vertices,i=r.length/2;e.beginPath();for(var n=1;n<i-2;++n){var o=2*n,s=r[o],a=r[o+1],u=r[o+2],l=r[o+3],h=r[o+4],c=r[o+5];e.moveTo(s,a),e.lineTo(u,l),e.lineTo(h,c)}e.fillStyle="#FF0000",e.fill(),e.closePath()},t.prototype.destroy=function(){this.renderer=null},t}();e.default=a,n.CanvasRenderer.registerPlugin("mesh",a)},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=a(r(254)),s=a(r(90));function a(t){return t&&t.__esModule?t:{default:t}}var u=10,l=function(t){function e(r,n,o,s,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r,4,4));return l._origWidth=r.orig.width,l._origHeight=r.orig.height,l._width=l._origWidth,l._height=l._origHeight,l._leftWidth=void 0!==n?n:u,l._rightWidth=void 0!==s?s:u,l._topHeight=void 0!==o?o:u,l._bottomHeight=void 0!==a?a:u,l._cachedTint=16777215,l._tintedTexture=null,l._canvasUvs=null,l.refresh(!0),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.updateHorizontalVertices=function(){var t=this.vertices,e=this._topHeight+this._bottomHeight,r=this._height>e?1:this._height/e;t[9]=t[11]=t[13]=t[15]=this._topHeight*r,t[17]=t[19]=t[21]=t[23]=this._height-this._bottomHeight*r,t[25]=t[27]=t[29]=t[31]=this._height},e.prototype.updateVerticalVertices=function(){var t=this.vertices,e=this._leftWidth+this._rightWidth,r=this._width>e?1:this._width/e;t[2]=t[10]=t[18]=t[26]=this._leftWidth*r,t[4]=t[12]=t[20]=t[28]=this._width-this._rightWidth*r,t[6]=t[14]=t[22]=t[30]=this._width},e.prototype._renderCanvas=function(t){var e=t.context,r=this.worldTransform,i=t.resolution,n=16777215!==this.tint,o=this._texture;n&&this._cachedTint!==this.tint&&(this._cachedTint=this.tint,this._tintedTexture=s.default.getTintedTexture(this,this.tint));var a=n?this._tintedTexture:o.baseTexture.source;this._canvasUvs||(this._canvasUvs=[0,0,0,0,0,0,0,0]);var u=this.vertices,l=this._canvasUvs,h=n?0:o.frame.x,c=n?0:o.frame.y,f=h+o.frame.width,d=c+o.frame.height;l[0]=h,l[1]=h+this._leftWidth,l[2]=f-this._rightWidth,l[3]=f,l[4]=c,l[5]=c+this._topHeight,l[6]=d-this._bottomHeight,l[7]=d;for(var p=0;p<8;p++)l[p]*=o.baseTexture.resolution;e.globalAlpha=this.worldAlpha,t.setBlendMode(this.blendMode),t.roundPixels?e.setTransform(r.a*i,r.b*i,r.c*i,r.d*i,r.tx*i|0,r.ty*i|0):e.setTransform(r.a*i,r.b*i,r.c*i,r.d*i,r.tx*i,r.ty*i);for(var v=0;v<3;v++)for(var y=0;y<3;y++){var m=2*y+8*v,g=Math.max(1,l[y+1]-l[y]),_=Math.max(1,l[v+5]-l[v+4]),b=Math.max(1,u[m+10]-u[m]),x=Math.max(1,u[m+11]-u[m+1]);e.drawImage(a,l[y],l[v+4],g,_,u[m],u[m+1],b,x)}},e.prototype._refresh=function(){t.prototype._refresh.call(this);var e=this.uvs,r=this._texture;this._origWidth=r.orig.width,this._origHeight=r.orig.height;var i=1/this._origWidth,n=1/this._origHeight;e[0]=e[8]=e[16]=e[24]=0,e[1]=e[3]=e[5]=e[7]=0,e[6]=e[14]=e[22]=e[30]=1,e[25]=e[27]=e[29]=e[31]=1,e[2]=e[10]=e[18]=e[26]=i*this._leftWidth,e[4]=e[12]=e[20]=e[28]=1-i*this._rightWidth,e[9]=e[11]=e[13]=e[15]=n*this._topHeight,e[17]=e[19]=e[21]=e[23]=1-n*this._bottomHeight,this.updateHorizontalVertices(),this.updateVerticalVertices(),this.dirty++,this.multiplyUvs()},n(e,[{key:"width",get:function(){return this._width},set:function(t){this._width=t,this._refresh()}},{key:"height",get:function(){return this._height},set:function(t){this._height=t,this._refresh()}},{key:"leftWidth",get:function(){return this._leftWidth},set:function(t){this._leftWidth=t,this._refresh()}},{key:"rightWidth",get:function(){return this._rightWidth},set:function(t){this._rightWidth=t,this._refresh()}},{key:"topHeight",get:function(){return this._topHeight},set:function(t){this._topHeight=t,this._refresh()}},{key:"bottomHeight",get:function(){return this._bottomHeight},set:function(t){this._bottomHeight=t,this._refresh()}}]),e}(o.default);e.default=l},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=r(69);var s=function(t){function e(r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return o.points=n,o.vertices=new Float32Array(4*n.length),o.uvs=new Float32Array(4*n.length),o.colors=new Float32Array(2*n.length),o.indices=new Uint16Array(2*n.length),o.autoUpdate=!0,o.refresh(),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._refresh=function(){var t=this.points;if(!(t.length<1)&&this._texture._uvs){this.vertices.length/4!==t.length&&(this.vertices=new Float32Array(4*t.length),this.uvs=new Float32Array(4*t.length),this.colors=new Float32Array(2*t.length),this.indices=new Uint16Array(2*t.length));var e=this.uvs,r=this.indices,i=this.colors;e[0]=0,e[1]=0,e[2]=0,e[3]=1,i[0]=1,i[1]=1,r[0]=0,r[1]=1;for(var n=t.length,o=1;o<n;o++){var s=4*o,a=o/(n-1);e[s]=a,e[s+1]=0,e[s+2]=a,e[s+3]=1,i[s=2*o]=1,i[s+1]=1,r[s=2*o]=s,r[s+1]=s+1}this.dirty++,this.indexDirty++,this.multiplyUvs(),this.refreshVertices()}},e.prototype.refreshVertices=function(){var t=this.points;if(!(t.length<1))for(var e=t[0],r=void 0,i=0,n=0,o=this.vertices,s=t.length,a=0;a<s;a++){var u=t[a],l=4*a;n=-((r=a<t.length-1?t[a+1]:u).x-e.x),i=r.y-e.y;var h=10*(1-a/(s-1));h>1&&(h=1);var c=Math.sqrt(i*i+n*n),f=this._texture.height/2;i/=c,n/=c,i*=f,n*=f,o[l]=u.x+i,o[l+1]=u.y+n,o[l+2]=u.x-i,o[l+3]=u.y-n,e=u}},e.prototype.updateTransform=function(){this.autoUpdate&&this.refreshVertices(),this.containerUpdateTransform()},e}(((n=o)&&n.__esModule?n:{default:n}).default);e.default=s},function(t,e,r){"use strict";e.__esModule=!0;var i=r(586);Object.defineProperty(e,"ParticleContainer",{enumerable:!0,get:function(){return o(i).default}});var n=r(587);function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"ParticleRenderer",{enumerable:!0,get:function(){return o(n).default}})},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=r(7);var a=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1500,n=arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:16384,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this));return s>16384&&(s=16384),s>r&&(s=r),u._properties=[!1,!0,!1,!1,!1],u._maxSize=r,u._batchSize=s,u._glBuffers={},u._bufferUpdateIDs=[],u._updateID=0,u.interactiveChildren=!1,u.blendMode=o.BLEND_MODES.NORMAL,u.autoResize=a,u.roundPixels=!0,u.baseTexture=null,u.setProperties(n),u._tint=0,u.tintRgb=new Float32Array(4),u.tint=16777215,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.setProperties=function(t){t&&(this._properties[0]="vertices"in t||"scale"in t?!!t.vertices||!!t.scale:this._properties[0],this._properties[1]="position"in t?!!t.position:this._properties[1],this._properties[2]="rotation"in t?!!t.rotation:this._properties[2],this._properties[3]="uvs"in t?!!t.uvs:this._properties[3],this._properties[4]="tint"in t||"alpha"in t?!!t.tint||!!t.alpha:this._properties[4])},e.prototype.updateTransform=function(){this.displayObjectUpdateTransform()},e.prototype.renderWebGL=function(t){var e=this;this.visible&&!(this.worldAlpha<=0)&&this.children.length&&this.renderable&&(this.baseTexture||(this.baseTexture=this.children[0]._texture.baseTexture,this.baseTexture.hasLoaded||this.baseTexture.once("update",function(){return e.onChildrenChange(0)})),t.setObjectRenderer(t.plugins.particle),t.plugins.particle.render(this))},e.prototype.onChildrenChange=function(t){for(var e=Math.floor(t/this._batchSize);this._bufferUpdateIDs.length<e;)this._bufferUpdateIDs.push(0);this._bufferUpdateIDs[e]=++this._updateID},e.prototype.renderCanvas=function(t){if(this.visible&&!(this.worldAlpha<=0)&&this.children.length&&this.renderable){var e=t.context,r=this.worldTransform,i=!0,n=0,o=0,s=0,a=0;t.setBlendMode(this.blendMode),e.globalAlpha=this.worldAlpha,this.displayObjectUpdateTransform();for(var u=0;u<this.children.length;++u){var l=this.children[u];if(l.visible){var h=l._texture.frame;if(e.globalAlpha=this.worldAlpha*l.alpha,l.rotation%(2*Math.PI)==0)i&&(e.setTransform(r.a,r.b,r.c,r.d,r.tx*t.resolution,r.ty*t.resolution),i=!1),n=l.anchor.x*(-h.width*l.scale.x)+l.position.x+.5,o=l.anchor.y*(-h.height*l.scale.y)+l.position.y+.5,s=h.width*l.scale.x,a=h.height*l.scale.y;else{i||(i=!0),l.displayObjectUpdateTransform();var c=l.worldTransform;t.roundPixels?e.setTransform(c.a,c.b,c.c,c.d,c.tx*t.resolution|0,c.ty*t.resolution|0):e.setTransform(c.a,c.b,c.c,c.d,c.tx*t.resolution,c.ty*t.resolution),n=l.anchor.x*-h.width+.5,o=l.anchor.y*-h.height+.5,s=h.width,a=h.height}var f=l._texture.baseTexture.resolution;e.drawImage(l._texture.baseTexture.source,h.x*f,h.y*f,h.width*f,h.height*f,n*t.resolution,o*t.resolution,s*t.resolution,a*t.resolution)}}}},e.prototype.destroy=function(e){if(t.prototype.destroy.call(this,e),this._buffers)for(var r=0;r<this._buffers.length;++r)this._buffers[r].destroy();this._properties=null,this._buffers=null,this._bufferUpdateIDs=null},n(e,[{key:"tint",get:function(){return this._tint},set:function(t){this._tint=t,(0,s.hex2rgb)(t,this.tintRgb)}}]),e}(o.Container);e.default=a},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),o=u(r(588)),s=u(r(589)),a=r(7);function u(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return o.shader=null,o.indexBuffer=null,o.properties=null,o.tempMatrix=new n.Matrix,o.CONTEXT_UID=0,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.onContextChange=function(){var t=this.renderer.gl;this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.shader=new o.default(t),this.properties=[{attribute:this.shader.attributes.aVertexPosition,size:2,uploadFunction:this.uploadVertices,offset:0},{attribute:this.shader.attributes.aPositionCoord,size:2,uploadFunction:this.uploadPosition,offset:0},{attribute:this.shader.attributes.aRotation,size:1,uploadFunction:this.uploadRotation,offset:0},{attribute:this.shader.attributes.aTextureCoord,size:2,uploadFunction:this.uploadUvs,offset:0},{attribute:this.shader.attributes.aColor,size:1,unsignedByte:!0,uploadFunction:this.uploadTint,offset:0}]},e.prototype.start=function(){this.renderer.bindShader(this.shader)},e.prototype.render=function(t){var e=t.children,r=t._maxSize,i=t._batchSize,o=this.renderer,s=e.length;if(0!==s){s>r&&(s=r);var a=t._glBuffers[o.CONTEXT_UID];a||(a=t._glBuffers[o.CONTEXT_UID]=this.generateBuffers(t));var u=e[0]._texture.baseTexture;this.renderer.setBlendMode(n.utils.correctBlendMode(t.blendMode,u.premultipliedAlpha));var l=o.gl,h=t.worldTransform.copy(this.tempMatrix);h.prepend(o._activeRenderTarget.projectionMatrix),this.shader.uniforms.projectionMatrix=h.toArray(!0),this.shader.uniforms.uColor=n.utils.premultiplyRgba(t.tintRgb,t.worldAlpha,this.shader.uniforms.uColor,u.premultipliedAlpha),this.shader.uniforms.uSampler=o.bindTexture(u);for(var c=!1,f=0,d=0;f<s;f+=i,d+=1){var p=s-f;if(p>i&&(p=i),d>=a.length){if(!t.autoResize)break;a.push(this._generateOneMoreBuffer(t))}var v=a[d];v.uploadDynamic(e,f,p);var y=t._bufferUpdateIDs[d]||0;(c=c||v._updateID<y)&&(v._updateID=t._updateID,v.uploadStatic(e,f,p)),o.bindVao(v.vao),v.vao.draw(l.TRIANGLES,6*p)}}},e.prototype.generateBuffers=function(t){for(var e=this.renderer.gl,r=[],i=t._maxSize,n=t._batchSize,o=t._properties,a=0;a<i;a+=n)r.push(new s.default(e,this.properties,o,n));return r},e.prototype._generateOneMoreBuffer=function(t){var e=this.renderer.gl,r=t._batchSize,i=t._properties;return new s.default(e,this.properties,i,r)},e.prototype.uploadVertices=function(t,e,r,i,n,o){for(var s=0,a=0,u=0,l=0,h=0;h<r;++h){var c=t[e+h],f=c._texture,d=c.scale.x,p=c.scale.y,v=f.trim,y=f.orig;v?(s=(a=v.x-c.anchor.x*y.width)+v.width,u=(l=v.y-c.anchor.y*y.height)+v.height):(s=y.width*(1-c.anchor.x),a=y.width*-c.anchor.x,u=y.height*(1-c.anchor.y),l=y.height*-c.anchor.y),i[o]=a*d,i[o+1]=l*p,i[o+n]=s*d,i[o+n+1]=l*p,i[o+2*n]=s*d,i[o+2*n+1]=u*p,i[o+3*n]=a*d,i[o+3*n+1]=u*p,o+=4*n}},e.prototype.uploadPosition=function(t,e,r,i,n,o){for(var s=0;s<r;s++){var a=t[e+s].position;i[o]=a.x,i[o+1]=a.y,i[o+n]=a.x,i[o+n+1]=a.y,i[o+2*n]=a.x,i[o+2*n+1]=a.y,i[o+3*n]=a.x,i[o+3*n+1]=a.y,o+=4*n}},e.prototype.uploadRotation=function(t,e,r,i,n,o){for(var s=0;s<r;s++){var a=t[e+s].rotation;i[o]=a,i[o+n]=a,i[o+2*n]=a,i[o+3*n]=a,o+=4*n}},e.prototype.uploadUvs=function(t,e,r,i,n,o){for(var s=0;s<r;++s){var a=t[e+s]._texture._uvs;a?(i[o]=a.x0,i[o+1]=a.y0,i[o+n]=a.x1,i[o+n+1]=a.y1,i[o+2*n]=a.x2,i[o+2*n+1]=a.y2,i[o+3*n]=a.x3,i[o+3*n+1]=a.y3,o+=4*n):(i[o]=0,i[o+1]=0,i[o+n]=0,i[o+n+1]=0,i[o+2*n]=0,i[o+2*n+1]=0,i[o+3*n]=0,i[o+3*n+1]=0,o+=4*n)}},e.prototype.uploadTint=function(t,e,r,i,n,o){for(var s=0;s<r;++s){var u=t[e+s],l=u._texture.baseTexture.premultipliedAlpha,h=u.alpha,c=h<1&&l?(0,a.premultiplyTint)(u._tintRGB,h):u._tintRGB+(255*h<<24);i[o]=c,i[o+n]=c,i[o+2*n]=c,i[o+3*n]=c,o+=4*n}},e.prototype.destroy=function(){this.renderer.gl&&this.renderer.gl.deleteBuffer(this.indexBuffer),t.prototype.destroy.call(this),this.shader.destroy(),this.indices=null,this.tempMatrix=null},e}(n.ObjectRenderer);e.default=l,n.WebGLRenderer.registerPlugin("particle",l)},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=r(67);var s=function(t){function e(r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r,["attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","attribute vec4 aColor;","attribute vec2 aPositionCoord;","attribute float aRotation;","uniform mat3 projectionMatrix;","uniform vec4 uColor;","varying vec2 vTextureCoord;","varying vec4 vColor;","void main(void){","   float x = (aVertexPosition.x) * cos(aRotation) - (aVertexPosition.y) * sin(aRotation);","   float y = (aVertexPosition.x) * sin(aRotation) + (aVertexPosition.y) * cos(aRotation);","   vec2 v = vec2(x, y);","   v = v + aPositionCoord;","   gl_Position = vec4((projectionMatrix * vec3(v, 1.0)).xy, 0.0, 1.0);","   vTextureCoord = aTextureCoord;","   vColor = aColor * uColor;","}"].join("\n"),["varying vec2 vTextureCoord;","varying vec4 vColor;","uniform sampler2D uSampler;","void main(void){","  vec4 color = texture2D(uSampler, vTextureCoord) * vColor;","  gl_FragColor = color;","}"].join("\n")))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((n=o)&&n.__esModule?n:{default:n}).default);e.default=s},function(t,e,r){"use strict";e.__esModule=!0;var i=o(r(25)),n=o(r(138));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e,r,i,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.gl=e,this.size=n,this.dynamicProperties=[],this.staticProperties=[];for(var o=0;o<r.length;++o){var s=r[o];s={attribute:s.attribute,size:s.size,uploadFunction:s.uploadFunction,unsignedByte:s.unsignedByte,offset:s.offset},i[o]?this.dynamicProperties.push(s):this.staticProperties.push(s)}this.staticStride=0,this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null,this.dynamicStride=0,this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this._updateID=0,this.initBuffers()}return t.prototype.initBuffers=function(){var t=this.gl,e=0;this.indices=(0,n.default)(this.size),this.indexBuffer=i.default.GLBuffer.createIndexBuffer(t,this.indices,t.STATIC_DRAW),this.dynamicStride=0;for(var r=0;r<this.dynamicProperties.length;++r){var o=this.dynamicProperties[r];o.offset=e,e+=o.size,this.dynamicStride+=o.size}var s=new ArrayBuffer(this.size*this.dynamicStride*4*4);this.dynamicData=new Float32Array(s),this.dynamicDataUint32=new Uint32Array(s),this.dynamicBuffer=i.default.GLBuffer.createVertexBuffer(t,s,t.STREAM_DRAW);var a=0;this.staticStride=0;for(var u=0;u<this.staticProperties.length;++u){var l=this.staticProperties[u];l.offset=a,a+=l.size,this.staticStride+=l.size}var h=new ArrayBuffer(this.size*this.staticStride*4*4);this.staticData=new Float32Array(h),this.staticDataUint32=new Uint32Array(h),this.staticBuffer=i.default.GLBuffer.createVertexBuffer(t,h,t.STATIC_DRAW),this.vao=new i.default.VertexArrayObject(t).addIndex(this.indexBuffer);for(var c=0;c<this.dynamicProperties.length;++c){var f=this.dynamicProperties[c];f.unsignedByte?this.vao.addAttribute(this.dynamicBuffer,f.attribute,t.UNSIGNED_BYTE,!0,4*this.dynamicStride,4*f.offset):this.vao.addAttribute(this.dynamicBuffer,f.attribute,t.FLOAT,!1,4*this.dynamicStride,4*f.offset)}for(var d=0;d<this.staticProperties.length;++d){var p=this.staticProperties[d];p.unsignedByte?this.vao.addAttribute(this.staticBuffer,p.attribute,t.UNSIGNED_BYTE,!0,4*this.staticStride,4*p.offset):this.vao.addAttribute(this.staticBuffer,p.attribute,t.FLOAT,!1,4*this.staticStride,4*p.offset)}},t.prototype.uploadDynamic=function(t,e,r){for(var i=0;i<this.dynamicProperties.length;i++){var n=this.dynamicProperties[i];n.uploadFunction(t,e,r,n.unsignedByte?this.dynamicDataUint32:this.dynamicData,this.dynamicStride,n.offset)}this.dynamicBuffer.upload()},t.prototype.uploadStatic=function(t,e,r){for(var i=0;i<this.staticProperties.length;i++){var n=this.staticProperties[i];n.uploadFunction(t,e,r,n.unsignedByte?this.staticDataUint32:this.staticData,this.staticStride,n.offset)}this.staticBuffer.upload()},t.prototype.destroy=function(){this.dynamicProperties=null,this.dynamicBuffer.destroy(),this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this.staticProperties=null,this.staticBuffer.destroy(),this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null},t}();e.default=s},function(t,e,r){"use strict";e.__esModule=!0;var i=r(591);Object.defineProperty(e,"webgl",{enumerable:!0,get:function(){return u(i).default}});var n=r(592);Object.defineProperty(e,"canvas",{enumerable:!0,get:function(){return u(n).default}});var o=r(140);Object.defineProperty(e,"BasePrepare",{enumerable:!0,get:function(){return u(o).default}});var s=r(255);Object.defineProperty(e,"CountLimiter",{enumerable:!0,get:function(){return u(s).default}});var a=r(593);function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"TimeLimiter",{enumerable:!0,get:function(){return u(a).default}})},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=r(140);var a=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.uploadHookHelper=n.renderer,n.registerFindHook(h),n.registerUploadHook(u),n.registerUploadHook(l),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((n=s)&&n.__esModule?n:{default:n}).default);function u(t,e){return e instanceof o.BaseTexture&&(e._glTextures[t.CONTEXT_UID]||t.textureManager.updateTexture(e),!0)}function l(t,e){return e instanceof o.Graphics&&((e.dirty||e.clearDirty||!e._webGL[t.plugins.graphics.CONTEXT_UID])&&t.plugins.graphics.updateGraphics(e),!0)}function h(t,e){return t instanceof o.Graphics&&(e.push(t),!0)}e.default=a,o.WebGLRenderer.registerPlugin("prepare",a)},function(t,e,r){"use strict";var i="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};e.__esModule=!0;var n,o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5)),s=r(140);var a=16,u=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.uploadHookHelper=n,n.canvas=document.createElement("canvas"),n.canvas.width=a,n.canvas.height=a,n.ctx=n.canvas.getContext("2d"),n.registerUploadHook(l),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.ctx=null,this.canvas=null},e}(((n=s)&&n.__esModule?n:{default:n}).default);function l(t,e){if(e instanceof o.BaseTexture){var r=e.source,i=0===r.width?t.canvas.width:Math.min(t.canvas.width,r.width),n=0===r.height?t.canvas.height:Math.min(t.canvas.height,r.height);return t.ctx.drawImage(r,0,0,i,n,0,0,t.canvas.width,t.canvas.height),!0}return!1}e.default=u,o.CanvasRenderer.registerPlugin("prepare",u)},function(t,e,r){"use strict";e.__esModule=!0;var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.maxMilliseconds=e,this.frameStart=0}return t.prototype.beginFrame=function(){this.frameStart=Date.now()},t.prototype.allowedToUpload=function(){return Date.now()-this.frameStart<this.maxMilliseconds},t}();e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(595),s=(i=o)&&i.__esModule?i:{default:i};function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r(70);var u=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));if(!r.container)return a(r);r.init=r.init.bind(r),r.mouseenter=r.mouseenter.bind(r),r.mouseleave=r.mouseleave.bind(r);var i=r.container.innerHTML;return r.container.innerHTML='<span class="base">'+i+'</span><span class="fx fx1"><span>'+i+'</span></span><span class="fx fx2"><span>'+i+'</span></span><span class="fx fx3"><span>'+i+'</span></span><span class="fx fx4"><span>'+i+"</span></span>",r.init(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default),n(e,[{key:"start",value:function(){this.container&&(window.addEventListener("resize",this.init),this.container.addEventListener("mouseenter",this.mouseenter),this.container.addEventListener("mouseleave",this.mouseleave),"always"===this.container.getAttribute("data-glitch")&&this.timeline.play())}},{key:"init",value:function(){var t=this.container.getAttribute("data-glitch");this.timeline&&this.timeline.kill(),this.timeline=new TimelineMax({repeat:"always"===t?-1:1,paused:!0});var e=this.container.offsetWidth,r=this.container.offsetHeight,i=(this.container.querySelector(".base"),this.container.querySelector(".fx1")),n=this.container.querySelector(".fx2"),o=this.container.querySelector(".fx3");this.timeline.set([i],{opacity:1},0),this.timeline.fromTo(i,.3,{clip:"rect(0px, "+e+"px, "+.65*r+"px, -5px)"},{clip:"rect(0px, "+e+"px, "+.45*r+"px, -5px)",ease:Quad.easeOut},0),this.timeline.fromTo(i.querySelector("span"),.1,{x:-5,y:0},{x:0,y:1,ease:Quad.easeOut},0),this.timeline.set([i],{opacity:0},.3),this.timeline.set([n],{opacity:1},.4),this.timeline.fromTo(n,.3,{clip:"rect("+.65*r+"px, "+e+"10px, "+.75*r+"px, 0)"},{clip:"rect("+.65*r+"px, "+e+"10px, "+r+"px, 0)",ease:Quad.easeOut},.4),this.timeline.fromTo(n.querySelector("span"),.1,{x:10,y:0},{x:5,y:0,ease:Quad.easeOut},.4),this.timeline.set([n],{opacity:0},.7),this.timeline.set([o],{opacity:1},.8),this.timeline.fromTo(o,.3,{clip:"rect("+.7*r+"px, "+e+"px, "+.7*r+"px, -10px)"},{clip:"rect("+.45*r+"px, "+e+"px, "+.65*r+"px, -10px)",ease:Quad.easeOut},.8),this.timeline.fromTo(o.querySelector("span"),.2,{x:-5,y:-1},{x:0,y:-1,ease:Quad.easeOut},.8),this.timeline.set([o],{opacity:0},1.1),this.timeline.set({},{},8),this.timeline.timeScale(2)}},{key:"stop",value:function(){this.timeline&&this.timeline.kill(),this.timeline.kill(),window.removeEventListener("resize",this.init)}},{key:"mouseenter",value:function(t){var e=this.container.getAttribute("data-glitch");"hover"===e&&this.timeline&&(this.timeline.progress(0),this.timeline.play())}},{key:"mouseleave",value:function(t){"hover"===this.container.getAttribute("data-glitch")&&this.timeline&&(this.timeline.pause(),this.timeline.progress(1))}}],[{key:"createElements",value:function(t){var r=[];return[].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(t.querySelectorAll(".glitch"))).forEach(function(t){t.element=new e(t),r.push(t.element)}),r}}]),e}();e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}();var n=function(){function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),null!==e)return this.container=e,this}return i(t,[{key:"start",value:function(){}},{key:"stop",value:function(){}}],[{key:"createElements",value:function(){}}]),t}();e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}();function n(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}r(70);var o=null,s=void 0,a=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o||(o=this),this._html=document.querySelector("html"),this.isHover=!1,this.initialized=!1,this.previousMouse=null,this.previousMouseDelayed=null,this.mousemove=this.mousemove.bind(this),this.touchmove=this.touchmove.bind(this),this.mouseleave=this.mouseleave.bind(this),this.initialize=this.initialize.bind(this),this.render=this.render.bind(this),this.mouseenterLink=this.mouseenterLink.bind(this),this.mouseleaveLink=this.mouseleaveLink.bind(this),o}return i(t,[{key:"start",value:function(){document.addEventListener("mousemove",this.mousemove),document.addEventListener("touchmove",this.touchmove),document.addEventListener("mouseleave",this.mouseleave),window.dispatcher.on("extra:transition:start",this.mouseleaveLink);var t=document.querySelector(".site-title a");t&&(t.addEventListener("mouseenter",this.mouseenterLink),t.addEventListener("mouseleave",this.mouseleaveLink))}},{key:"addLinkListeners",value:function(t){var e=this;[].concat(n(t.querySelectorAll(".link"))).forEach(function(t){t.addEventListener("mouseenter",e.mouseenterLink),t.addEventListener("mouseleave",e.mouseleaveLink)})}},{key:"removeLinkListeners",value:function(t){var e=this;[].concat(n(t.querySelectorAll(".link"))).forEach(function(t){t.removeEventListener("mouseenter",e.mouseenterLink),t.removeEventListener("mouseleave",e.mouseleaveLink)})}},{key:"initialize",value:function(){document.body.insertAdjacentHTML("beforeend",'<span id="cursor-follower"><span><span></span></span></span><span id="cursor"><span><span></span></span></span>'),this._cursor=document.querySelector("#cursor"),this._cursorPart=this._cursor.childNodes[0],this._cursorFollower=document.querySelector("#cursor-follower"),this._cursorFollowerPart=this._cursorFollower.childNodes[0],this.initialized=!0,this.render()}},{key:"mouseleave",value:function(){this._cursor&&(this._cursor.classList.toggle("initialized",!1),this._cursorFollower.classList.toggle("initialized",!1))}},{key:"mousemove",value:function(t){this.initialized||this.initialize(),this._cursor.classList.toggle("initialized",!0),this._cursorFollower.classList.toggle("initialized",!0)}},{key:"touchmove",value:function(t){this.initialized||this.initialize(),this._cursorFollower.classList.toggle("initialized",!0)}},{key:"render",value:function(){if(s&&window.cancelAnimationFrame(s),window.mouse){if(TweenMax.set(this._cursor,{x:window.mouse.x,y:window.mouse.y}),TweenMax.set(this._cursorFollower,{x:window.mouse.delayed.x,y:window.mouse.delayed.y,scale:window.mouse.delayed.progress,opacity:window.mouse.delayed.progress}),this.previousMouse){var t=this.isHover?10:20,e=this.previousMouse.x-window.mouse.x,r=this.previousMouse.y-window.mouse.y,i=Math.max(1,Math.min(t,Math.sqrt(e*e+r*r)))/10,n=180*Math.atan2(r,e)/Math.PI;i=Math.max(1,i),isNaN(n)&&(n=0),TweenMax.set(this._cursorPart,{scaleX:i,rotation:n})}if(this.previousMouseDelayed){var o=this.previousMouseDelayed.x-window.mouse.delayed.x,a=this.previousMouseDelayed.y-window.mouse.delayed.y,u=Math.max(1,Math.min(15,Math.sqrt(o*o+a*a)))/10,l=180*Math.atan2(a,o)/Math.PI;u=Math.max(1,u),isNaN(l)&&(l=0),TweenMax.set(this._cursorFollowerPart,{scaleX:u,rotation:l})}}this.previousMouse=Object.assign({},window.mouse),this.previousMouseDelayed=Object.assign({},window.mouse.delayed),s=window.requestAnimationFrame(this.render)}},{key:"mouseenterLink",value:function(t){this.isHover=!0,this._html.classList.toggle("hover",!0)}},{key:"mouseleaveLink",value:function(){this.isHover=!1,this._html.classList.toggle("hover",!1)}}]),t}();e.default=new a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=c(r(141));r(70);var o=r(143),s=r(598),a=r(192),u=c(r(599)),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(203)),h=c(r(89));function c(t){return t&&t.__esModule?t:{default:t}}function f(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}o.CSSPlugin,s.PixiPlugin;l.utils.skipHello(),l.settings.PRECISION_FRAGMENT=l.PRECISION.HIGH;var d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));r.skewingText={works:{skewing:0,element:document.querySelector(".works-list")},about:{skewing:0,element:document.querySelector(".about-subinner")}},r.container=t,r.renderId=0,r.render=r.render.bind(r),r.resize=r.resize.bind(r),r.workMouseEnter=r.workMouseEnter.bind(r),r.workMouseLeave=r.workMouseLeave.bind(r);return r.app=new l.Application(window.innerWidth,window.innerHeight,{transparent:!0,resolution:2,autoResize:!0,antialias:!0}),r.app.view.setAttribute("id","canvas"),r.container.appendChild(r.app.view),r.lastScroll=null,r.lastAngle=null,r.timeline=null,r.timelineIntro=null,r._workTitles=[].concat(f(document.querySelectorAll(".work-title"))),r._workTitles.forEach(function(t){t.addEventListener("mouseenter",r.workMouseEnter),t.addEventListener("click",r.workMouseEnter),t.addEventListener("mouseleave",r.workMouseLeave);var e=t.querySelector(".stroke");t.insertAdjacentHTML("beforeend",'<span class="fill">'+e.innerHTML+"</span>");var i=t.querySelector(".fill");TweenMax.set(i,{clip:"rect(0, 0px, "+i.offsetHeight+"px, 0)"})}),r.resize(),r.app.ticker.add(r.render),r.resizeTimer=null,window.addEventListener("resize",function(){r.resizeTimer&&clearTimeout(r.resizeTimer),r.resizeTimer=setTimeout(r.resize,600)}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,h.default),i(e,[{key:"initConfig",value:function(){this.config={gap:this.xtraSmall?this.ultraSmall?30:60:120,white:15790320,black:2236962,work:{gap:this.xtraSmall?this.ultraSmall?30:60:120},about:{p:{gap:this.large?this.small?this.xtraSmall?this.ultraSmall?28:30:40:55:70}},scrollbar:{width:this.large?this.small?3:4:5},mouse:{maxFilterPower:this.xtraSmall?this.ultraSmall?5:7.5:10}}}},{key:"resize",value:function(){for(this.large=window.matchMedia("(max-width: "+n.default.sizes.large_screen+")").matches,this.small=window.matchMedia("(max-width: "+n.default.sizes.small_screen+")").matches,this.xtraSmall=window.matchMedia("(max-width: "+n.default.sizes.xtra_small_screen+")").matches,this.ultraSmall=window.matchMedia("(max-width: "+n.default.sizes.ultra_small_screen+")").matches,this.initConfig(),this.app.renderer.resize(window.innerWidth,window.innerHeight);this.app.stage.children[0];)this.app.stage.removeChild(this.app.stage.children[0]);TweenMax.set([].concat(f(document.querySelectorAll(".content, .works, .about, .about-intro, .about-end"))),{clearProps:"all"}),this.small&&(TweenMax.set([].concat(f(document.querySelectorAll(".content"))),{paddingTop:8*window.innerHeight}),TweenMax.set([].concat(f(document.querySelectorAll(".works"))),{paddingBottom:.5*window.innerHeight}),TweenMax.set([].concat(f(document.querySelectorAll(".about-end"))),{height:window.innerHeight})),this.initAnimation(this.config),this.initMovement(this.config),this.initLoading(this.config),this.initWorks(this.config),this.initAbout(this.config),this._workTitles.forEach(function(t){var e=(0,a._getAbsoluteOffsetTop)(t)+t.offsetHeight/2;t.setAttribute("data-top",e)})}},{key:"createScrollbar",value:function(t,e){var r=new l.Graphics;return r.beginFill(t),r.drawRect(window.innerWidth-this.config.scrollbar.width,0,this.config.scrollbar.width,window.innerHeight),this.app.stage.addChild(r),e&&(r.mask=e),r}},{key:"initAnimation",value:function(t){var e=this,r=window.innerWidth/window.innerHeight,i=Math.max(r,1.3333),n=[],s=new l.Graphics;s.beginFill(t.white),s.drawRect(0,0,window.innerWidth,window.innerHeight),this.app.stage.addChild(s);var a=new l.Container;this.app.stage.addChild(a),a.style={fontFamily:"MierA",fontSize:450*window.innerHeight*i/1920,fontWeight:800,padding:10,fill:t.black},[].concat(f("Virginie".split(""))).forEach(function(e,r){var i=Object.assign(0===r?{stroke:t.black,strokeThickness:1.5}:{},a.style),n=new l.Text(e,i);n.anchor.set(0,1),n.x=0,n.y=n.height/2,a.addChild(n)}),a.y=window.innerHeight/2,n.push(this.createScrollbar(t.black,null));var u=new l.Graphics;u.beginFill(0),u.drawRect(0,0,window.innerWidth,window.innerHeight),this.app.stage.addChild(u);var h=new l.Graphics;h.beginFill(t.black),h.drawRect(0,0,window.innerWidth,window.innerHeight),h.mask=u,this.app.stage.addChild(h);var c=new l.Text("scroll",{fontFamily:"MierA",fontSize:33.75,fontWeight:800,padding:15,fill:t.white});c.anchor.set(.5,1),c.alpha=1,c.x=window.innerWidth/2,c.y=window.innerHeight+c.height,this.app.stage.addChild(c),this.scroll=c;var d=new l.Container;this.app.stage.addChild(d);var p=new l.Text("V",{fontFamily:"MierA",fontSize:450*window.innerHeight*i/1920,fontWeight:800,padding:10,fill:t.white,stroke:t.white,strokeThickness:1.5});p.anchor.set(0,0),p.x=window.innerWidth/2-p.width/2,p.y=window.innerHeight/2-p.height/2,d.addChild(p),d.mask=u,n.push(this.createScrollbar(t.white,u));var v=new l.Text("Vachet",{fontFamily:"MierA",fontSize:450*window.innerHeight*i/1920,fontWeight:800,padding:10,fill:t.white,stroke:!1});v.anchor.set(0,0),v.y=window.innerHeight/2-v.height/2,this.app.stage.addChild(v);var y=new l.Graphics;y.beginFill(t.white),y.drawRect(0,0,window.innerWidth,window.innerHeight+t.gap),this.app.stage.addChild(y),this.bgWorks=y;var m=new l.Graphics;m.beginFill(0),m.drawRect(0,-1,window.innerWidth,window.innerHeight+2+t.gap),this.app.stage.addChild(m),this.maskWorks=m,this.workWrapper=new l.Container,this.app.stage.addChild(this.workWrapper),this.workContainer=new l.Container,this.workContainer.mask=this.maskWorks,this.workWrapper.addChild(this.workContainer),this.workContainerInner=new l.Container,this.workContainer.addChild(this.workContainerInner),this.workContainerInner.alpha=this.xtraSmall?.1:1,n.push(this.createScrollbar(t.black,m));var g=new l.Text("Developeuse",{fontFamily:"MierA",fontSize:window.innerWidth/i*680/1080,fontWeight:900,padding:10,fill:t.white,stroke:!1});g.anchor.set(.5,.5),g.alpha=0,g.rotation=-Math.PI/2,g.x=window.innerWidth/2+g.height/2,g.y=window.innerHeight/2;var _=new l.Text("Web",{fontFamily:"MierA",fontSize:window.innerWidth/i*680/1080,fontWeight:900,padding:10,fill:t.white,stroke:!1});_.anchor.set(.5,.5),_.alpha=0,_.rotation=-Math.PI/2,_.x=window.innerWidth/2-_.height/2,_.y=window.innerHeight/2;var b=new l.Graphics;b.beginFill(t.black),b.drawRect(0,0,window.innerWidth,window.innerHeight+g.width+t.gap+window.innerHeight/2);var x=new l.Graphics;x.beginFill(0),x.drawRect(0,-1,window.innerWidth,window.innerHeight+2+g.width+t.gap+window.innerHeight/2);var w=new l.Graphics;w.beginFill(0),w.drawRect(0,0,window.innerWidth,window.innerHeight+g.width+t.gap+window.innerHeight/2),_.mask=x,g.mask=x,this.app.stage.addChild(x),this.app.stage.addChild(b),this.app.stage.addChild(_),this.app.stage.addChild(g),n.push(this.createScrollbar(t.white,w));var T=new l.Graphics;T.beginFill(t.black),T.drawRect(0,0,window.innerWidth,window.innerHeight),this.app.stage.addChild(T);var S=new l.Graphics;S.beginFill(0),S.drawRect(0,-1,window.innerWidth,window.innerHeight+2),this.app.stage.addChild(S);var E=new l.Graphics;E.beginFill(0),E.drawRect(0,0,window.innerWidth,window.innerHeight),this.app.stage.addChild(E),n.push(this.createScrollbar(t.white,E));var P=new l.Container,O=new l.Text("About",{fontFamily:"MierA",fontSize:685*window.innerHeight/1080,fontWeight:900,padding:10,fill:t.white,stroke:!1});O.anchor.set(0,this.small?0:1),O.alpha=0,O.rotation=-Math.PI/2,O.x=this.small?.25*-O.height:.396*window.innerWidth,O.y=0,P.mask=S,P.addChild(O),this.app.stage.addChild(P),this.timeline&&this.timeline.kill(),this.timeline=new o.TimelineMax({paused:!0});var M=(document.getElementById("scrolling").offsetHeight-window.innerHeight)/window.innerHeight,A=8+(this.container.querySelector(".works").offsetHeight-window.innerHeight)/window.innerHeight;this.timeline.fromTo(n,M,{y:-window.innerHeight},{y:0,ease:Linear.easeNone},0),this.timeline.set([_,g,v],{alpha:0});var C=0;a.children.forEach(function(t,r){r>0&&e.timeline.fromTo(t,2,{x:window.innerWidth/2*r+a.children[0].width/2},{x:C,ease:Quart.easeOut},0),C+=t.width-.5});var R=window.innerWidth>C?(window.innerWidth-C)/2:window.innerWidth-C-t.gap;this.timeline.fromTo(a,4,{x:window.innerWidth/2-a.children[0].width/2,skewing:1},{x:R,skewing:0,ease:Quart.easeOut},0),this.timeline.fromTo(p,4,{x:window.innerWidth/2-a.children[0].width/2},{x:R,ease:Quart.easeOut},0),this.timeline.fromTo(u,1,{x:0},{x:-window.innerWidth,ease:Quart.easeOut},0),this.timeline.fromTo([v],.01,{alpha:0,skewing:0,pixi:{skewX:0}},{alpha:1,skewing:1,pixi:{skewX:0}},1.99),this.timeline.fromTo(v,3,{x:window.innerWidth},{x:-v.width-t.gap,ease:Quad.easeOut},2),this.timeline.fromTo([b,x,w],3,{x:window.innerWidth+v.width+t.gap+window.innerWidth/2},{x:0,ease:Quad.easeOut},2),this.timeline.fromTo([p,a,v],.01,{alpha:1,skewing:1,pixi:{skewX:0}},{alpha:0,skewing:0,pixi:{skewX:0}},5),this.timeline.addLabel("interactiveDeveloper",4.5),this.timeline.fromTo([_,g],.01,{alpha:0,skewing:0},{alpha:1,skewing:1},"interactiveDeveloper-=0.01"),this.timeline.fromTo(_,3.5,{y:-_.width/2},{y:window.innerHeight+_.width/2+t.gap,ease:Quad.easeOut},"interactiveDeveloper"),this.timeline.fromTo(g,3.5,{y:window.innerHeight+g.width/2},{y:-g.width/2-t.gap,ease:Quad.easeOut},"interactiveDeveloper"),this.timeline.fromTo([b,x,w],3.5,{y:0},{y:-b.height,ease:Quad.easeOut},"interactiveDeveloper"),this.timeline.fromTo([y,m],3.5,{y:window.innerHeight+g.width+t.gap+window.innerHeight/2},{y:0,ease:Quad.easeOut},"interactiveDeveloper"),this.timeline.fromTo([_,g],.01,{alpha:1},{alpha:0},"interactiveDeveloper+=3.5"),this.timeline.addLabel("works",8);var D=this.container.querySelector(".works").offsetHeight/window.innerHeight,I=Math.min(M-8-D,1.65);this.timeline.fromTo([this.workContainer],D+(this.xtraSmall?0:I),{y:80*window.innerWidth/1920},{y:-80*window.innerWidth/1920,ease:Linear.easeNone},"works-="+(this.xtraSmall?0:I)),this.xtraSmall||this.timeline.fromTo([this.workWrapper],D+(this.xtraSmall?0:I),{y:window.innerHeight/4},{y:-window.innerHeight/4,ease:Linear.easeNone},"works-="+(this.xtraSmall?0:I)),this.timeline.fromTo(this.skewingText.works,.01,{skewing:0},{skewing:1},"works-=1.5"),this.timeline.fromTo(this.skewingText.works.element,.01,{skewY:0},{skewY:0},"works-=1.5"),this.timeline.addLabel("about",A),this.timeline.fromTo(O,.01,{alpha:0},{alpha:this.small?.1:1},"about-=0.01"),this.timeline.fromTo([T,S,E],Math.min(1,M-A),{y:window.innerHeight},{y:0,ease:Quad.easeOut},"about"),this.timeline.fromTo(O,M-A,{y:-window.innerHeight/2-t.gap},{y:O.width+t.gap/8,ease:Quad.easeOut},"about"),this.timeline.fromTo(this.skewingText.works,.01,{skewing:1},{skewing:0},"about+=1"),this.timeline.fromTo(this.skewingText.works.element,.01,{skewY:0},{skewY:0},"about+=1"),this.timeline.fromTo(this.skewingText.about,.01,{skewing:0},{skewing:1},"about+=1"),this.timeline.fromTo(this.skewingText.about.element,.01,{skewY:0},{skewY:0},"about+=1"),this.timeline.set({},{},M),this.filteredElements=[p,a,v,_,g,O],this.skewingHorizontalElements=[p,a,v,_,g,O],this.skewingVerticalElements=[]}},{key:"initMovement",value:function(t){var e=this;this.mouseDSprite=l.Sprite.fromImage("filter-circle"),this.mouseDSprite.anchor.set(.5,.5),this.mouseDSprite.x=window.innerWidth/2,this.mouseDSprite.y=window.innerHeight/2,this.mouseDFilter=new l.filters.DisplacementFilter(this.mouseDSprite,0),this.mouseDFilter.fragmentSrc="varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\n\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\n\nvoid main(void)\n{\n  vec4 map =  texture2D(mapSampler, vFilterCoord);\n\n  map -= 0.0;\n  map.xy *= scale / filterArea.xy;\n\n  gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), filterClamp.xy, filterClamp.zw));\n}\n",this.mouseDFilter.autoFit=!0,this.mouseDFilter.padding=10,this.app.stage.addChild(this.mouseDSprite),this.filteredElements.forEach(function(t){t.filters=[e.mouseDFilter]}),this.skewingHorizontalElements.forEach(function(t){t.skewing=1})}},{key:"initAbout",value:function(t){[].concat(f(document.querySelectorAll(".about-intro p"))).forEach(function(e){e.scrollTrigger=new u.default({rewind:!0,instantStart:!1,target:e,timeline:new o.TimelineMax({paused:!0}).fromTo(e,1,{y:t.about.p.gap},{y:0,ease:Quart.easeOut}),event:"vs:scroll:change",getPageY:function(){return window.customScrollbar.offset.y},minSize:parseInt(n.default.sizes.small_screen)+1})});var e=document.querySelector(".about"),r=e.querySelector(".about-end"),i=r.querySelector(".about-end-inner");r.scrollTrigger&&r.scrollTrigger.destroy();var s=new o.TimelineMax({paused:!0});return s.fromTo(r.querySelector(".about-end-mail"),1,{opacity:0},{opacity:1,ease:Quart.easeOut}),s.set(r.querySelector(".about-end-mail"),{pointerEvents:"auto"},.7),s.to(r.querySelector(".about-end-socials hr"),1.2,{scaleX:1,ease:Quint.easeInOut},.7),s.staggerFromTo([].concat(f(r.querySelectorAll(".about-end-socials .link .glitch"))),.8,{y:"100%"},{y:"0%",ease:Quint.easeOut},.2,1.2),s.set([].concat(f(r.querySelectorAll(".about-end-socials .link"))),{pointerEvents:"auto"},1.6),s.addCallback(function(){[].concat(f(e.querySelectorAll(".about-end-socials .link .glitch, .about-end-title .glitch, .about-notices .link .glitch"))).forEach(function(t){t.element.start()})}),r.scrollTrigger=new u.default({rewind:!1,instantStart:!1,target:i,timeline:s,event:"vs:scroll:change",getPageY:function(){return window.customScrollbar.offset.y},startOffset:"33%"}),s}},{key:"initLoading",value:function(t){if(this.timelineIntro&&this.timelineIntro.kill(),this.timelineIntro=new o.TimelineMax({paused:!0}),window.isIntro){var e=window.innerWidth/window.innerHeight,r=Math.max(e,1.3333),i=new l.Container;this.app.stage.addChild(i);var n=new l.Graphics;n.beginFill(t.black),n.drawRect(0,0,window.innerWidth,window.innerHeight-this.scroll.height),i.addChild(n);var s=new l.Text("V",{fontFamily:"MierA",fontSize:450*window.innerHeight*r/1920,fontWeight:800,padding:0,fill:!1,stroke:t.white,strokeThickness:1.5});s.anchor.set(0,0),s.x=window.innerWidth/2-s.width/2,s.y=window.innerHeight/2-s.height/2,i.addChild(s);var a=new l.Container,u=new l.Text("V",{fontFamily:"MierA",fontSize:450*window.innerHeight*r/1920,fontWeight:800,padding:0,fill:t.white,stroke:t.white,strokeThickness:1.5});u.anchor.set(0,0),u.x=window.innerWidth/2-u.width/2,u.y=window.innerHeight/2-u.height/2,a.addChild(u),i.addChild(a);var h=new l.Graphics;h.beginFill(0),h.drawRect(u.x,u.y+.125*u.height,u.width,u.height-.3*u.height),i.addChild(h),a.mask=h,h.y=h.height;var c=l.Sprite.fromImage("filter-repeat");c.texture.baseTexture.wrapMode=l.WRAP_MODES.REPEAT,c.scale.set(window.innerWidth>window.innerHeight?window.innerWidth/1920:window.innerHeight/960),i.addChild(c);var f=new l.filters.DisplacementFilter(c);f.fragmentSrc="varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\n\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\n\nvoid main(void)\n{\n  vec4 map =  texture2D(mapSampler, vFilterCoord);\n\n  map -= 0.0;\n  map.xy *= scale / filterArea.xy;\n\n  gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), filterClamp.xy, filterClamp.zw));\n}\n",f.autoFit=!0,f.padding=10,f.scaleIntro=0,f.scaleLoading=1,this.loadingDFilter=f,i.filters=[f,this.mouseDFilter],this.introContainer=i,this.introMask=h,this.timelineIntro.fromTo(s,2,{pixi:{alpha:0}},{pixi:{alpha:1},ease:Quad.easeIn},0),this.timelineIntro.fromTo(c,4,{pixi:{x:0,y:0}},{pixi:{x:512,y:512},ease:Quad.easeOut},0),this.timelineIntro.fromTo(this.loadingDFilter,4,{scaleIntro:10},{scaleIntro:0,ease:Quad.easeOut},0)}}},{key:"initWorks",value:function(t){if(!window.isIntro){var e=l.Sprite.fromImage("filter-repeat");e.texture.baseTexture.wrapMode=l.WRAP_MODES.REPEAT,this.workContainer.addChild(e);var r=new l.filters.DisplacementFilter(e,1);r.fragmentSrc="varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\n\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\n\nvoid main(void)\n{\n  vec4 map =  texture2D(mapSampler, vFilterCoord);\n\n  map -= 0.0;\n  map.xy *= scale / filterArea.xy;\n\n  gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), filterClamp.xy, filterClamp.zw));\n}\n",r.autoFit=!0,r.padding=10,this.workDSprite=e,this.workDFilter=r,this.ultraSmall||(this.workContainerInner.filters=[r,this.mouseDFilter]),this.skewingWorks=[];var i=window.innerWidth/window.innerHeight;for(var n in window.works)if(window.works.hasOwnProperty(n)){var o=new l.Container,s=l.Sprite.fromImage(n);if(this.xtraSmall){var a=s.width/s.height;s.originalScale=a>=i?window.innerHeight/(s.height-80):window.innerWidth/s.width,s.anchor.set(.5,.5),s.scale.set(s.originalScale),s.x=window.innerWidth/2,s.y=window.innerHeight/2}else s.originalScale=window.innerWidth/1920,s.anchor.set(.5,.5),s.scale.set(s.originalScale),s.x=window.innerWidth-t.work.gap*s.originalScale-s.width/2,s.y=window.innerHeight/2;s.alpha=0,o.addChild(s),this.workContainerInner.addChild(o);var u=new l.Graphics;u.beginFill(0),this.xtraSmall?u.drawRect(0,0,window.innerWidth,window.innerHeight):(u.drawRect(0,0,s.width,s.height-80*s.originalScale),u.pivot.set(u.width/2,u.height/2)),u.x=this.xtraSmall?0:s.x,u.y=this.xtraSmall?0:s.y,u.originalWidth=u.width,u.originalHeight=u.height,this.workWrapper.addChild(u),s.mask=u,u.filters=[r,this.mouseDFilter],window.works[n].sprite=s,window.works[n].mask=u,window.works[n].container=o,u.skewing=1,this.skewingWorks.push(s)}this.timeline.fromTo(this.workContainer,.01,{alpha:0},{alpha:1},"works-=1.65"),this.timeline.fromTo(this.skewingWorks,.01,{skewing:0,pixi:{skewY:0}},{skewing:1,pixi:{skewY:0}},"works-=1.65"),this.timeline.fromTo(this.workContainer,.01,{alpha:1},{alpha:0},"about+=1"),this.timeline.fromTo(this.skewingWorks,.01,{skewing:1,pixi:{skewY:0}},{skewing:0,pixi:{skewY:0}},"about+=1")}}},{key:"progressLoad",value:function(t){var e=this,r=new o.TimelineMax({onComplete:function(){t>=1&&(e.app.stage.removeChild(e.introContainer),window.isIntro=!1,document.body.classList.remove("introduction"),window.debug||window.customScrollbar.scrollTo(0,0,0),e.initWorks(e.config))}});r.to(this.introMask,window.debug?0:2,{y:this.introMask.height-this.introMask.height*t,ease:Quart.easeIn}),t>=1&&(r.addLabel("end","-=1"),r.fromTo(this.scroll,1,{alpha:0,y:window.innerHeight+this.scroll.height},{alpha:1,y:window.innerHeight+15,ease:Quart.easeIn},"end"),r.fromTo(this.loadingDFilter,1,{scaleLoading:1},{scaleLoading:0,ease:Quart.easeIn},"end"))}},{key:"render",value:function(){if(this.mouseDFilter&&TweenMax.set(this.mouseDFilter,{pixi:{scale:window.mouse.delayed.progress*this.config.mouse.maxFilterPower}}),this.mouseDSprite&&(this.mouseDSprite.y=window.mouse.delayed.y,this.mouseDSprite.x=window.mouse.delayed.x),window.isIntro)this.loadingDFilter.scale.set(this.loadingDFilter.scaleLoading*this.loadingDFilter.scaleIntro);else if(this.timeline.progress(window.progress),null===this.lastAngle||this.lastAngle!==window.angle)for(var t in this.skewingHorizontalElements.forEach(function(t){t.skewing>0&&TweenMax.set(t,{pixi:{skewX:t.skewing*window.angle}})}),this.skewingWorks.forEach(function(t){t.skewing>0&&t.alpha>0&&TweenMax.set(t,{pixi:{skewY:t.skewing*-window.angle/3}})}),this.skewingText){var e=this.skewingText[t];e.skewing>0&&TweenMax.set(e.element,{skewY:-window.angle/2})}if(window.isTouch&&!isIntro&&null!==this.lastScroll){var r=this.lastScroll<=window.customScrollbar.offset.y?1:-1,i=null,n=window.customScrollbar.offset.y+window.innerHeight/2;this._workTitles.forEach(function(t){var e=parseInt(t.getAttribute("data-top"));n>=e&&(i=t)}),i?this.workIn(i,r):this.workOut(this.previousWork,r)}this.lastScroll=window.customScrollbar.offset.y}},{key:"workMouseEnter",value:function(t){for(var e=t.target;!e.classList.contains("work-title")&&e.parentNode;)e=e.parentNode;this.workIn(e)}},{key:"workMouseLeave",value:function(t){for(var e=t.target;!e.classList.contains("work-title")&&e.parentNode;)e=e.parentNode;e.classList.contains("work-title")}},{key:"workIn",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(t.classList.contains("work-title")){var r=t.getAttribute("data-work"),i=this.previousWork?this.previousWork.getAttribute("data-work"):"";if(!this.previousWork||i!==r){var n=new o.TimelineMax,s=document.querySelector('.work-info[data-work="'+r+'"]'),a=t.querySelector(".fill"),u=window.works[r].timelineOut,l=window.works[r].sprite,h=window.works[r].container,c=window.works[r].mask,f=this.previousWork?window.works[i].sprite:null,d=(this.previousWork&&window.works[i].container,this.previousWork?window.works[i].mask:null),p=null,v=this.previousWork;if(u&&u.kill(),v&&(p=this.workOut(this.previousWork,e)),p&&n.add(p),n.fromTo(a,.6,{clip:"rect(0, 0px, "+a.offsetHeight+"px, 0)"},{clip:"rect(0, "+a.offsetWidth+"px, "+a.offsetHeight+"px, 0)",clearProps:"clip",ease:Quint.easeOut},0),n.to(s,.6,{opacity:1,ease:Quart.easeOut},0),this.xtraSmall)n.set(l,{alpha:1},0),n.fromTo(c,1.2,{y:window.innerHeight*e},{y:0,ease:Quart.easeOut},0),n.fromTo(h,1.2,{y:80*e},{y:0,ease:Quart.easeOut},0);else if(v){var y=d.originalHeight/c.originalHeight,m=c.originalHeight/d.originalHeight;n.fromTo(this.workDSprite,1.2,{pixi:{x:0,y:0}},{pixi:{x:256,y:256},ease:Linear.easeNone},0),n.to(this.workDFilter,.3,{pixi:{scale:this.config.mouse.maxFilterPower},ease:Quad.easeOut},0),n.to(this.workDFilter,.9,{pixi:{scale:0},ease:Quart.easeOut},.3),n.fromTo(d,.6,{pixi:{scaleY:1}},{pixi:{scaleY:c.originalHeight/d.originalHeight},ease:Quad.easeOut},0),n.fromTo(c,.6,{pixi:{scaleY:d.originalHeight/c.originalHeight}},{pixi:{scaleY:1},ease:Quad.easeOut},0),n.fromTo(f,1.2,{alpha:1,pixi:{scale:1*f.originalScale}},{alpha:0,pixi:{scale:Math.max(1,m)*f.originalScale},ease:Quart.easeOut},0),n.fromTo(l,1.2,{alpha:0,pixi:{scale:Math.max(1.1,y)*l.originalScale}},{alpha:1,pixi:{scale:1*l.originalScale},ease:Quart.easeOut},0)}else n.fromTo(this.workDSprite,.9,{pixi:{x:0,y:0}},{pixi:{x:256,y:256},ease:Linear.easeNone},0),n.fromTo(this.workDFilter,.9,{pixi:{scale:this.config.mouse.maxFilterPower}},{pixi:{scale:0},ease:Quart.easeOut},0),n.fromTo(c,.6,{pixi:{scaleY:1.2,scaleX:.9}},{pixi:{scaleY:1,scaleX:1},ease:Quart.easeOut},0),n.fromTo(l,1.2,{alpha:0,pixi:{scale:1.1*l.originalScale}},{alpha:1,pixi:{scale:1*l.originalScale},ease:Quart.easeOut},0)}this.previousWork=t}}},{key:"workOut",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(t){var r=t.getAttribute("data-work"),i=new o.TimelineMax,n=document.querySelector('.work-info[data-work="'+r+'"]'),s=t.querySelector(".fill"),a=window.works[r].sprite,u=window.works[r].container,l=window.works[r].mask;return i.fromTo(s,.6,{clip:"rect(0, "+s.offsetWidth+"px, "+s.offsetHeight+"px, 0)"},{clip:"rect(0, 0px, "+s.offsetHeight+"px, 0)",ease:Quart.easeOut},0),i.to(n,.6,{opacity:0,ease:Quart.easeOut},0),this.xtraSmall&&(i.fromTo(l,1.2,{y:0},{y:window.innerHeight*-e,ease:Quart.easeOut},0),i.set(a,{alpha:0},1.2),i.fromTo(u,1.2,{y:0},{y:80*-e,ease:Quart.easeOut},0)),window.works[r].timelineOut=i,this.previousWork=null,i}}}]),e}();e.default=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PixiPlugin=void 0;var i,n,o,s=r(20),a=/(\d|\.)+/g,u=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,l={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]},h=function(t,e,r){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},c=function(t,e){var r,i,n,o,s,c,f,d,p,v,y,m="hsl"===e;if(t)if("number"==typeof t)r=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),l[t])r=l[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(o=t.charAt(3))+o),r=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(r=y=t.match(a),m){if(-1!==t.indexOf("="))return t.match(u)}else s=Number(r[0])%360/360,c=Number(r[1])/100,i=2*(f=Number(r[2])/100)-(n=f<=.5?f*(c+1):f+c-f*c),r.length>3&&(r[3]=Number(t[3])),r[0]=h(s+1/3,i,n),r[1]=h(s,i,n),r[2]=h(s-1/3,i,n);else r=t.match(a)||l.transparent;r[0]=Number(r[0]),r[1]=Number(r[1]),r[2]=Number(r[2]),r.length>3&&(r[3]=Number(r[3]))}else r=l.black;return m&&!y&&(i=r[0]/255,n=r[1]/255,o=r[2]/255,f=((d=Math.max(i,n,o))+(p=Math.min(i,n,o)))/2,d===p?s=c=0:(v=d-p,c=f>.5?v/(2-d-p):v/(d+p),s=d===i?(n-o)/v+(n<o?6:0):d===n?(o-i)/v+2:(i-n)/v+4,s*=60),r[0]=s+.5|0,r[1]=100*c+.5|0,r[2]=100*f+.5|0),"number"===e?r[0]<<16|r[1]<<8|r[2]:r},f=function(t,e){var r,i,n,o=(t+"").match(p)||[],s=0,a="";if(!o.length)return t;for(r=0;r<o.length;r++)i=o[r],s+=(n=t.substr(s,t.indexOf(i,s)-s)).length+i.length,3===(i=c(i,e?"hsl":"rgb")).length&&i.push(1),a+=n+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return a+t.substr(s)},d=(s._gsScope.GreenSockGlobals||s._gsScope).TweenLite,p="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b",v=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],y=.212671,m=.072169,g=function(t,e){var r,i,n=[],o=0,s=0;for(r=0;r<4;r++){for(i=0;i<5;i++)s=4===i?t[o+4]:0,n[o+i]=t[o]*e[i]+t[o+1]*e[i+5]+t[o+2]*e[i+10]+t[o+3]*e[i+15]+s;o+=5}return n},_=function(t,e){var r=1-e,i=r*y,n=.71516*r,o=r*m;return g([i+e,n,o,0,0,i,n+e,o,0,0,i,n,o+e,0,0,0,0,0,1,0],t)},b=function(t,e,r){var i=c(e),n=i[0]/255,o=i[1]/255,s=i[2]/255,a=1-r;return g([a+r*n*y,r*n*.71516,r*n*m,0,0,r*o*y,a+r*o*.71516,r*o*m,0,0,r*s*y,r*s*.71516,a+r*s*m,0,0,0,0,0,1,0],t)},x=function(t,e){e*=Math.PI/180;var r=Math.cos(e),i=Math.sin(e);return g([y+.787329*r+i*-y,.71516+-.71516*r+-.71516*i,m+r*-m+.927831*i,0,0,y+r*-y+.143*i,.71516+.28484*r+.14*i,m+r*-m+-.283*i,0,0,y+r*-y+-.787329*i,.71516+-.71516*r+.71516*i,m+.927831*r+i*m,0,0,0,0,0,1,0,0,0,0,0,1],t)},w=function(t,e){return g([e,0,0,0,.5*(1-e),0,e,0,0,.5*(1-e),0,0,e,0,.5*(1-e),0,0,0,1,0],t)},T=function(t,e){var r,i=s._gsScope.PIXI.filters[e],n=t.filters||[],o=n.length;if(!i)throw"PixiPlugin error: "+e+" isn't present.";for(;--o>-1;)if(n[o]instanceof i)return n[o];return r=new i,"BlurFilter"===e&&(r.blur=0),n.push(r),t.filters=n,r},S=function(t,e,r,i){e._addTween(r,t,r[t],i[t],t),e._overwriteProps.push(t)},E=function(t,e){var r=new s._gsScope.PIXI.filters.ColorMatrixFilter;return r.matrix=e,r.brightness(t,!0),r.matrix},P={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},O=function(t,e,r){var i,n,o,s=T(t,"ColorMatrixFilter"),a=t._gsColorMatrixFilter=t._gsColorMatrixFilter||{contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},u=e.combineCMF&&!("colorMatrixFilter"in e&&!e.colorMatrixFilter);o=s.matrix,e.resolution&&(s.resolution=e.resolution),e.matrix&&e.matrix.length===o.length?(n=e.matrix,1!==a.contrast&&S("contrast",r,a,P),a.hue&&S("hue",r,a,P),1!==a.brightness&&S("brightness",r,a,P),a.colorizeAmount&&(S("colorize",r,a,P),S("colorizeAmount",r,a,P)),1!==a.saturation&&S("saturation",r,a,P)):(n=v.slice(),null!=e.contrast?(n=w(n,Number(e.contrast)),S("contrast",r,a,e)):1!==a.contrast&&(u?n=w(n,a.contrast):S("contrast",r,a,P)),null!=e.hue?(n=x(n,Number(e.hue)),S("hue",r,a,e)):a.hue&&(u?n=x(n,a.hue):S("hue",r,a,P)),null!=e.brightness?(n=E(Number(e.brightness),n),S("brightness",r,a,e)):1!==a.brightness&&(u?n=E(a.brightness,n):S("brightness",r,a,P)),null!=e.colorize?(e.colorizeAmount="colorizeAmount"in e?Number(e.colorizeAmount):1,n=b(n,e.colorize,e.colorizeAmount),S("colorize",r,a,e),S("colorizeAmount",r,a,e)):a.colorizeAmount&&(u?n=b(n,a.colorize,a.colorizeAmount):(S("colorize",r,a,P),S("colorizeAmount",r,a,P))),null!=e.saturation?(n=_(n,Number(e.saturation)),S("saturation",r,a,e)):1!==a.saturation&&(u?n=_(n,a.saturation):S("saturation",r,a,P))),i=n.length;for(;--i>-1;)n[i]!==o[i]&&r._addTween(o,i,o[i],n[i],"colorMatrixFilter");r._overwriteProps.push("colorMatrixFilter")},M=function(t,e,r,n,o){var s=n._firstPT={_next:n._firstPT,t:t,p:e,proxy:{},f:"function"==typeof t[e]};s.proxy[e]="rgb("+c(s.f?t[e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3)]():t[e]).join(",")+")",o._addTween(s.proxy,e,"get","number"==typeof r?"rgb("+c(r,!1).join(",")+")":r,e,null,null,i)},A=function(t,e){var r=e.setRatio,i=function t(i){var n,o=t._firstPT;for(r.call(e,i);o;)n=c(o.proxy[o.p],"number"),o.f?o.t[o.p](n):o.t[o.p]=n,o=o._next;t.graphics&&(t.graphics.dirty++,t.graphics.clearDirty++)};return e.setRatio=i,i},C={tint:1,lineColor:1,fillColor:1},R="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),D={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},I={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},k=Math.PI/180,L=function(t){return"string"==typeof t&&"="===t.charAt(1)?t.substr(0,2)+parseFloat(t.substr(2))*k:t*k};for(n=0;n<R.length;n++)o=R[n],D[o+"X"]=o,D[o+"Y"]=o;for(o in l)p+="|"+o+"\\b";p=new RegExp(p+")","gi"),i=function(t){var e,r=t[0]+" "+t[1];p.lastIndex=0,p.test(r)&&(e=-1!==r.indexOf("hsl(")||-1!==r.indexOf("hsla("),t[0]=f(t[0],e),t[1]=f(t[1],e))},d.defaultStringFilter||(d.defaultStringFilter=i);var F=s._gsScope._gsDefine.plugin({propName:"pixi",priority:0,API:2,global:!0,version:"0.2.1",init:function(t,e,r,i){if(!t instanceof s._gsScope.PIXI.DisplayObject)return!1;var n,o,a,u,l,h,c,f,d,p,v;for(h in e){if(n=D[h],"function"==typeof(a=e[h])&&(a=a(i||0,t)),n)o=-1!==h.charAt(h.length-1).toLowerCase().indexOf("x")?"x":"y",this._addTween(t[n],o,t[n][o],"skew"===n?L(a):a,h);else if("scale"===h||"anchor"===h||"pivot"===h||"tileScale"===h)this._addTween(t[h],"x",t[h].x,a,h+"X"),this._addTween(t[h],"y",t[h].y,a,h+"Y");else if("rotation"===h)this._addTween(t,h,t.rotation,L(a),h);else if(I[h])u||(O(t,e.colorMatrixFilter||e,this),u=!0);else if("blur"===h||"blurX"===h||"blurY"===h||"blurPadding"===h){if(l=T(t,"BlurFilter"),this._addTween(l,h,l[h],a,h),0!==e.blurPadding)for(c=e.blurPadding||2*Math.max(l[h],a),d=t.filters.length;--d>-1;)t.filters[d].padding=Math.max(t.filters[d].padding,c)}else if(C[h])if(f||(f=A(0,this)),("lineColor"===h||"fillColor"===h)&&t instanceof s._gsScope.PIXI.Graphics){for(d=(p=t.graphicsData).length;--d>-1;)M(p[d],h,a,f,this);f.graphics=t}else M(t,h,a,f,this);else"autoAlpha"===h?(this._firstPT=v={t:{setRatio:function(){t.visible=!!t.alpha}},p:"setRatio",s:0,c:1,f:1,pg:0,n:"visible",pr:0,m:0,_next:this._firstPT},v._next&&(v._next._prev=v),this._addTween(t,"alpha",t.alpha,a,"alpha"),this._overwriteProps.push("alpha","visible")):this._addTween(t,h,t[h],a,h);this._overwriteProps.push(h)}return!0}});F.colorProps=C,F.parseColor=c,F.formatColors=f,F.colorStringFilter=i,e.PixiPlugin=F,e.default=F},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(89),s=(i=o)&&i.__esModule?i:{default:i};var a=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return window.dispatcher||(window.dispatcher=new s.default),r.options=Object.assign({debug:!1,target:null,timeline:null,startOffset:0,rewindOffset:0,rewind:!0,onStart:null,onRewind:null,instantStart:!0,event:null,getPageY:function(){return window.pageYOffset},minSize:0},t),r.visible=!1,r.resize=r.resize.bind(r),r.findPosition=r.findPosition.bind(r),r.scrollHandler=r.scrollHandler.bind(r),r.render=r.render.bind(r),r.init(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default),n(e,[{key:"resize",value:function(){var t=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.findPosition(),t.update(!0)},300)}},{key:"findPosition",value:function(){this.wWidth=window.innerWidth,this.wHeight=window.innerHeight;for(var t={},e=this.options.target.offsetTop,r=this.options.target.offsetParent;r;)e+=r.offsetTop,r=r.offsetParent;this.debug("offsetTop",e),Number.isInteger(this.options.startOffset)?t.startLimit=e-this.options.startOffset:this.options.startOffset.endsWith("%")&&(t.startLimit=e-this.wHeight*parseInt(this.options.startOffset)/100),Number.isInteger(this.options.rewindOffset)?t.rewindLimit=e-this.options.rewindOffset:this.options.startOffset.endsWith("%")&&(t.rewindLimit=e-this.wHeight*parseInt(this.options.rewindOffset)/100),t.rewindLimit=Math.max(t.rewindLimit,t.startLimit),this.options.target.coords=t,this.debug(this.options.target.coords)}},{key:"init",value:function(){return!(null===this.options.target||this.options.target.length<1)&&(null!==this.options.timeline&&(window.addEventListener("resize",this.resize),this.allowScrollUpdate=!0,this.findPosition(),this.update(this.options.instantStart),void this.render()))}},{key:"checkTrigger",value:function(t){if(this.wWidth<this.options.minSize)this.options.timeline.paused(!0),this.options.timeline.progress(1),this.debug("minsize");else{var e=this.options.getPageY()+this.wHeight,r=e-this.options.target.coords.startLimit,i=e-this.options.target.coords.rewindLimit;this.debug("startLimit",r),0<r&&this.options.timeline.paused()&&(this.visible=!0,this.options.timeline.restart(),!0===t&&this.options.timeline.progress(1),this.debug("restart"),this.options.onStart&&this.options.onStart(),this.emit("vs:scrolltrigger:start")),0>=i&&!this.options.timeline.paused()&&(this.visible=!1,this.options.rewind&&(this.options.timeline.paused(!0),this.options.timeline.progress(0),this.debug("rewind"),this.options.onRewind&&this.options.onRewind(),this.emit("vs:scrolltrigger:rewind")))}}},{key:"update",value:function(t){this.options.timeline.paused(!0),this.wWidth<this.options.minSize?(this.visible=!0,this.options.timeline.progress(1),this.removeScrollListener()):(this.visible=!1,this.options.timeline.progress(0),this.checkTrigger(t),this.addScrollListener())}},{key:"addScrollListener",value:function(){this.options.event?(window.dispatcher.off(this.options.event,this.scrollHandler),window.dispatcher.on(this.options.event,this.scrollHandler)):(window.removeEventListener("scroll",this.scrollHandler),window.addEventListener("scroll",this.scrollHandler))}},{key:"removeScrollListener",value:function(){this.options.event?window.dispatcher.off(this.options.event,this.scrollHandler):window.removeEventListener("scroll",this.scrollHandler)}},{key:"scrollHandler",value:function(t){this.allowScrollUpdate=!0}},{key:"render",value:function(){this.renderId&&window.cancelAnimationFrame(this.renderId),this.allowScrollUpdate&&(this.checkTrigger(),this.allowScrollUpdate=!1),this.renderId=window.requestAnimationFrame(this.render)}},{key:"updateTimeline",value:function(t){this.options.timeline=t,this.options.timeline.paused(!0),this.options.timeline.progress(1),this.allowScrollUpdate=!0,this.update(!0),this.render()}},{key:"enable",value:function(){this.update(!0),this.render()}},{key:"disable",value:function(){this.renderId&&window.cancelAnimationFrame(this.renderId),this.options.timeline.paused(!0)}},{key:"isVisible",value:function(){return this.visible}},{key:"destroy",value:function(){this.disable(),this.options.timeline.progress(1),this.options.timeline.kill(),this.allowScrollUpdate=!1,window.removeEventListener("resize",this.resize),this.resizeTimeout&&clearTimeout(this.resizeTimeout)}},{key:"debug",value:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.options.debug}}]),e}();e.default=a},function(t,e,r){}]);