rolldown 1.0.0-beta.9-commit.8371a90 → 1.0.0-beta.9-commit.273d50e

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 (37) hide show
  1. package/dist/cli.cjs +3 -3
  2. package/dist/cli.mjs +44 -55
  3. package/dist/config.cjs +3 -3
  4. package/dist/config.d.cts +2 -2
  5. package/dist/config.d.mts +2 -2
  6. package/dist/config.mjs +4 -5
  7. package/dist/experimental-index.cjs +2 -2
  8. package/dist/experimental-index.d.cts +2 -2
  9. package/dist/experimental-index.d.mts +2 -2
  10. package/dist/experimental-index.mjs +3 -4
  11. package/dist/filter-index.d.cts +2 -2
  12. package/dist/filter-index.d.mts +2 -2
  13. package/dist/filter-index.mjs +1 -2
  14. package/dist/index.cjs +2 -2
  15. package/dist/index.d.cts +3 -3
  16. package/dist/index.d.mts +3 -3
  17. package/dist/index.mjs +3 -3
  18. package/dist/parallel-plugin-worker.cjs +2 -2
  19. package/dist/parallel-plugin-worker.mjs +3 -3
  20. package/dist/parallel-plugin.d.cts +2 -2
  21. package/dist/parallel-plugin.d.mts +2 -2
  22. package/dist/parse-ast-index.cjs +1 -1
  23. package/dist/parse-ast-index.d.cts +1 -1
  24. package/dist/parse-ast-index.d.mts +1 -1
  25. package/dist/parse-ast-index.mjs +1 -1
  26. package/dist/shared/{binding.d-B9SSHAER.d.mts → binding.d-D3r4zbxz.d.mts} +6 -9
  27. package/dist/shared/{binding.d-CrH1UT-g.d.cts → binding.d-p8euY1Wh.d.cts} +6 -9
  28. package/dist/shared/{define-config.d-CUCXQ5Qr.d.mts → define-config.d-CPoyfJeO.d.mts} +5 -15
  29. package/dist/shared/{define-config.d-2mCqGCzl.d.cts → define-config.d-DsyTAkf3.d.cts} +5 -15
  30. package/dist/shared/{load-config-DaTbe02e.mjs → load-config-BK3hMJOe.mjs} +1 -1
  31. package/dist/shared/{load-config-B2LkbAmK.cjs → load-config-GL1xItfo.cjs} +1 -1
  32. package/dist/shared/{misc-DGAe2XOW.mjs → misc-F8g_dc1D.mjs} +1 -4
  33. package/dist/shared/{parse-ast-index-Bye5_Vy8.mjs → parse-ast-index-Bnh8Dob0.mjs} +4 -13
  34. package/dist/shared/{parse-ast-index-qKChTJzE.cjs → parse-ast-index-Cn_efzjO.cjs} +1 -0
  35. package/dist/shared/{src-CEJMSju3.mjs → src-CG2mUfiN.mjs} +180 -573
  36. package/dist/shared/{src-BwuVByD5.cjs → src-ndIZkCCf.cjs} +22 -41
  37. package/package.json +15 -15
@@ -1,6 +1,6 @@
1
1
  import { __esm, __toESM } from "./chunk--iN_1bjD.mjs";
2
- import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, require_binding } from "./parse-ast-index-Bye5_Vy8.mjs";
3
- import { arraify, init_misc, isNullish, noop, unimplemented, unreachable, unsupported } from "./misc-DGAe2XOW.mjs";
2
+ import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, require_binding } from "./parse-ast-index-Bnh8Dob0.mjs";
3
+ import { arraify, isNullish, noop, unimplemented, unreachable, unsupported } from "./misc-F8g_dc1D.mjs";
4
4
  import path from "node:path";
5
5
  import { fileURLToPath } from "node:url";
6
6
  import colors from "ansis";
@@ -9,7 +9,7 @@ import os from "node:os";
9
9
  import { Worker } from "node:worker_threads";
10
10
 
11
11
  //#region package.json
12
- var version = "1.0.0-beta.9-commit.8371a90";
12
+ var version = "1.0.0-beta.9-commit.273d50e";
13
13
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
14
14
 
15
15
  //#endregion
@@ -145,7 +145,6 @@ function getLogHandler(level, code, logger, pluginName, logLevel) {
145
145
  }
146
146
  var normalizeLog;
147
147
  var init_log_handler = __esm({ "src/log/log-handler.ts"() {
148
- init_misc();
149
148
  init_logging();
150
149
  init_logs();
151
150
  normalizeLog = (log) => typeof log === "string" ? { message: log } : typeof log === "function" ? normalizeLog(log()) : log;
@@ -253,9 +252,7 @@ function normalizeHook(hook) {
253
252
  }
254
253
  unreachable("Invalid hook type");
255
254
  }
256
- var init_normalize_hook = __esm({ "src/utils/normalize-hook.ts"() {
257
- init_misc();
258
- } });
255
+ var init_normalize_hook = __esm({ "src/utils/normalize-hook.ts"() {} });
259
256
 
260
257
  //#endregion
261
258
  //#region src/constants/plugin.ts
@@ -327,7 +324,6 @@ async function asyncFlatten(array$1) {
327
324
  while (array$1.some((v) => v?.then));
328
325
  return array$1;
329
326
  }
330
- var init_async_flatten = __esm({ "src/utils/async-flatten.ts"() {} });
331
327
 
332
328
  //#endregion
333
329
  //#region src/utils/normalize-plugin-option.ts
@@ -352,7 +348,6 @@ var init_normalize_plugin_option = __esm({ "src/utils/normalize-plugin-option.ts
352
348
  init_plugin$1();
353
349
  init_logging();
354
350
  init_logs();
355
- init_async_flatten();
356
351
  normalizePluginOption = async (plugins) => (await asyncFlatten([plugins])).filter(Boolean);
357
352
  ANONYMOUS_PLUGIN_PREFIX = "at position ";
358
353
  ANONYMOUS_OUTPUT_PLUGIN_PREFIX = "at output position ";
@@ -384,8 +379,8 @@ var init_minimal_plugin_context = __esm({ "src/plugin/minimal-plugin-context.ts"
384
379
  watchMode
385
380
  };
386
381
  }
387
- error(e$5) {
388
- return error(logPluginError(normalizeLog(e$5), this.pluginName, { hook: this.hookName }));
382
+ error(e) {
383
+ return error(logPluginError(normalizeLog(e), this.pluginName, { hook: this.hookName }));
389
384
  }
390
385
  };
391
386
  } });
@@ -468,6 +463,7 @@ var init_plugin_driver = __esm({ "src/plugin/plugin-driver.ts"() {
468
463
 
469
464
  //#endregion
470
465
  //#region ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.8.3/node_modules/valibot/dist/index.js
466
+ var store$1;
471
467
  /* @__NO_SIDE_EFFECTS__ */
472
468
  function getGlobalConfig(config2) {
473
469
  return {
@@ -477,14 +473,17 @@ function getGlobalConfig(config2) {
477
473
  abortPipeEarly: config2?.abortPipeEarly ?? store$1?.abortPipeEarly
478
474
  };
479
475
  }
476
+ var store2;
480
477
  /* @__NO_SIDE_EFFECTS__ */
481
478
  function getGlobalMessage(lang) {
482
479
  return store2?.get(lang);
483
480
  }
481
+ var store3;
484
482
  /* @__NO_SIDE_EFFECTS__ */
485
483
  function getSchemaMessage(lang) {
486
484
  return store3?.get(lang);
487
485
  }
486
+ var store4;
488
487
  /* @__NO_SIDE_EFFECTS__ */
489
488
  function getSpecificMessage(reference, lang) {
490
489
  return store4?.get(reference)?.get(lang);
@@ -542,6 +541,18 @@ function _joinExpects(values2, separator) {
542
541
  if (list.length > 1) return `(${list.join(` ${separator} `)})`;
543
542
  return list[0] ?? "never";
544
543
  }
544
+ var ValiError = class extends Error {
545
+ /**
546
+ * Creates a Valibot error with useful information.
547
+ *
548
+ * @param issues The error issues.
549
+ */
550
+ constructor(issues) {
551
+ super(issues[0].message);
552
+ this.name = "ValiError";
553
+ this.issues = issues;
554
+ }
555
+ };
545
556
  /* @__NO_SIDE_EFFECTS__ */
546
557
  function args(schema) {
547
558
  return {
@@ -1419,21 +1430,6 @@ function safeParse(schema, input, config2) {
1419
1430
  issues: dataset.issues
1420
1431
  };
1421
1432
  }
1422
- var store$1, store2, store3, store4, ValiError;
1423
- var init_dist$2 = __esm({ "../../node_modules/.pnpm/valibot@1.1.0_typescript@5.8.3/node_modules/valibot/dist/index.js"() {
1424
- ValiError = class extends Error {
1425
- /**
1426
- * Creates a Valibot error with useful information.
1427
- *
1428
- * @param issues The error issues.
1429
- */
1430
- constructor(issues) {
1431
- super(issues[0].message);
1432
- this.name = "ValiError";
1433
- this.issues = issues;
1434
- }
1435
- };
1436
- } });
1437
1433
 
1438
1434
  //#endregion
1439
1435
  //#region ../../node_modules/.pnpm/@valibot+to-json-schema@1.2.0_valibot@1.1.0_typescript@5.8.3_/node_modules/@valibot/to-json-schema/dist/index.js
@@ -1799,7 +1795,6 @@ function toJsonSchema(schema, config) {
1799
1795
  }
1800
1796
  var store, refCount;
1801
1797
  var init_dist$1 = __esm({ "../../node_modules/.pnpm/@valibot+to-json-schema@1.2.0_valibot@1.1.0_typescript@5.8.3_/node_modules/@valibot/to-json-schema/dist/index.js"() {
1802
- init_dist$2();
1803
1798
  refCount = 0;
1804
1799
  } });
1805
1800
 
@@ -1820,7 +1815,7 @@ function validateOption(key, options) {
1820
1815
  const issuePaths = issue.path.map((path$1) => path$1.key);
1821
1816
  let issueMsg = issue.message;
1822
1817
  if (issue.type === "union") {
1823
- const subIssue = issue.issues?.find((i$21) => !(i$21.type !== issue.received && i$21.input === issue.input));
1818
+ const subIssue = issue.issues?.find((i$16) => !(i$16.type !== issue.received && i$16.input === issue.input));
1824
1819
  if (subIssue) {
1825
1820
  if (subIssue.path) issuePaths.push(subIssue.path.map((path$1) => path$1.key));
1826
1821
  issueMsg = subIssue.message;
@@ -1846,7 +1841,6 @@ function getJsonSchema() {
1846
1841
  var StringOrRegExpSchema, LogLevelSchema, LogLevelOptionSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, InputOptionSchema, ExternalSchema, ModuleTypesSchema, JsxOptionsSchema, HelperModeSchema, DecoratorOptionSchema, HelpersSchema, RewriteImportExtensionsSchema, TypescriptSchema, AssumptionsSchema, TransformOptionsSchema, WatchOptionsSchema, ChecksOptionsSchema, MinifyOptionsSchema, ResolveOptionsSchema, TreeshakingOptionsSchema, OnLogSchema, OnwarnSchema, HmrSchema, InputOptionsSchema, InputCliOverrideSchema, InputCliOptionsSchema, ModuleFormatSchema, AddonFunctionSchema, ChunkFileNamesSchema, AssetFileNamesSchema, SanitizeFileNameSchema, GlobalsFunctionSchema, AdvancedChunksSchema, OutputOptionsSchema, getAddonDescription, OutputCliOverrideSchema, OutputCliOptionsSchema, CliOptionsSchema, inputHelperMsgRecord, outputHelperMsgRecord;
1847
1842
  var init_validator = __esm({ "src/utils/validator.ts"() {
1848
1843
  init_dist$1();
1849
- init_dist$2();
1850
1844
  StringOrRegExpSchema = union([string(), instance(RegExp)]);
1851
1845
  LogLevelSchema = union([
1852
1846
  literal("debug"),
@@ -1886,17 +1880,13 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1886
1880
  literal("tsx")
1887
1881
  ]));
1888
1882
  JsxOptionsSchema = strictObject({
1883
+ runtime: pipe(optional(union([literal("classic"), literal("automatic")])), description("Which runtime to use")),
1889
1884
  development: pipe(optional(boolean()), description("Development specific information")),
1890
- factory: pipe(optional(string()), description("Jsx element transformation")),
1891
- fragment: pipe(optional(string()), description("Jsx fragment transformation")),
1885
+ throwIfNamespace: pipe(optional(string()), description("Toggles whether to throw an error when a tag name uses an XML namespace")),
1892
1886
  importSource: pipe(optional(string()), description("Import the factory of element and fragment if mode is classic")),
1893
- jsxImportSource: pipe(optional(string()), description("Import the factory of element and fragment if mode is automatic")),
1894
- mode: pipe(optional(union([
1895
- literal("classic"),
1896
- literal("automatic"),
1897
- literal("preserve")
1898
- ])), description("Jsx transformation mode")),
1899
- refresh: pipe(optional(boolean()), description("React refresh transformation"))
1887
+ pragma: pipe(optional(string()), description("Jsx element transformation")),
1888
+ pragmaFlag: pipe(optional(string()), description("Jsx fragment transformation")),
1889
+ refresh: pipe(optional(boolean()), description("Enable react fast refresh"))
1900
1890
  });
1901
1891
  HelperModeSchema = union([literal("Runtime"), literal("External")]);
1902
1892
  DecoratorOptionSchema = object({
@@ -1932,7 +1922,9 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1932
1922
  assumptions: optional(AssumptionsSchema),
1933
1923
  typescript: optional(TypescriptSchema),
1934
1924
  helpers: optional(HelpersSchema),
1935
- decorators: optional(DecoratorOptionSchema)
1925
+ decorators: optional(DecoratorOptionSchema),
1926
+ jsx: optional(JsxOptionsSchema),
1927
+ target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment"))
1936
1928
  });
1937
1929
  WatchOptionsSchema = strictObject({
1938
1930
  chokidar: optional(never(`The "watch.chokidar" option is deprecated, please use "watch.notify" instead of it`)),
@@ -2020,13 +2012,12 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2020
2012
  define: pipe(optional(record(string(), string())), description("Define global variables")),
2021
2013
  inject: optional(record(string(), union([string(), tuple([string(), string()])]))),
2022
2014
  profilerNames: optional(boolean()),
2023
- jsx: optional(union([
2024
- boolean(),
2025
- JsxOptionsSchema,
2026
- string("react"),
2027
- string("react-jsx"),
2028
- string("preserve")
2029
- ])),
2015
+ jsx: pipe(optional(union([
2016
+ literal(false),
2017
+ literal("react"),
2018
+ literal("react-jsx"),
2019
+ literal("preserve")
2020
+ ])), description("Jsx options preset")),
2030
2021
  transform: optional(TransformOptionsSchema),
2031
2022
  watch: optional(union([WatchOptionsSchema, literal(false)])),
2032
2023
  dropLabels: pipe(optional(array(string())), description("Remove labeled statements with these label names")),
@@ -2038,8 +2029,7 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2038
2029
  input: pipe(optional(array(string())), description("Entry file")),
2039
2030
  external: pipe(optional(array(string())), description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
2040
2031
  inject: pipe(optional(record(string(), string())), description("Inject import statements on demand")),
2041
- treeshake: pipe(optional(boolean()), description("enable treeshaking")),
2042
- jsx: pipe(optional(JsxOptionsSchema), description("enable jsx"))
2032
+ treeshake: pipe(optional(boolean()), description("enable treeshaking"))
2043
2033
  });
2044
2034
  InputCliOptionsSchema = omit(strictObject({
2045
2035
  ...InputOptionsSchema.entries,
@@ -2133,7 +2123,6 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2133
2123
  legalComments: pipe(optional(union([literal("none"), literal("inline")])), description("Control comments in the output")),
2134
2124
  plugins: optional(custom(() => true)),
2135
2125
  polyfillRequire: pipe(optional(boolean()), description("Disable require polyfill injection")),
2136
- target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment")),
2137
2126
  hoistTransitiveImports: optional(custom((input) => {
2138
2127
  if (input) return false;
2139
2128
  return true;
@@ -2194,62 +2183,58 @@ var init_plugin_context$1 = __esm({ "src/constants/plugin-context.ts"() {
2194
2183
 
2195
2184
  //#endregion
2196
2185
  //#region src/options/normalized-input-options.ts
2197
- var NormalizedInputOptionsImpl;
2198
- var init_normalized_input_options = __esm({ "src/options/normalized-input-options.ts"() {
2199
- NormalizedInputOptionsImpl = class {
2200
- inner;
2201
- constructor(inner, onLog) {
2202
- this.onLog = onLog;
2203
- this.inner = inner;
2204
- }
2205
- get shimMissingExports() {
2206
- return this.inner.shimMissingExports;
2207
- }
2208
- get input() {
2209
- return this.inner.input;
2210
- }
2211
- get cwd() {
2212
- return this.inner.cwd ?? void 0;
2213
- }
2214
- get platform() {
2215
- return this.inner.platform;
2216
- }
2217
- };
2218
- } });
2186
+ var NormalizedInputOptionsImpl = class {
2187
+ inner;
2188
+ constructor(inner, onLog) {
2189
+ this.onLog = onLog;
2190
+ this.inner = inner;
2191
+ }
2192
+ get shimMissingExports() {
2193
+ return this.inner.shimMissingExports;
2194
+ }
2195
+ get input() {
2196
+ return this.inner.input;
2197
+ }
2198
+ get cwd() {
2199
+ return this.inner.cwd ?? void 0;
2200
+ }
2201
+ get platform() {
2202
+ return this.inner.platform;
2203
+ }
2204
+ };
2219
2205
 
2220
2206
  //#endregion
2221
2207
  //#region src/types/sourcemap.ts
2222
- function bindingifySourcemap(map) {
2208
+ function bindingifySourcemap$1(map) {
2223
2209
  if (map == null) return;
2224
2210
  return { inner: typeof map === "string" ? map : {
2225
2211
  file: map.file ?? void 0,
2226
2212
  mappings: map.mappings,
2227
2213
  sourceRoot: "sourceRoot" in map ? map.sourceRoot ?? void 0 : void 0,
2228
- sources: map.sources?.map((s$10) => s$10 ?? void 0),
2229
- sourcesContent: map.sourcesContent?.map((s$10) => s$10 ?? void 0),
2214
+ sources: map.sources?.map((s$7) => s$7 ?? void 0),
2215
+ sourcesContent: map.sourcesContent?.map((s$7) => s$7 ?? void 0),
2230
2216
  names: map.names,
2231
2217
  x_google_ignoreList: map.x_google_ignoreList,
2232
2218
  debugId: "debugId" in map ? map.debugId : void 0
2233
2219
  } };
2234
2220
  }
2235
- var init_sourcemap = __esm({ "src/types/sourcemap.ts"() {} });
2236
2221
 
2237
2222
  //#endregion
2238
2223
  //#region src/utils/error.ts
2239
2224
  function normalizeErrors(rawErrors) {
2240
- const errors = rawErrors.map((e$5) => e$5 instanceof Error ? e$5 : Object.assign(new Error(), {
2241
- kind: e$5.kind,
2242
- message: e$5.message,
2225
+ const errors = rawErrors.map((e) => e instanceof Error ? e : Object.assign(new Error(), {
2226
+ kind: e.kind,
2227
+ message: e.message,
2243
2228
  stack: void 0
2244
2229
  }));
2245
2230
  let summary = `Build failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`;
2246
- for (let i$21 = 0; i$21 < errors.length; i$21++) {
2231
+ for (let i$16 = 0; i$16 < errors.length; i$16++) {
2247
2232
  summary += "\n";
2248
- if (i$21 >= 5) {
2233
+ if (i$16 >= 5) {
2249
2234
  summary += "...";
2250
2235
  break;
2251
2236
  }
2252
- summary += getErrorMessage(errors[i$21]);
2237
+ summary += getErrorMessage(errors[i$16]);
2253
2238
  }
2254
2239
  const wrapper = new Error(summary);
2255
2240
  Object.defineProperty(wrapper, "errors", {
@@ -2264,26 +2249,25 @@ function normalizeErrors(rawErrors) {
2264
2249
  });
2265
2250
  return wrapper;
2266
2251
  }
2267
- function getErrorMessage(e$5) {
2268
- if (Object.hasOwn(e$5, "kind")) return e$5.message;
2269
- let s$10 = "";
2270
- if (e$5.plugin) s$10 += `[plugin ${e$5.plugin}]`;
2271
- const id = e$5.id ?? e$5.loc?.file;
2252
+ function getErrorMessage(e) {
2253
+ if (Object.hasOwn(e, "kind")) return e.message;
2254
+ let s$7 = "";
2255
+ if (e.plugin) s$7 += `[plugin ${e.plugin}]`;
2256
+ const id = e.id ?? e.loc?.file;
2272
2257
  if (id) {
2273
- s$10 += " " + id;
2274
- if (e$5.loc) s$10 += `:${e$5.loc.line}:${e$5.loc.column}`;
2258
+ s$7 += " " + id;
2259
+ if (e.loc) s$7 += `:${e.loc.line}:${e.loc.column}`;
2275
2260
  }
2276
- if (s$10) s$10 += "\n";
2277
- const message = `${e$5.name ?? "Error"}: ${e$5.message}`;
2278
- s$10 += message;
2279
- if (e$5.frame) s$10 = joinNewLine(s$10, e$5.frame);
2280
- if (e$5.stack) s$10 = joinNewLine(s$10, e$5.stack.replace(message, ""));
2281
- return s$10;
2261
+ if (s$7) s$7 += "\n";
2262
+ const message = `${e.name ?? "Error"}: ${e.message}`;
2263
+ s$7 += message;
2264
+ if (e.frame) s$7 = joinNewLine(s$7, e.frame);
2265
+ if (e.stack) s$7 = joinNewLine(s$7, e.stack.replace(message, ""));
2266
+ return s$7;
2282
2267
  }
2283
2268
  function joinNewLine(s1, s2) {
2284
2269
  return s1.replace(/\n+$/, "") + "\n" + s2.replace(/^\n+/, "");
2285
2270
  }
2286
- var init_error = __esm({ "src/utils/error.ts"() {} });
2287
2271
 
2288
2272
  //#endregion
2289
2273
  //#region src/utils/transform-module-info.ts
@@ -2305,9 +2289,7 @@ function transformModuleInfo(info, option) {
2305
2289
  ...option
2306
2290
  };
2307
2291
  }
2308
- var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {
2309
- init_misc();
2310
- } });
2292
+ var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {} });
2311
2293
 
2312
2294
  //#endregion
2313
2295
  //#region src/utils/transform-side-effects.ts
@@ -2340,17 +2322,10 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
2340
2322
  if (isEmptySourcemapFiled(map.sources) || map.sources && map.sources.length === 1 && map.sources[0] !== id) map.sources = [id];
2341
2323
  return map;
2342
2324
  }
2343
- var init_transform_sourcemap = __esm({ "src/utils/transform-sourcemap.ts"() {} });
2344
-
2345
- //#endregion
2346
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ANXBDSUI.js
2347
- var init_chunk_ANXBDSUI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ANXBDSUI.js"() {} });
2348
2325
 
2349
2326
  //#endregion
2350
2327
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3GOCSNFN.js
2351
- var init_chunk_3GOCSNFN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3GOCSNFN.js"() {
2352
- init_chunk_ANXBDSUI();
2353
- } });
2328
+ var init_chunk_3GOCSNFN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3GOCSNFN.js"() {} });
2354
2329
 
2355
2330
  //#endregion
2356
2331
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LFJW7BOT.js
@@ -2362,38 +2337,33 @@ var init_chunk_LFJW7BOT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2362
2337
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js
2363
2338
  var init_chunk_7ZI6JRPB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js"() {
2364
2339
  init_chunk_LFJW7BOT();
2365
- init_chunk_ANXBDSUI();
2366
2340
  } });
2367
2341
 
2368
2342
  //#endregion
2369
2343
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js
2370
2344
  var init_chunk_OXJMERKM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js"() {
2371
2345
  init_chunk_LFJW7BOT();
2372
- init_chunk_ANXBDSUI();
2373
2346
  } });
2374
2347
 
2375
2348
  //#endregion
2376
2349
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js
2377
- function u$14(o$13, n$7, a$15) {
2378
- let t$14 = (r$12) => o$13(r$12, ...n$7);
2379
- return a$15 === void 0 ? t$14 : Object.assign(t$14, {
2380
- lazy: a$15,
2381
- lazyArgs: n$7
2350
+ function u$13(o$5, n$2, a$12) {
2351
+ let t$8 = (r$7) => o$5(r$7, ...n$2);
2352
+ return a$12 === void 0 ? t$8 : Object.assign(t$8, {
2353
+ lazy: a$12,
2354
+ lazyArgs: n$2
2382
2355
  });
2383
2356
  }
2384
- var init_chunk_D6FCK2GA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js"() {} });
2385
2357
 
2386
2358
  //#endregion
2387
2359
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js
2388
- function u$12(r$12, n$7, o$13) {
2389
- let a$15 = r$12.length - n$7.length;
2390
- if (a$15 === 0) return r$12(...n$7);
2391
- if (a$15 === 1) return u$14(r$12, n$7, o$13);
2360
+ function u$12(r$7, n$2, o$5) {
2361
+ let a$12 = r$7.length - n$2.length;
2362
+ if (a$12 === 0) return r$7(...n$2);
2363
+ if (a$12 === 1) return u$13(r$7, n$2, o$5);
2392
2364
  throw new Error("Wrong number of arguments");
2393
2365
  }
2394
- var init_chunk_WIMGWYZL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js"() {
2395
- init_chunk_D6FCK2GA();
2396
- } });
2366
+ var init_chunk_WIMGWYZL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js"() {} });
2397
2367
 
2398
2368
  //#endregion
2399
2369
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BSLJB6JE.js
@@ -2401,10 +2371,6 @@ var init_chunk_BSLJB6JE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2401
2371
  init_chunk_WIMGWYZL();
2402
2372
  } });
2403
2373
 
2404
- //#endregion
2405
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NJXNQM3G.js
2406
- var init_chunk_NJXNQM3G = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NJXNQM3G.js"() {} });
2407
-
2408
2374
  //#endregion
2409
2375
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js
2410
2376
  var init_chunk_6RKHJ2CP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js"() {
@@ -2413,9 +2379,7 @@ var init_chunk_6RKHJ2CP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2413
2379
 
2414
2380
  //#endregion
2415
2381
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QDGUNRDA.js
2416
- var init_chunk_QDGUNRDA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QDGUNRDA.js"() {
2417
- init_chunk_D6FCK2GA();
2418
- } });
2382
+ var init_chunk_QDGUNRDA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QDGUNRDA.js"() {} });
2419
2383
 
2420
2384
  //#endregion
2421
2385
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MYLLMFC7.js
@@ -2423,72 +2387,13 @@ var init_chunk_MYLLMFC7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2423
2387
  init_chunk_WIMGWYZL();
2424
2388
  } });
2425
2389
 
2426
- //#endregion
2427
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DEVKGLTN.js
2428
- var o$12, c$3, i$20;
2429
- var init_chunk_DEVKGLTN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DEVKGLTN.js"() {
2430
- o$12 = [
2431
- " ",
2432
- `
2433
- `,
2434
- "\v",
2435
- "\f",
2436
- "\r",
2437
- " ",
2438
- "…",
2439
- "\xA0",
2440
- " ",
2441
- " ",
2442
- " ",
2443
- " ",
2444
- " ",
2445
- " ",
2446
- " ",
2447
- " ",
2448
- " ",
2449
- " ",
2450
- " ",
2451
- " ",
2452
- "\u2028",
2453
- "\u2029",
2454
- " ",
2455
- " ",
2456
- " ",
2457
- ""
2458
- ], c$3 = new Set([
2459
- "-",
2460
- "_",
2461
- ...o$12
2462
- ]), i$20 = (r$12) => {
2463
- let e$5 = [], t$14 = "", u$15 = () => {
2464
- t$14.length > 0 && (e$5.push(t$14), t$14 = "");
2465
- };
2466
- for (let s$10 of r$12) {
2467
- if (c$3.has(s$10)) {
2468
- u$15();
2469
- continue;
2470
- }
2471
- if (/[a-z]$/u.test(t$14) && /[A-Z]/u.test(s$10)) u$15();
2472
- else if (/[A-Z][A-Z]$/u.test(t$14) && /[a-z]/u.test(s$10)) {
2473
- let n$7 = t$14.slice(-1);
2474
- t$14 = t$14.slice(0, -1), u$15(), t$14 = n$7;
2475
- } else /\d$/u.test(t$14) !== /\d/u.test(s$10) && u$15();
2476
- t$14 += s$10;
2477
- }
2478
- return u$15(), e$5;
2479
- };
2480
- } });
2481
-
2482
2390
  //#endregion
2483
2391
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-N4JUOEMS.js
2484
- var init_chunk_N4JUOEMS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-N4JUOEMS.js"() {
2485
- init_chunk_DEVKGLTN();
2486
- } });
2392
+ var init_chunk_N4JUOEMS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-N4JUOEMS.js"() {} });
2487
2393
 
2488
2394
  //#endregion
2489
2395
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js
2490
2396
  var init_chunk_YRJ25UV2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js"() {
2491
- init_chunk_DEVKGLTN();
2492
2397
  init_chunk_WIMGWYZL();
2493
2398
  } });
2494
2399
 
@@ -2501,7 +2406,6 @@ var init_chunk_Q5ASJ5N7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2501
2406
  //#endregion
2502
2407
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js
2503
2408
  var init_chunk_WZOX4VKU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js"() {
2504
- init_chunk_DEVKGLTN();
2505
2409
  init_chunk_WIMGWYZL();
2506
2410
  } });
2507
2411
 
@@ -2521,7 +2425,6 @@ var init_chunk_ZRKG4NSC = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2521
2425
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js
2522
2426
  var init_chunk_QJLMYOTX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js"() {
2523
2427
  init_chunk_LFJW7BOT();
2524
- init_chunk_ANXBDSUI();
2525
2428
  } });
2526
2429
 
2527
2430
  //#endregion
@@ -2539,14 +2442,9 @@ var init_chunk_2P44HXVH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2539
2442
  //#endregion
2540
2443
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js
2541
2444
  var init_chunk_ZJS5DNQW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js"() {
2542
- init_chunk_ANXBDSUI();
2543
2445
  init_chunk_WIMGWYZL();
2544
2446
  } });
2545
2447
 
2546
- //#endregion
2547
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DH3BPT6T.js
2548
- var init_chunk_DH3BPT6T = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DH3BPT6T.js"() {} });
2549
-
2550
2448
  //#endregion
2551
2449
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js
2552
2450
  var init_chunk_AIG3BDKO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js"() {
@@ -2556,19 +2454,13 @@ var init_chunk_AIG3BDKO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2556
2454
  //#endregion
2557
2455
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js
2558
2456
  var init_chunk_ZPVGOJQV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js"() {
2559
- init_chunk_DH3BPT6T();
2560
2457
  init_chunk_AIG3BDKO();
2561
2458
  } });
2562
2459
 
2563
- //#endregion
2564
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EMIEIAAH.js
2565
- var init_chunk_EMIEIAAH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EMIEIAAH.js"() {} });
2566
-
2567
2460
  //#endregion
2568
2461
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js
2569
2462
  var init_chunk_R3YJIBPV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js"() {
2570
2463
  init_chunk_ZPVGOJQV();
2571
- init_chunk_EMIEIAAH();
2572
2464
  } });
2573
2465
 
2574
2466
  //#endregion
@@ -2595,10 +2487,6 @@ var init_chunk_EVIH3PFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2595
2487
  init_chunk_WIMGWYZL();
2596
2488
  } });
2597
2489
 
2598
- //#endregion
2599
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RBODUO3Q.js
2600
- var init_chunk_RBODUO3Q = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RBODUO3Q.js"() {} });
2601
-
2602
2490
  //#endregion
2603
2491
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js
2604
2492
  var init_chunk_S52RID4A = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js"() {
@@ -2617,10 +2505,6 @@ var init_chunk_57KROWWS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2617
2505
  init_chunk_WIMGWYZL();
2618
2506
  } });
2619
2507
 
2620
- //#endregion
2621
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-V6HCOU6T.js
2622
- var init_chunk_V6HCOU6T = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-V6HCOU6T.js"() {} });
2623
-
2624
2508
  //#endregion
2625
2509
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js
2626
2510
  var init_chunk_ALS6JP7S = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js"() {
@@ -2641,46 +2525,35 @@ var init_chunk_NFFV4IQT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2641
2525
 
2642
2526
  //#endregion
2643
2527
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FDH4IRIM.js
2644
- var init_chunk_FDH4IRIM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FDH4IRIM.js"() {
2645
- init_chunk_EMIEIAAH();
2646
- } });
2647
-
2648
- //#endregion
2649
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QEKOZYJ5.js
2650
- var init_chunk_QEKOZYJ5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QEKOZYJ5.js"() {} });
2528
+ var init_chunk_FDH4IRIM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FDH4IRIM.js"() {} });
2651
2529
 
2652
2530
  //#endregion
2653
2531
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js
2654
2532
  var init_chunk_YDIA5YQI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js"() {
2655
- init_chunk_QEKOZYJ5();
2656
2533
  init_chunk_WIMGWYZL();
2657
2534
  } });
2658
2535
 
2659
2536
  //#endregion
2660
2537
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js
2661
2538
  var init_chunk_6OEKBHIX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js"() {
2662
- init_chunk_QEKOZYJ5();
2663
2539
  init_chunk_WIMGWYZL();
2664
2540
  } });
2665
2541
 
2666
2542
  //#endregion
2667
2543
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js
2668
2544
  var init_chunk_GDGEDZJG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js"() {
2669
- init_chunk_QEKOZYJ5();
2670
2545
  init_chunk_WIMGWYZL();
2671
2546
  } });
2672
2547
 
2673
2548
  //#endregion
2674
2549
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js
2675
2550
  var init_chunk_XE3XIKTJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js"() {
2676
- init_chunk_QEKOZYJ5();
2677
2551
  init_chunk_WIMGWYZL();
2678
2552
  } });
2679
2553
 
2680
2554
  //#endregion
2681
2555
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js
2682
2556
  var init_chunk_HVJXDSOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js"() {
2683
- init_chunk_QEKOZYJ5();
2684
2557
  init_chunk_WIMGWYZL();
2685
2558
  } });
2686
2559
 
@@ -2702,14 +2575,9 @@ var init_chunk_P2PQB7KO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2702
2575
  init_chunk_WIMGWYZL();
2703
2576
  } });
2704
2577
 
2705
- //#endregion
2706
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FZHIMCK6.js
2707
- var init_chunk_FZHIMCK6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FZHIMCK6.js"() {} });
2708
-
2709
2578
  //#endregion
2710
2579
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js
2711
2580
  var init_chunk_UHZ33J57 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js"() {
2712
- init_chunk_FZHIMCK6();
2713
2581
  init_chunk_WIMGWYZL();
2714
2582
  } });
2715
2583
 
@@ -2737,10 +2605,6 @@ var init_chunk_KVHF7QRD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2737
2605
  init_chunk_WIMGWYZL();
2738
2606
  } });
2739
2607
 
2740
- //#endregion
2741
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UA6DVSZ3.js
2742
- var init_chunk_UA6DVSZ3 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UA6DVSZ3.js"() {} });
2743
-
2744
2608
  //#endregion
2745
2609
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js
2746
2610
  var init_chunk_G5B2IDWB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js"() {
@@ -2753,14 +2617,6 @@ var init_chunk_3FKP6OOU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2753
2617
  init_chunk_WIMGWYZL();
2754
2618
  } });
2755
2619
 
2756
- //#endregion
2757
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFSOOVKJ.js
2758
- var init_chunk_VFSOOVKJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFSOOVKJ.js"() {} });
2759
-
2760
- //#endregion
2761
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K3UJMX27.js
2762
- var init_chunk_K3UJMX27 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K3UJMX27.js"() {} });
2763
-
2764
2620
  //#endregion
2765
2621
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js
2766
2622
  var init_chunk_LE6I3KC6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js"() {
@@ -2775,26 +2631,20 @@ var init_chunk_ENS7GPLZ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2775
2631
 
2776
2632
  //#endregion
2777
2633
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DSLWSGID.js
2778
- var init_chunk_DSLWSGID = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DSLWSGID.js"() {
2779
- init_chunk_EMIEIAAH();
2780
- } });
2781
-
2782
- //#endregion
2783
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R72GEKLP.js
2784
- var init_chunk_R72GEKLP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R72GEKLP.js"() {} });
2634
+ var init_chunk_DSLWSGID = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DSLWSGID.js"() {} });
2785
2635
 
2786
2636
  //#endregion
2787
2637
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js
2788
- function d$3(...r$12) {
2789
- return u$12(i$18, r$12);
2638
+ function d$2(...r$7) {
2639
+ return u$12(i$15, r$7);
2790
2640
  }
2791
- var i$18;
2641
+ var i$15;
2792
2642
  var init_chunk_3IFJP4R5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js"() {
2793
2643
  init_chunk_WIMGWYZL();
2794
- i$18 = (r$12, t$14) => {
2795
- let a$15 = [[], []];
2796
- for (let [o$13, e$5] of r$12.entries()) t$14(e$5, o$13, r$12) ? a$15[0].push(e$5) : a$15[1].push(e$5);
2797
- return a$15;
2644
+ i$15 = (r$7, t$8) => {
2645
+ let a$12 = [[], []];
2646
+ for (let [o$5, e] of r$7.entries()) t$8(e, o$5, r$7) ? a$12[0].push(e) : a$12[1].push(e);
2647
+ return a$12;
2798
2648
  };
2799
2649
  } });
2800
2650
 
@@ -2836,10 +2686,7 @@ var init_chunk_W6ZHPGFP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2836
2686
 
2837
2687
  //#endregion
2838
2688
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J3IRE4DI.js
2839
- var init_chunk_J3IRE4DI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J3IRE4DI.js"() {
2840
- init_chunk_DH3BPT6T();
2841
- init_chunk_EMIEIAAH();
2842
- } });
2689
+ var init_chunk_J3IRE4DI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J3IRE4DI.js"() {} });
2843
2690
 
2844
2691
  //#endregion
2845
2692
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RZUYD7QY.js
@@ -2860,20 +2707,12 @@ var init_chunk_4ZFFLFWV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2860
2707
  init_chunk_WIMGWYZL();
2861
2708
  } });
2862
2709
 
2863
- //#endregion
2864
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C6IMN7SF.js
2865
- var init_chunk_C6IMN7SF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C6IMN7SF.js"() {} });
2866
-
2867
2710
  //#endregion
2868
2711
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js
2869
2712
  var init_chunk_NS6ZBRLP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js"() {
2870
2713
  init_chunk_WIMGWYZL();
2871
2714
  } });
2872
2715
 
2873
- //#endregion
2874
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FMPZ2CLX.js
2875
- var init_chunk_FMPZ2CLX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FMPZ2CLX.js"() {} });
2876
-
2877
2716
  //#endregion
2878
2717
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js
2879
2718
  var init_chunk_3ZJAREUD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js"() {
@@ -2917,25 +2756,12 @@ var init_chunk_5S4PYKVY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2917
2756
  init_chunk_WIMGWYZL();
2918
2757
  } });
2919
2758
 
2920
- //#endregion
2921
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5WKPQX7L.js
2922
- var init_chunk_5WKPQX7L = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5WKPQX7L.js"() {} });
2923
-
2924
- //#endregion
2925
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BZNENX2T.js
2926
- var init_chunk_BZNENX2T = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BZNENX2T.js"() {} });
2927
-
2928
2759
  //#endregion
2929
2760
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js
2930
2761
  var init_chunk_PDQFB3TV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js"() {
2931
- init_chunk_BZNENX2T();
2932
2762
  init_chunk_WIMGWYZL();
2933
2763
  } });
2934
2764
 
2935
- //#endregion
2936
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XMLUDZIW.js
2937
- var init_chunk_XMLUDZIW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XMLUDZIW.js"() {} });
2938
-
2939
2765
  //#endregion
2940
2766
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js
2941
2767
  var init_chunk_GMMLSO2N = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js"() {
@@ -2944,8 +2770,8 @@ var init_chunk_GMMLSO2N = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2944
2770
 
2945
2771
  //#endregion
2946
2772
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js
2947
- function t$5(...n$7) {
2948
- return u$12(Object.keys, n$7);
2773
+ function t$4(...n$2) {
2774
+ return u$12(Object.keys, n$2);
2949
2775
  }
2950
2776
  var init_chunk_5NQBDF4H = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js"() {
2951
2777
  init_chunk_WIMGWYZL();
@@ -2981,18 +2807,6 @@ var init_chunk_P3DXEVTH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2981
2807
  init_chunk_WIMGWYZL();
2982
2808
  } });
2983
2809
 
2984
- //#endregion
2985
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6GTAPB47.js
2986
- var init_chunk_6GTAPB47 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6GTAPB47.js"() {} });
2987
-
2988
- //#endregion
2989
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NMC53JVB.js
2990
- var init_chunk_NMC53JVB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NMC53JVB.js"() {} });
2991
-
2992
- //#endregion
2993
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PULGOXDA.js
2994
- var init_chunk_PULGOXDA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PULGOXDA.js"() {} });
2995
-
2996
2810
  //#endregion
2997
2811
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js
2998
2812
  var init_chunk_OLNQBNAJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js"() {
@@ -3005,51 +2819,10 @@ var init_chunk_QOEIYQAG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3005
2819
  init_chunk_WIMGWYZL();
3006
2820
  } });
3007
2821
 
3008
- //#endregion
3009
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SFZGYJFI.js
3010
- var init_chunk_SFZGYJFI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SFZGYJFI.js"() {} });
3011
-
3012
- //#endregion
3013
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JJZ7E4YG.js
3014
- var init_chunk_JJZ7E4YG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JJZ7E4YG.js"() {} });
3015
-
3016
- //#endregion
3017
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VCYTMP4D.js
3018
- var init_chunk_VCYTMP4D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VCYTMP4D.js"() {} });
3019
-
3020
- //#endregion
3021
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-CAZXBO45.js
3022
- var init_chunk_CAZXBO45 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-CAZXBO45.js"() {} });
3023
-
3024
- //#endregion
3025
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENOHV5LT.js
3026
- var init_chunk_ENOHV5LT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENOHV5LT.js"() {} });
3027
-
3028
- //#endregion
3029
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-U753ZCO5.js
3030
- var init_chunk_U753ZCO5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-U753ZCO5.js"() {} });
3031
-
3032
- //#endregion
3033
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5DU4ITSF.js
3034
- var init_chunk_5DU4ITSF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5DU4ITSF.js"() {} });
3035
-
3036
- //#endregion
3037
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GK5I7C4J.js
3038
- var init_chunk_GK5I7C4J = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GK5I7C4J.js"() {} });
3039
-
3040
- //#endregion
3041
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HV3WACXG.js
3042
- var init_chunk_HV3WACXG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HV3WACXG.js"() {} });
3043
-
3044
- //#endregion
3045
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JK3VNB42.js
3046
- var init_chunk_JK3VNB42 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JK3VNB42.js"() {} });
3047
-
3048
2822
  //#endregion
3049
2823
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js
3050
2824
  var init_chunk_T45O7BFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js"() {
3051
2825
  init_chunk_LFJW7BOT();
3052
- init_chunk_ANXBDSUI();
3053
2826
  } });
3054
2827
 
3055
2828
  //#endregion
@@ -3058,30 +2831,6 @@ var init_chunk_OP5ZF26D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3058
2831
  init_chunk_WIMGWYZL();
3059
2832
  } });
3060
2833
 
3061
- //#endregion
3062
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BO3LQZNF.js
3063
- var init_chunk_BO3LQZNF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BO3LQZNF.js"() {} });
3064
-
3065
- //#endregion
3066
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-I3D2BSWJ.js
3067
- var init_chunk_I3D2BSWJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-I3D2BSWJ.js"() {} });
3068
-
3069
- //#endregion
3070
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7QX4DO53.js
3071
- var init_chunk_7QX4DO53 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7QX4DO53.js"() {} });
3072
-
3073
- //#endregion
3074
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VMV5GVZ5.js
3075
- var init_chunk_VMV5GVZ5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VMV5GVZ5.js"() {} });
3076
-
3077
- //#endregion
3078
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OWH4IQQW.js
3079
- var init_chunk_OWH4IQQW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OWH4IQQW.js"() {} });
3080
-
3081
- //#endregion
3082
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ETADWPSK.js
3083
- var init_chunk_ETADWPSK = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ETADWPSK.js"() {} });
3084
-
3085
2834
  //#endregion
3086
2835
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js
3087
2836
  var init_chunk_JN2GYTBI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js"() {
@@ -3101,10 +2850,6 @@ var init_chunk_R7PILVSQ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3101
2850
  init_chunk_WIMGWYZL();
3102
2851
  } });
3103
2852
 
3104
- //#endregion
3105
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE3ESO.js
3106
- var init_chunk_HJSE3ESO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE3ESO.js"() {} });
3107
-
3108
2853
  //#endregion
3109
2854
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js
3110
2855
  var init_chunk_B6PG574O = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js"() {
@@ -3115,22 +2860,17 @@ var init_chunk_B6PG574O = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3115
2860
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js
3116
2861
  var init_chunk_ICBBHOCR = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js"() {
3117
2862
  init_chunk_LFJW7BOT();
3118
- init_chunk_ANXBDSUI();
3119
2863
  } });
3120
2864
 
3121
2865
  //#endregion
3122
2866
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js
3123
2867
  var init_chunk_JEUUQSE4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js"() {
3124
- init_chunk_EMIEIAAH();
3125
2868
  init_chunk_AIG3BDKO();
3126
2869
  } });
3127
2870
 
3128
2871
  //#endregion
3129
2872
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XPCYQPKH.js
3130
- var init_chunk_XPCYQPKH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XPCYQPKH.js"() {
3131
- init_chunk_ANXBDSUI();
3132
- init_chunk_D6FCK2GA();
3133
- } });
2873
+ var init_chunk_XPCYQPKH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XPCYQPKH.js"() {} });
3134
2874
 
3135
2875
  //#endregion
3136
2876
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FRNNS7AX.js
@@ -3141,7 +2881,6 @@ var init_chunk_FRNNS7AX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3141
2881
  //#endregion
3142
2882
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js
3143
2883
  var init_chunk_QJOWZFYO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js"() {
3144
- init_chunk_FZHIMCK6();
3145
2884
  init_chunk_WIMGWYZL();
3146
2885
  } });
3147
2886
 
@@ -3184,19 +2923,12 @@ var init_chunk_PVYOMZ3I = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3184
2923
  //#endregion
3185
2924
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js
3186
2925
  var init_chunk_P6LAFGAN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js"() {
3187
- init_chunk_ANXBDSUI();
3188
2926
  init_chunk_WIMGWYZL();
3189
2927
  } });
3190
2928
 
3191
- //#endregion
3192
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SGAFZVQH.js
3193
- var init_chunk_SGAFZVQH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SGAFZVQH.js"() {} });
3194
-
3195
2929
  //#endregion
3196
2930
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MQDP6CFS.js
3197
2931
  var init_chunk_MQDP6CFS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MQDP6CFS.js"() {
3198
- init_chunk_SGAFZVQH();
3199
- init_chunk_ANXBDSUI();
3200
2932
  init_chunk_WIMGWYZL();
3201
2933
  } });
3202
2934
 
@@ -3221,7 +2953,6 @@ var init_chunk_GYH2VCL4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3221
2953
  //#endregion
3222
2954
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js
3223
2955
  var init_chunk_26ILFTOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js"() {
3224
- init_chunk_SGAFZVQH();
3225
2956
  init_chunk_WIMGWYZL();
3226
2957
  } });
3227
2958
 
@@ -3231,14 +2962,9 @@ var init_chunk_2KIKGHAO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3231
2962
  init_chunk_WIMGWYZL();
3232
2963
  } });
3233
2964
 
3234
- //#endregion
3235
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YVMG2XEU.js
3236
- var init_chunk_YVMG2XEU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YVMG2XEU.js"() {} });
3237
-
3238
2965
  //#endregion
3239
2966
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js
3240
2967
  var init_chunk_TSGKWRXX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js"() {
3241
- init_chunk_ANXBDSUI();
3242
2968
  init_chunk_WIMGWYZL();
3243
2969
  } });
3244
2970
 
@@ -3246,7 +2972,6 @@ var init_chunk_TSGKWRXX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3246
2972
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js
3247
2973
  var init_chunk_6NCEKWMJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js"() {
3248
2974
  init_chunk_ZPVGOJQV();
3249
- init_chunk_EMIEIAAH();
3250
2975
  } });
3251
2976
 
3252
2977
  //#endregion
@@ -3285,58 +3010,22 @@ var init_chunk_H4OTHZJB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3285
3010
  init_chunk_WIMGWYZL();
3286
3011
  } });
3287
3012
 
3288
- //#endregion
3289
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XZ6COQKM.js
3290
- function a$13(n$7, t$14, e$5) {
3291
- return n$7(e$5[0]) ? (r$12) => t$14(r$12, ...e$5) : t$14(...e$5);
3292
- }
3293
- function u$13(...n$7) {
3294
- return a$13(s$8, o$10, n$7);
3295
- }
3296
- function o$10(n$7, ...t$14) {
3297
- for (let [e$5, r$12] of t$14) if (e$5(n$7)) return r$12(n$7);
3298
- throw new Error("conditional: data failed for all cases");
3299
- }
3300
- function s$8(n$7) {
3301
- if (!Array.isArray(n$7)) return !1;
3302
- let [t$14, e$5, ...r$12] = n$7;
3303
- return typeof t$14 == "function" && t$14.length <= 1 && typeof e$5 == "function" && e$5.length <= 1 && r$12.length === 0;
3304
- }
3305
- function R(n$7 = d$11) {
3306
- return [T$6, n$7];
3307
- }
3308
- var x$2, T$6, d$11;
3309
- var init_chunk_XZ6COQKM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XZ6COQKM.js"() {
3310
- x$2 = Object.assign(u$13, { defaultCase: R });
3311
- T$6 = () => !0, d$11 = () => {};
3312
- } });
3313
-
3314
- //#endregion
3315
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T5XG33UI.js
3316
- var init_chunk_T5XG33UI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T5XG33UI.js"() {} });
3317
-
3318
3013
  //#endregion
3319
3014
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js
3320
3015
  var init_chunk_ZTNFU7RH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js"() {
3321
3016
  init_chunk_WIMGWYZL();
3322
3017
  } });
3323
3018
 
3324
- //#endregion
3325
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OIQJEOF7.js
3326
- var init_chunk_OIQJEOF7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OIQJEOF7.js"() {} });
3327
-
3328
3019
  //#endregion
3329
3020
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js
3330
3021
  var init_chunk_GKXRNLHM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js"() {
3331
3022
  init_chunk_LFJW7BOT();
3332
- init_chunk_ANXBDSUI();
3333
3023
  } });
3334
3024
 
3335
3025
  //#endregion
3336
3026
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js
3337
3027
  var init_chunk_NYIWN625 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js"() {
3338
3028
  init_chunk_LFJW7BOT();
3339
- init_chunk_ANXBDSUI();
3340
3029
  } });
3341
3030
 
3342
3031
  //#endregion
@@ -3372,7 +3061,6 @@ var init_chunk_VG2NVNXT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3372
3061
  //#endregion
3373
3062
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js
3374
3063
  var init_chunk_HJSE36CH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js"() {
3375
- init_chunk_FZHIMCK6();
3376
3064
  init_chunk_WIMGWYZL();
3377
3065
  } });
3378
3066
 
@@ -3394,7 +3082,6 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3394
3082
  init_chunk_7ZI6JRPB();
3395
3083
  init_chunk_OXJMERKM();
3396
3084
  init_chunk_BSLJB6JE();
3397
- init_chunk_NJXNQM3G();
3398
3085
  init_chunk_6RKHJ2CP();
3399
3086
  init_chunk_QDGUNRDA();
3400
3087
  init_chunk_MYLLMFC7();
@@ -3413,11 +3100,9 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3413
3100
  init_chunk_T4PLMLCP();
3414
3101
  init_chunk_SSDL7ATG();
3415
3102
  init_chunk_EVIH3PFY();
3416
- init_chunk_RBODUO3Q();
3417
3103
  init_chunk_S52RID4A();
3418
3104
  init_chunk_WWPMIW33();
3419
3105
  init_chunk_57KROWWS();
3420
- init_chunk_V6HCOU6T();
3421
3106
  init_chunk_ALS6JP7S();
3422
3107
  init_chunk_QTQTP2VB();
3423
3108
  init_chunk_NFFV4IQT();
@@ -3435,15 +3120,11 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3435
3120
  init_chunk_YNNF733L();
3436
3121
  init_chunk_4YLWJIJ6();
3437
3122
  init_chunk_KVHF7QRD();
3438
- init_chunk_UA6DVSZ3();
3439
3123
  init_chunk_G5B2IDWB();
3440
3124
  init_chunk_3FKP6OOU();
3441
- init_chunk_VFSOOVKJ();
3442
- init_chunk_K3UJMX27();
3443
3125
  init_chunk_LE6I3KC6();
3444
3126
  init_chunk_ENS7GPLZ();
3445
3127
  init_chunk_DSLWSGID();
3446
- init_chunk_R72GEKLP();
3447
3128
  init_chunk_3IFJP4R5();
3448
3129
  init_chunk_J4EKWFDW();
3449
3130
  init_chunk_PGMPBC5Q();
@@ -3455,9 +3136,7 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3455
3136
  init_chunk_RZUYD7QY();
3456
3137
  init_chunk_KI5X74E2();
3457
3138
  init_chunk_4ZFFLFWV();
3458
- init_chunk_C6IMN7SF();
3459
3139
  init_chunk_NS6ZBRLP();
3460
- init_chunk_FMPZ2CLX();
3461
3140
  init_chunk_3ZJAREUD();
3462
3141
  init_chunk_ZXVA7VDE();
3463
3142
  init_chunk_KQRZQWDE();
@@ -3465,9 +3144,7 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3465
3144
  init_chunk_3D3RWAVJ();
3466
3145
  init_chunk_K2FFNW24();
3467
3146
  init_chunk_5S4PYKVY();
3468
- init_chunk_5WKPQX7L();
3469
3147
  init_chunk_PDQFB3TV();
3470
- init_chunk_XMLUDZIW();
3471
3148
  init_chunk_GMMLSO2N();
3472
3149
  init_chunk_5NQBDF4H();
3473
3150
  init_chunk_PFSVCZNE();
@@ -3475,34 +3152,13 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3475
3152
  init_chunk_XUX3ZEXI();
3476
3153
  init_chunk_KZIKCQ56();
3477
3154
  init_chunk_P3DXEVTH();
3478
- init_chunk_6GTAPB47();
3479
- init_chunk_NMC53JVB();
3480
- init_chunk_BZNENX2T();
3481
- init_chunk_PULGOXDA();
3482
3155
  init_chunk_OLNQBNAJ();
3483
3156
  init_chunk_QOEIYQAG();
3484
- init_chunk_SFZGYJFI();
3485
- init_chunk_JJZ7E4YG();
3486
- init_chunk_VCYTMP4D();
3487
- init_chunk_CAZXBO45();
3488
- init_chunk_ENOHV5LT();
3489
- init_chunk_U753ZCO5();
3490
- init_chunk_5DU4ITSF();
3491
- init_chunk_GK5I7C4J();
3492
- init_chunk_HV3WACXG();
3493
- init_chunk_JK3VNB42();
3494
3157
  init_chunk_T45O7BFY();
3495
3158
  init_chunk_OP5ZF26D();
3496
- init_chunk_BO3LQZNF();
3497
- init_chunk_I3D2BSWJ();
3498
- init_chunk_7QX4DO53();
3499
- init_chunk_VMV5GVZ5();
3500
- init_chunk_OWH4IQQW();
3501
- init_chunk_ETADWPSK();
3502
3159
  init_chunk_JN2GYTBI();
3503
3160
  init_chunk_R7PILVSQ();
3504
3161
  init_chunk_HGKLN5KY();
3505
- init_chunk_HJSE3ESO();
3506
3162
  init_chunk_B6PG574O();
3507
3163
  init_chunk_ICBBHOCR();
3508
3164
  init_chunk_JEUUQSE4();
@@ -3522,7 +3178,6 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3522
3178
  init_chunk_GYH2VCL4();
3523
3179
  init_chunk_26ILFTOP();
3524
3180
  init_chunk_2KIKGHAO();
3525
- init_chunk_YVMG2XEU();
3526
3181
  init_chunk_TSGKWRXX();
3527
3182
  init_chunk_6NCEKWMJ();
3528
3183
  init_chunk_ZPVGOJQV();
@@ -3533,10 +3188,7 @@ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/rem
3533
3188
  init_chunk_XHPQVWZM();
3534
3189
  init_chunk_2OQBQB3V();
3535
3190
  init_chunk_H4OTHZJB();
3536
- init_chunk_XZ6COQKM();
3537
- init_chunk_T5XG33UI();
3538
3191
  init_chunk_ZTNFU7RH();
3539
- init_chunk_OIQJEOF7();
3540
3192
  init_chunk_GKXRNLHM();
3541
3193
  init_chunk_NYIWN625();
3542
3194
  init_chunk_LFJW7BOT();
@@ -3574,8 +3226,8 @@ function transformFilterMatcherToFilterExprs(filterOption) {
3574
3226
  let idExcludes = [];
3575
3227
  let codeIncludes = [];
3576
3228
  let codeExcludes = [];
3577
- if (id) [idIncludes, idExcludes] = d$3(generalHookFilterMatcherToFilterExprs(id, "id") ?? [], (m$10) => m$10.kind === "include");
3578
- if (code) [codeIncludes, codeExcludes] = d$3(generalHookFilterMatcherToFilterExprs(code, "code") ?? [], (m$10) => m$10.kind === "include");
3229
+ if (id) [idIncludes, idExcludes] = d$2(generalHookFilterMatcherToFilterExprs(id, "id") ?? [], (m$10) => m$10.kind === "include");
3230
+ if (code) [codeIncludes, codeExcludes] = d$2(generalHookFilterMatcherToFilterExprs(code, "code") ?? [], (m$10) => m$10.kind === "include");
3579
3231
  ret.push(...idExcludes);
3580
3232
  ret.push(...codeExcludes);
3581
3233
  let andExprList = [];
@@ -3603,7 +3255,7 @@ function bindingifyFilterExprImpl(expr, list) {
3603
3255
  switch (expr.kind) {
3604
3256
  case "and": {
3605
3257
  let args$1 = expr.args;
3606
- for (let i$21 = args$1.length - 1; i$21 >= 0; i$21--) bindingifyFilterExprImpl(args$1[i$21], list);
3258
+ for (let i$16 = args$1.length - 1; i$16 >= 0; i$16--) bindingifyFilterExprImpl(args$1[i$16], list);
3607
3259
  list.push({
3608
3260
  kind: "And",
3609
3261
  payload: args$1.length
@@ -3612,7 +3264,7 @@ function bindingifyFilterExprImpl(expr, list) {
3612
3264
  }
3613
3265
  case "or": {
3614
3266
  let args$1 = expr.args;
3615
- for (let i$21 = args$1.length - 1; i$21 >= 0; i$21--) bindingifyFilterExprImpl(args$1[i$21], list);
3267
+ for (let i$16 = args$1.length - 1; i$16 >= 0; i$16--) bindingifyFilterExprImpl(args$1[i$16], list);
3616
3268
  list.push({
3617
3269
  kind: "Or",
3618
3270
  payload: args$1.length
@@ -3694,7 +3346,6 @@ function bindingifyRenderChunkFilter(filterOption) {
3694
3346
  }
3695
3347
  var init_bindingify_hook_filter = __esm({ "src/plugin/bindingify-hook-filter.ts"() {
3696
3348
  init_dist();
3697
- init_misc();
3698
3349
  } });
3699
3350
 
3700
3351
  //#endregion
@@ -3724,7 +3375,6 @@ function transformAssetSource(bindingAssetSource$1) {
3724
3375
  function bindingAssetSource(source) {
3725
3376
  return { inner: source };
3726
3377
  }
3727
- var init_asset_source = __esm({ "src/utils/asset-source.ts"() {} });
3728
3378
 
3729
3379
  //#endregion
3730
3380
  //#region src/plugin/plugin-context.ts
@@ -3734,8 +3384,6 @@ var init_plugin_context = __esm({ "src/plugin/plugin-context.ts"() {
3734
3384
  init_logs();
3735
3385
  init_parse_ast_index();
3736
3386
  init_minimal_plugin_context();
3737
- init_asset_source();
3738
- init_misc();
3739
3387
  init_transform_side_effects();
3740
3388
  PluginContextImpl = class extends MinimalPluginContextImpl {
3741
3389
  getModuleInfo;
@@ -3768,10 +3416,10 @@ var init_plugin_context = __esm({ "src/plugin/plugin-context.ts"() {
3768
3416
  data.loadModulePromiseMap.set(id, promise$1);
3769
3417
  try {
3770
3418
  await context.load(id, bindingifySideEffects(options.moduleSideEffects));
3771
- } catch (e$5) {
3419
+ } catch (e) {
3772
3420
  data.loadModulePromiseMap.delete(id);
3773
3421
  data.loadModulePromiseResolveFnMap.delete(id);
3774
- throw e$5;
3422
+ throw e;
3775
3423
  }
3776
3424
  return promise$1;
3777
3425
  }
@@ -3852,12 +3500,12 @@ var init_transform_plugin_context = __esm({ "src/plugin/transform-plugin-context
3852
3500
  this.warn = getLogHandler$1(this.warn);
3853
3501
  this.info = getLogHandler$1(this.info);
3854
3502
  }
3855
- error(e$5, pos) {
3856
- if (typeof e$5 === "string") e$5 = { message: e$5 };
3857
- if (pos) augmentCodeLocation(e$5, pos, this.moduleSource, this.moduleId);
3858
- e$5.id = this.moduleId;
3859
- e$5.hook = "transform";
3860
- return error(logPluginError(normalizeLog(e$5), this.pluginName));
3503
+ error(e, pos) {
3504
+ if (typeof e === "string") e = { message: e };
3505
+ if (pos) augmentCodeLocation(e, pos, this.moduleSource, this.moduleId);
3506
+ e.id = this.moduleId;
3507
+ e.hook = "transform";
3508
+ return error(logPluginError(normalizeLog(e), this.pluginName));
3861
3509
  }
3862
3510
  getCombinedSourcemap() {
3863
3511
  return JSON.parse(this.inner.getCombinedSourcemap());
@@ -3972,7 +3620,7 @@ function bindingifyTransform(args$1) {
3972
3620
  });
3973
3621
  return {
3974
3622
  code: ret.code,
3975
- map: bindingifySourcemap(normalizeTransformHookSourcemap(id, code, ret.map)),
3623
+ map: bindingifySourcemap$1(normalizeTransformHookSourcemap(id, code, ret.map)),
3976
3624
  sideEffects: bindingifySideEffects(moduleOption.moduleSideEffects),
3977
3625
  moduleType: ret.moduleType
3978
3626
  };
@@ -3998,7 +3646,7 @@ function bindingifyLoad(args$1) {
3998
3646
  let map = preProcessSourceMap(ret, id);
3999
3647
  return {
4000
3648
  code: ret.code,
4001
- map: bindingifySourcemap(map),
3649
+ map: bindingifySourcemap$1(map),
4002
3650
  moduleType: ret.moduleType,
4003
3651
  sideEffects: bindingifySideEffects(moduleOption.moduleSideEffects)
4004
3652
  };
@@ -4031,12 +3679,8 @@ function bindingifyModuleParsed(args$1) {
4031
3679
  var init_bindingify_build_hooks = __esm({ "src/plugin/bindingify-build-hooks.ts"() {
4032
3680
  init_normalize_hook();
4033
3681
  init_plugin_context$1();
4034
- init_normalized_input_options();
4035
- init_sourcemap();
4036
- init_error();
4037
3682
  init_transform_module_info();
4038
3683
  init_transform_side_effects();
4039
- init_transform_sourcemap();
4040
3684
  init_bindingify_hook_filter();
4041
3685
  init_bindingify_plugin_hook_meta();
4042
3686
  init_plugin_context();
@@ -4058,7 +3702,6 @@ function transformToRenderedModule(bindingRenderedModule) {
4058
3702
  }
4059
3703
  };
4060
3704
  }
4061
- var init_transform_rendered_module = __esm({ "src/utils/transform-rendered-module.ts"() {} });
4062
3705
 
4063
3706
  //#endregion
4064
3707
  //#region src/utils/transform-rendered-chunk.ts
@@ -4101,16 +3744,14 @@ function transformRenderedChunk(chunk) {
4101
3744
  }
4102
3745
  function transformChunkModules(modules) {
4103
3746
  const result = {};
4104
- for (let i$21 = 0; i$21 < modules.values.length; i$21++) {
4105
- let key = modules.keys[i$21];
4106
- const mod = modules.values[i$21];
3747
+ for (let i$16 = 0; i$16 < modules.values.length; i$16++) {
3748
+ let key = modules.keys[i$16];
3749
+ const mod = modules.values[i$16];
4107
3750
  result[key] = transformToRenderedModule(mod);
4108
3751
  }
4109
3752
  return result;
4110
3753
  }
4111
- var init_transform_rendered_chunk = __esm({ "src/utils/transform-rendered-chunk.ts"() {
4112
- init_transform_rendered_module();
4113
- } });
3754
+ var init_transform_rendered_chunk = __esm({ "src/utils/transform-rendered-chunk.ts"() {} });
4114
3755
 
4115
3756
  //#endregion
4116
3757
  //#region src/utils/bindingify-output-options.ts
@@ -4122,7 +3763,7 @@ function bindingifyOutputOptions(outputOptions) {
4122
3763
  format: bindingifyFormat(format),
4123
3764
  exports,
4124
3765
  hashCharacters,
4125
- sourcemap: bindingifySourcemap$1(sourcemap),
3766
+ sourcemap: bindingifySourcemap(sourcemap),
4126
3767
  sourcemapDebugIds,
4127
3768
  sourcemapIgnoreList: bindingifySourcemapIgnoreList(sourcemapIgnoreList),
4128
3769
  sourcemapPathTransform,
@@ -4145,7 +3786,6 @@ function bindingifyOutputOptions(outputOptions) {
4145
3786
  inlineDynamicImports: outputOptions.inlineDynamicImports,
4146
3787
  advancedChunks: outputOptions.advancedChunks,
4147
3788
  polyfillRequire: outputOptions.polyfillRequire,
4148
- target: outputOptions.target,
4149
3789
  sanitizeFileName,
4150
3790
  preserveModules,
4151
3791
  virtualDirname,
@@ -4173,7 +3813,7 @@ function bindingifyFormat(format) {
4173
3813
  default: unimplemented(`output.format: ${format}`);
4174
3814
  }
4175
3815
  }
4176
- function bindingifySourcemap$1(sourcemap) {
3816
+ function bindingifySourcemap(sourcemap) {
4177
3817
  switch (sourcemap) {
4178
3818
  case true: return "file";
4179
3819
  case "inline": return "inline";
@@ -4198,8 +3838,6 @@ function bindingifyAssetFilenames(assetFileNames) {
4198
3838
  return assetFileNames;
4199
3839
  }
4200
3840
  var init_bindingify_output_options = __esm({ "src/utils/bindingify-output-options.ts"() {
4201
- init_asset_source();
4202
- init_misc();
4203
3841
  init_transform_rendered_chunk();
4204
3842
  } });
4205
3843
 
@@ -4448,7 +4086,7 @@ function collectChangedBundle(changed, bundle) {
4448
4086
  facadeModuleId: item.facadeModuleId || void 0,
4449
4087
  isDynamicEntry: item.isDynamicEntry,
4450
4088
  moduleIds: item.moduleIds,
4451
- map: bindingifySourcemap(item.map),
4089
+ map: bindingifySourcemap$1(item.map),
4452
4090
  sourcemapFilename: item.sourcemapFileName || void 0,
4453
4091
  preliminaryFilename: item.preliminaryFileName
4454
4092
  });
@@ -4460,9 +4098,6 @@ function collectChangedBundle(changed, bundle) {
4460
4098
  };
4461
4099
  }
4462
4100
  var init_transform_to_rollup_output = __esm({ "src/utils/transform-to-rollup-output.ts"() {
4463
- init_sourcemap();
4464
- init_asset_source();
4465
- init_error();
4466
4101
  init_transform_rendered_chunk();
4467
4102
  } });
4468
4103
 
@@ -4492,7 +4127,7 @@ function bindingifyRenderChunk(args$1) {
4492
4127
  if (!ret.map) return { code: ret.code };
4493
4128
  return {
4494
4129
  code: ret.code,
4495
- map: bindingifySourcemap(ret.map)
4130
+ map: bindingifySourcemap$1(ret.map)
4496
4131
  };
4497
4132
  },
4498
4133
  meta: bindingifyPluginHookMeta(meta),
@@ -4615,10 +4250,7 @@ function bindingifyOutro(args$1) {
4615
4250
  };
4616
4251
  }
4617
4252
  var init_bindingify_output_hooks = __esm({ "src/plugin/bindingify-output-hooks.ts"() {
4618
- init_normalized_input_options();
4619
4253
  init_normalized_output_options();
4620
- init_sourcemap();
4621
- init_error();
4622
4254
  init_normalize_hook();
4623
4255
  init_transform_rendered_chunk();
4624
4256
  init_transform_to_rollup_output();
@@ -4659,6 +4291,40 @@ var init_bindingify_watch_hooks = __esm({ "src/plugin/bindingify-watch-hooks.ts"
4659
4291
 
4660
4292
  //#endregion
4661
4293
  //#region src/plugin/generated/hook-usage.ts
4294
+ let HookUsageKind = /* @__PURE__ */ function(HookUsageKind$1) {
4295
+ HookUsageKind$1[HookUsageKind$1["buildStart"] = 1] = "buildStart";
4296
+ HookUsageKind$1[HookUsageKind$1["resolveId"] = 2] = "resolveId";
4297
+ HookUsageKind$1[HookUsageKind$1["resolveDynamicImport"] = 4] = "resolveDynamicImport";
4298
+ HookUsageKind$1[HookUsageKind$1["load"] = 8] = "load";
4299
+ HookUsageKind$1[HookUsageKind$1["transform"] = 16] = "transform";
4300
+ HookUsageKind$1[HookUsageKind$1["moduleParsed"] = 32] = "moduleParsed";
4301
+ HookUsageKind$1[HookUsageKind$1["buildEnd"] = 64] = "buildEnd";
4302
+ HookUsageKind$1[HookUsageKind$1["renderStart"] = 128] = "renderStart";
4303
+ HookUsageKind$1[HookUsageKind$1["renderError"] = 256] = "renderError";
4304
+ HookUsageKind$1[HookUsageKind$1["renderChunk"] = 512] = "renderChunk";
4305
+ HookUsageKind$1[HookUsageKind$1["augmentChunkHash"] = 1024] = "augmentChunkHash";
4306
+ HookUsageKind$1[HookUsageKind$1["generateBundle"] = 2048] = "generateBundle";
4307
+ HookUsageKind$1[HookUsageKind$1["writeBundle"] = 4096] = "writeBundle";
4308
+ HookUsageKind$1[HookUsageKind$1["closeBundle"] = 8192] = "closeBundle";
4309
+ HookUsageKind$1[HookUsageKind$1["watchChange"] = 16384] = "watchChange";
4310
+ HookUsageKind$1[HookUsageKind$1["closeWatcher"] = 32768] = "closeWatcher";
4311
+ HookUsageKind$1[HookUsageKind$1["transformAst"] = 65536] = "transformAst";
4312
+ HookUsageKind$1[HookUsageKind$1["banner"] = 131072] = "banner";
4313
+ HookUsageKind$1[HookUsageKind$1["footer"] = 262144] = "footer";
4314
+ HookUsageKind$1[HookUsageKind$1["intro"] = 524288] = "intro";
4315
+ HookUsageKind$1[HookUsageKind$1["outro"] = 1048576] = "outro";
4316
+ return HookUsageKind$1;
4317
+ }({});
4318
+ var HookUsage = class {
4319
+ bitflag = BigInt(0);
4320
+ constructor() {}
4321
+ union(kind) {
4322
+ this.bitflag |= BigInt(kind);
4323
+ }
4324
+ inner() {
4325
+ return Number(this.bitflag);
4326
+ }
4327
+ };
4662
4328
  function extractHookUsage(plugin) {
4663
4329
  let hookUsage = new HookUsage();
4664
4330
  if (plugin.buildStart) hookUsage.union(HookUsageKind.buildStart);
@@ -4683,43 +4349,6 @@ function extractHookUsage(plugin) {
4683
4349
  if (plugin.outro) hookUsage.union(HookUsageKind.outro);
4684
4350
  return hookUsage;
4685
4351
  }
4686
- var HookUsageKind, HookUsage;
4687
- var init_hook_usage = __esm({ "src/plugin/generated/hook-usage.ts"() {
4688
- HookUsageKind = /* @__PURE__ */ function(HookUsageKind$1) {
4689
- HookUsageKind$1[HookUsageKind$1["buildStart"] = 1] = "buildStart";
4690
- HookUsageKind$1[HookUsageKind$1["resolveId"] = 2] = "resolveId";
4691
- HookUsageKind$1[HookUsageKind$1["resolveDynamicImport"] = 4] = "resolveDynamicImport";
4692
- HookUsageKind$1[HookUsageKind$1["load"] = 8] = "load";
4693
- HookUsageKind$1[HookUsageKind$1["transform"] = 16] = "transform";
4694
- HookUsageKind$1[HookUsageKind$1["moduleParsed"] = 32] = "moduleParsed";
4695
- HookUsageKind$1[HookUsageKind$1["buildEnd"] = 64] = "buildEnd";
4696
- HookUsageKind$1[HookUsageKind$1["renderStart"] = 128] = "renderStart";
4697
- HookUsageKind$1[HookUsageKind$1["renderError"] = 256] = "renderError";
4698
- HookUsageKind$1[HookUsageKind$1["renderChunk"] = 512] = "renderChunk";
4699
- HookUsageKind$1[HookUsageKind$1["augmentChunkHash"] = 1024] = "augmentChunkHash";
4700
- HookUsageKind$1[HookUsageKind$1["generateBundle"] = 2048] = "generateBundle";
4701
- HookUsageKind$1[HookUsageKind$1["writeBundle"] = 4096] = "writeBundle";
4702
- HookUsageKind$1[HookUsageKind$1["closeBundle"] = 8192] = "closeBundle";
4703
- HookUsageKind$1[HookUsageKind$1["watchChange"] = 16384] = "watchChange";
4704
- HookUsageKind$1[HookUsageKind$1["closeWatcher"] = 32768] = "closeWatcher";
4705
- HookUsageKind$1[HookUsageKind$1["transformAst"] = 65536] = "transformAst";
4706
- HookUsageKind$1[HookUsageKind$1["banner"] = 131072] = "banner";
4707
- HookUsageKind$1[HookUsageKind$1["footer"] = 262144] = "footer";
4708
- HookUsageKind$1[HookUsageKind$1["intro"] = 524288] = "intro";
4709
- HookUsageKind$1[HookUsageKind$1["outro"] = 1048576] = "outro";
4710
- return HookUsageKind$1;
4711
- }({});
4712
- HookUsage = class {
4713
- bitflag = BigInt(0);
4714
- constructor() {}
4715
- union(kind) {
4716
- this.bitflag |= BigInt(kind);
4717
- }
4718
- inner() {
4719
- return Number(this.bitflag);
4720
- }
4721
- };
4722
- } });
4723
4352
 
4724
4353
  //#endregion
4725
4354
  //#region src/plugin/bindingify-plugin.ts
@@ -4832,8 +4461,8 @@ function wrapHandlers(plugin) {
4832
4461
  if (handler) plugin[hookName] = async (...args$1) => {
4833
4462
  try {
4834
4463
  return await handler(...args$1);
4835
- } catch (e$5) {
4836
- return error(logPluginError(e$5, plugin.name, {
4464
+ } catch (e) {
4465
+ return error(logPluginError(e, plugin.name, {
4837
4466
  hook: hookName,
4838
4467
  id: hookName === "transform" ? args$1[2] : void 0
4839
4468
  }));
@@ -4847,7 +4476,6 @@ var init_bindingify_plugin = __esm({ "src/plugin/bindingify-plugin.ts"() {
4847
4476
  init_bindingify_output_hooks();
4848
4477
  init_logs();
4849
4478
  init_bindingify_watch_hooks();
4850
- init_hook_usage();
4851
4479
  } });
4852
4480
 
4853
4481
  //#endregion
@@ -4953,7 +4581,6 @@ function normalizedStringOrRegex(pattern) {
4953
4581
  function isReadonlyArray(input) {
4954
4582
  return Array.isArray(input);
4955
4583
  }
4956
- var init_normalize_string_or_regex = __esm({ "src/utils/normalize-string-or-regex.ts"() {} });
4957
4584
 
4958
4585
  //#endregion
4959
4586
  //#region src/utils/bindingify-input-options.ts
@@ -5090,25 +4717,12 @@ function bindingifyInput(input) {
5090
4717
  }
5091
4718
  function bindingifyJsx(input) {
5092
4719
  switch (input) {
5093
- case false: return { type: "Disable" };
5094
- case "react": return { type: "React" };
5095
- case "react-jsx": return { type: "ReactJsx" };
5096
- case "preserve": return { type: "Preserve" };
5097
- case void 0: return void 0;
4720
+ case false: return import_binding$3.BindingJsx.Disable;
4721
+ case "react": return import_binding$3.BindingJsx.React;
4722
+ case "react-jsx": return import_binding$3.BindingJsx.ReactJsx;
4723
+ case "preserve": return import_binding$3.BindingJsx.Preserve;
4724
+ default: return void 0;
5098
4725
  }
5099
- if (input.mode === "preserve") return { type: "Preserve" };
5100
- const mode = input.mode ?? "automatic";
5101
- return {
5102
- type: "Enable",
5103
- field0: {
5104
- runtime: mode,
5105
- importSource: mode === "classic" ? input.importSource : mode === "automatic" ? input.jsxImportSource : void 0,
5106
- pragma: input.factory,
5107
- pragmaFrag: input.fragment,
5108
- development: input.development,
5109
- refresh: input.refresh
5110
- }
5111
- };
5112
4726
  }
5113
4727
  function bindingifyWatch(watch$1) {
5114
4728
  if (watch$1) return {
@@ -5152,8 +4766,6 @@ var init_bindingify_input_options = __esm({ "src/utils/bindingify-input-options.
5152
4766
  init_utils();
5153
4767
  init_bindingify_plugin();
5154
4768
  init_plugin_context_data();
5155
- init_misc();
5156
- init_normalize_string_or_regex();
5157
4769
  init_transform_side_effects();
5158
4770
  } });
5159
4771
 
@@ -5181,7 +4793,7 @@ function createComposedPlugin(plugins) {
5181
4793
  plugins.forEach((plugin, index) => {
5182
4794
  const pluginName = plugin.name || `Anonymous(index: ${index})`;
5183
4795
  names.push(pluginName);
5184
- t$5(plugin).forEach((pluginProp) => {
4796
+ t$4(plugin).forEach((pluginProp) => {
5185
4797
  if (isUnsupportedHooks(pluginProp)) throw new Error(`Failed to compose js plugins. Plugin ${pluginName} has an unsupported hook: ${pluginProp}`);
5186
4798
  if (!isPluginHookName(pluginProp)) return;
5187
4799
  switch (pluginProp) {
@@ -5289,7 +4901,7 @@ function createComposedPlugin(plugins) {
5289
4901
  }
5290
4902
  };
5291
4903
  }
5292
- t$5(batchedHooks).forEach((hookName) => {
4904
+ t$4(batchedHooks).forEach((hookName) => {
5293
4905
  switch (hookName) {
5294
4906
  case "resolveId": break;
5295
4907
  case "buildStart": {
@@ -5430,7 +5042,7 @@ function createComposedPlugin(plugins) {
5430
5042
  function isComposablePlugin(plugin) {
5431
5043
  if (plugin instanceof BuiltinPlugin) return false;
5432
5044
  if ("_parallel" in plugin) return false;
5433
- const hasNotComposablePattern = t$5(plugin).some((hookName) => {
5045
+ const hasNotComposablePattern = t$4(plugin).some((hookName) => {
5434
5046
  if (!isPluginHookName(hookName)) return false;
5435
5047
  const OK_TO_COMPOSE = false;
5436
5048
  if (isUnsupportedHooks(hookName)) return !OK_TO_COMPOSE;
@@ -5469,7 +5081,6 @@ var init_compose_js_plugins = __esm({ "src/utils/compose-js-plugins.ts"() {
5469
5081
  init_dist();
5470
5082
  init_constructors();
5471
5083
  init_plugin_context$1();
5472
- init_misc();
5473
5084
  init_normalize_hook();
5474
5085
  init_plugin();
5475
5086
  unsupportedHookName = [
@@ -5513,7 +5124,7 @@ async function initializeParallelPlugins(plugins) {
5513
5124
  };
5514
5125
  }
5515
5126
  function initializeWorkers(registryId, count, pluginInfos) {
5516
- return Promise.all(Array.from({ length: count }, (_, i$21) => initializeWorker(registryId, pluginInfos, i$21)));
5127
+ return Promise.all(Array.from({ length: count }, (_, i$16) => initializeWorker(registryId, pluginInfos, i$16)));
5517
5128
  }
5518
5129
  async function initializeWorker(registryId, pluginInfos, threadNumber) {
5519
5130
  const urlString = import.meta.resolve("#parallel-plugin-worker");
@@ -5533,9 +5144,9 @@ async function initializeWorker(registryId, pluginInfos, threadNumber) {
5533
5144
  });
5534
5145
  });
5535
5146
  return worker;
5536
- } catch (e$5) {
5147
+ } catch (e) {
5537
5148
  worker?.terminate();
5538
- throw e$5;
5149
+ throw e;
5539
5150
  }
5540
5151
  }
5541
5152
  var import_binding$2, availableParallelism;
@@ -5582,9 +5193,9 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, isCl
5582
5193
  onLog,
5583
5194
  stopWorkers: parallelPluginInitResult?.stopWorkers
5584
5195
  };
5585
- } catch (e$5) {
5196
+ } catch (e) {
5586
5197
  await parallelPluginInitResult?.stopWorkers();
5587
- throw e$5;
5198
+ throw e;
5588
5199
  }
5589
5200
  }
5590
5201
  var init_create_bundler_option = __esm({ "src/utils/create-bundler-option.ts"() {
@@ -5612,9 +5223,9 @@ async function createBundler(inputOptions, outputOptions, isClose) {
5612
5223
  asyncRuntimeShutdown = true;
5613
5224
  }
5614
5225
  };
5615
- } catch (e$5) {
5226
+ } catch (e) {
5616
5227
  await option.stopWorkers?.();
5617
- throw e$5;
5228
+ throw e;
5618
5229
  }
5619
5230
  }
5620
5231
  var import_binding$1, asyncRuntimeShutdown;
@@ -5715,7 +5326,6 @@ var init_build = __esm({ "src/api/build.ts"() {
5715
5326
  //#region src/api/watch/watch-emitter.ts
5716
5327
  var WatcherEmitter;
5717
5328
  var init_watch_emitter = __esm({ "src/api/watch/watch-emitter.ts"() {
5718
- init_error();
5719
5329
  WatcherEmitter = class {
5720
5330
  listeners = new Map();
5721
5331
  timer;
@@ -5815,7 +5425,6 @@ var init_watcher = __esm({ "src/api/watch/watcher.ts"() {
5815
5425
  init_logs();
5816
5426
  init_plugin_driver();
5817
5427
  init_create_bundler_option();
5818
- init_misc();
5819
5428
  Watcher = class {
5820
5429
  closed;
5821
5430
  inner;
@@ -5863,7 +5472,6 @@ var init_watch = __esm({ "src/api/watch/index.ts"() {
5863
5472
  function defineConfig(config) {
5864
5473
  return config;
5865
5474
  }
5866
- var init_define_config = __esm({ "src/utils/define-config.ts"() {} });
5867
5475
 
5868
5476
  //#endregion
5869
5477
  //#region src/index.ts
@@ -5872,9 +5480,8 @@ var init_src = __esm({ "src/index.ts"() {
5872
5480
  init_build();
5873
5481
  init_rolldown();
5874
5482
  init_watch();
5875
- init_define_config();
5876
5483
  VERSION = version;
5877
5484
  } });
5878
5485
 
5879
5486
  //#endregion
5880
- export { BuiltinPlugin, PluginContextData, VERSION, assetPlugin, bindingifyPlugin, build, buildImportAnalysisPlugin, composeJsPlugins, createBundler, defineConfig, description$1 as description, dynamicImportVarsPlugin, getInputCliKeys, getJsonSchema, getOutputCliKeys, handleOutputErrors, importGlobPlugin, init_bindingify_plugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_define_config, init_normalize_string_or_regex, init_plugin_context_data, init_rolldown, init_src, init_transform_to_rollup_output, init_validator, init_watch, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, rolldown, validateCliOptions, version, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, watch, webWorkerPostPlugin };
5487
+ export { BuiltinPlugin, PluginContextData, VERSION, assetPlugin, bindingifyPlugin, build, buildImportAnalysisPlugin, composeJsPlugins, createBundler, defineConfig, description$1 as description, dynamicImportVarsPlugin, getInputCliKeys, getJsonSchema, getOutputCliKeys, handleOutputErrors, importGlobPlugin, init_bindingify_plugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_plugin_context_data, init_rolldown, init_src, init_transform_to_rollup_output, init_validator, init_watch, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, rolldown, validateCliOptions, version, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, watch, webWorkerPostPlugin };