hunter-mate 0.1.25 → 0.1.26

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.
Files changed (80) hide show
  1. package/dist/assets/extension/background/{service-worker.20261017183328.js → service-worker.20261019161523.js} +56 -4
  2. package/dist/assets/extension/background/service-worker.js +56 -4
  3. package/dist/assets/extension/build-info.json +1 -1
  4. package/dist/assets/extension/manifest.json +3 -3
  5. package/dist/assets/server/main.mjs +885 -782
  6. package/dist/index.js +20 -5
  7. package/dist/watchdog.js +14 -3
  8. package/dist/web/dist/404.html +1 -1
  9. package/dist/web/dist/_next/static/chunks/187-f067914dcd1330c2.js +32 -0
  10. package/dist/web/dist/_next/static/chunks/253-9278ce6c4d446329.js +1 -0
  11. package/dist/web/dist/_next/static/chunks/{589-f984bff035a1cb85.js → 589-cc56950ae4117cdd.js} +1 -1
  12. package/dist/web/dist/_next/static/chunks/659-122057f46f941df7.js +1 -0
  13. package/dist/web/dist/_next/static/chunks/{686-9f419b70feea9470.js → 686-05b99d3674f45bf7.js} +1 -1
  14. package/dist/web/dist/_next/static/chunks/728-cffab7e836020551.js +12 -0
  15. package/dist/web/dist/_next/static/chunks/{865-0ed23dd43c0832a2.js → 865-8e1d8c34192526ed.js} +1 -1
  16. package/dist/web/dist/_next/static/chunks/{935-7be3e60dd8bc29d2.js → 935-efb30b9f6f558e3f.js} +1 -1
  17. package/dist/web/dist/_next/static/chunks/{a7067448-e416655baf443992.js → a7067448-3f2b194cfadb91fb.js} +1 -1
  18. package/dist/web/dist/_next/static/chunks/app/_not-found/{page-5b7249eb3c9a6cb9.js → page-d939b40bb8878d26.js} +1 -1
  19. package/dist/web/dist/_next/static/chunks/app/admin/data/{page-14698e9c4ddaa6d9.js → page-df1d84c14e85f294.js} +1 -1
  20. package/dist/web/dist/_next/static/chunks/app/auth/verify/{page-05304d5803008d61.js → page-cfeb844e1b72ccaa.js} +1 -1
  21. package/dist/web/dist/_next/static/chunks/app/companies/{page-e8d02fe997579315.js → page-57b1ef0b12134ce0.js} +1 -1
  22. package/dist/web/dist/_next/static/chunks/app/company/admin/{page-c2584183bc4b34d1.js → page-010928306f8df0ed.js} +1 -1
  23. package/dist/web/dist/_next/static/chunks/app/entity/{page-08755f96102f0565.js → page-fa96319650d38e78.js} +1 -1
  24. package/dist/web/dist/_next/static/chunks/app/jobs/page-5ba0bdc881b98d42.js +1 -0
  25. package/dist/web/dist/_next/static/chunks/app/{layout-af39afc7866e74db.js → layout-bd9a7e5e4474b692.js} +1 -1
  26. package/dist/web/dist/_next/static/chunks/app/logs/{page-be50a4e10b1a0024.js → page-bcdbb3885abda5a2.js} +1 -1
  27. package/dist/web/dist/_next/static/chunks/app/matching/jobs/[id]/talents/{page-cf445b0cb8c2cb0a.js → page-8aca89db1e666a49.js} +1 -1
  28. package/dist/web/dist/_next/static/chunks/app/matching/portraits/[id]/jobs/{page-c7ff0d79b6a75915.js → page-7086f1b773e57511.js} +1 -1
  29. package/dist/web/dist/_next/static/chunks/app/{page-bd282e1e5f0965f1.js → page-49fe1e8630d2237e.js} +1 -1
  30. package/dist/web/dist/_next/static/chunks/app/parselog/{page-9814e75d6900a743.js → page-fcdfdd41cf1f86f7.js} +1 -1
  31. package/dist/web/dist/_next/static/chunks/app/recordings/{page-441016638b43c4f8.js → page-7ba5d89391c9dace.js} +1 -1
  32. package/dist/web/dist/_next/static/chunks/app/resource-usage/{page-f6fa06bfe21bcd32.js → page-7b939cf673d764e6.js} +1 -1
  33. package/dist/web/dist/_next/static/chunks/app/shared/[token]/{page-c9c5042a2d07c0bc.js → page-df87328c52f862f1.js} +1 -1
  34. package/dist/web/dist/_next/static/chunks/app/snapshots/[id]/agent-prompt/{page-f54cf2f0058035ca.js → page-7d4d25de2c6704e9.js} +1 -1
  35. package/dist/web/dist/_next/static/chunks/app/talents/{page-0edef6d07b3cf69d.js → page-5a2caa7a503ee041.js} +1 -1
  36. package/dist/web/dist/_next/static/chunks/app/team/insights/{page-8b3934df3e292368.js → page-f097b4b8578a6e5d.js} +1 -1
  37. package/dist/web/dist/_next/static/css/a8f0a381a2372781.css +3 -0
  38. package/dist/web/dist/admin/data.html +1 -1
  39. package/dist/web/dist/admin/data.txt +5 -5
  40. package/dist/web/dist/auth/verify.html +1 -1
  41. package/dist/web/dist/auth/verify.txt +5 -5
  42. package/dist/web/dist/companies.html +1 -1
  43. package/dist/web/dist/companies.txt +5 -5
  44. package/dist/web/dist/company/admin.html +1 -1
  45. package/dist/web/dist/company/admin.txt +5 -5
  46. package/dist/web/dist/entity.html +1 -1
  47. package/dist/web/dist/entity.txt +5 -5
  48. package/dist/web/dist/index.html +1 -1
  49. package/dist/web/dist/index.txt +5 -5
  50. package/dist/web/dist/jobs.html +1 -1
  51. package/dist/web/dist/jobs.txt +5 -5
  52. package/dist/web/dist/logs.html +1 -1
  53. package/dist/web/dist/logs.txt +5 -5
  54. package/dist/web/dist/matching/jobs/placeholder/talents.html +1 -1
  55. package/dist/web/dist/matching/jobs/placeholder/talents.txt +5 -5
  56. package/dist/web/dist/matching/portraits/placeholder/jobs.html +1 -1
  57. package/dist/web/dist/matching/portraits/placeholder/jobs.txt +5 -5
  58. package/dist/web/dist/parselog.html +1 -1
  59. package/dist/web/dist/parselog.txt +5 -5
  60. package/dist/web/dist/recordings.html +1 -1
  61. package/dist/web/dist/recordings.txt +5 -5
  62. package/dist/web/dist/resource-usage.html +1 -1
  63. package/dist/web/dist/resource-usage.txt +5 -5
  64. package/dist/web/dist/shared/placeholder.html +1 -1
  65. package/dist/web/dist/shared/placeholder.txt +5 -5
  66. package/dist/web/dist/snapshots/placeholder/agent-prompt.html +1 -1
  67. package/dist/web/dist/snapshots/placeholder/agent-prompt.txt +5 -5
  68. package/dist/web/dist/talents.html +1 -1
  69. package/dist/web/dist/talents.txt +5 -5
  70. package/dist/web/dist/team/insights.html +1 -1
  71. package/dist/web/dist/team/insights.txt +5 -5
  72. package/package.json +1 -1
  73. package/dist/web/dist/_next/static/chunks/105-dcd8f6d5867c8995.js +0 -32
  74. package/dist/web/dist/_next/static/chunks/253-a05d05b94bfbd7a4.js +0 -1
  75. package/dist/web/dist/_next/static/chunks/555-e2a871b9d2eccb03.js +0 -12
  76. package/dist/web/dist/_next/static/chunks/852-ad19b97821a4cf9e.js +0 -1
  77. package/dist/web/dist/_next/static/chunks/app/jobs/page-4827a9ef286b6483.js +0 -1
  78. package/dist/web/dist/_next/static/css/10ba1fa1d6ce23a7.css +0 -3
  79. /package/dist/web/dist/_next/static/{5MA8faUttk6FzlxGWnOlM → m0UGHVTGvtvb9mn4-uzJJ}/_buildManifest.js +0 -0
  80. /package/dist/web/dist/_next/static/{5MA8faUttk6FzlxGWnOlM → m0UGHVTGvtvb9mn4-uzJJ}/_ssgManifest.js +0 -0
@@ -37,7 +37,7 @@ import {
37
37
  var require_main = __commonJS({
38
38
  "../../node_modules/.pnpm/dotenv@17.4.2/node_modules/dotenv/lib/main.js"(exports2, module2) {
39
39
  var fs14 = __require("fs");
40
- var path13 = __require("path");
40
+ var path14 = __require("path");
41
41
  var os7 = __require("os");
42
42
  var crypto7 = __require("crypto");
43
43
  var TIPS = [
@@ -176,7 +176,7 @@ var require_main = __commonJS({
176
176
  possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
177
177
  }
178
178
  } else {
179
- possibleVaultPath = path13.resolve(process.cwd(), ".env.vault");
179
+ possibleVaultPath = path14.resolve(process.cwd(), ".env.vault");
180
180
  }
181
181
  if (fs14.existsSync(possibleVaultPath)) {
182
182
  return possibleVaultPath;
@@ -184,7 +184,7 @@ var require_main = __commonJS({
184
184
  return null;
185
185
  }
186
186
  function _resolveHome(envPath) {
187
- return envPath[0] === "~" ? path13.join(os7.homedir(), envPath.slice(1)) : envPath;
187
+ return envPath[0] === "~" ? path14.join(os7.homedir(), envPath.slice(1)) : envPath;
188
188
  }
189
189
  function _configVault(options) {
190
190
  const debug3 = parseBoolean(process.env.DOTENV_CONFIG_DEBUG || options && options.debug);
@@ -201,7 +201,7 @@ var require_main = __commonJS({
201
201
  return { parsed };
202
202
  }
203
203
  function configDotenv(options) {
204
- const dotenvPath = path13.resolve(process.cwd(), ".env");
204
+ const dotenvPath = path14.resolve(process.cwd(), ".env");
205
205
  let encoding = "utf8";
206
206
  let processEnv = process.env;
207
207
  if (options && options.processEnv != null) {
@@ -229,13 +229,13 @@ var require_main = __commonJS({
229
229
  }
230
230
  let lastError;
231
231
  const parsedAll = {};
232
- for (const path14 of optionPaths) {
232
+ for (const path15 of optionPaths) {
233
233
  try {
234
- const parsed = DotenvModule.parse(fs14.readFileSync(path14, { encoding }));
234
+ const parsed = DotenvModule.parse(fs14.readFileSync(path15, { encoding }));
235
235
  DotenvModule.populate(parsedAll, parsed, options);
236
236
  } catch (e) {
237
237
  if (debug3) {
238
- _debug(`failed to load ${path14} ${e.message}`);
238
+ _debug(`failed to load ${path15} ${e.message}`);
239
239
  }
240
240
  lastError = e;
241
241
  }
@@ -248,7 +248,7 @@ var require_main = __commonJS({
248
248
  const shortPaths = [];
249
249
  for (const filePath of optionPaths) {
250
250
  try {
251
- const relative2 = path13.relative(process.cwd(), filePath);
251
+ const relative2 = path14.relative(process.cwd(), filePath);
252
252
  shortPaths.push(relative2);
253
253
  } catch (e) {
254
254
  if (debug3) {
@@ -827,13 +827,13 @@ function __disposeResources(env) {
827
827
  }
828
828
  return next();
829
829
  }
830
- function __rewriteRelativeImportExtension(path13, preserveJsx) {
831
- if (typeof path13 === "string" && /^\.\.?\//.test(path13)) {
832
- return path13.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) {
830
+ function __rewriteRelativeImportExtension(path14, preserveJsx) {
831
+ if (typeof path14 === "string" && /^\.\.?\//.test(path14)) {
832
+ return path14.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) {
833
833
  return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : d + ext + "." + cm.toLowerCase() + "js";
834
834
  });
835
835
  }
836
- return path13;
836
+ return path14;
837
837
  }
838
838
  var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default;
839
839
  var init_tslib_es6 = __esm({
@@ -2323,11 +2323,11 @@ var require_shared_utils = __commonJS({
2323
2323
  return typeof ctor === "function" && ctor instanceof ctor && Function.prototype.toString.call(ctor) === Function.prototype.toString.call(Object);
2324
2324
  };
2325
2325
  exports2.isPlainObject = isPlainObject3;
2326
- var addLeadingSlash = (path13) => path13 && typeof path13 === "string" ? path13.charAt(0) !== "/" ? "/" + path13 : path13 : "";
2326
+ var addLeadingSlash = (path14) => path14 && typeof path14 === "string" ? path14.charAt(0) !== "/" ? "/" + path14 : path14 : "";
2327
2327
  exports2.addLeadingSlash = addLeadingSlash;
2328
- var normalizePath2 = (path13) => path13 ? path13.startsWith("/") ? ("/" + path13.replace(/\/+$/, "")).replace(/\/+/g, "/") : "/" + path13.replace(/\/+$/, "") : "/";
2328
+ var normalizePath2 = (path14) => path14 ? path14.startsWith("/") ? ("/" + path14.replace(/\/+$/, "")).replace(/\/+/g, "/") : "/" + path14.replace(/\/+$/, "") : "/";
2329
2329
  exports2.normalizePath = normalizePath2;
2330
- var stripEndSlash = (path13) => path13[path13.length - 1] === "/" ? path13.slice(0, path13.length - 1) : path13;
2330
+ var stripEndSlash = (path14) => path14[path14.length - 1] === "/" ? path14.slice(0, path14.length - 1) : path14;
2331
2331
  exports2.stripEndSlash = stripEndSlash;
2332
2332
  var isFunction3 = (val) => typeof val === "function";
2333
2333
  exports2.isFunction = isFunction3;
@@ -2356,7 +2356,7 @@ var require_controller_decorator = __commonJS({
2356
2356
  var shared_utils_1 = require_shared_utils();
2357
2357
  function Controller43(prefixOrOptions) {
2358
2358
  const defaultPath = "/";
2359
- const [path13, host, scopeOptions, versionOptions] = (0, shared_utils_1.isUndefined)(prefixOrOptions) ? [defaultPath, void 0, void 0, void 0] : (0, shared_utils_1.isString)(prefixOrOptions) || Array.isArray(prefixOrOptions) ? [prefixOrOptions, void 0, void 0, void 0] : [
2359
+ const [path14, host, scopeOptions, versionOptions] = (0, shared_utils_1.isUndefined)(prefixOrOptions) ? [defaultPath, void 0, void 0, void 0] : (0, shared_utils_1.isString)(prefixOrOptions) || Array.isArray(prefixOrOptions) ? [prefixOrOptions, void 0, void 0, void 0] : [
2360
2360
  prefixOrOptions.path || defaultPath,
2361
2361
  prefixOrOptions.host,
2362
2362
  { scope: prefixOrOptions.scope, durable: prefixOrOptions.durable },
@@ -2364,7 +2364,7 @@ var require_controller_decorator = __commonJS({
2364
2364
  ];
2365
2365
  return (target) => {
2366
2366
  Reflect.defineMetadata(constants_1.CONTROLLER_WATERMARK, true, target);
2367
- Reflect.defineMetadata(constants_1.PATH_METADATA, path13, target);
2367
+ Reflect.defineMetadata(constants_1.PATH_METADATA, path14, target);
2368
2368
  Reflect.defineMetadata(constants_1.HOST_METADATA, host, target);
2369
2369
  Reflect.defineMetadata(constants_1.SCOPE_OPTIONS_METADATA, scopeOptions, target);
2370
2370
  Reflect.defineMetadata(constants_1.VERSION_METADATA, versionOptions, target);
@@ -2836,18 +2836,18 @@ var require_request_mapping_decorator = __commonJS({
2836
2836
  };
2837
2837
  var RequestMapping = (metadata = defaultMetadata) => {
2838
2838
  const pathMetadata = metadata[constants_1.PATH_METADATA];
2839
- const path13 = pathMetadata && pathMetadata.length ? pathMetadata : "/";
2839
+ const path14 = pathMetadata && pathMetadata.length ? pathMetadata : "/";
2840
2840
  const requestMethod = metadata[constants_1.METHOD_METADATA] || request_method_enum_1.RequestMethod.GET;
2841
2841
  return (target, key, descriptor) => {
2842
- Reflect.defineMetadata(constants_1.PATH_METADATA, path13, descriptor.value);
2842
+ Reflect.defineMetadata(constants_1.PATH_METADATA, path14, descriptor.value);
2843
2843
  Reflect.defineMetadata(constants_1.METHOD_METADATA, requestMethod, descriptor.value);
2844
2844
  return descriptor;
2845
2845
  };
2846
2846
  };
2847
2847
  exports2.RequestMapping = RequestMapping;
2848
- var createMappingDecorator = (method) => (path13) => {
2848
+ var createMappingDecorator = (method) => (path14) => {
2849
2849
  return (0, exports2.RequestMapping)({
2850
- [constants_1.PATH_METADATA]: path13,
2850
+ [constants_1.PATH_METADATA]: path14,
2851
2851
  [constants_1.METHOD_METADATA]: method
2852
2852
  });
2853
2853
  };
@@ -3085,10 +3085,10 @@ var require_sse_decorator = __commonJS({
3085
3085
  exports2.Sse = Sse;
3086
3086
  var constants_1 = require_constants2();
3087
3087
  var request_method_enum_1 = require_request_method_enum();
3088
- function Sse(path13) {
3088
+ function Sse(path14) {
3089
3089
  return (target, key, descriptor) => {
3090
- path13 = path13 && path13.length ? path13 : "/";
3091
- Reflect.defineMetadata(constants_1.PATH_METADATA, path13, descriptor.value);
3090
+ path14 = path14 && path14.length ? path14 : "/";
3091
+ Reflect.defineMetadata(constants_1.PATH_METADATA, path14, descriptor.value);
3092
3092
  Reflect.defineMetadata(constants_1.METHOD_METADATA, request_method_enum_1.RequestMethod.GET, descriptor.value);
3093
3093
  Reflect.defineMetadata(constants_1.SSE_METADATA, true, descriptor.value);
3094
3094
  return descriptor;
@@ -40768,7 +40768,7 @@ var require_path_to_regexp = __commonJS({
40768
40768
  var tokens = [];
40769
40769
  var key = 0;
40770
40770
  var index = 0;
40771
- var path13 = "";
40771
+ var path14 = "";
40772
40772
  var defaultDelimiter = options && options.delimiter || DEFAULT_DELIMITER;
40773
40773
  var whitelist = options && options.whitelist || void 0;
40774
40774
  var pathEscaped = false;
@@ -40777,10 +40777,10 @@ var require_path_to_regexp = __commonJS({
40777
40777
  var m = res[0];
40778
40778
  var escaped = res[1];
40779
40779
  var offset = res.index;
40780
- path13 += str.slice(index, offset);
40780
+ path14 += str.slice(index, offset);
40781
40781
  index = offset + m.length;
40782
40782
  if (escaped) {
40783
- path13 += escaped[1];
40783
+ path14 += escaped[1];
40784
40784
  pathEscaped = true;
40785
40785
  continue;
40786
40786
  }
@@ -40789,18 +40789,18 @@ var require_path_to_regexp = __commonJS({
40789
40789
  var capture = res[3];
40790
40790
  var group = res[4];
40791
40791
  var modifier = res[5];
40792
- if (!pathEscaped && path13.length) {
40793
- var k2 = path13.length - 1;
40794
- var c = path13[k2];
40792
+ if (!pathEscaped && path14.length) {
40793
+ var k2 = path14.length - 1;
40794
+ var c = path14[k2];
40795
40795
  var matches = whitelist ? whitelist.indexOf(c) > -1 : true;
40796
40796
  if (matches) {
40797
40797
  prev = c;
40798
- path13 = path13.slice(0, k2);
40798
+ path14 = path14.slice(0, k2);
40799
40799
  }
40800
40800
  }
40801
- if (path13) {
40802
- tokens.push(path13);
40803
- path13 = "";
40801
+ if (path14) {
40802
+ tokens.push(path14);
40803
+ path14 = "";
40804
40804
  pathEscaped = false;
40805
40805
  }
40806
40806
  var repeat = modifier === "+" || modifier === "*";
@@ -40817,8 +40817,8 @@ var require_path_to_regexp = __commonJS({
40817
40817
  pattern: pattern ? escapeGroup(pattern) : restrictBacktrack(delimiter2, defaultDelimiter, prevText)
40818
40818
  });
40819
40819
  }
40820
- if (path13 || index < str.length) {
40821
- tokens.push(path13 + str.substr(index));
40820
+ if (path14 || index < str.length) {
40821
+ tokens.push(path14 + str.substr(index));
40822
40822
  }
40823
40823
  return tokens;
40824
40824
  }
@@ -40841,7 +40841,7 @@ var require_path_to_regexp = __commonJS({
40841
40841
  return function(pathname, options) {
40842
40842
  var m = re.exec(pathname);
40843
40843
  if (!m) return false;
40844
- var path13 = m[0];
40844
+ var path14 = m[0];
40845
40845
  var index = m.index;
40846
40846
  var params = {};
40847
40847
  var decode4 = options && options.decode || decodeURIComponent;
@@ -40856,7 +40856,7 @@ var require_path_to_regexp = __commonJS({
40856
40856
  params[key.name] = decode4(m[i], key);
40857
40857
  }
40858
40858
  }
40859
- return { path: path13, index, params };
40859
+ return { path: path14, index, params };
40860
40860
  };
40861
40861
  }
40862
40862
  function tokensToFunction(tokens, options) {
@@ -40867,13 +40867,13 @@ var require_path_to_regexp = __commonJS({
40867
40867
  }
40868
40868
  }
40869
40869
  return function(data, options2) {
40870
- var path13 = "";
40870
+ var path14 = "";
40871
40871
  var encode3 = options2 && options2.encode || encodeURIComponent;
40872
40872
  var validate2 = options2 ? options2.validate !== false : true;
40873
40873
  for (var i2 = 0; i2 < tokens.length; i2++) {
40874
40874
  var token = tokens[i2];
40875
40875
  if (typeof token === "string") {
40876
- path13 += token;
40876
+ path14 += token;
40877
40877
  continue;
40878
40878
  }
40879
40879
  var value = data ? data[token.name] : void 0;
@@ -40891,7 +40891,7 @@ var require_path_to_regexp = __commonJS({
40891
40891
  if (validate2 && !matches[i2].test(segment)) {
40892
40892
  throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '"');
40893
40893
  }
40894
- path13 += (j === 0 ? token.prefix : token.delimiter) + segment;
40894
+ path14 += (j === 0 ? token.prefix : token.delimiter) + segment;
40895
40895
  }
40896
40896
  continue;
40897
40897
  }
@@ -40900,13 +40900,13 @@ var require_path_to_regexp = __commonJS({
40900
40900
  if (validate2 && !matches[i2].test(segment)) {
40901
40901
  throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but got "' + segment + '"');
40902
40902
  }
40903
- path13 += token.prefix + segment;
40903
+ path14 += token.prefix + segment;
40904
40904
  continue;
40905
40905
  }
40906
40906
  if (token.optional) continue;
40907
40907
  throw new TypeError('Expected "' + token.name + '" to be ' + (token.repeat ? "an array" : "a string"));
40908
40908
  }
40909
- return path13;
40909
+ return path14;
40910
40910
  };
40911
40911
  }
40912
40912
  function escapeString(str) {
@@ -40918,9 +40918,9 @@ var require_path_to_regexp = __commonJS({
40918
40918
  function flags(options) {
40919
40919
  return options && options.sensitive ? "" : "i";
40920
40920
  }
40921
- function regexpToRegexp(path13, keys) {
40922
- if (!keys) return path13;
40923
- var groups = path13.source.match(/\((?!\?)/g);
40921
+ function regexpToRegexp(path14, keys) {
40922
+ if (!keys) return path14;
40923
+ var groups = path14.source.match(/\((?!\?)/g);
40924
40924
  if (groups) {
40925
40925
  for (var i = 0; i < groups.length; i++) {
40926
40926
  keys.push({
@@ -40933,17 +40933,17 @@ var require_path_to_regexp = __commonJS({
40933
40933
  });
40934
40934
  }
40935
40935
  }
40936
- return path13;
40936
+ return path14;
40937
40937
  }
40938
- function arrayToRegexp(path13, keys, options) {
40938
+ function arrayToRegexp(path14, keys, options) {
40939
40939
  var parts = [];
40940
- for (var i = 0; i < path13.length; i++) {
40941
- parts.push(pathToRegexp(path13[i], keys, options).source);
40940
+ for (var i = 0; i < path14.length; i++) {
40941
+ parts.push(pathToRegexp(path14[i], keys, options).source);
40942
40942
  }
40943
40943
  return new RegExp("(?:" + parts.join("|") + ")", flags(options));
40944
40944
  }
40945
- function stringToRegexp(path13, keys, options) {
40946
- return tokensToRegExp(parse2(path13, options), keys, options);
40945
+ function stringToRegexp(path14, keys, options) {
40946
+ return tokensToRegExp(parse2(path14, options), keys, options);
40947
40947
  }
40948
40948
  function tokensToRegExp(tokens, keys, options) {
40949
40949
  options = options || {};
@@ -40982,21 +40982,21 @@ var require_path_to_regexp = __commonJS({
40982
40982
  }
40983
40983
  return new RegExp(route, flags(options));
40984
40984
  }
40985
- function pathToRegexp(path13, keys, options) {
40986
- if (path13 instanceof RegExp) {
40987
- return regexpToRegexp(path13, keys);
40985
+ function pathToRegexp(path14, keys, options) {
40986
+ if (path14 instanceof RegExp) {
40987
+ return regexpToRegexp(path14, keys);
40988
40988
  }
40989
- if (Array.isArray(path13)) {
40989
+ if (Array.isArray(path14)) {
40990
40990
  return arrayToRegexp(
40991
40991
  /** @type {!Array} */
40992
- path13,
40992
+ path14,
40993
40993
  keys,
40994
40994
  options
40995
40995
  );
40996
40996
  }
40997
40997
  return stringToRegexp(
40998
40998
  /** @type {string} */
40999
- path13,
40999
+ path14,
41000
41000
  keys,
41001
41001
  options
41002
41002
  );
@@ -41017,10 +41017,10 @@ var require_exclude_route_util = __commonJS({
41017
41017
  return common_1.RequestMethod.ALL === method || method === -1;
41018
41018
  };
41019
41019
  exports2.isRequestMethodAll = isRequestMethodAll;
41020
- function isRouteExcluded(excludedRoutes, path13, requestMethod) {
41020
+ function isRouteExcluded(excludedRoutes, path14, requestMethod) {
41021
41021
  return excludedRoutes.some((route) => {
41022
41022
  if ((0, exports2.isRequestMethodAll)(route.requestMethod) || route.requestMethod === requestMethod) {
41023
- return route.pathRegex.exec((0, shared_utils_1.addLeadingSlash)(path13));
41023
+ return route.pathRegex.exec((0, shared_utils_1.addLeadingSlash)(path14));
41024
41024
  }
41025
41025
  return false;
41026
41026
  });
@@ -41512,13 +41512,13 @@ var require_route_path_factory = __commonJS({
41512
41512
  if (versionOrVersions && metadata.versioningOptions?.type === common_1.VersioningType.URI) {
41513
41513
  const versionPrefix = this.getVersionPrefix(metadata.versioningOptions);
41514
41514
  if (Array.isArray(versionOrVersions)) {
41515
- paths = (0, common_1.flatten)(paths.map((path13) => versionOrVersions.map((version2) => (
41515
+ paths = (0, common_1.flatten)(paths.map((path14) => versionOrVersions.map((version2) => (
41516
41516
  // Version Neutral - Do not include version in URL
41517
- version2 === common_1.VERSION_NEUTRAL ? path13 : `${path13}/${versionPrefix}${version2}`
41517
+ version2 === common_1.VERSION_NEUTRAL ? path14 : `${path14}/${versionPrefix}${version2}`
41518
41518
  ))));
41519
41519
  } else {
41520
41520
  if (versionOrVersions !== common_1.VERSION_NEUTRAL) {
41521
- paths = paths.map((path13) => `${path13}/${versionPrefix}${versionOrVersions}`);
41521
+ paths = paths.map((path14) => `${path14}/${versionPrefix}${versionOrVersions}`);
41522
41522
  }
41523
41523
  }
41524
41524
  }
@@ -41526,14 +41526,14 @@ var require_route_path_factory = __commonJS({
41526
41526
  paths = this.appendToAllIfDefined(paths, metadata.ctrlPath);
41527
41527
  paths = this.appendToAllIfDefined(paths, metadata.methodPath);
41528
41528
  if (metadata.globalPrefix) {
41529
- paths = paths.map((path13) => {
41530
- if (this.isExcludedFromGlobalPrefix(path13, requestMethod, versionOrVersions, metadata.versioningOptions)) {
41531
- return path13;
41529
+ paths = paths.map((path14) => {
41530
+ if (this.isExcludedFromGlobalPrefix(path14, requestMethod, versionOrVersions, metadata.versioningOptions)) {
41531
+ return path14;
41532
41532
  }
41533
- return (0, shared_utils_1.stripEndSlash)(metadata.globalPrefix || "") + path13;
41533
+ return (0, shared_utils_1.stripEndSlash)(metadata.globalPrefix || "") + path14;
41534
41534
  });
41535
41535
  }
41536
- return paths.map((path13) => (0, shared_utils_1.addLeadingSlash)(path13 || "/")).map((path13) => path13 !== "/" ? (0, shared_utils_1.stripEndSlash)(path13) : path13);
41536
+ return paths.map((path14) => (0, shared_utils_1.addLeadingSlash)(path14 || "/")).map((path14) => path14 !== "/" ? (0, shared_utils_1.stripEndSlash)(path14) : path14);
41537
41537
  }
41538
41538
  getVersion(metadata) {
41539
41539
  return metadata.methodVersion || metadata.controllerVersion;
@@ -41555,33 +41555,33 @@ var require_route_path_factory = __commonJS({
41555
41555
  }
41556
41556
  const concatPaths = (a, b2) => (0, shared_utils_1.stripEndSlash)(a) + (0, shared_utils_1.addLeadingSlash)(b2);
41557
41557
  if (Array.isArray(fragmentToAppend)) {
41558
- const paths2dArray = paths.map((path13) => fragmentToAppend.map((fragment) => concatPaths(path13, fragment)));
41558
+ const paths2dArray = paths.map((path14) => fragmentToAppend.map((fragment) => concatPaths(path14, fragment)));
41559
41559
  return (0, common_1.flatten)(paths2dArray);
41560
41560
  }
41561
- return paths.map((path13) => concatPaths(path13, fragmentToAppend));
41561
+ return paths.map((path14) => concatPaths(path14, fragmentToAppend));
41562
41562
  }
41563
- isExcludedFromGlobalPrefix(path13, requestMethod, versionOrVersions, versioningOptions) {
41563
+ isExcludedFromGlobalPrefix(path14, requestMethod, versionOrVersions, versioningOptions) {
41564
41564
  if ((0, shared_utils_1.isUndefined)(requestMethod)) {
41565
41565
  return false;
41566
41566
  }
41567
41567
  const options = this.applicationConfig.getGlobalPrefixOptions();
41568
41568
  const excludedRoutes = options.exclude;
41569
41569
  if (versionOrVersions && versionOrVersions !== common_1.VERSION_NEUTRAL && versioningOptions?.type === common_1.VersioningType.URI) {
41570
- path13 = this.truncateVersionPrefixFromPath(path13, versionOrVersions, versioningOptions);
41570
+ path14 = this.truncateVersionPrefixFromPath(path14, versionOrVersions, versioningOptions);
41571
41571
  }
41572
- return Array.isArray(excludedRoutes) && (0, utils_1.isRouteExcluded)(excludedRoutes, path13, requestMethod);
41572
+ return Array.isArray(excludedRoutes) && (0, utils_1.isRouteExcluded)(excludedRoutes, path14, requestMethod);
41573
41573
  }
41574
- truncateVersionPrefixFromPath(path13, versionValue, versioningOptions) {
41574
+ truncateVersionPrefixFromPath(path14, versionValue, versioningOptions) {
41575
41575
  if (typeof versionValue !== "string") {
41576
41576
  versionValue.forEach((version2) => {
41577
41577
  if (typeof version2 === "string") {
41578
- path13 = this.truncateVersionPrefixFromPath(path13, version2, versioningOptions);
41578
+ path14 = this.truncateVersionPrefixFromPath(path14, version2, versioningOptions);
41579
41579
  }
41580
41580
  });
41581
- return path13;
41581
+ return path14;
41582
41582
  }
41583
41583
  const prefix = `/${this.getVersionPrefix(versioningOptions)}${versionValue}`;
41584
- return path13.startsWith(prefix) ? path13.replace(prefix, "") : path13;
41584
+ return path14.startsWith(prefix) ? path14.replace(prefix, "") : path14;
41585
41585
  }
41586
41586
  };
41587
41587
  exports2.RoutePathFactory = RoutePathFactory;
@@ -41606,19 +41606,19 @@ var require_route_info_path_extractor = __commonJS({
41606
41606
  this.excludedGlobalPrefixRoutes = this.applicationConfig.getGlobalPrefixOptions().exclude;
41607
41607
  this.versioningConfig = this.applicationConfig.getVersioning();
41608
41608
  }
41609
- extractPathsFrom({ path: path13, method, version: version2 }) {
41609
+ extractPathsFrom({ path: path14, method, version: version2 }) {
41610
41610
  const versionPaths = this.extractVersionPathFrom(version2);
41611
- if (this.isAWildcard(path13)) {
41611
+ if (this.isAWildcard(path14)) {
41612
41612
  const entries = versionPaths.length > 0 ? versionPaths.map((versionPath) => [
41613
41613
  this.prefixPath + versionPath + "$",
41614
- this.prefixPath + versionPath + (0, shared_utils_1.addLeadingSlash)(path13)
41615
- ]).flat() : this.prefixPath ? [this.prefixPath + "$", this.prefixPath + (0, shared_utils_1.addLeadingSlash)(path13)] : [(0, shared_utils_1.addLeadingSlash)(path13)];
41614
+ this.prefixPath + versionPath + (0, shared_utils_1.addLeadingSlash)(path14)
41615
+ ]).flat() : this.prefixPath ? [this.prefixPath + "$", this.prefixPath + (0, shared_utils_1.addLeadingSlash)(path14)] : [(0, shared_utils_1.addLeadingSlash)(path14)];
41616
41616
  return Array.isArray(this.excludedGlobalPrefixRoutes) ? [
41617
41617
  ...entries,
41618
41618
  ...this.excludedGlobalPrefixRoutes.map((route) => versionPaths + (0, shared_utils_1.addLeadingSlash)(route.path))
41619
41619
  ] : entries;
41620
41620
  }
41621
- return this.extractNonWildcardPathsFrom({ path: path13, method, version: version2 });
41621
+ return this.extractNonWildcardPathsFrom({ path: path14, method, version: version2 });
41622
41622
  }
41623
41623
  extractPathFrom(route) {
41624
41624
  if (this.isAWildcard(route.path) && !route.version) {
@@ -41626,21 +41626,21 @@ var require_route_info_path_extractor = __commonJS({
41626
41626
  }
41627
41627
  return this.extractNonWildcardPathsFrom(route);
41628
41628
  }
41629
- isAWildcard(path13) {
41630
- return ["*", "/*", "/*/", "(.*)", "/(.*)"].includes(path13);
41629
+ isAWildcard(path14) {
41630
+ return ["*", "/*", "/*/", "(.*)", "/(.*)"].includes(path14);
41631
41631
  }
41632
- extractNonWildcardPathsFrom({ path: path13, method, version: version2 }) {
41632
+ extractNonWildcardPathsFrom({ path: path14, method, version: version2 }) {
41633
41633
  const versionPaths = this.extractVersionPathFrom(version2);
41634
- if (Array.isArray(this.excludedGlobalPrefixRoutes) && (0, utils_1.isRouteExcluded)(this.excludedGlobalPrefixRoutes, path13, method)) {
41634
+ if (Array.isArray(this.excludedGlobalPrefixRoutes) && (0, utils_1.isRouteExcluded)(this.excludedGlobalPrefixRoutes, path14, method)) {
41635
41635
  if (!versionPaths.length) {
41636
- return [(0, shared_utils_1.addLeadingSlash)(path13)];
41636
+ return [(0, shared_utils_1.addLeadingSlash)(path14)];
41637
41637
  }
41638
- return versionPaths.map((versionPath) => versionPath + (0, shared_utils_1.addLeadingSlash)(path13));
41638
+ return versionPaths.map((versionPath) => versionPath + (0, shared_utils_1.addLeadingSlash)(path14));
41639
41639
  }
41640
41640
  if (!versionPaths.length) {
41641
- return [this.prefixPath + (0, shared_utils_1.addLeadingSlash)(path13)];
41641
+ return [this.prefixPath + (0, shared_utils_1.addLeadingSlash)(path14)];
41642
41642
  }
41643
- return versionPaths.map((versionPath) => this.prefixPath + versionPath + (0, shared_utils_1.addLeadingSlash)(path13));
41643
+ return versionPaths.map((versionPath) => this.prefixPath + versionPath + (0, shared_utils_1.addLeadingSlash)(path14));
41644
41644
  }
41645
41645
  extractVersionPathFrom(versionValue) {
41646
41646
  if (!versionValue || this.versioningConfig?.type !== common_1.VersioningType.URI)
@@ -41687,9 +41687,9 @@ var require_paths_explorer = __commonJS({
41687
41687
  }
41688
41688
  const requestMethod = Reflect.getMetadata(constants_1.METHOD_METADATA, prototypeCallback);
41689
41689
  const version2 = Reflect.getMetadata(constants_1.VERSION_METADATA, prototypeCallback);
41690
- const path13 = (0, shared_utils_1.isString)(routePath) ? [(0, shared_utils_1.addLeadingSlash)(routePath)] : routePath.map((p) => (0, shared_utils_1.addLeadingSlash)(p));
41690
+ const path14 = (0, shared_utils_1.isString)(routePath) ? [(0, shared_utils_1.addLeadingSlash)(routePath)] : routePath.map((p) => (0, shared_utils_1.addLeadingSlash)(p));
41691
41691
  return {
41692
- path: path13,
41692
+ path: path14,
41693
41693
  requestMethod,
41694
41694
  targetCallback: instanceCallback,
41695
41695
  methodName,
@@ -41859,11 +41859,11 @@ var require_routes_mapper = __commonJS({
41859
41859
  });
41860
41860
  return [].concat(routePath).map((routePath2) => controllerPaths.map((item) => toRouteInfo(item, routePath2)).reduce(concatPaths, [])).reduce(concatPaths, []);
41861
41861
  }
41862
- isRouteInfo(path13, objectOrClass) {
41863
- return (0, shared_utils_1.isUndefined)(path13);
41862
+ isRouteInfo(path14, objectOrClass) {
41863
+ return (0, shared_utils_1.isUndefined)(path14);
41864
41864
  }
41865
- normalizeGlobalPath(path13) {
41866
- const prefix = (0, shared_utils_1.addLeadingSlash)(path13);
41865
+ normalizeGlobalPath(path14) {
41866
+ const prefix = (0, shared_utils_1.addLeadingSlash)(path14);
41867
41867
  return prefix === "/" ? "" : prefix;
41868
41868
  }
41869
41869
  getRoutePath(route) {
@@ -42066,8 +42066,8 @@ var require_middleware_module = __commonJS({
42066
42066
  return next();
42067
42067
  };
42068
42068
  const pathsToApplyMiddleware = [];
42069
- paths.some((path13) => path13.match(/^\/?$/)) ? pathsToApplyMiddleware.push("/") : pathsToApplyMiddleware.push(...paths);
42070
- pathsToApplyMiddleware.forEach((path13) => router(path13, middlewareFunction));
42069
+ paths.some((path14) => path14.match(/^\/?$/)) ? pathsToApplyMiddleware.push("/") : pathsToApplyMiddleware.push(...paths);
42070
+ pathsToApplyMiddleware.forEach((path14) => router(path14, middlewareFunction));
42071
42071
  }
42072
42072
  getContextId(request2, isTreeDurable) {
42073
42073
  const contextId = context_id_factory_1.ContextIdFactory.getByRequest(request2);
@@ -42598,20 +42598,20 @@ var require_messages2 = __commonJS({
42598
42598
  var version_options_interface_1 = require_version_options_interface();
42599
42599
  var MODULE_INIT_MESSAGE = (text, module3) => `${module3} dependencies initialized`;
42600
42600
  exports2.MODULE_INIT_MESSAGE = MODULE_INIT_MESSAGE;
42601
- var ROUTE_MAPPED_MESSAGE = (path13, method) => `Mapped {${path13}, ${request_method_enum_1.RequestMethod[method]}} route`;
42601
+ var ROUTE_MAPPED_MESSAGE = (path14, method) => `Mapped {${path14}, ${request_method_enum_1.RequestMethod[method]}} route`;
42602
42602
  exports2.ROUTE_MAPPED_MESSAGE = ROUTE_MAPPED_MESSAGE;
42603
- var VERSIONED_ROUTE_MAPPED_MESSAGE = (path13, method, version2) => {
42603
+ var VERSIONED_ROUTE_MAPPED_MESSAGE = (path14, method, version2) => {
42604
42604
  const controllerVersions = Array.isArray(version2) ? version2 : [version2];
42605
42605
  const versions = controllerVersions.map((version3) => version3 === version_options_interface_1.VERSION_NEUTRAL ? "Neutral" : version3).join(",");
42606
- return `Mapped {${path13}, ${request_method_enum_1.RequestMethod[method]}} (version: ${versions}) route`;
42606
+ return `Mapped {${path14}, ${request_method_enum_1.RequestMethod[method]}} (version: ${versions}) route`;
42607
42607
  };
42608
42608
  exports2.VERSIONED_ROUTE_MAPPED_MESSAGE = VERSIONED_ROUTE_MAPPED_MESSAGE;
42609
- var CONTROLLER_MAPPING_MESSAGE = (name, path13) => `${name} {${path13}}:`;
42609
+ var CONTROLLER_MAPPING_MESSAGE = (name, path14) => `${name} {${path14}}:`;
42610
42610
  exports2.CONTROLLER_MAPPING_MESSAGE = CONTROLLER_MAPPING_MESSAGE;
42611
- var VERSIONED_CONTROLLER_MAPPING_MESSAGE = (name, path13, version2) => {
42611
+ var VERSIONED_CONTROLLER_MAPPING_MESSAGE = (name, path14, version2) => {
42612
42612
  const controllerVersions = Array.isArray(version2) ? version2 : [version2];
42613
42613
  const versions = controllerVersions.map((version3) => version3 === version_options_interface_1.VERSION_NEUTRAL ? "Neutral" : version3).join(",");
42614
- return `${name} {${path13}} (version: ${versions}):`;
42614
+ return `${name} {${path14}} (version: ${versions}):`;
42615
42615
  };
42616
42616
  exports2.VERSIONED_CONTROLLER_MAPPING_MESSAGE = VERSIONED_CONTROLLER_MAPPING_MESSAGE;
42617
42617
  var INVALID_EXECUTION_CONTEXT = (methodName, currentContext) => `Calling ${methodName} is not allowed in this context. Your current execution context is "${currentContext}".`;
@@ -43114,14 +43114,14 @@ var require_router_explorer = __commonJS({
43114
43114
  this.applyPathsToRouterProxy(applicationRef, routerPaths, instanceWrapper, moduleKey, routePathMetadata, host);
43115
43115
  }
43116
43116
  extractRouterPath(metatype) {
43117
- const path13 = Reflect.getMetadata(constants_1.PATH_METADATA, metatype);
43118
- if ((0, shared_utils_1.isUndefined)(path13)) {
43117
+ const path14 = Reflect.getMetadata(constants_1.PATH_METADATA, metatype);
43118
+ if ((0, shared_utils_1.isUndefined)(path14)) {
43119
43119
  throw new unknown_request_mapping_exception_1.UnknownRequestMappingException(metatype);
43120
43120
  }
43121
- if (Array.isArray(path13)) {
43122
- return path13.map((p) => (0, shared_utils_1.addLeadingSlash)(p));
43121
+ if (Array.isArray(path14)) {
43122
+ return path14.map((p) => (0, shared_utils_1.addLeadingSlash)(p));
43123
43123
  }
43124
- return [(0, shared_utils_1.addLeadingSlash)(path13)];
43124
+ return [(0, shared_utils_1.addLeadingSlash)(path14)];
43125
43125
  }
43126
43126
  applyPathsToRouterProxy(router, routeDefinitions, instanceWrapper, moduleKey, routePathMetadata, host) {
43127
43127
  (routeDefinitions || []).forEach((routeDefinition) => {
@@ -43138,40 +43138,40 @@ var require_router_explorer = __commonJS({
43138
43138
  const proxy = isRequestScoped ? this.createRequestScopedHandler(instanceWrapper, requestMethod, this.container.getModuleByKey(moduleKey), moduleKey, methodName) : this.createCallbackProxy(instance, targetCallback, methodName, moduleKey, requestMethod);
43139
43139
  const isVersioned = (routePathMetadata.methodVersion || routePathMetadata.controllerVersion) && routePathMetadata.versioningOptions;
43140
43140
  let routeHandler = this.applyHostFilter(host, proxy);
43141
- paths.forEach((path13) => {
43141
+ paths.forEach((path14) => {
43142
43142
  if (isVersioned && routePathMetadata.versioningOptions.type !== enums_1.VersioningType.URI) {
43143
43143
  routeHandler = this.applyVersionFilter(router, routePathMetadata, routeHandler);
43144
43144
  }
43145
- routePathMetadata.methodPath = path13;
43145
+ routePathMetadata.methodPath = path14;
43146
43146
  const pathsToRegister = this.routePathFactory.create(routePathMetadata, requestMethod);
43147
- pathsToRegister.forEach((path14) => {
43147
+ pathsToRegister.forEach((path15) => {
43148
43148
  const entrypointDefinition = {
43149
43149
  type: "http-endpoint",
43150
43150
  methodName,
43151
43151
  className: instanceWrapper.name,
43152
43152
  classNodeId: instanceWrapper.id,
43153
43153
  metadata: {
43154
- key: path14,
43155
- path: path14,
43154
+ key: path15,
43155
+ path: path15,
43156
43156
  requestMethod: enums_1.RequestMethod[requestMethod],
43157
43157
  methodVersion: routePathMetadata.methodVersion,
43158
43158
  controllerVersion: routePathMetadata.controllerVersion
43159
43159
  }
43160
43160
  };
43161
43161
  this.copyMetadataToCallback(targetCallback, routeHandler);
43162
- routerMethodRef(path14, routeHandler);
43162
+ routerMethodRef(path15, routeHandler);
43163
43163
  this.graphInspector.insertEntrypointDefinition(entrypointDefinition, instanceWrapper.id);
43164
43164
  });
43165
43165
  const pathsToLog = this.routePathFactory.create({
43166
43166
  ...routePathMetadata,
43167
43167
  versioningOptions: void 0
43168
43168
  }, requestMethod);
43169
- pathsToLog.forEach((path14) => {
43169
+ pathsToLog.forEach((path15) => {
43170
43170
  if (isVersioned) {
43171
43171
  const version2 = this.routePathFactory.getVersion(routePathMetadata);
43172
- this.logger.log((0, messages_1.VERSIONED_ROUTE_MAPPED_MESSAGE)(path14, requestMethod, version2));
43172
+ this.logger.log((0, messages_1.VERSIONED_ROUTE_MAPPED_MESSAGE)(path15, requestMethod, version2));
43173
43173
  } else {
43174
- this.logger.log((0, messages_1.ROUTE_MAPPED_MESSAGE)(path14, requestMethod));
43174
+ this.logger.log((0, messages_1.ROUTE_MAPPED_MESSAGE)(path15, requestMethod));
43175
43175
  }
43176
43176
  });
43177
43177
  });
@@ -43307,26 +43307,26 @@ var require_routes_resolver = __commonJS({
43307
43307
  const routerPaths = this.routerExplorer.extractRouterPath(metatype);
43308
43308
  const controllerVersion = this.getVersionMetadata(metatype);
43309
43309
  const controllerName = metatype.name;
43310
- routerPaths.forEach((path13) => {
43310
+ routerPaths.forEach((path14) => {
43311
43311
  const pathsToLog = this.routePathFactory.create({
43312
- ctrlPath: path13,
43312
+ ctrlPath: path14,
43313
43313
  modulePath,
43314
43314
  globalPrefix
43315
43315
  });
43316
43316
  if (!controllerVersion) {
43317
- pathsToLog.forEach((path14) => {
43318
- const logMessage = (0, messages_1.CONTROLLER_MAPPING_MESSAGE)(controllerName, path14);
43317
+ pathsToLog.forEach((path15) => {
43318
+ const logMessage = (0, messages_1.CONTROLLER_MAPPING_MESSAGE)(controllerName, path15);
43319
43319
  this.logger.log(logMessage);
43320
43320
  });
43321
43321
  } else {
43322
- pathsToLog.forEach((path14) => {
43323
- const logMessage = (0, messages_1.VERSIONED_CONTROLLER_MAPPING_MESSAGE)(controllerName, path14, controllerVersion);
43322
+ pathsToLog.forEach((path15) => {
43323
+ const logMessage = (0, messages_1.VERSIONED_CONTROLLER_MAPPING_MESSAGE)(controllerName, path15, controllerVersion);
43324
43324
  this.logger.log(logMessage);
43325
43325
  });
43326
43326
  }
43327
43327
  const versioningOptions = this.applicationConfig.getVersioning();
43328
43328
  const routePathMetadata = {
43329
- ctrlPath: path13,
43329
+ ctrlPath: path14,
43330
43330
  modulePath,
43331
43331
  globalPrefix,
43332
43332
  controllerVersion,
@@ -53867,11 +53867,11 @@ var require_mime_types = __commonJS({
53867
53867
  }
53868
53868
  return exts[0];
53869
53869
  }
53870
- function lookup(path13) {
53871
- if (!path13 || typeof path13 !== "string") {
53870
+ function lookup(path14) {
53871
+ if (!path14 || typeof path14 !== "string") {
53872
53872
  return false;
53873
53873
  }
53874
- var extension2 = extname("x." + path13).toLowerCase().substr(1);
53874
+ var extension2 = extname("x." + path14).toLowerCase().substr(1);
53875
53875
  if (!extension2) {
53876
53876
  return false;
53877
53877
  }
@@ -60924,11 +60924,11 @@ var require_server = __commonJS({
60924
60924
  * @protected
60925
60925
  */
60926
60926
  _computePath(options) {
60927
- let path13 = (options.path || "/engine.io").replace(/\/$/, "");
60927
+ let path14 = (options.path || "/engine.io").replace(/\/$/, "");
60928
60928
  if (options.addTrailingSlash !== false) {
60929
- path13 += "/";
60929
+ path14 += "/";
60930
60930
  }
60931
- return path13;
60931
+ return path14;
60932
60932
  }
60933
60933
  /**
60934
60934
  * Returns a list of available transports for upgrade given a certain transport.
@@ -61444,10 +61444,10 @@ var require_server = __commonJS({
61444
61444
  * @param {Object} options
61445
61445
  */
61446
61446
  attach(server, options = {}) {
61447
- const path13 = this._computePath(options);
61447
+ const path14 = this._computePath(options);
61448
61448
  const destroyUpgradeTimeout = options.destroyUpgradeTimeout || 1e3;
61449
61449
  function check(req) {
61450
- return path13 === req.url.slice(0, path13.length);
61450
+ return path14 === req.url.slice(0, path14.length);
61451
61451
  }
61452
61452
  const listeners = server.listeners("request").slice(0);
61453
61453
  server.removeAllListeners("request");
@@ -61455,7 +61455,7 @@ var require_server = __commonJS({
61455
61455
  server.on("listening", this.init.bind(this));
61456
61456
  server.on("request", (req, res) => {
61457
61457
  if (check(req)) {
61458
- debug3('intercepting request for path "%s"', path13);
61458
+ debug3('intercepting request for path "%s"', path14);
61459
61459
  this.handleRequest(req, res);
61460
61460
  } else {
61461
61461
  let i = 0;
@@ -62295,8 +62295,8 @@ var require_userver = __commonJS({
62295
62295
  * @param options
62296
62296
  */
62297
62297
  attach(app, options = {}) {
62298
- const path13 = this._computePath(options);
62299
- app.any(path13, this.handleRequest.bind(this)).ws(path13, {
62298
+ const path14 = this._computePath(options);
62299
+ app.any(path14, this.handleRequest.bind(this)).ws(path14, {
62300
62300
  compression: options.compression,
62301
62301
  idleTimeout: options.idleTimeout,
62302
62302
  maxBackpressure: options.maxBackpressure,
@@ -67230,7 +67230,7 @@ var require_dist3 = __commonJS({
67230
67230
  var zlib_1 = __require("zlib");
67231
67231
  var accepts = require_accepts();
67232
67232
  var stream_1 = __require("stream");
67233
- var path13 = __require("path");
67233
+ var path14 = __require("path");
67234
67234
  var engine_io_1 = require_engine_io();
67235
67235
  var client_1 = require_client();
67236
67236
  var events_1 = __require("events");
@@ -67420,7 +67420,7 @@ var require_dist3 = __commonJS({
67420
67420
  res.writeHeader("cache-control", "public, max-age=0");
67421
67421
  res.writeHeader("content-type", "application/" + (isMap ? "json" : "javascript") + "; charset=utf-8");
67422
67422
  res.writeHeader("etag", expectedEtag);
67423
- const filepath = path13.join(__dirname, "../client-dist/", filename);
67423
+ const filepath = path14.join(__dirname, "../client-dist/", filename);
67424
67424
  (0, uws_1.serveFile)(res, filepath);
67425
67425
  });
67426
67426
  }
@@ -67502,7 +67502,7 @@ var require_dist3 = __commonJS({
67502
67502
  * @private
67503
67503
  */
67504
67504
  static sendFile(filename, req, res) {
67505
- const readStream2 = (0, fs_1.createReadStream)(path13.join(__dirname, "../client-dist/", filename));
67505
+ const readStream2 = (0, fs_1.createReadStream)(path14.join(__dirname, "../client-dist/", filename));
67506
67506
  const encoding = accepts(req).encodings(["br", "gzip", "deflate"]);
67507
67507
  const onError2 = (err) => {
67508
67508
  if (err) {
@@ -68382,8 +68382,8 @@ var require_nest_application = __commonJS({
68382
68382
  this.httpAdapter.useStaticAssets && this.httpAdapter.useStaticAssets(pathOrOptions, options);
68383
68383
  return this;
68384
68384
  }
68385
- setBaseViewsDir(path13) {
68386
- this.httpAdapter.setBaseViewsDir && this.httpAdapter.setBaseViewsDir(path13);
68385
+ setBaseViewsDir(path14) {
68386
+ this.httpAdapter.setBaseViewsDir && this.httpAdapter.setBaseViewsDir(path14);
68387
68387
  return this;
68388
68388
  }
68389
68389
  setViewEngine(engineOrOptions) {
@@ -78029,7 +78029,7 @@ var require_path_to_regexp2 = __commonJS({
78029
78029
  "../../node_modules/.pnpm/path-to-regexp@0.1.13/node_modules/path-to-regexp/index.js"(exports2, module2) {
78030
78030
  module2.exports = pathToRegexp;
78031
78031
  var MATCHING_GROUP_REGEXP = /\\.|\((?:\?<(.*?)>)?(?!\?)/g;
78032
- function pathToRegexp(path13, keys, options) {
78032
+ function pathToRegexp(path14, keys, options) {
78033
78033
  options = options || {};
78034
78034
  keys = keys || [];
78035
78035
  var strict = options.strict;
@@ -78043,8 +78043,8 @@ var require_path_to_regexp2 = __commonJS({
78043
78043
  var pos = 0;
78044
78044
  var backtrack = "";
78045
78045
  var m;
78046
- if (path13 instanceof RegExp) {
78047
- while (m = MATCHING_GROUP_REGEXP.exec(path13.source)) {
78046
+ if (path14 instanceof RegExp) {
78047
+ while (m = MATCHING_GROUP_REGEXP.exec(path14.source)) {
78048
78048
  if (m[0][0] === "\\") continue;
78049
78049
  keys.push({
78050
78050
  name: m[1] || name++,
@@ -78052,18 +78052,18 @@ var require_path_to_regexp2 = __commonJS({
78052
78052
  offset: m.index
78053
78053
  });
78054
78054
  }
78055
- return path13;
78055
+ return path14;
78056
78056
  }
78057
- if (Array.isArray(path13)) {
78058
- path13 = path13.map(function(value) {
78057
+ if (Array.isArray(path14)) {
78058
+ path14 = path14.map(function(value) {
78059
78059
  return pathToRegexp(value, keys, options).source;
78060
78060
  });
78061
- return new RegExp(path13.join("|"), flags);
78061
+ return new RegExp(path14.join("|"), flags);
78062
78062
  }
78063
- if (typeof path13 !== "string") {
78063
+ if (typeof path14 !== "string") {
78064
78064
  throw new TypeError("path must be a string, array of strings, or regular expression");
78065
78065
  }
78066
- path13 = path13.replace(
78066
+ path14 = path14.replace(
78067
78067
  /\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,
78068
78068
  function(match, slash, format2, key, capture, star, optional, offset) {
78069
78069
  if (match[0] === "\\") {
@@ -78080,7 +78080,7 @@ var require_path_to_regexp2 = __commonJS({
78080
78080
  if (slash || format2) {
78081
78081
  backtrack = "";
78082
78082
  } else {
78083
- backtrack += path13.slice(pos, offset);
78083
+ backtrack += path14.slice(pos, offset);
78084
78084
  }
78085
78085
  pos = offset + match.length;
78086
78086
  if (match === "*") {
@@ -78110,7 +78110,7 @@ var require_path_to_regexp2 = __commonJS({
78110
78110
  return result;
78111
78111
  }
78112
78112
  );
78113
- while (m = MATCHING_GROUP_REGEXP.exec(path13)) {
78113
+ while (m = MATCHING_GROUP_REGEXP.exec(path14)) {
78114
78114
  if (m[0][0] === "\\") continue;
78115
78115
  if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) {
78116
78116
  keys.splice(keysOffset + i, 0, {
@@ -78122,13 +78122,13 @@ var require_path_to_regexp2 = __commonJS({
78122
78122
  }
78123
78123
  i++;
78124
78124
  }
78125
- path13 += strict ? "" : path13[path13.length - 1] === "/" ? "?" : "/?";
78125
+ path14 += strict ? "" : path14[path14.length - 1] === "/" ? "?" : "/?";
78126
78126
  if (end) {
78127
- path13 += "$";
78128
- } else if (path13[path13.length - 1] !== "/") {
78129
- path13 += lookahead ? "(?=/|$)" : "(?:/|$)";
78127
+ path14 += "$";
78128
+ } else if (path14[path14.length - 1] !== "/") {
78129
+ path14 += lookahead ? "(?=/|$)" : "(?:/|$)";
78130
78130
  }
78131
- return new RegExp("^" + path13, flags);
78131
+ return new RegExp("^" + path14, flags);
78132
78132
  }
78133
78133
  }
78134
78134
  });
@@ -78141,19 +78141,19 @@ var require_layer = __commonJS({
78141
78141
  var debug3 = require_src3()("express:router:layer");
78142
78142
  var hasOwnProperty2 = Object.prototype.hasOwnProperty;
78143
78143
  module2.exports = Layer;
78144
- function Layer(path13, options, fn) {
78144
+ function Layer(path14, options, fn) {
78145
78145
  if (!(this instanceof Layer)) {
78146
- return new Layer(path13, options, fn);
78146
+ return new Layer(path14, options, fn);
78147
78147
  }
78148
- debug3("new %o", path13);
78148
+ debug3("new %o", path14);
78149
78149
  var opts = options || {};
78150
78150
  this.handle = fn;
78151
78151
  this.name = fn.name || "<anonymous>";
78152
78152
  this.params = void 0;
78153
78153
  this.path = void 0;
78154
- this.regexp = pathRegexp(path13, this.keys = [], opts);
78155
- this.regexp.fast_star = path13 === "*";
78156
- this.regexp.fast_slash = path13 === "/" && opts.end === false;
78154
+ this.regexp = pathRegexp(path14, this.keys = [], opts);
78155
+ this.regexp.fast_star = path14 === "*";
78156
+ this.regexp.fast_slash = path14 === "/" && opts.end === false;
78157
78157
  }
78158
78158
  Layer.prototype.handle_error = function handle_error(error3, req, res, next) {
78159
78159
  var fn = this.handle;
@@ -78177,20 +78177,20 @@ var require_layer = __commonJS({
78177
78177
  next(err);
78178
78178
  }
78179
78179
  };
78180
- Layer.prototype.match = function match(path13) {
78180
+ Layer.prototype.match = function match(path14) {
78181
78181
  var match2;
78182
- if (path13 != null) {
78182
+ if (path14 != null) {
78183
78183
  if (this.regexp.fast_slash) {
78184
78184
  this.params = {};
78185
78185
  this.path = "";
78186
78186
  return true;
78187
78187
  }
78188
78188
  if (this.regexp.fast_star) {
78189
- this.params = { "0": decode_param(path13) };
78190
- this.path = path13;
78189
+ this.params = { "0": decode_param(path14) };
78190
+ this.path = path14;
78191
78191
  return true;
78192
78192
  }
78193
- match2 = this.regexp.exec(path13);
78193
+ match2 = this.regexp.exec(path14);
78194
78194
  }
78195
78195
  if (!match2) {
78196
78196
  this.params = void 0;
@@ -78283,10 +78283,10 @@ var require_route = __commonJS({
78283
78283
  var slice = Array.prototype.slice;
78284
78284
  var toString4 = Object.prototype.toString;
78285
78285
  module2.exports = Route;
78286
- function Route(path13) {
78287
- this.path = path13;
78286
+ function Route(path14) {
78287
+ this.path = path14;
78288
78288
  this.stack = [];
78289
- debug3("new %o", path13);
78289
+ debug3("new %o", path14);
78290
78290
  this.methods = {};
78291
78291
  }
78292
78292
  Route.prototype._handles_method = function _handles_method(method) {
@@ -78498,8 +78498,8 @@ var require_router = __commonJS({
78498
78498
  if (++sync > 100) {
78499
78499
  return setImmediate(next, err);
78500
78500
  }
78501
- var path13 = getPathname(req);
78502
- if (path13 == null) {
78501
+ var path14 = getPathname(req);
78502
+ if (path14 == null) {
78503
78503
  return done(layerError);
78504
78504
  }
78505
78505
  var layer;
@@ -78507,7 +78507,7 @@ var require_router = __commonJS({
78507
78507
  var route;
78508
78508
  while (match !== true && idx < stack.length) {
78509
78509
  layer = stack[idx++];
78510
- match = matchLayer(layer, path13);
78510
+ match = matchLayer(layer, path14);
78511
78511
  route = layer.route;
78512
78512
  if (typeof match !== "boolean") {
78513
78513
  layerError = layerError || match;
@@ -78545,18 +78545,18 @@ var require_router = __commonJS({
78545
78545
  } else if (route) {
78546
78546
  layer.handle_request(req, res, next);
78547
78547
  } else {
78548
- trim_prefix(layer, layerError, layerPath, path13);
78548
+ trim_prefix(layer, layerError, layerPath, path14);
78549
78549
  }
78550
78550
  sync = 0;
78551
78551
  });
78552
78552
  }
78553
- function trim_prefix(layer, layerError, layerPath, path13) {
78553
+ function trim_prefix(layer, layerError, layerPath, path14) {
78554
78554
  if (layerPath.length !== 0) {
78555
- if (layerPath !== path13.slice(0, layerPath.length)) {
78555
+ if (layerPath !== path14.slice(0, layerPath.length)) {
78556
78556
  next(layerError);
78557
78557
  return;
78558
78558
  }
78559
- var c = path13[layerPath.length];
78559
+ var c = path14[layerPath.length];
78560
78560
  if (c && c !== "/" && c !== ".") return next(layerError);
78561
78561
  debug3("trim prefix (%s) from url %s", layerPath, req.url);
78562
78562
  removed = layerPath;
@@ -78634,7 +78634,7 @@ var require_router = __commonJS({
78634
78634
  };
78635
78635
  proto.use = function use(fn) {
78636
78636
  var offset = 0;
78637
- var path13 = "/";
78637
+ var path14 = "/";
78638
78638
  if (typeof fn !== "function") {
78639
78639
  var arg = fn;
78640
78640
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -78642,7 +78642,7 @@ var require_router = __commonJS({
78642
78642
  }
78643
78643
  if (typeof arg !== "function") {
78644
78644
  offset = 1;
78645
- path13 = fn;
78645
+ path14 = fn;
78646
78646
  }
78647
78647
  }
78648
78648
  var callbacks = flatten2(slice.call(arguments, offset));
@@ -78654,8 +78654,8 @@ var require_router = __commonJS({
78654
78654
  if (typeof fn !== "function") {
78655
78655
  throw new TypeError("Router.use() requires a middleware function but got a " + gettype(fn));
78656
78656
  }
78657
- debug3("use %o %s", path13, fn.name || "<anonymous>");
78658
- var layer = new Layer(path13, {
78657
+ debug3("use %o %s", path14, fn.name || "<anonymous>");
78658
+ var layer = new Layer(path14, {
78659
78659
  sensitive: this.caseSensitive,
78660
78660
  strict: false,
78661
78661
  end: false
@@ -78665,9 +78665,9 @@ var require_router = __commonJS({
78665
78665
  }
78666
78666
  return this;
78667
78667
  };
78668
- proto.route = function route(path13) {
78669
- var route2 = new Route(path13);
78670
- var layer = new Layer(path13, {
78668
+ proto.route = function route(path14) {
78669
+ var route2 = new Route(path14);
78670
+ var layer = new Layer(path14, {
78671
78671
  sensitive: this.caseSensitive,
78672
78672
  strict: this.strict,
78673
78673
  end: true
@@ -78677,8 +78677,8 @@ var require_router = __commonJS({
78677
78677
  return route2;
78678
78678
  };
78679
78679
  methods.concat("all").forEach(function(method) {
78680
- proto[method] = function(path13) {
78681
- var route = this.route(path13);
78680
+ proto[method] = function(path14) {
78681
+ var route = this.route(path14);
78682
78682
  route[method].apply(route, slice.call(arguments, 1));
78683
78683
  return this;
78684
78684
  };
@@ -78714,9 +78714,9 @@ var require_router = __commonJS({
78714
78714
  }
78715
78715
  return toString4.call(obj).replace(objectRegExp, "$1");
78716
78716
  }
78717
- function matchLayer(layer, path13) {
78717
+ function matchLayer(layer, path14) {
78718
78718
  try {
78719
- return layer.match(path13);
78719
+ return layer.match(path14);
78720
78720
  } catch (err) {
78721
78721
  return err;
78722
78722
  }
@@ -78834,13 +78834,13 @@ var require_view = __commonJS({
78834
78834
  "../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/view.js"(exports2, module2) {
78835
78835
  "use strict";
78836
78836
  var debug3 = require_src3()("express:view");
78837
- var path13 = __require("path");
78837
+ var path14 = __require("path");
78838
78838
  var fs14 = __require("fs");
78839
- var dirname7 = path13.dirname;
78840
- var basename4 = path13.basename;
78841
- var extname = path13.extname;
78842
- var join16 = path13.join;
78843
- var resolve7 = path13.resolve;
78839
+ var dirname7 = path14.dirname;
78840
+ var basename4 = path14.basename;
78841
+ var extname = path14.extname;
78842
+ var join17 = path14.join;
78843
+ var resolve7 = path14.resolve;
78844
78844
  module2.exports = View2;
78845
78845
  function View2(name, options) {
78846
78846
  var opts = options || {};
@@ -78869,17 +78869,17 @@ var require_view = __commonJS({
78869
78869
  this.path = this.lookup(fileName);
78870
78870
  }
78871
78871
  View2.prototype.lookup = function lookup(name) {
78872
- var path14;
78872
+ var path15;
78873
78873
  var roots = [].concat(this.root);
78874
78874
  debug3('lookup "%s"', name);
78875
- for (var i = 0; i < roots.length && !path14; i++) {
78875
+ for (var i = 0; i < roots.length && !path15; i++) {
78876
78876
  var root = roots[i];
78877
78877
  var loc = resolve7(root, name);
78878
78878
  var dir = dirname7(loc);
78879
78879
  var file2 = basename4(loc);
78880
- path14 = this.resolve(dir, file2);
78880
+ path15 = this.resolve(dir, file2);
78881
78881
  }
78882
- return path14;
78882
+ return path15;
78883
78883
  };
78884
78884
  View2.prototype.render = function render(options, callback) {
78885
78885
  debug3('render "%s"', this.path);
@@ -78887,21 +78887,21 @@ var require_view = __commonJS({
78887
78887
  };
78888
78888
  View2.prototype.resolve = function resolve8(dir, file2) {
78889
78889
  var ext = this.ext;
78890
- var path14 = join16(dir, file2);
78891
- var stat = tryStat(path14);
78890
+ var path15 = join17(dir, file2);
78891
+ var stat = tryStat(path15);
78892
78892
  if (stat && stat.isFile()) {
78893
- return path14;
78893
+ return path15;
78894
78894
  }
78895
- path14 = join16(dir, basename4(file2, ext), "index" + ext);
78896
- stat = tryStat(path14);
78895
+ path15 = join17(dir, basename4(file2, ext), "index" + ext);
78896
+ stat = tryStat(path15);
78897
78897
  if (stat && stat.isFile()) {
78898
- return path14;
78898
+ return path15;
78899
78899
  }
78900
78900
  };
78901
- function tryStat(path14) {
78902
- debug3('stat "%s"', path14);
78901
+ function tryStat(path15) {
78902
+ debug3('stat "%s"', path15);
78903
78903
  try {
78904
- return fs14.statSync(path14);
78904
+ return fs14.statSync(path15);
78905
78905
  } catch (e) {
78906
78906
  return void 0;
78907
78907
  }
@@ -79255,7 +79255,7 @@ var require_types2 = __commonJS({
79255
79255
  // ../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js
79256
79256
  var require_mime = __commonJS({
79257
79257
  "../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js"(exports2, module2) {
79258
- var path13 = __require("path");
79258
+ var path14 = __require("path");
79259
79259
  var fs14 = __require("fs");
79260
79260
  function Mime() {
79261
79261
  this.types = /* @__PURE__ */ Object.create(null);
@@ -79285,8 +79285,8 @@ var require_mime = __commonJS({
79285
79285
  this.define(map2);
79286
79286
  this._loading = null;
79287
79287
  };
79288
- Mime.prototype.lookup = function(path14, fallback) {
79289
- var ext = path14.replace(/^.*[\.\/\\]/, "").toLowerCase();
79288
+ Mime.prototype.lookup = function(path15, fallback) {
79289
+ var ext = path15.replace(/^.*[\.\/\\]/, "").toLowerCase();
79290
79290
  return this.types[ext] || fallback || this.default_type;
79291
79291
  };
79292
79292
  Mime.prototype.extension = function(mimeType) {
@@ -79404,28 +79404,28 @@ var require_send = __commonJS({
79404
79404
  var ms = require_ms();
79405
79405
  var onFinished = require_on_finished();
79406
79406
  var parseRange = require_range_parser();
79407
- var path13 = __require("path");
79407
+ var path14 = __require("path");
79408
79408
  var statuses = require_statuses();
79409
79409
  var Stream = __require("stream");
79410
79410
  var util6 = __require("util");
79411
- var extname = path13.extname;
79412
- var join16 = path13.join;
79413
- var normalize3 = path13.normalize;
79414
- var resolve7 = path13.resolve;
79415
- var sep3 = path13.sep;
79411
+ var extname = path14.extname;
79412
+ var join17 = path14.join;
79413
+ var normalize3 = path14.normalize;
79414
+ var resolve7 = path14.resolve;
79415
+ var sep3 = path14.sep;
79416
79416
  var BYTES_RANGE_REGEXP = /^ *bytes=/;
79417
79417
  var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1e3;
79418
79418
  var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/;
79419
79419
  module2.exports = send;
79420
79420
  module2.exports.mime = mime;
79421
- function send(req, path14, options) {
79422
- return new SendStream(req, path14, options);
79421
+ function send(req, path15, options) {
79422
+ return new SendStream(req, path15, options);
79423
79423
  }
79424
- function SendStream(req, path14, options) {
79424
+ function SendStream(req, path15, options) {
79425
79425
  Stream.call(this);
79426
79426
  var opts = options || {};
79427
79427
  this.options = opts;
79428
- this.path = path14;
79428
+ this.path = path15;
79429
79429
  this.req = req;
79430
79430
  this._acceptRanges = opts.acceptRanges !== void 0 ? Boolean(opts.acceptRanges) : true;
79431
79431
  this._cacheControl = opts.cacheControl !== void 0 ? Boolean(opts.cacheControl) : true;
@@ -79471,8 +79471,8 @@ var require_send = __commonJS({
79471
79471
  this._index = index2;
79472
79472
  return this;
79473
79473
  }, "send.index: pass index as option");
79474
- SendStream.prototype.root = function root(path14) {
79475
- this._root = resolve7(String(path14));
79474
+ SendStream.prototype.root = function root(path15) {
79475
+ this._root = resolve7(String(path15));
79476
79476
  debug3("root %s", this._root);
79477
79477
  return this;
79478
79478
  };
@@ -79585,10 +79585,10 @@ var require_send = __commonJS({
79585
79585
  var lastModified = this.res.getHeader("Last-Modified");
79586
79586
  return parseHttpDate(lastModified) <= parseHttpDate(ifRange);
79587
79587
  };
79588
- SendStream.prototype.redirect = function redirect(path14) {
79588
+ SendStream.prototype.redirect = function redirect(path15) {
79589
79589
  var res = this.res;
79590
79590
  if (hasListeners(this, "directory")) {
79591
- this.emit("directory", res, path14);
79591
+ this.emit("directory", res, path15);
79592
79592
  return;
79593
79593
  }
79594
79594
  if (this.hasTrailingSlash()) {
@@ -79608,42 +79608,42 @@ var require_send = __commonJS({
79608
79608
  SendStream.prototype.pipe = function pipe(res) {
79609
79609
  var root = this._root;
79610
79610
  this.res = res;
79611
- var path14 = decode4(this.path);
79612
- if (path14 === -1) {
79611
+ var path15 = decode4(this.path);
79612
+ if (path15 === -1) {
79613
79613
  this.error(400);
79614
79614
  return res;
79615
79615
  }
79616
- if (~path14.indexOf("\0")) {
79616
+ if (~path15.indexOf("\0")) {
79617
79617
  this.error(400);
79618
79618
  return res;
79619
79619
  }
79620
79620
  var parts;
79621
79621
  if (root !== null) {
79622
- if (path14) {
79623
- path14 = normalize3("." + sep3 + path14);
79622
+ if (path15) {
79623
+ path15 = normalize3("." + sep3 + path15);
79624
79624
  }
79625
- if (UP_PATH_REGEXP.test(path14)) {
79626
- debug3('malicious path "%s"', path14);
79625
+ if (UP_PATH_REGEXP.test(path15)) {
79626
+ debug3('malicious path "%s"', path15);
79627
79627
  this.error(403);
79628
79628
  return res;
79629
79629
  }
79630
- parts = path14.split(sep3);
79631
- path14 = normalize3(join16(root, path14));
79630
+ parts = path15.split(sep3);
79631
+ path15 = normalize3(join17(root, path15));
79632
79632
  } else {
79633
- if (UP_PATH_REGEXP.test(path14)) {
79634
- debug3('malicious path "%s"', path14);
79633
+ if (UP_PATH_REGEXP.test(path15)) {
79634
+ debug3('malicious path "%s"', path15);
79635
79635
  this.error(403);
79636
79636
  return res;
79637
79637
  }
79638
- parts = normalize3(path14).split(sep3);
79639
- path14 = resolve7(path14);
79638
+ parts = normalize3(path15).split(sep3);
79639
+ path15 = resolve7(path15);
79640
79640
  }
79641
79641
  if (containsDotFile(parts)) {
79642
79642
  var access = this._dotfiles;
79643
79643
  if (access === void 0) {
79644
79644
  access = parts[parts.length - 1][0] === "." ? this._hidden ? "allow" : "ignore" : "allow";
79645
79645
  }
79646
- debug3('%s dotfile "%s"', access, path14);
79646
+ debug3('%s dotfile "%s"', access, path15);
79647
79647
  switch (access) {
79648
79648
  case "allow":
79649
79649
  break;
@@ -79657,13 +79657,13 @@ var require_send = __commonJS({
79657
79657
  }
79658
79658
  }
79659
79659
  if (this._index.length && this.hasTrailingSlash()) {
79660
- this.sendIndex(path14);
79660
+ this.sendIndex(path15);
79661
79661
  return res;
79662
79662
  }
79663
- this.sendFile(path14);
79663
+ this.sendFile(path15);
79664
79664
  return res;
79665
79665
  };
79666
- SendStream.prototype.send = function send2(path14, stat) {
79666
+ SendStream.prototype.send = function send2(path15, stat) {
79667
79667
  var len = stat.size;
79668
79668
  var options = this.options;
79669
79669
  var opts = {};
@@ -79675,9 +79675,9 @@ var require_send = __commonJS({
79675
79675
  this.headersAlreadySent();
79676
79676
  return;
79677
79677
  }
79678
- debug3('pipe "%s"', path14);
79679
- this.setHeader(path14, stat);
79680
- this.type(path14);
79678
+ debug3('pipe "%s"', path15);
79679
+ this.setHeader(path15, stat);
79680
+ this.type(path15);
79681
79681
  if (this.isConditionalGET()) {
79682
79682
  if (this.isPreconditionFailure()) {
79683
79683
  this.error(412);
@@ -79726,26 +79726,26 @@ var require_send = __commonJS({
79726
79726
  res.end();
79727
79727
  return;
79728
79728
  }
79729
- this.stream(path14, opts);
79729
+ this.stream(path15, opts);
79730
79730
  };
79731
- SendStream.prototype.sendFile = function sendFile(path14) {
79731
+ SendStream.prototype.sendFile = function sendFile(path15) {
79732
79732
  var i = 0;
79733
79733
  var self2 = this;
79734
- debug3('stat "%s"', path14);
79735
- fs14.stat(path14, function onstat(err, stat) {
79736
- if (err && err.code === "ENOENT" && !extname(path14) && path14[path14.length - 1] !== sep3) {
79734
+ debug3('stat "%s"', path15);
79735
+ fs14.stat(path15, function onstat(err, stat) {
79736
+ if (err && err.code === "ENOENT" && !extname(path15) && path15[path15.length - 1] !== sep3) {
79737
79737
  return next(err);
79738
79738
  }
79739
79739
  if (err) return self2.onStatError(err);
79740
- if (stat.isDirectory()) return self2.redirect(path14);
79741
- self2.emit("file", path14, stat);
79742
- self2.send(path14, stat);
79740
+ if (stat.isDirectory()) return self2.redirect(path15);
79741
+ self2.emit("file", path15, stat);
79742
+ self2.send(path15, stat);
79743
79743
  });
79744
79744
  function next(err) {
79745
79745
  if (self2._extensions.length <= i) {
79746
79746
  return err ? self2.onStatError(err) : self2.error(404);
79747
79747
  }
79748
- var p = path14 + "." + self2._extensions[i++];
79748
+ var p = path15 + "." + self2._extensions[i++];
79749
79749
  debug3('stat "%s"', p);
79750
79750
  fs14.stat(p, function(err2, stat) {
79751
79751
  if (err2) return next(err2);
@@ -79755,7 +79755,7 @@ var require_send = __commonJS({
79755
79755
  });
79756
79756
  }
79757
79757
  };
79758
- SendStream.prototype.sendIndex = function sendIndex(path14) {
79758
+ SendStream.prototype.sendIndex = function sendIndex(path15) {
79759
79759
  var i = -1;
79760
79760
  var self2 = this;
79761
79761
  function next(err) {
@@ -79763,7 +79763,7 @@ var require_send = __commonJS({
79763
79763
  if (err) return self2.onStatError(err);
79764
79764
  return self2.error(404);
79765
79765
  }
79766
- var p = join16(path14, self2._index[i]);
79766
+ var p = join17(path15, self2._index[i]);
79767
79767
  debug3('stat "%s"', p);
79768
79768
  fs14.stat(p, function(err2, stat) {
79769
79769
  if (err2) return next(err2);
@@ -79774,10 +79774,10 @@ var require_send = __commonJS({
79774
79774
  }
79775
79775
  next();
79776
79776
  };
79777
- SendStream.prototype.stream = function stream4(path14, options) {
79777
+ SendStream.prototype.stream = function stream4(path15, options) {
79778
79778
  var self2 = this;
79779
79779
  var res = this.res;
79780
- var stream5 = fs14.createReadStream(path14, options);
79780
+ var stream5 = fs14.createReadStream(path15, options);
79781
79781
  this.emit("stream", stream5);
79782
79782
  stream5.pipe(res);
79783
79783
  function cleanup() {
@@ -79792,10 +79792,10 @@ var require_send = __commonJS({
79792
79792
  self2.emit("end");
79793
79793
  });
79794
79794
  };
79795
- SendStream.prototype.type = function type(path14) {
79795
+ SendStream.prototype.type = function type(path15) {
79796
79796
  var res = this.res;
79797
79797
  if (res.getHeader("Content-Type")) return;
79798
- var type2 = mime.lookup(path14);
79798
+ var type2 = mime.lookup(path15);
79799
79799
  if (!type2) {
79800
79800
  debug3("no content-type");
79801
79801
  return;
@@ -79804,9 +79804,9 @@ var require_send = __commonJS({
79804
79804
  debug3("content-type %s", type2);
79805
79805
  res.setHeader("Content-Type", type2 + (charset ? "; charset=" + charset : ""));
79806
79806
  };
79807
- SendStream.prototype.setHeader = function setHeader(path14, stat) {
79807
+ SendStream.prototype.setHeader = function setHeader(path15, stat) {
79808
79808
  var res = this.res;
79809
- this.emit("headers", res, path14, stat);
79809
+ this.emit("headers", res, path15, stat);
79810
79810
  if (this._acceptRanges && !res.getHeader("Accept-Ranges")) {
79811
79811
  debug3("accept ranges");
79812
79812
  res.setHeader("Accept-Ranges", "bytes");
@@ -79865,9 +79865,9 @@ var require_send = __commonJS({
79865
79865
  }
79866
79866
  return err instanceof Error ? createError(status, err, { expose: false }) : createError(status, err);
79867
79867
  }
79868
- function decode4(path14) {
79868
+ function decode4(path15) {
79869
79869
  try {
79870
- return decodeURIComponent(path14);
79870
+ return decodeURIComponent(path15);
79871
79871
  } catch (err) {
79872
79872
  return -1;
79873
79873
  }
@@ -80776,10 +80776,10 @@ var require_utils10 = __commonJS({
80776
80776
  var querystring = __require("querystring");
80777
80777
  exports2.etag = createETagGenerator({ weak: false });
80778
80778
  exports2.wetag = createETagGenerator({ weak: true });
80779
- exports2.isAbsolute = function(path13) {
80780
- if ("/" === path13[0]) return true;
80781
- if (":" === path13[1] && ("\\" === path13[2] || "/" === path13[2])) return true;
80782
- if ("\\\\" === path13.substring(0, 2)) return true;
80779
+ exports2.isAbsolute = function(path14) {
80780
+ if ("/" === path14[0]) return true;
80781
+ if (":" === path14[1] && ("\\" === path14[2] || "/" === path14[2])) return true;
80782
+ if ("\\\\" === path14.substring(0, 2)) return true;
80783
80783
  };
80784
80784
  exports2.flatten = deprecate.function(
80785
80785
  flatten2,
@@ -80990,7 +80990,7 @@ var require_application = __commonJS({
80990
80990
  };
80991
80991
  app.use = function use(fn) {
80992
80992
  var offset = 0;
80993
- var path13 = "/";
80993
+ var path14 = "/";
80994
80994
  if (typeof fn !== "function") {
80995
80995
  var arg = fn;
80996
80996
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -80998,7 +80998,7 @@ var require_application = __commonJS({
80998
80998
  }
80999
80999
  if (typeof arg !== "function") {
81000
81000
  offset = 1;
81001
- path13 = fn;
81001
+ path14 = fn;
81002
81002
  }
81003
81003
  }
81004
81004
  var fns = flatten2(slice.call(arguments, offset));
@@ -81009,12 +81009,12 @@ var require_application = __commonJS({
81009
81009
  var router = this._router;
81010
81010
  fns.forEach(function(fn2) {
81011
81011
  if (!fn2 || !fn2.handle || !fn2.set) {
81012
- return router.use(path13, fn2);
81012
+ return router.use(path14, fn2);
81013
81013
  }
81014
- debug3(".use app under %s", path13);
81015
- fn2.mountpath = path13;
81014
+ debug3(".use app under %s", path14);
81015
+ fn2.mountpath = path14;
81016
81016
  fn2.parent = this;
81017
- router.use(path13, function mounted_app(req, res, next) {
81017
+ router.use(path14, function mounted_app(req, res, next) {
81018
81018
  var orig = req.app;
81019
81019
  fn2.handle(req, res, function(err) {
81020
81020
  setPrototypeOf(req, orig.request);
@@ -81026,9 +81026,9 @@ var require_application = __commonJS({
81026
81026
  }, this);
81027
81027
  return this;
81028
81028
  };
81029
- app.route = function route(path13) {
81029
+ app.route = function route(path14) {
81030
81030
  this.lazyrouter();
81031
- return this._router.route(path13);
81031
+ return this._router.route(path14);
81032
81032
  };
81033
81033
  app.engine = function engine(ext, fn) {
81034
81034
  if (typeof fn !== "function") {
@@ -81079,7 +81079,7 @@ var require_application = __commonJS({
81079
81079
  }
81080
81080
  return this;
81081
81081
  };
81082
- app.path = function path13() {
81082
+ app.path = function path14() {
81083
81083
  return this.parent ? this.parent.path() + this.mountpath : "";
81084
81084
  };
81085
81085
  app.enabled = function enabled(setting) {
@@ -81095,19 +81095,19 @@ var require_application = __commonJS({
81095
81095
  return this.set(setting, false);
81096
81096
  };
81097
81097
  methods.forEach(function(method) {
81098
- app[method] = function(path13) {
81098
+ app[method] = function(path14) {
81099
81099
  if (method === "get" && arguments.length === 1) {
81100
- return this.set(path13);
81100
+ return this.set(path14);
81101
81101
  }
81102
81102
  this.lazyrouter();
81103
- var route = this._router.route(path13);
81103
+ var route = this._router.route(path14);
81104
81104
  route[method].apply(route, slice.call(arguments, 1));
81105
81105
  return this;
81106
81106
  };
81107
81107
  });
81108
- app.all = function all3(path13) {
81108
+ app.all = function all3(path14) {
81109
81109
  this.lazyrouter();
81110
- var route = this._router.route(path13);
81110
+ var route = this._router.route(path14);
81111
81111
  var args = slice.call(arguments, 1);
81112
81112
  for (var i = 0; i < methods.length; i++) {
81113
81113
  route[methods[i]].apply(route, args);
@@ -81288,7 +81288,7 @@ var require_request = __commonJS({
81288
81288
  var subdomains2 = !isIP3(hostname6) ? hostname6.split(".").reverse() : [hostname6];
81289
81289
  return subdomains2.slice(offset);
81290
81290
  });
81291
- defineGetter(req, "path", function path13() {
81291
+ defineGetter(req, "path", function path14() {
81292
81292
  return parse2(this).pathname;
81293
81293
  });
81294
81294
  defineGetter(req, "hostname", function hostname6() {
@@ -81371,7 +81371,7 @@ var require_response = __commonJS({
81371
81371
  var http7 = __require("http");
81372
81372
  var isAbsolute2 = require_utils10().isAbsolute;
81373
81373
  var onFinished = require_on_finished();
81374
- var path13 = __require("path");
81374
+ var path14 = __require("path");
81375
81375
  var statuses = require_statuses();
81376
81376
  var merge3 = require_utils_merge();
81377
81377
  var sign2 = require_cookie_signature().sign;
@@ -81380,9 +81380,9 @@ var require_response = __commonJS({
81380
81380
  var setCharset = require_utils10().setCharset;
81381
81381
  var cookie = require_cookie();
81382
81382
  var send = require_send();
81383
- var extname = path13.extname;
81383
+ var extname = path14.extname;
81384
81384
  var mime = send.mime;
81385
- var resolve7 = path13.resolve;
81385
+ var resolve7 = path14.resolve;
81386
81386
  var vary = require_vary();
81387
81387
  var res = Object.create(http7.ServerResponse.prototype);
81388
81388
  module2.exports = res;
@@ -81559,26 +81559,26 @@ var require_response = __commonJS({
81559
81559
  this.type("txt");
81560
81560
  return this.send(body);
81561
81561
  };
81562
- res.sendFile = function sendFile(path14, options, callback) {
81562
+ res.sendFile = function sendFile(path15, options, callback) {
81563
81563
  var done = callback;
81564
81564
  var req = this.req;
81565
81565
  var res2 = this;
81566
81566
  var next = req.next;
81567
81567
  var opts = options || {};
81568
- if (!path14) {
81568
+ if (!path15) {
81569
81569
  throw new TypeError("path argument is required to res.sendFile");
81570
81570
  }
81571
- if (typeof path14 !== "string") {
81571
+ if (typeof path15 !== "string") {
81572
81572
  throw new TypeError("path must be a string to res.sendFile");
81573
81573
  }
81574
81574
  if (typeof options === "function") {
81575
81575
  done = options;
81576
81576
  opts = {};
81577
81577
  }
81578
- if (!opts.root && !isAbsolute2(path14)) {
81578
+ if (!opts.root && !isAbsolute2(path15)) {
81579
81579
  throw new TypeError("path must be absolute or specify root to res.sendFile");
81580
81580
  }
81581
- var pathname = encodeURI(path14);
81581
+ var pathname = encodeURI(path15);
81582
81582
  var file2 = send(req, pathname, opts);
81583
81583
  sendfile(res2, file2, opts, function(err) {
81584
81584
  if (done) return done(err);
@@ -81588,7 +81588,7 @@ var require_response = __commonJS({
81588
81588
  }
81589
81589
  });
81590
81590
  };
81591
- res.sendfile = function(path14, options, callback) {
81591
+ res.sendfile = function(path15, options, callback) {
81592
81592
  var done = callback;
81593
81593
  var req = this.req;
81594
81594
  var res2 = this;
@@ -81598,7 +81598,7 @@ var require_response = __commonJS({
81598
81598
  done = options;
81599
81599
  opts = {};
81600
81600
  }
81601
- var file2 = send(req, path14, opts);
81601
+ var file2 = send(req, path15, opts);
81602
81602
  sendfile(res2, file2, opts, function(err) {
81603
81603
  if (done) return done(err);
81604
81604
  if (err && err.code === "EISDIR") return next();
@@ -81611,7 +81611,7 @@ var require_response = __commonJS({
81611
81611
  res.sendfile,
81612
81612
  "res.sendfile: Use res.sendFile instead"
81613
81613
  );
81614
- res.download = function download(path14, filename, options, callback) {
81614
+ res.download = function download(path15, filename, options, callback) {
81615
81615
  var done = callback;
81616
81616
  var name = filename;
81617
81617
  var opts = options || null;
@@ -81628,7 +81628,7 @@ var require_response = __commonJS({
81628
81628
  opts = filename;
81629
81629
  }
81630
81630
  var headers = {
81631
- "Content-Disposition": contentDisposition(name || path14)
81631
+ "Content-Disposition": contentDisposition(name || path15)
81632
81632
  };
81633
81633
  if (opts && opts.headers) {
81634
81634
  var keys = Object.keys(opts.headers);
@@ -81641,7 +81641,7 @@ var require_response = __commonJS({
81641
81641
  }
81642
81642
  opts = Object.create(opts);
81643
81643
  opts.headers = headers;
81644
- var fullPath = !opts.root ? resolve7(path14) : path14;
81644
+ var fullPath = !opts.root ? resolve7(path15) : path15;
81645
81645
  return this.sendFile(fullPath, opts, done);
81646
81646
  };
81647
81647
  res.contentType = res.type = function contentType(type) {
@@ -81942,11 +81942,11 @@ var require_serve_static = __commonJS({
81942
81942
  }
81943
81943
  var forwardError = !fallthrough;
81944
81944
  var originalUrl = parseUrl3.original(req);
81945
- var path13 = parseUrl3(req).pathname;
81946
- if (path13 === "/" && originalUrl.pathname.substr(-1) !== "/") {
81947
- path13 = "";
81945
+ var path14 = parseUrl3(req).pathname;
81946
+ if (path14 === "/" && originalUrl.pathname.substr(-1) !== "/") {
81947
+ path14 = "";
81948
81948
  }
81949
- var stream4 = send(req, path13, opts);
81949
+ var stream4 = send(req, path14, opts);
81950
81950
  stream4.on("directory", onDirectory);
81951
81951
  if (setHeaders) {
81952
81952
  stream4.on("headers", setHeaders);
@@ -82217,14 +82217,14 @@ var require_express_adapter = __commonJS({
82217
82217
  engine(...args) {
82218
82218
  return this.instance.engine(...args);
82219
82219
  }
82220
- useStaticAssets(path13, options) {
82220
+ useStaticAssets(path14, options) {
82221
82221
  if (options && options.prefix) {
82222
- return this.use(options.prefix, express.static(path13, options));
82222
+ return this.use(options.prefix, express.static(path14, options));
82223
82223
  }
82224
- return this.use(express.static(path13, options));
82224
+ return this.use(express.static(path14, options));
82225
82225
  }
82226
- setBaseViewsDir(path13) {
82227
- return this.set("views", path13);
82226
+ setBaseViewsDir(path14) {
82227
+ return this.set("views", path14);
82228
82228
  }
82229
82229
  setViewEngine(engine) {
82230
82230
  return this.set("view engine", engine);
@@ -82796,19 +82796,19 @@ var require_utils11 = __commonJS({
82796
82796
  if (decode4)
82797
82797
  return decode4(data, hint);
82798
82798
  }
82799
- function basename4(path13) {
82800
- if (typeof path13 !== "string")
82799
+ function basename4(path14) {
82800
+ if (typeof path14 !== "string")
82801
82801
  return "";
82802
- for (let i = path13.length - 1; i >= 0; --i) {
82803
- switch (path13.charCodeAt(i)) {
82802
+ for (let i = path14.length - 1; i >= 0; --i) {
82803
+ switch (path14.charCodeAt(i)) {
82804
82804
  case 47:
82805
82805
  // '/'
82806
82806
  case 92:
82807
- path13 = path13.slice(i + 1);
82808
- return path13 === ".." || path13 === "." ? "" : path13;
82807
+ path14 = path14.slice(i + 1);
82808
+ return path14 === ".." || path14 === "." ? "" : path14;
82809
82809
  }
82810
82810
  }
82811
- return path13 === ".." || path13 === "." ? "" : path13;
82811
+ return path14 === ".." || path14 === "." ? "" : path14;
82812
82812
  }
82813
82813
  var TOKEN = [
82814
82814
  0,
@@ -86626,7 +86626,7 @@ var require_make_middleware = __commonJS({
86626
86626
  // ../../node_modules/.pnpm/mkdirp@0.5.6/node_modules/mkdirp/index.js
86627
86627
  var require_mkdirp = __commonJS({
86628
86628
  "../../node_modules/.pnpm/mkdirp@0.5.6/node_modules/mkdirp/index.js"(exports2, module2) {
86629
- var path13 = __require("path");
86629
+ var path14 = __require("path");
86630
86630
  var fs14 = __require("fs");
86631
86631
  var _0777 = parseInt("0777", 8);
86632
86632
  module2.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP;
@@ -86646,7 +86646,7 @@ var require_mkdirp = __commonJS({
86646
86646
  var cb = f || /* istanbul ignore next */
86647
86647
  function() {
86648
86648
  };
86649
- p = path13.resolve(p);
86649
+ p = path14.resolve(p);
86650
86650
  xfs.mkdir(p, mode, function(er2) {
86651
86651
  if (!er2) {
86652
86652
  made = made || p;
@@ -86654,8 +86654,8 @@ var require_mkdirp = __commonJS({
86654
86654
  }
86655
86655
  switch (er2.code) {
86656
86656
  case "ENOENT":
86657
- if (path13.dirname(p) === p) return cb(er2);
86658
- mkdirP(path13.dirname(p), opts, function(er3, made2) {
86657
+ if (path14.dirname(p) === p) return cb(er2);
86658
+ mkdirP(path14.dirname(p), opts, function(er3, made2) {
86659
86659
  if (er3) cb(er3, made2);
86660
86660
  else mkdirP(p, opts, cb, made2);
86661
86661
  });
@@ -86682,14 +86682,14 @@ var require_mkdirp = __commonJS({
86682
86682
  mode = _0777;
86683
86683
  }
86684
86684
  if (!made) made = null;
86685
- p = path13.resolve(p);
86685
+ p = path14.resolve(p);
86686
86686
  try {
86687
86687
  xfs.mkdirSync(p, mode);
86688
86688
  made = made || p;
86689
86689
  } catch (err0) {
86690
86690
  switch (err0.code) {
86691
86691
  case "ENOENT":
86692
- made = sync(path13.dirname(p), opts, made);
86692
+ made = sync(path14.dirname(p), opts, made);
86693
86693
  sync(p, opts, made);
86694
86694
  break;
86695
86695
  // In the case of any other error, just see if there's a dir
@@ -86716,7 +86716,7 @@ var require_disk = __commonJS({
86716
86716
  "../../node_modules/.pnpm/multer@2.0.2/node_modules/multer/storage/disk.js"(exports2, module2) {
86717
86717
  var fs14 = __require("fs");
86718
86718
  var os7 = __require("os");
86719
- var path13 = __require("path");
86719
+ var path14 = __require("path");
86720
86720
  var crypto7 = __require("crypto");
86721
86721
  var mkdirp = require_mkdirp();
86722
86722
  function getFilename(req, file2, cb) {
@@ -86744,7 +86744,7 @@ var require_disk = __commonJS({
86744
86744
  if (err) return cb(err);
86745
86745
  that.getFilename(req, file2, function(err2, filename) {
86746
86746
  if (err2) return cb(err2);
86747
- var finalPath = path13.join(destination, filename);
86747
+ var finalPath = path14.join(destination, filename);
86748
86748
  var outStream = fs14.createWriteStream(finalPath);
86749
86749
  file2.stream.pipe(outStream);
86750
86750
  outStream.on("error", cb);
@@ -86760,11 +86760,11 @@ var require_disk = __commonJS({
86760
86760
  });
86761
86761
  };
86762
86762
  DiskStorage.prototype._removeFile = function _removeFile(req, file2, cb) {
86763
- var path14 = file2.path;
86763
+ var path15 = file2.path;
86764
86764
  delete file2.destination;
86765
86765
  delete file2.filename;
86766
86766
  delete file2.path;
86767
- fs14.unlink(path14, cb);
86767
+ fs14.unlink(path15, cb);
86768
86768
  };
86769
86769
  module2.exports = function(opts) {
86770
86770
  return new DiskStorage(opts);
@@ -86903,7 +86903,7 @@ var require_buffer_list = __commonJS({
86903
86903
  }
86904
86904
  }, {
86905
86905
  key: "join",
86906
- value: function join16(s) {
86906
+ value: function join17(s) {
86907
86907
  if (this.length === 0) return "";
86908
86908
  var p = this.head;
86909
86909
  var ret = "" + p.data;
@@ -91458,7 +91458,7 @@ var require_ws_adapter2 = __commonJS({
91458
91458
  wsPackage = (0, load_package_util_1.loadPackage)("ws", "WsAdapter", () => require_ws());
91459
91459
  }
91460
91460
  create(port, options) {
91461
- const { server, path: path13, ...wsOptions } = options;
91461
+ const { server, path: path14, ...wsOptions } = options;
91462
91462
  if (wsOptions?.namespace) {
91463
91463
  const error3 = new Error('"WsAdapter" does not support namespaces. If you need namespaces in your project, consider using the "@nestjs/platform-socket.io" package instead.');
91464
91464
  this.logger.error(error3);
@@ -91470,25 +91470,25 @@ var require_ws_adapter2 = __commonJS({
91470
91470
  noServer: true,
91471
91471
  ...wsOptions
91472
91472
  }));
91473
- this.addWsServerToRegistry(wsServer2, port, path13);
91473
+ this.addWsServerToRegistry(wsServer2, port, path14);
91474
91474
  return wsServer2;
91475
91475
  }
91476
91476
  if (server) {
91477
91477
  return server;
91478
91478
  }
91479
- if (path13 && port !== UNDERLYING_HTTP_SERVER_PORT) {
91479
+ if (path14 && port !== UNDERLYING_HTTP_SERVER_PORT) {
91480
91480
  const httpServer = this.ensureHttpServerExists(port);
91481
91481
  httpServer?.listen(port);
91482
91482
  const wsServer2 = this.bindErrorHandler(new wsPackage.Server({
91483
91483
  noServer: true,
91484
91484
  ...wsOptions
91485
91485
  }));
91486
- this.addWsServerToRegistry(wsServer2, port, path13);
91486
+ this.addWsServerToRegistry(wsServer2, port, path14);
91487
91487
  return wsServer2;
91488
91488
  }
91489
91489
  const wsServer = this.bindErrorHandler(new wsPackage.Server({
91490
91490
  port,
91491
- path: path13,
91491
+ path: path14,
91492
91492
  ...wsOptions
91493
91493
  }));
91494
91494
  return wsServer;
@@ -91566,10 +91566,10 @@ var require_ws_adapter2 = __commonJS({
91566
91566
  });
91567
91567
  return httpServer;
91568
91568
  }
91569
- addWsServerToRegistry(wsServer, port, path13) {
91569
+ addWsServerToRegistry(wsServer, port, path14) {
91570
91570
  const entries = this.wsServersRegistry.get(port) ?? [];
91571
91571
  entries.push(wsServer);
91572
- wsServer.path = (0, shared_utils_1.normalizePath)(path13);
91572
+ wsServer.path = (0, shared_utils_1.normalizePath)(path14);
91573
91573
  this.wsServersRegistry.set(port, entries);
91574
91574
  }
91575
91575
  };
@@ -91672,7 +91672,7 @@ var require_package2 = __commonJS({
91672
91672
  var require_main2 = __commonJS({
91673
91673
  "../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js"(exports2, module2) {
91674
91674
  var fs14 = __require("fs");
91675
- var path13 = __require("path");
91675
+ var path14 = __require("path");
91676
91676
  var os7 = __require("os");
91677
91677
  var crypto7 = __require("crypto");
91678
91678
  var packageJson = require_package2();
@@ -91786,7 +91786,7 @@ var require_main2 = __commonJS({
91786
91786
  possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
91787
91787
  }
91788
91788
  } else {
91789
- possibleVaultPath = path13.resolve(process.cwd(), ".env.vault");
91789
+ possibleVaultPath = path14.resolve(process.cwd(), ".env.vault");
91790
91790
  }
91791
91791
  if (fs14.existsSync(possibleVaultPath)) {
91792
91792
  return possibleVaultPath;
@@ -91794,7 +91794,7 @@ var require_main2 = __commonJS({
91794
91794
  return null;
91795
91795
  }
91796
91796
  function _resolveHome(envPath) {
91797
- return envPath[0] === "~" ? path13.join(os7.homedir(), envPath.slice(1)) : envPath;
91797
+ return envPath[0] === "~" ? path14.join(os7.homedir(), envPath.slice(1)) : envPath;
91798
91798
  }
91799
91799
  function _configVault(options) {
91800
91800
  _log("Loading env from encrypted .env.vault");
@@ -91807,7 +91807,7 @@ var require_main2 = __commonJS({
91807
91807
  return { parsed };
91808
91808
  }
91809
91809
  function configDotenv(options) {
91810
- const dotenvPath = path13.resolve(process.cwd(), ".env");
91810
+ const dotenvPath = path14.resolve(process.cwd(), ".env");
91811
91811
  let encoding = "utf8";
91812
91812
  const debug3 = Boolean(options && options.debug);
91813
91813
  if (options && options.encoding) {
@@ -91830,13 +91830,13 @@ var require_main2 = __commonJS({
91830
91830
  }
91831
91831
  let lastError;
91832
91832
  const parsedAll = {};
91833
- for (const path14 of optionPaths) {
91833
+ for (const path15 of optionPaths) {
91834
91834
  try {
91835
- const parsed = DotenvModule.parse(fs14.readFileSync(path14, { encoding }));
91835
+ const parsed = DotenvModule.parse(fs14.readFileSync(path15, { encoding }));
91836
91836
  DotenvModule.populate(parsedAll, parsed, options);
91837
91837
  } catch (e) {
91838
91838
  if (debug3) {
91839
- _debug(`Failed to load ${path14} ${e.message}`);
91839
+ _debug(`Failed to load ${path15} ${e.message}`);
91840
91840
  }
91841
91841
  lastError = e;
91842
91842
  }
@@ -92779,11 +92779,11 @@ var require_baseGet = __commonJS({
92779
92779
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js"(exports2, module2) {
92780
92780
  var castPath = require_castPath();
92781
92781
  var toKey = require_toKey();
92782
- function baseGet(object, path13) {
92783
- path13 = castPath(path13, object);
92784
- var index = 0, length = path13.length;
92782
+ function baseGet(object, path14) {
92783
+ path14 = castPath(path14, object);
92784
+ var index = 0, length = path14.length;
92785
92785
  while (object != null && index < length) {
92786
- object = object[toKey(path13[index++])];
92786
+ object = object[toKey(path14[index++])];
92787
92787
  }
92788
92788
  return index && index == length ? object : void 0;
92789
92789
  }
@@ -92795,8 +92795,8 @@ var require_baseGet = __commonJS({
92795
92795
  var require_get2 = __commonJS({
92796
92796
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports2, module2) {
92797
92797
  var baseGet = require_baseGet();
92798
- function get2(object, path13, defaultValue) {
92799
- var result = object == null ? void 0 : baseGet(object, path13);
92798
+ function get2(object, path14, defaultValue) {
92799
+ var result = object == null ? void 0 : baseGet(object, path14);
92800
92800
  return result === void 0 ? defaultValue : result;
92801
92801
  }
92802
92802
  module2.exports = get2;
@@ -92879,11 +92879,11 @@ var require_hasPath = __commonJS({
92879
92879
  var isIndex = require_isIndex();
92880
92880
  var isLength = require_isLength2();
92881
92881
  var toKey = require_toKey();
92882
- function hasPath(object, path13, hasFunc) {
92883
- path13 = castPath(path13, object);
92884
- var index = -1, length = path13.length, result = false;
92882
+ function hasPath(object, path14, hasFunc) {
92883
+ path14 = castPath(path14, object);
92884
+ var index = -1, length = path14.length, result = false;
92885
92885
  while (++index < length) {
92886
- var key = toKey(path13[index]);
92886
+ var key = toKey(path14[index]);
92887
92887
  if (!(result = object != null && hasFunc(object, key))) {
92888
92888
  break;
92889
92889
  }
@@ -92904,8 +92904,8 @@ var require_has = __commonJS({
92904
92904
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/has.js"(exports2, module2) {
92905
92905
  var baseHas = require_baseHas();
92906
92906
  var hasPath = require_hasPath();
92907
- function has(object, path13) {
92908
- return object != null && hasPath(object, path13, baseHas);
92907
+ function has(object, path14) {
92908
+ return object != null && hasPath(object, path14, baseHas);
92909
92909
  }
92910
92910
  module2.exports = has;
92911
92911
  }
@@ -92972,14 +92972,14 @@ var require_baseSet = __commonJS({
92972
92972
  var isIndex = require_isIndex();
92973
92973
  var isObject2 = require_isObject2();
92974
92974
  var toKey = require_toKey();
92975
- function baseSet(object, path13, value, customizer) {
92975
+ function baseSet(object, path14, value, customizer) {
92976
92976
  if (!isObject2(object)) {
92977
92977
  return object;
92978
92978
  }
92979
- path13 = castPath(path13, object);
92980
- var index = -1, length = path13.length, lastIndex = length - 1, nested = object;
92979
+ path14 = castPath(path14, object);
92980
+ var index = -1, length = path14.length, lastIndex = length - 1, nested = object;
92981
92981
  while (nested != null && ++index < length) {
92982
- var key = toKey(path13[index]), newValue = value;
92982
+ var key = toKey(path14[index]), newValue = value;
92983
92983
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
92984
92984
  return object;
92985
92985
  }
@@ -92987,7 +92987,7 @@ var require_baseSet = __commonJS({
92987
92987
  var objValue = nested[key];
92988
92988
  newValue = customizer ? customizer(objValue, key, nested) : void 0;
92989
92989
  if (newValue === void 0) {
92990
- newValue = isObject2(objValue) ? objValue : isIndex(path13[index + 1]) ? [] : {};
92990
+ newValue = isObject2(objValue) ? objValue : isIndex(path14[index + 1]) ? [] : {};
92991
92991
  }
92992
92992
  }
92993
92993
  assignValue(nested, key, newValue);
@@ -93003,8 +93003,8 @@ var require_baseSet = __commonJS({
93003
93003
  var require_set = __commonJS({
93004
93004
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/set.js"(exports2, module2) {
93005
93005
  var baseSet = require_baseSet();
93006
- function set(object, path13, value) {
93007
- return object == null ? object : baseSet(object, path13, value);
93006
+ function set(object, path14, value) {
93007
+ return object == null ? object : baseSet(object, path14, value);
93008
93008
  }
93009
93009
  module2.exports = set;
93010
93010
  }
@@ -93867,7 +93867,7 @@ var require_path_to_regexp3 = __commonJS({
93867
93867
  re.keys = keys;
93868
93868
  return re;
93869
93869
  };
93870
- function pathtoRegexp(path13, keys, options) {
93870
+ function pathtoRegexp(path14, keys, options) {
93871
93871
  if (keys && !Array.isArray(keys)) {
93872
93872
  options = keys;
93873
93873
  keys = null;
@@ -93878,8 +93878,8 @@ var require_path_to_regexp3 = __commonJS({
93878
93878
  var end = options.end !== false;
93879
93879
  var flags = options.sensitive ? "" : "i";
93880
93880
  var index = 0;
93881
- if (path13 instanceof RegExp) {
93882
- var groups = path13.source.match(/\((?!\?)/g) || [];
93881
+ if (path14 instanceof RegExp) {
93882
+ var groups = path14.source.match(/\((?!\?)/g) || [];
93883
93883
  keys.push.apply(keys, groups.map(function(match, index2) {
93884
93884
  return {
93885
93885
  name: index2,
@@ -93888,15 +93888,15 @@ var require_path_to_regexp3 = __commonJS({
93888
93888
  repeat: false
93889
93889
  };
93890
93890
  }));
93891
- return attachKeys(path13, keys);
93891
+ return attachKeys(path14, keys);
93892
93892
  }
93893
- if (Array.isArray(path13)) {
93894
- path13 = path13.map(function(value) {
93893
+ if (Array.isArray(path14)) {
93894
+ path14 = path14.map(function(value) {
93895
93895
  return pathtoRegexp(value, keys, options).source;
93896
93896
  });
93897
- return attachKeys(new RegExp("(?:" + path13.join("|") + ")", flags), keys);
93897
+ return attachKeys(new RegExp("(?:" + path14.join("|") + ")", flags), keys);
93898
93898
  }
93899
- path13 = path13.replace(PATH_REGEXP, function(match, escaped, prefix, key, capture, group, suffix, escape2) {
93899
+ path14 = path14.replace(PATH_REGEXP, function(match, escaped, prefix, key, capture, group, suffix, escape2) {
93900
93900
  if (escaped) {
93901
93901
  return escaped;
93902
93902
  }
@@ -93921,14 +93921,14 @@ var require_path_to_regexp3 = __commonJS({
93921
93921
  }
93922
93922
  return prefix + "(" + capture + ")";
93923
93923
  });
93924
- var endsWithSlash = path13[path13.length - 1] === "/";
93924
+ var endsWithSlash = path14[path14.length - 1] === "/";
93925
93925
  if (!strict) {
93926
- path13 = (endsWithSlash ? path13.slice(0, -2) : path13) + "(?:\\/(?=$))?";
93926
+ path14 = (endsWithSlash ? path14.slice(0, -2) : path14) + "(?:\\/(?=$))?";
93927
93927
  }
93928
93928
  if (!end) {
93929
- path13 += strict && endsWithSlash ? "" : "(?=\\/|$)";
93929
+ path14 += strict && endsWithSlash ? "" : "(?=\\/|$)";
93930
93930
  }
93931
- return attachKeys(new RegExp("^" + path13 + (end ? "$" : ""), flags), keys);
93931
+ return attachKeys(new RegExp("^" + path14 + (end ? "$" : ""), flags), keys);
93932
93932
  }
93933
93933
  }
93934
93934
  });
@@ -93941,8 +93941,8 @@ var require_is_route_excluded_util = __commonJS({
93941
93941
  exports2.isRouteExcluded = void 0;
93942
93942
  var pathToRegexp = require_path_to_regexp3();
93943
93943
  var isRouteExcluded = (req, paths = []) => {
93944
- return paths.some((path13) => {
93945
- const re = pathToRegexp(path13);
93944
+ return paths.some((path14) => {
93945
+ const re = pathToRegexp(path14);
93946
93946
  const queryParamsIndex = req.originalUrl.indexOf("?");
93947
93947
  const pathname = queryParamsIndex >= 0 ? req.originalUrl.slice(0, queryParamsIndex) : req.originalUrl;
93948
93948
  if (!re.exec(pathname + "/")) {
@@ -93961,7 +93961,7 @@ var require_validate_path_util = __commonJS({
93961
93961
  "use strict";
93962
93962
  Object.defineProperty(exports2, "__esModule", { value: true });
93963
93963
  exports2.validatePath = void 0;
93964
- var validatePath = (path13) => path13 && path13.charAt(0) !== "/" ? `/${path13}` : path13;
93964
+ var validatePath = (path14) => path14 && path14.charAt(0) !== "/" ? `/${path14}` : path14;
93965
93965
  exports2.validatePath = validatePath;
93966
93966
  }
93967
93967
  });
@@ -94671,7 +94671,7 @@ var require_package3 = __commonJS({
94671
94671
  var require_main4 = __commonJS({
94672
94672
  "../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js"(exports2, module2) {
94673
94673
  var fs14 = __require("fs");
94674
- var path13 = __require("path");
94674
+ var path14 = __require("path");
94675
94675
  var os7 = __require("os");
94676
94676
  var crypto7 = __require("crypto");
94677
94677
  var packageJson = require_package3();
@@ -94787,7 +94787,7 @@ var require_main4 = __commonJS({
94787
94787
  possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
94788
94788
  }
94789
94789
  } else {
94790
- possibleVaultPath = path13.resolve(process.cwd(), ".env.vault");
94790
+ possibleVaultPath = path14.resolve(process.cwd(), ".env.vault");
94791
94791
  }
94792
94792
  if (fs14.existsSync(possibleVaultPath)) {
94793
94793
  return possibleVaultPath;
@@ -94795,7 +94795,7 @@ var require_main4 = __commonJS({
94795
94795
  return null;
94796
94796
  }
94797
94797
  function _resolveHome(envPath) {
94798
- return envPath[0] === "~" ? path13.join(os7.homedir(), envPath.slice(1)) : envPath;
94798
+ return envPath[0] === "~" ? path14.join(os7.homedir(), envPath.slice(1)) : envPath;
94799
94799
  }
94800
94800
  function _configVault(options) {
94801
94801
  const debug3 = Boolean(options && options.debug);
@@ -94812,7 +94812,7 @@ var require_main4 = __commonJS({
94812
94812
  return { parsed };
94813
94813
  }
94814
94814
  function configDotenv(options) {
94815
- const dotenvPath = path13.resolve(process.cwd(), ".env");
94815
+ const dotenvPath = path14.resolve(process.cwd(), ".env");
94816
94816
  let encoding = "utf8";
94817
94817
  const debug3 = Boolean(options && options.debug);
94818
94818
  const quiet = options && "quiet" in options ? options.quiet : true;
@@ -94836,13 +94836,13 @@ var require_main4 = __commonJS({
94836
94836
  }
94837
94837
  let lastError;
94838
94838
  const parsedAll = {};
94839
- for (const path14 of optionPaths) {
94839
+ for (const path15 of optionPaths) {
94840
94840
  try {
94841
- const parsed = DotenvModule.parse(fs14.readFileSync(path14, { encoding }));
94841
+ const parsed = DotenvModule.parse(fs14.readFileSync(path15, { encoding }));
94842
94842
  DotenvModule.populate(parsedAll, parsed, options);
94843
94843
  } catch (e) {
94844
94844
  if (debug3) {
94845
- _debug(`Failed to load ${path14} ${e.message}`);
94845
+ _debug(`Failed to load ${path15} ${e.message}`);
94846
94846
  }
94847
94847
  lastError = e;
94848
94848
  }
@@ -94857,7 +94857,7 @@ var require_main4 = __commonJS({
94857
94857
  const shortPaths = [];
94858
94858
  for (const filePath of optionPaths) {
94859
94859
  try {
94860
- const relative2 = path13.relative(process.cwd(), filePath);
94860
+ const relative2 = path14.relative(process.cwd(), filePath);
94861
94861
  shortPaths.push(relative2);
94862
94862
  } catch (e) {
94863
94863
  if (debug3) {
@@ -113256,12 +113256,12 @@ var require_query3 = __commonJS({
113256
113256
  this._fields.push([]);
113257
113257
  return this.readField;
113258
113258
  }
113259
- _streamLocalInfile(connection, path13) {
113259
+ _streamLocalInfile(connection, path14) {
113260
113260
  if (this._streamFactory) {
113261
- this._localStream = this._streamFactory(path13);
113261
+ this._localStream = this._streamFactory(path14);
113262
113262
  } else {
113263
113263
  this._localStreamError = new Error(
113264
- `As a result of LOCAL INFILE command server wants to read ${path13} file, but as of v2.0 you must provide streamFactory option returning ReadStream.`
113264
+ `As a result of LOCAL INFILE command server wants to read ${path14} file, but as of v2.0 you must provide streamFactory option returning ReadStream.`
113265
113265
  );
113266
113266
  connection.writePacket(EmptyPacket);
113267
113267
  return this.infileOk;
@@ -114718,7 +114718,7 @@ var require_named_placeholders = __commonJS({
114718
114718
  }
114719
114719
  return s;
114720
114720
  }
114721
- function join16(tree) {
114721
+ function join17(tree) {
114722
114722
  if (tree.length === 1) {
114723
114723
  return tree;
114724
114724
  }
@@ -114744,7 +114744,7 @@ var require_named_placeholders = __commonJS({
114744
114744
  if (cache && (tree = cache.get(query))) {
114745
114745
  return toArrayParams(tree, paramsObj);
114746
114746
  }
114747
- tree = join16(parse2(query));
114747
+ tree = join17(parse2(query));
114748
114748
  if (cache) {
114749
114749
  cache.set(query, tree);
114750
114750
  }
@@ -117497,8 +117497,8 @@ var require_PlatformTools = __commonJS({
117497
117497
  static appendFileSync(filename, data) {
117498
117498
  fs_1.default.appendFileSync(filename, data);
117499
117499
  }
117500
- static async writeFile(path13, data) {
117501
- return fs_1.default.promises.writeFile(path13, data);
117500
+ static async writeFile(path14, data) {
117501
+ return fs_1.default.promises.writeFile(path14, data);
117502
117502
  }
117503
117503
  /**
117504
117504
  * Loads a dotenv file into the environment variables.
@@ -117584,16 +117584,16 @@ var require_PlatformTools = __commonJS({
117584
117584
  var require_resolve = __commonJS({
117585
117585
  "../../node_modules/.pnpm/app-root-path@3.1.0/node_modules/app-root-path/lib/resolve.js"(exports2, module2) {
117586
117586
  "use strict";
117587
- var path13 = __require("path");
117587
+ var path14 = __require("path");
117588
117588
  var globalPaths = __require("module").globalPaths;
117589
117589
  var npmGlobalPrefix;
117590
117590
  if ("win32" === process.platform) {
117591
- npmGlobalPrefix = path13.dirname(process.execPath);
117591
+ npmGlobalPrefix = path14.dirname(process.execPath);
117592
117592
  } else {
117593
- npmGlobalPrefix = path13.dirname(path13.dirname(process.execPath));
117593
+ npmGlobalPrefix = path14.dirname(path14.dirname(process.execPath));
117594
117594
  }
117595
- var npmGlobalModuleDir = path13.resolve(npmGlobalPrefix, "lib", "node_modules");
117596
- var sep3 = path13.sep;
117595
+ var npmGlobalModuleDir = path14.resolve(npmGlobalPrefix, "lib", "node_modules");
117596
+ var sep3 = path14.sep;
117597
117597
  var requireFunction = "function" === typeof __webpack_require__ || "function" === typeof __non_webpack_require__ ? __non_webpack_require__ : __require;
117598
117598
  var isInstalledWithPNPM = function(resolved) {
117599
117599
  const pnpmDir = sep3 + ".pnpm";
@@ -117616,7 +117616,7 @@ var require_resolve = __commonJS({
117616
117616
  };
117617
117617
  module2.exports = function resolve7(dirname7) {
117618
117618
  if (process.env.APP_ROOT_PATH) {
117619
- return path13.resolve(process.env.APP_ROOT_PATH);
117619
+ return path14.resolve(process.env.APP_ROOT_PATH);
117620
117620
  }
117621
117621
  if (process.versions.pnp) {
117622
117622
  try {
@@ -117635,7 +117635,7 @@ var require_resolve = __commonJS({
117635
117635
  if (process.env.LAMBDA_TASK_ROOT && process.env.AWS_EXECUTION_ENV) {
117636
117636
  return process.env.LAMBDA_TASK_ROOT;
117637
117637
  }
117638
- var resolved = path13.resolve(dirname7);
117638
+ var resolved = path14.resolve(dirname7);
117639
117639
  var alternateMethod = false;
117640
117640
  var appRootPath = null;
117641
117641
  if (isInstalledWithPNPM(resolved)) {
@@ -117654,9 +117654,9 @@ var require_resolve = __commonJS({
117654
117654
  }
117655
117655
  if (alternateMethod || null == appRootPath) {
117656
117656
  if (requireFunction.main) {
117657
- appRootPath = path13.dirname(requireFunction.main.filename);
117657
+ appRootPath = path14.dirname(requireFunction.main.filename);
117658
117658
  } else {
117659
- appRootPath = path13.dirname(process.argv[1]);
117659
+ appRootPath = path14.dirname(process.argv[1]);
117660
117660
  }
117661
117661
  }
117662
117662
  if (alternateMethod && -1 !== appRootPath.indexOf(npmGlobalModuleDir) && appRootPath.length - 4 === appRootPath.indexOf(sep3 + "bin")) {
@@ -117672,12 +117672,12 @@ var require_app_root_path = __commonJS({
117672
117672
  "../../node_modules/.pnpm/app-root-path@3.1.0/node_modules/app-root-path/lib/app-root-path.js"(exports2, module2) {
117673
117673
  "use strict";
117674
117674
  module2.exports = function(dirname7) {
117675
- var path13 = __require("path");
117675
+ var path14 = __require("path");
117676
117676
  var resolve7 = require_resolve();
117677
117677
  var appRootPath = resolve7(dirname7);
117678
117678
  var publicInterface = {
117679
117679
  resolve: function(pathToModule) {
117680
- return path13.join(appRootPath, pathToModule);
117680
+ return path14.join(appRootPath, pathToModule);
117681
117681
  },
117682
117682
  require: function(pathToModule) {
117683
117683
  return __require(publicInterface.resolve(pathToModule));
@@ -117686,7 +117686,7 @@ var require_app_root_path = __commonJS({
117686
117686
  return appRootPath;
117687
117687
  },
117688
117688
  setPath: function(explicitlySetPath) {
117689
- appRootPath = path13.resolve(explicitlySetPath);
117689
+ appRootPath = path14.resolve(explicitlySetPath);
117690
117690
  publicInterface.path = appRootPath;
117691
117691
  },
117692
117692
  path: appRootPath
@@ -118349,8 +118349,8 @@ var require_CircularRelationsError = __commonJS({
118349
118349
  exports2.CircularRelationsError = void 0;
118350
118350
  var TypeORMError_1 = require_TypeORMError();
118351
118351
  var CircularRelationsError2 = class extends TypeORMError_1.TypeORMError {
118352
- constructor(path13) {
118353
- super(`Circular relations detected: ${path13}. To resolve this issue you need to set nullable: true somewhere in this dependency structure.`);
118352
+ constructor(path14) {
118353
+ super(`Circular relations detected: ${path14}. To resolve this issue you need to set nullable: true somewhere in this dependency structure.`);
118354
118354
  }
118355
118355
  };
118356
118356
  exports2.CircularRelationsError = CircularRelationsError2;
@@ -119040,13 +119040,13 @@ var require_ImportUtils = __commonJS({
119040
119040
  var packageJsonCache = /* @__PURE__ */ new Map();
119041
119041
  var MAX_CACHE_SIZE = 1e3;
119042
119042
  function setPackageJsonCache(paths, packageJson) {
119043
- for (const path13 of paths) {
119044
- if (packageJsonCache.size >= MAX_CACHE_SIZE && !packageJsonCache.has(path13)) {
119043
+ for (const path14 of paths) {
119044
+ if (packageJsonCache.size >= MAX_CACHE_SIZE && !packageJsonCache.has(path14)) {
119045
119045
  const firstKey = packageJsonCache.keys().next().value;
119046
119046
  if (firstKey)
119047
119047
  packageJsonCache.delete(firstKey);
119048
119048
  }
119049
- packageJsonCache.set(path13, packageJson);
119049
+ packageJsonCache.set(path14, packageJson);
119050
119050
  }
119051
119051
  }
119052
119052
  async function getNearestPackageJson(filePath) {
@@ -120869,8 +120869,8 @@ var require_OrmUtils = __commonJS({
120869
120869
  /**
120870
120870
  * Gets deeper value of object.
120871
120871
  */
120872
- static deepValue(obj, path13) {
120873
- const segments = path13.split(".");
120872
+ static deepValue(obj, path14) {
120873
+ const segments = path14.split(".");
120874
120874
  for (let i = 0, len = segments.length; i < len; i++) {
120875
120875
  obj = obj[segments[i]];
120876
120876
  }
@@ -120889,8 +120889,8 @@ var require_OrmUtils = __commonJS({
120889
120889
  }
120890
120890
  static propertyPathsToTruthyObject(paths) {
120891
120891
  const obj = {};
120892
- for (const path13 of paths) {
120893
- const props = path13.split(".");
120892
+ for (const path14 of paths) {
120893
+ const props = path14.split(".");
120894
120894
  if (!props.length)
120895
120895
  continue;
120896
120896
  if (!obj[props[0]] || obj[props[0]] === true) {
@@ -121164,11 +121164,11 @@ var require_OrmUtils = __commonJS({
121164
121164
  * @param options
121165
121165
  * @param path
121166
121166
  */
121167
- static normalizeWhereCriteria(criteria, options, path13) {
121167
+ static normalizeWhereCriteria(criteria, options, path14) {
121168
121168
  if (!options) {
121169
121169
  return criteria;
121170
121170
  }
121171
- if (!path13 && Array.isArray(criteria)) {
121171
+ if (!path14 && Array.isArray(criteria)) {
121172
121172
  return criteria.map((criterion, index) => _OrmUtils.normalizeWhereCriteria(criterion, options, String(index)));
121173
121173
  }
121174
121174
  if (!_OrmUtils.isPlainObject(criteria)) {
@@ -121178,7 +121178,7 @@ var require_OrmUtils = __commonJS({
121178
121178
  for (const [key, value] of Object.entries(criteria)) {
121179
121179
  if (key === "__proto__")
121180
121180
  continue;
121181
- const propertyPath = path13 ? `${path13}.${key}` : key;
121181
+ const propertyPath = path14 ? `${path14}.${key}` : key;
121182
121182
  if (value === void 0) {
121183
121183
  const behavior = options.undefined || "ignore";
121184
121184
  if (behavior === "throw") {
@@ -122260,7 +122260,7 @@ var require_QueryExpressionMap = __commonJS({
122260
122260
  map2.onConflict = this.onConflict;
122261
122261
  map2.onIgnore = this.onIgnore;
122262
122262
  map2.onUpdate = this.onUpdate;
122263
- map2.joinAttributes = this.joinAttributes.map((join16) => new JoinAttribute_1.JoinAttribute(this.connection, this, join16));
122263
+ map2.joinAttributes = this.joinAttributes.map((join17) => new JoinAttribute_1.JoinAttribute(this.connection, this, join17));
122264
122264
  map2.relationIdAttributes = this.relationIdAttributes.map((relationId) => new RelationIdAttribute_1.RelationIdAttribute(this, relationId));
122265
122265
  map2.relationCountAttributes = this.relationCountAttributes.map((relationCount) => new RelationCountAttribute_1.RelationCountAttribute(this, relationCount));
122266
122266
  map2.wheres = this.wheres.map((where) => ({ ...where }));
@@ -123104,41 +123104,41 @@ var require_QueryBuilder = __commonJS({
123104
123104
  createPropertyPath(metadata, entity, prefix = "") {
123105
123105
  const paths = [];
123106
123106
  for (const key of Object.keys(entity)) {
123107
- const path13 = prefix ? `${prefix}.${key}` : key;
123107
+ const path14 = prefix ? `${prefix}.${key}` : key;
123108
123108
  if (entity[key] === null || typeof entity[key] !== "object" || InstanceChecker_1.InstanceChecker.isFindOperator(entity[key])) {
123109
- paths.push(path13);
123109
+ paths.push(path14);
123110
123110
  continue;
123111
123111
  }
123112
- if (metadata.hasEmbeddedWithPropertyPath(path13)) {
123113
- const subPaths = this.createPropertyPath(metadata, entity[key], path13);
123112
+ if (metadata.hasEmbeddedWithPropertyPath(path14)) {
123113
+ const subPaths = this.createPropertyPath(metadata, entity[key], path14);
123114
123114
  paths.push(...subPaths);
123115
123115
  continue;
123116
123116
  }
123117
- if (metadata.hasRelationWithPropertyPath(path13)) {
123118
- const relation = metadata.findRelationWithPropertyPath(path13);
123117
+ if (metadata.hasRelationWithPropertyPath(path14)) {
123118
+ const relation = metadata.findRelationWithPropertyPath(path14);
123119
123119
  if (relation.relationType === "one-to-one" || relation.relationType === "many-to-one") {
123120
123120
  const joinColumns = relation.joinColumns.map((j) => j.referencedColumn).filter((j) => !!j);
123121
123121
  const hasAllJoinColumns = joinColumns.length > 0 && joinColumns.every((column) => column.getEntityValue(entity[key], false));
123122
123122
  if (hasAllJoinColumns) {
123123
- paths.push(path13);
123123
+ paths.push(path14);
123124
123124
  continue;
123125
123125
  }
123126
123126
  }
123127
123127
  if (relation.relationType === "one-to-many" || relation.relationType === "many-to-many") {
123128
- throw new Error(`Cannot query across ${relation.relationType} for property ${path13}`);
123128
+ throw new Error(`Cannot query across ${relation.relationType} for property ${path14}`);
123129
123129
  }
123130
123130
  const primaryColumns = relation.inverseEntityMetadata.primaryColumns;
123131
123131
  const hasAllPrimaryKeys = primaryColumns.length > 0 && primaryColumns.every((column) => column.getEntityValue(entity[key], false));
123132
123132
  if (hasAllPrimaryKeys) {
123133
- const subPaths2 = primaryColumns.map((column) => `${path13}.${column.propertyPath}`);
123133
+ const subPaths2 = primaryColumns.map((column) => `${path14}.${column.propertyPath}`);
123134
123134
  paths.push(...subPaths2);
123135
123135
  continue;
123136
123136
  }
123137
- const subPaths = this.createPropertyPath(relation.inverseEntityMetadata, entity[key]).map((p) => `${path13}.${p}`);
123137
+ const subPaths = this.createPropertyPath(relation.inverseEntityMetadata, entity[key]).map((p) => `${path14}.${p}`);
123138
123138
  paths.push(...subPaths);
123139
123139
  continue;
123140
123140
  }
123141
- paths.push(path13);
123141
+ paths.push(path14);
123142
123142
  }
123143
123143
  return paths;
123144
123144
  }
@@ -125485,29 +125485,29 @@ var require_RawSqlResultsToEntityTransformer = __commonJS({
125485
125485
  */
125486
125486
  transformJoins(rawResults, entity, alias, metadata) {
125487
125487
  let hasData = false;
125488
- for (const join16 of this.expressionMap.joinAttributes) {
125489
- if (!join16.metadata)
125488
+ for (const join17 of this.expressionMap.joinAttributes) {
125489
+ if (!join17.metadata)
125490
125490
  continue;
125491
- if (!join16.isSelected)
125491
+ if (!join17.isSelected)
125492
125492
  continue;
125493
- if (join16.relation && !metadata.relations.find((relation) => relation === join16.relation))
125493
+ if (join17.relation && !metadata.relations.find((relation) => relation === join17.relation))
125494
125494
  continue;
125495
- if (join16.mapToProperty) {
125496
- if (join16.mapToPropertyParentAlias !== alias.name)
125495
+ if (join17.mapToProperty) {
125496
+ if (join17.mapToPropertyParentAlias !== alias.name)
125497
125497
  continue;
125498
125498
  } else {
125499
- if (!join16.relation || join16.parentAlias !== alias.name || join16.relationPropertyPath !== join16.relation.propertyPath)
125499
+ if (!join17.relation || join17.parentAlias !== alias.name || join17.relationPropertyPath !== join17.relation.propertyPath)
125500
125500
  continue;
125501
125501
  }
125502
- let result = this.transform(rawResults, join16.alias);
125503
- result = !join16.isMany ? result[0] : result;
125504
- result = !join16.isMany && result === void 0 ? null : result;
125502
+ let result = this.transform(rawResults, join17.alias);
125503
+ result = !join17.isMany ? result[0] : result;
125504
+ result = !join17.isMany && result === void 0 ? null : result;
125505
125505
  if (result === void 0)
125506
125506
  continue;
125507
- if (join16.mapToPropertyPropertyName) {
125508
- entity[join16.mapToPropertyPropertyName] = result;
125507
+ if (join17.mapToPropertyPropertyName) {
125508
+ entity[join17.mapToPropertyPropertyName] = result;
125509
125509
  } else {
125510
- join16.relation.setEntityValue(entity, result);
125510
+ join17.relation.setEntityValue(entity, result);
125511
125511
  }
125512
125512
  hasData = true;
125513
125513
  }
@@ -126247,11 +126247,11 @@ var require_RelationIdMetadataToAttributeTransformer = __commonJS({
126247
126247
  this.expressionMap.relationIdAttributes.push(attribute);
126248
126248
  });
126249
126249
  }
126250
- this.expressionMap.joinAttributes.forEach((join16) => {
126251
- if (!join16.metadata || join16.metadata.isJunction)
126250
+ this.expressionMap.joinAttributes.forEach((join17) => {
126251
+ if (!join17.metadata || join17.metadata.isJunction)
126252
126252
  return;
126253
- join16.metadata.relationIds.forEach((relationId) => {
126254
- const attribute = this.metadataToAttribute(join16.alias.name, relationId);
126253
+ join17.metadata.relationIds.forEach((relationId) => {
126254
+ const attribute = this.metadataToAttribute(join17.alias.name, relationId);
126255
126255
  this.expressionMap.relationIdAttributes.push(attribute);
126256
126256
  });
126257
126257
  });
@@ -126389,11 +126389,11 @@ var require_RelationCountMetadataToAttributeTransformer = __commonJS({
126389
126389
  this.expressionMap.relationCountAttributes.push(attribute);
126390
126390
  });
126391
126391
  }
126392
- this.expressionMap.joinAttributes.forEach((join16) => {
126393
- if (!join16.metadata || join16.metadata.isJunction)
126392
+ this.expressionMap.joinAttributes.forEach((join17) => {
126393
+ if (!join17.metadata || join17.metadata.isJunction)
126394
126394
  return;
126395
- join16.metadata.relationCounts.forEach((relationCount) => {
126396
- const attribute = this.metadataToAttribute(join16.alias.name, relationCount);
126395
+ join17.metadata.relationCounts.forEach((relationCount) => {
126396
+ const attribute = this.metadataToAttribute(join17.alias.name, relationCount);
126397
126397
  this.expressionMap.relationCountAttributes.push(attribute);
126398
126398
  });
126399
126399
  });
@@ -126490,9 +126490,9 @@ var require_FindOptionsUtils = __commonJS({
126490
126490
  relationMetadata = relation.inverseEntityMetadata;
126491
126491
  relationName = relationAlias;
126492
126492
  } else {
126493
- const join16 = qb.expressionMap.joinAttributes.find((join17) => join17.entityOrProperty === selection);
126494
- relationMetadata = join16.metadata;
126495
- relationName = join16.alias.name;
126493
+ const join17 = qb.expressionMap.joinAttributes.find((join18) => join18.entityOrProperty === selection);
126494
+ relationMetadata = join17.metadata;
126495
+ relationName = join17.alias.name;
126496
126496
  }
126497
126497
  if (!relationName || !relationMetadata) {
126498
126498
  throw new error_2.EntityPropertyNotFoundError(relation.propertyPath, metadata);
@@ -126510,12 +126510,12 @@ var require_FindOptionsUtils = __commonJS({
126510
126510
  metadata.eagerRelations.forEach((relation) => {
126511
126511
  let relationAlias = DriverUtils_1.DriverUtils.buildAlias(qb.connection.driver, { joiner: "__" }, alias, relation.propertyName);
126512
126512
  let addJoin = true;
126513
- for (const join16 of qb.expressionMap.joinAttributes) {
126514
- if (join16.condition !== void 0 || join16.mapToProperty !== void 0 || join16.isMappingMany !== void 0 || join16.direction !== "LEFT" || join16.entityOrProperty !== `${alias}.${relation.propertyPath}`) {
126513
+ for (const join17 of qb.expressionMap.joinAttributes) {
126514
+ if (join17.condition !== void 0 || join17.mapToProperty !== void 0 || join17.isMappingMany !== void 0 || join17.direction !== "LEFT" || join17.entityOrProperty !== `${alias}.${relation.propertyPath}`) {
126515
126515
  continue;
126516
126516
  }
126517
126517
  addJoin = false;
126518
- relationAlias = join16.alias.name;
126518
+ relationAlias = join17.alias.name;
126519
126519
  break;
126520
126520
  }
126521
126521
  const joinAlreadyAdded = Boolean(qb.expressionMap.joinAttributes.find((joinAttribute) => joinAttribute.alias.name === relationAlias));
@@ -127480,17 +127480,17 @@ var require_SelectQueryBuilder = __commonJS({
127480
127480
  allSelects.push(...this.buildEscapedEntityColumnSelects(this.expressionMap.mainAlias.name, metadata));
127481
127481
  excludedSelects.push(...this.findEntityColumnSelects(this.expressionMap.mainAlias.name, metadata));
127482
127482
  }
127483
- this.expressionMap.joinAttributes.forEach((join16) => {
127484
- if (join16.metadata) {
127485
- allSelects.push(...this.buildEscapedEntityColumnSelects(join16.alias.name, join16.metadata));
127486
- excludedSelects.push(...this.findEntityColumnSelects(join16.alias.name, join16.metadata));
127483
+ this.expressionMap.joinAttributes.forEach((join17) => {
127484
+ if (join17.metadata) {
127485
+ allSelects.push(...this.buildEscapedEntityColumnSelects(join17.alias.name, join17.metadata));
127486
+ excludedSelects.push(...this.findEntityColumnSelects(join17.alias.name, join17.metadata));
127487
127487
  } else {
127488
- const hasMainAlias = this.expressionMap.selects.some((select2) => select2.selection === join16.alias.name);
127488
+ const hasMainAlias = this.expressionMap.selects.some((select2) => select2.selection === join17.alias.name);
127489
127489
  if (hasMainAlias) {
127490
127490
  allSelects.push({
127491
- selection: this.escape(join16.alias.name) + ".*"
127491
+ selection: this.escape(join17.alias.name) + ".*"
127492
127492
  });
127493
- const excludedSelect = this.expressionMap.selects.find((select2) => select2.selection === join16.alias.name);
127493
+ const excludedSelect = this.expressionMap.selects.find((select2) => select2.selection === join17.alias.name);
127494
127494
  excludedSelects.push(excludedSelect);
127495
127495
  }
127496
127496
  }
@@ -127947,18 +127947,18 @@ var require_SelectQueryBuilder = __commonJS({
127947
127947
  this.buildOrder(this.findOptions.order, this.expressionMap.mainAlias.metadata, this.expressionMap.mainAlias.name);
127948
127948
  }
127949
127949
  if (this.joins.length) {
127950
- this.joins.forEach((join16) => {
127951
- if (join16.select && !join16.selection) {
127952
- if (join16.type === "inner") {
127953
- this.innerJoinAndSelect(`${join16.parentAlias}.${join16.relationMetadata.propertyPath}`, join16.alias);
127950
+ this.joins.forEach((join17) => {
127951
+ if (join17.select && !join17.selection) {
127952
+ if (join17.type === "inner") {
127953
+ this.innerJoinAndSelect(`${join17.parentAlias}.${join17.relationMetadata.propertyPath}`, join17.alias);
127954
127954
  } else {
127955
- this.leftJoinAndSelect(`${join16.parentAlias}.${join16.relationMetadata.propertyPath}`, join16.alias);
127955
+ this.leftJoinAndSelect(`${join17.parentAlias}.${join17.relationMetadata.propertyPath}`, join17.alias);
127956
127956
  }
127957
127957
  } else {
127958
- if (join16.type === "inner") {
127959
- this.innerJoin(`${join16.parentAlias}.${join16.relationMetadata.propertyPath}`, join16.alias);
127958
+ if (join17.type === "inner") {
127959
+ this.innerJoin(`${join17.parentAlias}.${join17.relationMetadata.propertyPath}`, join17.alias);
127960
127960
  } else {
127961
- this.leftJoin(`${join16.parentAlias}.${join16.relationMetadata.propertyPath}`, join16.alias);
127961
+ this.leftJoin(`${join17.parentAlias}.${join17.relationMetadata.propertyPath}`, join17.alias);
127962
127962
  }
127963
127963
  }
127964
127964
  });
@@ -128305,7 +128305,7 @@ var require_SelectQueryBuilder = __commonJS({
128305
128305
  relation.inverseEntityMetadata.eagerRelations.forEach((eagerRelation) => {
128306
128306
  let eagerRelationJoinAlias = joinAlias + "_" + eagerRelation.propertyPath.replace(".", "_");
128307
128307
  eagerRelationJoinAlias = DriverUtils_1.DriverUtils.buildAlias(this.connection.driver, { joiner: "__" }, joinAlias, eagerRelationJoinAlias);
128308
- const existJoin = this.joins.find((join16) => join16.alias === eagerRelationJoinAlias);
128308
+ const existJoin = this.joins.find((join17) => join17.alias === eagerRelationJoinAlias);
128309
128309
  if (!existJoin) {
128310
128310
  this.joins.push({
128311
128311
  type: "left",
@@ -128349,7 +128349,7 @@ var require_SelectQueryBuilder = __commonJS({
128349
128349
  } else if (relation) {
128350
128350
  let joinAlias = alias + "_" + propertyPath.replace(".", "_");
128351
128351
  joinAlias = DriverUtils_1.DriverUtils.buildAlias(this.connection.driver, { joiner: "__" }, alias, joinAlias);
128352
- const existJoin = this.joins.find((join16) => join16.alias === joinAlias);
128352
+ const existJoin = this.joins.find((join17) => join17.alias === joinAlias);
128353
128353
  if (!existJoin) {
128354
128354
  this.joins.push({
128355
128355
  type: "left",
@@ -128489,7 +128489,7 @@ var require_SelectQueryBuilder = __commonJS({
128489
128489
  } else {
128490
128490
  let joinAlias = alias + "_" + relation.propertyPath.replace(".", "_");
128491
128491
  joinAlias = DriverUtils_1.DriverUtils.buildAlias(this.connection.driver, { joiner: "__" }, alias, joinAlias);
128492
- const existJoin = this.joins.find((join16) => join16.alias === joinAlias);
128492
+ const existJoin = this.joins.find((join17) => join17.alias === joinAlias);
128493
128493
  if (!existJoin) {
128494
128494
  this.joins.push({
128495
128495
  type: "left",
@@ -133814,8 +133814,8 @@ var require_EntityMetadata = __commonJS({
133814
133814
  const subPaths = this.createPropertyPath(metadata, entity[key], parentPath);
133815
133815
  paths.push(...subPaths);
133816
133816
  } else {
133817
- const path13 = prefix ? prefix + "." + key : key;
133818
- paths.push(path13);
133817
+ const path14 = prefix ? prefix + "." + key : key;
133818
+ paths.push(path14);
133819
133819
  }
133820
133820
  });
133821
133821
  return paths;
@@ -148610,8 +148610,8 @@ var require_AbstractSqliteDriver = __commonJS({
148610
148610
  hasAttachedDatabases() {
148611
148611
  return !!Object.keys(this.attachedDatabases).length;
148612
148612
  }
148613
- getAttachedDatabaseHandleByRelativePath(path13) {
148614
- return this.attachedDatabases?.[path13]?.attachHandle;
148613
+ getAttachedDatabaseHandleByRelativePath(path14) {
148614
+ return this.attachedDatabases?.[path14]?.attachHandle;
148615
148615
  }
148616
148616
  getAttachedDatabasePathRelativeByHandle(handle) {
148617
148617
  return Object.values(this.attachedDatabases).find(({ attachHandle }) => handle === attachHandle)?.attachFilepathRelative;
@@ -149619,8 +149619,8 @@ var require_ReactNativeDriver = __commonJS({
149619
149619
  hasAttachedDatabases() {
149620
149620
  return !!Object.keys(this.attachedDatabases).length;
149621
149621
  }
149622
- getAttachedDatabaseHandleByRelativePath(path13) {
149623
- return this.attachedDatabases?.[path13]?.attachHandle;
149622
+ getAttachedDatabaseHandleByRelativePath(path14) {
149623
+ return this.attachedDatabases?.[path14]?.attachHandle;
149624
149624
  }
149625
149625
  getAttachedDatabasePathRelativeByHandle(handle) {
149626
149626
  return Object.values(this.attachedDatabases).find(({ attachHandle }) => handle === attachHandle)?.attachFilepathRelative;
@@ -150381,16 +150381,16 @@ var require_SqljsDriver = __commonJS({
150381
150381
  if (!location && !this.options.location) {
150382
150382
  throw new error_1.TypeORMError(`No location is set, specify a location parameter or add the location option to your configuration`);
150383
150383
  }
150384
- let path13 = "";
150384
+ let path14 = "";
150385
150385
  if (location) {
150386
- path13 = location;
150386
+ path14 = location;
150387
150387
  } else if (this.options.location) {
150388
- path13 = this.options.location;
150388
+ path14 = this.options.location;
150389
150389
  }
150390
150390
  if (PlatformTools_1.PlatformTools.type === "node") {
150391
150391
  try {
150392
150392
  const content = Buffer.from(this.databaseConnection.export());
150393
- await PlatformTools_1.PlatformTools.writeFile(path13, content);
150393
+ await PlatformTools_1.PlatformTools.writeFile(path14, content);
150394
150394
  } catch (e) {
150395
150395
  throw new error_1.TypeORMError(`Could not save database, error: ${e}`);
150396
150396
  }
@@ -150399,12 +150399,12 @@ var require_SqljsDriver = __commonJS({
150399
150399
  const databaseArray = [].slice.call(database);
150400
150400
  if (this.options.useLocalForage) {
150401
150401
  if (window.localforage) {
150402
- await window.localforage.setItem(path13, JSON.stringify(databaseArray));
150402
+ await window.localforage.setItem(path14, JSON.stringify(databaseArray));
150403
150403
  } else {
150404
150404
  throw new error_1.TypeORMError(`localforage is not defined - please import localforage.js into your site`);
150405
150405
  }
150406
150406
  } else {
150407
- PlatformTools_1.PlatformTools.getGlobalVariable().localStorage.setItem(path13, JSON.stringify(databaseArray));
150407
+ PlatformTools_1.PlatformTools.getGlobalVariable().localStorage.setItem(path14, JSON.stringify(databaseArray));
150408
150408
  }
150409
150409
  }
150410
150410
  }
@@ -164250,11 +164250,11 @@ var require_commonjs = __commonJS({
164250
164250
  return (f) => f.length === len && f !== "." && f !== "..";
164251
164251
  };
164252
164252
  var defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
164253
- var path13 = {
164253
+ var path14 = {
164254
164254
  win32: { sep: "\\" },
164255
164255
  posix: { sep: "/" }
164256
164256
  };
164257
- exports2.sep = defaultPlatform === "win32" ? path13.win32.sep : path13.posix.sep;
164257
+ exports2.sep = defaultPlatform === "win32" ? path14.win32.sep : path14.posix.sep;
164258
164258
  exports2.minimatch.sep = exports2.sep;
164259
164259
  exports2.GLOBSTAR = Symbol("globstar **");
164260
164260
  exports2.minimatch.GLOBSTAR = exports2.GLOBSTAR;
@@ -167576,12 +167576,12 @@ var require_commonjs4 = __commonJS({
167576
167576
  /**
167577
167577
  * Get the Path object referenced by the string path, resolved from this Path
167578
167578
  */
167579
- resolve(path13) {
167580
- if (!path13) {
167579
+ resolve(path14) {
167580
+ if (!path14) {
167581
167581
  return this;
167582
167582
  }
167583
- const rootPath = this.getRootString(path13);
167584
- const dir = path13.substring(rootPath.length);
167583
+ const rootPath = this.getRootString(path14);
167584
+ const dir = path14.substring(rootPath.length);
167585
167585
  const dirParts = dir.split(this.splitSep);
167586
167586
  const result = rootPath ? this.getRoot(rootPath).#resolveParts(dirParts) : this.#resolveParts(dirParts);
167587
167587
  return result;
@@ -168334,8 +168334,8 @@ var require_commonjs4 = __commonJS({
168334
168334
  /**
168335
168335
  * @internal
168336
168336
  */
168337
- getRootString(path13) {
168338
- return node_path_1.win32.parse(path13).root;
168337
+ getRootString(path14) {
168338
+ return node_path_1.win32.parse(path14).root;
168339
168339
  }
168340
168340
  /**
168341
168341
  * @internal
@@ -168382,8 +168382,8 @@ var require_commonjs4 = __commonJS({
168382
168382
  /**
168383
168383
  * @internal
168384
168384
  */
168385
- getRootString(path13) {
168386
- return path13.startsWith("/") ? "/" : "";
168385
+ getRootString(path14) {
168386
+ return path14.startsWith("/") ? "/" : "";
168387
168387
  }
168388
168388
  /**
168389
168389
  * @internal
@@ -168473,11 +168473,11 @@ var require_commonjs4 = __commonJS({
168473
168473
  /**
168474
168474
  * Get the depth of a provided path, string, or the cwd
168475
168475
  */
168476
- depth(path13 = this.cwd) {
168477
- if (typeof path13 === "string") {
168478
- path13 = this.cwd.resolve(path13);
168476
+ depth(path14 = this.cwd) {
168477
+ if (typeof path14 === "string") {
168478
+ path14 = this.cwd.resolve(path14);
168479
168479
  }
168480
- return path13.depth();
168480
+ return path14.depth();
168481
168481
  }
168482
168482
  /**
168483
168483
  * Return the cache of child entries. Exposed so subclasses can create
@@ -168964,9 +168964,9 @@ var require_commonjs4 = __commonJS({
168964
168964
  process2();
168965
168965
  return results;
168966
168966
  }
168967
- chdir(path13 = this.cwd) {
168967
+ chdir(path14 = this.cwd) {
168968
168968
  const oldCwd = this.cwd;
168969
- this.cwd = typeof path13 === "string" ? this.cwd.resolve(path13) : path13;
168969
+ this.cwd = typeof path14 === "string" ? this.cwd.resolve(path14) : path14;
168970
168970
  this.cwd[setAsCwd](oldCwd);
168971
168971
  }
168972
168972
  };
@@ -169354,8 +169354,8 @@ var require_processor = __commonJS({
169354
169354
  }
169355
169355
  // match, absolute, ifdir
169356
169356
  entries() {
169357
- return [...this.store.entries()].map(([path13, n]) => [
169358
- path13,
169357
+ return [...this.store.entries()].map(([path14, n]) => [
169358
+ path14,
169359
169359
  !!(n & 2),
169360
169360
  !!(n & 1)
169361
169361
  ]);
@@ -169573,9 +169573,9 @@ var require_walker = __commonJS({
169573
169573
  signal;
169574
169574
  maxDepth;
169575
169575
  includeChildMatches;
169576
- constructor(patterns, path13, opts) {
169576
+ constructor(patterns, path14, opts) {
169577
169577
  this.patterns = patterns;
169578
- this.path = path13;
169578
+ this.path = path14;
169579
169579
  this.opts = opts;
169580
169580
  this.#sep = !opts.posix && opts.platform === "win32" ? "\\" : "/";
169581
169581
  this.includeChildMatches = opts.includeChildMatches !== false;
@@ -169594,11 +169594,11 @@ var require_walker = __commonJS({
169594
169594
  });
169595
169595
  }
169596
169596
  }
169597
- #ignored(path13) {
169598
- return this.seen.has(path13) || !!this.#ignore?.ignored?.(path13);
169597
+ #ignored(path14) {
169598
+ return this.seen.has(path14) || !!this.#ignore?.ignored?.(path14);
169599
169599
  }
169600
- #childrenIgnored(path13) {
169601
- return !!this.#ignore?.childrenIgnored?.(path13);
169600
+ #childrenIgnored(path14) {
169601
+ return !!this.#ignore?.childrenIgnored?.(path14);
169602
169602
  }
169603
169603
  // backpressure mechanism
169604
169604
  pause() {
@@ -169814,8 +169814,8 @@ var require_walker = __commonJS({
169814
169814
  exports2.GlobUtil = GlobUtil;
169815
169815
  var GlobWalker = class extends GlobUtil {
169816
169816
  matches = /* @__PURE__ */ new Set();
169817
- constructor(patterns, path13, opts) {
169818
- super(patterns, path13, opts);
169817
+ constructor(patterns, path14, opts) {
169818
+ super(patterns, path14, opts);
169819
169819
  }
169820
169820
  matchEmit(e) {
169821
169821
  this.matches.add(e);
@@ -169853,8 +169853,8 @@ var require_walker = __commonJS({
169853
169853
  exports2.GlobWalker = GlobWalker;
169854
169854
  var GlobStream = class extends GlobUtil {
169855
169855
  results;
169856
- constructor(patterns, path13, opts) {
169857
- super(patterns, path13, opts);
169856
+ constructor(patterns, path14, opts) {
169857
+ super(patterns, path14, opts);
169858
169858
  this.results = new minipass_1.Minipass({
169859
169859
  signal: this.signal,
169860
169860
  objectMode: true
@@ -170681,22 +170681,22 @@ var require_ColumnMetadata = __commonJS({
170681
170681
  return this;
170682
170682
  }
170683
170683
  buildPropertyPath() {
170684
- let path13 = "";
170684
+ let path14 = "";
170685
170685
  if (this.embeddedMetadata && this.embeddedMetadata.parentPropertyNames.length)
170686
- path13 = this.embeddedMetadata.parentPropertyNames.join(".") + ".";
170687
- path13 += this.propertyName;
170686
+ path14 = this.embeddedMetadata.parentPropertyNames.join(".") + ".";
170687
+ path14 += this.propertyName;
170688
170688
  if (!this.entityMetadata.isJunction && this.isVirtual && this.referencedColumn && this.referencedColumn.propertyName !== this.propertyName)
170689
- path13 += "." + this.referencedColumn.propertyName;
170690
- return path13;
170689
+ path14 += "." + this.referencedColumn.propertyName;
170690
+ return path14;
170691
170691
  }
170692
170692
  buildDatabasePath() {
170693
- let path13 = "";
170693
+ let path14 = "";
170694
170694
  if (this.embeddedMetadata && this.embeddedMetadata.parentPropertyNames.length)
170695
- path13 = this.embeddedMetadata.parentPropertyNames.join(".") + ".";
170696
- path13 += this.databaseName;
170695
+ path14 = this.embeddedMetadata.parentPropertyNames.join(".") + ".";
170696
+ path14 += this.databaseName;
170697
170697
  if (!this.entityMetadata.isJunction && this.isVirtual && this.referencedColumn && this.referencedColumn.databaseName !== this.databaseName)
170698
- path13 += "." + this.referencedColumn.databaseName;
170699
- return path13;
170698
+ path14 += "." + this.referencedColumn.databaseName;
170699
+ return path14;
170700
170700
  }
170701
170701
  buildDatabaseName(connection) {
170702
170702
  let propertyNames = this.embeddedMetadata ? this.embeddedMetadata.parentPrefixes : [];
@@ -178878,7 +178878,7 @@ var require_form_data = __commonJS({
178878
178878
  "use strict";
178879
178879
  var CombinedStream = require_combined_stream();
178880
178880
  var util6 = __require("util");
178881
- var path13 = __require("path");
178881
+ var path14 = __require("path");
178882
178882
  var http7 = __require("http");
178883
178883
  var https3 = __require("https");
178884
178884
  var parseUrl3 = __require("url").parse;
@@ -179009,11 +179009,11 @@ var require_form_data = __commonJS({
179009
179009
  FormData3.prototype._getContentDisposition = function(value, options) {
179010
179010
  var filename;
179011
179011
  if (typeof options.filepath === "string") {
179012
- filename = path13.normalize(options.filepath).replace(/\\/g, "/");
179012
+ filename = path14.normalize(options.filepath).replace(/\\/g, "/");
179013
179013
  } else if (options.filename || value && (value.name || value.path)) {
179014
- filename = path13.basename(options.filename || value && (value.name || value.path));
179014
+ filename = path14.basename(options.filename || value && (value.name || value.path));
179015
179015
  } else if (value && value.readable && hasOwn(value, "httpVersion")) {
179016
- filename = path13.basename(value.client._httpMessage.path || "");
179016
+ filename = path14.basename(value.client._httpMessage.path || "");
179017
179017
  }
179018
179018
  if (filename) {
179019
179019
  return 'filename="' + escapeHeaderParam(filename) + '"';
@@ -180187,7 +180187,7 @@ var require_axios = __commonJS({
180187
180187
  var https3 = __require("https");
180188
180188
  var http24 = __require("http2");
180189
180189
  var util6 = __require("util");
180190
- var path13 = __require("path");
180190
+ var path14 = __require("path");
180191
180191
  var followRedirects2 = require_follow_redirects();
180192
180192
  var zlib2 = __require("zlib");
180193
180193
  var stream4 = __require("stream");
@@ -181255,9 +181255,9 @@ var require_axios = __commonJS({
181255
181255
  function removeBrackets2(key) {
181256
181256
  return utils$1.endsWith(key, "[]") ? key.slice(0, -2) : key;
181257
181257
  }
181258
- function renderKey2(path14, key, dots) {
181259
- if (!path14) return key;
181260
- return path14.concat(key).map(function each(token, i) {
181258
+ function renderKey2(path15, key, dots) {
181259
+ if (!path15) return key;
181260
+ return path15.concat(key).map(function each(token, i) {
181261
181261
  token = removeBrackets2(token);
181262
181262
  return !dots && i ? "[" + token + "]" : token;
181263
181263
  }).join(dots ? "." : "");
@@ -181335,13 +181335,13 @@ var require_axios = __commonJS({
181335
181335
  return currentValue;
181336
181336
  });
181337
181337
  }
181338
- function defaultVisitor(value, key, path14) {
181338
+ function defaultVisitor(value, key, path15) {
181339
181339
  let arr = value;
181340
181340
  if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
181341
- formData.append(renderKey2(path14, key, dots), convertValue(value));
181341
+ formData.append(renderKey2(path15, key, dots), convertValue(value));
181342
181342
  return false;
181343
181343
  }
181344
- if (value && !path14 && typeof value === "object") {
181344
+ if (value && !path15 && typeof value === "object") {
181345
181345
  if (utils$1.endsWith(key, "{}")) {
181346
181346
  key = metaTokens ? key : key.slice(0, -2);
181347
181347
  value = stringifyWithDepthLimit(value, 1);
@@ -181360,7 +181360,7 @@ var require_axios = __commonJS({
181360
181360
  if (isVisitable2(value)) {
181361
181361
  return true;
181362
181362
  }
181363
- formData.append(renderKey2(path14, key, dots), convertValue(value));
181363
+ formData.append(renderKey2(path15, key, dots), convertValue(value));
181364
181364
  return false;
181365
181365
  }
181366
181366
  const exposedHelpers = Object.assign(predicates2, {
@@ -181368,17 +181368,17 @@ var require_axios = __commonJS({
181368
181368
  convertValue,
181369
181369
  isVisitable: isVisitable2
181370
181370
  });
181371
- function build(value, path14, depth = 0) {
181371
+ function build(value, path15, depth = 0) {
181372
181372
  if (utils$1.isUndefined(value)) return;
181373
181373
  throwIfMaxDepthExceeded(depth);
181374
181374
  if (stack.indexOf(value) !== -1) {
181375
- throw new Error("Circular reference detected in " + path14.join("."));
181375
+ throw new Error("Circular reference detected in " + path15.join("."));
181376
181376
  }
181377
181377
  stack.push(value);
181378
181378
  utils$1.forEach(value, function each(el, key) {
181379
- const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path14, exposedHelpers);
181379
+ const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path15, exposedHelpers);
181380
181380
  if (result === true) {
181381
- build(el, path14 ? path14.concat(key) : [key], depth + 1);
181381
+ build(el, path15 ? path15.concat(key) : [key], depth + 1);
181382
181382
  }
181383
181383
  });
181384
181384
  stack.pop();
@@ -181567,7 +181567,7 @@ var require_axios = __commonJS({
181567
181567
  };
181568
181568
  function toURLEncodedForm2(data, options) {
181569
181569
  return toFormData3(data, new platform3.classes.URLSearchParams(), {
181570
- visitor: function(value, key, path14, helpers) {
181570
+ visitor: function(value, key, path15, helpers) {
181571
181571
  if (platform3.isNode && utils$1.isBuffer(value)) {
181572
181572
  this.append(key, value.toString("base64"));
181573
181573
  return false;
@@ -181584,14 +181584,14 @@ var require_axios = __commonJS({
181584
181584
  }
181585
181585
  }
181586
181586
  function parsePropPath2(name) {
181587
- const path14 = [];
181587
+ const path15 = [];
181588
181588
  const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
181589
181589
  let match;
181590
181590
  while ((match = pattern.exec(name)) !== null) {
181591
- throwIfDepthExceeded2(path14.length);
181592
- path14.push(match[0] === "[]" ? "" : match[1] || match[0]);
181591
+ throwIfDepthExceeded2(path15.length);
181592
+ path15.push(match[0] === "[]" ? "" : match[1] || match[0]);
181593
181593
  }
181594
- return path14;
181594
+ return path15;
181595
181595
  }
181596
181596
  function arrayToObject2(arr) {
181597
181597
  const obj = {};
@@ -181606,12 +181606,12 @@ var require_axios = __commonJS({
181606
181606
  return obj;
181607
181607
  }
181608
181608
  function formDataToJSON2(formData) {
181609
- function buildPath(path14, value, target, index) {
181609
+ function buildPath(path15, value, target, index) {
181610
181610
  throwIfDepthExceeded2(index);
181611
- let name = path14[index++];
181611
+ let name = path15[index++];
181612
181612
  if (name === "__proto__") return true;
181613
181613
  const isNumericKey = Number.isFinite(+name);
181614
- const isLast = index >= path14.length;
181614
+ const isLast = index >= path15.length;
181615
181615
  name = !name && utils$1.isArray(target) ? target.length : name;
181616
181616
  if (isLast) {
181617
181617
  if (utils$1.hasOwnProp(target, name)) {
@@ -181624,7 +181624,7 @@ var require_axios = __commonJS({
181624
181624
  if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) {
181625
181625
  target[name] = [];
181626
181626
  }
181627
- const result = buildPath(path14, value, target[name], index);
181627
+ const result = buildPath(path15, value, target[name], index);
181628
181628
  if (result && utils$1.isArray(target[name])) {
181629
181629
  target[name] = arrayToObject2(target[name]);
181630
181630
  }
@@ -183235,8 +183235,8 @@ var require_axios = __commonJS({
183235
183235
  const allowedSocketPaths = own3("allowedSocketPaths");
183236
183236
  if (allowedSocketPaths != null) {
183237
183237
  const allowed = Array.isArray(allowedSocketPaths) ? allowedSocketPaths : [allowedSocketPaths];
183238
- const resolvedSocket = path13.resolve(socketPath);
183239
- const isAllowed = allowed.some((entry) => typeof entry === "string" && path13.resolve(entry) === resolvedSocket);
183238
+ const resolvedSocket = path14.resolve(socketPath);
183239
+ const isAllowed = allowed.some((entry) => typeof entry === "string" && path14.resolve(entry) === resolvedSocket);
183240
183240
  if (!isAllowed) {
183241
183241
  return reject(new AxiosError3(`socketPath "${socketPath}" is not permitted by allowedSocketPaths`, AxiosError3.ERR_BAD_OPTION_VALUE, config));
183242
183242
  }
@@ -183535,14 +183535,14 @@ var require_axios = __commonJS({
183535
183535
  var cookies = platform3.hasStandardBrowserEnv ? (
183536
183536
  // Standard browser envs support document.cookie
183537
183537
  {
183538
- write(name, value, expires, path14, domain, secure, sameSite) {
183538
+ write(name, value, expires, path15, domain, secure, sameSite) {
183539
183539
  if (typeof document === "undefined") return;
183540
183540
  const cookie = [`${name}=${encodeURIComponent(value)}`];
183541
183541
  if (utils$1.isNumber(expires)) {
183542
183542
  cookie.push(`expires=${new Date(expires).toUTCString()}`);
183543
183543
  }
183544
- if (utils$1.isString(path14)) {
183545
- cookie.push(`path=${path14}`);
183544
+ if (utils$1.isString(path15)) {
183545
+ cookie.push(`path=${path15}`);
183546
183546
  }
183547
183547
  if (utils$1.isString(domain)) {
183548
183548
  cookie.push(`domain=${domain}`);
@@ -189782,19 +189782,19 @@ var require_pick = __commonJS({
189782
189782
  Object.defineProperty(exports2, "__esModule", { value: true });
189783
189783
  exports2.pickDisplay = pickDisplay;
189784
189784
  exports2.pickTitle = pickTitle;
189785
- function pickDisplay(payload, path13) {
189786
- if (!payload || !path13)
189785
+ function pickDisplay(payload, path14) {
189786
+ if (!payload || !path14)
189787
189787
  return void 0;
189788
189788
  let cur = payload;
189789
- for (const seg of path13.split(".")) {
189789
+ for (const seg of path14.split(".")) {
189790
189790
  if (cur == null || typeof cur !== "object")
189791
189791
  return void 0;
189792
189792
  cur = cur[seg];
189793
189793
  }
189794
189794
  return cur;
189795
189795
  }
189796
- function pickTitle(payload, path13) {
189797
- const v = pickDisplay(payload, path13);
189796
+ function pickTitle(payload, path14) {
189797
+ const v = pickDisplay(payload, path14);
189798
189798
  if (v == null)
189799
189799
  return void 0;
189800
189800
  if (typeof v === "string")
@@ -194633,19 +194633,19 @@ var require_module_details_from_path = __commonJS({
194633
194633
  basedir += segments[i] + sep3;
194634
194634
  }
194635
194635
  }
194636
- var path13 = "";
194636
+ var path14 = "";
194637
194637
  var lastSegmentIndex = segments.length - 1;
194638
194638
  for (var i2 = index + offset; i2 <= lastSegmentIndex; i2++) {
194639
194639
  if (i2 === lastSegmentIndex) {
194640
- path13 += segments[i2];
194640
+ path14 += segments[i2];
194641
194641
  } else {
194642
- path13 += segments[i2] + sep3;
194642
+ path14 += segments[i2] + sep3;
194643
194643
  }
194644
194644
  }
194645
194645
  return {
194646
194646
  name,
194647
194647
  basedir,
194648
- path: path13
194648
+ path: path14
194649
194649
  };
194650
194650
  };
194651
194651
  }
@@ -194655,7 +194655,7 @@ var require_module_details_from_path = __commonJS({
194655
194655
  var require_require_in_the_middle = __commonJS({
194656
194656
  "../../node_modules/.pnpm/require-in-the-middle@8.0.1/node_modules/require-in-the-middle/index.js"(exports2, module2) {
194657
194657
  "use strict";
194658
- var path13 = __require("path");
194658
+ var path14 = __require("path");
194659
194659
  var Module44 = __require("module");
194660
194660
  var debug3 = require_src()("require-in-the-middle");
194661
194661
  var moduleDetailsFromPath = require_module_details_from_path();
@@ -194800,7 +194800,7 @@ var require_require_in_the_middle = __commonJS({
194800
194800
  }
194801
194801
  moduleName = filename;
194802
194802
  } else if (hasWhitelist === true && modules.includes(filename)) {
194803
- const parsedPath = path13.parse(filename);
194803
+ const parsedPath = path14.parse(filename);
194804
194804
  moduleName = parsedPath.name;
194805
194805
  basedir = parsedPath.dir;
194806
194806
  } else {
@@ -194838,7 +194838,7 @@ var require_require_in_the_middle = __commonJS({
194838
194838
  }
194839
194839
  if (res !== filename) {
194840
194840
  if (internals === true) {
194841
- moduleName = moduleName + path13.sep + path13.relative(basedir, filename);
194841
+ moduleName = moduleName + path14.sep + path14.relative(basedir, filename);
194842
194842
  debug3("preparing to process require of internal file: %s", moduleName);
194843
194843
  } else {
194844
194844
  debug3("ignoring require of non-main module file: %s", res);
@@ -194874,8 +194874,8 @@ var require_require_in_the_middle = __commonJS({
194874
194874
  }
194875
194875
  };
194876
194876
  function resolveModuleName(stat) {
194877
- const normalizedPath = path13.sep !== "/" ? stat.path.split(path13.sep).join("/") : stat.path;
194878
- return path13.posix.join(stat.name, normalizedPath).replace(normalize3, "");
194877
+ const normalizedPath = path14.sep !== "/" ? stat.path.split(path14.sep).join("/") : stat.path;
194878
+ return path14.posix.join(stat.name, normalizedPath).replace(normalize3, "");
194879
194879
  }
194880
194880
  }
194881
194881
  });
@@ -194960,7 +194960,7 @@ var require_RequireInTheMiddleSingleton = __commonJS({
194960
194960
  Object.defineProperty(exports2, "__esModule", { value: true });
194961
194961
  exports2.RequireInTheMiddleSingleton = void 0;
194962
194962
  var require_in_the_middle_1 = require_require_in_the_middle();
194963
- var path13 = __require("path");
194963
+ var path14 = __require("path");
194964
194964
  var ModuleNameTrie_1 = require_ModuleNameTrie();
194965
194965
  var isMocha = [
194966
194966
  "afterEach",
@@ -195024,7 +195024,7 @@ var require_RequireInTheMiddleSingleton = __commonJS({
195024
195024
  };
195025
195025
  exports2.RequireInTheMiddleSingleton = RequireInTheMiddleSingleton;
195026
195026
  function normalizePathSeparators(moduleNameOrPath) {
195027
- return path13.sep !== ModuleNameTrie_1.ModuleNameSeparator ? moduleNameOrPath.split(path13.sep).join(ModuleNameTrie_1.ModuleNameSeparator) : moduleNameOrPath;
195027
+ return path14.sep !== ModuleNameTrie_1.ModuleNameSeparator ? moduleNameOrPath.split(path14.sep).join(ModuleNameTrie_1.ModuleNameSeparator) : moduleNameOrPath;
195028
195028
  }
195029
195029
  }
195030
195030
  });
@@ -195190,7 +195190,7 @@ var require_register = __commonJS({
195190
195190
  // ../../node_modules/.pnpm/import-in-the-middle@3.3.3/node_modules/import-in-the-middle/index.js
195191
195191
  var require_import_in_the_middle = __commonJS({
195192
195192
  "../../node_modules/.pnpm/import-in-the-middle@3.3.3/node_modules/import-in-the-middle/index.js"(exports2, module2) {
195193
- var path13 = __require("path");
195193
+ var path14 = __require("path");
195194
195194
  var moduleDetailsFromPath = require_module_details_from_path();
195195
195195
  var { fileURLToPath } = __require("url");
195196
195196
  var { MessageChannel: MessageChannel2 } = __require("worker_threads");
@@ -195309,7 +195309,7 @@ var require_import_in_the_middle = __commonJS({
195309
195309
  } else if (baseDir.endsWith(specifiers.get(loadUrl)) || isTurbopackSpecifier(specifiers.get(loadUrl), baseDir)) {
195310
195310
  callHookFn(hookFn, namespace, name, baseDir);
195311
195311
  } else if (internals) {
195312
- const internalPath = name + path13.sep + path13.relative(baseDir, filePath);
195312
+ const internalPath = name + path14.sep + path14.relative(baseDir, filePath);
195313
195313
  callHookFn(hookFn, namespace, internalPath, baseDir);
195314
195314
  }
195315
195315
  } else if (matchArg === specifier) {
@@ -195384,7 +195384,7 @@ var require_instrumentation2 = __commonJS({
195384
195384
  "use strict";
195385
195385
  Object.defineProperty(exports2, "__esModule", { value: true });
195386
195386
  exports2.InstrumentationBase = void 0;
195387
- var path13 = __require("path");
195387
+ var path14 = __require("path");
195388
195388
  var util_1 = __require("util");
195389
195389
  var semver_1 = require_semver3();
195390
195390
  var shimmer_1 = require_shimmer();
@@ -195485,7 +195485,7 @@ var require_instrumentation2 = __commonJS({
195485
195485
  }
195486
195486
  _extractPackageVersion(baseDir) {
195487
195487
  try {
195488
- const json = (0, fs_1.readFileSync)(path13.join(baseDir, "package.json"), {
195488
+ const json = (0, fs_1.readFileSync)(path14.join(baseDir, "package.json"), {
195489
195489
  encoding: "utf8"
195490
195490
  });
195491
195491
  const version2 = JSON.parse(json).version;
@@ -195527,7 +195527,7 @@ var require_instrumentation2 = __commonJS({
195527
195527
  return exports3;
195528
195528
  }
195529
195529
  const files = module3.files ?? [];
195530
- const normalizedName = path13.normalize(name);
195530
+ const normalizedName = path14.normalize(name);
195531
195531
  const supportedFileInstrumentations = files.filter((f) => f.name === normalizedName && isSupported(f.supportedVersions, version2, module3.includePrerelease));
195532
195532
  return supportedFileInstrumentations.reduce((patchedExports, file2) => {
195533
195533
  file2.moduleExports = patchedExports;
@@ -195573,8 +195573,8 @@ var require_instrumentation2 = __commonJS({
195573
195573
  this._warnOnPreloadedModules();
195574
195574
  for (const module3 of this._modules) {
195575
195575
  const hookFn = (exports3, name, baseDir) => {
195576
- if (!baseDir && path13.isAbsolute(name)) {
195577
- const parsedPath = path13.parse(name);
195576
+ if (!baseDir && path14.isAbsolute(name)) {
195577
+ const parsedPath = path14.parse(name);
195578
195578
  name = parsedPath.name;
195579
195579
  baseDir = parsedPath.dir;
195580
195580
  }
@@ -195583,7 +195583,7 @@ var require_instrumentation2 = __commonJS({
195583
195583
  const onRequire = (exports3, name, baseDir) => {
195584
195584
  return this._onRequire(module3, exports3, name, baseDir);
195585
195585
  };
195586
- const hook = path13.isAbsolute(module3.name) ? new require_in_the_middle_1.Hook([module3.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module3.name, onRequire);
195586
+ const hook = path14.isAbsolute(module3.name) ? new require_in_the_middle_1.Hook([module3.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module3.name, onRequire);
195587
195587
  this._hooks.push(hook);
195588
195588
  const esmHook = new import_in_the_middle_1.Hook([module3.name], { internals: true }, hookFn);
195589
195589
  this._hooks.push(esmHook);
@@ -198417,7 +198417,7 @@ var require_util2 = __commonJS({
198417
198417
  "use strict";
198418
198418
  var os7 = __require("os");
198419
198419
  var fs14 = __require("fs");
198420
- var path13 = __require("path");
198420
+ var path14 = __require("path");
198421
198421
  var spawn = __require("child_process").spawn;
198422
198422
  var exec = __require("child_process").exec;
198423
198423
  var execSync = __require("child_process").execSync;
@@ -199153,7 +199153,7 @@ var require_util2 = __commonJS({
199153
199153
  function getFilesInPath(source) {
199154
199154
  const lstatSync2 = fs14.lstatSync;
199155
199155
  const readdirSync4 = fs14.readdirSync;
199156
- const join16 = path13.join;
199156
+ const join17 = path14.join;
199157
199157
  function isDirectory(source2) {
199158
199158
  return lstatSync2(source2).isDirectory();
199159
199159
  }
@@ -199162,12 +199162,12 @@ var require_util2 = __commonJS({
199162
199162
  }
199163
199163
  function getDirectories(source2) {
199164
199164
  return readdirSync4(source2).map((name) => {
199165
- return join16(source2, name);
199165
+ return join17(source2, name);
199166
199166
  }).filter(isDirectory);
199167
199167
  }
199168
199168
  function getFiles(source2) {
199169
199169
  return readdirSync4(source2).map((name) => {
199170
- return join16(source2, name);
199170
+ return join17(source2, name);
199171
199171
  }).filter(isFile2);
199172
199172
  }
199173
199173
  function getFilesRecursively(source2) {
@@ -201842,7 +201842,7 @@ var require_network = __commonJS({
201842
201842
  var exec = __require("child_process").exec;
201843
201843
  var execSync = __require("child_process").execSync;
201844
201844
  var execFileSync = __require("child_process").execFileSync;
201845
- var readFileSync8 = __require("fs").readFileSync;
201845
+ var readFileSync9 = __require("fs").readFileSync;
201846
201846
  var fs14 = __require("fs");
201847
201847
  var util6 = require_util2();
201848
201848
  var _platform = process.platform;
@@ -202331,7 +202331,7 @@ var require_network = __commonJS({
202331
202331
  return result;
202332
202332
  }
202333
202333
  try {
202334
- const content = readFileSync8(file2, { encoding: "utf8" });
202334
+ const content = readFileSync9(file2, { encoding: "utf8" });
202335
202335
  const lines = content.split("\n").filter((l) => /iface|source/.test(l));
202336
202336
  lines.forEach((line) => {
202337
202337
  const parts = line.replace(/\s+/g, " ").trim().split(" ");
@@ -207787,7 +207787,7 @@ var require_graphics = __commonJS({
207787
207787
  "../../node_modules/.pnpm/systeminformation@5.33.13/node_modules/systeminformation/lib/graphics.js"(exports2) {
207788
207788
  "use strict";
207789
207789
  var fs14 = __require("fs");
207790
- var path13 = __require("path");
207790
+ var path14 = __require("path");
207791
207791
  var exec = __require("child_process").exec;
207792
207792
  var execSync = __require("child_process").execSync;
207793
207793
  var execFileSync = __require("child_process").execFileSync;
@@ -208166,13 +208166,13 @@ var require_graphics = __commonJS({
208166
208166
  }
208167
208167
  if (_windows) {
208168
208168
  try {
208169
- const systemSmiPath = path13.join(util6.WINDIR, "System32", "nvidia-smi.exe");
208169
+ const systemSmiPath = path14.join(util6.WINDIR, "System32", "nvidia-smi.exe");
208170
208170
  if (fs14.existsSync(systemSmiPath)) {
208171
208171
  _nvidiaSmiPath = systemSmiPath;
208172
208172
  } else {
208173
- const basePath = path13.join(util6.WINDIR, "System32", "DriverStore", "FileRepository");
208173
+ const basePath = path14.join(util6.WINDIR, "System32", "DriverStore", "FileRepository");
208174
208174
  const candidates = fs14.readdirSync(basePath, { withFileTypes: true }).filter((dir) => dir.isDirectory()).map((dir) => {
208175
- const nvidiaSmiPath = path13.join(basePath, dir.name, "nvidia-smi.exe");
208175
+ const nvidiaSmiPath = path14.join(basePath, dir.name, "nvidia-smi.exe");
208176
208176
  try {
208177
208177
  const stats = fs14.statSync(nvidiaSmiPath);
208178
208178
  return { path: nvidiaSmiPath, ctime: stats.ctimeMs };
@@ -211436,7 +211436,7 @@ var require_processes = __commonJS({
211436
211436
  "use strict";
211437
211437
  var os7 = __require("os");
211438
211438
  var fs14 = __require("fs");
211439
- var path13 = __require("path");
211439
+ var path14 = __require("path");
211440
211440
  var exec = __require("child_process").exec;
211441
211441
  var execSync = __require("child_process").execSync;
211442
211442
  var util6 = require_util2();
@@ -212028,7 +212028,7 @@ var require_processes = __commonJS({
212028
212028
  }
212029
212029
  if (firstPos === 1e4 && tmpCommand.indexOf(" ") > -1) {
212030
212030
  const parts = tmpCommand.split(" ");
212031
- if (fs14.existsSync(path13.join(cmdPath, parts[0]))) {
212031
+ if (fs14.existsSync(path14.join(cmdPath, parts[0]))) {
212032
212032
  command = parts.shift();
212033
212033
  params = (parts.join(" ") + " " + tmpParams).trim();
212034
212034
  } else {
@@ -213300,7 +213300,7 @@ var require_dockerSocket = __commonJS({
213300
213300
  var isWin = __require("os").type() === "Windows_NT";
213301
213301
  var socketPath = process.env.DOCKER_SOCKET || (isWin ? "//./pipe/docker_engine" : "/var/run/docker.sock");
213302
213302
  var socketTimeout = +process.env.DOCKER_SOCKET_TIMEOUT || 3e4;
213303
- function fetchJson(path13, callback) {
213303
+ function fetchJson(path14, callback) {
213304
213304
  let done = false;
213305
213305
  const finish = (result) => {
213306
213306
  if (!done) {
@@ -213316,7 +213316,7 @@ var require_dockerSocket = __commonJS({
213316
213316
  finish({});
213317
213317
  });
213318
213318
  socket.on("connect", () => {
213319
- socket.write(`GET ${path13} HTTP/1.0\r
213319
+ socket.write(`GET ${path14} HTTP/1.0\r
213320
213320
  \r
213321
213321
  `);
213322
213322
  });
@@ -216068,7 +216068,7 @@ var require_bluetooth = __commonJS({
216068
216068
  "use strict";
216069
216069
  var exec = __require("child_process").exec;
216070
216070
  var execSync = __require("child_process").execSync;
216071
- var path13 = __require("path");
216071
+ var path14 = __require("path");
216072
216072
  var util6 = require_util2();
216073
216073
  var bluetoothVendors = require_bluetoothVendors();
216074
216074
  var fs14 = __require("fs");
@@ -216200,7 +216200,7 @@ var require_bluetooth = __commonJS({
216200
216200
  if (_linux) {
216201
216201
  const btFiles = util6.getFilesInPath("/var/lib/bluetooth/");
216202
216202
  btFiles.forEach((element) => {
216203
- const filename = path13.basename(element);
216203
+ const filename = path14.basename(element);
216204
216204
  const pathParts = element.split("/");
216205
216205
  const macAddr1 = pathParts.length >= 6 ? pathParts[pathParts.length - 2] : null;
216206
216206
  const macAddr2 = pathParts.length >= 7 ? pathParts[pathParts.length - 3] : null;
@@ -217027,7 +217027,7 @@ import * as http6 from "http";
217027
217027
  var import_common159 = __toESM(require_common(), 1);
217028
217028
  var import_config11 = __toESM(require_config2(), 1);
217029
217029
  var import_serve_static = __toESM(require_serve_static2(), 1);
217030
- import { join as join15 } from "path";
217030
+ import { join as join16 } from "path";
217031
217031
 
217032
217032
  // ../../node_modules/.pnpm/@chromepilot+logger-kit@0.1.4_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@_425ln5fjzgxj6ooyuhufi5wn3u/node_modules/@chromepilot/logger-kit/dist/nestjs/logger-kit.module.js
217033
217033
  var import_common3 = __toESM(require_common(), 1);
@@ -221068,8 +221068,8 @@ var HcapiService = HcapiService_1 = class HcapiService2 {
221068
221068
  get internalToken() {
221069
221069
  return this.config.get("HCAPI_INTERNAL_TOKEN", "");
221070
221070
  }
221071
- async get(path13, params) {
221072
- const url2 = `${this.baseUrl}${path13}`;
221071
+ async get(path14, params) {
221072
+ const url2 = `${this.baseUrl}${path14}`;
221073
221073
  try {
221074
221074
  const res = await (0, import_rxjs.firstValueFrom)(this.http.get(url2, {
221075
221075
  params,
@@ -221080,7 +221080,7 @@ var HcapiService = HcapiService_1 = class HcapiService2 {
221080
221080
  return res.data;
221081
221081
  } catch (err) {
221082
221082
  const axiosErr = err;
221083
- this.logger.error(`hcapi GET ${path13} failed: ${axiosErr.message}`);
221083
+ this.logger.error(`hcapi GET ${path14} failed: ${axiosErr.message}`);
221084
221084
  throw err;
221085
221085
  }
221086
221086
  }
@@ -222501,13 +222501,13 @@ var OpLogService = class OpLogService2 {
222501
222501
  this.logger.debug(`op_logs \u5199\u5165\u5931\u8D25(\u5FFD\u7565): ${err?.message ?? err}`);
222502
222502
  });
222503
222503
  }
222504
- recordEvent(path13, detail, status = "ok", userId = null) {
222504
+ recordEvent(path14, detail, status = "ok", userId = null) {
222505
222505
  const payload = JSON.stringify(detail).slice(0, 512);
222506
222506
  this.record({
222507
222507
  ts: (/* @__PURE__ */ new Date()).toISOString(),
222508
222508
  userId,
222509
222509
  method: "EVENT",
222510
- path: path13,
222510
+ path: path14,
222511
222511
  entity: null,
222512
222512
  targetIds: payload,
222513
222513
  status,
@@ -222656,11 +222656,11 @@ var ResumeChangeLogService = class ResumeChangeLogService2 {
222656
222656
  ["professional.availability", (r) => r?.professional?.availability],
222657
222657
  ["professional.desiredJob", (r) => r?.professional?.desiredJob]
222658
222658
  ];
222659
- for (const [path13, pick] of scalars) {
222659
+ for (const [path14, pick] of scalars) {
222660
222660
  const oldV = pick(before);
222661
222661
  const newV = pick(after);
222662
222662
  if (!ResumeChangeLogService_1.eq(oldV, newV)) {
222663
- out.push({ fieldPath: path13, oldValue: oldV, newValue: newV });
222663
+ out.push({ fieldPath: path14, oldValue: oldV, newValue: newV });
222664
222664
  }
222665
222665
  }
222666
222666
  const lists = [
@@ -222715,7 +222715,7 @@ var ResumeChangeLogService = class ResumeChangeLogService2 {
222715
222715
  key: (v) => String(v)
222716
222716
  }
222717
222717
  ];
222718
- for (const { path: path13, pick, key } of lists) {
222718
+ for (const { path: path14, pick, key } of lists) {
222719
222719
  const oldList = pick(before) ?? [];
222720
222720
  const newList = pick(after) ?? [];
222721
222721
  const oldKeys = new Set(oldList.map(key));
@@ -222724,7 +222724,7 @@ var ResumeChangeLogService = class ResumeChangeLogService2 {
222724
222724
  const removed = oldList.filter((i) => !newKeys.has(key(i)));
222725
222725
  if (added.length || removed.length) {
222726
222726
  out.push({
222727
- fieldPath: path13,
222727
+ fieldPath: path14,
222728
222728
  oldValue: removed.length ? { removed: removed.slice(0, 5), before: oldList.length } : { before: oldList.length },
222729
222729
  newValue: added.length ? { added: added.slice(0, 5), after: newList.length } : { after: newList.length }
222730
222730
  });
@@ -224743,8 +224743,8 @@ var OpLogInterceptor = class OpLogInterceptor2 {
224743
224743
  const method = req.method ?? "";
224744
224744
  if (!["POST", "PUT", "PATCH", "DELETE"].includes(method))
224745
224745
  return next.handle();
224746
- const path13 = req.path ?? req.url ?? "";
224747
- if (SKIP_PREFIXES.some((p) => path13.startsWith(p)))
224746
+ const path14 = req.path ?? req.url ?? "";
224747
+ if (SKIP_PREFIXES.some((p) => path14.startsWith(p)))
224748
224748
  return next.handle();
224749
224749
  const start = Date.now();
224750
224750
  const write = (statusCode, error3) => {
@@ -224755,8 +224755,8 @@ var OpLogInterceptor = class OpLogInterceptor2 {
224755
224755
  ts: (/* @__PURE__ */ new Date()).toISOString(),
224756
224756
  userId: req.user?.userId ?? null,
224757
224757
  method,
224758
- path: path13.slice(0, 256),
224759
- entity: inferEntity(path13),
224758
+ path: path14.slice(0, 256),
224759
+ entity: inferEntity(path14),
224760
224760
  targetIds: ids == null ? null : JSON.stringify(ids).slice(0, 512),
224761
224761
  status: error3 ? "error" : statusCode >= 400 ? "error" : "ok",
224762
224762
  statusCode,
@@ -224776,15 +224776,15 @@ OpLogInterceptor = __decorate75([
224776
224776
  (0, import_common27.Injectable)(),
224777
224777
  __metadata70("design:paramtypes", [OpLogService])
224778
224778
  ], OpLogInterceptor);
224779
- function inferEntity(path13) {
224780
- const m = path13.match(/^\/entities\/(\w+)/);
224779
+ function inferEntity(path14) {
224780
+ const m = path14.match(/^\/entities\/(\w+)/);
224781
224781
  if (m)
224782
224782
  return m[1];
224783
- if (path13.startsWith("/customers"))
224783
+ if (path14.startsWith("/customers"))
224784
224784
  return "customer";
224785
- if (path13.startsWith("/job-cases"))
224785
+ if (path14.startsWith("/job-cases"))
224786
224786
  return "jobcase";
224787
- if (path13.startsWith("/auth/"))
224787
+ if (path14.startsWith("/auth/"))
224788
224788
  return "auth";
224789
224789
  return null;
224790
224790
  }
@@ -226170,8 +226170,8 @@ function getFramesFromEvent(event) {
226170
226170
  }
226171
226171
  return void 0;
226172
226172
  }
226173
- function normalizeStackTracePath(path13) {
226174
- let filename = path13?.startsWith("file://") ? path13.slice(7) : path13;
226173
+ function normalizeStackTracePath(path14) {
226174
+ let filename = path14?.startsWith("file://") ? path14.slice(7) : path14;
226175
226175
  if (filename?.match(/\/[A-Z]:/)) {
226176
226176
  filename = filename.slice(1);
226177
226177
  }
@@ -227991,8 +227991,8 @@ function isValidProtocol(protocol) {
227991
227991
  return protocol === "http" || protocol === "https";
227992
227992
  }
227993
227993
  function dsnToString(dsn, withPassword = false) {
227994
- const { host, path: path13, pass, port, projectId, protocol, publicKey } = dsn;
227995
- return `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ""}@${host}${port ? `:${port}` : ""}/${path13 ? `${path13}/` : path13}${projectId}`;
227994
+ const { host, path: path14, pass, port, projectId, protocol, publicKey } = dsn;
227995
+ return `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ""}@${host}${port ? `:${port}` : ""}/${path14 ? `${path14}/` : path14}${projectId}`;
227996
227996
  }
227997
227997
  function dsnFromString(str) {
227998
227998
  const match = DSN_REGEX.exec(str);
@@ -228003,11 +228003,11 @@ function dsnFromString(str) {
228003
228003
  return void 0;
228004
228004
  }
228005
228005
  const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] = match.slice(1);
228006
- let path13 = "";
228006
+ let path14 = "";
228007
228007
  let projectId = lastPath;
228008
228008
  const split = projectId.split("/");
228009
228009
  if (split.length > 1) {
228010
- path13 = split.slice(0, -1).join("/");
228010
+ path14 = split.slice(0, -1).join("/");
228011
228011
  projectId = split.pop();
228012
228012
  }
228013
228013
  if (projectId) {
@@ -228016,7 +228016,7 @@ function dsnFromString(str) {
228016
228016
  projectId = projectMatch[0];
228017
228017
  }
228018
228018
  }
228019
- return dsnFromComponents({ host, pass, path: path13, projectId, port, protocol, publicKey });
228019
+ return dsnFromComponents({ host, pass, path: path14, projectId, port, protocol, publicKey });
228020
228020
  }
228021
228021
  function dsnFromComponents(components) {
228022
228022
  return {
@@ -232961,9 +232961,9 @@ function stripUrlQueryAndFragment(urlPath) {
232961
232961
  return urlPath.split(/[?#]/, 1)[0];
232962
232962
  }
232963
232963
  function getSanitizedUrlString(url2) {
232964
- const { protocol, host, path: path13 } = url2;
232964
+ const { protocol, host, path: path14 } = url2;
232965
232965
  const filteredHost = host?.replace(/^.*@/, "[filtered]:[filtered]@").replace(/(:80)$/, "").replace(/(:443)$/, "") || "";
232966
- return `${protocol ? `${protocol}://` : ""}${filteredHost}${path13}`;
232966
+ return `${protocol ? `${protocol}://` : ""}${filteredHost}${path14}`;
232967
232967
  }
232968
232968
  function stripDataUrlContent(url2, includeDataPrefix = true) {
232969
232969
  if (url2.startsWith("data:")) {
@@ -234212,12 +234212,12 @@ function resolve2(...args) {
234212
234212
  let resolvedPath = "";
234213
234213
  let resolvedAbsolute = false;
234214
234214
  for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {
234215
- const path13 = i >= 0 ? args[i] : "/";
234216
- if (!path13) {
234215
+ const path14 = i >= 0 ? args[i] : "/";
234216
+ if (!path14) {
234217
234217
  continue;
234218
234218
  }
234219
- resolvedPath = `${path13}/${resolvedPath}`;
234220
- resolvedAbsolute = path13.charAt(0) === "/";
234219
+ resolvedPath = `${path14}/${resolvedPath}`;
234220
+ resolvedAbsolute = path14.charAt(0) === "/";
234221
234221
  }
234222
234222
  resolvedPath = normalizeArray(
234223
234223
  resolvedPath.split("/").filter((p) => !!p),
@@ -234263,8 +234263,8 @@ function relative(from, to) {
234263
234263
  outputParts = outputParts.concat(toParts.slice(samePartsLength));
234264
234264
  return outputParts.join("/");
234265
234265
  }
234266
- function dirname4(path13) {
234267
- const result = splitPath(path13);
234266
+ function dirname4(path14) {
234267
+ const result = splitPath(path14);
234268
234268
  const root = result[0] || "";
234269
234269
  let dir = result[1];
234270
234270
  if (!root && !dir) {
@@ -234275,8 +234275,8 @@ function dirname4(path13) {
234275
234275
  }
234276
234276
  return root + dir;
234277
234277
  }
234278
- function basename2(path13, ext) {
234279
- let f = splitPath(path13)[2] || "";
234278
+ function basename2(path14, ext) {
234279
+ let f = splitPath(path14)[2] || "";
234280
234280
  if (ext && f.slice(ext.length * -1) === ext) {
234281
234281
  f = f.slice(0, f.length - ext.length);
234282
234282
  }
@@ -234747,8 +234747,8 @@ function flattenIssue(issue) {
234747
234747
  unionErrors: "unionErrors" in issue ? JSON.stringify(issue.unionErrors) : void 0
234748
234748
  };
234749
234749
  }
234750
- function flattenIssuePath(path13) {
234751
- return path13.map((p) => {
234750
+ function flattenIssuePath(path14) {
234751
+ return path14.map((p) => {
234752
234752
  if (typeof p === "number") {
234753
234753
  return "<array>";
234754
234754
  } else {
@@ -239043,12 +239043,12 @@ function captureIfError(nextResult) {
239043
239043
  }
239044
239044
  function trpcMiddleware(options = {}) {
239045
239045
  return async function(opts) {
239046
- const { path: path13, type, next, rawInput, getRawInput } = opts;
239046
+ const { path: path14, type, next, rawInput, getRawInput } = opts;
239047
239047
  const client = getClient();
239048
239048
  const clientOptions = client?.getOptions();
239049
239049
  const dataCollection = client?.getDataCollectionOptions();
239050
239050
  const trpcContext = {
239051
- procedure_path: path13,
239051
+ procedure_path: path14,
239052
239052
  procedure_type: type
239053
239053
  };
239054
239054
  setNormalizationDepthOverrideHint(
@@ -239073,7 +239073,7 @@ function trpcMiddleware(options = {}) {
239073
239073
  scope.setContext("trpc", trpcContext);
239074
239074
  return startSpanManual(
239075
239075
  {
239076
- name: `trpc/${path13}`,
239076
+ name: `trpc/${path14}`,
239077
239077
  op: "rpc.server",
239078
239078
  attributes: {
239079
239079
  [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: "route",
@@ -240236,15 +240236,15 @@ var getLayerMetadata = (route, layer, layerPath) => {
240236
240236
  };
240237
240237
  }
240238
240238
  };
240239
- var getRouterPath = (path13, layer) => {
240239
+ var getRouterPath = (path14, layer) => {
240240
240240
  const stackLayer = Array.isArray(layer.handle?.stack) ? layer.handle?.stack?.[0] : void 0;
240241
240241
  if (stackLayer?.route?.path) {
240242
- return `${path13}${stackLayer.route.path}`;
240242
+ return `${path14}${stackLayer.route.path}`;
240243
240243
  }
240244
240244
  if (stackLayer && Array.isArray(stackLayer?.handle?.stack)) {
240245
- return getRouterPath(path13, stackLayer);
240245
+ return getRouterPath(path14, stackLayer);
240246
240246
  }
240247
- return path13;
240247
+ return path14;
240248
240248
  };
240249
240249
  var isLayerIgnored = (name, type, config) => {
240250
240250
  if (Array.isArray(config?.ignoreLayersType) && config?.ignoreLayersType?.includes(type)) {
@@ -240264,7 +240264,7 @@ function getActualMatchedRoute(req, constructedRoute) {
240264
240264
  if (layersStore.length === 0) {
240265
240265
  return void 0;
240266
240266
  }
240267
- if (layersStore.every((path13) => path13 === "/")) {
240267
+ if (layersStore.every((path14) => path14 === "/")) {
240268
240268
  return req.originalUrl === "/" ? "/" : void 0;
240269
240269
  }
240270
240270
  if (constructedRoute === "*") {
@@ -240280,11 +240280,11 @@ function getActualMatchedRoute(req, constructedRoute) {
240280
240280
  function getConstructedRoute(req) {
240281
240281
  const layersStore = getStoredLayers(req);
240282
240282
  let constructedRoute = "";
240283
- for (const path13 of layersStore) {
240284
- if (path13 === "/" || path13 === "/*") {
240283
+ for (const path14 of layersStore) {
240284
+ if (path14 === "/" || path14 === "/*") {
240285
240285
  continue;
240286
240286
  }
240287
- constructedRoute += !constructedRoute || constructedRoute.endsWith("/") ? path13 : `/${path13}`;
240287
+ constructedRoute += !constructedRoute || constructedRoute.endsWith("/") ? path14 : `/${path14}`;
240288
240288
  }
240289
240289
  return constructedRoute.replace(/\/{2,}/g, "/");
240290
240290
  }
@@ -240820,9 +240820,9 @@ function getRequestUrlObject(requestOptions) {
240820
240820
  const hostHeader = requestOptions.headers?.host && String(requestOptions.headers?.host);
240821
240821
  const hostname6 = hostHeader || requestOptions.hostname || requestOptions.host || "";
240822
240822
  const port = !requestOptions.port || requestOptions.port === 80 || requestOptions.port === 443 || /^(.*):(\d+)$/.test(hostname6) ? "" : `:${requestOptions.port}`;
240823
- const path13 = requestOptions.path ? requestOptions.path : "/";
240823
+ const path14 = requestOptions.path ? requestOptions.path : "/";
240824
240824
  const base = `${protocol}//${hostname6}${port}`;
240825
- return new URL(path13.startsWith("//") ? `${base}${path13}` : path13, base);
240825
+ return new URL(path14.startsWith("//") ? `${base}${path14}` : path14, base);
240826
240826
  }
240827
240827
  function getRequestUrlFromClientRequest(request2) {
240828
240828
  return String(getRequestUrl(getRequestOptions(request2)));
@@ -241495,11 +241495,11 @@ function shouldIgnoreSpansForIncomingRequest(request2, {
241495
241495
  return false;
241496
241496
  }
241497
241497
  function isStaticAssetRequest(urlPath) {
241498
- const path13 = stripUrlQueryAndFragment(urlPath);
241499
- if (path13.match(/\.(ico|png|jpg|jpeg|gif|svg|css|js|woff|woff2|ttf|eot|webp|avif)$/)) {
241498
+ const path14 = stripUrlQueryAndFragment(urlPath);
241499
+ if (path14.match(/\.(ico|png|jpg|jpeg|gif|svg|css|js|woff|woff2|ttf|eot|webp|avif)$/)) {
241500
241500
  return true;
241501
241501
  }
241502
- if (path13.match(/^\/(robots\.txt|sitemap\.xml|manifest\.json|browserconfig\.xml)$/)) {
241502
+ if (path14.match(/^\/(robots\.txt|sitemap\.xml|manifest\.json|browserconfig\.xml)$/)) {
241503
241503
  return true;
241504
241504
  }
241505
241505
  return false;
@@ -241740,11 +241740,11 @@ function isKnownPrefetchRequest2(req) {
241740
241740
  return req.headers["next-router-prefetch"] === "1";
241741
241741
  }
241742
241742
  function isStaticAssetRequest2(urlPath) {
241743
- const path13 = stripUrlQueryAndFragment(urlPath);
241744
- if (path13.match(/\.(ico|png|jpg|jpeg|gif|svg|css|js|woff|woff2|ttf|eot|webp|avif)$/)) {
241743
+ const path14 = stripUrlQueryAndFragment(urlPath);
241744
+ if (path14.match(/\.(ico|png|jpg|jpeg|gif|svg|css|js|woff|woff2|ttf|eot|webp|avif)$/)) {
241745
241745
  return true;
241746
241746
  }
241747
- if (path13.match(/^\/(robots\.txt|sitemap\.xml|manifest\.json|browserconfig\.xml)$/)) {
241747
+ if (path14.match(/^\/(robots\.txt|sitemap\.xml|manifest\.json|browserconfig\.xml)$/)) {
241748
241748
  return true;
241749
241749
  }
241750
241750
  return false;
@@ -242104,19 +242104,19 @@ function getBreadcrumbData(request2) {
242104
242104
  return {};
242105
242105
  }
242106
242106
  }
242107
- function getAbsoluteUrl2(origin2, path13 = "/") {
242107
+ function getAbsoluteUrl2(origin2, path14 = "/") {
242108
242108
  try {
242109
- const url2 = new URL(path13, origin2);
242109
+ const url2 = new URL(path14, origin2);
242110
242110
  return url2.toString();
242111
242111
  } catch {
242112
242112
  const url2 = `${origin2}`;
242113
- if (url2.endsWith("/") && path13.startsWith("/")) {
242114
- return `${url2}${path13.slice(1)}`;
242113
+ if (url2.endsWith("/") && path14.startsWith("/")) {
242114
+ return `${url2}${path14.slice(1)}`;
242115
242115
  }
242116
- if (!url2.endsWith("/") && !path13.startsWith("/")) {
242117
- return `${url2}/${path13}`;
242116
+ if (!url2.endsWith("/") && !path14.startsWith("/")) {
242117
+ return `${url2}/${path14}`;
242118
242118
  }
242119
- return `${url2}${path13}`;
242119
+ return `${url2}${path14}`;
242120
242120
  }
242121
242121
  }
242122
242122
 
@@ -242361,15 +242361,15 @@ function getRequestMethod(original) {
242361
242361
  }
242362
242362
  return "_OTHER";
242363
242363
  }
242364
- function getAbsoluteUrl3(origin2, path13 = "/") {
242364
+ function getAbsoluteUrl3(origin2, path14 = "/") {
242365
242365
  const url2 = `${origin2}`;
242366
- if (url2.endsWith("/") && path13.startsWith("/")) {
242367
- return `${url2}${path13.slice(1)}`;
242366
+ if (url2.endsWith("/") && path14.startsWith("/")) {
242367
+ return `${url2}${path14.slice(1)}`;
242368
242368
  }
242369
- if (!url2.endsWith("/") && !path13.startsWith("/")) {
242370
- return `${url2}/${path13}`;
242369
+ if (!url2.endsWith("/") && !path14.startsWith("/")) {
242370
+ return `${url2}/${path14}`;
242371
242371
  }
242372
- return `${url2}${path13}`;
242372
+ return `${url2}${path14}`;
242373
242373
  }
242374
242374
 
242375
242375
  // ../../node_modules/.pnpm/@sentry+node-core@10.70.0_@opentelemetry+api@1.9.1_@opentelemetry+core@2.10.0_@opentelemetry+_xy53gxni6xwrihkx6w72xmc6na/node_modules/@sentry/node-core/build/esm/integrations/node-fetch/index.js
@@ -244855,12 +244855,12 @@ function emplace(map2, key, contents) {
244855
244855
  }
244856
244856
  return value;
244857
244857
  }
244858
- function shouldSkipContextLinesForFile(path13) {
244859
- if (path13.startsWith("node:")) return true;
244860
- if (path13.endsWith(".min.js")) return true;
244861
- if (path13.endsWith(".min.cjs")) return true;
244862
- if (path13.endsWith(".min.mjs")) return true;
244863
- if (path13.startsWith("data:")) return true;
244858
+ function shouldSkipContextLinesForFile(path14) {
244859
+ if (path14.startsWith("node:")) return true;
244860
+ if (path14.endsWith(".min.js")) return true;
244861
+ if (path14.endsWith(".min.cjs")) return true;
244862
+ if (path14.endsWith(".min.mjs")) return true;
244863
+ if (path14.startsWith("data:")) return true;
244864
244864
  return false;
244865
244865
  }
244866
244866
  function shouldSkipContextLinesForFrame(frame) {
@@ -244908,9 +244908,9 @@ function makeLineReaderRanges(lines, linecontext) {
244908
244908
  }
244909
244909
  return out;
244910
244910
  }
244911
- function getContextLinesFromFile(path13, ranges, output) {
244911
+ function getContextLinesFromFile(path14, ranges, output) {
244912
244912
  return new Promise((resolve7, _reject) => {
244913
- const stream4 = createReadStream(path13);
244913
+ const stream4 = createReadStream(path14);
244914
244914
  const lineReaded = createInterface({
244915
244915
  input: stream4
244916
244916
  });
@@ -244928,8 +244928,8 @@ function getContextLinesFromFile(path13, ranges, output) {
244928
244928
  let rangeStart = range[0];
244929
244929
  let rangeEnd = range[1];
244930
244930
  function onStreamError(e) {
244931
- LRU_FILE_CONTENTS_FS_READ_FAILED.set(path13, 1);
244932
- DEBUG_BUILD2 && debug.error(`Failed to read file: ${path13}. Error: ${e}`);
244931
+ LRU_FILE_CONTENTS_FS_READ_FAILED.set(path14, 1);
244932
+ DEBUG_BUILD2 && debug.error(`Failed to read file: ${path14}. Error: ${e}`);
244933
244933
  lineReaded.close();
244934
244934
  lineReaded.removeAllListeners();
244935
244935
  destroyStreamAndResolve();
@@ -246368,8 +246368,8 @@ function getSpotlightConfig(optionsSpotlight) {
246368
246368
 
246369
246369
  // ../../node_modules/.pnpm/@sentry+node-core@10.70.0_@opentelemetry+api@1.9.1_@opentelemetry+core@2.10.0_@opentelemetry+_xy53gxni6xwrihkx6w72xmc6na/node_modules/@sentry/node-core/build/esm/utils/module.js
246370
246370
  import { posix, sep } from "node:path";
246371
- function normalizeWindowsPath(path13) {
246372
- return path13.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
246371
+ function normalizeWindowsPath(path14) {
246372
+ return path14.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
246373
246373
  }
246374
246374
  function createGetModuleFromFilename(basePath = process.argv[1] ? dirname4(process.argv[1]) : process.cwd(), isWindows = sep === "\\") {
246375
246375
  const normalizedBase = isWindows ? normalizeWindowsPath(basePath) : basePath;
@@ -247999,8 +247999,8 @@ function _patchExistsCallbackFunction(original, config) {
247999
247999
  }
248000
248000
  };
248001
248001
  const functionWithOriginalProperties = patchedFunctionWithOriginalProperties(patchedFunction, original);
248002
- const promisified = function(path13) {
248003
- return new Promise((resolve7) => functionWithOriginalProperties(path13, resolve7));
248002
+ const promisified = function(path14) {
248003
+ return new Promise((resolve7) => functionWithOriginalProperties(path14, resolve7));
248004
248004
  };
248005
248005
  Object.defineProperty(promisified, "name", { value: functionName });
248006
248006
  Object.defineProperty(functionWithOriginalProperties, promisify2.custom, {
@@ -250483,22 +250483,22 @@ function addSpanSource(span, loc, start, end) {
250483
250483
  span.setAttribute(AttributeNames2.SOURCE, source);
250484
250484
  }
250485
250485
  }
250486
- function createFieldIfNotExists(contextValue, info2, path13) {
250487
- let field = getField(contextValue, path13);
250486
+ function createFieldIfNotExists(contextValue, info2, path14) {
250487
+ let field = getField(contextValue, path14);
250488
250488
  if (field) {
250489
250489
  return { field, spanAdded: false };
250490
250490
  }
250491
- const parentSpan = getParentFieldSpan(contextValue, path13);
250491
+ const parentSpan = getParentFieldSpan(contextValue, path14);
250492
250492
  field = {
250493
- span: createResolverSpan(contextValue, info2, path13, parentSpan)
250493
+ span: createResolverSpan(contextValue, info2, path14, parentSpan)
250494
250494
  };
250495
- addField(contextValue, path13, field);
250495
+ addField(contextValue, path14, field);
250496
250496
  return { field, spanAdded: true };
250497
250497
  }
250498
- function createResolverSpan(contextValue, info2, path13, parentSpan) {
250498
+ function createResolverSpan(contextValue, info2, path14, parentSpan) {
250499
250499
  const attributes = {
250500
250500
  [AttributeNames2.FIELD_NAME]: info2.fieldName,
250501
- [AttributeNames2.FIELD_PATH]: path13.join("."),
250501
+ [AttributeNames2.FIELD_PATH]: path14.join("."),
250502
250502
  [AttributeNames2.FIELD_TYPE]: info2.returnType.toString(),
250503
250503
  [AttributeNames2.PARENT_NAME]: info2.parentType.name
250504
250504
  };
@@ -250530,15 +250530,15 @@ function getOperation(document2, operationName) {
250530
250530
  return document2.definitions.find((definition) => OPERATION_VALUES.indexOf(definition?.operation) !== -1);
250531
250531
  }
250532
250532
  }
250533
- function addField(contextValue, path13, field) {
250534
- return contextValue[OTEL_GRAPHQL_DATA_SYMBOL].fields[path13.join(".")] = field;
250533
+ function addField(contextValue, path14, field) {
250534
+ return contextValue[OTEL_GRAPHQL_DATA_SYMBOL].fields[path14.join(".")] = field;
250535
250535
  }
250536
- function getField(contextValue, path13) {
250537
- return contextValue[OTEL_GRAPHQL_DATA_SYMBOL].fields[path13.join(".")];
250536
+ function getField(contextValue, path14) {
250537
+ return contextValue[OTEL_GRAPHQL_DATA_SYMBOL].fields[path14.join(".")];
250538
250538
  }
250539
- function getParentFieldSpan(contextValue, path13) {
250540
- for (let i = path13.length - 1; i > 0; i--) {
250541
- const field = getField(contextValue, path13.slice(0, i));
250539
+ function getParentFieldSpan(contextValue, path14) {
250540
+ for (let i = path14.length - 1; i > 0; i--) {
250541
+ const field = getField(contextValue, path14.slice(0, i));
250542
250542
  if (field) {
250543
250543
  return field.span;
250544
250544
  }
@@ -250548,9 +250548,9 @@ function getParentFieldSpan(contextValue, path13) {
250548
250548
  function getRootSpan2(contextValue) {
250549
250549
  return contextValue[OTEL_GRAPHQL_DATA_SYMBOL].span;
250550
250550
  }
250551
- function pathToArray(path13) {
250551
+ function pathToArray(path14) {
250552
250552
  const flattened = [];
250553
- let curr = path13;
250553
+ let curr = path14;
250554
250554
  while (curr) {
250555
250555
  flattened.push(String(curr.key));
250556
250556
  curr = curr.prev;
@@ -250691,8 +250691,8 @@ function wrapFieldResolver(getConfig3, fieldResolver, isDefaultResolver = false)
250691
250691
  if (!contextValue[OTEL_GRAPHQL_DATA_SYMBOL]) {
250692
250692
  return fieldResolver.call(this, source, args, contextValue, info2);
250693
250693
  }
250694
- const path13 = pathToArray(info2?.path);
250695
- const { field, spanAdded } = createFieldIfNotExists(contextValue, info2, path13);
250694
+ const path14 = pathToArray(info2?.path);
250695
+ const { field, spanAdded } = createFieldIfNotExists(contextValue, info2, path14);
250696
250696
  const span = field.span;
250697
250697
  const shouldEndSpan = spanAdded;
250698
250698
  return withActiveSpan(span, () => {
@@ -253678,10 +253678,10 @@ var PostgresJsInstrumentation = class extends import_instrumentation26.Instrumen
253678
253678
  },
253679
253679
  (exports2) => exports2
253680
253680
  );
253681
- ["src", "cf/src", "cjs/src"].forEach((path13) => {
253681
+ ["src", "cf/src", "cjs/src"].forEach((path14) => {
253682
253682
  module2.files.push(
253683
253683
  new InstrumentationNodeModuleFile(
253684
- `postgres/${path13}/query.js`,
253684
+ `postgres/${path14}/query.js`,
253685
253685
  SUPPORTED_VERSIONS4,
253686
253686
  this._patchQueryPrototype.bind(this),
253687
253687
  this._unpatchQueryPrototype.bind(this)
@@ -254348,13 +254348,13 @@ var HonoInstrumentation = class extends import_instrumentation29.Instrumentation
254348
254348
  return function(original) {
254349
254349
  return function wrappedHandler(...args) {
254350
254350
  if (typeof args[0] === "string") {
254351
- const path13 = args[0];
254351
+ const path14 = args[0];
254352
254352
  if (args.length === 1) {
254353
- return original.apply(this, [path13]);
254353
+ return original.apply(this, [path14]);
254354
254354
  }
254355
254355
  const handlers2 = args.slice(1);
254356
254356
  return original.apply(this, [
254357
- path13,
254357
+ path14,
254358
254358
  ...handlers2.map((handler) => instrumentation._wrapHandler(handler))
254359
254359
  ]);
254360
254360
  }
@@ -254388,13 +254388,13 @@ var HonoInstrumentation = class extends import_instrumentation29.Instrumentation
254388
254388
  return function(original) {
254389
254389
  return function wrappedHandler(...args) {
254390
254390
  if (typeof args[0] === "string") {
254391
- const path13 = args[0];
254391
+ const path14 = args[0];
254392
254392
  if (args.length === 1) {
254393
- return original.apply(this, [path13]);
254393
+ return original.apply(this, [path14]);
254394
254394
  }
254395
254395
  const handlers2 = args.slice(1);
254396
254396
  return original.apply(this, [
254397
- path13,
254397
+ path14,
254398
254398
  ...handlers2.map((handler) => instrumentation._wrapHandler(handler))
254399
254399
  ]);
254400
254400
  }
@@ -254414,8 +254414,8 @@ var HonoInstrumentation = class extends import_instrumentation29.Instrumentation
254414
254414
  if (!instrumentation.isEnabled()) {
254415
254415
  return handler.apply(this, [c, next]);
254416
254416
  }
254417
- const path13 = c.req.path;
254418
- const span = instrumentation.tracer.startSpan(path13);
254417
+ const path14 = c.req.path;
254418
+ const span = instrumentation.tracer.startSpan(path14);
254419
254419
  return context.with(trace.setSpan(context.active(), span), () => {
254420
254420
  return instrumentation._safeExecute(
254421
254421
  () => {
@@ -254425,7 +254425,7 @@ var HonoInstrumentation = class extends import_instrumentation29.Instrumentation
254425
254425
  const type = instrumentation._determineHandlerType(result2);
254426
254426
  span.setAttributes({
254427
254427
  [AttributeNames5.HONO_TYPE]: type,
254428
- [AttributeNames5.HONO_NAME]: type === HonoTypes.REQUEST_HANDLER ? path13 : handler.name || "anonymous"
254428
+ [AttributeNames5.HONO_NAME]: type === HonoTypes.REQUEST_HANDLER ? path14 : handler.name || "anonymous"
254429
254429
  });
254430
254430
  instrumentation.getConfig().responseHook?.(span);
254431
254431
  return result2;
@@ -254434,7 +254434,7 @@ var HonoInstrumentation = class extends import_instrumentation29.Instrumentation
254434
254434
  const type = instrumentation._determineHandlerType(result);
254435
254435
  span.setAttributes({
254436
254436
  [AttributeNames5.HONO_TYPE]: type,
254437
- [AttributeNames5.HONO_NAME]: type === HonoTypes.REQUEST_HANDLER ? path13 : handler.name || "anonymous"
254437
+ [AttributeNames5.HONO_NAME]: type === HonoTypes.REQUEST_HANDLER ? path14 : handler.name || "anonymous"
254438
254438
  });
254439
254439
  instrumentation.getConfig().responseHook?.(span);
254440
254440
  return result;
@@ -254668,11 +254668,11 @@ var KoaInstrumentation = class extends import_instrumentation31.InstrumentationB
254668
254668
  const router = dispatchLayer.router;
254669
254669
  const routesStack = router?.stack ?? [];
254670
254670
  for (const pathLayer of routesStack) {
254671
- const path13 = pathLayer.path;
254671
+ const path14 = pathLayer.path;
254672
254672
  const pathStack = pathLayer.stack;
254673
254673
  for (let j = 0; j < pathStack.length; j++) {
254674
254674
  const routedMiddleware = pathStack[j];
254675
- pathStack[j] = this._patchLayer(routedMiddleware, true, path13);
254675
+ pathStack[j] = this._patchLayer(routedMiddleware, true, path14);
254676
254676
  }
254677
254677
  }
254678
254678
  return dispatchLayer;
@@ -258366,8 +258366,8 @@ function wrapFieldResolver2(getConfig3, fieldResolver, isDefaultResolver = false
258366
258366
  if (!contextValue[GRAPHQL_DATA_SYMBOL]) {
258367
258367
  return fieldResolver.call(this, source, args, contextValue, info2);
258368
258368
  }
258369
- const path13 = pathToArray2(info2.path);
258370
- const { field, spanAdded } = createFieldIfNotExists2(contextValue, info2, path13);
258369
+ const path14 = pathToArray2(info2.path);
258370
+ const { field, spanAdded } = createFieldIfNotExists2(contextValue, info2, path14);
258371
258371
  const span = field.span;
258372
258372
  return withActiveSpan(span, () => {
258373
258373
  try {
@@ -258404,47 +258404,47 @@ function endResolveSpan(span, shouldEndSpan, error3) {
258404
258404
  }
258405
258405
  span.end();
258406
258406
  }
258407
- function createFieldIfNotExists2(contextValue, info2, path13) {
258408
- const existing = getField2(contextValue, path13);
258407
+ function createFieldIfNotExists2(contextValue, info2, path14) {
258408
+ const existing = getField2(contextValue, path14);
258409
258409
  if (existing) {
258410
258410
  return { field: existing, spanAdded: false };
258411
258411
  }
258412
- const field = { span: createResolverSpan2(info2, path13, getParentFieldSpan2(contextValue, path13)) };
258413
- addField2(contextValue, path13, field);
258412
+ const field = { span: createResolverSpan2(info2, path14, getParentFieldSpan2(contextValue, path14)) };
258413
+ addField2(contextValue, path14, field);
258414
258414
  return { field, spanAdded: true };
258415
258415
  }
258416
- function createResolverSpan2(info2, path13, parentSpan) {
258416
+ function createResolverSpan2(info2, path14, parentSpan) {
258417
258417
  const attributes = {
258418
258418
  [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: ORIGIN19,
258419
258419
  [SEMANTIC_ATTRIBUTE_SENTRY_OP]: i_,
258420
258420
  [GRAPHQL_FIELD_NAME2]: info2.fieldName,
258421
- [GRAPHQL_FIELD_PATH2]: path13.join("."),
258421
+ [GRAPHQL_FIELD_PATH2]: path14.join("."),
258422
258422
  [GRAPHQL_FIELD_TYPE2]: info2.returnType.toString(),
258423
258423
  [GRAPHQL_PARENT_NAME2]: info2.parentType.name
258424
258424
  };
258425
- return startInactiveSpan({ name: `${SPAN_NAME_RESOLVE2} ${path13.join(".")}`, attributes, parentSpan });
258425
+ return startInactiveSpan({ name: `${SPAN_NAME_RESOLVE2} ${path14.join(".")}`, attributes, parentSpan });
258426
258426
  }
258427
- function addField2(contextValue, path13, field) {
258427
+ function addField2(contextValue, path14, field) {
258428
258428
  const data = contextValue[GRAPHQL_DATA_SYMBOL];
258429
258429
  if (data) {
258430
- data.fields[path13.join(".")] = field;
258430
+ data.fields[path14.join(".")] = field;
258431
258431
  }
258432
258432
  }
258433
- function getField2(contextValue, path13) {
258434
- return contextValue[GRAPHQL_DATA_SYMBOL]?.fields[path13.join(".")];
258433
+ function getField2(contextValue, path14) {
258434
+ return contextValue[GRAPHQL_DATA_SYMBOL]?.fields[path14.join(".")];
258435
258435
  }
258436
- function getParentFieldSpan2(contextValue, path13) {
258437
- for (let i = path13.length - 1; i > 0; i--) {
258438
- const field = getField2(contextValue, path13.slice(0, i));
258436
+ function getParentFieldSpan2(contextValue, path14) {
258437
+ for (let i = path14.length - 1; i > 0; i--) {
258438
+ const field = getField2(contextValue, path14.slice(0, i));
258439
258439
  if (field) {
258440
258440
  return field.span;
258441
258441
  }
258442
258442
  }
258443
258443
  return contextValue[GRAPHQL_DATA_SYMBOL]?.span;
258444
258444
  }
258445
- function pathToArray2(path13) {
258445
+ function pathToArray2(path14) {
258446
258446
  const flattened = [];
258447
- let curr = path13;
258447
+ let curr = path14;
258448
258448
  while (curr) {
258449
258449
  flattened.push(String(curr.key));
258450
258450
  curr = curr.prev;
@@ -258930,10 +258930,10 @@ function patchRouterDispatch(dispatchLayer, ignoreLayersType) {
258930
258930
  const router = dispatchLayer.router;
258931
258931
  const routesStack = router?.stack ?? [];
258932
258932
  for (const pathLayer of routesStack) {
258933
- const path13 = pathLayer.path;
258933
+ const path14 = pathLayer.path;
258934
258934
  const pathStack = pathLayer.stack;
258935
258935
  pathStack.forEach((routedMiddleware, j) => {
258936
- pathStack[j] = patchLayer2(routedMiddleware, true, ignoreLayersType, path13);
258936
+ pathStack[j] = patchLayer2(routedMiddleware, true, ignoreLayersType, path14);
258937
258937
  });
258938
258938
  }
258939
258939
  return dispatchLayer;
@@ -261033,8 +261033,8 @@ import * as diagnosticsChannel34 from "node:diagnostics_channel";
261033
261033
 
261034
261034
  // ../../node_modules/.pnpm/@sentry+server-utils@10.70.0/node_modules/@sentry/server-utils/build/esm/integrations/tracing-channel/express/route.js
261035
261035
  var layerRegisteredPaths = /* @__PURE__ */ new WeakMap();
261036
- function setLayerRegisteredPath(layer, path13) {
261037
- layerRegisteredPaths.set(layer, path13);
261036
+ function setLayerRegisteredPath(layer, path14) {
261037
+ layerRegisteredPaths.set(layer, path14);
261038
261038
  }
261039
261039
  function getLayerRegisteredPath(layer) {
261040
261040
  return layerRegisteredPaths.get(layer);
@@ -261048,8 +261048,8 @@ function getStore(req) {
261048
261048
  }
261049
261049
  return store;
261050
261050
  }
261051
- function pushLayerPath(req, path13) {
261052
- getStore(req).push(path13);
261051
+ function pushLayerPath(req, path14) {
261052
+ getStore(req).push(path14);
261053
261053
  }
261054
261054
  function popLayerPath(req) {
261055
261055
  getStore(req).pop();
@@ -261067,11 +261067,11 @@ function extractLayerPathSegment2(segment) {
261067
261067
  function getConstructedRoute2(req) {
261068
261068
  const layersStore = getStore(req);
261069
261069
  let constructedRoute = "";
261070
- for (const path13 of layersStore) {
261071
- if (path13 === "/" || path13 === "/*") {
261070
+ for (const path14 of layersStore) {
261071
+ if (path14 === "/" || path14 === "/*") {
261072
261072
  continue;
261073
261073
  }
261074
- constructedRoute += !constructedRoute || constructedRoute.endsWith("/") ? path13 : `/${path13}`;
261074
+ constructedRoute += !constructedRoute || constructedRoute.endsWith("/") ? path14 : `/${path14}`;
261075
261075
  }
261076
261076
  return constructedRoute.replace(/\/{2,}/g, "/");
261077
261077
  }
@@ -261081,7 +261081,7 @@ function getActualMatchedRoute2(req, constructedRoute) {
261081
261081
  return void 0;
261082
261082
  }
261083
261083
  const originalUrl = typeof req.originalUrl === "string" ? req.originalUrl : "";
261084
- if (layersStore.every((path13) => path13 === "/")) {
261084
+ if (layersStore.every((path14) => path14 === "/")) {
261085
261085
  return originalUrl === "/" ? "/" : void 0;
261086
261086
  }
261087
261087
  if (constructedRoute === "*") {
@@ -296403,8 +296403,8 @@ var __decorate135 = function(decorators, target, key, desc) {
296403
296403
  var WEB_DIST = join13(__dirname, "..", "..", "web", "dist");
296404
296404
  var SharedPageMiddleware = class SharedPageMiddleware2 {
296405
296405
  logger = new import_common92.Logger("SharedPageMiddleware");
296406
- resolveHtml(path13) {
296407
- const rel = /^\/shared\/[^/]+\/?$/.test(path13) ? join13("shared", "placeholder.html") : /^\/team\/insights\/?$/.test(path13) ? join13("team", "insights.html") : null;
296406
+ resolveHtml(path14) {
296407
+ const rel = /^\/shared\/[^/]+\/?$/.test(path14) ? join13("shared", "placeholder.html") : /^\/team\/insights\/?$/.test(path14) ? join13("team", "insights.html") : null;
296408
296408
  if (!rel)
296409
296409
  return null;
296410
296410
  const abs = join13(WEB_DIST, rel);
@@ -296413,14 +296413,14 @@ var SharedPageMiddleware = class SharedPageMiddleware2 {
296413
296413
  use(req, res, next) {
296414
296414
  if (req.method !== "GET")
296415
296415
  return next();
296416
- const path13 = (req.originalUrl || req.url || "").split("?")[0];
296416
+ const path14 = (req.originalUrl || req.url || "").split("?")[0];
296417
296417
  const accept = req.headers.accept || "";
296418
296418
  if (!accept.includes("text/html"))
296419
296419
  return next();
296420
- const html = this.resolveHtml(path13);
296420
+ const html = this.resolveHtml(path14);
296421
296421
  if (!html) {
296422
- if (/^\/(shared|team\/insights)/.test(path13)) {
296423
- this.logger.warn(`\u9759\u6001\u5BFC\u51FA HTML \u4E0D\u5B58\u5728: ${path13}(\u5148\u6784\u5EFA web)`);
296422
+ if (/^\/(shared|team\/insights)/.test(path14)) {
296423
+ this.logger.warn(`\u9759\u6001\u5BFC\u51FA HTML \u4E0D\u5B58\u5728: ${path14}(\u5148\u6784\u5EFA web)`);
296424
296424
  }
296425
296425
  return next();
296426
296426
  }
@@ -296670,6 +296670,7 @@ var SearchService = class SearchService2 {
296670
296670
  source: "hcapi"
296671
296671
  };
296672
296672
  } catch (err) {
296673
+ const baseUrl = this.hcapi.baseUrl ?? process.env.HCAPI_BASE_URL ?? "http://localhost:7001";
296673
296674
  return {
296674
296675
  list: [],
296675
296676
  count: 0,
@@ -296677,7 +296678,8 @@ var SearchService = class SearchService2 {
296677
296678
  page: options.page ?? 1,
296678
296679
  limit: options.limit ?? 10,
296679
296680
  error: err.message,
296680
- message: "Failed to query hcapi. Please check HCAPI_BASE_URL and HCAPI_INTERNAL_TOKEN."
296681
+ hcapiBaseUrl: baseUrl,
296682
+ message: `hcapi \u4EBA\u624D\u6C60\u67E5\u8BE2\u5931\u8D25(${baseUrl}):${err.message}\u3002\u5728 server \u7684 .env \u914D\u7F6E HCAPI_BASE_URL(\u5982 https://hcapi.hiredchina.com)\u4E0E HCAPI_INTERNAL_TOKEN \u540E\u91CD\u542F server;\u672A\u914D\u7F6E\u65F6 u_person \u6E90\u4E0D\u53EF\u7528,\u53EF\u6539\u7528 LinkedIn \u9002\u914D\u5668(hm extension control hm.linkedin.search)\u3002`
296681
296683
  };
296682
296684
  }
296683
296685
  }
@@ -298440,9 +298442,9 @@ function isVisitable(thing) {
298440
298442
  function removeBrackets(key) {
298441
298443
  return utils_default.endsWith(key, "[]") ? key.slice(0, -2) : key;
298442
298444
  }
298443
- function renderKey(path13, key, dots) {
298444
- if (!path13) return key;
298445
- return path13.concat(key).map(function each(token, i) {
298445
+ function renderKey(path14, key, dots) {
298446
+ if (!path14) return key;
298447
+ return path14.concat(key).map(function each(token, i) {
298446
298448
  token = removeBrackets(token);
298447
298449
  return !dots && i ? "[" + token + "]" : token;
298448
298450
  }).join(dots ? "." : "");
@@ -298528,13 +298530,13 @@ function toFormData(obj, formData, options) {
298528
298530
  return currentValue;
298529
298531
  });
298530
298532
  }
298531
- function defaultVisitor(value, key, path13) {
298533
+ function defaultVisitor(value, key, path14) {
298532
298534
  let arr = value;
298533
298535
  if (utils_default.isReactNative(formData) && utils_default.isReactNativeBlob(value)) {
298534
- formData.append(renderKey(path13, key, dots), convertValue(value));
298536
+ formData.append(renderKey(path14, key, dots), convertValue(value));
298535
298537
  return false;
298536
298538
  }
298537
- if (value && !path13 && typeof value === "object") {
298539
+ if (value && !path14 && typeof value === "object") {
298538
298540
  if (utils_default.endsWith(key, "{}")) {
298539
298541
  key = metaTokens ? key : key.slice(0, -2);
298540
298542
  value = stringifyWithDepthLimit(value, 1);
@@ -298553,7 +298555,7 @@ function toFormData(obj, formData, options) {
298553
298555
  if (isVisitable(value)) {
298554
298556
  return true;
298555
298557
  }
298556
- formData.append(renderKey(path13, key, dots), convertValue(value));
298558
+ formData.append(renderKey(path14, key, dots), convertValue(value));
298557
298559
  return false;
298558
298560
  }
298559
298561
  const exposedHelpers = Object.assign(predicates, {
@@ -298561,17 +298563,17 @@ function toFormData(obj, formData, options) {
298561
298563
  convertValue,
298562
298564
  isVisitable
298563
298565
  });
298564
- function build(value, path13, depth = 0) {
298566
+ function build(value, path14, depth = 0) {
298565
298567
  if (utils_default.isUndefined(value)) return;
298566
298568
  throwIfMaxDepthExceeded(depth);
298567
298569
  if (stack.indexOf(value) !== -1) {
298568
- throw new Error("Circular reference detected in " + path13.join("."));
298570
+ throw new Error("Circular reference detected in " + path14.join("."));
298569
298571
  }
298570
298572
  stack.push(value);
298571
298573
  utils_default.forEach(value, function each(el, key) {
298572
- const result = !(utils_default.isUndefined(el) || el === null) && visitor.call(formData, el, utils_default.isString(key) ? key.trim() : key, path13, exposedHelpers);
298574
+ const result = !(utils_default.isUndefined(el) || el === null) && visitor.call(formData, el, utils_default.isString(key) ? key.trim() : key, path14, exposedHelpers);
298573
298575
  if (result === true) {
298574
- build(el, path13 ? path13.concat(key) : [key], depth + 1);
298576
+ build(el, path14 ? path14.concat(key) : [key], depth + 1);
298575
298577
  }
298576
298578
  });
298577
298579
  stack.pop();
@@ -298783,7 +298785,7 @@ var platform_default = {
298783
298785
  // ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
298784
298786
  function toURLEncodedForm(data, options) {
298785
298787
  return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
298786
- visitor: function(value, key, path13, helpers) {
298788
+ visitor: function(value, key, path14, helpers) {
298787
298789
  if (platform_default.isNode && utils_default.isBuffer(value)) {
298788
298790
  this.append(key, value.toString("base64"));
298789
298791
  return false;
@@ -298805,14 +298807,14 @@ function throwIfDepthExceeded(index) {
298805
298807
  }
298806
298808
  }
298807
298809
  function parsePropPath(name) {
298808
- const path13 = [];
298810
+ const path14 = [];
298809
298811
  const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
298810
298812
  let match;
298811
298813
  while ((match = pattern.exec(name)) !== null) {
298812
- throwIfDepthExceeded(path13.length);
298813
- path13.push(match[0] === "[]" ? "" : match[1] || match[0]);
298814
+ throwIfDepthExceeded(path14.length);
298815
+ path14.push(match[0] === "[]" ? "" : match[1] || match[0]);
298814
298816
  }
298815
- return path13;
298817
+ return path14;
298816
298818
  }
298817
298819
  function arrayToObject(arr) {
298818
298820
  const obj = {};
@@ -298827,12 +298829,12 @@ function arrayToObject(arr) {
298827
298829
  return obj;
298828
298830
  }
298829
298831
  function formDataToJSON(formData) {
298830
- function buildPath(path13, value, target, index) {
298832
+ function buildPath(path14, value, target, index) {
298831
298833
  throwIfDepthExceeded(index);
298832
- let name = path13[index++];
298834
+ let name = path14[index++];
298833
298835
  if (name === "__proto__") return true;
298834
298836
  const isNumericKey = Number.isFinite(+name);
298835
- const isLast = index >= path13.length;
298837
+ const isLast = index >= path14.length;
298836
298838
  name = !name && utils_default.isArray(target) ? target.length : name;
298837
298839
  if (isLast) {
298838
298840
  if (utils_default.hasOwnProp(target, name)) {
@@ -298845,7 +298847,7 @@ function formDataToJSON(formData) {
298845
298847
  if (!utils_default.hasOwnProp(target, name) || !utils_default.isObject(target[name])) {
298846
298848
  target[name] = [];
298847
298849
  }
298848
- const result = buildPath(path13, value, target[name], index);
298850
+ const result = buildPath(path14, value, target[name], index);
298849
298851
  if (result && utils_default.isArray(target[name])) {
298850
298852
  target[name] = arrayToObject(target[name]);
298851
298853
  }
@@ -300563,9 +300565,9 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
300563
300565
  auth = urlUsername + ":" + urlPassword;
300564
300566
  }
300565
300567
  auth && headers.delete("authorization");
300566
- let path13;
300568
+ let path14;
300567
300569
  try {
300568
- path13 = buildURL(
300570
+ path14 = buildURL(
300569
300571
  parsed.pathname + parsed.search,
300570
300572
  own2("params"),
300571
300573
  own2("paramsSerializer")
@@ -300584,7 +300586,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
300584
300586
  false
300585
300587
  );
300586
300588
  const options = Object.assign(/* @__PURE__ */ Object.create(null), {
300587
- path: path13,
300589
+ path: path14,
300588
300590
  method,
300589
300591
  headers: toByteStringHeaderObject(headers),
300590
300592
  agents: { http: httpAgent, https: httpsAgent },
@@ -300986,14 +300988,14 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
300986
300988
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
300987
300989
  // Standard browser envs support document.cookie
300988
300990
  {
300989
- write(name, value, expires, path13, domain, secure, sameSite) {
300991
+ write(name, value, expires, path14, domain, secure, sameSite) {
300990
300992
  if (typeof document === "undefined") return;
300991
300993
  const cookie = [`${name}=${encodeURIComponent(value)}`];
300992
300994
  if (utils_default.isNumber(expires)) {
300993
300995
  cookie.push(`expires=${new Date(expires).toUTCString()}`);
300994
300996
  }
300995
- if (utils_default.isString(path13)) {
300996
- cookie.push(`path=${path13}`);
300997
+ if (utils_default.isString(path14)) {
300998
+ cookie.push(`path=${path14}`);
300997
300999
  }
300998
301000
  if (utils_default.isString(domain)) {
300999
301001
  cookie.push(`domain=${domain}`);
@@ -306915,6 +306917,7 @@ var import_typeorm166 = __toESM(require_typeorm2(), 1);
306915
306917
  // dist/.server-tsc/recommendation/stage-forms.js
306916
306918
  var STAGE_FORM_TEMPLATES = {
306917
306919
  recommended: [
306920
+ { key: "recommendReason", label: "\u63A8\u8350\u7406\u7531(\u5339\u914D\u8981\u70B9)", required: true },
306918
306921
  { key: "profile", label: "\u57FA\u672C\u6982\u51B5(\u6027\u522B/\u5E74\u9F84/\u56FD\u7C4D/\u6240\u5728\u5730/\u5B66\u5386/\u8BED\u8A00)" },
306919
306922
  { key: "currentRole", label: "\u73B0\u804C\u4E0E\u804C\u8D23(\u516C\u53F8/\u804C\u4F4D/\u56E2\u961F\u89C4\u6A21/\u6C47\u62A5\u7EBF)" },
306920
306923
  { key: "strengths", label: "\u6838\u5FC3\u80FD\u529B\u4E0E\u4E1A\u7EE9\u4EAE\u70B9" },
@@ -306951,10 +306954,10 @@ var STAGE_FORM_TEMPLATES = {
306951
306954
  { key: "hardEvidence", label: "\u786C\u6761\u4EF6\u8BC1\u636E" },
306952
306955
  { key: "functionEvidence", label: "\u804C\u80FD\u8BC1\u636E" },
306953
306956
  { key: "platformRef", label: "\u5E73\u53F0\u6807\u51C6\u5F15\u7528" },
306954
- { key: "conclusion", label: "\u5F53\u524D\u7ED3\u8BBA(\u901A\u8FC7/\u5F85\u6838\u5B9E/\u6392\u9664)" }
306957
+ { key: "conclusion", label: "\u5F53\u524D\u7ED3\u8BBA(\u901A\u8FC7/\u5F85\u6838\u5B9E/\u6392\u9664)", required: true }
306955
306958
  ],
306956
306959
  to_client: [
306957
- { key: "reportRef", label: "\u62A5\u544A\u5B9A\u7A3F\u5F15\u7528" },
306960
+ { key: "reportRef", label: "\u62A5\u544A\u5B9A\u7A3F\u5F15\u7528", required: true },
306958
306961
  { key: "listTier", label: "\u540D\u5355\u5206\u7EA7(\u63A8\u8350/\u5907\u9009)" },
306959
306962
  { key: "exportConfirmed", label: "\u5BFC\u51FA\u540D\u5355\u786E\u8BA4" },
306960
306963
  { key: "customerConcerns", label: "\u5BA2\u6237\u5173\u6CE8\u70B9\u56DE\u5E94" }
@@ -306965,24 +306968,24 @@ var STAGE_FORM_TEMPLATES = {
306965
306968
  { key: "blockers", label: "\u5BA2\u6237\u4FA7\u5361\u70B9" }
306966
306969
  ],
306967
306970
  interview_scheduled: [
306968
- { key: "interviewTime", label: "\u9762\u8BD5\u65F6\u95F4" },
306969
- { key: "interviewFormat", label: "\u9762\u8BD5\u5F62\u5F0F" },
306971
+ { key: "interviewTime", label: "\u9762\u8BD5\u65F6\u95F4", required: true },
306972
+ { key: "interviewFormat", label: "\u9762\u8BD5\u5F62\u5F0F", required: true },
306970
306973
  { key: "interviewer", label: "\u9762\u8BD5\u5B98" },
306971
306974
  { key: "interviewFeedback", label: "\u9762\u8BD5\u53CD\u9988" }
306972
306975
  ],
306973
306976
  offer_pending: [
306974
- { key: "offerSalary", label: "offer\u85AA\u8D44\u4E0E\u7ED3\u6784" },
306977
+ { key: "offerSalary", label: "offer\u85AA\u8D44\u4E0E\u7ED3\u6784", required: true },
306975
306978
  { key: "contractEntity", label: "\u5408\u540C\u7B7E\u8BA2\u5B9E\u4F53(EOR/\u672C\u5730\u4E3B\u4F53)" },
306976
306979
  { key: "terms", label: "\u6761\u6B3E\u8981\u70B9" },
306977
306980
  { key: "negotiation", label: "\u8C08\u5224\u8BB0\u5F55" }
306978
306981
  ],
306979
306982
  onboarding: [
306980
- { key: "onboardDate", label: "\u5165\u804C\u65E5\u671F" },
306983
+ { key: "onboardDate", label: "\u5165\u804C\u65E5\u671F", required: true },
306981
306984
  { key: "noticeConfirmed", label: "\u901A\u77E5\u671F\u786E\u8BA4" },
306982
306985
  { key: "signingStatus", label: "\u7B7E\u7EA6/\u80CC\u8C03\u72B6\u6001" }
306983
306986
  ],
306984
306987
  rejected: [
306985
- { key: "rejectReason", label: "\u6392\u9664\u539F\u56E0" },
306988
+ { key: "rejectReason", label: "\u6392\u9664\u539F\u56E0", required: true },
306986
306989
  { key: "rejectedBy", label: "\u6392\u9664\u4EBA" },
306987
306990
  { key: "recontactAt", label: "\u53EF\u518D\u8054\u7CFB\u65F6\u95F4" }
306988
306991
  ]
@@ -306993,11 +306996,12 @@ var HM_BASE2 = "http://127.0.0.1:34571";
306993
306996
  var WRITEBACK_FOOTER = [
306994
306997
  "## \u5199\u56DE\u5951\u7EA6(hunter-mate \u672C\u5730 API)",
306995
306998
  `- \u5EFA\u6863/\u8865\u5F55:curl -X POST ${HM_BASE2}/recommendations -H 'Content-Type: application/json' -d '{"jobCaseId":<\u804C\u4F4Did>,"portraitId":"<\u6863\u6848id>","stage":"recommended","formData":{...}}'`,
306999
+ `- \u63A8\u8350\u7406\u7531(\u5FC5\u987B):\u5EFA\u6863\u65F6\u7ED9\u51FA scores \u6216 CLI --reason\u2014\u2014curl \u540C\u4E0A\u9644 '"scores":{"aiReason":"<\u4E3A\u4EC0\u4E48\u63A8\u8350\u8FD9\u4E2A\u4EBA\u4E3A\u8FD9\u4E2A\u804C\u4F4D:\u5339\u914D\u7EF4\u5EA6+\u5173\u952E\u8BC1\u636E,2-4\u53E5>"}'(\u4EA6\u53EF\u5199 formData.recommendReason);\u6CA1\u6709\u63A8\u8350\u7406\u7531\u7684\u5EFA\u6863\u89C6\u4E3A\u534A\u6210\u54C1,\u7528\u6237\u5BA1\u9605\u9875\u65E0\u6CD5\u5224\u65AD`,
306996
307000
  `- \u66F4\u65B0\u8868\u5355:curl -X PATCH ${HM_BASE2}/recommendations/<\u63A8\u8350id> -d '{"formData":{"<\u952E>":"<\u5185\u5BB9>"}}'(\u952E\u7F6E null \u5220\u8BE5\u952E)`,
306997
307001
  `- \u9636\u6BB5\u8FC1\u79FB(\u81EA\u52A8\u5199\u64CD\u4F5C\u5386\u53F2):curl -X PATCH ${HM_BASE2}/recommendations/<\u63A8\u8350id> -d '{"stage":"invited","note":"..."}'`,
306998
307002
  "- \u9636\u6BB5\u679A\u4E3E\u4E0E\u8868\u5355\u6A21\u677F:curl " + HM_BASE2 + "/recommendations/meta",
306999
307003
  "",
307000
- "\u7EA6\u675F:\u6BCF\u4E2A\u88AB\u63A8\u8350\u4EBA\u5148\u67E5\u91CD(\u5DF2\u6838\u5BF9\u5DF2\u8054\u7CFB\u8BB0\u5F55\u6570/\u91CD\u590D\u6570\u5199\u8FDB\u8868\u5355);\u63A8\u8350\u62A5\u544A\u5B57\u6BB5\u6309\u300C\u63A8\u8350\u4EBA\u624D\u300D\u9636\u6BB5\u6A21\u677F\u5168\u91CF\u586B\u5199;\u4E00\u5207\u9636\u6BB5\u66F4\u65B0\u7528\u5927\u767D\u8BDD\u5411\u7528\u6237\u63D0\u6848\u3001\u7ECF\u786E\u8BA4\u540E\u518D PATCH\u3002",
307004
+ "\u7EA6\u675F:\u6BCF\u4E2A\u88AB\u63A8\u8350\u4EBA\u5148\u67E5\u91CD(\u5DF2\u6838\u5BF9\u5DF2\u8054\u7CFB\u8BB0\u5F55\u6570/\u91CD\u590D\u6570\u5199\u8FDB\u8868\u5355);\u63A8\u8350\u62A5\u544A\u5B57\u6BB5\u6309\u300C\u63A8\u8350\u4EBA\u624D\u300D\u9636\u6BB5\u6A21\u677F\u5168\u91CF\u586B\u5199(\u542B\u63A8\u8350\u7406\u7531);\u4E00\u5207\u9636\u6BB5\u66F4\u65B0\u7528\u5927\u767D\u8BDD\u5411\u7528\u6237\u63D0\u6848\u3001\u7ECF\u786E\u8BA4\u540E\u518D PATCH\u3002",
307001
307005
  "\u804C\u4F4D\u5EFA\u6863(\u5148\u67E5\u540E\u5EFA,FID-106 iter9):\u65B0\u5EFA\u804C\u4F4D\u524D\u5148 GET " + HM_BASE2 + "/job-cases?q=<\u804C\u4F4D\u540D> \u67E5\u91CD\u2014\u2014\u5B58\u5728\u5373\u590D\u7528\u5176 id \u4E0D\u5F97\u53E6\u5EFA;POST /job-cases \u540C externalId \u5E42\u7B49(\u91CD\u590D=\u8FD4\u56DE\u5DF2\u6709\u6863 existing:true),\u540C\u5BA2\u6237\u540C title \u8FD4\u56DE 409+existingId\u3002"
307002
307006
  ].join("\n");
307003
307007
  function buildRecommendPrompt(d) {
@@ -307270,7 +307274,7 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
307270
307274
  await this.recordFeedbackIfTerminal(saved, by);
307271
307275
  return saved;
307272
307276
  }
307273
- async batchMove(ids, stage, jobCaseId, by = "web", actorType = "unknown") {
307277
+ async batchMove(ids, stage, jobCaseId, by = "web", actorType = "unknown", formData) {
307274
307278
  const target = assertStage(stage);
307275
307279
  if (!ids.length)
307276
307280
  throw new import_common147.BadRequestException("ids required");
@@ -307286,6 +307290,23 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
307286
307290
  this.applyMove(row, target, by, note, actorType);
307287
307291
  if (jobCaseId)
307288
307292
  row.jobCaseId = jobCaseId;
307293
+ if (formData && Object.keys(formData).length) {
307294
+ const next = { ...row.formData ?? {} };
307295
+ for (const [k2, v] of Object.entries(formData)) {
307296
+ if (v === null)
307297
+ delete next[k2];
307298
+ else
307299
+ next[k2] = v;
307300
+ }
307301
+ row.formData = next;
307302
+ this.pushHistory(row, {
307303
+ at: (/* @__PURE__ */ new Date()).toISOString(),
307304
+ by,
307305
+ actorType,
307306
+ action: "form",
307307
+ note: "\u79FB\u52A8\u65F6\u586B\u5199\u9636\u6BB5\u8868\u5355"
307308
+ });
307309
+ }
307289
307310
  const saved = await this.recRepo.save(row);
307290
307311
  await this.recordFeedbackIfTerminal(saved, by);
307291
307312
  out.push(saved);
@@ -307559,7 +307580,7 @@ var RecommendationController = class RecommendationController2 {
307559
307580
  return this.service.update(id, dto, req.user?.userId ?? "web", actorOf(req));
307560
307581
  }
307561
307582
  batchMove(body, req) {
307562
- return this.service.batchMove(body.ids, body.stage, body.jobCaseId, req.user?.userId ?? "web", actorOf(req));
307583
+ return this.service.batchMove(body.ids, body.stage, body.jobCaseId, req.user?.userId ?? "web", actorOf(req), body.formData);
307563
307584
  }
307564
307585
  adopt(body, req) {
307565
307586
  return this.service.adopt(body.matchId, req.user?.userId ?? "web", actorOf(req));
@@ -308251,6 +308272,8 @@ var import_common158 = __toESM(require_common(), 1);
308251
308272
  // dist/.server-tsc/perf/perf.service.js
308252
308273
  var import_common156 = __toESM(require_common(), 1);
308253
308274
  var import_config10 = __toESM(require_config2(), 1);
308275
+ import { readFileSync as readFileSync8 } from "node:fs";
308276
+ import * as path13 from "node:path";
308254
308277
  var __decorate198 = function(decorators, target, key, desc) {
308255
308278
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
308256
308279
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -308266,6 +308289,8 @@ var FLUSH_BATCH_SIZE = 200;
308266
308289
  var BUFFER_CAP = 2e3;
308267
308290
  var PATH_MAX = 200;
308268
308291
  var METHOD_MAX = 8;
308292
+ var DETAIL_KEY_MAX = 32;
308293
+ var DETAIL_VAL_MAX = 600;
308269
308294
  var PerfReportService = PerfReportService_1 = class PerfReportService2 {
308270
308295
  config;
308271
308296
  auth;
@@ -308284,6 +308309,19 @@ var PerfReportService = PerfReportService_1 = class PerfReportService2 {
308284
308309
  get enabled() {
308285
308310
  return this.config.get("HM_PERF_REPORT") !== "0";
308286
308311
  }
308312
+ get serverIdentity() {
308313
+ try {
308314
+ const info2 = JSON.parse(readFileSync8(path13.join(__dirname, "build-info.json"), "utf8"));
308315
+ const out = {};
308316
+ if (info2.version)
308317
+ out.ver = String(info2.version);
308318
+ if (info2.git && info2.git !== "unknown")
308319
+ out.git = String(info2.git);
308320
+ return out;
308321
+ } catch {
308322
+ return {};
308323
+ }
308324
+ }
308287
308325
  get saasBaseUrl() {
308288
308326
  const base = this.config.get("HUNTER_MATE_SAAS_URL") || this.config.get("SAAS_URL") || "https://dev-ops.hiredchina.com";
308289
308327
  return base ? base.replace(/\/$/, "") : void 0;
@@ -308291,11 +308329,24 @@ var PerfReportService = PerfReportService_1 = class PerfReportService2 {
308291
308329
  record(raw) {
308292
308330
  if (!this.enabled)
308293
308331
  return;
308294
- this.buffer.push({
308332
+ const point = {
308295
308333
  ...raw,
308296
308334
  method: raw.method.slice(0, METHOD_MAX),
308297
308335
  path: raw.path.slice(0, PATH_MAX)
308298
- });
308336
+ };
308337
+ if (raw.detail) {
308338
+ const detail = {};
308339
+ for (const [k2, v] of Object.entries(raw.detail)) {
308340
+ if (v === void 0 || v === null || v === "")
308341
+ continue;
308342
+ detail[k2.slice(0, DETAIL_KEY_MAX)] = String(v).slice(0, DETAIL_VAL_MAX);
308343
+ }
308344
+ if (Object.keys(detail).length)
308345
+ point.detail = detail;
308346
+ else
308347
+ delete point.detail;
308348
+ }
308349
+ this.buffer.push(point);
308299
308350
  if (this.buffer.length > BUFFER_CAP) {
308300
308351
  this.buffer.splice(0, this.buffer.length - BUFFER_CAP);
308301
308352
  }
@@ -308354,24 +308405,76 @@ var __metadata152 = function(k2, v) {
308354
308405
  };
308355
308406
  var SKIP_PREFIXES2 = ["/health", "/ws"];
308356
308407
  var STATIC_EXT = /\.(?:js|css|map|png|jpg|jpeg|gif|ico|svg|webp|woff2?|ttf|eot|html|txt)$/;
308408
+ var SENSITIVE_KEY = /token|password|secret|authorization|cookie/i;
308409
+ var QUERY_MAX = 300;
308410
+ var BODY_MAX = 500;
308411
+ function snapshotBody(body) {
308412
+ if (body === void 0 || body === null)
308413
+ return void 0;
308414
+ let json;
308415
+ try {
308416
+ json = typeof body === "string" ? body : JSON.stringify(body);
308417
+ } catch {
308418
+ return void 0;
308419
+ }
308420
+ if (!json || json === "{}")
308421
+ return void 0;
308422
+ if (body && typeof body === "object" && !Array.isArray(body)) {
308423
+ try {
308424
+ const redacted = Object.fromEntries(Object.entries(body).map(([k2, v]) => [
308425
+ k2,
308426
+ SENSITIVE_KEY.test(k2) ? "[redacted]" : v
308427
+ ]));
308428
+ json = JSON.stringify(redacted);
308429
+ } catch {
308430
+ }
308431
+ }
308432
+ return json.length > BODY_MAX ? `${json.slice(0, BODY_MAX)}\u2026` : json;
308433
+ }
308357
308434
  var PerfMiddleware = class PerfMiddleware2 {
308358
308435
  perf;
308359
308436
  constructor(perf) {
308360
308437
  this.perf = perf;
308361
308438
  }
308362
308439
  use(req, res, next) {
308363
- const path13 = ((req.originalUrl ?? req.url) || "").split("?")[0] || "/";
308364
- if (SKIP_PREFIXES2.some((p) => path13 === p || path13.startsWith(`${p}/`)) || STATIC_EXT.test(path13)) {
308440
+ const originalUrl = ((req.originalUrl ?? req.url) || "").split("?")[0] || "/";
308441
+ if (SKIP_PREFIXES2.some((p) => originalUrl === p || originalUrl.startsWith(`${p}/`)) || STATIC_EXT.test(originalUrl)) {
308365
308442
  return next();
308366
308443
  }
308367
308444
  const startedAt = Date.now();
308445
+ const rawUrl = req.originalUrl ?? req.url ?? "";
308446
+ const query = rawUrl.includes("?") ? rawUrl.slice(rawUrl.indexOf("?") + 1) : "";
308447
+ const fwd = String(req.headers["x-forwarded-for"] ?? "").split(",")[0].trim();
308448
+ const ip = fwd || req.ip || req.socket?.remoteAddress || "";
308449
+ const ua = String(req.headers["user-agent"] ?? "");
308450
+ const bodySnapshot = snapshotBody(req.body);
308451
+ const identity = this.perf.serverIdentity;
308368
308452
  res.on("finish", () => {
308453
+ const durationMs = Date.now() - startedAt;
308454
+ const route = req.route?.path;
308455
+ const detail = { ...identity };
308456
+ if (ip)
308457
+ detail.ip = ip;
308458
+ if (ua)
308459
+ detail.ua = ua.length > 200 ? `${ua.slice(0, 200)}\u2026` : ua;
308460
+ if (query) {
308461
+ detail.query = query.length > QUERY_MAX ? `${query.slice(0, QUERY_MAX)}\u2026` : query;
308462
+ }
308463
+ if (bodySnapshot)
308464
+ detail.body = bodySnapshot;
308465
+ if (typeof route === "string" && route) {
308466
+ detail.route = `${req.baseUrl ?? ""}${route}` || route;
308467
+ }
308468
+ const resBytes = res.getHeader?.("content-length");
308469
+ if (resBytes !== void 0)
308470
+ detail.resBytes = String(resBytes);
308369
308471
  this.perf.record({
308370
308472
  method: (req.method ?? "").toUpperCase(),
308371
- path: path13,
308473
+ path: originalUrl,
308372
308474
  status: res.statusCode,
308373
- durationMs: Date.now() - startedAt,
308374
- ts: new Date(startedAt).toISOString()
308475
+ durationMs,
308476
+ ts: new Date(startedAt).toISOString(),
308477
+ detail: durationMs >= 500 ? detail : void 0
308375
308478
  });
308376
308479
  });
308377
308480
  next();
@@ -308409,7 +308512,7 @@ var __decorate201 = function(decorators, target, key, desc) {
308409
308512
  var __metadata153 = function(k2, v) {
308410
308513
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
308411
308514
  };
308412
- var WEB_DIST2 = join15(__dirname, "..", "..", "web", "dist");
308515
+ var WEB_DIST2 = join16(__dirname, "..", "..", "web", "dist");
308413
308516
  var AUTH_MIDDLEWARE_EXCLUDES = [
308414
308517
  { path: "/", method: import_common159.RequestMethod.GET },
308415
308518
  { path: "entity", method: import_common159.RequestMethod.GET },