{"version":3,"sources":["node_modules\\react-dom\\lib\\isTextInputElement.js"],"names":["supportedInputTypes","color","date","datetime","email","month","number","password","range","search","tel","text","time","url","week","isTextInputElement","elem","nodeName","toLowerCase","type","module","exports"],"mappings":";;;;;;;;;;;AAWA;;;;;;AAMA,GAAIA,qBAAsB;AACxBC,MAAO,IADiB;AAExBC,KAAM,IAFkB;AAGxBC,SAAU,IAHc;AAIxB,iBAAkB,IAJM;AAKxBC,MAAO,IALiB;AAMxBC,MAAO,IANiB;AAOxBC,OAAQ,IAPgB;AAQxBC,SAAU,IARc;AASxBC,MAAO,IATiB;AAUxBC,OAAQ,IAVgB;AAWxBC,IAAK,IAXmB;AAYxBC,KAAM,IAZkB;AAaxBC,KAAM,IAbkB;AAcxBC,IAAK,IAdmB;AAexBC,KAAM,IAfkB,CAA1B;;;AAkBA,QAASC,mBAAT,CAA4BC,IAA5B,CAAkC;AAChC,GAAIC,UAAWD,MAAQA,KAAKC,QAAb,EAAyBD,KAAKC,QAAL,CAAcC,WAAd,EAAxC;;AAEA,GAAID,WAAa,OAAjB,CAA0B;AACxB,MAAO,CAAC,CAACjB,oBAAoBgB,KAAKG,IAAzB,CAAT;AACD;;AAED,GAAIF,WAAa,UAAjB,CAA6B;AAC3B,MAAO,KAAP;AACD;;AAED,MAAO,MAAP;AACD;;AAEDG,OAAOC,OAAP,CAAiBN,kBAAjB","file":"isTextInputElement.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\n'use strict';\n\n/**\n * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n */\n\nvar supportedInputTypes = {\n  color: true,\n  date: true,\n  datetime: true,\n  'datetime-local': true,\n  email: true,\n  month: true,\n  number: true,\n  password: true,\n  range: true,\n  search: true,\n  tel: true,\n  text: true,\n  time: true,\n  url: true,\n  week: true\n};\n\nfunction isTextInputElement(elem) {\n  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n\n  if (nodeName === 'input') {\n    return !!supportedInputTypes[elem.type];\n  }\n\n  if (nodeName === 'textarea') {\n    return true;\n  }\n\n  return false;\n}\n\nmodule.exports = isTextInputElement;"]}