{"version":3,"sources":["node_modules\\react-dom\\lib\\ReactInstanceMap.js"],"names":["ReactInstanceMap","remove","key","_reactInternalInstance","undefined","get","has","set","value","module","exports"],"mappings":";;;;;;;;;;AAUA;;;;;;;;;;;AAWA,GAAIA,kBAAmB;;;;;;AAMrBC,OAAQ,gBAAUC,GAAV,CAAe;AACrBA,IAAIC,sBAAJ,CAA6BC,SAA7B;AACD,CARoB;;AAUrBC,IAAK,aAAUH,GAAV,CAAe;AAClB,MAAOA,KAAIC,sBAAX;AACD,CAZoB;;AAcrBG,IAAK,aAAUJ,GAAV,CAAe;AAClB,MAAOA,KAAIC,sBAAJ,GAA+BC,SAAtC;AACD,CAhBoB;;AAkBrBG,IAAK,aAAUL,GAAV,CAAeM,KAAf,CAAsB;AACzBN,IAAIC,sBAAJ,CAA6BK,KAA7B;AACD,CApBoB,CAAvB;;;AAuBAC,OAAOC,OAAP,CAAiBV,gBAAjB","file":"ReactInstanceMap.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\n/**\n * `ReactInstanceMap` maintains a mapping from a public facing stateful\n * instance (key) and the internal representation (value). This allows public\n * methods to accept the user facing instance as an argument and map them back\n * to internal methods.\n */\n\n// TODO: Replace this with ES6: var ReactInstanceMap = new Map();\n\nvar ReactInstanceMap = {\n  /**\n   * This API should be called `delete` but we'd have to make sure to always\n   * transform these to strings for IE support. When this transform is fully\n   * supported we can rename it.\n   */\n  remove: function (key) {\n    key._reactInternalInstance = undefined;\n  },\n\n  get: function (key) {\n    return key._reactInternalInstance;\n  },\n\n  has: function (key) {\n    return key._reactInternalInstance !== undefined;\n  },\n\n  set: function (key, value) {\n    key._reactInternalInstance = value;\n  }\n};\n\nmodule.exports = ReactInstanceMap;"]}