{"version":3,"sources":["jsdelivr-header.js","/npm/@qelos/gateway@3.7.4/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,UAAY,QAAQ,kBACpB,gBAAkB,gBAAgB,QAAQ,oBAC1C,uBAAyB,gBAAgB,QAAQ,iCACvD,EAAI,UAAU,QAAQ,CAAE,MAAM,EAAO,YAAY,IACjD,MAAM,KAAM,EAAI,UAAU,QAC1B,EAAI,uBAAuB,SAAS,IAAK,CAAC,EAAG,gBAAgB,SAC7D,MAAM,KAAO,QAAQ,IAAI,MAAQ,IAC3B,QAAU,QAAQ,IAAI,IAAM,WAClC,EAAI,UAAU,OAAO,UAAW,KAAM,SACjC,SAAQ,KACoB,eAAzB,QAAQ,IAAI,UACZ,MAAM,UAAU,WAAW,QACtB,MAAK,GAAO,EAAI,OAAS,IAAM,QAAQ,IAAI,6BAA+B,QAAQ,KAAK,IAChG","file":"/npm/@qelos/gateway@3.7.4/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@qelos/gateway@3.7.4/dist/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","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst api_kit_1 = require(\"@qelos/api-kit\");\nconst cache_manager_1 = __importDefault(require(\"./cache-manager\"));\nconst api_proxy_middleware_1 = __importDefault(require(\"@qelos/api-proxy-middleware\"));\n(0, api_kit_1.config)({ cors: false, bodyParser: false });\nconst app = (0, api_kit_1.app)();\n(0, api_proxy_middleware_1.default)(app, {}, cache_manager_1.default);\nconst port = process.env.PORT || 3000;\nconst address = process.env.IP || \"0.0.0.0\";\n(0, api_kit_1.start)(\"Gateway\", port, address)\n    .finally(() => {\n    if (process.env.NODE_ENV !== 'production') {\n        fetch(`http://${address}:${port}`)\n            .then(res => res.status < 500 ? console.log('Gateway is running on dev') : process.exit(1));\n    }\n});\n"]}