rolldown 1.0.0-beta.9-commit.8371a90 → 1.0.0-beta.9-commit.b174110

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 (35) hide show
  1. package/dist/cli.cjs +11 -11
  2. package/dist/cli.mjs +3 -3
  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 +3 -4
  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 +2 -2
  11. package/dist/filter-index.d.cts +2 -2
  12. package/dist/filter-index.d.mts +2 -2
  13. package/dist/index.cjs +2 -2
  14. package/dist/index.d.cts +3 -3
  15. package/dist/index.d.mts +3 -3
  16. package/dist/index.mjs +2 -2
  17. package/dist/parallel-plugin-worker.cjs +2 -2
  18. package/dist/parallel-plugin-worker.mjs +2 -2
  19. package/dist/parallel-plugin.d.cts +2 -2
  20. package/dist/parallel-plugin.d.mts +2 -2
  21. package/dist/parse-ast-index.cjs +1 -1
  22. package/dist/parse-ast-index.d.cts +1 -1
  23. package/dist/parse-ast-index.d.mts +1 -1
  24. package/dist/parse-ast-index.mjs +1 -1
  25. package/dist/shared/{binding.d-B9SSHAER.d.mts → binding.d-Dz3qQrbl.d.mts} +26 -11
  26. package/dist/shared/{binding.d-CrH1UT-g.d.cts → binding.d-QXzDcVmm.d.cts} +26 -11
  27. package/dist/shared/{define-config.d-2mCqGCzl.d.cts → define-config.d-CUcDq_vm.d.cts} +6 -16
  28. package/dist/shared/{define-config.d-CUCXQ5Qr.d.mts → define-config.d-qV1PzX_C.d.mts} +6 -16
  29. package/dist/shared/{load-config-B2LkbAmK.cjs → load-config-CVg_Wj3v.cjs} +1 -1
  30. package/dist/shared/{load-config-DaTbe02e.mjs → load-config-DMJR1pU4.mjs} +1 -1
  31. package/dist/shared/{parse-ast-index-Bye5_Vy8.mjs → parse-ast-index-0m6JgGc9.mjs} +1 -0
  32. package/dist/shared/{parse-ast-index-qKChTJzE.cjs → parse-ast-index-Cn_efzjO.cjs} +1 -0
  33. package/dist/shared/{src-BwuVByD5.cjs → src-UU-XHmbh.cjs} +29 -48
  34. package/dist/shared/{src-CEJMSju3.mjs → src-XD6ewjt7.mjs} +330 -1506
  35. package/package.json +15 -15
@@ -1,5 +1,5 @@
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";
2
+ import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, require_binding } from "./parse-ast-index-0m6JgGc9.mjs";
3
3
  import { arraify, init_misc, isNullish, noop, unimplemented, unreachable, unsupported } from "./misc-DGAe2XOW.mjs";
4
4
  import path from "node:path";
5
5
  import { fileURLToPath } from "node:url";
@@ -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.b174110";
13
13
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
14
14
 
15
15
  //#endregion
@@ -384,8 +384,8 @@ var init_minimal_plugin_context = __esm({ "src/plugin/minimal-plugin-context.ts"
384
384
  watchMode
385
385
  };
386
386
  }
387
- error(e$5) {
388
- return error(logPluginError(normalizeLog(e$5), this.pluginName, { hook: this.hookName }));
387
+ error(e) {
388
+ return error(logPluginError(normalizeLog(e), this.pluginName, { hook: this.hookName }));
389
389
  }
390
390
  };
391
391
  } });
@@ -1820,7 +1820,7 @@ function validateOption(key, options) {
1820
1820
  const issuePaths = issue.path.map((path$1) => path$1.key);
1821
1821
  let issueMsg = issue.message;
1822
1822
  if (issue.type === "union") {
1823
- const subIssue = issue.issues?.find((i$21) => !(i$21.type !== issue.received && i$21.input === issue.input));
1823
+ const subIssue = issue.issues?.find((i$1) => !(i$1.type !== issue.received && i$1.input === issue.input));
1824
1824
  if (subIssue) {
1825
1825
  if (subIssue.path) issuePaths.push(subIssue.path.map((path$1) => path$1.key));
1826
1826
  issueMsg = subIssue.message;
@@ -1886,17 +1886,13 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1886
1886
  literal("tsx")
1887
1887
  ]));
1888
1888
  JsxOptionsSchema = strictObject({
1889
+ runtime: pipe(optional(union([literal("classic"), literal("automatic")])), description("Which runtime to use")),
1889
1890
  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")),
1891
+ throwIfNamespace: pipe(optional(string()), description("Toggles whether to throw an error when a tag name uses an XML namespace")),
1892
1892
  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"))
1893
+ pragma: pipe(optional(string()), description("Jsx element transformation")),
1894
+ pragmaFlag: pipe(optional(string()), description("Jsx fragment transformation")),
1895
+ refresh: pipe(optional(boolean()), description("Enable react fast refresh"))
1900
1896
  });
1901
1897
  HelperModeSchema = union([literal("Runtime"), literal("External")]);
1902
1898
  DecoratorOptionSchema = object({
@@ -1932,7 +1928,9 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1932
1928
  assumptions: optional(AssumptionsSchema),
1933
1929
  typescript: optional(TypescriptSchema),
1934
1930
  helpers: optional(HelpersSchema),
1935
- decorators: optional(DecoratorOptionSchema)
1931
+ decorators: optional(DecoratorOptionSchema),
1932
+ jsx: optional(JsxOptionsSchema),
1933
+ target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment"))
1936
1934
  });
1937
1935
  WatchOptionsSchema = strictObject({
1938
1936
  chokidar: optional(never(`The "watch.chokidar" option is deprecated, please use "watch.notify" instead of it`)),
@@ -2020,13 +2018,12 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2020
2018
  define: pipe(optional(record(string(), string())), description("Define global variables")),
2021
2019
  inject: optional(record(string(), union([string(), tuple([string(), string()])]))),
2022
2020
  profilerNames: optional(boolean()),
2023
- jsx: optional(union([
2024
- boolean(),
2025
- JsxOptionsSchema,
2026
- string("react"),
2027
- string("react-jsx"),
2028
- string("preserve")
2029
- ])),
2021
+ jsx: pipe(optional(union([
2022
+ literal(false),
2023
+ literal("react"),
2024
+ literal("react-jsx"),
2025
+ literal("preserve")
2026
+ ])), description("Jsx options preset")),
2030
2027
  transform: optional(TransformOptionsSchema),
2031
2028
  watch: optional(union([WatchOptionsSchema, literal(false)])),
2032
2029
  dropLabels: pipe(optional(array(string())), description("Remove labeled statements with these label names")),
@@ -2038,8 +2035,7 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2038
2035
  input: pipe(optional(array(string())), description("Entry file")),
2039
2036
  external: pipe(optional(array(string())), description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
2040
2037
  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"))
2038
+ treeshake: pipe(optional(boolean()), description("enable treeshaking"))
2043
2039
  });
2044
2040
  InputCliOptionsSchema = omit(strictObject({
2045
2041
  ...InputOptionsSchema.entries,
@@ -2094,1472 +2090,315 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2094
2090
  literal("none")
2095
2091
  ])), description(`Specify a export mode (${colors.underline("auto")}, named, default, none)`)),
2096
2092
  hashCharacters: pipe(optional(union([
2097
- literal("base64"),
2098
- literal("base36"),
2099
- literal("hex")
2100
- ])), description("Use the specified character set for file hashes")),
2101
- format: pipe(optional(ModuleFormatSchema), description(`Output format of the generated bundle (supports ${colors.underline("esm")}, cjs, and iife)`)),
2102
- sourcemap: pipe(optional(union([
2103
- boolean(),
2104
- literal("inline"),
2105
- literal("hidden")
2106
- ])), description(`Generate sourcemap (\`-s inline\` for inline, or ${colors.bold("pass the `-s` on the last argument if you want to generate `.map` file")})`)),
2107
- sourcemapDebugIds: pipe(optional(boolean()), description("Inject sourcemap debug IDs")),
2108
- sourcemapIgnoreList: optional(union([boolean(), custom(() => true)])),
2109
- sourcemapPathTransform: optional(custom(() => true)),
2110
- banner: optional(union([string(), AddonFunctionSchema])),
2111
- footer: optional(union([string(), AddonFunctionSchema])),
2112
- intro: optional(union([string(), AddonFunctionSchema])),
2113
- outro: optional(union([string(), AddonFunctionSchema])),
2114
- extend: pipe(optional(boolean()), description("Extend global variable defined by name in IIFE / UMD formats")),
2115
- esModule: optional(union([boolean(), literal("if-default-prop")])),
2116
- assetFileNames: optional(AssetFileNamesSchema),
2117
- entryFileNames: optional(ChunkFileNamesSchema),
2118
- chunkFileNames: optional(ChunkFileNamesSchema),
2119
- cssEntryFileNames: optional(ChunkFileNamesSchema),
2120
- cssChunkFileNames: optional(ChunkFileNamesSchema),
2121
- sanitizeFileName: optional(SanitizeFileNameSchema),
2122
- minify: pipe(optional(union([
2123
- boolean(),
2124
- string("dce-only"),
2125
- MinifyOptionsSchema
2126
- ])), description("Minify the bundled file")),
2127
- name: pipe(optional(string()), description("Name for UMD / IIFE format outputs")),
2128
- globals: pipe(optional(union([record(string(), string()), GlobalsFunctionSchema])), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2129
- externalLiveBindings: pipe(optional(boolean()), description("external live bindings")),
2130
- inlineDynamicImports: pipe(optional(boolean()), description("Inline dynamic imports")),
2131
- manualChunks: optional(never("manualChunks is not supported. Please use advancedChunks instead")),
2132
- advancedChunks: optional(AdvancedChunksSchema),
2133
- legalComments: pipe(optional(union([literal("none"), literal("inline")])), description("Control comments in the output")),
2134
- plugins: optional(custom(() => true)),
2135
- polyfillRequire: pipe(optional(boolean()), description("Disable require polyfill injection")),
2136
- target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment")),
2137
- hoistTransitiveImports: optional(custom((input) => {
2138
- if (input) return false;
2139
- return true;
2140
- }, () => `The 'true' value is not supported`)),
2141
- preserveModules: pipe(optional(boolean()), description("Preserve module structure")),
2142
- preserveModulesRoot: pipe(optional(string()), description("Put preserved modules under this path at root level")),
2143
- virtualDirname: optional(string())
2144
- });
2145
- getAddonDescription = (placement, wrapper) => {
2146
- return `Code to insert the ${colors.bold(placement)} of the bundled file (${colors.bold(wrapper)} the wrapper function)`;
2147
- };
2148
- OutputCliOverrideSchema = strictObject({
2149
- assetFileNames: pipe(optional(string()), description("Name pattern for asset files")),
2150
- entryFileNames: pipe(optional(string()), description("Name pattern for emitted entry chunks")),
2151
- chunkFileNames: pipe(optional(string()), description("Name pattern for emitted secondary chunks")),
2152
- cssEntryFileNames: pipe(optional(string()), description("Name pattern for emitted css entry chunks")),
2153
- cssChunkFileNames: pipe(optional(string()), description("Name pattern for emitted css secondary chunks")),
2154
- sanitizeFileName: pipe(optional(boolean()), description("Sanitize file name")),
2155
- banner: pipe(optional(string()), description(getAddonDescription("top", "outside"))),
2156
- footer: pipe(optional(string()), description(getAddonDescription("bottom", "outside"))),
2157
- intro: pipe(optional(string()), description(getAddonDescription("top", "inside"))),
2158
- outro: pipe(optional(string()), description(getAddonDescription("bottom", "inside"))),
2159
- esModule: pipe(optional(boolean()), description("Always generate `__esModule` marks in non-ESM formats, defaults to `if-default-prop` (use `--no-esModule` to always disable)")),
2160
- globals: pipe(optional(record(string(), string())), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2161
- advancedChunks: pipe(optional(strictObject({
2162
- minSize: pipe(optional(number()), description("Minimum size of the chunk")),
2163
- minShareCount: pipe(optional(number()), description("Minimum share count of the chunk"))
2164
- })), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2165
- minify: pipe(optional(boolean()), description("Minify the bundled file"))
2166
- });
2167
- OutputCliOptionsSchema = omit(strictObject({
2168
- ...OutputOptionsSchema.entries,
2169
- ...OutputCliOverrideSchema.entries
2170
- }), [
2171
- "sourcemapIgnoreList",
2172
- "sourcemapPathTransform",
2173
- "plugins",
2174
- "hoistTransitiveImports"
2175
- ]);
2176
- CliOptionsSchema = strictObject({
2177
- config: pipe(optional(union([string(), boolean()])), description("Path to the config file (default: `rolldown.config.js`)")),
2178
- help: pipe(optional(boolean()), description("Show help")),
2179
- version: pipe(optional(boolean()), description("Show version number")),
2180
- watch: pipe(optional(boolean()), description("Watch files in bundle and rebuild on changes")),
2181
- ...InputCliOptionsSchema.entries,
2182
- ...OutputCliOptionsSchema.entries
2183
- });
2184
- inputHelperMsgRecord = { output: { ignored: true } };
2185
- outputHelperMsgRecord = {};
2186
- } });
2187
-
2188
- //#endregion
2189
- //#region src/constants/plugin-context.ts
2190
- var SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF;
2191
- var init_plugin_context$1 = __esm({ "src/constants/plugin-context.ts"() {
2192
- SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF = Symbol("plugin-context-resolve-caller");
2193
- } });
2194
-
2195
- //#endregion
2196
- //#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
- } });
2219
-
2220
- //#endregion
2221
- //#region src/types/sourcemap.ts
2222
- function bindingifySourcemap(map) {
2223
- if (map == null) return;
2224
- return { inner: typeof map === "string" ? map : {
2225
- file: map.file ?? void 0,
2226
- mappings: map.mappings,
2227
- 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),
2230
- names: map.names,
2231
- x_google_ignoreList: map.x_google_ignoreList,
2232
- debugId: "debugId" in map ? map.debugId : void 0
2233
- } };
2234
- }
2235
- var init_sourcemap = __esm({ "src/types/sourcemap.ts"() {} });
2236
-
2237
- //#endregion
2238
- //#region src/utils/error.ts
2239
- 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,
2243
- stack: void 0
2244
- }));
2245
- 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++) {
2247
- summary += "\n";
2248
- if (i$21 >= 5) {
2249
- summary += "...";
2250
- break;
2251
- }
2252
- summary += getErrorMessage(errors[i$21]);
2253
- }
2254
- const wrapper = new Error(summary);
2255
- Object.defineProperty(wrapper, "errors", {
2256
- configurable: true,
2257
- enumerable: true,
2258
- get: () => errors,
2259
- set: (value) => Object.defineProperty(wrapper, "errors", {
2260
- configurable: true,
2261
- enumerable: true,
2262
- value
2263
- })
2264
- });
2265
- return wrapper;
2266
- }
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;
2272
- if (id) {
2273
- s$10 += " " + id;
2274
- if (e$5.loc) s$10 += `:${e$5.loc.line}:${e$5.loc.column}`;
2275
- }
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;
2282
- }
2283
- function joinNewLine(s1, s2) {
2284
- return s1.replace(/\n+$/, "") + "\n" + s2.replace(/^\n+/, "");
2285
- }
2286
- var init_error = __esm({ "src/utils/error.ts"() {} });
2287
-
2288
- //#endregion
2289
- //#region src/utils/transform-module-info.ts
2290
- function transformModuleInfo(info, option) {
2291
- return {
2292
- get ast() {
2293
- return unsupported("ModuleInfo#ast");
2294
- },
2295
- get code() {
2296
- return info.code;
2297
- },
2298
- id: info.id,
2299
- importers: info.importers,
2300
- dynamicImporters: info.dynamicImporters,
2301
- importedIds: info.importedIds,
2302
- dynamicallyImportedIds: info.dynamicallyImportedIds,
2303
- exports: info.exports,
2304
- isEntry: info.isEntry,
2305
- ...option
2306
- };
2307
- }
2308
- var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {
2309
- init_misc();
2310
- } });
2311
-
2312
- //#endregion
2313
- //#region src/utils/transform-side-effects.ts
2314
- function bindingifySideEffects(sideEffects) {
2315
- switch (sideEffects) {
2316
- case true: return import_binding$5.BindingHookSideEffects.True;
2317
- case false: return import_binding$5.BindingHookSideEffects.False;
2318
- case "no-treeshake": return import_binding$5.BindingHookSideEffects.NoTreeshake;
2319
- case null:
2320
- case void 0: return void 0;
2321
- default: throw new Error(`Unexpected side effects: ${sideEffects}`);
2322
- }
2323
- }
2324
- var import_binding$5;
2325
- var init_transform_side_effects = __esm({ "src/utils/transform-side-effects.ts"() {
2326
- import_binding$5 = __toESM(require_binding());
2327
- } });
2328
-
2329
- //#endregion
2330
- //#region src/utils/transform-sourcemap.ts
2331
- function isEmptySourcemapFiled(array$1) {
2332
- if (!array$1) return true;
2333
- if (array$1.length === 0 || !array$1[0]) return true;
2334
- return false;
2335
- }
2336
- function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
2337
- if (!rawMap) return;
2338
- let map = typeof rawMap === "object" ? rawMap : JSON.parse(rawMap);
2339
- if (isEmptySourcemapFiled(map.sourcesContent)) map.sourcesContent = [originalCode];
2340
- if (isEmptySourcemapFiled(map.sources) || map.sources && map.sources.length === 1 && map.sources[0] !== id) map.sources = [id];
2341
- return map;
2342
- }
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
-
2349
- //#endregion
2350
- //#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
- } });
2354
-
2355
- //#endregion
2356
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LFJW7BOT.js
2357
- var init_chunk_LFJW7BOT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LFJW7BOT.js"() {
2358
- init_chunk_3GOCSNFN();
2359
- } });
2360
-
2361
- //#endregion
2362
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js
2363
- var init_chunk_7ZI6JRPB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js"() {
2364
- init_chunk_LFJW7BOT();
2365
- init_chunk_ANXBDSUI();
2366
- } });
2367
-
2368
- //#endregion
2369
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js
2370
- var init_chunk_OXJMERKM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js"() {
2371
- init_chunk_LFJW7BOT();
2372
- init_chunk_ANXBDSUI();
2373
- } });
2374
-
2375
- //#endregion
2376
- //#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
2382
- });
2383
- }
2384
- var init_chunk_D6FCK2GA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js"() {} });
2385
-
2386
- //#endregion
2387
- //#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);
2392
- throw new Error("Wrong number of arguments");
2393
- }
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
- } });
2397
-
2398
- //#endregion
2399
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BSLJB6JE.js
2400
- var init_chunk_BSLJB6JE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BSLJB6JE.js"() {
2401
- init_chunk_WIMGWYZL();
2402
- } });
2403
-
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
- //#endregion
2409
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js
2410
- var init_chunk_6RKHJ2CP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js"() {
2411
- init_chunk_WIMGWYZL();
2412
- } });
2413
-
2414
- //#endregion
2415
- //#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
- } });
2419
-
2420
- //#endregion
2421
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MYLLMFC7.js
2422
- var init_chunk_MYLLMFC7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MYLLMFC7.js"() {
2423
- init_chunk_WIMGWYZL();
2424
- } });
2425
-
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
- //#endregion
2483
- //#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
- } });
2487
-
2488
- //#endregion
2489
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js
2490
- var init_chunk_YRJ25UV2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js"() {
2491
- init_chunk_DEVKGLTN();
2492
- init_chunk_WIMGWYZL();
2493
- } });
2494
-
2495
- //#endregion
2496
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Q5ASJ5N7.js
2497
- var init_chunk_Q5ASJ5N7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Q5ASJ5N7.js"() {
2498
- init_chunk_WIMGWYZL();
2499
- } });
2500
-
2501
- //#endregion
2502
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js
2503
- var init_chunk_WZOX4VKU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js"() {
2504
- init_chunk_DEVKGLTN();
2505
- init_chunk_WIMGWYZL();
2506
- } });
2507
-
2508
- //#endregion
2509
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Y3VKZ3P5.js
2510
- var init_chunk_Y3VKZ3P5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Y3VKZ3P5.js"() {
2511
- init_chunk_WIMGWYZL();
2512
- } });
2513
-
2514
- //#endregion
2515
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZRKG4NSC.js
2516
- var init_chunk_ZRKG4NSC = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZRKG4NSC.js"() {
2517
- init_chunk_WIMGWYZL();
2518
- } });
2519
-
2520
- //#endregion
2521
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js
2522
- var init_chunk_QJLMYOTX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js"() {
2523
- init_chunk_LFJW7BOT();
2524
- init_chunk_ANXBDSUI();
2525
- } });
2526
-
2527
- //#endregion
2528
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DM52TTEP.js
2529
- var init_chunk_DM52TTEP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DM52TTEP.js"() {
2530
- init_chunk_WIMGWYZL();
2531
- } });
2532
-
2533
- //#endregion
2534
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2P44HXVH.js
2535
- var init_chunk_2P44HXVH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2P44HXVH.js"() {
2536
- init_chunk_WIMGWYZL();
2537
- } });
2538
-
2539
- //#endregion
2540
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js
2541
- var init_chunk_ZJS5DNQW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js"() {
2542
- init_chunk_ANXBDSUI();
2543
- init_chunk_WIMGWYZL();
2544
- } });
2545
-
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
- //#endregion
2551
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js
2552
- var init_chunk_AIG3BDKO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js"() {
2553
- init_chunk_WIMGWYZL();
2554
- } });
2555
-
2556
- //#endregion
2557
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js
2558
- var init_chunk_ZPVGOJQV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js"() {
2559
- init_chunk_DH3BPT6T();
2560
- init_chunk_AIG3BDKO();
2561
- } });
2562
-
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
- //#endregion
2568
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js
2569
- var init_chunk_R3YJIBPV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js"() {
2570
- init_chunk_ZPVGOJQV();
2571
- init_chunk_EMIEIAAH();
2572
- } });
2573
-
2574
- //#endregion
2575
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4UEQNEAO.js
2576
- var init_chunk_4UEQNEAO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4UEQNEAO.js"() {
2577
- init_chunk_WIMGWYZL();
2578
- } });
2579
-
2580
- //#endregion
2581
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4PLMLCP.js
2582
- var init_chunk_T4PLMLCP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4PLMLCP.js"() {
2583
- init_chunk_WIMGWYZL();
2584
- } });
2585
-
2586
- //#endregion
2587
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SSDL7ATG.js
2588
- var init_chunk_SSDL7ATG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SSDL7ATG.js"() {
2589
- init_chunk_WIMGWYZL();
2590
- } });
2591
-
2592
- //#endregion
2593
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EVIH3PFY.js
2594
- var init_chunk_EVIH3PFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EVIH3PFY.js"() {
2595
- init_chunk_WIMGWYZL();
2596
- } });
2597
-
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
- //#endregion
2603
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js
2604
- var init_chunk_S52RID4A = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js"() {
2605
- init_chunk_WIMGWYZL();
2606
- } });
2607
-
2608
- //#endregion
2609
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WWPMIW33.js
2610
- var init_chunk_WWPMIW33 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WWPMIW33.js"() {
2611
- init_chunk_WIMGWYZL();
2612
- } });
2613
-
2614
- //#endregion
2615
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-57KROWWS.js
2616
- var init_chunk_57KROWWS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-57KROWWS.js"() {
2617
- init_chunk_WIMGWYZL();
2618
- } });
2619
-
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
- //#endregion
2625
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js
2626
- var init_chunk_ALS6JP7S = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js"() {
2627
- init_chunk_WIMGWYZL();
2628
- } });
2629
-
2630
- //#endregion
2631
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QTQTP2VB.js
2632
- var init_chunk_QTQTP2VB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QTQTP2VB.js"() {
2633
- init_chunk_WIMGWYZL();
2634
- } });
2635
-
2636
- //#endregion
2637
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NFFV4IQT.js
2638
- var init_chunk_NFFV4IQT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NFFV4IQT.js"() {
2639
- init_chunk_WIMGWYZL();
2640
- } });
2641
-
2642
- //#endregion
2643
- //#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"() {} });
2651
-
2652
- //#endregion
2653
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js
2654
- var init_chunk_YDIA5YQI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js"() {
2655
- init_chunk_QEKOZYJ5();
2656
- init_chunk_WIMGWYZL();
2657
- } });
2658
-
2659
- //#endregion
2660
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js
2661
- var init_chunk_6OEKBHIX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js"() {
2662
- init_chunk_QEKOZYJ5();
2663
- init_chunk_WIMGWYZL();
2664
- } });
2665
-
2666
- //#endregion
2667
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js
2668
- var init_chunk_GDGEDZJG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js"() {
2669
- init_chunk_QEKOZYJ5();
2670
- init_chunk_WIMGWYZL();
2671
- } });
2672
-
2673
- //#endregion
2674
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js
2675
- var init_chunk_XE3XIKTJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js"() {
2676
- init_chunk_QEKOZYJ5();
2677
- init_chunk_WIMGWYZL();
2678
- } });
2679
-
2680
- //#endregion
2681
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js
2682
- var init_chunk_HVJXDSOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js"() {
2683
- init_chunk_QEKOZYJ5();
2684
- init_chunk_WIMGWYZL();
2685
- } });
2686
-
2687
- //#endregion
2688
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MSOX5OUI.js
2689
- var init_chunk_MSOX5OUI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MSOX5OUI.js"() {
2690
- init_chunk_WIMGWYZL();
2691
- } });
2692
-
2693
- //#endregion
2694
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C4OZY4Z2.js
2695
- var init_chunk_C4OZY4Z2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C4OZY4Z2.js"() {
2696
- init_chunk_WIMGWYZL();
2697
- } });
2698
-
2699
- //#endregion
2700
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P2PQB7KO.js
2701
- var init_chunk_P2PQB7KO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P2PQB7KO.js"() {
2702
- init_chunk_WIMGWYZL();
2703
- } });
2704
-
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
- //#endregion
2710
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js
2711
- var init_chunk_UHZ33J57 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js"() {
2712
- init_chunk_FZHIMCK6();
2713
- init_chunk_WIMGWYZL();
2714
- } });
2715
-
2716
- //#endregion
2717
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RL33UFT.js
2718
- var init_chunk_6RL33UFT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RL33UFT.js"() {
2719
- init_chunk_WIMGWYZL();
2720
- } });
2721
-
2722
- //#endregion
2723
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YNNF733L.js
2724
- var init_chunk_YNNF733L = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YNNF733L.js"() {
2725
- init_chunk_WIMGWYZL();
2726
- } });
2727
-
2728
- //#endregion
2729
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4YLWJIJ6.js
2730
- var init_chunk_4YLWJIJ6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4YLWJIJ6.js"() {
2731
- init_chunk_WIMGWYZL();
2732
- } });
2733
-
2734
- //#endregion
2735
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KVHF7QRD.js
2736
- var init_chunk_KVHF7QRD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KVHF7QRD.js"() {
2737
- init_chunk_WIMGWYZL();
2738
- } });
2739
-
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
- //#endregion
2745
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js
2746
- var init_chunk_G5B2IDWB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js"() {
2747
- init_chunk_WIMGWYZL();
2748
- } });
2749
-
2750
- //#endregion
2751
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3FKP6OOU.js
2752
- var init_chunk_3FKP6OOU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3FKP6OOU.js"() {
2753
- init_chunk_WIMGWYZL();
2754
- } });
2755
-
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
- //#endregion
2765
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js
2766
- var init_chunk_LE6I3KC6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js"() {
2767
- init_chunk_WIMGWYZL();
2768
- } });
2769
-
2770
- //#endregion
2771
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENS7GPLZ.js
2772
- var init_chunk_ENS7GPLZ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENS7GPLZ.js"() {
2773
- init_chunk_WIMGWYZL();
2774
- } });
2775
-
2776
- //#endregion
2777
- //#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"() {} });
2785
-
2786
- //#endregion
2787
- //#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);
2790
- }
2791
- var i$18;
2792
- var init_chunk_3IFJP4R5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js"() {
2793
- 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;
2798
- };
2799
- } });
2800
-
2801
- //#endregion
2802
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J4EKWFDW.js
2803
- var init_chunk_J4EKWFDW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J4EKWFDW.js"() {
2804
- init_chunk_WIMGWYZL();
2805
- } });
2806
-
2807
- //#endregion
2808
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PGMPBC5Q.js
2809
- var init_chunk_PGMPBC5Q = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PGMPBC5Q.js"() {
2810
- init_chunk_WIMGWYZL();
2811
- } });
2812
-
2813
- //#endregion
2814
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GGYFZTDW.js
2815
- var init_chunk_GGYFZTDW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GGYFZTDW.js"() {
2816
- init_chunk_WIMGWYZL();
2817
- } });
2818
-
2819
- //#endregion
2820
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EDOGCRPU.js
2821
- var init_chunk_EDOGCRPU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EDOGCRPU.js"() {
2822
- init_chunk_3GOCSNFN();
2823
- } });
2824
-
2825
- //#endregion
2826
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4NRWDO7P.js
2827
- var init_chunk_4NRWDO7P = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4NRWDO7P.js"() {
2828
- init_chunk_WIMGWYZL();
2829
- } });
2830
-
2831
- //#endregion
2832
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W6ZHPGFP.js
2833
- var init_chunk_W6ZHPGFP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W6ZHPGFP.js"() {
2834
- init_chunk_WIMGWYZL();
2835
- } });
2836
-
2837
- //#endregion
2838
- //#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
- } });
2843
-
2844
- //#endregion
2845
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RZUYD7QY.js
2846
- var init_chunk_RZUYD7QY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RZUYD7QY.js"() {
2847
- init_chunk_WIMGWYZL();
2848
- } });
2849
-
2850
- //#endregion
2851
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5X74E2.js
2852
- var init_chunk_KI5X74E2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5X74E2.js"() {
2853
- init_chunk_AIG3BDKO();
2854
- init_chunk_WIMGWYZL();
2855
- } });
2856
-
2857
- //#endregion
2858
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4ZFFLFWV.js
2859
- var init_chunk_4ZFFLFWV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4ZFFLFWV.js"() {
2860
- init_chunk_WIMGWYZL();
2861
- } });
2862
-
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
- //#endregion
2868
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js
2869
- var init_chunk_NS6ZBRLP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js"() {
2870
- init_chunk_WIMGWYZL();
2871
- } });
2872
-
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
- //#endregion
2878
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js
2879
- var init_chunk_3ZJAREUD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js"() {
2880
- init_chunk_WIMGWYZL();
2881
- } });
2882
-
2883
- //#endregion
2884
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZXVA7VDE.js
2885
- var init_chunk_ZXVA7VDE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZXVA7VDE.js"() {
2886
- init_chunk_LFJW7BOT();
2887
- } });
2888
-
2889
- //#endregion
2890
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-567G5ZXL.js
2891
- var init_chunk_567G5ZXL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-567G5ZXL.js"() {
2892
- init_chunk_WIMGWYZL();
2893
- } });
2894
-
2895
- //#endregion
2896
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KQRZQWDE.js
2897
- var init_chunk_KQRZQWDE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KQRZQWDE.js"() {
2898
- init_chunk_567G5ZXL();
2899
- init_chunk_WIMGWYZL();
2900
- } });
2901
-
2902
- //#endregion
2903
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3D3RWAVJ.js
2904
- var init_chunk_3D3RWAVJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3D3RWAVJ.js"() {
2905
- init_chunk_WIMGWYZL();
2906
- } });
2907
-
2908
- //#endregion
2909
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K2FFNW24.js
2910
- var init_chunk_K2FFNW24 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K2FFNW24.js"() {
2911
- init_chunk_WIMGWYZL();
2912
- } });
2913
-
2914
- //#endregion
2915
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5S4PYKVY.js
2916
- var init_chunk_5S4PYKVY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5S4PYKVY.js"() {
2917
- init_chunk_WIMGWYZL();
2918
- } });
2919
-
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
- //#endregion
2929
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js
2930
- var init_chunk_PDQFB3TV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js"() {
2931
- init_chunk_BZNENX2T();
2932
- init_chunk_WIMGWYZL();
2933
- } });
2934
-
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
- //#endregion
2940
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js
2941
- var init_chunk_GMMLSO2N = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js"() {
2942
- init_chunk_WIMGWYZL();
2943
- } });
2944
-
2945
- //#endregion
2946
- //#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);
2949
- }
2950
- var init_chunk_5NQBDF4H = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js"() {
2951
- init_chunk_WIMGWYZL();
2952
- } });
2953
-
2954
- //#endregion
2955
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PFSVCZNE.js
2956
- var init_chunk_PFSVCZNE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PFSVCZNE.js"() {
2957
- init_chunk_WIMGWYZL();
2958
- } });
2959
-
2960
- //#endregion
2961
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VO5MRBXA.js
2962
- var init_chunk_VO5MRBXA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VO5MRBXA.js"() {
2963
- init_chunk_WIMGWYZL();
2964
- } });
2965
-
2966
- //#endregion
2967
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XUX3ZEXI.js
2968
- var init_chunk_XUX3ZEXI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XUX3ZEXI.js"() {
2969
- init_chunk_WIMGWYZL();
2970
- } });
2971
-
2972
- //#endregion
2973
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KZIKCQ56.js
2974
- var init_chunk_KZIKCQ56 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KZIKCQ56.js"() {
2975
- init_chunk_WIMGWYZL();
2976
- } });
2977
-
2978
- //#endregion
2979
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P3DXEVTH.js
2980
- var init_chunk_P3DXEVTH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P3DXEVTH.js"() {
2981
- init_chunk_WIMGWYZL();
2982
- } });
2983
-
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
- //#endregion
2997
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js
2998
- var init_chunk_OLNQBNAJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js"() {
2999
- init_chunk_WIMGWYZL();
3000
- } });
3001
-
3002
- //#endregion
3003
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QOEIYQAG.js
3004
- var init_chunk_QOEIYQAG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QOEIYQAG.js"() {
3005
- init_chunk_WIMGWYZL();
3006
- } });
3007
-
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
- //#endregion
3049
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js
3050
- var init_chunk_T45O7BFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js"() {
3051
- init_chunk_LFJW7BOT();
3052
- init_chunk_ANXBDSUI();
3053
- } });
3054
-
3055
- //#endregion
3056
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OP5ZF26D.js
3057
- var init_chunk_OP5ZF26D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OP5ZF26D.js"() {
3058
- init_chunk_WIMGWYZL();
3059
- } });
3060
-
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
- //#endregion
3086
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js
3087
- var init_chunk_JN2GYTBI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js"() {
3088
- init_chunk_WIMGWYZL();
3089
- } });
3090
-
3091
- //#endregion
3092
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HGKLN5KY.js
3093
- var init_chunk_HGKLN5KY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HGKLN5KY.js"() {
3094
- init_chunk_WIMGWYZL();
3095
- } });
3096
-
3097
- //#endregion
3098
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R7PILVSQ.js
3099
- var init_chunk_R7PILVSQ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R7PILVSQ.js"() {
3100
- init_chunk_HGKLN5KY();
3101
- init_chunk_WIMGWYZL();
3102
- } });
3103
-
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
- //#endregion
3109
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js
3110
- var init_chunk_B6PG574O = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js"() {
3111
- init_chunk_WIMGWYZL();
3112
- } });
3113
-
3114
- //#endregion
3115
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js
3116
- var init_chunk_ICBBHOCR = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js"() {
3117
- init_chunk_LFJW7BOT();
3118
- init_chunk_ANXBDSUI();
3119
- } });
3120
-
3121
- //#endregion
3122
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js
3123
- var init_chunk_JEUUQSE4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js"() {
3124
- init_chunk_EMIEIAAH();
3125
- init_chunk_AIG3BDKO();
3126
- } });
3127
-
3128
- //#endregion
3129
- //#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
- } });
3134
-
3135
- //#endregion
3136
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FRNNS7AX.js
3137
- var init_chunk_FRNNS7AX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FRNNS7AX.js"() {
3138
- init_chunk_WIMGWYZL();
3139
- } });
3140
-
3141
- //#endregion
3142
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js
3143
- var init_chunk_QJOWZFYO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js"() {
3144
- init_chunk_FZHIMCK6();
3145
- init_chunk_WIMGWYZL();
3146
- } });
3147
-
3148
- //#endregion
3149
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VIBSXWWU.js
3150
- var init_chunk_VIBSXWWU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VIBSXWWU.js"() {
3151
- init_chunk_WIMGWYZL();
3152
- } });
3153
-
3154
- //#endregion
3155
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4H4IOYC.js
3156
- var init_chunk_T4H4IOYC = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4H4IOYC.js"() {
3157
- init_chunk_WIMGWYZL();
3158
- } });
3159
-
3160
- //#endregion
3161
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GPLTWAVR.js
3162
- var init_chunk_GPLTWAVR = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GPLTWAVR.js"() {
3163
- init_chunk_WIMGWYZL();
3164
- } });
3165
-
3166
- //#endregion
3167
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PIX5OHMW.js
3168
- var init_chunk_PIX5OHMW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PIX5OHMW.js"() {
3169
- init_chunk_WIMGWYZL();
3170
- } });
3171
-
3172
- //#endregion
3173
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VVM5DH6Z.js
3174
- var init_chunk_VVM5DH6Z = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VVM5DH6Z.js"() {
3175
- init_chunk_WIMGWYZL();
3176
- } });
3177
-
3178
- //#endregion
3179
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PVYOMZ3I.js
3180
- var init_chunk_PVYOMZ3I = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PVYOMZ3I.js"() {
3181
- init_chunk_WIMGWYZL();
3182
- } });
3183
-
3184
- //#endregion
3185
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js
3186
- var init_chunk_P6LAFGAN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js"() {
3187
- init_chunk_ANXBDSUI();
3188
- init_chunk_WIMGWYZL();
3189
- } });
3190
-
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
- //#endregion
3196
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MQDP6CFS.js
3197
- 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
- init_chunk_WIMGWYZL();
3201
- } });
3202
-
3203
- //#endregion
3204
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UZ6BOIAH.js
3205
- var init_chunk_UZ6BOIAH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UZ6BOIAH.js"() {
3206
- init_chunk_WIMGWYZL();
3207
- } });
3208
-
3209
- //#endregion
3210
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5UAETW.js
3211
- var init_chunk_KI5UAETW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5UAETW.js"() {
3212
- init_chunk_WIMGWYZL();
3213
- } });
3214
-
3215
- //#endregion
3216
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GYH2VCL4.js
3217
- var init_chunk_GYH2VCL4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GYH2VCL4.js"() {
3218
- init_chunk_WIMGWYZL();
3219
- } });
3220
-
3221
- //#endregion
3222
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js
3223
- var init_chunk_26ILFTOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js"() {
3224
- init_chunk_SGAFZVQH();
3225
- init_chunk_WIMGWYZL();
3226
- } });
3227
-
3228
- //#endregion
3229
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2KIKGHAO.js
3230
- var init_chunk_2KIKGHAO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2KIKGHAO.js"() {
3231
- init_chunk_WIMGWYZL();
3232
- } });
3233
-
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
- //#endregion
3239
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js
3240
- var init_chunk_TSGKWRXX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js"() {
3241
- init_chunk_ANXBDSUI();
3242
- init_chunk_WIMGWYZL();
3243
- } });
3244
-
3245
- //#endregion
3246
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js
3247
- var init_chunk_6NCEKWMJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js"() {
3248
- init_chunk_ZPVGOJQV();
3249
- init_chunk_EMIEIAAH();
3250
- } });
3251
-
3252
- //#endregion
3253
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J7R2OSHS.js
3254
- var init_chunk_J7R2OSHS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J7R2OSHS.js"() {
3255
- init_chunk_WIMGWYZL();
3256
- } });
3257
-
3258
- //#endregion
3259
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GIKF2ZNG.js
3260
- var init_chunk_GIKF2ZNG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GIKF2ZNG.js"() {
3261
- init_chunk_WIMGWYZL();
3262
- } });
3263
-
3264
- //#endregion
3265
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XWBKJZIP.js
3266
- var init_chunk_XWBKJZIP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XWBKJZIP.js"() {
3267
- init_chunk_WIMGWYZL();
2093
+ literal("base64"),
2094
+ literal("base36"),
2095
+ literal("hex")
2096
+ ])), description("Use the specified character set for file hashes")),
2097
+ format: pipe(optional(ModuleFormatSchema), description(`Output format of the generated bundle (supports ${colors.underline("esm")}, cjs, and iife)`)),
2098
+ sourcemap: pipe(optional(union([
2099
+ boolean(),
2100
+ literal("inline"),
2101
+ literal("hidden")
2102
+ ])), description(`Generate sourcemap (\`-s inline\` for inline, or ${colors.bold("pass the `-s` on the last argument if you want to generate `.map` file")})`)),
2103
+ sourcemapDebugIds: pipe(optional(boolean()), description("Inject sourcemap debug IDs")),
2104
+ sourcemapIgnoreList: optional(union([boolean(), custom(() => true)])),
2105
+ sourcemapPathTransform: optional(custom(() => true)),
2106
+ banner: optional(union([string(), AddonFunctionSchema])),
2107
+ footer: optional(union([string(), AddonFunctionSchema])),
2108
+ intro: optional(union([string(), AddonFunctionSchema])),
2109
+ outro: optional(union([string(), AddonFunctionSchema])),
2110
+ extend: pipe(optional(boolean()), description("Extend global variable defined by name in IIFE / UMD formats")),
2111
+ esModule: optional(union([boolean(), literal("if-default-prop")])),
2112
+ assetFileNames: optional(AssetFileNamesSchema),
2113
+ entryFileNames: optional(ChunkFileNamesSchema),
2114
+ chunkFileNames: optional(ChunkFileNamesSchema),
2115
+ cssEntryFileNames: optional(ChunkFileNamesSchema),
2116
+ cssChunkFileNames: optional(ChunkFileNamesSchema),
2117
+ sanitizeFileName: optional(SanitizeFileNameSchema),
2118
+ minify: pipe(optional(union([
2119
+ boolean(),
2120
+ string("dce-only"),
2121
+ MinifyOptionsSchema
2122
+ ])), description("Minify the bundled file")),
2123
+ name: pipe(optional(string()), description("Name for UMD / IIFE format outputs")),
2124
+ globals: pipe(optional(union([record(string(), string()), GlobalsFunctionSchema])), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2125
+ externalLiveBindings: pipe(optional(boolean()), description("external live bindings")),
2126
+ inlineDynamicImports: pipe(optional(boolean()), description("Inline dynamic imports")),
2127
+ manualChunks: optional(never("manualChunks is not supported. Please use advancedChunks instead")),
2128
+ advancedChunks: optional(AdvancedChunksSchema),
2129
+ legalComments: pipe(optional(union([literal("none"), literal("inline")])), description("Control comments in the output")),
2130
+ plugins: optional(custom(() => true)),
2131
+ polyfillRequire: pipe(optional(boolean()), description("Disable require polyfill injection")),
2132
+ hoistTransitiveImports: optional(custom((input) => {
2133
+ if (input) return false;
2134
+ return true;
2135
+ }, () => `The 'true' value is not supported`)),
2136
+ preserveModules: pipe(optional(boolean()), description("Preserve module structure")),
2137
+ preserveModulesRoot: pipe(optional(string()), description("Put preserved modules under this path at root level")),
2138
+ virtualDirname: optional(string())
2139
+ });
2140
+ getAddonDescription = (placement, wrapper) => {
2141
+ return `Code to insert the ${colors.bold(placement)} of the bundled file (${colors.bold(wrapper)} the wrapper function)`;
2142
+ };
2143
+ OutputCliOverrideSchema = strictObject({
2144
+ assetFileNames: pipe(optional(string()), description("Name pattern for asset files")),
2145
+ entryFileNames: pipe(optional(string()), description("Name pattern for emitted entry chunks")),
2146
+ chunkFileNames: pipe(optional(string()), description("Name pattern for emitted secondary chunks")),
2147
+ cssEntryFileNames: pipe(optional(string()), description("Name pattern for emitted css entry chunks")),
2148
+ cssChunkFileNames: pipe(optional(string()), description("Name pattern for emitted css secondary chunks")),
2149
+ sanitizeFileName: pipe(optional(boolean()), description("Sanitize file name")),
2150
+ banner: pipe(optional(string()), description(getAddonDescription("top", "outside"))),
2151
+ footer: pipe(optional(string()), description(getAddonDescription("bottom", "outside"))),
2152
+ intro: pipe(optional(string()), description(getAddonDescription("top", "inside"))),
2153
+ outro: pipe(optional(string()), description(getAddonDescription("bottom", "inside"))),
2154
+ esModule: pipe(optional(boolean()), description("Always generate `__esModule` marks in non-ESM formats, defaults to `if-default-prop` (use `--no-esModule` to always disable)")),
2155
+ globals: pipe(optional(record(string(), string())), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2156
+ advancedChunks: pipe(optional(strictObject({
2157
+ minSize: pipe(optional(number()), description("Minimum size of the chunk")),
2158
+ minShareCount: pipe(optional(number()), description("Minimum share count of the chunk"))
2159
+ })), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2160
+ minify: pipe(optional(boolean()), description("Minify the bundled file"))
2161
+ });
2162
+ OutputCliOptionsSchema = omit(strictObject({
2163
+ ...OutputOptionsSchema.entries,
2164
+ ...OutputCliOverrideSchema.entries
2165
+ }), [
2166
+ "sourcemapIgnoreList",
2167
+ "sourcemapPathTransform",
2168
+ "plugins",
2169
+ "hoistTransitiveImports"
2170
+ ]);
2171
+ CliOptionsSchema = strictObject({
2172
+ config: pipe(optional(union([string(), boolean()])), description("Path to the config file (default: `rolldown.config.js`)")),
2173
+ help: pipe(optional(boolean()), description("Show help")),
2174
+ version: pipe(optional(boolean()), description("Show version number")),
2175
+ watch: pipe(optional(boolean()), description("Watch files in bundle and rebuild on changes")),
2176
+ ...InputCliOptionsSchema.entries,
2177
+ ...OutputCliOptionsSchema.entries
2178
+ });
2179
+ inputHelperMsgRecord = { output: { ignored: true } };
2180
+ outputHelperMsgRecord = {};
3268
2181
  } });
3269
2182
 
3270
2183
  //#endregion
3271
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XHPQVWZM.js
3272
- var init_chunk_XHPQVWZM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XHPQVWZM.js"() {
3273
- init_chunk_WIMGWYZL();
2184
+ //#region src/constants/plugin-context.ts
2185
+ var SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF;
2186
+ var init_plugin_context$1 = __esm({ "src/constants/plugin-context.ts"() {
2187
+ SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF = Symbol("plugin-context-resolve-caller");
3274
2188
  } });
3275
2189
 
3276
2190
  //#endregion
3277
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2OQBQB3V.js
3278
- var init_chunk_2OQBQB3V = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2OQBQB3V.js"() {
3279
- init_chunk_WIMGWYZL();
2191
+ //#region src/options/normalized-input-options.ts
2192
+ var NormalizedInputOptionsImpl;
2193
+ var init_normalized_input_options = __esm({ "src/options/normalized-input-options.ts"() {
2194
+ NormalizedInputOptionsImpl = class {
2195
+ inner;
2196
+ constructor(inner, onLog) {
2197
+ this.onLog = onLog;
2198
+ this.inner = inner;
2199
+ }
2200
+ get shimMissingExports() {
2201
+ return this.inner.shimMissingExports;
2202
+ }
2203
+ get input() {
2204
+ return this.inner.input;
2205
+ }
2206
+ get cwd() {
2207
+ return this.inner.cwd ?? void 0;
2208
+ }
2209
+ get platform() {
2210
+ return this.inner.platform;
2211
+ }
2212
+ };
3280
2213
  } });
3281
2214
 
3282
2215
  //#endregion
3283
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-H4OTHZJB.js
3284
- var init_chunk_H4OTHZJB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-H4OTHZJB.js"() {
3285
- init_chunk_WIMGWYZL();
3286
- } });
2216
+ //#region src/types/sourcemap.ts
2217
+ function bindingifySourcemap(map) {
2218
+ if (map == null) return;
2219
+ return { inner: typeof map === "string" ? map : {
2220
+ file: map.file ?? void 0,
2221
+ mappings: map.mappings,
2222
+ sourceRoot: "sourceRoot" in map ? map.sourceRoot ?? void 0 : void 0,
2223
+ sources: map.sources?.map((s) => s ?? void 0),
2224
+ sourcesContent: map.sourcesContent?.map((s) => s ?? void 0),
2225
+ names: map.names,
2226
+ x_google_ignoreList: map.x_google_ignoreList,
2227
+ debugId: "debugId" in map ? map.debugId : void 0
2228
+ } };
2229
+ }
2230
+ var init_sourcemap = __esm({ "src/types/sourcemap.ts"() {} });
3287
2231
 
3288
2232
  //#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");
2233
+ //#region src/utils/error.ts
2234
+ function normalizeErrors(rawErrors) {
2235
+ const errors = rawErrors.map((e) => e instanceof Error ? e : Object.assign(new Error(), {
2236
+ kind: e.kind,
2237
+ message: e.message,
2238
+ stack: void 0
2239
+ }));
2240
+ let summary = `Build failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`;
2241
+ for (let i$1 = 0; i$1 < errors.length; i$1++) {
2242
+ summary += "\n";
2243
+ if (i$1 >= 5) {
2244
+ summary += "...";
2245
+ break;
2246
+ }
2247
+ summary += getErrorMessage(errors[i$1]);
2248
+ }
2249
+ const wrapper = new Error(summary);
2250
+ Object.defineProperty(wrapper, "errors", {
2251
+ configurable: true,
2252
+ enumerable: true,
2253
+ get: () => errors,
2254
+ set: (value) => Object.defineProperty(wrapper, "errors", {
2255
+ configurable: true,
2256
+ enumerable: true,
2257
+ value
2258
+ })
2259
+ });
2260
+ return wrapper;
3299
2261
  }
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;
2262
+ function getErrorMessage(e) {
2263
+ if (Object.hasOwn(e, "kind")) return e.message;
2264
+ let s = "";
2265
+ if (e.plugin) s += `[plugin ${e.plugin}]`;
2266
+ const id = e.id ?? e.loc?.file;
2267
+ if (id) {
2268
+ s += " " + id;
2269
+ if (e.loc) s += `:${e.loc.line}:${e.loc.column}`;
2270
+ }
2271
+ if (s) s += "\n";
2272
+ const message = `${e.name ?? "Error"}: ${e.message}`;
2273
+ s += message;
2274
+ if (e.frame) s = joinNewLine(s, e.frame);
2275
+ if (e.stack) s = joinNewLine(s, e.stack.replace(message, ""));
2276
+ return s;
3304
2277
  }
3305
- function R(n$7 = d$11) {
3306
- return [T$6, n$7];
2278
+ function joinNewLine(s1, s2) {
2279
+ return s1.replace(/\n+$/, "") + "\n" + s2.replace(/^\n+/, "");
3307
2280
  }
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
- //#endregion
3319
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js
3320
- var init_chunk_ZTNFU7RH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js"() {
3321
- init_chunk_WIMGWYZL();
3322
- } });
3323
-
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
- //#endregion
3329
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js
3330
- var init_chunk_GKXRNLHM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js"() {
3331
- init_chunk_LFJW7BOT();
3332
- init_chunk_ANXBDSUI();
3333
- } });
3334
-
3335
- //#endregion
3336
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js
3337
- var init_chunk_NYIWN625 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js"() {
3338
- init_chunk_LFJW7BOT();
3339
- init_chunk_ANXBDSUI();
3340
- } });
3341
-
3342
- //#endregion
3343
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WPTI67A4.js
3344
- var init_chunk_WPTI67A4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WPTI67A4.js"() {
3345
- init_chunk_WIMGWYZL();
3346
- } });
2281
+ var init_error = __esm({ "src/utils/error.ts"() {} });
3347
2282
 
3348
2283
  //#endregion
3349
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W2ARC73P.js
3350
- var init_chunk_W2ARC73P = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W2ARC73P.js"() {
3351
- init_chunk_WIMGWYZL();
2284
+ //#region src/utils/transform-module-info.ts
2285
+ function transformModuleInfo(info, option) {
2286
+ return {
2287
+ get ast() {
2288
+ return unsupported("ModuleInfo#ast");
2289
+ },
2290
+ get code() {
2291
+ return info.code;
2292
+ },
2293
+ id: info.id,
2294
+ importers: info.importers,
2295
+ dynamicImporters: info.dynamicImporters,
2296
+ importedIds: info.importedIds,
2297
+ dynamicallyImportedIds: info.dynamicallyImportedIds,
2298
+ exports: info.exports,
2299
+ isEntry: info.isEntry,
2300
+ ...option
2301
+ };
2302
+ }
2303
+ var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {
2304
+ init_misc();
3352
2305
  } });
3353
2306
 
3354
2307
  //#endregion
3355
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3UBK2BVM.js
3356
- var init_chunk_3UBK2BVM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3UBK2BVM.js"() {
3357
- init_chunk_WIMGWYZL();
2308
+ //#region src/utils/transform-side-effects.ts
2309
+ function bindingifySideEffects(sideEffects) {
2310
+ switch (sideEffects) {
2311
+ case true: return import_binding$5.BindingHookSideEffects.True;
2312
+ case false: return import_binding$5.BindingHookSideEffects.False;
2313
+ case "no-treeshake": return import_binding$5.BindingHookSideEffects.NoTreeshake;
2314
+ case null:
2315
+ case void 0: return void 0;
2316
+ default: throw new Error(`Unexpected side effects: ${sideEffects}`);
2317
+ }
2318
+ }
2319
+ var import_binding$5;
2320
+ var init_transform_side_effects = __esm({ "src/utils/transform-side-effects.ts"() {
2321
+ import_binding$5 = __toESM(require_binding());
3358
2322
  } });
3359
2323
 
3360
2324
  //#endregion
3361
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFECZ57D.js
3362
- var init_chunk_VFECZ57D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFECZ57D.js"() {
3363
- init_chunk_WIMGWYZL();
3364
- } });
2325
+ //#region src/utils/transform-sourcemap.ts
2326
+ function isEmptySourcemapFiled(array$1) {
2327
+ if (!array$1) return true;
2328
+ if (array$1.length === 0 || !array$1[0]) return true;
2329
+ return false;
2330
+ }
2331
+ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
2332
+ if (!rawMap) return;
2333
+ let map = typeof rawMap === "object" ? rawMap : JSON.parse(rawMap);
2334
+ if (isEmptySourcemapFiled(map.sourcesContent)) map.sourcesContent = [originalCode];
2335
+ if (isEmptySourcemapFiled(map.sources) || map.sources && map.sources.length === 1 && map.sources[0] !== id) map.sources = [id];
2336
+ return map;
2337
+ }
2338
+ var init_transform_sourcemap = __esm({ "src/utils/transform-sourcemap.ts"() {} });
3365
2339
 
3366
2340
  //#endregion
3367
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VG2NVNXT.js
3368
- var init_chunk_VG2NVNXT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VG2NVNXT.js"() {
3369
- init_chunk_WIMGWYZL();
3370
- } });
2341
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js
2342
+ function u$1(o, n, a) {
2343
+ let t$1 = (r) => o(r, ...n);
2344
+ return a === void 0 ? t$1 : Object.assign(t$1, {
2345
+ lazy: a,
2346
+ lazyArgs: n
2347
+ });
2348
+ }
2349
+ var init_chunk_D6FCK2GA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js"() {} });
3371
2350
 
3372
2351
  //#endregion
3373
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js
3374
- var init_chunk_HJSE36CH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js"() {
3375
- init_chunk_FZHIMCK6();
3376
- init_chunk_WIMGWYZL();
2352
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js
2353
+ function u(r, n, o) {
2354
+ let a = r.length - n.length;
2355
+ if (a === 0) return r(...n);
2356
+ if (a === 1) return u$1(r, n, o);
2357
+ throw new Error("Wrong number of arguments");
2358
+ }
2359
+ var init_chunk_WIMGWYZL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js"() {
2360
+ init_chunk_D6FCK2GA();
3377
2361
  } });
3378
2362
 
3379
2363
  //#endregion
3380
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-IERM7LX4.js
3381
- var init_chunk_IERM7LX4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-IERM7LX4.js"() {
2364
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js
2365
+ function d(...r) {
2366
+ return u(i, r);
2367
+ }
2368
+ var i;
2369
+ var init_chunk_3IFJP4R5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js"() {
3382
2370
  init_chunk_WIMGWYZL();
2371
+ i = (r, t$1) => {
2372
+ let a = [[], []];
2373
+ for (let [o, e] of r.entries()) t$1(e, o, r) ? a[0].push(e) : a[1].push(e);
2374
+ return a;
2375
+ };
3383
2376
  } });
3384
2377
 
3385
2378
  //#endregion
3386
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHDYHGOF.js
3387
- var init_chunk_UHDYHGOF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHDYHGOF.js"() {
2379
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js
2380
+ function t(...n) {
2381
+ return u(Object.keys, n);
2382
+ }
2383
+ var init_chunk_5NQBDF4H = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js"() {
3388
2384
  init_chunk_WIMGWYZL();
3389
2385
  } });
3390
2386
 
3391
2387
  //#endregion
3392
2388
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/index.js
3393
2389
  var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/index.js"() {
3394
- init_chunk_7ZI6JRPB();
3395
- init_chunk_OXJMERKM();
3396
- init_chunk_BSLJB6JE();
3397
- init_chunk_NJXNQM3G();
3398
- init_chunk_6RKHJ2CP();
3399
- init_chunk_QDGUNRDA();
3400
- init_chunk_MYLLMFC7();
3401
- init_chunk_N4JUOEMS();
3402
- init_chunk_YRJ25UV2();
3403
- init_chunk_Q5ASJ5N7();
3404
- init_chunk_WZOX4VKU();
3405
- init_chunk_Y3VKZ3P5();
3406
- init_chunk_ZRKG4NSC();
3407
- init_chunk_QJLMYOTX();
3408
- init_chunk_DM52TTEP();
3409
- init_chunk_2P44HXVH();
3410
- init_chunk_ZJS5DNQW();
3411
- init_chunk_R3YJIBPV();
3412
- init_chunk_4UEQNEAO();
3413
- init_chunk_T4PLMLCP();
3414
- init_chunk_SSDL7ATG();
3415
- init_chunk_EVIH3PFY();
3416
- init_chunk_RBODUO3Q();
3417
- init_chunk_S52RID4A();
3418
- init_chunk_WWPMIW33();
3419
- init_chunk_57KROWWS();
3420
- init_chunk_V6HCOU6T();
3421
- init_chunk_ALS6JP7S();
3422
- init_chunk_QTQTP2VB();
3423
- init_chunk_NFFV4IQT();
3424
- init_chunk_FDH4IRIM();
3425
- init_chunk_YDIA5YQI();
3426
- init_chunk_6OEKBHIX();
3427
- init_chunk_GDGEDZJG();
3428
- init_chunk_XE3XIKTJ();
3429
- init_chunk_HVJXDSOP();
3430
- init_chunk_MSOX5OUI();
3431
- init_chunk_C4OZY4Z2();
3432
- init_chunk_P2PQB7KO();
3433
- init_chunk_UHZ33J57();
3434
- init_chunk_6RL33UFT();
3435
- init_chunk_YNNF733L();
3436
- init_chunk_4YLWJIJ6();
3437
- init_chunk_KVHF7QRD();
3438
- init_chunk_UA6DVSZ3();
3439
- init_chunk_G5B2IDWB();
3440
- init_chunk_3FKP6OOU();
3441
- init_chunk_VFSOOVKJ();
3442
- init_chunk_K3UJMX27();
3443
- init_chunk_LE6I3KC6();
3444
- init_chunk_ENS7GPLZ();
3445
- init_chunk_DSLWSGID();
3446
- init_chunk_R72GEKLP();
3447
2390
  init_chunk_3IFJP4R5();
3448
- init_chunk_J4EKWFDW();
3449
- init_chunk_PGMPBC5Q();
3450
- init_chunk_GGYFZTDW();
3451
- init_chunk_EDOGCRPU();
3452
- init_chunk_4NRWDO7P();
3453
- init_chunk_W6ZHPGFP();
3454
- init_chunk_J3IRE4DI();
3455
- init_chunk_RZUYD7QY();
3456
- init_chunk_KI5X74E2();
3457
- init_chunk_4ZFFLFWV();
3458
- init_chunk_C6IMN7SF();
3459
- init_chunk_NS6ZBRLP();
3460
- init_chunk_FMPZ2CLX();
3461
- init_chunk_3ZJAREUD();
3462
- init_chunk_ZXVA7VDE();
3463
- init_chunk_KQRZQWDE();
3464
- init_chunk_567G5ZXL();
3465
- init_chunk_3D3RWAVJ();
3466
- init_chunk_K2FFNW24();
3467
- init_chunk_5S4PYKVY();
3468
- init_chunk_5WKPQX7L();
3469
- init_chunk_PDQFB3TV();
3470
- init_chunk_XMLUDZIW();
3471
- init_chunk_GMMLSO2N();
3472
2391
  init_chunk_5NQBDF4H();
3473
- init_chunk_PFSVCZNE();
3474
- init_chunk_VO5MRBXA();
3475
- init_chunk_XUX3ZEXI();
3476
- init_chunk_KZIKCQ56();
3477
- init_chunk_P3DXEVTH();
3478
- init_chunk_6GTAPB47();
3479
- init_chunk_NMC53JVB();
3480
- init_chunk_BZNENX2T();
3481
- init_chunk_PULGOXDA();
3482
- init_chunk_OLNQBNAJ();
3483
- 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
- init_chunk_T45O7BFY();
3495
- 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
- init_chunk_JN2GYTBI();
3503
- init_chunk_R7PILVSQ();
3504
- init_chunk_HGKLN5KY();
3505
- init_chunk_HJSE3ESO();
3506
- init_chunk_B6PG574O();
3507
- init_chunk_ICBBHOCR();
3508
- init_chunk_JEUUQSE4();
3509
- init_chunk_XPCYQPKH();
3510
- init_chunk_FRNNS7AX();
3511
- init_chunk_QJOWZFYO();
3512
- init_chunk_VIBSXWWU();
3513
- init_chunk_T4H4IOYC();
3514
- init_chunk_GPLTWAVR();
3515
- init_chunk_PIX5OHMW();
3516
- init_chunk_VVM5DH6Z();
3517
- init_chunk_PVYOMZ3I();
3518
- init_chunk_P6LAFGAN();
3519
- init_chunk_MQDP6CFS();
3520
- init_chunk_UZ6BOIAH();
3521
- init_chunk_KI5UAETW();
3522
- init_chunk_GYH2VCL4();
3523
- init_chunk_26ILFTOP();
3524
- init_chunk_2KIKGHAO();
3525
- init_chunk_YVMG2XEU();
3526
- init_chunk_TSGKWRXX();
3527
- init_chunk_6NCEKWMJ();
3528
- init_chunk_ZPVGOJQV();
3529
- init_chunk_AIG3BDKO();
3530
- init_chunk_J7R2OSHS();
3531
- init_chunk_GIKF2ZNG();
3532
- init_chunk_XWBKJZIP();
3533
- init_chunk_XHPQVWZM();
3534
- init_chunk_2OQBQB3V();
3535
- init_chunk_H4OTHZJB();
3536
- init_chunk_XZ6COQKM();
3537
- init_chunk_T5XG33UI();
3538
- init_chunk_ZTNFU7RH();
3539
- init_chunk_OIQJEOF7();
3540
- init_chunk_GKXRNLHM();
3541
- init_chunk_NYIWN625();
3542
- init_chunk_LFJW7BOT();
3543
- init_chunk_3GOCSNFN();
3544
- init_chunk_WPTI67A4();
3545
- init_chunk_W2ARC73P();
3546
- init_chunk_3UBK2BVM();
3547
- init_chunk_VFECZ57D();
3548
- init_chunk_VG2NVNXT();
3549
- init_chunk_HJSE36CH();
3550
- init_chunk_IERM7LX4();
3551
- init_chunk_UHDYHGOF();
3552
- init_chunk_WIMGWYZL();
3553
2392
  } });
3554
2393
 
3555
2394
  //#endregion
3556
2395
  //#region src/plugin/bindingify-hook-filter.ts
3557
2396
  function generalHookFilterMatcherToFilterExprs(matcher, stringKind) {
3558
2397
  if (typeof matcher === "string" || matcher instanceof RegExp) return [filter.include(generateAtomMatcher(stringKind, matcher))];
3559
- if (Array.isArray(matcher)) return matcher.map((m$10) => filter.include(generateAtomMatcher(stringKind, m$10)));
2398
+ if (Array.isArray(matcher)) return matcher.map((m) => filter.include(generateAtomMatcher(stringKind, m)));
3560
2399
  let ret = [];
3561
- if (matcher.exclude) ret.push(...arraify(matcher.exclude).map((m$10) => filter.exclude(generateAtomMatcher(stringKind, m$10))));
3562
- if (matcher.include) ret.push(...arraify(matcher.include).map((m$10) => filter.include(generateAtomMatcher(stringKind, m$10))));
2400
+ if (matcher.exclude) ret.push(...arraify(matcher.exclude).map((m) => filter.exclude(generateAtomMatcher(stringKind, m))));
2401
+ if (matcher.include) ret.push(...arraify(matcher.include).map((m) => filter.include(generateAtomMatcher(stringKind, m))));
3563
2402
  return ret;
3564
2403
  }
3565
2404
  function generateAtomMatcher(kind, matcher) {
@@ -3574,14 +2413,14 @@ function transformFilterMatcherToFilterExprs(filterOption) {
3574
2413
  let idExcludes = [];
3575
2414
  let codeIncludes = [];
3576
2415
  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");
2416
+ if (id) [idIncludes, idExcludes] = d(generalHookFilterMatcherToFilterExprs(id, "id") ?? [], (m) => m.kind === "include");
2417
+ if (code) [codeIncludes, codeExcludes] = d(generalHookFilterMatcherToFilterExprs(code, "code") ?? [], (m) => m.kind === "include");
3579
2418
  ret.push(...idExcludes);
3580
2419
  ret.push(...codeExcludes);
3581
2420
  let andExprList = [];
3582
2421
  if (moduleType) {
3583
2422
  let moduleTypes = Array.isArray(moduleType) ? moduleType : moduleType.include ?? [];
3584
- andExprList.push(filter.or(...moduleTypes.map((m$10) => filter.moduleType(m$10))));
2423
+ andExprList.push(filter.or(...moduleTypes.map((m) => filter.moduleType(m))));
3585
2424
  }
3586
2425
  if (idIncludes.length) andExprList.push(filter.or(...idIncludes.map((item) => item.expr)));
3587
2426
  if (codeIncludes.length) andExprList.push(filter.or(...codeIncludes.map((item) => item.expr)));
@@ -3603,7 +2442,7 @@ function bindingifyFilterExprImpl(expr, list) {
3603
2442
  switch (expr.kind) {
3604
2443
  case "and": {
3605
2444
  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);
2445
+ for (let i$1 = args$1.length - 1; i$1 >= 0; i$1--) bindingifyFilterExprImpl(args$1[i$1], list);
3607
2446
  list.push({
3608
2447
  kind: "And",
3609
2448
  payload: args$1.length
@@ -3612,7 +2451,7 @@ function bindingifyFilterExprImpl(expr, list) {
3612
2451
  }
3613
2452
  case "or": {
3614
2453
  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);
2454
+ for (let i$1 = args$1.length - 1; i$1 >= 0; i$1--) bindingifyFilterExprImpl(args$1[i$1], list);
3616
2455
  list.push({
3617
2456
  kind: "Or",
3618
2457
  payload: args$1.length
@@ -3768,10 +2607,10 @@ var init_plugin_context = __esm({ "src/plugin/plugin-context.ts"() {
3768
2607
  data.loadModulePromiseMap.set(id, promise$1);
3769
2608
  try {
3770
2609
  await context.load(id, bindingifySideEffects(options.moduleSideEffects));
3771
- } catch (e$5) {
2610
+ } catch (e) {
3772
2611
  data.loadModulePromiseMap.delete(id);
3773
2612
  data.loadModulePromiseResolveFnMap.delete(id);
3774
- throw e$5;
2613
+ throw e;
3775
2614
  }
3776
2615
  return promise$1;
3777
2616
  }
@@ -3852,12 +2691,12 @@ var init_transform_plugin_context = __esm({ "src/plugin/transform-plugin-context
3852
2691
  this.warn = getLogHandler$1(this.warn);
3853
2692
  this.info = getLogHandler$1(this.info);
3854
2693
  }
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));
2694
+ error(e, pos) {
2695
+ if (typeof e === "string") e = { message: e };
2696
+ if (pos) augmentCodeLocation(e, pos, this.moduleSource, this.moduleId);
2697
+ e.id = this.moduleId;
2698
+ e.hook = "transform";
2699
+ return error(logPluginError(normalizeLog(e), this.pluginName));
3861
2700
  }
3862
2701
  getCombinedSourcemap() {
3863
2702
  return JSON.parse(this.inner.getCombinedSourcemap());
@@ -4101,9 +2940,9 @@ function transformRenderedChunk(chunk) {
4101
2940
  }
4102
2941
  function transformChunkModules(modules) {
4103
2942
  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];
2943
+ for (let i$1 = 0; i$1 < modules.values.length; i$1++) {
2944
+ let key = modules.keys[i$1];
2945
+ const mod = modules.values[i$1];
4107
2946
  result[key] = transformToRenderedModule(mod);
4108
2947
  }
4109
2948
  return result;
@@ -4145,7 +2984,6 @@ function bindingifyOutputOptions(outputOptions) {
4145
2984
  inlineDynamicImports: outputOptions.inlineDynamicImports,
4146
2985
  advancedChunks: outputOptions.advancedChunks,
4147
2986
  polyfillRequire: outputOptions.polyfillRequire,
4148
- target: outputOptions.target,
4149
2987
  sanitizeFileName,
4150
2988
  preserveModules,
4151
2989
  virtualDirname,
@@ -4364,20 +3202,20 @@ function transformToRollupOutputChunk(bindingChunk, changed) {
4364
3202
  };
4365
3203
  const cache = {};
4366
3204
  return new Proxy(chunk, {
4367
- get(target, p$3) {
4368
- if (p$3 in cache) return cache[p$3];
4369
- const value = target[p$3];
4370
- cache[p$3] = value;
3205
+ get(target, p) {
3206
+ if (p in cache) return cache[p];
3207
+ const value = target[p];
3208
+ cache[p] = value;
4371
3209
  return value;
4372
3210
  },
4373
- set(target, p$3, newValue) {
4374
- cache[p$3] = newValue;
3211
+ set(target, p, newValue) {
3212
+ cache[p] = newValue;
4375
3213
  changed?.updated.add(bindingChunk.fileName);
4376
3214
  return true;
4377
3215
  },
4378
- has(target, p$3) {
4379
- if (p$3 in cache) return true;
4380
- return p$3 in target;
3216
+ has(target, p) {
3217
+ if (p in cache) return true;
3218
+ return p in target;
4381
3219
  }
4382
3220
  });
4383
3221
  }
@@ -4395,14 +3233,14 @@ function transformToRollupOutputAsset(bindingAsset, changed) {
4395
3233
  };
4396
3234
  const cache = {};
4397
3235
  return new Proxy(asset, {
4398
- get(target, p$3) {
4399
- if (p$3 in cache) return cache[p$3];
4400
- const value = target[p$3];
4401
- cache[p$3] = value;
3236
+ get(target, p) {
3237
+ if (p in cache) return cache[p];
3238
+ const value = target[p];
3239
+ cache[p] = value;
4402
3240
  return value;
4403
3241
  },
4404
- set(target, p$3, newValue) {
4405
- cache[p$3] = newValue;
3242
+ set(target, p, newValue) {
3243
+ cache[p] = newValue;
4406
3244
  changed?.updated.add(bindingAsset.fileName);
4407
3245
  return true;
4408
3246
  }
@@ -4832,8 +3670,8 @@ function wrapHandlers(plugin) {
4832
3670
  if (handler) plugin[hookName] = async (...args$1) => {
4833
3671
  try {
4834
3672
  return await handler(...args$1);
4835
- } catch (e$5) {
4836
- return error(logPluginError(e$5, plugin.name, {
3673
+ } catch (e) {
3674
+ return error(logPluginError(e, plugin.name, {
4837
3675
  hook: hookName,
4838
3676
  id: hookName === "transform" ? args$1[2] : void 0
4839
3677
  }));
@@ -5090,25 +3928,12 @@ function bindingifyInput(input) {
5090
3928
  }
5091
3929
  function bindingifyJsx(input) {
5092
3930
  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;
3931
+ case false: return import_binding$3.BindingJsx.Disable;
3932
+ case "react": return import_binding$3.BindingJsx.React;
3933
+ case "react-jsx": return import_binding$3.BindingJsx.ReactJsx;
3934
+ case "preserve": return import_binding$3.BindingJsx.Preserve;
3935
+ default: return void 0;
5098
3936
  }
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
3937
  }
5113
3938
  function bindingifyWatch(watch$1) {
5114
3939
  if (watch$1) return {
@@ -5181,7 +4006,7 @@ function createComposedPlugin(plugins) {
5181
4006
  plugins.forEach((plugin, index) => {
5182
4007
  const pluginName = plugin.name || `Anonymous(index: ${index})`;
5183
4008
  names.push(pluginName);
5184
- t$5(plugin).forEach((pluginProp) => {
4009
+ t(plugin).forEach((pluginProp) => {
5185
4010
  if (isUnsupportedHooks(pluginProp)) throw new Error(`Failed to compose js plugins. Plugin ${pluginName} has an unsupported hook: ${pluginProp}`);
5186
4011
  if (!isPluginHookName(pluginProp)) return;
5187
4012
  switch (pluginProp) {
@@ -5289,7 +4114,7 @@ function createComposedPlugin(plugins) {
5289
4114
  }
5290
4115
  };
5291
4116
  }
5292
- t$5(batchedHooks).forEach((hookName) => {
4117
+ t(batchedHooks).forEach((hookName) => {
5293
4118
  switch (hookName) {
5294
4119
  case "resolveId": break;
5295
4120
  case "buildStart": {
@@ -5430,7 +4255,7 @@ function createComposedPlugin(plugins) {
5430
4255
  function isComposablePlugin(plugin) {
5431
4256
  if (plugin instanceof BuiltinPlugin) return false;
5432
4257
  if ("_parallel" in plugin) return false;
5433
- const hasNotComposablePattern = t$5(plugin).some((hookName) => {
4258
+ const hasNotComposablePattern = t(plugin).some((hookName) => {
5434
4259
  if (!isPluginHookName(hookName)) return false;
5435
4260
  const OK_TO_COMPOSE = false;
5436
4261
  if (isUnsupportedHooks(hookName)) return !OK_TO_COMPOSE;
@@ -5513,7 +4338,7 @@ async function initializeParallelPlugins(plugins) {
5513
4338
  };
5514
4339
  }
5515
4340
  function initializeWorkers(registryId, count, pluginInfos) {
5516
- return Promise.all(Array.from({ length: count }, (_, i$21) => initializeWorker(registryId, pluginInfos, i$21)));
4341
+ return Promise.all(Array.from({ length: count }, (_, i$1) => initializeWorker(registryId, pluginInfos, i$1)));
5517
4342
  }
5518
4343
  async function initializeWorker(registryId, pluginInfos, threadNumber) {
5519
4344
  const urlString = import.meta.resolve("#parallel-plugin-worker");
@@ -5533,9 +4358,9 @@ async function initializeWorker(registryId, pluginInfos, threadNumber) {
5533
4358
  });
5534
4359
  });
5535
4360
  return worker;
5536
- } catch (e$5) {
4361
+ } catch (e) {
5537
4362
  worker?.terminate();
5538
- throw e$5;
4363
+ throw e;
5539
4364
  }
5540
4365
  }
5541
4366
  var import_binding$2, availableParallelism;
@@ -5582,9 +4407,9 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, isCl
5582
4407
  onLog,
5583
4408
  stopWorkers: parallelPluginInitResult?.stopWorkers
5584
4409
  };
5585
- } catch (e$5) {
4410
+ } catch (e) {
5586
4411
  await parallelPluginInitResult?.stopWorkers();
5587
- throw e$5;
4412
+ throw e;
5588
4413
  }
5589
4414
  }
5590
4415
  var init_create_bundler_option = __esm({ "src/utils/create-bundler-option.ts"() {
@@ -5612,9 +4437,9 @@ async function createBundler(inputOptions, outputOptions, isClose) {
5612
4437
  asyncRuntimeShutdown = true;
5613
4438
  }
5614
4439
  };
5615
- } catch (e$5) {
4440
+ } catch (e) {
5616
4441
  await option.stopWorkers?.();
5617
- throw e$5;
4442
+ throw e;
5618
4443
  }
5619
4444
  }
5620
4445
  var import_binding$1, asyncRuntimeShutdown;
@@ -5872,9 +4697,8 @@ var init_src = __esm({ "src/index.ts"() {
5872
4697
  init_build();
5873
4698
  init_rolldown();
5874
4699
  init_watch();
5875
- init_define_config();
5876
4700
  VERSION = version;
5877
4701
  } });
5878
4702
 
5879
4703
  //#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 };
4704
+ 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_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 };