!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define("Phaser",[],e):"object"==typeofexports?exports.Phaser=e():t.Phaser=e()}(window,function(){returnfunction(t){vare={};functioni(s){if(e[s])returne[s].exports;varn=e[s]={i:s,l:!1,exports:{}};returnt[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}returni.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},i.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returni.d(e,"a",e),e},i.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1034)}([function(t,e){functioni(t,e,i){vars=i?t[e]:Object.getOwnPropertyDescriptor(t,e);return!i&&s.value&&"object"==typeofs.value&&(s=s.value),!(!s||!function(t){return!!t.get&&"function"==typeoft.get||!!t.set&&"function"==typeoft.set}(s))&&(void0===s.enumerable&&(s.enumerable=!0),void0===s.configurable&&(s.configurable=!0),s)}functions(t,e){vari=Object.getOwnPropertyDescriptor(t,e);return!!i&&(i.value&&"object"==typeofi.value&&(i=i.value),!1===i.configurable)}functionn(t,e,n,r){for(varaine)if(e.hasOwnProperty(a)){varh=i(e,a,n);if(!1!==h){if(s((r||t).prototype,a)){if(o.ignoreFinals)continue;thrownewError("cannot override final property '"+a+"', set Class.ignoreFinals = true to skip")}Object.defineProperty(t.prototype,a,h)}elset.prototype[a]=e[a]}}functionr(t,e){if(e){Array.isArray(e)||(e=[e]);for(vari=0;i<e.length;i++)n(t,e[i].prototype||e[i])}}functiono(t){vare,i;if(t||(t={}),t.initialize){if("function"!=typeoft.initialize)thrownewError("initialize must be a function");e=t.initialize,deletet.initialize}elseif(t.Extends){vars=t.Extends;e=function(){s.apply(this,arguments)}}elsee=function(){};t.Extends?(e.prototype=Object.create(t.Extends.prototype),e.prototype.constructor=e,i=t.Extends,deletet.Extends):e.prototype.constructor=e;varo=null;returnt.Mixins&&(o=t.Mixins,deletet.Mixins),r(e,o),n(e,t,!0,i),e}o.extend=n,o.mixin=r,o.ignoreFinals=!1,t.exports=o},function(t,e){t.exports=function(t,e,i){vars=typeoft;returnt&&"number"!==s&&"string"!==s&&t.hasOwnProperty(e)&&void0!==t[e]?t[e]:i}},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,i){if(t&&"number"!=typeoft){if(t.hasOwnProperty(e))returnt[e];if(e.indexOf(".")){for(vars=e.split("."),n=t,r=i,o=0;o<s.length;o++){if(!n.hasOwnProperty(s[o])){r=i;break}r=n[s[o]],n=n[s[o]]}returnr}returni}returni}},function(t,e,i){vars=new(i(0))({initialize:function(t,e){this.x=0,this.y=0,"object"==typeoft?(this.x=t.x||0,this.y=t.y||0):(void0===e&&(e=t),this.x=t||0,this.y=e||0)},clone:function(){returnnews(this.x,this.y)},copy:function(t){returnthis.x=t.x||0,this.y=t.y||0,this},setFromObject:function(t){returnthis.x=t.x||0,this.y=t.y||0,this},set:function(t,e){returnvoid0===e&&(e=t),this.x=t,this.y=e,this},setTo:function(t,e){returnthis.set(t,e)},setToPolar:function(t,e){returnnull==e&&(e=1),this.x=Math.cos(t)*e,this.y=Math.sin(t)*e,this},equals:function(t){returnthis.x===t.x&&this.y===t.y},angle:function(){vart=Math.atan2(this.y,this.x);returnt<0&&(t+=2*Math.PI),t},add:function(t){returnthis.x+=t.x,this.y+=t.y,this},subtract:function(t){returnthis.x-=t.x,this.y-=t.y,this},multiply:function(t){returnthis.x*=t.x,this.y*=t.y,this},scale:function(t){returnisFinite(t)?(this.x*=t,this.y*=t):(this.x=0,this.y=0),this},divide:function(t){returnthis.x/=t.x,this.y/=t.y,this},negate:function(){returnthis.x=-this.x,this.y=-this.y,this},distance:function(t){vare=t.x-this.x,i=t.y-this.y;returnMath.sqrt(e*e+i*i)},distanceSq:function(t){vare=t.x-this.x,i=t.y-this.y;returne*e+i*i},length:function(){vart=this.x,e=this.y;returnMath.sqrt(t*t+e*e)},lengthSq:function(){vart=this.x,e=this.y;returnt*t+e*e},normalize:function(){vart=this.x,e=this.y,i=t*t+e*e;returni>0&&(i=1/Math.sqrt(i),this.x=t*i,this.y=e*i),this},normalizeRightHand:function(){vart=this.x;returnthis.x=-1*this.