@shad0wz7/nestjs-pdf 2.5.5 → 2.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -6,7 +6,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
9
  var __copyProps = (to, from, except, desc) => {
11
10
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
11
  key = keys[i];
@@ -1088,2574 +1087,7 @@ let NestjsPdfService = class NestjsPdfService {
1088
1087
  };
1089
1088
  NestjsPdfService = __decorate([(0, _nestjs_common.Injectable)(), __decorateMetadata("design:paramtypes", [typeof PuppeteerService === "undefined" ? Object : PuppeteerService])], NestjsPdfService);
1090
1089
  //#endregion
1091
- //#region node_modules/.pnpm/dotenv@17.4.1/node_modules/dotenv/lib/main.js
1092
- var require_main$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1093
- const fs$1 = require("fs");
1094
- const path = require("path");
1095
- const os = require("os");
1096
- const crypto = require("crypto");
1097
- const TIPS = [
1098
- "◈ encrypted .env [www.dotenvx.com]",
1099
- "◈ secrets for agents [www.dotenvx.com]",
1100
- "⌁ auth for agents [www.vestauth.com]",
1101
- "⌘ custom filepath { path: '/custom/path/.env' }",
1102
- "⌘ enable debugging { debug: true }",
1103
- "⌘ override existing { override: true }",
1104
- "⌘ suppress logs { quiet: true }",
1105
- "⌘ multiple files { path: ['.env.local', '.env'] }"
1106
- ];
1107
- function _getRandomTip() {
1108
- return TIPS[Math.floor(Math.random() * TIPS.length)];
1109
- }
1110
- function parseBoolean(value) {
1111
- if (typeof value === "string") return ![
1112
- "false",
1113
- "0",
1114
- "no",
1115
- "off",
1116
- ""
1117
- ].includes(value.toLowerCase());
1118
- return Boolean(value);
1119
- }
1120
- function supportsAnsi() {
1121
- return process.stdout.isTTY;
1122
- }
1123
- function dim(text) {
1124
- return supportsAnsi() ? `\x1b[2m${text}\x1b[0m` : text;
1125
- }
1126
- const LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;
1127
- function parse(src) {
1128
- const obj = {};
1129
- let lines = src.toString();
1130
- lines = lines.replace(/\r\n?/gm, "\n");
1131
- let match;
1132
- while ((match = LINE.exec(lines)) != null) {
1133
- const key = match[1];
1134
- let value = match[2] || "";
1135
- value = value.trim();
1136
- const maybeQuote = value[0];
1137
- value = value.replace(/^(['"`])([\s\S]*)\1$/gm, "$2");
1138
- if (maybeQuote === "\"") {
1139
- value = value.replace(/\\n/g, "\n");
1140
- value = value.replace(/\\r/g, "\r");
1141
- }
1142
- obj[key] = value;
1143
- }
1144
- return obj;
1145
- }
1146
- function _parseVault(options) {
1147
- options = options || {};
1148
- const vaultPath = _vaultPath(options);
1149
- options.path = vaultPath;
1150
- const result = DotenvModule.configDotenv(options);
1151
- if (!result.parsed) {
1152
- const err = /* @__PURE__ */ new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
1153
- err.code = "MISSING_DATA";
1154
- throw err;
1155
- }
1156
- const keys = _dotenvKey(options).split(",");
1157
- const length = keys.length;
1158
- let decrypted;
1159
- for (let i = 0; i < length; i++) try {
1160
- const attrs = _instructions(result, keys[i].trim());
1161
- decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
1162
- break;
1163
- } catch (error) {
1164
- if (i + 1 >= length) throw error;
1165
- }
1166
- return DotenvModule.parse(decrypted);
1167
- }
1168
- function _warn(message) {
1169
- console.error(`⚠ ${message}`);
1170
- }
1171
- function _debug(message) {
1172
- console.log(`┆ ${message}`);
1173
- }
1174
- function _log(message) {
1175
- console.log(`◇ ${message}`);
1176
- }
1177
- function _dotenvKey(options) {
1178
- if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) return options.DOTENV_KEY;
1179
- if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) return process.env.DOTENV_KEY;
1180
- return "";
1181
- }
1182
- function _instructions(result, dotenvKey) {
1183
- let uri;
1184
- try {
1185
- uri = new URL(dotenvKey);
1186
- } catch (error) {
1187
- if (error.code === "ERR_INVALID_URL") {
1188
- const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");
1189
- err.code = "INVALID_DOTENV_KEY";
1190
- throw err;
1191
- }
1192
- throw error;
1193
- }
1194
- const key = uri.password;
1195
- if (!key) {
1196
- const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: Missing key part");
1197
- err.code = "INVALID_DOTENV_KEY";
1198
- throw err;
1199
- }
1200
- const environment = uri.searchParams.get("environment");
1201
- if (!environment) {
1202
- const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: Missing environment part");
1203
- err.code = "INVALID_DOTENV_KEY";
1204
- throw err;
1205
- }
1206
- const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`;
1207
- const ciphertext = result.parsed[environmentKey];
1208
- if (!ciphertext) {
1209
- const err = /* @__PURE__ */ new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`);
1210
- err.code = "NOT_FOUND_DOTENV_ENVIRONMENT";
1211
- throw err;
1212
- }
1213
- return {
1214
- ciphertext,
1215
- key
1216
- };
1217
- }
1218
- function _vaultPath(options) {
1219
- let possibleVaultPath = null;
1220
- if (options && options.path && options.path.length > 0) {
1221
- if (Array.isArray(options.path)) {
1222
- for (const filepath of options.path) if (fs$1.existsSync(filepath)) possibleVaultPath = filepath.endsWith(".vault") ? filepath : `${filepath}.vault`;
1223
- } else possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
1224
- } else possibleVaultPath = path.resolve(process.cwd(), ".env.vault");
1225
- if (fs$1.existsSync(possibleVaultPath)) return possibleVaultPath;
1226
- return null;
1227
- }
1228
- function _resolveHome(envPath) {
1229
- return envPath[0] === "~" ? path.join(os.homedir(), envPath.slice(1)) : envPath;
1230
- }
1231
- function _configVault(options) {
1232
- const debug = parseBoolean(process.env.DOTENV_CONFIG_DEBUG || options && options.debug);
1233
- const quiet = parseBoolean(process.env.DOTENV_CONFIG_QUIET || options && options.quiet);
1234
- if (debug || !quiet) _log("loading env from encrypted .env.vault");
1235
- const parsed = DotenvModule._parseVault(options);
1236
- let processEnv = process.env;
1237
- if (options && options.processEnv != null) processEnv = options.processEnv;
1238
- DotenvModule.populate(processEnv, parsed, options);
1239
- return { parsed };
1240
- }
1241
- function configDotenv(options) {
1242
- const dotenvPath = path.resolve(process.cwd(), ".env");
1243
- let encoding = "utf8";
1244
- let processEnv = process.env;
1245
- if (options && options.processEnv != null) processEnv = options.processEnv;
1246
- let debug = parseBoolean(processEnv.DOTENV_CONFIG_DEBUG || options && options.debug);
1247
- let quiet = parseBoolean(processEnv.DOTENV_CONFIG_QUIET || options && options.quiet);
1248
- if (options && options.encoding) encoding = options.encoding;
1249
- else if (debug) _debug("no encoding is specified (UTF-8 is used by default)");
1250
- let optionPaths = [dotenvPath];
1251
- if (options && options.path) {
1252
- if (!Array.isArray(options.path)) optionPaths = [_resolveHome(options.path)];
1253
- else {
1254
- optionPaths = [];
1255
- for (const filepath of options.path) optionPaths.push(_resolveHome(filepath));
1256
- }
1257
- }
1258
- let lastError;
1259
- const parsedAll = {};
1260
- for (const path of optionPaths) try {
1261
- const parsed = DotenvModule.parse(fs$1.readFileSync(path, { encoding }));
1262
- DotenvModule.populate(parsedAll, parsed, options);
1263
- } catch (e) {
1264
- if (debug) _debug(`failed to load ${path} ${e.message}`);
1265
- lastError = e;
1266
- }
1267
- const populated = DotenvModule.populate(processEnv, parsedAll, options);
1268
- debug = parseBoolean(processEnv.DOTENV_CONFIG_DEBUG || debug);
1269
- quiet = parseBoolean(processEnv.DOTENV_CONFIG_QUIET || quiet);
1270
- if (debug || !quiet) {
1271
- const keysCount = Object.keys(populated).length;
1272
- const shortPaths = [];
1273
- for (const filePath of optionPaths) try {
1274
- const relative = path.relative(process.cwd(), filePath);
1275
- shortPaths.push(relative);
1276
- } catch (e) {
1277
- if (debug) _debug(`failed to load ${filePath} ${e.message}`);
1278
- lastError = e;
1279
- }
1280
- _log(`injected env (${keysCount}) from ${shortPaths.join(",")} ${dim(`// tip: ${_getRandomTip()}`)}`);
1281
- }
1282
- if (lastError) return {
1283
- parsed: parsedAll,
1284
- error: lastError
1285
- };
1286
- else return { parsed: parsedAll };
1287
- }
1288
- function config(options) {
1289
- if (_dotenvKey(options).length === 0) return DotenvModule.configDotenv(options);
1290
- const vaultPath = _vaultPath(options);
1291
- if (!vaultPath) {
1292
- _warn(`you set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}`);
1293
- return DotenvModule.configDotenv(options);
1294
- }
1295
- return DotenvModule._configVault(options);
1296
- }
1297
- function decrypt(encrypted, keyStr) {
1298
- const key = Buffer.from(keyStr.slice(-64), "hex");
1299
- let ciphertext = Buffer.from(encrypted, "base64");
1300
- const nonce = ciphertext.subarray(0, 12);
1301
- const authTag = ciphertext.subarray(-16);
1302
- ciphertext = ciphertext.subarray(12, -16);
1303
- try {
1304
- const aesgcm = crypto.createDecipheriv("aes-256-gcm", key, nonce);
1305
- aesgcm.setAuthTag(authTag);
1306
- return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
1307
- } catch (error) {
1308
- const isRange = error instanceof RangeError;
1309
- const invalidKeyLength = error.message === "Invalid key length";
1310
- const decryptionFailed = error.message === "Unsupported state or unable to authenticate data";
1311
- if (isRange || invalidKeyLength) {
1312
- const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
1313
- err.code = "INVALID_DOTENV_KEY";
1314
- throw err;
1315
- } else if (decryptionFailed) {
1316
- const err = /* @__PURE__ */ new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");
1317
- err.code = "DECRYPTION_FAILED";
1318
- throw err;
1319
- } else throw error;
1320
- }
1321
- }
1322
- function populate(processEnv, parsed, options = {}) {
1323
- const debug = Boolean(options && options.debug);
1324
- const override = Boolean(options && options.override);
1325
- const populated = {};
1326
- if (typeof parsed !== "object") {
1327
- const err = /* @__PURE__ */ new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");
1328
- err.code = "OBJECT_REQUIRED";
1329
- throw err;
1330
- }
1331
- for (const key of Object.keys(parsed)) if (Object.prototype.hasOwnProperty.call(processEnv, key)) {
1332
- if (override === true) {
1333
- processEnv[key] = parsed[key];
1334
- populated[key] = parsed[key];
1335
- }
1336
- if (debug) {
1337
- if (override === true) _debug(`"${key}" is already defined and WAS overwritten`);
1338
- else _debug(`"${key}" is already defined and was NOT overwritten`);
1339
- }
1340
- } else {
1341
- processEnv[key] = parsed[key];
1342
- populated[key] = parsed[key];
1343
- }
1344
- return populated;
1345
- }
1346
- const DotenvModule = {
1347
- configDotenv,
1348
- _configVault,
1349
- _parseVault,
1350
- config,
1351
- decrypt,
1352
- parse,
1353
- populate
1354
- };
1355
- module.exports.configDotenv = DotenvModule.configDotenv;
1356
- module.exports._configVault = DotenvModule._configVault;
1357
- module.exports._parseVault = DotenvModule._parseVault;
1358
- module.exports.config = DotenvModule.config;
1359
- module.exports.decrypt = DotenvModule.decrypt;
1360
- module.exports.parse = DotenvModule.parse;
1361
- module.exports.populate = DotenvModule.populate;
1362
- module.exports = DotenvModule;
1363
- }));
1364
- //#endregion
1365
- //#region node_modules/.pnpm/dotenv-expand@12.0.3/node_modules/dotenv-expand/lib/main.js
1366
- var require_main = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1367
- function _resolveEscapeSequences(value) {
1368
- return value.replace(/\\\$/g, "$");
1369
- }
1370
- function expandValue(value, processEnv, runningParsed) {
1371
- const env = {
1372
- ...runningParsed,
1373
- ...processEnv
1374
- };
1375
- const regex = /(?<!\\)\${([^{}]+)}|(?<!\\)\$([A-Za-z_][A-Za-z0-9_]*)/g;
1376
- let result = value;
1377
- let match;
1378
- const seen = /* @__PURE__ */ new Set();
1379
- while ((match = regex.exec(result)) !== null) {
1380
- seen.add(result);
1381
- const [template, bracedExpression, unbracedExpression] = match;
1382
- const expression = bracedExpression || unbracedExpression;
1383
- const opMatch = expression.match(/(:\+|\+|:-|-)/);
1384
- const splitter = opMatch ? opMatch[0] : null;
1385
- const r = expression.split(splitter);
1386
- let defaultValue;
1387
- let value;
1388
- const key = r.shift();
1389
- if ([":+", "+"].includes(splitter)) {
1390
- defaultValue = env[key] ? r.join(splitter) : "";
1391
- value = null;
1392
- } else {
1393
- defaultValue = r.join(splitter);
1394
- value = env[key];
1395
- }
1396
- if (value) {
1397
- if (seen.has(value)) result = result.replace(template, defaultValue);
1398
- else result = result.replace(template, value);
1399
- } else result = result.replace(template, defaultValue);
1400
- if (result === runningParsed[key]) break;
1401
- regex.lastIndex = 0;
1402
- }
1403
- return result;
1404
- }
1405
- function expand(options) {
1406
- const runningParsed = {};
1407
- let processEnv = process.env;
1408
- if (options && options.processEnv != null) processEnv = options.processEnv;
1409
- for (const key in options.parsed) {
1410
- let value = options.parsed[key];
1411
- if (processEnv[key] && processEnv[key] !== value) value = processEnv[key];
1412
- else value = expandValue(value, processEnv, runningParsed);
1413
- options.parsed[key] = _resolveEscapeSequences(value);
1414
- runningParsed[key] = _resolveEscapeSequences(value);
1415
- }
1416
- for (const processKey in options.parsed) processEnv[processKey] = options.parsed[processKey];
1417
- return options;
1418
- }
1419
- module.exports.expand = expand;
1420
- }));
1421
- //#endregion
1422
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/config.constants.js
1423
- var require_config_constants = /* @__PURE__ */ __commonJSMin(((exports) => {
1424
- Object.defineProperty(exports, "__esModule", { value: true });
1425
- exports.AS_PROVIDER_METHOD_KEY = exports.VALIDATED_ENV_PROPNAME = exports.PARTIAL_CONFIGURATION_PROPNAME = exports.PARTIAL_CONFIGURATION_KEY = exports.VALIDATED_ENV_LOADER = exports.CONFIGURATION_LOADER = exports.CONFIGURATION_TOKEN = exports.CONFIGURATION_SERVICE_TOKEN = void 0;
1426
- /**
1427
- * Injection tokens
1428
- */
1429
- exports.CONFIGURATION_SERVICE_TOKEN = Symbol("CONFIG_SERVICE");
1430
- exports.CONFIGURATION_TOKEN = "CONFIGURATION_TOKEN";
1431
- exports.CONFIGURATION_LOADER = "CONFIGURATION_LOADER";
1432
- exports.VALIDATED_ENV_LOADER = "VALIDATED_ENV_LOADER";
1433
- exports.PARTIAL_CONFIGURATION_KEY = "PARTIAL_CONFIGURATION_KEY";
1434
- exports.PARTIAL_CONFIGURATION_PROPNAME = "KEY";
1435
- exports.VALIDATED_ENV_PROPNAME = "_PROCESS_ENV_VALIDATED";
1436
- exports.AS_PROVIDER_METHOD_KEY = "asProvider";
1437
- }));
1438
- //#endregion
1439
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isArray.js
1440
- var require_isArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1441
- module.exports = Array.isArray;
1442
- }));
1443
- //#endregion
1444
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js
1445
- var require__freeGlobal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1446
- module.exports = typeof global == "object" && global && global.Object === Object && global;
1447
- }));
1448
- //#endregion
1449
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js
1450
- var require__root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1451
- var freeGlobal = require__freeGlobal();
1452
- /** Detect free variable `self`. */
1453
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
1454
- module.exports = freeGlobal || freeSelf || Function("return this")();
1455
- }));
1456
- //#endregion
1457
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js
1458
- var require__Symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1459
- module.exports = require__root().Symbol;
1460
- }));
1461
- //#endregion
1462
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js
1463
- var require__getRawTag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1464
- var Symbol = require__Symbol();
1465
- /** Used for built-in method references. */
1466
- var objectProto = Object.prototype;
1467
- /** Used to check objects for own properties. */
1468
- var hasOwnProperty = objectProto.hasOwnProperty;
1469
- /**
1470
- * Used to resolve the
1471
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1472
- * of values.
1473
- */
1474
- var nativeObjectToString = objectProto.toString;
1475
- /** Built-in value references. */
1476
- var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
1477
- /**
1478
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
1479
- *
1480
- * @private
1481
- * @param {*} value The value to query.
1482
- * @returns {string} Returns the raw `toStringTag`.
1483
- */
1484
- function getRawTag(value) {
1485
- var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
1486
- try {
1487
- value[symToStringTag] = void 0;
1488
- var unmasked = true;
1489
- } catch (e) {}
1490
- var result = nativeObjectToString.call(value);
1491
- if (unmasked) {
1492
- if (isOwn) value[symToStringTag] = tag;
1493
- else delete value[symToStringTag];
1494
- }
1495
- return result;
1496
- }
1497
- module.exports = getRawTag;
1498
- }));
1499
- //#endregion
1500
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js
1501
- var require__objectToString = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1502
- /**
1503
- * Used to resolve the
1504
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1505
- * of values.
1506
- */
1507
- var nativeObjectToString = Object.prototype.toString;
1508
- /**
1509
- * Converts `value` to a string using `Object.prototype.toString`.
1510
- *
1511
- * @private
1512
- * @param {*} value The value to convert.
1513
- * @returns {string} Returns the converted string.
1514
- */
1515
- function objectToString(value) {
1516
- return nativeObjectToString.call(value);
1517
- }
1518
- module.exports = objectToString;
1519
- }));
1520
- //#endregion
1521
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js
1522
- var require__baseGetTag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1523
- var Symbol = require__Symbol();
1524
- var getRawTag = require__getRawTag();
1525
- var objectToString = require__objectToString();
1526
- /** `Object#toString` result references. */
1527
- var nullTag = "[object Null]";
1528
- var undefinedTag = "[object Undefined]";
1529
- /** Built-in value references. */
1530
- var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
1531
- /**
1532
- * The base implementation of `getTag` without fallbacks for buggy environments.
1533
- *
1534
- * @private
1535
- * @param {*} value The value to query.
1536
- * @returns {string} Returns the `toStringTag`.
1537
- */
1538
- function baseGetTag(value) {
1539
- if (value == null) return value === void 0 ? undefinedTag : nullTag;
1540
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
1541
- }
1542
- module.exports = baseGetTag;
1543
- }));
1544
- //#endregion
1545
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js
1546
- var require_isObjectLike = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1547
- /**
1548
- * Checks if `value` is object-like. A value is object-like if it's not `null`
1549
- * and has a `typeof` result of "object".
1550
- *
1551
- * @static
1552
- * @memberOf _
1553
- * @since 4.0.0
1554
- * @category Lang
1555
- * @param {*} value The value to check.
1556
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1557
- * @example
1558
- *
1559
- * _.isObjectLike({});
1560
- * // => true
1561
- *
1562
- * _.isObjectLike([1, 2, 3]);
1563
- * // => true
1564
- *
1565
- * _.isObjectLike(_.noop);
1566
- * // => false
1567
- *
1568
- * _.isObjectLike(null);
1569
- * // => false
1570
- */
1571
- function isObjectLike(value) {
1572
- return value != null && typeof value == "object";
1573
- }
1574
- module.exports = isObjectLike;
1575
- }));
1576
- //#endregion
1577
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js
1578
- var require_isSymbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1579
- var baseGetTag = require__baseGetTag();
1580
- var isObjectLike = require_isObjectLike();
1581
- /** `Object#toString` result references. */
1582
- var symbolTag = "[object Symbol]";
1583
- /**
1584
- * Checks if `value` is classified as a `Symbol` primitive or object.
1585
- *
1586
- * @static
1587
- * @memberOf _
1588
- * @since 4.0.0
1589
- * @category Lang
1590
- * @param {*} value The value to check.
1591
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
1592
- * @example
1593
- *
1594
- * _.isSymbol(Symbol.iterator);
1595
- * // => true
1596
- *
1597
- * _.isSymbol('abc');
1598
- * // => false
1599
- */
1600
- function isSymbol(value) {
1601
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
1602
- }
1603
- module.exports = isSymbol;
1604
- }));
1605
- //#endregion
1606
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isKey.js
1607
- var require__isKey = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1608
- var isArray = require_isArray();
1609
- var isSymbol = require_isSymbol();
1610
- /** Used to match property names within property paths. */
1611
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
1612
- var reIsPlainProp = /^\w*$/;
1613
- /**
1614
- * Checks if `value` is a property name and not a property path.
1615
- *
1616
- * @private
1617
- * @param {*} value The value to check.
1618
- * @param {Object} [object] The object to query keys on.
1619
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
1620
- */
1621
- function isKey(value, object) {
1622
- if (isArray(value)) return false;
1623
- var type = typeof value;
1624
- if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) return true;
1625
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
1626
- }
1627
- module.exports = isKey;
1628
- }));
1629
- //#endregion
1630
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js
1631
- var require_isObject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1632
- /**
1633
- * Checks if `value` is the
1634
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1635
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1636
- *
1637
- * @static
1638
- * @memberOf _
1639
- * @since 0.1.0
1640
- * @category Lang
1641
- * @param {*} value The value to check.
1642
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1643
- * @example
1644
- *
1645
- * _.isObject({});
1646
- * // => true
1647
- *
1648
- * _.isObject([1, 2, 3]);
1649
- * // => true
1650
- *
1651
- * _.isObject(_.noop);
1652
- * // => true
1653
- *
1654
- * _.isObject(null);
1655
- * // => false
1656
- */
1657
- function isObject(value) {
1658
- var type = typeof value;
1659
- return value != null && (type == "object" || type == "function");
1660
- }
1661
- module.exports = isObject;
1662
- }));
1663
- //#endregion
1664
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isFunction.js
1665
- var require_isFunction = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1666
- var baseGetTag = require__baseGetTag();
1667
- var isObject = require_isObject();
1668
- /** `Object#toString` result references. */
1669
- var asyncTag = "[object AsyncFunction]";
1670
- var funcTag = "[object Function]";
1671
- var genTag = "[object GeneratorFunction]";
1672
- var proxyTag = "[object Proxy]";
1673
- /**
1674
- * Checks if `value` is classified as a `Function` object.
1675
- *
1676
- * @static
1677
- * @memberOf _
1678
- * @since 0.1.0
1679
- * @category Lang
1680
- * @param {*} value The value to check.
1681
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1682
- * @example
1683
- *
1684
- * _.isFunction(_);
1685
- * // => true
1686
- *
1687
- * _.isFunction(/abc/);
1688
- * // => false
1689
- */
1690
- function isFunction(value) {
1691
- if (!isObject(value)) return false;
1692
- var tag = baseGetTag(value);
1693
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
1694
- }
1695
- module.exports = isFunction;
1696
- }));
1697
- //#endregion
1698
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_coreJsData.js
1699
- var require__coreJsData = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1700
- module.exports = require__root()["__core-js_shared__"];
1701
- }));
1702
- //#endregion
1703
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isMasked.js
1704
- var require__isMasked = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1705
- var coreJsData = require__coreJsData();
1706
- /** Used to detect methods masquerading as native. */
1707
- var maskSrcKey = function() {
1708
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
1709
- return uid ? "Symbol(src)_1." + uid : "";
1710
- }();
1711
- /**
1712
- * Checks if `func` has its source masked.
1713
- *
1714
- * @private
1715
- * @param {Function} func The function to check.
1716
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
1717
- */
1718
- function isMasked(func) {
1719
- return !!maskSrcKey && maskSrcKey in func;
1720
- }
1721
- module.exports = isMasked;
1722
- }));
1723
- //#endregion
1724
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_toSource.js
1725
- var require__toSource = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1726
- /** Used to resolve the decompiled source of functions. */
1727
- var funcToString = Function.prototype.toString;
1728
- /**
1729
- * Converts `func` to its source code.
1730
- *
1731
- * @private
1732
- * @param {Function} func The function to convert.
1733
- * @returns {string} Returns the source code.
1734
- */
1735
- function toSource(func) {
1736
- if (func != null) {
1737
- try {
1738
- return funcToString.call(func);
1739
- } catch (e) {}
1740
- try {
1741
- return func + "";
1742
- } catch (e) {}
1743
- }
1744
- return "";
1745
- }
1746
- module.exports = toSource;
1747
- }));
1748
- //#endregion
1749
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseIsNative.js
1750
- var require__baseIsNative = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1751
- var isFunction = require_isFunction();
1752
- var isMasked = require__isMasked();
1753
- var isObject = require_isObject();
1754
- var toSource = require__toSource();
1755
- /**
1756
- * Used to match `RegExp`
1757
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
1758
- */
1759
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1760
- /** Used to detect host constructors (Safari). */
1761
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
1762
- /** Used for built-in method references. */
1763
- var funcProto = Function.prototype;
1764
- var objectProto = Object.prototype;
1765
- /** Used to resolve the decompiled source of functions. */
1766
- var funcToString = funcProto.toString;
1767
- /** Used to check objects for own properties. */
1768
- var hasOwnProperty = objectProto.hasOwnProperty;
1769
- /** Used to detect if a method is native. */
1770
- var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
1771
- /**
1772
- * The base implementation of `_.isNative` without bad shim checks.
1773
- *
1774
- * @private
1775
- * @param {*} value The value to check.
1776
- * @returns {boolean} Returns `true` if `value` is a native function,
1777
- * else `false`.
1778
- */
1779
- function baseIsNative(value) {
1780
- if (!isObject(value) || isMasked(value)) return false;
1781
- return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
1782
- }
1783
- module.exports = baseIsNative;
1784
- }));
1785
- //#endregion
1786
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getValue.js
1787
- var require__getValue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1788
- /**
1789
- * Gets the value at `key` of `object`.
1790
- *
1791
- * @private
1792
- * @param {Object} [object] The object to query.
1793
- * @param {string} key The key of the property to get.
1794
- * @returns {*} Returns the property value.
1795
- */
1796
- function getValue(object, key) {
1797
- return object == null ? void 0 : object[key];
1798
- }
1799
- module.exports = getValue;
1800
- }));
1801
- //#endregion
1802
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getNative.js
1803
- var require__getNative = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1804
- var baseIsNative = require__baseIsNative();
1805
- var getValue = require__getValue();
1806
- /**
1807
- * Gets the native function at `key` of `object`.
1808
- *
1809
- * @private
1810
- * @param {Object} object The object to query.
1811
- * @param {string} key The key of the method to get.
1812
- * @returns {*} Returns the function if it's native, else `undefined`.
1813
- */
1814
- function getNative(object, key) {
1815
- var value = getValue(object, key);
1816
- return baseIsNative(value) ? value : void 0;
1817
- }
1818
- module.exports = getNative;
1819
- }));
1820
- //#endregion
1821
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_nativeCreate.js
1822
- var require__nativeCreate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1823
- module.exports = require__getNative()(Object, "create");
1824
- }));
1825
- //#endregion
1826
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_hashClear.js
1827
- var require__hashClear = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1828
- var nativeCreate = require__nativeCreate();
1829
- /**
1830
- * Removes all key-value entries from the hash.
1831
- *
1832
- * @private
1833
- * @name clear
1834
- * @memberOf Hash
1835
- */
1836
- function hashClear() {
1837
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
1838
- this.size = 0;
1839
- }
1840
- module.exports = hashClear;
1841
- }));
1842
- //#endregion
1843
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_hashDelete.js
1844
- var require__hashDelete = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1845
- /**
1846
- * Removes `key` and its value from the hash.
1847
- *
1848
- * @private
1849
- * @name delete
1850
- * @memberOf Hash
1851
- * @param {Object} hash The hash to modify.
1852
- * @param {string} key The key of the value to remove.
1853
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1854
- */
1855
- function hashDelete(key) {
1856
- var result = this.has(key) && delete this.__data__[key];
1857
- this.size -= result ? 1 : 0;
1858
- return result;
1859
- }
1860
- module.exports = hashDelete;
1861
- }));
1862
- //#endregion
1863
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_hashGet.js
1864
- var require__hashGet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1865
- var nativeCreate = require__nativeCreate();
1866
- /** Used to stand-in for `undefined` hash values. */
1867
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
1868
- /** Used to check objects for own properties. */
1869
- var hasOwnProperty = Object.prototype.hasOwnProperty;
1870
- /**
1871
- * Gets the hash value for `key`.
1872
- *
1873
- * @private
1874
- * @name get
1875
- * @memberOf Hash
1876
- * @param {string} key The key of the value to get.
1877
- * @returns {*} Returns the entry value.
1878
- */
1879
- function hashGet(key) {
1880
- var data = this.__data__;
1881
- if (nativeCreate) {
1882
- var result = data[key];
1883
- return result === HASH_UNDEFINED ? void 0 : result;
1884
- }
1885
- return hasOwnProperty.call(data, key) ? data[key] : void 0;
1886
- }
1887
- module.exports = hashGet;
1888
- }));
1889
- //#endregion
1890
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_hashHas.js
1891
- var require__hashHas = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1892
- var nativeCreate = require__nativeCreate();
1893
- /** Used to check objects for own properties. */
1894
- var hasOwnProperty = Object.prototype.hasOwnProperty;
1895
- /**
1896
- * Checks if a hash value for `key` exists.
1897
- *
1898
- * @private
1899
- * @name has
1900
- * @memberOf Hash
1901
- * @param {string} key The key of the entry to check.
1902
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1903
- */
1904
- function hashHas(key) {
1905
- var data = this.__data__;
1906
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
1907
- }
1908
- module.exports = hashHas;
1909
- }));
1910
- //#endregion
1911
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_hashSet.js
1912
- var require__hashSet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1913
- var nativeCreate = require__nativeCreate();
1914
- /** Used to stand-in for `undefined` hash values. */
1915
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
1916
- /**
1917
- * Sets the hash `key` to `value`.
1918
- *
1919
- * @private
1920
- * @name set
1921
- * @memberOf Hash
1922
- * @param {string} key The key of the value to set.
1923
- * @param {*} value The value to set.
1924
- * @returns {Object} Returns the hash instance.
1925
- */
1926
- function hashSet(key, value) {
1927
- var data = this.__data__;
1928
- this.size += this.has(key) ? 0 : 1;
1929
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
1930
- return this;
1931
- }
1932
- module.exports = hashSet;
1933
- }));
1934
- //#endregion
1935
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Hash.js
1936
- var require__Hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1937
- var hashClear = require__hashClear();
1938
- var hashDelete = require__hashDelete();
1939
- var hashGet = require__hashGet();
1940
- var hashHas = require__hashHas();
1941
- var hashSet = require__hashSet();
1942
- /**
1943
- * Creates a hash object.
1944
- *
1945
- * @private
1946
- * @constructor
1947
- * @param {Array} [entries] The key-value pairs to cache.
1948
- */
1949
- function Hash(entries) {
1950
- var index = -1, length = entries == null ? 0 : entries.length;
1951
- this.clear();
1952
- while (++index < length) {
1953
- var entry = entries[index];
1954
- this.set(entry[0], entry[1]);
1955
- }
1956
- }
1957
- Hash.prototype.clear = hashClear;
1958
- Hash.prototype["delete"] = hashDelete;
1959
- Hash.prototype.get = hashGet;
1960
- Hash.prototype.has = hashHas;
1961
- Hash.prototype.set = hashSet;
1962
- module.exports = Hash;
1963
- }));
1964
- //#endregion
1965
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_listCacheClear.js
1966
- var require__listCacheClear = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1967
- /**
1968
- * Removes all key-value entries from the list cache.
1969
- *
1970
- * @private
1971
- * @name clear
1972
- * @memberOf ListCache
1973
- */
1974
- function listCacheClear() {
1975
- this.__data__ = [];
1976
- this.size = 0;
1977
- }
1978
- module.exports = listCacheClear;
1979
- }));
1980
- //#endregion
1981
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/eq.js
1982
- var require_eq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1983
- /**
1984
- * Performs a
1985
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1986
- * comparison between two values to determine if they are equivalent.
1987
- *
1988
- * @static
1989
- * @memberOf _
1990
- * @since 4.0.0
1991
- * @category Lang
1992
- * @param {*} value The value to compare.
1993
- * @param {*} other The other value to compare.
1994
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1995
- * @example
1996
- *
1997
- * var object = { 'a': 1 };
1998
- * var other = { 'a': 1 };
1999
- *
2000
- * _.eq(object, object);
2001
- * // => true
2002
- *
2003
- * _.eq(object, other);
2004
- * // => false
2005
- *
2006
- * _.eq('a', 'a');
2007
- * // => true
2008
- *
2009
- * _.eq('a', Object('a'));
2010
- * // => false
2011
- *
2012
- * _.eq(NaN, NaN);
2013
- * // => true
2014
- */
2015
- function eq(value, other) {
2016
- return value === other || value !== value && other !== other;
2017
- }
2018
- module.exports = eq;
2019
- }));
2020
- //#endregion
2021
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_assocIndexOf.js
2022
- var require__assocIndexOf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2023
- var eq = require_eq();
2024
- /**
2025
- * Gets the index at which the `key` is found in `array` of key-value pairs.
2026
- *
2027
- * @private
2028
- * @param {Array} array The array to inspect.
2029
- * @param {*} key The key to search for.
2030
- * @returns {number} Returns the index of the matched value, else `-1`.
2031
- */
2032
- function assocIndexOf(array, key) {
2033
- var length = array.length;
2034
- while (length--) if (eq(array[length][0], key)) return length;
2035
- return -1;
2036
- }
2037
- module.exports = assocIndexOf;
2038
- }));
2039
- //#endregion
2040
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_listCacheDelete.js
2041
- var require__listCacheDelete = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2042
- var assocIndexOf = require__assocIndexOf();
2043
- /** Built-in value references. */
2044
- var splice = Array.prototype.splice;
2045
- /**
2046
- * Removes `key` and its value from the list cache.
2047
- *
2048
- * @private
2049
- * @name delete
2050
- * @memberOf ListCache
2051
- * @param {string} key The key of the value to remove.
2052
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2053
- */
2054
- function listCacheDelete(key) {
2055
- var data = this.__data__, index = assocIndexOf(data, key);
2056
- if (index < 0) return false;
2057
- if (index == data.length - 1) data.pop();
2058
- else splice.call(data, index, 1);
2059
- --this.size;
2060
- return true;
2061
- }
2062
- module.exports = listCacheDelete;
2063
- }));
2064
- //#endregion
2065
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_listCacheGet.js
2066
- var require__listCacheGet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2067
- var assocIndexOf = require__assocIndexOf();
2068
- /**
2069
- * Gets the list cache value for `key`.
2070
- *
2071
- * @private
2072
- * @name get
2073
- * @memberOf ListCache
2074
- * @param {string} key The key of the value to get.
2075
- * @returns {*} Returns the entry value.
2076
- */
2077
- function listCacheGet(key) {
2078
- var data = this.__data__, index = assocIndexOf(data, key);
2079
- return index < 0 ? void 0 : data[index][1];
2080
- }
2081
- module.exports = listCacheGet;
2082
- }));
2083
- //#endregion
2084
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_listCacheHas.js
2085
- var require__listCacheHas = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2086
- var assocIndexOf = require__assocIndexOf();
2087
- /**
2088
- * Checks if a list cache value for `key` exists.
2089
- *
2090
- * @private
2091
- * @name has
2092
- * @memberOf ListCache
2093
- * @param {string} key The key of the entry to check.
2094
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2095
- */
2096
- function listCacheHas(key) {
2097
- return assocIndexOf(this.__data__, key) > -1;
2098
- }
2099
- module.exports = listCacheHas;
2100
- }));
2101
- //#endregion
2102
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_listCacheSet.js
2103
- var require__listCacheSet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2104
- var assocIndexOf = require__assocIndexOf();
2105
- /**
2106
- * Sets the list cache `key` to `value`.
2107
- *
2108
- * @private
2109
- * @name set
2110
- * @memberOf ListCache
2111
- * @param {string} key The key of the value to set.
2112
- * @param {*} value The value to set.
2113
- * @returns {Object} Returns the list cache instance.
2114
- */
2115
- function listCacheSet(key, value) {
2116
- var data = this.__data__, index = assocIndexOf(data, key);
2117
- if (index < 0) {
2118
- ++this.size;
2119
- data.push([key, value]);
2120
- } else data[index][1] = value;
2121
- return this;
2122
- }
2123
- module.exports = listCacheSet;
2124
- }));
2125
- //#endregion
2126
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_ListCache.js
2127
- var require__ListCache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2128
- var listCacheClear = require__listCacheClear();
2129
- var listCacheDelete = require__listCacheDelete();
2130
- var listCacheGet = require__listCacheGet();
2131
- var listCacheHas = require__listCacheHas();
2132
- var listCacheSet = require__listCacheSet();
2133
- /**
2134
- * Creates an list cache object.
2135
- *
2136
- * @private
2137
- * @constructor
2138
- * @param {Array} [entries] The key-value pairs to cache.
2139
- */
2140
- function ListCache(entries) {
2141
- var index = -1, length = entries == null ? 0 : entries.length;
2142
- this.clear();
2143
- while (++index < length) {
2144
- var entry = entries[index];
2145
- this.set(entry[0], entry[1]);
2146
- }
2147
- }
2148
- ListCache.prototype.clear = listCacheClear;
2149
- ListCache.prototype["delete"] = listCacheDelete;
2150
- ListCache.prototype.get = listCacheGet;
2151
- ListCache.prototype.has = listCacheHas;
2152
- ListCache.prototype.set = listCacheSet;
2153
- module.exports = ListCache;
2154
- }));
2155
- //#endregion
2156
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Map.js
2157
- var require__Map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2158
- module.exports = require__getNative()(require__root(), "Map");
2159
- }));
2160
- //#endregion
2161
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_mapCacheClear.js
2162
- var require__mapCacheClear = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2163
- var Hash = require__Hash();
2164
- var ListCache = require__ListCache();
2165
- var Map = require__Map();
2166
- /**
2167
- * Removes all key-value entries from the map.
2168
- *
2169
- * @private
2170
- * @name clear
2171
- * @memberOf MapCache
2172
- */
2173
- function mapCacheClear() {
2174
- this.size = 0;
2175
- this.__data__ = {
2176
- "hash": new Hash(),
2177
- "map": new (Map || ListCache)(),
2178
- "string": new Hash()
2179
- };
2180
- }
2181
- module.exports = mapCacheClear;
2182
- }));
2183
- //#endregion
2184
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isKeyable.js
2185
- var require__isKeyable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2186
- /**
2187
- * Checks if `value` is suitable for use as unique object key.
2188
- *
2189
- * @private
2190
- * @param {*} value The value to check.
2191
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
2192
- */
2193
- function isKeyable(value) {
2194
- var type = typeof value;
2195
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
2196
- }
2197
- module.exports = isKeyable;
2198
- }));
2199
- //#endregion
2200
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getMapData.js
2201
- var require__getMapData = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2202
- var isKeyable = require__isKeyable();
2203
- /**
2204
- * Gets the data for `map`.
2205
- *
2206
- * @private
2207
- * @param {Object} map The map to query.
2208
- * @param {string} key The reference key.
2209
- * @returns {*} Returns the map data.
2210
- */
2211
- function getMapData(map, key) {
2212
- var data = map.__data__;
2213
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
2214
- }
2215
- module.exports = getMapData;
2216
- }));
2217
- //#endregion
2218
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_mapCacheDelete.js
2219
- var require__mapCacheDelete = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2220
- var getMapData = require__getMapData();
2221
- /**
2222
- * Removes `key` and its value from the map.
2223
- *
2224
- * @private
2225
- * @name delete
2226
- * @memberOf MapCache
2227
- * @param {string} key The key of the value to remove.
2228
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2229
- */
2230
- function mapCacheDelete(key) {
2231
- var result = getMapData(this, key)["delete"](key);
2232
- this.size -= result ? 1 : 0;
2233
- return result;
2234
- }
2235
- module.exports = mapCacheDelete;
2236
- }));
2237
- //#endregion
2238
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_mapCacheGet.js
2239
- var require__mapCacheGet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2240
- var getMapData = require__getMapData();
2241
- /**
2242
- * Gets the map value for `key`.
2243
- *
2244
- * @private
2245
- * @name get
2246
- * @memberOf MapCache
2247
- * @param {string} key The key of the value to get.
2248
- * @returns {*} Returns the entry value.
2249
- */
2250
- function mapCacheGet(key) {
2251
- return getMapData(this, key).get(key);
2252
- }
2253
- module.exports = mapCacheGet;
2254
- }));
2255
- //#endregion
2256
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_mapCacheHas.js
2257
- var require__mapCacheHas = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2258
- var getMapData = require__getMapData();
2259
- /**
2260
- * Checks if a map value for `key` exists.
2261
- *
2262
- * @private
2263
- * @name has
2264
- * @memberOf MapCache
2265
- * @param {string} key The key of the entry to check.
2266
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2267
- */
2268
- function mapCacheHas(key) {
2269
- return getMapData(this, key).has(key);
2270
- }
2271
- module.exports = mapCacheHas;
2272
- }));
2273
- //#endregion
2274
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_mapCacheSet.js
2275
- var require__mapCacheSet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2276
- var getMapData = require__getMapData();
2277
- /**
2278
- * Sets the map `key` to `value`.
2279
- *
2280
- * @private
2281
- * @name set
2282
- * @memberOf MapCache
2283
- * @param {string} key The key of the value to set.
2284
- * @param {*} value The value to set.
2285
- * @returns {Object} Returns the map cache instance.
2286
- */
2287
- function mapCacheSet(key, value) {
2288
- var data = getMapData(this, key), size = data.size;
2289
- data.set(key, value);
2290
- this.size += data.size == size ? 0 : 1;
2291
- return this;
2292
- }
2293
- module.exports = mapCacheSet;
2294
- }));
2295
- //#endregion
2296
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_MapCache.js
2297
- var require__MapCache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2298
- var mapCacheClear = require__mapCacheClear();
2299
- var mapCacheDelete = require__mapCacheDelete();
2300
- var mapCacheGet = require__mapCacheGet();
2301
- var mapCacheHas = require__mapCacheHas();
2302
- var mapCacheSet = require__mapCacheSet();
2303
- /**
2304
- * Creates a map cache object to store key-value pairs.
2305
- *
2306
- * @private
2307
- * @constructor
2308
- * @param {Array} [entries] The key-value pairs to cache.
2309
- */
2310
- function MapCache(entries) {
2311
- var index = -1, length = entries == null ? 0 : entries.length;
2312
- this.clear();
2313
- while (++index < length) {
2314
- var entry = entries[index];
2315
- this.set(entry[0], entry[1]);
2316
- }
2317
- }
2318
- MapCache.prototype.clear = mapCacheClear;
2319
- MapCache.prototype["delete"] = mapCacheDelete;
2320
- MapCache.prototype.get = mapCacheGet;
2321
- MapCache.prototype.has = mapCacheHas;
2322
- MapCache.prototype.set = mapCacheSet;
2323
- module.exports = MapCache;
2324
- }));
2325
- //#endregion
2326
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/memoize.js
2327
- var require_memoize = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2328
- var MapCache = require__MapCache();
2329
- /** Error message constants. */
2330
- var FUNC_ERROR_TEXT = "Expected a function";
2331
- /**
2332
- * Creates a function that memoizes the result of `func`. If `resolver` is
2333
- * provided, it determines the cache key for storing the result based on the
2334
- * arguments provided to the memoized function. By default, the first argument
2335
- * provided to the memoized function is used as the map cache key. The `func`
2336
- * is invoked with the `this` binding of the memoized function.
2337
- *
2338
- * **Note:** The cache is exposed as the `cache` property on the memoized
2339
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
2340
- * constructor with one whose instances implement the
2341
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
2342
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
2343
- *
2344
- * @static
2345
- * @memberOf _
2346
- * @since 0.1.0
2347
- * @category Function
2348
- * @param {Function} func The function to have its output memoized.
2349
- * @param {Function} [resolver] The function to resolve the cache key.
2350
- * @returns {Function} Returns the new memoized function.
2351
- * @example
2352
- *
2353
- * var object = { 'a': 1, 'b': 2 };
2354
- * var other = { 'c': 3, 'd': 4 };
2355
- *
2356
- * var values = _.memoize(_.values);
2357
- * values(object);
2358
- * // => [1, 2]
2359
- *
2360
- * values(other);
2361
- * // => [3, 4]
2362
- *
2363
- * object.a = 2;
2364
- * values(object);
2365
- * // => [1, 2]
2366
- *
2367
- * // Modify the result cache.
2368
- * values.cache.set(object, ['a', 'b']);
2369
- * values(object);
2370
- * // => ['a', 'b']
2371
- *
2372
- * // Replace `_.memoize.Cache`.
2373
- * _.memoize.Cache = WeakMap;
2374
- */
2375
- function memoize(func, resolver) {
2376
- if (typeof func != "function" || resolver != null && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
2377
- var memoized = function() {
2378
- var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
2379
- if (cache.has(key)) return cache.get(key);
2380
- var result = func.apply(this, args);
2381
- memoized.cache = cache.set(key, result) || cache;
2382
- return result;
2383
- };
2384
- memoized.cache = new (memoize.Cache || MapCache)();
2385
- return memoized;
2386
- }
2387
- memoize.Cache = MapCache;
2388
- module.exports = memoize;
2389
- }));
2390
- //#endregion
2391
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_memoizeCapped.js
2392
- var require__memoizeCapped = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2393
- var memoize = require_memoize();
2394
- /** Used as the maximum memoize cache size. */
2395
- var MAX_MEMOIZE_SIZE = 500;
2396
- /**
2397
- * A specialized version of `_.memoize` which clears the memoized function's
2398
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
2399
- *
2400
- * @private
2401
- * @param {Function} func The function to have its output memoized.
2402
- * @returns {Function} Returns the new memoized function.
2403
- */
2404
- function memoizeCapped(func) {
2405
- var result = memoize(func, function(key) {
2406
- if (cache.size === MAX_MEMOIZE_SIZE) cache.clear();
2407
- return key;
2408
- });
2409
- var cache = result.cache;
2410
- return result;
2411
- }
2412
- module.exports = memoizeCapped;
2413
- }));
2414
- //#endregion
2415
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_stringToPath.js
2416
- var require__stringToPath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2417
- var memoizeCapped = require__memoizeCapped();
2418
- /** Used to match property names within property paths. */
2419
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
2420
- /** Used to match backslashes in property paths. */
2421
- var reEscapeChar = /\\(\\)?/g;
2422
- module.exports = memoizeCapped(function(string) {
2423
- var result = [];
2424
- if (string.charCodeAt(0) === 46) result.push("");
2425
- string.replace(rePropName, function(match, number, quote, subString) {
2426
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
2427
- });
2428
- return result;
2429
- });
2430
- }));
2431
- //#endregion
2432
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arrayMap.js
2433
- var require__arrayMap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2434
- /**
2435
- * A specialized version of `_.map` for arrays without support for iteratee
2436
- * shorthands.
2437
- *
2438
- * @private
2439
- * @param {Array} [array] The array to iterate over.
2440
- * @param {Function} iteratee The function invoked per iteration.
2441
- * @returns {Array} Returns the new mapped array.
2442
- */
2443
- function arrayMap(array, iteratee) {
2444
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
2445
- while (++index < length) result[index] = iteratee(array[index], index, array);
2446
- return result;
2447
- }
2448
- module.exports = arrayMap;
2449
- }));
2450
- //#endregion
2451
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseToString.js
2452
- var require__baseToString = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2453
- var Symbol = require__Symbol();
2454
- var arrayMap = require__arrayMap();
2455
- var isArray = require_isArray();
2456
- var isSymbol = require_isSymbol();
2457
- /** Used as references for various `Number` constants. */
2458
- var INFINITY = 1 / 0;
2459
- /** Used to convert symbols to primitives and strings. */
2460
- var symbolProto = Symbol ? Symbol.prototype : void 0;
2461
- var symbolToString = symbolProto ? symbolProto.toString : void 0;
2462
- /**
2463
- * The base implementation of `_.toString` which doesn't convert nullish
2464
- * values to empty strings.
2465
- *
2466
- * @private
2467
- * @param {*} value The value to process.
2468
- * @returns {string} Returns the string.
2469
- */
2470
- function baseToString(value) {
2471
- if (typeof value == "string") return value;
2472
- if (isArray(value)) return arrayMap(value, baseToString) + "";
2473
- if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
2474
- var result = value + "";
2475
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
2476
- }
2477
- module.exports = baseToString;
2478
- }));
2479
- //#endregion
2480
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toString.js
2481
- var require_toString = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2482
- var baseToString = require__baseToString();
2483
- /**
2484
- * Converts `value` to a string. An empty string is returned for `null`
2485
- * and `undefined` values. The sign of `-0` is preserved.
2486
- *
2487
- * @static
2488
- * @memberOf _
2489
- * @since 4.0.0
2490
- * @category Lang
2491
- * @param {*} value The value to convert.
2492
- * @returns {string} Returns the converted string.
2493
- * @example
2494
- *
2495
- * _.toString(null);
2496
- * // => ''
2497
- *
2498
- * _.toString(-0);
2499
- * // => '-0'
2500
- *
2501
- * _.toString([1, 2, 3]);
2502
- * // => '1,2,3'
2503
- */
2504
- function toString(value) {
2505
- return value == null ? "" : baseToString(value);
2506
- }
2507
- module.exports = toString;
2508
- }));
2509
- //#endregion
2510
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_castPath.js
2511
- var require__castPath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2512
- var isArray = require_isArray();
2513
- var isKey = require__isKey();
2514
- var stringToPath = require__stringToPath();
2515
- var toString = require_toString();
2516
- /**
2517
- * Casts `value` to a path array if it's not one.
2518
- *
2519
- * @private
2520
- * @param {*} value The value to inspect.
2521
- * @param {Object} [object] The object to query keys on.
2522
- * @returns {Array} Returns the cast property path array.
2523
- */
2524
- function castPath(value, object) {
2525
- if (isArray(value)) return value;
2526
- return isKey(value, object) ? [value] : stringToPath(toString(value));
2527
- }
2528
- module.exports = castPath;
2529
- }));
2530
- //#endregion
2531
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_toKey.js
2532
- var require__toKey = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2533
- var isSymbol = require_isSymbol();
2534
- /** Used as references for various `Number` constants. */
2535
- var INFINITY = 1 / 0;
2536
- /**
2537
- * Converts `value` to a string key if it's not a string or symbol.
2538
- *
2539
- * @private
2540
- * @param {*} value The value to inspect.
2541
- * @returns {string|symbol} Returns the key.
2542
- */
2543
- function toKey(value) {
2544
- if (typeof value == "string" || isSymbol(value)) return value;
2545
- var result = value + "";
2546
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
2547
- }
2548
- module.exports = toKey;
2549
- }));
2550
- //#endregion
2551
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGet.js
2552
- var require__baseGet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2553
- var castPath = require__castPath();
2554
- var toKey = require__toKey();
2555
- /**
2556
- * The base implementation of `_.get` without support for default values.
2557
- *
2558
- * @private
2559
- * @param {Object} object The object to query.
2560
- * @param {Array|string} path The path of the property to get.
2561
- * @returns {*} Returns the resolved value.
2562
- */
2563
- function baseGet(object, path) {
2564
- path = castPath(path, object);
2565
- var index = 0, length = path.length;
2566
- while (object != null && index < length) object = object[toKey(path[index++])];
2567
- return index && index == length ? object : void 0;
2568
- }
2569
- module.exports = baseGet;
2570
- }));
2571
- //#endregion
2572
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js
2573
- var require_get = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2574
- var baseGet = require__baseGet();
2575
- /**
2576
- * Gets the value at `path` of `object`. If the resolved value is
2577
- * `undefined`, the `defaultValue` is returned in its place.
2578
- *
2579
- * @static
2580
- * @memberOf _
2581
- * @since 3.7.0
2582
- * @category Object
2583
- * @param {Object} object The object to query.
2584
- * @param {Array|string} path The path of the property to get.
2585
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
2586
- * @returns {*} Returns the resolved value.
2587
- * @example
2588
- *
2589
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
2590
- *
2591
- * _.get(object, 'a[0].b.c');
2592
- * // => 3
2593
- *
2594
- * _.get(object, ['a', '0', 'b', 'c']);
2595
- * // => 3
2596
- *
2597
- * _.get(object, 'a.b.c', 'default');
2598
- * // => 'default'
2599
- */
2600
- function get(object, path, defaultValue) {
2601
- var result = object == null ? void 0 : baseGet(object, path);
2602
- return result === void 0 ? defaultValue : result;
2603
- }
2604
- module.exports = get;
2605
- }));
2606
- //#endregion
2607
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseHas.js
2608
- var require__baseHas = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2609
- /** Used to check objects for own properties. */
2610
- var hasOwnProperty = Object.prototype.hasOwnProperty;
2611
- /**
2612
- * The base implementation of `_.has` without support for deep paths.
2613
- *
2614
- * @private
2615
- * @param {Object} [object] The object to query.
2616
- * @param {Array|string} key The key to check.
2617
- * @returns {boolean} Returns `true` if `key` exists, else `false`.
2618
- */
2619
- function baseHas(object, key) {
2620
- return object != null && hasOwnProperty.call(object, key);
2621
- }
2622
- module.exports = baseHas;
2623
- }));
2624
- //#endregion
2625
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseIsArguments.js
2626
- var require__baseIsArguments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2627
- var baseGetTag = require__baseGetTag();
2628
- var isObjectLike = require_isObjectLike();
2629
- /** `Object#toString` result references. */
2630
- var argsTag = "[object Arguments]";
2631
- /**
2632
- * The base implementation of `_.isArguments`.
2633
- *
2634
- * @private
2635
- * @param {*} value The value to check.
2636
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
2637
- */
2638
- function baseIsArguments(value) {
2639
- return isObjectLike(value) && baseGetTag(value) == argsTag;
2640
- }
2641
- module.exports = baseIsArguments;
2642
- }));
2643
- //#endregion
2644
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isArguments.js
2645
- var require_isArguments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2646
- var baseIsArguments = require__baseIsArguments();
2647
- var isObjectLike = require_isObjectLike();
2648
- /** Used for built-in method references. */
2649
- var objectProto = Object.prototype;
2650
- /** Used to check objects for own properties. */
2651
- var hasOwnProperty = objectProto.hasOwnProperty;
2652
- /** Built-in value references. */
2653
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
2654
- module.exports = baseIsArguments(function() {
2655
- return arguments;
2656
- }()) ? baseIsArguments : function(value) {
2657
- return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
2658
- };
2659
- }));
2660
- //#endregion
2661
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isIndex.js
2662
- var require__isIndex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2663
- /** Used as references for various `Number` constants. */
2664
- var MAX_SAFE_INTEGER = 9007199254740991;
2665
- /** Used to detect unsigned integer values. */
2666
- var reIsUint = /^(?:0|[1-9]\d*)$/;
2667
- /**
2668
- * Checks if `value` is a valid array-like index.
2669
- *
2670
- * @private
2671
- * @param {*} value The value to check.
2672
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
2673
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
2674
- */
2675
- function isIndex(value, length) {
2676
- var type = typeof value;
2677
- length = length == null ? MAX_SAFE_INTEGER : length;
2678
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
2679
- }
2680
- module.exports = isIndex;
2681
- }));
2682
- //#endregion
2683
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isLength.js
2684
- var require_isLength = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2685
- /** Used as references for various `Number` constants. */
2686
- var MAX_SAFE_INTEGER = 9007199254740991;
2687
- /**
2688
- * Checks if `value` is a valid array-like length.
2689
- *
2690
- * **Note:** This method is loosely based on
2691
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
2692
- *
2693
- * @static
2694
- * @memberOf _
2695
- * @since 4.0.0
2696
- * @category Lang
2697
- * @param {*} value The value to check.
2698
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
2699
- * @example
2700
- *
2701
- * _.isLength(3);
2702
- * // => true
2703
- *
2704
- * _.isLength(Number.MIN_VALUE);
2705
- * // => false
2706
- *
2707
- * _.isLength(Infinity);
2708
- * // => false
2709
- *
2710
- * _.isLength('3');
2711
- * // => false
2712
- */
2713
- function isLength(value) {
2714
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2715
- }
2716
- module.exports = isLength;
2717
- }));
2718
- //#endregion
2719
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_hasPath.js
2720
- var require__hasPath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2721
- var castPath = require__castPath();
2722
- var isArguments = require_isArguments();
2723
- var isArray = require_isArray();
2724
- var isIndex = require__isIndex();
2725
- var isLength = require_isLength();
2726
- var toKey = require__toKey();
2727
- /**
2728
- * Checks if `path` exists on `object`.
2729
- *
2730
- * @private
2731
- * @param {Object} object The object to query.
2732
- * @param {Array|string} path The path to check.
2733
- * @param {Function} hasFunc The function to check properties.
2734
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
2735
- */
2736
- function hasPath(object, path, hasFunc) {
2737
- path = castPath(path, object);
2738
- var index = -1, length = path.length, result = false;
2739
- while (++index < length) {
2740
- var key = toKey(path[index]);
2741
- if (!(result = object != null && hasFunc(object, key))) break;
2742
- object = object[key];
2743
- }
2744
- if (result || ++index != length) return result;
2745
- length = object == null ? 0 : object.length;
2746
- return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
2747
- }
2748
- module.exports = hasPath;
2749
- }));
2750
- //#endregion
2751
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/has.js
2752
- var require_has = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2753
- var baseHas = require__baseHas();
2754
- var hasPath = require__hasPath();
2755
- /**
2756
- * Checks if `path` is a direct property of `object`.
2757
- *
2758
- * @static
2759
- * @since 0.1.0
2760
- * @memberOf _
2761
- * @category Object
2762
- * @param {Object} object The object to query.
2763
- * @param {Array|string} path The path to check.
2764
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
2765
- * @example
2766
- *
2767
- * var object = { 'a': { 'b': 2 } };
2768
- * var other = _.create({ 'a': _.create({ 'b': 2 }) });
2769
- *
2770
- * _.has(object, 'a');
2771
- * // => true
2772
- *
2773
- * _.has(object, 'a.b');
2774
- * // => true
2775
- *
2776
- * _.has(object, ['a', 'b']);
2777
- * // => true
2778
- *
2779
- * _.has(other, 'a');
2780
- * // => false
2781
- */
2782
- function has(object, path) {
2783
- return object != null && hasPath(object, path, baseHas);
2784
- }
2785
- module.exports = has;
2786
- }));
2787
- //#endregion
2788
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_defineProperty.js
2789
- var require__defineProperty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2790
- var getNative = require__getNative();
2791
- module.exports = function() {
2792
- try {
2793
- var func = getNative(Object, "defineProperty");
2794
- func({}, "", {});
2795
- return func;
2796
- } catch (e) {}
2797
- }();
2798
- }));
2799
- //#endregion
2800
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseAssignValue.js
2801
- var require__baseAssignValue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2802
- var defineProperty = require__defineProperty();
2803
- /**
2804
- * The base implementation of `assignValue` and `assignMergeValue` without
2805
- * value checks.
2806
- *
2807
- * @private
2808
- * @param {Object} object The object to modify.
2809
- * @param {string} key The key of the property to assign.
2810
- * @param {*} value The value to assign.
2811
- */
2812
- function baseAssignValue(object, key, value) {
2813
- if (key == "__proto__" && defineProperty) defineProperty(object, key, {
2814
- "configurable": true,
2815
- "enumerable": true,
2816
- "value": value,
2817
- "writable": true
2818
- });
2819
- else object[key] = value;
2820
- }
2821
- module.exports = baseAssignValue;
2822
- }));
2823
- //#endregion
2824
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_assignValue.js
2825
- var require__assignValue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2826
- var baseAssignValue = require__baseAssignValue();
2827
- var eq = require_eq();
2828
- /** Used to check objects for own properties. */
2829
- var hasOwnProperty = Object.prototype.hasOwnProperty;
2830
- /**
2831
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
2832
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
2833
- * for equality comparisons.
2834
- *
2835
- * @private
2836
- * @param {Object} object The object to modify.
2837
- * @param {string} key The key of the property to assign.
2838
- * @param {*} value The value to assign.
2839
- */
2840
- function assignValue(object, key, value) {
2841
- var objValue = object[key];
2842
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
2843
- }
2844
- module.exports = assignValue;
2845
- }));
2846
- //#endregion
2847
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseSet.js
2848
- var require__baseSet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2849
- var assignValue = require__assignValue();
2850
- var castPath = require__castPath();
2851
- var isIndex = require__isIndex();
2852
- var isObject = require_isObject();
2853
- var toKey = require__toKey();
2854
- /**
2855
- * The base implementation of `_.set`.
2856
- *
2857
- * @private
2858
- * @param {Object} object The object to modify.
2859
- * @param {Array|string} path The path of the property to set.
2860
- * @param {*} value The value to set.
2861
- * @param {Function} [customizer] The function to customize path creation.
2862
- * @returns {Object} Returns `object`.
2863
- */
2864
- function baseSet(object, path, value, customizer) {
2865
- if (!isObject(object)) return object;
2866
- path = castPath(path, object);
2867
- var index = -1, length = path.length, lastIndex = length - 1, nested = object;
2868
- while (nested != null && ++index < length) {
2869
- var key = toKey(path[index]), newValue = value;
2870
- if (key === "__proto__" || key === "constructor" || key === "prototype") return object;
2871
- if (index != lastIndex) {
2872
- var objValue = nested[key];
2873
- newValue = customizer ? customizer(objValue, key, nested) : void 0;
2874
- if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
2875
- }
2876
- assignValue(nested, key, newValue);
2877
- nested = nested[key];
2878
- }
2879
- return object;
2880
- }
2881
- module.exports = baseSet;
2882
- }));
2883
- //#endregion
2884
- //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js
2885
- var require_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2886
- var baseSet = require__baseSet();
2887
- /**
2888
- * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
2889
- * it's created. Arrays are created for missing index properties while objects
2890
- * are created for all other missing properties. Use `_.setWith` to customize
2891
- * `path` creation.
2892
- *
2893
- * **Note:** This method mutates `object`.
2894
- *
2895
- * @static
2896
- * @memberOf _
2897
- * @since 3.7.0
2898
- * @category Object
2899
- * @param {Object} object The object to modify.
2900
- * @param {Array|string} path The path of the property to set.
2901
- * @param {*} value The value to set.
2902
- * @returns {Object} Returns `object`.
2903
- * @example
2904
- *
2905
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
2906
- *
2907
- * _.set(object, 'a[0].b.c', 4);
2908
- * console.log(object.a[0].b.c);
2909
- * // => 4
2910
- *
2911
- * _.set(object, ['x', '0', 'y', 'z'], 5);
2912
- * console.log(object.x[0].y.z);
2913
- * // => 5
2914
- */
2915
- function set(object, path, value) {
2916
- return object == null ? object : baseSet(object, path, value);
2917
- }
2918
- module.exports = set;
2919
- }));
2920
- //#endregion
2921
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/config.service.js
2922
- var require_config_service = /* @__PURE__ */ __commonJSMin(((exports) => {
2923
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2924
- if (k2 === void 0) k2 = k;
2925
- var desc = Object.getOwnPropertyDescriptor(m, k);
2926
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
2927
- enumerable: true,
2928
- get: function() {
2929
- return m[k];
2930
- }
2931
- };
2932
- Object.defineProperty(o, k2, desc);
2933
- }) : (function(o, m, k, k2) {
2934
- if (k2 === void 0) k2 = k;
2935
- o[k2] = m[k];
2936
- }));
2937
- var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
2938
- Object.defineProperty(o, "default", {
2939
- enumerable: true,
2940
- value: v
2941
- });
2942
- }) : function(o, v) {
2943
- o["default"] = v;
2944
- });
2945
- var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
2946
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2947
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2948
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2949
- return c > 3 && r && Object.defineProperty(target, key, r), r;
2950
- };
2951
- var __importStar = exports && exports.__importStar || (function() {
2952
- var ownKeys = function(o) {
2953
- ownKeys = Object.getOwnPropertyNames || function(o) {
2954
- var ar = [];
2955
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
2956
- return ar;
2957
- };
2958
- return ownKeys(o);
2959
- };
2960
- return function(mod) {
2961
- if (mod && mod.__esModule) return mod;
2962
- var result = {};
2963
- if (mod != null) {
2964
- for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
2965
- }
2966
- __setModuleDefault(result, mod);
2967
- return result;
2968
- };
2969
- })();
2970
- var __metadata = exports && exports.__metadata || function(k, v) {
2971
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
2972
- };
2973
- var __param = exports && exports.__param || function(paramIndex, decorator) {
2974
- return function(target, key) {
2975
- decorator(target, key, paramIndex);
2976
- };
2977
- };
2978
- var __importDefault = exports && exports.__importDefault || function(mod) {
2979
- return mod && mod.__esModule ? mod : { "default": mod };
2980
- };
2981
- Object.defineProperty(exports, "__esModule", { value: true });
2982
- exports.ConfigService = void 0;
2983
- const common_1$3 = require("@nestjs/common");
2984
- const shared_utils_1$1 = require("@nestjs/common/utils/shared.utils");
2985
- const dotenv = __importStar(require_main$1());
2986
- const fs_1 = __importDefault(require("fs"));
2987
- const get_1 = __importDefault(require_get());
2988
- const has_1 = __importDefault(require_has());
2989
- const set_1 = __importDefault(require_set());
2990
- const rxjs_1 = require("rxjs");
2991
- const config_constants_1 = require_config_constants();
2992
- /**
2993
- * @publicApi
2994
- */
2995
- let ConfigService = class ConfigService {
2996
- set isCacheEnabled(value) {
2997
- this._isCacheEnabled = value;
2998
- }
2999
- get isCacheEnabled() {
3000
- return this._isCacheEnabled;
3001
- }
3002
- set skipProcessEnv(value) {
3003
- this._skipProcessEnv = value;
3004
- }
3005
- get skipProcessEnv() {
3006
- return this._skipProcessEnv;
3007
- }
3008
- constructor(internalConfig = {}) {
3009
- this.internalConfig = internalConfig;
3010
- this.cache = {};
3011
- this._changes$ = new rxjs_1.Subject();
3012
- this._skipProcessEnv = false;
3013
- this._isCacheEnabled = false;
3014
- this.envFilePaths = [];
3015
- }
3016
- /**
3017
- * Returns a stream of configuration changes.
3018
- * Each event contains the attribute path, the old value and the new value.
3019
- */
3020
- get changes$() {
3021
- return this._changes$.asObservable();
3022
- }
3023
- /**
3024
- * Get a configuration value (either custom configuration or process environment variable)
3025
- * based on property path (you can use dot notation to traverse nested object, e.g. "database.host").
3026
- * It returns a default value if the key does not exist.
3027
- * @param propertyPath
3028
- * @param defaultValueOrOptions
3029
- */
3030
- get(propertyPath, defaultValueOrOptions, options) {
3031
- const internalValue = this.getFromInternalConfig(propertyPath);
3032
- if (!(0, shared_utils_1$1.isUndefined)(internalValue)) return internalValue;
3033
- const validatedEnvValue = this.getFromValidatedEnv(propertyPath);
3034
- if (!(0, shared_utils_1$1.isUndefined)(validatedEnvValue)) return validatedEnvValue;
3035
- const defaultValue = this.isGetOptionsObject(defaultValueOrOptions) && !options ? void 0 : defaultValueOrOptions;
3036
- if (!this._skipProcessEnv) {
3037
- const processEnvValue = this.getFromProcessEnv(propertyPath, defaultValue);
3038
- if (!(0, shared_utils_1$1.isUndefined)(processEnvValue)) return processEnvValue;
3039
- }
3040
- return defaultValue;
3041
- }
3042
- /**
3043
- * Get a configuration value (either custom configuration or process environment variable)
3044
- * based on property path (you can use dot notation to traverse nested object, e.g. "database.host").
3045
- * It returns a default value if the key does not exist.
3046
- * If the default value is undefined an exception will be thrown.
3047
- * @param propertyPath
3048
- * @param defaultValueOrOptions
3049
- */
3050
- getOrThrow(propertyPath, defaultValueOrOptions, options) {
3051
- const value = this.get(propertyPath, defaultValueOrOptions, options);
3052
- if ((0, shared_utils_1$1.isUndefined)(value)) throw new TypeError(`Configuration key "${propertyPath.toString()}" does not exist`);
3053
- return value;
3054
- }
3055
- /**
3056
- * Sets a configuration value based on property path.
3057
- * @param propertyPath
3058
- * @param value
3059
- */
3060
- set(propertyPath, value) {
3061
- const oldValue = this.get(propertyPath);
3062
- (0, set_1.default)(this.internalConfig, propertyPath, value);
3063
- if (typeof propertyPath === "string") {
3064
- process.env[propertyPath] = String(value);
3065
- this.updateInterpolatedEnv(propertyPath, String(value));
3066
- }
3067
- if (this.isCacheEnabled) this.setInCacheIfDefined(propertyPath, value);
3068
- this._changes$.next({
3069
- path: propertyPath,
3070
- oldValue,
3071
- newValue: value
3072
- });
3073
- }
3074
- /**
3075
- * Sets env file paths from `config.module.ts` to parse.
3076
- * @param paths
3077
- */
3078
- setEnvFilePaths(paths) {
3079
- this.envFilePaths = paths;
3080
- }
3081
- getFromCache(propertyPath, defaultValue) {
3082
- const cachedValue = (0, get_1.default)(this.cache, propertyPath);
3083
- return (0, shared_utils_1$1.isUndefined)(cachedValue) ? defaultValue : cachedValue;
3084
- }
3085
- getFromValidatedEnv(propertyPath) {
3086
- return (0, get_1.default)(this.internalConfig[config_constants_1.VALIDATED_ENV_PROPNAME], propertyPath);
3087
- }
3088
- getFromProcessEnv(propertyPath, defaultValue) {
3089
- if (this.isCacheEnabled && (0, has_1.default)(this.cache, propertyPath)) {
3090
- const cachedValue = this.getFromCache(propertyPath, defaultValue);
3091
- return !(0, shared_utils_1$1.isUndefined)(cachedValue) ? cachedValue : defaultValue;
3092
- }
3093
- const processValue = (0, get_1.default)(process.env, propertyPath);
3094
- this.setInCacheIfDefined(propertyPath, processValue);
3095
- return processValue;
3096
- }
3097
- getFromInternalConfig(propertyPath) {
3098
- return (0, get_1.default)(this.internalConfig, propertyPath);
3099
- }
3100
- setInCacheIfDefined(propertyPath, value) {
3101
- if (typeof value === "undefined") return;
3102
- (0, set_1.default)(this.cache, propertyPath, value);
3103
- }
3104
- isGetOptionsObject(options) {
3105
- return options && options?.infer && Object.keys(options).length === 1;
3106
- }
3107
- updateInterpolatedEnv(propertyPath, value) {
3108
- let config = {};
3109
- for (const envFilePath of this.envFilePaths) if (fs_1.default.existsSync(envFilePath)) config = Object.assign(dotenv.parse(fs_1.default.readFileSync(envFilePath)), config);
3110
- const regex = new RegExp(`\\$\\{?${propertyPath}\\}?`, "g");
3111
- for (const [k, v] of Object.entries(config)) if (regex.test(v)) process.env[k] = v.replace(regex, value);
3112
- }
3113
- };
3114
- exports.ConfigService = ConfigService;
3115
- exports.ConfigService = ConfigService = __decorate([
3116
- (0, common_1$3.Injectable)(),
3117
- __param(0, (0, common_1$3.Optional)()),
3118
- __param(0, (0, common_1$3.Inject)(config_constants_1.CONFIGURATION_TOKEN)),
3119
- __metadata("design:paramtypes", [Object])
3120
- ], ConfigService);
3121
- }));
3122
- //#endregion
3123
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/config-host.module.js
3124
- var require_config_host_module = /* @__PURE__ */ __commonJSMin(((exports) => {
3125
- var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
3126
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3127
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3128
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3129
- return c > 3 && r && Object.defineProperty(target, key, r), r;
3130
- };
3131
- Object.defineProperty(exports, "__esModule", { value: true });
3132
- exports.ConfigHostModule = void 0;
3133
- const common_1$2 = require("@nestjs/common");
3134
- const config_constants_1 = require_config_constants();
3135
- const config_service_1 = require_config_service();
3136
- /**
3137
- * @publicApi
3138
- */
3139
- let ConfigHostModule = class ConfigHostModule {};
3140
- exports.ConfigHostModule = ConfigHostModule;
3141
- exports.ConfigHostModule = ConfigHostModule = __decorate([(0, common_1$2.Global)(), (0, common_1$2.Module)({
3142
- providers: [{
3143
- provide: config_constants_1.CONFIGURATION_TOKEN,
3144
- useFactory: () => ({})
3145
- }, {
3146
- provide: config_constants_1.CONFIGURATION_SERVICE_TOKEN,
3147
- useClass: config_service_1.ConfigService
3148
- }],
3149
- exports: [config_constants_1.CONFIGURATION_TOKEN, config_constants_1.CONFIGURATION_SERVICE_TOKEN]
3150
- })], ConfigHostModule);
3151
- }));
3152
- //#endregion
3153
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/utils/get-config-token.util.js
3154
- var require_get_config_token_util = /* @__PURE__ */ __commonJSMin(((exports) => {
3155
- Object.defineProperty(exports, "__esModule", { value: true });
3156
- exports.getConfigToken = getConfigToken;
3157
- /**
3158
- * @publicApi
3159
- */
3160
- function getConfigToken(token) {
3161
- return `CONFIGURATION(${token.toString()})`;
3162
- }
3163
- }));
3164
- //#endregion
3165
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/utils/create-config-factory.util.js
3166
- var require_create_config_factory_util = /* @__PURE__ */ __commonJSMin(((exports) => {
3167
- Object.defineProperty(exports, "__esModule", { value: true });
3168
- exports.createConfigProvider = createConfigProvider;
3169
- const get_config_token_util_1 = require_get_config_token_util();
3170
- const crypto_1 = require("crypto");
3171
- /**
3172
- * @publicApi
3173
- */
3174
- function createConfigProvider(factory) {
3175
- return {
3176
- provide: factory.KEY || (0, get_config_token_util_1.getConfigToken)((0, crypto_1.randomUUID)()),
3177
- useFactory: factory,
3178
- inject: []
3179
- };
3180
- }
3181
- }));
3182
- //#endregion
3183
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/utils/get-registration-token.util.js
3184
- var require_get_registration_token_util = /* @__PURE__ */ __commonJSMin(((exports) => {
3185
- Object.defineProperty(exports, "__esModule", { value: true });
3186
- exports.getRegistrationToken = getRegistrationToken;
3187
- const config_constants_1 = require_config_constants();
3188
- /**
3189
- * @publicApi
3190
- */
3191
- function getRegistrationToken(config) {
3192
- return config[config_constants_1.PARTIAL_CONFIGURATION_KEY];
3193
- }
3194
- }));
3195
- //#endregion
3196
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/utils/merge-configs.util.js
3197
- var require_merge_configs_util = /* @__PURE__ */ __commonJSMin(((exports) => {
3198
- var __importDefault = exports && exports.__importDefault || function(mod) {
3199
- return mod && mod.__esModule ? mod : { "default": mod };
3200
- };
3201
- Object.defineProperty(exports, "__esModule", { value: true });
3202
- exports.mergeConfigObject = mergeConfigObject;
3203
- const set_1 = __importDefault(require_set());
3204
- /**
3205
- * @publicApi
3206
- */
3207
- function mergeConfigObject(host, partial, token) {
3208
- if (token) {
3209
- (0, set_1.default)(host, token, partial);
3210
- return partial;
3211
- }
3212
- Object.assign(host, partial);
3213
- }
3214
- }));
3215
- //#endregion
3216
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/config.module.js
3217
- var require_config_module = /* @__PURE__ */ __commonJSMin(((exports) => {
3218
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
3219
- if (k2 === void 0) k2 = k;
3220
- var desc = Object.getOwnPropertyDescriptor(m, k);
3221
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
3222
- enumerable: true,
3223
- get: function() {
3224
- return m[k];
3225
- }
3226
- };
3227
- Object.defineProperty(o, k2, desc);
3228
- }) : (function(o, m, k, k2) {
3229
- if (k2 === void 0) k2 = k;
3230
- o[k2] = m[k];
3231
- }));
3232
- var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
3233
- Object.defineProperty(o, "default", {
3234
- enumerable: true,
3235
- value: v
3236
- });
3237
- }) : function(o, v) {
3238
- o["default"] = v;
3239
- });
3240
- var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
3241
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3242
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3243
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3244
- return c > 3 && r && Object.defineProperty(target, key, r), r;
3245
- };
3246
- var __importStar = exports && exports.__importStar || (function() {
3247
- var ownKeys = function(o) {
3248
- ownKeys = Object.getOwnPropertyNames || function(o) {
3249
- var ar = [];
3250
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
3251
- return ar;
3252
- };
3253
- return ownKeys(o);
3254
- };
3255
- return function(mod) {
3256
- if (mod && mod.__esModule) return mod;
3257
- var result = {};
3258
- if (mod != null) {
3259
- for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
3260
- }
3261
- __setModuleDefault(result, mod);
3262
- return result;
3263
- };
3264
- })();
3265
- var ConfigModule_1;
3266
- Object.defineProperty(exports, "__esModule", { value: true });
3267
- exports.ConfigModule = void 0;
3268
- const common_1$1 = require("@nestjs/common");
3269
- const shared_utils_1 = require("@nestjs/common/utils/shared.utils");
3270
- const dotenv = __importStar(require_main$1());
3271
- const dotenv_expand_1 = require_main();
3272
- const fs = __importStar(require("fs"));
3273
- const path_1 = require("path");
3274
- const config_host_module_1 = require_config_host_module();
3275
- const config_constants_1 = require_config_constants();
3276
- const config_service_1 = require_config_service();
3277
- const create_config_factory_util_1 = require_create_config_factory_util();
3278
- const get_registration_token_util_1 = require_get_registration_token_util();
3279
- const merge_configs_util_1 = require_merge_configs_util();
3280
- /**
3281
- * @publicApi
3282
- */
3283
- let ConfigModule = ConfigModule_1 = class ConfigModule {
3284
- /**
3285
- * This promise resolves when "dotenv" completes loading environment variables.
3286
- * When "ignoreEnvFile" is set to true, then it will resolve immediately after the
3287
- * "ConfigModule#forRoot" method is called.
3288
- */
3289
- static get envVariablesLoaded() {
3290
- return this._envVariablesLoaded;
3291
- }
3292
- /**
3293
- * Loads environment variables based on the "ignoreEnvFile" flag and "envFilePath" value.
3294
- * Additionally, registers custom configurations globally.
3295
- * @param options
3296
- */
3297
- static async forRoot(options = {}) {
3298
- const envFilePaths = Array.isArray(options.envFilePath) ? options.envFilePath : [options.envFilePath || (0, path_1.resolve)(process.cwd(), ".env")];
3299
- let validatedEnvConfig = void 0;
3300
- let config = options.ignoreEnvFile ? {} : this.loadEnvFile(envFilePaths, options);
3301
- if (!options.ignoreEnvVars && options.validatePredefined !== false) config = {
3302
- ...config,
3303
- ...process.env
3304
- };
3305
- if (options.validate) {
3306
- const validatedConfig = options.validate(config);
3307
- validatedEnvConfig = validatedConfig;
3308
- this.assignVariablesToProcess(validatedConfig);
3309
- } else if (options.validationSchema) {
3310
- const validationOptions = this.getSchemaValidationOptions(options);
3311
- const { error, value: validatedConfig } = options.validationSchema.validate(config, validationOptions);
3312
- if (error) throw new Error(`Config validation error: ${error.message}`);
3313
- validatedEnvConfig = validatedConfig;
3314
- this.assignVariablesToProcess(validatedConfig);
3315
- } else this.assignVariablesToProcess(config);
3316
- const isConfigToLoad = options.load && options.load.length;
3317
- const providers = (await Promise.all(options.load || [])).map((factory) => (0, create_config_factory_util_1.createConfigProvider)(factory)).filter((item) => item);
3318
- const configProviderTokens = providers.map((item) => item.provide);
3319
- const configServiceProvider = {
3320
- provide: config_service_1.ConfigService,
3321
- useFactory: (configService) => {
3322
- const untypedConfigService = configService;
3323
- if (options.cache) untypedConfigService.isCacheEnabled = true;
3324
- if (options.skipProcessEnv) untypedConfigService.skipProcessEnv = true;
3325
- configService.setEnvFilePaths(envFilePaths);
3326
- return configService;
3327
- },
3328
- inject: [config_constants_1.CONFIGURATION_SERVICE_TOKEN, ...configProviderTokens]
3329
- };
3330
- providers.push(configServiceProvider);
3331
- if (validatedEnvConfig) {
3332
- const validatedEnvConfigLoader = {
3333
- provide: config_constants_1.VALIDATED_ENV_LOADER,
3334
- useFactory: (host) => {
3335
- host[config_constants_1.VALIDATED_ENV_PROPNAME] = validatedEnvConfig;
3336
- },
3337
- inject: [config_constants_1.CONFIGURATION_TOKEN]
3338
- };
3339
- providers.push(validatedEnvConfigLoader);
3340
- }
3341
- this.environmentVariablesLoadedSignal();
3342
- return {
3343
- module: ConfigModule_1,
3344
- global: options.isGlobal,
3345
- providers: isConfigToLoad ? [...providers, {
3346
- provide: config_constants_1.CONFIGURATION_LOADER,
3347
- useFactory: (host, ...configurations) => {
3348
- configurations.forEach((item, index) => this.mergePartial(host, item, providers[index]));
3349
- },
3350
- inject: [config_constants_1.CONFIGURATION_TOKEN, ...configProviderTokens]
3351
- }] : providers,
3352
- exports: [config_service_1.ConfigService, ...configProviderTokens]
3353
- };
3354
- }
3355
- /**
3356
- * Registers configuration object (partial registration).
3357
- * @param config
3358
- */
3359
- static forFeature(config) {
3360
- const configProvider = (0, create_config_factory_util_1.createConfigProvider)(config);
3361
- const serviceProvider = {
3362
- provide: config_service_1.ConfigService,
3363
- useFactory: (configService) => configService,
3364
- inject: [config_constants_1.CONFIGURATION_SERVICE_TOKEN, configProvider.provide]
3365
- };
3366
- return {
3367
- module: ConfigModule_1,
3368
- providers: [
3369
- configProvider,
3370
- serviceProvider,
3371
- {
3372
- provide: config_constants_1.CONFIGURATION_LOADER,
3373
- useFactory: (host, partialConfig) => {
3374
- this.mergePartial(host, partialConfig, configProvider);
3375
- },
3376
- inject: [config_constants_1.CONFIGURATION_TOKEN, configProvider.provide]
3377
- }
3378
- ],
3379
- exports: [config_service_1.ConfigService, configProvider.provide]
3380
- };
3381
- }
3382
- static loadEnvFile(envFilePaths, options) {
3383
- let config = {};
3384
- for (const envFilePath of envFilePaths) if (fs.existsSync(envFilePath)) {
3385
- config = Object.assign(dotenv.parse(fs.readFileSync(envFilePath)), config);
3386
- if (options.expandVariables) {
3387
- const expandOptions = typeof options.expandVariables === "object" ? options.expandVariables : {};
3388
- config = (0, dotenv_expand_1.expand)({
3389
- ...expandOptions,
3390
- parsed: config
3391
- }).parsed || config;
3392
- }
3393
- }
3394
- return config;
3395
- }
3396
- static assignVariablesToProcess(config) {
3397
- if (!(0, shared_utils_1.isObject)(config)) return;
3398
- Object.keys(config).filter((key) => !(key in process.env)).forEach((key) => {
3399
- const value = config[key];
3400
- if (typeof value === "string") process.env[key] = value;
3401
- else if (typeof value === "boolean" || typeof value === "number") process.env[key] = `${value}`;
3402
- });
3403
- }
3404
- static mergePartial(host, item, provider) {
3405
- const factoryRef = provider.useFactory;
3406
- const token = (0, get_registration_token_util_1.getRegistrationToken)(factoryRef);
3407
- (0, merge_configs_util_1.mergeConfigObject)(host, item, token);
3408
- }
3409
- static getSchemaValidationOptions(options) {
3410
- if (options.validationOptions) {
3411
- if (typeof options.validationOptions.allowUnknown === "undefined") options.validationOptions.allowUnknown = true;
3412
- return options.validationOptions;
3413
- }
3414
- return {
3415
- abortEarly: false,
3416
- allowUnknown: true
3417
- };
3418
- }
3419
- };
3420
- exports.ConfigModule = ConfigModule;
3421
- ConfigModule._envVariablesLoaded = new Promise((resolve) => ConfigModule_1.environmentVariablesLoadedSignal = resolve);
3422
- exports.ConfigModule = ConfigModule = ConfigModule_1 = __decorate([(0, common_1$1.Module)({
3423
- imports: [config_host_module_1.ConfigHostModule],
3424
- providers: [{
3425
- provide: config_service_1.ConfigService,
3426
- useExisting: config_constants_1.CONFIGURATION_SERVICE_TOKEN
3427
- }],
3428
- exports: [config_host_module_1.ConfigHostModule, config_service_1.ConfigService]
3429
- })], ConfigModule);
3430
- }));
3431
- //#endregion
3432
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/conditional.module.js
3433
- var require_conditional_module = /* @__PURE__ */ __commonJSMin(((exports) => {
3434
- Object.defineProperty(exports, "__esModule", { value: true });
3435
- exports.ConditionalModule = void 0;
3436
- const common_1 = require("@nestjs/common");
3437
- const config_module_1 = require_config_module();
3438
- /**
3439
- * Same logic as in `@nestjs/core` package.
3440
- * @param instance The instance which should get the name from
3441
- * @returns The name of an instance or `undefined`
3442
- */
3443
- const getInstanceName = (instance) => {
3444
- if (instance?.forwardRef) return instance.forwardRef()?.name;
3445
- if (instance.module) return instance.module?.name;
3446
- return instance.name;
3447
- };
3448
- exports.ConditionalModule = class ConditionalModule {
3449
- /**
3450
- * @publicApi
3451
- */
3452
- static async registerWhen(module$1, condition, options) {
3453
- const { timeout = 5e3, debug = true } = options ?? {};
3454
- const moduleName = getInstanceName(module$1) || module$1.toString();
3455
- const timer = setTimeout(() => {
3456
- throw new Error(`Nest was not able to resolve the config variables within ${timeout} milliseconds. Bause of this, the ConditionalModule was not able to determine if ${moduleName} should be registered or not`);
3457
- }, timeout);
3458
- timer.unref();
3459
- const returnModule = {
3460
- module: ConditionalModule,
3461
- imports: [],
3462
- exports: []
3463
- };
3464
- if (typeof condition === "string") {
3465
- const key = condition;
3466
- condition = (env) => {
3467
- return env[key]?.toLowerCase() !== "false";
3468
- };
3469
- }
3470
- await config_module_1.ConfigModule.envVariablesLoaded;
3471
- clearTimeout(timer);
3472
- if (condition(process.env)) {
3473
- returnModule.imports.push(module$1);
3474
- returnModule.exports.push(module$1);
3475
- } else if (debug) common_1.Logger.debug(`${condition.toString()} evaluated to false. Skipping the registration of ${moduleName}`, ConditionalModule.name);
3476
- return returnModule;
3477
- }
3478
- };
3479
- }));
3480
- //#endregion
3481
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/types/config-object.type.js
3482
- var require_config_object_type = /* @__PURE__ */ __commonJSMin(((exports) => {
3483
- Object.defineProperty(exports, "__esModule", { value: true });
3484
- }));
3485
- //#endregion
3486
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/types/config.type.js
3487
- var require_config_type = /* @__PURE__ */ __commonJSMin(((exports) => {
3488
- Object.defineProperty(exports, "__esModule", { value: true });
3489
- }));
3490
- //#endregion
3491
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/types/no-infer.type.js
3492
- var require_no_infer_type = /* @__PURE__ */ __commonJSMin(((exports) => {
3493
- Object.defineProperty(exports, "__esModule", { value: true });
3494
- }));
3495
- //#endregion
3496
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/types/path-value.type.js
3497
- var require_path_value_type = /* @__PURE__ */ __commonJSMin(((exports) => {
3498
- Object.defineProperty(exports, "__esModule", { value: true });
3499
- }));
3500
- //#endregion
3501
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/types/index.js
3502
- var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
3503
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
3504
- if (k2 === void 0) k2 = k;
3505
- var desc = Object.getOwnPropertyDescriptor(m, k);
3506
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
3507
- enumerable: true,
3508
- get: function() {
3509
- return m[k];
3510
- }
3511
- };
3512
- Object.defineProperty(o, k2, desc);
3513
- }) : (function(o, m, k, k2) {
3514
- if (k2 === void 0) k2 = k;
3515
- o[k2] = m[k];
3516
- }));
3517
- var __exportStar = exports && exports.__exportStar || function(m, exports$4) {
3518
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$4, p)) __createBinding(exports$4, m, p);
3519
- };
3520
- Object.defineProperty(exports, "__esModule", { value: true });
3521
- __exportStar(require_config_object_type(), exports);
3522
- __exportStar(require_config_type(), exports);
3523
- __exportStar(require_no_infer_type(), exports);
3524
- __exportStar(require_path_value_type(), exports);
3525
- }));
3526
- //#endregion
3527
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/utils/register-as.util.js
3528
- var require_register_as_util = /* @__PURE__ */ __commonJSMin(((exports) => {
3529
- Object.defineProperty(exports, "__esModule", { value: true });
3530
- exports.registerAs = registerAs;
3531
- const __1 = require_dist();
3532
- const config_constants_1 = require_config_constants();
3533
- const get_config_token_util_1 = require_get_config_token_util();
3534
- /**
3535
- * @publicApi
3536
- *
3537
- * Registers the configuration object behind a specified token.
3538
- */
3539
- function registerAs(token, configFactory) {
3540
- const defineProperty = (key, value) => {
3541
- Object.defineProperty(configFactory, key, {
3542
- configurable: false,
3543
- enumerable: false,
3544
- value,
3545
- writable: false
3546
- });
3547
- };
3548
- defineProperty(config_constants_1.PARTIAL_CONFIGURATION_KEY, token);
3549
- defineProperty(config_constants_1.PARTIAL_CONFIGURATION_PROPNAME, (0, get_config_token_util_1.getConfigToken)(token));
3550
- defineProperty(config_constants_1.AS_PROVIDER_METHOD_KEY, () => ({
3551
- imports: [__1.ConfigModule.forFeature(configFactory)],
3552
- useFactory: (config) => config,
3553
- inject: [(0, get_config_token_util_1.getConfigToken)(token)]
3554
- }));
3555
- return configFactory;
3556
- }
3557
- }));
3558
- //#endregion
3559
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/utils/index.js
3560
- var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
3561
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
3562
- if (k2 === void 0) k2 = k;
3563
- var desc = Object.getOwnPropertyDescriptor(m, k);
3564
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
3565
- enumerable: true,
3566
- get: function() {
3567
- return m[k];
3568
- }
3569
- };
3570
- Object.defineProperty(o, k2, desc);
3571
- }) : (function(o, m, k, k2) {
3572
- if (k2 === void 0) k2 = k;
3573
- o[k2] = m[k];
3574
- }));
3575
- var __exportStar = exports && exports.__exportStar || function(m, exports$3) {
3576
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$3, p)) __createBinding(exports$3, m, p);
3577
- };
3578
- Object.defineProperty(exports, "__esModule", { value: true });
3579
- __exportStar(require_register_as_util(), exports);
3580
- __exportStar(require_get_config_token_util(), exports);
3581
- }));
3582
- //#endregion
3583
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/interfaces/config-change-event.interface.js
3584
- var require_config_change_event_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
3585
- Object.defineProperty(exports, "__esModule", { value: true });
3586
- }));
3587
- //#endregion
3588
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/interfaces/config-factory.interface.js
3589
- var require_config_factory_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
3590
- Object.defineProperty(exports, "__esModule", { value: true });
3591
- }));
3592
- //#endregion
3593
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/interfaces/config-module-options.interface.js
3594
- var require_config_module_options_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
3595
- Object.defineProperty(exports, "__esModule", { value: true });
3596
- }));
3597
- //#endregion
3598
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/interfaces/index.js
3599
- var require_interfaces = /* @__PURE__ */ __commonJSMin(((exports) => {
3600
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
3601
- if (k2 === void 0) k2 = k;
3602
- var desc = Object.getOwnPropertyDescriptor(m, k);
3603
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
3604
- enumerable: true,
3605
- get: function() {
3606
- return m[k];
3607
- }
3608
- };
3609
- Object.defineProperty(o, k2, desc);
3610
- }) : (function(o, m, k, k2) {
3611
- if (k2 === void 0) k2 = k;
3612
- o[k2] = m[k];
3613
- }));
3614
- var __exportStar = exports && exports.__exportStar || function(m, exports$2) {
3615
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$2, p)) __createBinding(exports$2, m, p);
3616
- };
3617
- Object.defineProperty(exports, "__esModule", { value: true });
3618
- __exportStar(require_config_change_event_interface(), exports);
3619
- __exportStar(require_config_factory_interface(), exports);
3620
- __exportStar(require_config_module_options_interface(), exports);
3621
- }));
3622
- //#endregion
3623
- //#region node_modules/.pnpm/@nestjs+config@4.0.4_@nestjs+common@11.1.27_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@8.1.1__rxjs@7.8.2/node_modules/@nestjs/config/dist/index.js
3624
- var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
3625
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
3626
- if (k2 === void 0) k2 = k;
3627
- var desc = Object.getOwnPropertyDescriptor(m, k);
3628
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
3629
- enumerable: true,
3630
- get: function() {
3631
- return m[k];
3632
- }
3633
- };
3634
- Object.defineProperty(o, k2, desc);
3635
- }) : (function(o, m, k, k2) {
3636
- if (k2 === void 0) k2 = k;
3637
- o[k2] = m[k];
3638
- }));
3639
- var __exportStar = exports && exports.__exportStar || function(m, exports$1) {
3640
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);
3641
- };
3642
- Object.defineProperty(exports, "__esModule", { value: true });
3643
- __exportStar(require_conditional_module(), exports);
3644
- __exportStar(require_config_module(), exports);
3645
- __exportStar(require_config_service(), exports);
3646
- __exportStar(require_types(), exports);
3647
- __exportStar(require_utils(), exports);
3648
- __exportStar(require_interfaces(), exports);
3649
- }));
3650
- //#endregion
3651
1090
  //#region src/puppeteer/puppeteer.module.ts
3652
- var import_config = (/* @__PURE__ */ __commonJSMin(((exports) => {
3653
- function __export(m) {
3654
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
3655
- }
3656
- exports.__esModule = true;
3657
- __export(require_dist());
3658
- })))();
3659
1091
  var _PuppeteerModule;
3660
1092
  let PuppeteerModule = _PuppeteerModule = class PuppeteerModule {
3661
1093
  browserService;
@@ -3687,7 +1119,6 @@ let PuppeteerModule = _PuppeteerModule = class PuppeteerModule {
3687
1119
  ];
3688
1120
  return {
3689
1121
  module: _PuppeteerModule,
3690
- imports: [import_config.ConfigModule.forRoot()],
3691
1122
  providers,
3692
1123
  exports: [
3693
1124
  PuppeteerService,
@@ -3713,7 +1144,7 @@ let PuppeteerModule = _PuppeteerModule = class PuppeteerModule {
3713
1144
  };
3714
1145
  return {
3715
1146
  module: _PuppeteerModule,
3716
- imports: [...options.imports ?? [], import_config.ConfigModule.forRoot()],
1147
+ imports: options.imports ?? [],
3717
1148
  providers: [
3718
1149
  pdfParamsProvider,
3719
1150
  hbsParamsProvider,