{"version":3,"sources":["jsdelivr-header.js","/npm/react-native-download-manager@0.2.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNS,cAAgB,uBAAyB,6BAEnC,CACX,SAAU,CAAC,EAAI,IAAa,cAAc,oBAAoB,SAAS,EAAI,GAC3E,WAAa,GAAa,mBAAmB,YAAY,iBAAkB,GAC3E,WAAa,GAAa,cAAc,oBAAoB,WAAW,GACvE,SAAW,GAAa,cAAc,oBAAoB,SAAS,GACnE,cAAe,cAAc,oBAAoB,cACjD,eAAgB,cAAc,oBAAoB,eAClD,eAAgB,cAAc,oBAAoB,eAClD,kBAAmB,cAAc,oBAAoB,kBACrD,cAAe,cAAc,oBAAoB,cACjD,YAAa,cAAc,oBAAoB","file":"/npm/react-native-download-manager@0.2.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/react-native-download-manager@0.2.2/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { NativeModules,  DeviceEventEmitter} from 'react-native';\n\nexport default {\n    download: (opt,callback) => NativeModules.DownloadFileManager.download(opt,callback),\n    onProgress: (callback) => DeviceEventEmitter.addListener('DownloadStatus', callback),\n    installAPK: (filePath) => NativeModules.DownloadFileManager.installAPK(filePath),\n    openFile: (filePath) => NativeModules.DownloadFileManager.openFile(filePath),\n    STATUS_PAUSED: NativeModules.DownloadFileManager.STATUS_PAUSED,\n    STATUS_PENDING: NativeModules.DownloadFileManager.STATUS_PENDING,\n    STATUS_RUNNING: NativeModules.DownloadFileManager.STATUS_RUNNING,\n    STATUS_SUCCESSFUL: NativeModules.DownloadFileManager.STATUS_SUCCESSFUL,\n    STATUS_FAILED: NativeModules.DownloadFileManager.STATUS_FAILED,\n    STATUS_BUSY: NativeModules.DownloadFileManager.STATUS_BUSY,\n};"]}