{"ast":null,"code":"import \"./environment/react-native-logs.fx\";\nimport { Platform } from 'expo-modules-core';\n\nif (__DEV__) {\n  if (Platform.OS === 'web' && !('__fbBatchedBridgeConfig' in global)) {\n    Object.defineProperty(global, '__fbBatchedBridgeConfig', {\n      get: function get() {\n        throw new Error(\"Your web project is importing a module from 'react-native' instead of 'react-native-web'. Learn more: https://expo.fyi/fb-batched-bridge-config-web\");\n      }\n    });\n  }\n}","map":{"version":3,"sources":["../src/Expo.fx.web.ts"],"names":[],"mappings":"AAAA;AAEA,SAAS,QAAT,QAAyB,mBAAzB;;AAKA,IAAI,OAAJ,EAAa;AAEX,MAEE,QAAQ,CAAC,EAAT,KAAgB,KAAhB,IAEA,EAAE,6BAA6B,MAA/B,CAJF,EAKE;AACA,IAAA,MAAM,CAAC,cAAP,CAAsB,MAAtB,EAA8B,yBAA9B,EAAyD;AACvD,MAAA,GADuD,iBACpD;AACD,cAAM,IAAI,KAAJ,CACJ,qJADI,CAAN;AAGD;AALsD,KAAzD;AAOD;AACF","sourcesContent":["import './environment/react-native-logs.fx';\n\nimport { Platform } from 'expo-modules-core';\n\n// When users dangerously import a file inside of react-native, it breaks the web alias.\n// This is one of the most common, and cryptic web errors that users encounter.\n// This conditional side-effect provides a more helpful error message for debugging.\nif (__DEV__) {\n  // Use a wrapper `__DEV__` to remove this entire block in production.\n  if (\n    // Only on web platforms.\n    Platform.OS === 'web' &&\n    // Skip mocking if someone is shimming this value out.\n    !('__fbBatchedBridgeConfig' in global)\n  ) {\n    Object.defineProperty(global, '__fbBatchedBridgeConfig', {\n      get() {\n        throw new Error(\n          \"Your web project is importing a module from 'react-native' instead of 'react-native-web'. Learn more: https://expo.fyi/fb-batched-bridge-config-web\"\n        );\n      },\n    });\n  }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"}