/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@shanewwarren/react-native-secure-storage@0.1.4/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},__copyProps=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of __getOwnPropNames(t))__hasOwnProp.call(e,c)||c===r||__defProp(e,c,{get:()=>t[c],enumerable:!(o=__getOwnPropDesc(t,c))||o.enumerable});return e},__toCommonJS=e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),react_native_secure_storage_exports={};__export(react_native_secure_storage_exports,{ACCESS_CONTROL:()=>ACCESS_CONTROL,Accessible:()=>Accessible,AuthenticationType:()=>AuthenticationType,BIOMETRY_TYPE:()=>BIOMETRY_TYPE,default:()=>react_native_secure_storage_default}),module.exports=__toCommonJS(react_native_secure_storage_exports);var import_react_native=require("react-native"),{RNSecureStorage:RNSecureStorage}=import_react_native.NativeModules,Accessible=(e=>(e.WHEN_UNLOCKED="AccessibleWhenUnlocked",e.AFTER_FIRST_UNLOCK="AccessibleAfterFirstUnlock",e.ALWAYS="AccessibleAlways",e.WHEN_PASSCODE_SET_THIS_DEVICE_ONLY="AccessibleWhenPasscodeSetThisDeviceOnly",e.WHEN_UNLOCKED_THIS_DEVICE_ONLY="AccessibleWhenUnlockedThisDeviceOnly",e.AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY="AccessibleAfterFirstUnlockThisDeviceOnly",e.ALWAYS_THIS_DEVICE_ONLY="AccessibleAlwaysThisDeviceOnly",e))(Accessible||{}),ACCESS_CONTROL={USER_PRESENCE:"UserPresence",BIOMETRY_ANY:"BiometryAny",BIOMETRY_CURRENT_SET:"BiometryCurrentSet",DEVICE_PASSCODE:"DevicePasscode",APPLICATION_PASSWORD:"ApplicationPassword",BIOMETRY_ANY_OR_DEVICE_PASSCODE:"BiometryAnyOrDevicePasscode",BIOMETRY_CURRENT_SET_OR_DEVICE_PASSCODE:"BiometryCurrentSetOrDevicePasscode"},AuthenticationType=(e=>(e.DEVICE_PASSCODE_OR_BIOMETRICS="AuthenticationWithBiometricsDevicePasscode",e.BIOMETRIC="AuthenticationWithBiometrics",e))(AuthenticationType||{}),BIOMETRY_TYPE={TOUCH_ID:"TouchID",FACE_ID:"FaceID",FINGERPRINT:"Fingerprint"},isAndroid="android"===import_react_native.Platform.OS,defaultOptions={accessControl:null,accessible:"AccessibleWhenUnlocked",accessGroup:null,authenticationPrompt:"Authenticate to retrieve secret data",service:null,authenticationType:"AuthenticationWithBiometricsDevicePasscode"},getItem=(e,t)=>{const r={...defaultOptions,...t};return isAndroid?RNSecureStorage.getItem(e,r.service):RNSecureStorage.getItem(e,r)},setItem=(e,t,r)=>{const o={...defaultOptions,...r};return isAndroid?RNSecureStorage.setItem(e,t,o.service):RNSecureStorage.setItem(e,t,o)},removeItem=(e,t)=>{const r={...defaultOptions,...t};return isAndroid?RNSecureStorage.removeItem(e,r.service):RNSecureStorage.removeItem(e,r)},getAllKeys=e=>{const t={...defaultOptions,...e};return isAndroid?RNSecureStorage.getAllKeys(t.service):RNSecureStorage.getAllKeys(t)},getSupportedBiometryType=()=>RNSecureStorage.getSupportedBiometryType(),canCheckAuthentication=e=>{const t={...defaultOptions,...e};return isAndroid?null!==RNSecureStorage.getSupportedBiometryType():RNSecureStorage.canCheckAuthentication(t)},react_native_secure_storage_default={getItem:getItem,setItem:setItem,removeItem:removeItem,getAllKeys:getAllKeys,getSupportedBiometryType:getSupportedBiometryType,canCheckAuthentication:canCheckAuthentication};
//# sourceMappingURL=/sm/83ae0680738421b408f47b4244796dd637766e6e65172491eafa3cda5a9def68.map