{"version":3,"file":"context.mjs","names":[],"sources":["../../src/navigator/context.ts"],"sourcesContent":["import { createContext } from '@wordpress/element';\nimport type { NavigatorContext as NavigatorContextType } from './types';\n\nconst initialContextValue: NavigatorContextType = {\n\tlocation: {},\n\tgoTo: () => {},\n\tgoBack: () => {},\n\tgoToParent: () => {},\n\taddScreen: () => {},\n\tremoveScreen: () => {},\n\tparams: {},\n};\nexport const NavigatorContext = createContext( initialContextValue );\nNavigatorContext.displayName = 'NavigatorContext';\n"],"mappings":";AAYA,MAAa,mBAAmB,cAAe;CAR9C,UAAU,CAAC;CACX,YAAY,CAAC;CACb,cAAc,CAAC;CACf,kBAAkB,CAAC;CACnB,iBAAiB,CAAC;CAClB,oBAAoB,CAAC;CACrB,QAAQ,CAAC;AAEqC,CAAoB;AACnE,iBAAiB,cAAc"}