!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(n){if(e[n])returne[n].exports;vars=e[n]={i:n,l:!1,exports:{}};returnt[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}returni.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},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=1014)}([function(t,e){functioni(t,e,i){varn=i?t[e]:Object.getOwnPropertyDescriptor(t,e);return!i&&n.value&&"object"==typeofn.value&&(n=n.value),!(!n||!function(t){return!!t.get&&"function"==typeoft.get||!!t.set&&"function"==typeoft.set}(n))&&(void0===n.enumerable&&(n.enumerable=!0),void0===n.configurable&&(n.configurable=!0),n)}functionn(t,e){vari=Object.getOwnPropertyDescriptor(t,e);return!!i&&(i.value&&"object"==typeofi.value&&(i=i.value),!1===i.configurable)}functions(t,e,s,r){for(varoine)if(e.hasOwnProperty(o)){varh=i(e,o,s);if(!1!==h){if(n((r||t).prototype,o)){if(a.ignoreFinals)continue;thrownewError("cannot override final property '"+o+"', set Class.ignoreFinals = true to skip")}Object.defineProperty(t.prototype,o,h)}elset.prototype[o]=e[o]}}functionr(t,e){if(e){Array.isArray(e)||(e=[e]);for(vari=0;i<e.length;i++)s(t,e[i].prototype||e[i])}}functiona(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){varn=t.Extends;e=function(){n.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;vara=null;returnt.Mixins&&(a=t.Mixins,deletet.Mixins),r(e,a),s(e,t,!0,i),e}a.extend=s,a.mixin=r,a.ignoreFinals=!1,t.exports=a},function(t,e){t.exports=function(t,e,i){varn=typeoft;returnt&&"number"!==n&&"string"!==n&&t.hasOwnProperty(e)&&void0!==t[e]?t[e]:i}},function(t,e,i){varn=i(0),s=i(15),r=i(78),a=i(8),o=newn({Extends:a,initialize:function(t,e){a.call(this),this.scene=t,this.type=e,this.parentContainer=null,this.name="",this.active=!0,this.tabIndex=-1,this.data=null,this.renderFlags=15,this.cameraFilter=0,this.input=null,this.body=null,this.ignoreDestroy=!1,t.sys.queueDepthSort(),t.sys.events.once("shutdown",this.destroy,this)},setActive:function(t){returnthis.active=t,this},setName:function(t){returnthis.name=t,this},setDataEnabled:function(){returnthis.data||(this.data=newr(this)),this},setData:function(t,e){returnthis.data||(this.data=newr(this)),this.data.set(t,e),this},getData:function(t){returnthis.data||(this.data=newr(this)),this.data.get(t)},setInteractive:function(t,e,i){returnthis.scene.sys.input.enable(this,t,e,i),this},disableInteractive:function(){returnthis.input&&(this.input.enabled=!this.input.enabled),this},removeInteractive:function(){returnthis.scene.sys.input.clear(this),this.input=void0,this},update:function(){},toJSON:function(){returns.ToJSON(this)},willRender:function(){returno.RENDER_MASK===this.renderFlags},getIndexList:function(){for(vart=this,e=this.parentContainer,i=[];e&&(i.unshift(e.getIndex(t)),t=e,e.parentContainer);)e=e.parentContainer;returni.unshift(this.scene.sys.displayList.getIndex(t)),i},destroy:function(){if(this.scene&&!this.ignoreDestroy){this.preDestroy&&this.preDestroy.call(this),this.emit("destroy",this);vart=this.scene.sys;t.displayList.remove(this),t.updateList.remove(this),this.input&&(t.input.clear(this),this.input=void0),this.data&&(this.data.destroy(),this.data=void0),this.body&&(this.body.destroy(),this.body=void0),t.queueDepthSort(),this.active=!1,this.visible=!1,this.scene=void0,this.parentContainer=void0,this.removeAllListeners()}}});