{"version":3,"file":"context.jsx","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,OAAO,CAAA;AAMlD,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC;IAC1C,YAAY,EAAE,CAAC;IACf,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,EAA0C;IAChD,aAAa,EAAE,SAAiC;IAChD;;OAEG;IACH,GAAG,EAAE,SAAiC;IACtC,OAAO,EAAE,CACP,IAEmB,EACnB,EAAE,GAAE,CAAC;IACP,KAAK,EAAE,MAA0B;IACjC,GAAG,EAAE,EAAE;IACP,eAAe,EAAE,KAAK;IACtB,kBAAkB,EAAE,KAAK;CAC1B,CAAC,CAAA","sourcesContent":["import { ContextType, createContext } from 'react'\nimport type { Image } from 'react-native'\nimport type { SFSymbol } from 'sf-symbols-typescript'\n\ntype ImageSource = string | Parameters<typeof Image.resolveAssetSource>[0]\n\nexport const GaleriaContext = createContext({\n  initialIndex: 0,\n  open: false,\n  urls: [] as unknown as undefined | ImageSource[],\n  closeIconName: undefined as undefined | SFSymbol,\n  /**\n   * @deprecated\n   */\n  ids: undefined as string[] | undefined,\n  setOpen: (\n    info:\n      | { open: true; src: string; initialIndex: number; id?: string }\n      | { open: false },\n  ) => {},\n  theme: 'dark' as 'dark' | 'light',\n  src: '',\n  hideBlurOverlay: false,\n  hidePageIndicators: false,\n})\n\nexport type GaleriaContext = ContextType<typeof GaleriaContext>\n"]}