{"ast":null,"code":"\"use strict\";\n\nimport * as React from 'react';\nimport { PreventRemoveContext } from \"./PreventRemoveContext.js\";\nexport function usePreventRemoveContext() {\n  var value = React.useContext(PreventRemoveContext);\n  if (value == null) {\n    throw new Error(\"Couldn't find the prevent remove context. Is your component inside NavigationContent?\");\n  }\n  return value;\n}","map":{"version":3,"names":["React","PreventRemoveContext","usePreventRemoveContext","value","useContext","Error"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/core/src/usePreventRemoveContext.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { PreventRemoveContext } from './PreventRemoveContext';\n\nexport function usePreventRemoveContext() {\n  const value = React.useContext(PreventRemoveContext);\n\n  if (value == null) {\n    throw new Error(\n      \"Couldn't find the prevent remove context. Is your component inside NavigationContent?\"\n    );\n  }\n\n  return value;\n}\n"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,oBAAoB;AAE7B,OAAO,SAASC,uBAAuBA,CAAA,EAAG;EACxC,IAAMC,KAAK,GAAGH,KAAK,CAACI,UAAU,CAACH,oBAAoB,CAAC;EAEpD,IAAIE,KAAK,IAAI,IAAI,EAAE;IACjB,MAAM,IAAIE,KAAK,CACb,uFACF,CAAC;EACH;EAEA,OAAOF,KAAK;AACd","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}