{"ast":null,"code":"var getBoundingClientRect = function getBoundingClientRect(node) {\n  if (node != null) {\n    var isElement = node.nodeType === 1;\n\n    if (isElement && typeof node.getBoundingClientRect === 'function') {\n      return node.getBoundingClientRect();\n    }\n  }\n};\n\nexport default getBoundingClientRect;","map":{"version":3,"sources":["/Users/nishan/Desktop/oss/responsive-breakpoints/example/node_modules/react-native-web/dist/modules/getBoundingClientRect/index.js"],"names":["getBoundingClientRect","node","isElement","nodeType"],"mappings":"AAQA,IAAIA,qBAAqB,GAAG,SAASA,qBAAT,CAA+BC,IAA/B,EAAqC;AAC/D,MAAIA,IAAI,IAAI,IAAZ,EAAkB;AAChB,QAAIC,SAAS,GAAGD,IAAI,CAACE,QAAL,KAAkB,CAAlC;;AAGA,QAAID,SAAS,IAAI,OAAOD,IAAI,CAACD,qBAAZ,KAAsC,UAAvD,EAAmE;AACjE,aAAOC,IAAI,CAACD,qBAAL,EAAP;AACD;AACF;AACF,CATD;;AAWA,eAAeA,qBAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar getBoundingClientRect = function getBoundingClientRect(node) {\n  if (node != null) {\n    var isElement = node.nodeType === 1;\n    /* Node.ELEMENT_NODE */\n\n    if (isElement && typeof node.getBoundingClientRect === 'function') {\n      return node.getBoundingClientRect();\n    }\n  }\n};\n\nexport default getBoundingClientRect;"]},"metadata":{},"sourceType":"module"}