{"version":3,"sources":["jsdelivr-header.js","/npm/ripple-gateway-data-sequelize@1.8.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,WAAa,QAAQ,wBACrB,MAAwB,QAAQ,2BAChC,iBAAwB,QAAQ,uCAChC,qBAAwB,QAAQ,2CAChC,gBAAwB,QAAQ,sCAChC,mBAAwB,QAAQ,yCAEhC,IAAM,WAEV,EAGI,SAAW,IAAI,IAKf,KAAO,SAAS,EAAY,GAC/B,SAAS,GAAY,CAAC,EACtB,EAAW,SAAS,GACrB,EAEA,KAAK,iBAAkB,oBACvB,KAAK,qBAAsB,wBAC3B,KAAK,gBAAiB,mBACtB,KAAK,mBAAoB,sBACzB,KAAK,MAAO,SAEZ,SAAS,OAAS,WAAW,UAAU,eAIvC,OAAO,QAAU","file":"/npm/ripple-gateway-data-sequelize@1.8.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/ripple-gateway-data-sequelize@1.8.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","var requireAll = require('require-all-to-camel');\nvar users                 = require('./lib/controllers/users');\nvar externalAccounts      = require('./lib/controllers/external_accounts');\nvar externalTransactions  = require('./lib/controllers/external_transactions');\nvar rippleAddresses       = require('./lib/controllers/ripple_addresses');\nvar rippleTransactions    = require('./lib/controllers/ripple_transactions');\n\nvar API = function() {\n  // optionally instantiate some shared variable\n};\n\n// create instance of the API\nvar instance = new API();\n\n// decorate the api instance by controller on the defined property\n// e.g. the user controller will decorate the instance on the 'users' property\n// -> api.users.creat\nvar bind = function(controller, property) {\n\tinstance[property] = {};\n\tcontroller(instance[property]);\n}\n\nbind(externalAccounts, 'externalAccounts');\nbind(externalTransactions, 'externalTransactions');\nbind(rippleAddresses, 'rippleAddresses');\nbind(rippleTransactions, 'rippleTransactions');\nbind(users, 'users');\n\ninstance.models = requireAll(__dirname+'/lib/models');\n\n// export a singleton\n// module.exports caches it's value, which is the api instance in our case\nmodule.exports = instance;\n\n"]}