function EventBoundary(rootTarget) {
        /**
         * Emits events after they were dispatched into the scene graph.
         *
         * This can be used for global events listening, regardless of the scene graph being used. It should
         * not be used by interactive libraries for normal use.
         *
         * Special events that do not bubble all the way to the root target are not emitted from here,
         * e.g. pointerenter, pointerleave, click.
         */
        this.dispatch = new _pixi_utils__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
        /**
         * This flag would emit `pointermove`, `touchmove`, and `mousemove` events on all DisplayObjects.
         *
         * The `moveOnAll` semantics mirror those of earlier versions of PixiJS. This was disabled in favor of
         * the Pointer Event API's approach.
         */
        this.moveOnAll = false;
        /**
         * State object for mapping methods.
         * @see PIXI.EventBoundary#trackingData
         */
        this.mappingState = {
            trackingData: {}
        };
        /**
         * The event pool maps event constructors to an free pool of instances of those specific events.
         * @see PIXI.EventBoundary#allocateEvent
         * @see PIXI.EventBoundary#freeEvent
         */
        this.eventPool = new Map();
        this.rootTarget = rootTarget;
        this.hitPruneFn = this.hitPruneFn.bind(this);
        this.hitTestFn = this.hitTestFn.bind(this);
        this.mapPointerDown = this.mapPointerDown.bind(this);
        this.mapPointerMove = this.mapPointerMove.bind(this);
        this.mapPointerOut = this.mapPointerOut.bind(this);
        this.mapPointerOver = this.mapPointerOver.bind(this);
        this.mapPointerUp = this.mapPointerUp.bind(this);
        this.mapPointerUpOutside = this.mapPointerUpOutside.bind(this);
        this.mapWheel = this.mapWheel.bind(this);
        this.mappingTable = {};
        this.addEventMapping('pointerdown', this.mapPointerDown);
        this.addEventMapping('pointermove', this.mapPointerMove);
        this.addEventMapping('pointerout', this.mapPointerOut);
        this.addEventMapping('pointerleave', this.mapPointerOut);
        this.addEventMapping('pointerover', this.mapPointerOver);
        this.addEventMapping('pointerup', this.mapPointerUp);
        this.addEventMapping('pointerupoutside', this.mapPointerUpOutside);
        this.addEventMapping('wheel', this.mapWheel);
    }
@param rootTarget - The holder of the event boundary.