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,OAAO,WAEnC,OAAO,QAAQ,UAAY,OAAO,UAIlC,OAAO,QAAQ,SAAW,OAAO,SAGjC,OAAO,QAAQ,oBAAsB,KAAK,oBAAoB,KAAK,MAEnE,OAAO,QAAQ,UAAY,KAAK,UAAU,KAAK,MAE/C,OAAO,QAAQ,4BAA8B,KAAK,4BAA4B,KAAK,MAEnF,OAAO,QAAQ,YAAc,KAAK,YAAY,KAAK,MAEnD,OAAO,QAAQ,kBAAoB,KAAK,kBAAkB,KAAK,MAE/D,OAAO,OAAO,OAAO","file":"/npm/bson-ext@4.0.3/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/bson-ext@4.0.3/lib/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 BSONExtModule = require('bindings')('bson').BSON;\n\nvar BSONJS = require('bson');\n\nconst BSON = new BSONExtModule([\n  BSONJS.Binary,\n  BSONJS.Code,\n  BSONJS.DBRef,\n  BSONJS.Decimal128,\n  BSONJS.Double,\n  BSONJS.Int32,\n  BSONJS.Long,\n  BSONJS.Map,\n  BSONJS.MaxKey,\n  BSONJS.MinKey,\n  BSONJS.ObjectId,\n  BSONJS.BSONRegExp,\n  BSONJS.BSONSymbol,\n  BSONJS.Timestamp\n]);\n\nmodule.exports = Object.create(null);\n\nmodule.exports.BSON_INT32_MAX = 0x7fffffff;\nmodule.exports.BSON_INT32_MIN = -0x80000000;\n\nmodule.exports.BSON_INT64_MAX = BSONJS.Long.MAX_VALUE;\nmodule.exports.BSON_INT64_MIN = BSONJS.Long.MIN_VALUE;\n\nmodule.exports.JS_INT_MAX = Number.MAX_SAFE_INTEGER;\nmodule.exports.JS_INT_MIN = Number.MIN_SAFE_INTEGER;\n\n// Just add constants to the Native BSON parser\nmodule.exports.BSON_BINARY_SUBTYPE_DEFAULT = 0;\nmodule.exports.BSON_BINARY_SUBTYPE_FUNCTION = 1;\nmodule.exports.BSON_BINARY_SUBTYPE_BYTE_ARRAY = 2;\nmodule.exports.BSON_BINARY_SUBTYPE_UUID = 3;\nmodule.exports.BSON_BINARY_SUBTYPE_UUID_NEW = 4;\nmodule.exports.BSON_BINARY_SUBTYPE_MD5 = 5;\nmodule.exports.BSON_BINARY_SUBTYPE_ENCRYPTED = 6;\nmodule.exports.BSON_BINARY_SUBTYPE_USER_DEFINED = 128;\n\n/** @type {import('bson').Binary} */\nmodule.exports.Binary = BSONJS.Binary;\n/** @type {import('bson').Code} */\nmodule.exports.Code = BSONJS.Code;\n/** @type {import('bson').DBRef} */\nmodule.exports.DBRef = BSONJS.DBRef;\n/** @type {import('bson').Decimal128} */\nmodule.exports.Decimal128 = BSONJS.Decimal128;\n/** @type {import('bson').Double} */\nmodule.exports.Double = BSONJS.Double;\n/** @type {import('bson').Int32} */\nmodule.exports.Int32 = BSONJS.Int32;\n/** @type {import('bson').Long} */\nmodule.exports.Long = BSONJS.Long;\n/** @type {import('bson').Map} */\nmodule.exports.Map = BSONJS.Map;\n/** @type {import('bson').MaxKey} */\nmodule.exports.MaxKey = BSONJS.MaxKey;\n/** @type {import('bson').MinKey} */\nmodule.exports.MinKey = BSONJS.MinKey;\n/** @type {import('bson').ObjectId} */\nmodule.exports.ObjectId = BSONJS.ObjectId;\n/** @type {import('bson').BSONRegExp} */\nmodule.exports.BSONRegExp = BSONJS.BSONRegExp;\n/** @type {import('bson').BSONSymbol} */\nmodule.exports.BSONSymbol = BSONJS.BSONSymbol;\n/** @type {import('bson').Timestamp} */\nmodule.exports.Timestamp = BSONJS.Timestamp;\n\n// special case for deprecated names\n/** @type {import('bson').ObjectId} */\nmodule.exports.ObjectID = BSONJS.ObjectId;\n\n/** @type {import('bson').calculateObjectSize} */\nmodule.exports.calculateObjectSize = BSON.calculateObjectSize.bind(BSON);\n/** @type {import('bson').serialize} */\nmodule.exports.serialize = BSON.serialize.bind(BSON);\n/** @type {import('bson').serializeWithBufferAndIndex} */\nmodule.exports.serializeWithBufferAndIndex = BSON.serializeWithBufferAndIndex.bind(BSON);\n/** @type {import('bson').deserialize} */\nmodule.exports.deserialize = BSON.deserialize.bind(BSON);\n/** @type {import('bson').deserializeStream} */\nmodule.exports.deserializeStream = BSON.deserializeStream.bind(BSON);\n\nObject.freeze(module.exports);\n"]}