/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@emanon_/react-native-sqlite-storage@4.1.7/sqlite.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var plugin=require("./lib/sqlite.core.js"),{SQLiteFactory:SQLiteFactory}=plugin,config=[[!1,"SQLitePlugin","transaction",!1,!0,!0],[!1,"SQLitePlugin","readTransaction",!1,!0,!0],[!1,"SQLitePlugin","close",!1,!1,!0],[!1,"SQLitePlugin","executeSql",!0,!1,!0],[!1,"SQLitePlugin","sqlBatch",!1,!1,!0],[!1,"SQLitePlugin","attach",!0,!1,!0],[!1,"SQLitePlugin","detach",!1,!1,!0],[!1,"SQLitePluginTransaction","executeSql",!0,!1,!1],[!1,"SQLiteFactory","deleteDatabase",!1,!1,!0],[!0,"SQLiteFactory","openDatabase",!1,!1,!0],[!1,"SQLiteFactory","echoTest",!1,!1,!0]],originalFns={};function enablePromiseRuntime(e){e?createPromiseRuntime():createCallbackRuntime()}function createCallbackRuntime(){config.forEach((e=>{let[t,i,n,o,r,a]=e;plugin[i].prototype[n]=originalFns[i+"."+n]})),plugin.log("Callback based runtime ready")}function createPromiseRuntime(){config.forEach((e=>{let[t,i,n,o,r,a]=e,l=plugin[i].prototype[n];plugin[i].prototype[n]=function(...e){o&&1==e.length&&e.push([]);var t=new Promise(((t,i)=>{let o=function(...e){return t(...e)},c=function(t){return plugin.log("error: ",n,...e,arguments),a&&i(t),!1};l.call(this,...e,r?c:o,r?o:c)}));return t}})),plugin.log("Promise based runtime ready")}config.forEach((e=>{let[t,i,n]=e,o=plugin[i].prototype[n];originalFns[i+"."+n]=o})),SQLiteFactory.prototype.enablePromise=enablePromiseRuntime,module.exports=new SQLiteFactory;
//# sourceMappingURL=/sm/d750681960d8abe21bdf7f426edfccfbc4e40cb429f125024ff21dd560f03c88.map