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,IAClC,IACI,aAAe,SAAS,0BACxB,EAAkB,mBAEtB,EAAO,EAAI,GACb,GAEV,CAhBA,OAAO,eAAe,QAAS,aAAc,CAAE,YAAY,EAAM,IAAK,WAAc,OAAO,SAAS,UAAY,IAiBhH,QAAQ,QAAU","file":"/npm/@creditkarma/thrift-server-core@1.0.4/dist/main/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@creditkarma/thrift-server-core@1.0.4/dist/main/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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    var desc = Object.getOwnPropertyDescriptor(m, k);\n    if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n    }\n    Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.process = exports.makeLogger = void 0;\nconst errors_1 = require(\"./errors\");\n__exportStar(require(\"./types\"), exports);\n__exportStar(require(\"./Int64\"), exports);\n__exportStar(require(\"./protocols\"), exports);\n__exportStar(require(\"./transports\"), exports);\n__exportStar(require(\"./errors\"), exports);\n__exportStar(require(\"./utils\"), exports);\n__exportStar(require(\"./binary\"), exports);\nvar logger_1 = require(\"./logger\");\nObject.defineProperty(exports, \"makeLogger\", { enumerable: true, get: function () { return logger_1.makeLogger; } });\nfunction process(args) {\n    const transportWithData = args.Transport.receiver(args.buffer);\n    const input = new args.Protocol(transportWithData);\n    return new Promise((resolve, reject) => {\n        const output = new args.Protocol(new args.Transport());\n        args.processor.process(input, output, args.context).then((result) => {\n            resolve(result);\n            transportWithData.commitPosition();\n        }, (err) => {\n            if (err instanceof errors_1.InputBufferUnderrunError) {\n                transportWithData.rollbackPosition();\n            }\n            reject(err);\n        });\n    });\n}\nexports.process = process;\n"]}