{"version":3,"sources":["node_modules\\react-dom\\lib\\ReactEventEmitterMixin.js"],"names":["EventPluginHub","require","runEventQueueInBatch","events","enqueueEvents","processEventQueue","ReactEventEmitterMixin","handleTopLevel","topLevelType","targetInst","nativeEvent","nativeEventTarget","extractEvents","module","exports"],"mappings":";;;;;;;;;;AAUA;;AAEA,GAAIA,gBAAiBC,QAAQ,kBAAR,CAArB;;AAEA,QAASC,qBAAT,CAA8BC,MAA9B,CAAsC;AACpCH,eAAeI,aAAf,CAA6BD,MAA7B;AACAH,eAAeK,iBAAf,CAAiC,KAAjC;AACD;;AAED,GAAIC,wBAAyB;;;;;AAK3BC,eAAgB,wBAAUC,YAAV,CAAwBC,UAAxB,CAAoCC,WAApC,CAAiDC,iBAAjD,CAAoE;AAClF,GAAIR,QAASH,eAAeY,aAAf,CAA6BJ,YAA7B,CAA2CC,UAA3C,CAAuDC,WAAvD,CAAoEC,iBAApE,CAAb;AACAT,qBAAqBC,MAArB;AACD,CAR0B,CAA7B;;;AAWAU,OAAOC,OAAP,CAAiBR,sBAAjB","file":"ReactEventEmitterMixin.js","sourceRoot":"d:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = require('./EventPluginHub');\n\nfunction runEventQueueInBatch(events) {\n  EventPluginHub.enqueueEvents(events);\n  EventPluginHub.processEventQueue(false);\n}\n\nvar ReactEventEmitterMixin = {\n  /**\n   * Streams a fired top-level event to `EventPluginHub` where plugins have the\n   * opportunity to create `ReactEvent`s to be dispatched.\n   */\n  handleTopLevel: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n    var events = EventPluginHub.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n    runEventQueueInBatch(events);\n  }\n};\n\nmodule.exports = ReactEventEmitterMixin;"]}