{"version":3,"sources":["jsdelivr-header.js","/npm/json-server-api@0.0.2/dist/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;ACLA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,IAAI,SAAW,QAAQ,YACnB,MAAQ,QAAQ,SAChB,QAAU,QAAQ,WAClB,WAAa,QAAQ,eACrB,SAAW,QAAQ,YACnB,KAAO,QAAQ,QACnB,QAAQ,YACR,IAAI,SAAW,QAAQ,YACnB,OAAS,MAAM,WAAW,SAC1B,IAAM,UACV,IAAI,IAAI,WAAW,WAAW,CAAE,UAAU,KAC1C,IAAI,IAAI,WAAW,QACnB,IAAI,IAAI,SAAS,SACjB,QAAQ,OAAS,KAAK,aAAa,KACnC,QAAQ,aAAe,SAAS,cAAa,SAAU,GACnD,QAAQ,OAAO,OAAO,SAAS,QAAQ,MAAM,SAAU,GACnD,OAAO,KAAK,kBAAoB,SAAS,QAAQ,KAAO,KACxD,EAAG,EACP,GACJ","file":"/npm/json-server-api@0.0.2/dist/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/json-server-api@0.0.2/dist/src/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","#! /usr/bin/env node\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar config_1 = require(\"./config\");\nvar log_1 = require(\"./log\");\nvar express = require(\"express\");\nvar bodyParser = require(\"body-parser\");\nvar Bluebird = require(\"bluebird\");\nvar http = require(\"http\");\nrequire(\"./router\");\nvar router_1 = require(\"./router\");\nvar logger = log_1.logFactory(\"index\");\nvar app = express();\napp.use(bodyParser.urlencoded({ extended: false }));\napp.use(bodyParser.json());\napp.use(router_1.default);\nexports.server = http.createServer(app);\nexports.startPromise = Bluebird.fromCallback(function (cb) {\n    exports.server.listen(config_1.default.port, function (error) {\n        logger.info(\"started [port: \" + config_1.default.port + \"]\");\n        cb(error);\n    });\n});\n"]}