{"version":3,"sources":["node_modules\\fbjs\\lib\\ExecutionEnvironment.js"],"names":["canUseDOM","window","document","createElement","ExecutionEnvironment","canUseWorkers","Worker","canUseEventListeners","addEventListener","attachEvent","canUseViewport","screen","isInWorker","module","exports"],"mappings":";;;;;;;;;;AAUA;;AAEA,GAAIA,WAAY,CAAC,EAAE,MAAOC,OAAP,GAAkB,WAAlB,EAAiCA,OAAOC,QAAxC,EAAoDD,OAAOC,QAAP,CAAgBC,aAAtE,CAAjB;;;;;;;;AAQA,GAAIC,sBAAuB;;AAEzBJ,UAAWA,SAFc;;AAIzBK,cAAe,MAAOC,OAAP,GAAkB,WAJR;;AAMzBC,qBAAsBP,WAAa,CAAC,EAAEC,OAAOO,gBAAP,EAA2BP,OAAOQ,WAApC,CANX;;AAQzBC,eAAgBV,WAAa,CAAC,CAACC,OAAOU,MARb;;AAUzBC,WAAY,CAACZ,SAVY,CAA3B;;;;AAcAa,OAAOC,OAAP,CAAiBV,oBAAjB","file":"ExecutionEnvironment.js","sourceRoot":"d:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["/**\n * Copyright (c) 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 canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n  canUseDOM: canUseDOM,\n\n  canUseWorkers: typeof Worker !== 'undefined',\n\n  canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n\n  canUseViewport: canUseDOM && !!window.screen,\n\n  isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;"]}