text: !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.rextouchhelperplugin=e():t.rextouchhelperplugin=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=319)}({183:function(t,e,n){"use strict";var r=function(t,e){for(var n=t.scene,r=n.input.cameras.getCamerasBelowPointer(e),o=n.input.manager,i=[t],u=0,a=r.length;u<a;u++)if(o.hitTest(e,i,r[u]).length>0)return!0;return!1};e.a=function(t,e,n,o){if(e)return!(n&&!n(t,e)||!r(t,e)||o&&!o(t,e));for(var i=t.scene.input.manager,u=i.pointersTotal,a=i.pointers,c=0;c<u;c++)if(e=a[c],(!n||n(t,e))&&r(t,e)&&(!o||o(t,e)))return!0;return!1}},319:function(t,e,n){"use strict";function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(e);var o=function(t,e,n,o,i){var u,a,c,f=t.input,l=f.manager;void 0===e&&(e=f.topOnly),void 0===i&&(i=[]),void 0===n&&(n=f._list),void 0===o&&(o=l.pointers,u=l.pointersTotal),void 0===u&&(u=o.length);for(var s=0;s<u;s++){a=o[s];for(var p=0,y=(c=f.cameras.getCamerasBelowPointer(a)).length;p<y;p++){var b;(b=i).push.apply(b,r(l.hitTest(a,n,c[p])))}}return f.sortGameObjects(i),e&&i.length&&i.splice(1),i},i=n(183),u=n(41);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t,e,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var y=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,s(e).call(this,t))}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,Phaser.Plugins.BasePlugin),n=e,(r=[{key:"start",value:function(){this.game.events.once("destroy",this.destroy,this)}},{key:"destroy",value:function(){l(s(e.prototype),"destroy",this).call(this)}}])&&c(n.prototype,r),o&&c(n,o),e}(),b={hitTest:o,isPointerInHitArea:i.a,isPointerInBounds:u.a};Object.assign(y.prototype,b);e.default=y},41:function(t,e,n){"use strict";var r=void 0;e.a=function(t,e,n,o){if(void 0===r&&(r=new Phaser.Geom.Rectangle),t.getBounds(r),e)return!(n&&!n(t,e)||!r.contains(e.x,e.y)||o&&!o(t,e));for(var i=t.scene.input.manager,u=i.pointersTotal,a=i.pointers,c=0;c<u;c++)if(e=a[c],(!n||n(t,e))&&r.contains(e.x,e.y)&&(!o||o(t,e)))return!0;return!1}}}).default});