{"ast":null,"code":"export default function styleToBarStyle(style = 'auto', colorScheme) {\n  if (!colorScheme) {\n    colorScheme = 'light';\n  }\n  let resolvedStyle = style;\n  if (style === 'auto') {\n    resolvedStyle = colorScheme === 'light' ? 'dark' : 'light';\n  } else if (style === 'inverted') {\n    resolvedStyle = colorScheme === 'light' ? 'light' : 'dark';\n  }\n  return resolvedStyle === 'light' ? 'light-content' : 'dark-content';\n}","map":{"version":3,"names":["styleToBarStyle","style","colorScheme","resolvedStyle"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/expo-status-bar/src/styleToBarStyle.web.ts"],"sourcesContent":["import { StatusBarStyle } from './StatusBar.types';\n\nexport default function styleToBarStyle(\n  style: StatusBarStyle = 'auto',\n  colorScheme: 'light' | 'dark'\n): 'light-content' | 'dark-content' {\n  if (!colorScheme) {\n    colorScheme = 'light';\n  }\n\n  let resolvedStyle = style;\n  if (style === 'auto') {\n    resolvedStyle = colorScheme === 'light' ? 'dark' : 'light';\n  } else if (style === 'inverted') {\n    resolvedStyle = colorScheme === 'light' ? 'light' : 'dark';\n  }\n\n  return resolvedStyle === 'light' ? 'light-content' : 'dark-content';\n}\n"],"mappings":"AAEA,eAAc,SAAUA,eAAeA,CACrCC,KAAA,GAAwB,MAAM,EAC9BC,WAA6B;EAE7B,IAAI,CAACA,WAAW,EAAE;IAChBA,WAAW,GAAG,OAAO;;EAGvB,IAAIC,aAAa,GAAGF,KAAK;EACzB,IAAIA,KAAK,KAAK,MAAM,EAAE;IACpBE,aAAa,GAAGD,WAAW,KAAK,OAAO,GAAG,MAAM,GAAG,OAAO;GAC3D,MAAM,IAAID,KAAK,KAAK,UAAU,EAAE;IAC/BE,aAAa,GAAGD,WAAW,KAAK,OAAO,GAAG,OAAO,GAAG,MAAM;;EAG5D,OAAOC,aAAa,KAAK,OAAO,GAAG,eAAe,GAAG,cAAc;AACrE","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}