{"ast":null,"code":"import isDocument from \"./isDocument\";\nexport default function isWindow(node) {\n  if ('window' in node && node.window === node) return node;\n  if (isDocument(node)) return node.defaultView || false;\n  return false;\n}","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/node_modules/@react-native-aria/overlays/node_modules/dom-helpers/esm/isWindow.js"],"names":["isDocument","isWindow","node","window","defaultView"],"mappings":"AAAA,OAAOA,UAAP;AACA,eAAe,SAASC,QAAT,CAAkBC,IAAlB,EAAwB;AACrC,MAAI,YAAYA,IAAZ,IAAoBA,IAAI,CAACC,MAAL,KAAgBD,IAAxC,EAA8C,OAAOA,IAAP;AAC9C,MAAIF,UAAU,CAACE,IAAD,CAAd,EAAsB,OAAOA,IAAI,CAACE,WAAL,IAAoB,KAA3B;AACtB,SAAO,KAAP;AACD","sourcesContent":["import isDocument from './isDocument';\nexport default function isWindow(node) {\n  if ('window' in node && node.window === node) return node;\n  if (isDocument(node)) return node.defaultView || false;\n  return false;\n}"]},"metadata":{},"sourceType":"module"}