@cloudflare/deploy-helpers 0.22.1 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +16 -4
- package/dist/index.mjs +218 -114
- package/dist/metafile-esm.json +1 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -13,6 +13,7 @@ import * as cli from '@cloudflare/cli-shared-helpers';
|
|
|
13
13
|
import { updateStatus, cancel } from '@cloudflare/cli-shared-helpers';
|
|
14
14
|
import { SchedulingPolicy, ApplicationsService, listDurableObjects, ApiError, resolveImageName, pushImageIfChanged, ContainerImagePreparationsService, ContainerImagePreparationStatus, createDurableObjectNamespaceResolver, initContainersSharedContext, pushBuiltContainerImage, deployContainers, verifyDockerInstalled } from '@cloudflare/containers-shared';
|
|
15
15
|
import { INHERIT_SYMBOL, APIError, UserError, getEnvironmentVariableFactory, partitionExports, isNonInteractiveOrCI, getHostFromRoute, retryOnAPIFailure, ParseError, getComplianceRegionSubdomain, configFileName, formatTime, getSubdomainMixedStateCheckDisabled, LOGGER_LEVELS, getResolvedDurableObjectContainerApps, isDurableObjectContainerApp, getDockerPath, validateDurableObjectContainerApplications, getDurableObjectClassNameToUseSQLiteMap, SERVICE_TAG_PREFIX, ENVIRONMENT_TAG_PREFIX, getDurableObjectExports, getWranglerTmpDir, parsePackageJSON, getInstalledPackageVersion, FatalError, readFileSync as readFileSync$1, parseJSON, experimental_readRawConfig, experimental_patchConfig, printBindings, PatchConfigError, constructWranglerConfig, getCIMatchTag, formatConfigSnippet, DEFAULT_COMPAT_DATE, writeOutput, getDurableObjectContainerApps, getBindings, hasDurableObjectExports, parseNonHyphenedUuid, getWorkersCIBranchName, getCIOverrideName, isLiveDurableObjectExport, getBindingTypeFriendlyName, defaultWranglerConfig } from '@cloudflare/workers-utils';
|
|
16
|
+
import { parseAndExpandDotEnv } from '@cloudflare/workers-utils/local-env';
|
|
16
17
|
import { Response, FormData } from 'undici';
|
|
17
18
|
import chalk6 from 'chalk';
|
|
18
19
|
import PQueue4 from 'p-queue';
|
|
@@ -2756,6 +2757,7 @@ var EXPORTS_RECONCILIATION_ERROR_CODE = 100402;
|
|
|
2756
2757
|
var INCONSISTENT_EXPORTS_ACROSS_VERSIONS_CODE = 100405;
|
|
2757
2758
|
var ACTOR_BINDING_DEPENDS_ON_EXPORT_CODE = 100406;
|
|
2758
2759
|
var WORKFLOW_CRON_REQUIRES_PAID_PLAN_CODE = 10208;
|
|
2760
|
+
var WORKFLOW_JURISDICTION_IMMUTABLE_CODE = 10209;
|
|
2759
2761
|
function isWorkflowDefinedInThisScript(workflow, scriptName) {
|
|
2760
2762
|
return workflow.script_name === void 0 || workflow.script_name === scriptName;
|
|
2761
2763
|
}
|
|
@@ -2777,7 +2779,8 @@ function getWorkflowsOwnedByScript(config2, scriptName) {
|
|
|
2777
2779
|
limits: binding?.limits ?? workflowExport.limits,
|
|
2778
2780
|
concurrency: binding?.concurrency ?? workflowExport.concurrency,
|
|
2779
2781
|
schedules: binding?.schedules ?? workflowExport.schedules,
|
|
2780
|
-
default_retention: binding?.default_retention ?? workflowExport.default_retention
|
|
2782
|
+
default_retention: binding?.default_retention ?? workflowExport.default_retention,
|
|
2783
|
+
jurisdiction: binding?.jurisdiction ?? workflowExport.jurisdiction
|
|
2781
2784
|
});
|
|
2782
2785
|
}
|
|
2783
2786
|
return [...owned.values()];
|
|
@@ -2814,7 +2817,8 @@ function validateOwnedWorkflowDeclarations(config2, scriptName) {
|
|
|
2814
2817
|
"limits",
|
|
2815
2818
|
"concurrency",
|
|
2816
2819
|
"schedules",
|
|
2817
|
-
"default_retention"
|
|
2820
|
+
"default_retention",
|
|
2821
|
+
"jurisdiction"
|
|
2818
2822
|
]) {
|
|
2819
2823
|
const bindingValue = workflow[key];
|
|
2820
2824
|
const exportValue = workflowExport[key];
|
|
@@ -4340,6 +4344,14 @@ ${dashLink}`, {
|
|
|
4340
4344
|
}
|
|
4341
4345
|
);
|
|
4342
4346
|
}
|
|
4347
|
+
if (workflow.jurisdiction) {
|
|
4348
|
+
throw new UserError(
|
|
4349
|
+
`Workflow "${workflow.name}" has "jurisdiction" configured but references external script "${workflow.script_name}". Configure jurisdiction on the worker that defines the workflow.`,
|
|
4350
|
+
{
|
|
4351
|
+
telemetryMessage: "triggers deploy workflow jurisdiction external script"
|
|
4352
|
+
}
|
|
4353
|
+
);
|
|
4354
|
+
}
|
|
4343
4355
|
}
|
|
4344
4356
|
}
|
|
4345
4357
|
for (const workflow of ownedWorkflows) {
|
|
@@ -4362,6 +4374,9 @@ ${dashLink}`, {
|
|
|
4362
4374
|
},
|
|
4363
4375
|
...workflow.default_retention && {
|
|
4364
4376
|
default_retention: workflow.default_retention
|
|
4377
|
+
},
|
|
4378
|
+
...workflow.jurisdiction && {
|
|
4379
|
+
jurisdiction: workflow.jurisdiction
|
|
4365
4380
|
}
|
|
4366
4381
|
}),
|
|
4367
4382
|
headers: {
|
|
@@ -4388,6 +4403,20 @@ ${dashLink}`, {
|
|
|
4388
4403
|
)
|
|
4389
4404
|
};
|
|
4390
4405
|
}
|
|
4406
|
+
if (error62 instanceof APIError && error62.code === WORKFLOW_JURISDICTION_IMMUTABLE_CODE && workflow.jurisdiction) {
|
|
4407
|
+
error62.preventReport();
|
|
4408
|
+
return {
|
|
4409
|
+
category: "Workflows",
|
|
4410
|
+
targets: [],
|
|
4411
|
+
error: new UserError(
|
|
4412
|
+
`Workflow "${workflow.name}" already exists with a different jurisdiction, and a Workflow's jurisdiction cannot be changed after it is created. Give the Workflow a new name, or delete the existing Workflow first, which also deletes its instances.`,
|
|
4413
|
+
{
|
|
4414
|
+
cause: error62,
|
|
4415
|
+
telemetryMessage: "triggers deploy workflow jurisdiction immutable"
|
|
4416
|
+
}
|
|
4417
|
+
)
|
|
4418
|
+
};
|
|
4419
|
+
}
|
|
4391
4420
|
return {
|
|
4392
4421
|
category: "Workflows",
|
|
4393
4422
|
resource: `Workflow "${workflow.name}"`,
|
|
@@ -7971,7 +8000,7 @@ var NoInputError = class extends Error {
|
|
|
7971
8000
|
this.name = "NoInputError";
|
|
7972
8001
|
}
|
|
7973
8002
|
};
|
|
7974
|
-
async function parseBulkInputToObject(input2, includeNull = false) {
|
|
8003
|
+
async function parseBulkInputToObject(input2, includeNull = false, parseDotEnv = parse$1) {
|
|
7975
8004
|
let content;
|
|
7976
8005
|
let secretSource;
|
|
7977
8006
|
let secretFormat;
|
|
@@ -7983,7 +8012,7 @@ async function parseBulkInputToObject(input2, includeNull = false) {
|
|
|
7983
8012
|
content = parseJSON(fileContent);
|
|
7984
8013
|
secretFormat = "json";
|
|
7985
8014
|
} catch {
|
|
7986
|
-
content =
|
|
8015
|
+
content = parseDotEnv(fileContent);
|
|
7987
8016
|
secretFormat = "dotenv";
|
|
7988
8017
|
if (Object.keys(content).length === 0) {
|
|
7989
8018
|
throw new UserError(`The contents of "${input2}" is not valid.`, {
|
|
@@ -8004,7 +8033,7 @@ async function parseBulkInputToObject(input2, includeNull = false) {
|
|
|
8004
8033
|
content = parseJSON(pipedInput);
|
|
8005
8034
|
secretFormat = "json";
|
|
8006
8035
|
} catch (e) {
|
|
8007
|
-
content =
|
|
8036
|
+
content = parseDotEnv(pipedInput);
|
|
8008
8037
|
secretFormat = "dotenv";
|
|
8009
8038
|
if (Object.keys(content).length === 0) {
|
|
8010
8039
|
throw e;
|
|
@@ -9406,7 +9435,7 @@ See https://developers.cloudflare.com/workers/configuration/secrets/#secrets-on-
|
|
|
9406
9435
|
}
|
|
9407
9436
|
__name(handleMissingSecretsError, "handleMissingSecretsError");
|
|
9408
9437
|
|
|
9409
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9438
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/external.js
|
|
9410
9439
|
var external_exports = {};
|
|
9411
9440
|
__export(external_exports, {
|
|
9412
9441
|
$brand: () => $brand,
|
|
@@ -9669,7 +9698,7 @@ __export(external_exports, {
|
|
|
9669
9698
|
xor: () => xor
|
|
9670
9699
|
});
|
|
9671
9700
|
|
|
9672
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9701
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/index.js
|
|
9673
9702
|
var core_exports2 = {};
|
|
9674
9703
|
__export(core_exports2, {
|
|
9675
9704
|
$ZodAny: () => $ZodAny,
|
|
@@ -9986,7 +10015,7 @@ __export(core_exports2, {
|
|
|
9986
10015
|
withParser: () => withParser
|
|
9987
10016
|
});
|
|
9988
10017
|
|
|
9989
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10018
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/util.js
|
|
9990
10019
|
var util_exports = {};
|
|
9991
10020
|
__export(util_exports, {
|
|
9992
10021
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -10057,6 +10086,7 @@ __export(util_exports, {
|
|
|
10057
10086
|
required: () => required,
|
|
10058
10087
|
safeExtend: () => safeExtend,
|
|
10059
10088
|
shallowClone: () => shallowClone,
|
|
10089
|
+
sizeCaps: () => sizeCaps,
|
|
10060
10090
|
slugify: () => slugify,
|
|
10061
10091
|
stringifyPrimitive: () => stringifyPrimitive,
|
|
10062
10092
|
toZod: () => toZod,
|
|
@@ -10631,6 +10661,19 @@ function unwrapMessage(message) {
|
|
|
10631
10661
|
return typeof message === "string" ? message : message?.message;
|
|
10632
10662
|
}
|
|
10633
10663
|
__name(unwrapMessage, "unwrapMessage");
|
|
10664
|
+
function sizeCaps(defChecks) {
|
|
10665
|
+
const caps = [];
|
|
10666
|
+
for (const ch of defChecks ?? []) {
|
|
10667
|
+
const d = ch._zod.def;
|
|
10668
|
+
if (!/_(length|size)$|_equals$/.test(d.check))
|
|
10669
|
+
break;
|
|
10670
|
+
const max = d.maximum ?? d.length ?? d.size;
|
|
10671
|
+
if (max >= 0)
|
|
10672
|
+
caps.push([max, ch]);
|
|
10673
|
+
}
|
|
10674
|
+
return caps;
|
|
10675
|
+
}
|
|
10676
|
+
__name(sizeCaps, "sizeCaps");
|
|
10634
10677
|
function attachSchema(issues, start, inst) {
|
|
10635
10678
|
var _a3;
|
|
10636
10679
|
for (let i = start; i < issues.length; i++) {
|
|
@@ -10910,7 +10953,7 @@ function constantCatch(value) {
|
|
|
10910
10953
|
}
|
|
10911
10954
|
__name(constantCatch, "constantCatch");
|
|
10912
10955
|
|
|
10913
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10956
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.js
|
|
10914
10957
|
var _a;
|
|
10915
10958
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
10916
10959
|
status: "aborted"
|
|
@@ -11047,7 +11090,7 @@ function config(newConfig) {
|
|
|
11047
11090
|
}
|
|
11048
11091
|
__name(config, "config");
|
|
11049
11092
|
|
|
11050
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11093
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/errors.js
|
|
11051
11094
|
function _getMessage() {
|
|
11052
11095
|
const internals = this._zod;
|
|
11053
11096
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -11247,7 +11290,7 @@ function prettifyError(error62) {
|
|
|
11247
11290
|
}
|
|
11248
11291
|
__name(prettifyError, "prettifyError");
|
|
11249
11292
|
|
|
11250
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11293
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/parse.js
|
|
11251
11294
|
function finalizeParams(callee, params) {
|
|
11252
11295
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
11253
11296
|
}
|
|
@@ -11410,7 +11453,7 @@ var _safeDecodeAsync = /* @__PURE__ */ __name((_Err) => async (schema, value, _c
|
|
|
11410
11453
|
}, "_safeDecodeAsync");
|
|
11411
11454
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
11412
11455
|
|
|
11413
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11456
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/regexes.js
|
|
11414
11457
|
var regexes_exports = {};
|
|
11415
11458
|
__export(regexes_exports, {
|
|
11416
11459
|
anyString: () => anyString,
|
|
@@ -11590,7 +11633,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
11590
11633
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
11591
11634
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
11592
11635
|
|
|
11593
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11636
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.js
|
|
11594
11637
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
11595
11638
|
var _a3;
|
|
11596
11639
|
inst._zod ?? (inst._zod = {});
|
|
@@ -12067,7 +12110,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
12067
12110
|
};
|
|
12068
12111
|
});
|
|
12069
12112
|
|
|
12070
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12113
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/doc.js
|
|
12071
12114
|
var Doc = class {
|
|
12072
12115
|
static {
|
|
12073
12116
|
__name(this, "Doc");
|
|
@@ -12111,14 +12154,14 @@ ${content.join("\n")}
|
|
|
12111
12154
|
}
|
|
12112
12155
|
};
|
|
12113
12156
|
|
|
12114
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12157
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/versions.js
|
|
12115
12158
|
var version = {
|
|
12116
12159
|
major: 4,
|
|
12117
12160
|
minor: 6,
|
|
12118
|
-
patch:
|
|
12161
|
+
patch: 6
|
|
12119
12162
|
};
|
|
12120
12163
|
|
|
12121
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12164
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/schemas.js
|
|
12122
12165
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
12123
12166
|
var _a3;
|
|
12124
12167
|
inst ?? (inst = {});
|
|
@@ -12888,6 +12931,32 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
|
|
|
12888
12931
|
return payload;
|
|
12889
12932
|
};
|
|
12890
12933
|
});
|
|
12934
|
+
function capSize(inst, size) {
|
|
12935
|
+
const caps = sizeCaps(inst._zod.def.checks);
|
|
12936
|
+
if (!caps.length)
|
|
12937
|
+
return;
|
|
12938
|
+
const cap = Math.min(...caps.map((c) => c[0]));
|
|
12939
|
+
const parse3 = inst._zod.parse;
|
|
12940
|
+
inst._zod.parse = (payload, ctx) => {
|
|
12941
|
+
const n = size(payload.value);
|
|
12942
|
+
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
12943
|
+
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
|
|
12944
|
+
if (n > max && ch._zod.def.when(payload)) {
|
|
12945
|
+
const start = payload.issues.length;
|
|
12946
|
+
ch._zod.check(payload);
|
|
12947
|
+
payload.issues[start].continue = false;
|
|
12948
|
+
attachSchema(payload.issues, start, inst);
|
|
12949
|
+
return payload;
|
|
12950
|
+
}
|
|
12951
|
+
}
|
|
12952
|
+
}
|
|
12953
|
+
return parse3(payload, ctx);
|
|
12954
|
+
};
|
|
12955
|
+
}
|
|
12956
|
+
__name(capSize, "capSize");
|
|
12957
|
+
var arraySize = /* @__PURE__ */ __name((input2) => Array.isArray(input2) ? input2.length : -1, "arraySize");
|
|
12958
|
+
var mapSize = /* @__PURE__ */ __name((input2) => input2 instanceof Map ? input2.size : -1, "mapSize");
|
|
12959
|
+
var setSize = /* @__PURE__ */ __name((input2) => input2 instanceof Set ? input2.size : -1, "setSize");
|
|
12891
12960
|
function handleArrayResult(result, final, index) {
|
|
12892
12961
|
if (result.issues.length) {
|
|
12893
12962
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
@@ -12932,6 +13001,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
12932
13001
|
}
|
|
12933
13002
|
return payload;
|
|
12934
13003
|
};
|
|
13004
|
+
capSize(inst, arraySize);
|
|
12935
13005
|
});
|
|
12936
13006
|
function handlePropertyResult(result, final, key, input2, optin, optout) {
|
|
12937
13007
|
const isPresent = key in input2;
|
|
@@ -13900,6 +13970,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
13900
13970
|
return Promise.all(proms).then(() => payload);
|
|
13901
13971
|
return payload;
|
|
13902
13972
|
};
|
|
13973
|
+
capSize(inst, mapSize);
|
|
13903
13974
|
});
|
|
13904
13975
|
function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
|
|
13905
13976
|
if (keyResult.issues.length) {
|
|
@@ -13967,6 +14038,7 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
|
|
|
13967
14038
|
return Promise.all(proms).then(() => payload);
|
|
13968
14039
|
return payload;
|
|
13969
14040
|
};
|
|
14041
|
+
capSize(inst, setSize);
|
|
13970
14042
|
});
|
|
13971
14043
|
function handleSetResult(result, final) {
|
|
13972
14044
|
if (result.issues.length) {
|
|
@@ -14575,7 +14647,7 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
14575
14647
|
}
|
|
14576
14648
|
__name(handleRefineResult, "handleRefineResult");
|
|
14577
14649
|
|
|
14578
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
14650
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/memoizer.js
|
|
14579
14651
|
var $ZodCyclicError = class extends Error {
|
|
14580
14652
|
static {
|
|
14581
14653
|
__name(this, "$ZodCyclicError");
|
|
@@ -14862,7 +14934,7 @@ function isBackEdge(ctx, value) {
|
|
|
14862
14934
|
}
|
|
14863
14935
|
__name(isBackEdge, "isBackEdge");
|
|
14864
14936
|
|
|
14865
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
14937
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/index.js
|
|
14866
14938
|
var locales_exports = {};
|
|
14867
14939
|
__export(locales_exports, {
|
|
14868
14940
|
ar: () => ar_default,
|
|
@@ -14930,7 +15002,7 @@ __export(locales_exports, {
|
|
|
14930
15002
|
zhTW: () => zh_TW_default
|
|
14931
15003
|
});
|
|
14932
15004
|
|
|
14933
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15005
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ar.js
|
|
14934
15006
|
var error = /* @__PURE__ */ __name(() => {
|
|
14935
15007
|
const Sizable = {
|
|
14936
15008
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -15044,7 +15116,7 @@ function ar_default() {
|
|
|
15044
15116
|
}
|
|
15045
15117
|
__name(ar_default, "default");
|
|
15046
15118
|
|
|
15047
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15119
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/az.js
|
|
15048
15120
|
var error2 = /* @__PURE__ */ __name(() => {
|
|
15049
15121
|
const Sizable = {
|
|
15050
15122
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -15157,7 +15229,7 @@ function az_default() {
|
|
|
15157
15229
|
}
|
|
15158
15230
|
__name(az_default, "default");
|
|
15159
15231
|
|
|
15160
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15232
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/be.js
|
|
15161
15233
|
function getBelarusianPlural(count, one, few, many) {
|
|
15162
15234
|
const absCount = Math.abs(count);
|
|
15163
15235
|
const lastDigit = absCount % 10;
|
|
@@ -15329,7 +15401,7 @@ function be_default() {
|
|
|
15329
15401
|
}
|
|
15330
15402
|
__name(be_default, "default");
|
|
15331
15403
|
|
|
15332
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15404
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/bg.js
|
|
15333
15405
|
var error4 = /* @__PURE__ */ __name(() => {
|
|
15334
15406
|
const Sizable = {
|
|
15335
15407
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -15457,7 +15529,7 @@ function bg_default() {
|
|
|
15457
15529
|
}
|
|
15458
15530
|
__name(bg_default, "default");
|
|
15459
15531
|
|
|
15460
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15532
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/bn.js
|
|
15461
15533
|
var error5 = /* @__PURE__ */ __name(() => {
|
|
15462
15534
|
const Sizable = {
|
|
15463
15535
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -15573,7 +15645,7 @@ function bn_default() {
|
|
|
15573
15645
|
}
|
|
15574
15646
|
__name(bn_default, "default");
|
|
15575
15647
|
|
|
15576
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15648
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ca.js
|
|
15577
15649
|
var error6 = /* @__PURE__ */ __name(() => {
|
|
15578
15650
|
const Sizable = {
|
|
15579
15651
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -15689,7 +15761,7 @@ function ca_default() {
|
|
|
15689
15761
|
}
|
|
15690
15762
|
__name(ca_default, "default");
|
|
15691
15763
|
|
|
15692
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15764
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ckb.js
|
|
15693
15765
|
var error7 = /* @__PURE__ */ __name(() => {
|
|
15694
15766
|
const Sizable = {
|
|
15695
15767
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -15824,7 +15896,7 @@ function ckb_default() {
|
|
|
15824
15896
|
}
|
|
15825
15897
|
__name(ckb_default, "default");
|
|
15826
15898
|
|
|
15827
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15899
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/cs.js
|
|
15828
15900
|
var error8 = /* @__PURE__ */ __name(() => {
|
|
15829
15901
|
const Sizable = {
|
|
15830
15902
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -15943,7 +16015,7 @@ function cs_default() {
|
|
|
15943
16015
|
}
|
|
15944
16016
|
__name(cs_default, "default");
|
|
15945
16017
|
|
|
15946
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16018
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/da.js
|
|
15947
16019
|
var error9 = /* @__PURE__ */ __name(() => {
|
|
15948
16020
|
const Sizable = {
|
|
15949
16021
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -16066,7 +16138,7 @@ function da_default() {
|
|
|
16066
16138
|
}
|
|
16067
16139
|
__name(da_default, "default");
|
|
16068
16140
|
|
|
16069
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16141
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/de.js
|
|
16070
16142
|
var error10 = /* @__PURE__ */ __name(() => {
|
|
16071
16143
|
const Sizable = {
|
|
16072
16144
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -16182,7 +16254,7 @@ function de_default() {
|
|
|
16182
16254
|
}
|
|
16183
16255
|
__name(de_default, "default");
|
|
16184
16256
|
|
|
16185
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16257
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/el.js
|
|
16186
16258
|
var error11 = /* @__PURE__ */ __name(() => {
|
|
16187
16259
|
const Sizable = {
|
|
16188
16260
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -16297,7 +16369,7 @@ function el_default() {
|
|
|
16297
16369
|
}
|
|
16298
16370
|
__name(el_default, "default");
|
|
16299
16371
|
|
|
16300
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16372
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/en.js
|
|
16301
16373
|
var error12 = /* @__PURE__ */ __name(() => {
|
|
16302
16374
|
const Sizable = {
|
|
16303
16375
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -16425,7 +16497,7 @@ function en_default() {
|
|
|
16425
16497
|
}
|
|
16426
16498
|
__name(en_default, "default");
|
|
16427
16499
|
|
|
16428
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16500
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/eo.js
|
|
16429
16501
|
var error13 = /* @__PURE__ */ __name(() => {
|
|
16430
16502
|
const Sizable = {
|
|
16431
16503
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -16542,7 +16614,7 @@ function eo_default() {
|
|
|
16542
16614
|
}
|
|
16543
16615
|
__name(eo_default, "default");
|
|
16544
16616
|
|
|
16545
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16617
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/es.js
|
|
16546
16618
|
var error14 = /* @__PURE__ */ __name(() => {
|
|
16547
16619
|
const Sizable = {
|
|
16548
16620
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -16681,7 +16753,7 @@ function es_default() {
|
|
|
16681
16753
|
}
|
|
16682
16754
|
__name(es_default, "default");
|
|
16683
16755
|
|
|
16684
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16756
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/fa.js
|
|
16685
16757
|
var error15 = /* @__PURE__ */ __name(() => {
|
|
16686
16758
|
const Sizable = {
|
|
16687
16759
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -16803,7 +16875,7 @@ function fa_default() {
|
|
|
16803
16875
|
}
|
|
16804
16876
|
__name(fa_default, "default");
|
|
16805
16877
|
|
|
16806
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16878
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/fi.js
|
|
16807
16879
|
var error16 = /* @__PURE__ */ __name(() => {
|
|
16808
16880
|
const Sizable = {
|
|
16809
16881
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -16923,7 +16995,7 @@ function fi_default() {
|
|
|
16923
16995
|
}
|
|
16924
16996
|
__name(fi_default, "default");
|
|
16925
16997
|
|
|
16926
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16998
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/fr.js
|
|
16927
16999
|
var error17 = /* @__PURE__ */ __name(() => {
|
|
16928
17000
|
const Sizable = {
|
|
16929
17001
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -17055,7 +17127,7 @@ function fr_default() {
|
|
|
17055
17127
|
}
|
|
17056
17128
|
__name(fr_default, "default");
|
|
17057
17129
|
|
|
17058
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17130
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/fr-CA.js
|
|
17059
17131
|
var error18 = /* @__PURE__ */ __name(() => {
|
|
17060
17132
|
const Sizable = {
|
|
17061
17133
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -17170,7 +17242,7 @@ function fr_CA_default() {
|
|
|
17170
17242
|
}
|
|
17171
17243
|
__name(fr_CA_default, "default");
|
|
17172
17244
|
|
|
17173
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17245
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/gu.js
|
|
17174
17246
|
var error19 = /* @__PURE__ */ __name(() => {
|
|
17175
17247
|
const Sizable = {
|
|
17176
17248
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -17286,7 +17358,7 @@ function gu_default() {
|
|
|
17286
17358
|
}
|
|
17287
17359
|
__name(gu_default, "default");
|
|
17288
17360
|
|
|
17289
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17361
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/he.js
|
|
17290
17362
|
var error20 = /* @__PURE__ */ __name(() => {
|
|
17291
17363
|
const TypeNames = {
|
|
17292
17364
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -17489,7 +17561,7 @@ function he_default() {
|
|
|
17489
17561
|
}
|
|
17490
17562
|
__name(he_default, "default");
|
|
17491
17563
|
|
|
17492
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17564
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/hi.js
|
|
17493
17565
|
var error21 = /* @__PURE__ */ __name(() => {
|
|
17494
17566
|
const Sizable = {
|
|
17495
17567
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -17603,7 +17675,7 @@ function hi_default() {
|
|
|
17603
17675
|
}
|
|
17604
17676
|
__name(hi_default, "default");
|
|
17605
17677
|
|
|
17606
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17678
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/hr.js
|
|
17607
17679
|
var error22 = /* @__PURE__ */ __name(() => {
|
|
17608
17680
|
const Sizable = {
|
|
17609
17681
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -17732,7 +17804,7 @@ function hr_default() {
|
|
|
17732
17804
|
}
|
|
17733
17805
|
__name(hr_default, "default");
|
|
17734
17806
|
|
|
17735
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17807
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/hu.js
|
|
17736
17808
|
var error23 = /* @__PURE__ */ __name(() => {
|
|
17737
17809
|
const Sizable = {
|
|
17738
17810
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -17848,7 +17920,7 @@ function hu_default() {
|
|
|
17848
17920
|
}
|
|
17849
17921
|
__name(hu_default, "default");
|
|
17850
17922
|
|
|
17851
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17923
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/hy.js
|
|
17852
17924
|
function getArmenianPlural(count, one, many) {
|
|
17853
17925
|
return Math.abs(count) === 1 ? one : many;
|
|
17854
17926
|
}
|
|
@@ -18011,7 +18083,7 @@ function hy_default() {
|
|
|
18011
18083
|
}
|
|
18012
18084
|
__name(hy_default, "default");
|
|
18013
18085
|
|
|
18014
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18086
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/id.js
|
|
18015
18087
|
var error25 = /* @__PURE__ */ __name(() => {
|
|
18016
18088
|
const Sizable = {
|
|
18017
18089
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -18125,7 +18197,7 @@ function id_default() {
|
|
|
18125
18197
|
}
|
|
18126
18198
|
__name(id_default, "default");
|
|
18127
18199
|
|
|
18128
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18200
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/is.js
|
|
18129
18201
|
var error26 = /* @__PURE__ */ __name(() => {
|
|
18130
18202
|
const Sizable = {
|
|
18131
18203
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -18242,7 +18314,7 @@ function is_default() {
|
|
|
18242
18314
|
}
|
|
18243
18315
|
__name(is_default, "default");
|
|
18244
18316
|
|
|
18245
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18317
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/it.js
|
|
18246
18318
|
var error27 = /* @__PURE__ */ __name(() => {
|
|
18247
18319
|
const Sizable = {
|
|
18248
18320
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -18358,7 +18430,7 @@ function it_default() {
|
|
|
18358
18430
|
}
|
|
18359
18431
|
__name(it_default, "default");
|
|
18360
18432
|
|
|
18361
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18433
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ja.js
|
|
18362
18434
|
var error28 = /* @__PURE__ */ __name(() => {
|
|
18363
18435
|
const Sizable = {
|
|
18364
18436
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -18473,7 +18545,7 @@ function ja_default() {
|
|
|
18473
18545
|
}
|
|
18474
18546
|
__name(ja_default, "default");
|
|
18475
18547
|
|
|
18476
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18548
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ka.js
|
|
18477
18549
|
var error29 = /* @__PURE__ */ __name(() => {
|
|
18478
18550
|
const Sizable = {
|
|
18479
18551
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -18593,7 +18665,7 @@ function ka_default() {
|
|
|
18593
18665
|
}
|
|
18594
18666
|
__name(ka_default, "default");
|
|
18595
18667
|
|
|
18596
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18668
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/km.js
|
|
18597
18669
|
var error30 = /* @__PURE__ */ __name(() => {
|
|
18598
18670
|
const Sizable = {
|
|
18599
18671
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -18711,13 +18783,13 @@ function km_default() {
|
|
|
18711
18783
|
}
|
|
18712
18784
|
__name(km_default, "default");
|
|
18713
18785
|
|
|
18714
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18786
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/kh.js
|
|
18715
18787
|
function kh_default() {
|
|
18716
18788
|
return km_default();
|
|
18717
18789
|
}
|
|
18718
18790
|
__name(kh_default, "default");
|
|
18719
18791
|
|
|
18720
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18792
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/kn.js
|
|
18721
18793
|
var error31 = /* @__PURE__ */ __name(() => {
|
|
18722
18794
|
const Sizable = {
|
|
18723
18795
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -18835,7 +18907,7 @@ function kn_default() {
|
|
|
18835
18907
|
}
|
|
18836
18908
|
__name(kn_default, "default");
|
|
18837
18909
|
|
|
18838
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18910
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ko.js
|
|
18839
18911
|
var error32 = /* @__PURE__ */ __name(() => {
|
|
18840
18912
|
const Sizable = {
|
|
18841
18913
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -18954,7 +19026,7 @@ function ko_default() {
|
|
|
18954
19026
|
}
|
|
18955
19027
|
__name(ko_default, "default");
|
|
18956
19028
|
|
|
18957
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19029
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/lt.js
|
|
18958
19030
|
var capitalizeFirstCharacter = /* @__PURE__ */ __name((text) => {
|
|
18959
19031
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
18960
19032
|
}, "capitalizeFirstCharacter");
|
|
@@ -19165,7 +19237,7 @@ function lt_default() {
|
|
|
19165
19237
|
}
|
|
19166
19238
|
__name(lt_default, "default");
|
|
19167
19239
|
|
|
19168
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19240
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/mk.js
|
|
19169
19241
|
var error34 = /* @__PURE__ */ __name(() => {
|
|
19170
19242
|
const Sizable = {
|
|
19171
19243
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -19282,7 +19354,7 @@ function mk_default() {
|
|
|
19282
19354
|
}
|
|
19283
19355
|
__name(mk_default, "default");
|
|
19284
19356
|
|
|
19285
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19357
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ms.js
|
|
19286
19358
|
var error35 = /* @__PURE__ */ __name(() => {
|
|
19287
19359
|
const Sizable = {
|
|
19288
19360
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -19397,7 +19469,7 @@ function ms_default() {
|
|
|
19397
19469
|
}
|
|
19398
19470
|
__name(ms_default, "default");
|
|
19399
19471
|
|
|
19400
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19472
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ne.js
|
|
19401
19473
|
var error36 = /* @__PURE__ */ __name(() => {
|
|
19402
19474
|
const Sizable = {
|
|
19403
19475
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -19511,7 +19583,7 @@ function ne_default() {
|
|
|
19511
19583
|
}
|
|
19512
19584
|
__name(ne_default, "default");
|
|
19513
19585
|
|
|
19514
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19586
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/nl.js
|
|
19515
19587
|
var error37 = /* @__PURE__ */ __name(() => {
|
|
19516
19588
|
const Sizable = {
|
|
19517
19589
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -19629,7 +19701,7 @@ function nl_default() {
|
|
|
19629
19701
|
}
|
|
19630
19702
|
__name(nl_default, "default");
|
|
19631
19703
|
|
|
19632
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19704
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/nn.js
|
|
19633
19705
|
var error38 = /* @__PURE__ */ __name(() => {
|
|
19634
19706
|
const Sizable = {
|
|
19635
19707
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -19745,7 +19817,7 @@ function nn_default() {
|
|
|
19745
19817
|
}
|
|
19746
19818
|
__name(nn_default, "default");
|
|
19747
19819
|
|
|
19748
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19820
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/no.js
|
|
19749
19821
|
var error39 = /* @__PURE__ */ __name(() => {
|
|
19750
19822
|
const Sizable = {
|
|
19751
19823
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -19861,7 +19933,7 @@ function no_default() {
|
|
|
19861
19933
|
}
|
|
19862
19934
|
__name(no_default, "default");
|
|
19863
19935
|
|
|
19864
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19936
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ota.js
|
|
19865
19937
|
var error40 = /* @__PURE__ */ __name(() => {
|
|
19866
19938
|
const Sizable = {
|
|
19867
19939
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -19978,7 +20050,7 @@ function ota_default() {
|
|
|
19978
20050
|
}
|
|
19979
20051
|
__name(ota_default, "default");
|
|
19980
20052
|
|
|
19981
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
20053
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ps.js
|
|
19982
20054
|
var error41 = /* @__PURE__ */ __name(() => {
|
|
19983
20055
|
const Sizable = {
|
|
19984
20056
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -20100,7 +20172,7 @@ function ps_default() {
|
|
|
20100
20172
|
}
|
|
20101
20173
|
__name(ps_default, "default");
|
|
20102
20174
|
|
|
20103
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
20175
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/pl.js
|
|
20104
20176
|
var error42 = /* @__PURE__ */ __name(() => {
|
|
20105
20177
|
const Sizable = {
|
|
20106
20178
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -20217,7 +20289,7 @@ function pl_default() {
|
|
|
20217
20289
|
}
|
|
20218
20290
|
__name(pl_default, "default");
|
|
20219
20291
|
|
|
20220
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
20292
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/pt.js
|
|
20221
20293
|
var error43 = /* @__PURE__ */ __name(() => {
|
|
20222
20294
|
const Sizable = {
|
|
20223
20295
|
string: { unit: "caracteres" },
|
|
@@ -20364,7 +20436,7 @@ function pt_default() {
|
|
|
20364
20436
|
}
|
|
20365
20437
|
__name(pt_default, "default");
|
|
20366
20438
|
|
|
20367
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
20439
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/pt-BR.js
|
|
20368
20440
|
var error44 = /* @__PURE__ */ __name(() => {
|
|
20369
20441
|
const Sizable = {
|
|
20370
20442
|
string: { unit: "caracteres" },
|
|
@@ -20512,7 +20584,7 @@ function pt_BR_default() {
|
|
|
20512
20584
|
}
|
|
20513
20585
|
__name(pt_BR_default, "default");
|
|
20514
20586
|
|
|
20515
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
20587
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ro.js
|
|
20516
20588
|
var error45 = /* @__PURE__ */ __name(() => {
|
|
20517
20589
|
const Sizable = {
|
|
20518
20590
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -20637,7 +20709,7 @@ function ro_default() {
|
|
|
20637
20709
|
}
|
|
20638
20710
|
__name(ro_default, "default");
|
|
20639
20711
|
|
|
20640
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
20712
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ru.js
|
|
20641
20713
|
function getRussianPlural(count, one, few, many) {
|
|
20642
20714
|
const absCount = Math.abs(count);
|
|
20643
20715
|
const lastDigit = absCount % 10;
|
|
@@ -20809,7 +20881,7 @@ function ru_default() {
|
|
|
20809
20881
|
}
|
|
20810
20882
|
__name(ru_default, "default");
|
|
20811
20883
|
|
|
20812
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
20884
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/sk.js
|
|
20813
20885
|
var error47 = /* @__PURE__ */ __name(() => {
|
|
20814
20886
|
const Sizable = {
|
|
20815
20887
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -20928,7 +21000,7 @@ function sk_default() {
|
|
|
20928
21000
|
}
|
|
20929
21001
|
__name(sk_default, "default");
|
|
20930
21002
|
|
|
20931
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21003
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/sl.js
|
|
20932
21004
|
var error48 = /* @__PURE__ */ __name(() => {
|
|
20933
21005
|
const Sizable = {
|
|
20934
21006
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -21045,7 +21117,7 @@ function sl_default() {
|
|
|
21045
21117
|
}
|
|
21046
21118
|
__name(sl_default, "default");
|
|
21047
21119
|
|
|
21048
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21120
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/sv.js
|
|
21049
21121
|
var error49 = /* @__PURE__ */ __name(() => {
|
|
21050
21122
|
const Sizable = {
|
|
21051
21123
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -21163,7 +21235,7 @@ function sv_default() {
|
|
|
21163
21235
|
}
|
|
21164
21236
|
__name(sv_default, "default");
|
|
21165
21237
|
|
|
21166
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21238
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ta.js
|
|
21167
21239
|
var error50 = /* @__PURE__ */ __name(() => {
|
|
21168
21240
|
const Sizable = {
|
|
21169
21241
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -21281,7 +21353,7 @@ function ta_default() {
|
|
|
21281
21353
|
}
|
|
21282
21354
|
__name(ta_default, "default");
|
|
21283
21355
|
|
|
21284
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21356
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/tg.js
|
|
21285
21357
|
var error51 = /* @__PURE__ */ __name(() => {
|
|
21286
21358
|
const Sizable = {
|
|
21287
21359
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -21400,7 +21472,7 @@ function tg_default() {
|
|
|
21400
21472
|
}
|
|
21401
21473
|
__name(tg_default, "default");
|
|
21402
21474
|
|
|
21403
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21475
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/th.js
|
|
21404
21476
|
var error52 = /* @__PURE__ */ __name(() => {
|
|
21405
21477
|
const Sizable = {
|
|
21406
21478
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -21518,7 +21590,7 @@ function th_default() {
|
|
|
21518
21590
|
}
|
|
21519
21591
|
__name(th_default, "default");
|
|
21520
21592
|
|
|
21521
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21593
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/tk.js
|
|
21522
21594
|
var error53 = /* @__PURE__ */ __name(() => {
|
|
21523
21595
|
const Sizable = {
|
|
21524
21596
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -21628,7 +21700,7 @@ function tk_default() {
|
|
|
21628
21700
|
}
|
|
21629
21701
|
__name(tk_default, "default");
|
|
21630
21702
|
|
|
21631
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21703
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/tr.js
|
|
21632
21704
|
var error54 = /* @__PURE__ */ __name(() => {
|
|
21633
21705
|
const Sizable = {
|
|
21634
21706
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -21741,7 +21813,7 @@ function tr_default() {
|
|
|
21741
21813
|
}
|
|
21742
21814
|
__name(tr_default, "default");
|
|
21743
21815
|
|
|
21744
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21816
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/uk.js
|
|
21745
21817
|
var error55 = /* @__PURE__ */ __name(() => {
|
|
21746
21818
|
const Sizable = {
|
|
21747
21819
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -21857,13 +21929,13 @@ function uk_default() {
|
|
|
21857
21929
|
}
|
|
21858
21930
|
__name(uk_default, "default");
|
|
21859
21931
|
|
|
21860
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21932
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ua.js
|
|
21861
21933
|
function ua_default() {
|
|
21862
21934
|
return uk_default();
|
|
21863
21935
|
}
|
|
21864
21936
|
__name(ua_default, "default");
|
|
21865
21937
|
|
|
21866
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
21938
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/ur.js
|
|
21867
21939
|
var error56 = /* @__PURE__ */ __name(() => {
|
|
21868
21940
|
const Sizable = {
|
|
21869
21941
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -21981,7 +22053,7 @@ function ur_default() {
|
|
|
21981
22053
|
}
|
|
21982
22054
|
__name(ur_default, "default");
|
|
21983
22055
|
|
|
21984
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
22056
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/uz.js
|
|
21985
22057
|
var error57 = /* @__PURE__ */ __name(() => {
|
|
21986
22058
|
const Sizable = {
|
|
21987
22059
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -22097,7 +22169,7 @@ function uz_default() {
|
|
|
22097
22169
|
}
|
|
22098
22170
|
__name(uz_default, "default");
|
|
22099
22171
|
|
|
22100
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
22172
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/vi.js
|
|
22101
22173
|
var error58 = /* @__PURE__ */ __name(() => {
|
|
22102
22174
|
const Sizable = {
|
|
22103
22175
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -22213,7 +22285,7 @@ function vi_default() {
|
|
|
22213
22285
|
}
|
|
22214
22286
|
__name(vi_default, "default");
|
|
22215
22287
|
|
|
22216
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
22288
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/zh-CN.js
|
|
22217
22289
|
var error59 = /* @__PURE__ */ __name(() => {
|
|
22218
22290
|
const Sizable = {
|
|
22219
22291
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -22330,7 +22402,7 @@ function zh_CN_default() {
|
|
|
22330
22402
|
}
|
|
22331
22403
|
__name(zh_CN_default, "default");
|
|
22332
22404
|
|
|
22333
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
22405
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/zh-TW.js
|
|
22334
22406
|
var error60 = /* @__PURE__ */ __name(() => {
|
|
22335
22407
|
const Sizable = {
|
|
22336
22408
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -22445,7 +22517,7 @@ function zh_TW_default() {
|
|
|
22445
22517
|
}
|
|
22446
22518
|
__name(zh_TW_default, "default");
|
|
22447
22519
|
|
|
22448
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
22520
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/locales/yo.js
|
|
22449
22521
|
var error61 = /* @__PURE__ */ __name(() => {
|
|
22450
22522
|
const Sizable = {
|
|
22451
22523
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -22560,7 +22632,7 @@ function yo_default() {
|
|
|
22560
22632
|
}
|
|
22561
22633
|
__name(yo_default, "default");
|
|
22562
22634
|
|
|
22563
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
22635
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/registries.js
|
|
22564
22636
|
var _a2;
|
|
22565
22637
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
22566
22638
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -22614,7 +22686,7 @@ __name(registry, "registry");
|
|
|
22614
22686
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
22615
22687
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
22616
22688
|
|
|
22617
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
22689
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/compile.js
|
|
22618
22690
|
var INVALID = Symbol.for("zod.compile.invalid");
|
|
22619
22691
|
var FALLBACK_FLAG = Symbol.for("zod.compile.fallback");
|
|
22620
22692
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -23703,9 +23775,16 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
|
23703
23775
|
return outputVar;
|
|
23704
23776
|
}
|
|
23705
23777
|
__name(generateNullableCheck, "generateNullableCheck");
|
|
23778
|
+
function generateSizeGate(doc, schema, size) {
|
|
23779
|
+
for (const [max, check2] of sizeCaps(schema._zod.def.checks)) {
|
|
23780
|
+
doc.write(`if (${size} > ${numericOperand(max, check2._zod.def.check)}) return INVALID;`);
|
|
23781
|
+
}
|
|
23782
|
+
}
|
|
23783
|
+
__name(generateSizeGate, "generateSizeGate");
|
|
23706
23784
|
function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
23707
23785
|
const def = schema._zod.def;
|
|
23708
23786
|
doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
|
|
23787
|
+
generateSizeGate(doc, schema, `${accessor}.length`);
|
|
23709
23788
|
const outputVar = buildsValue ? newVar(ctx) : null;
|
|
23710
23789
|
const iVar = newVar(ctx);
|
|
23711
23790
|
const elemVar = newVar(ctx);
|
|
@@ -24120,6 +24199,7 @@ __name(literalPropertyKey, "literalPropertyKey");
|
|
|
24120
24199
|
function generateMapCheck(doc, ctx, schema, accessor) {
|
|
24121
24200
|
const def = schema._zod.def;
|
|
24122
24201
|
doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
|
|
24202
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
24123
24203
|
const outputVar = newVar(ctx);
|
|
24124
24204
|
const kVar = newVar(ctx);
|
|
24125
24205
|
const valVar = newVar(ctx);
|
|
@@ -24137,6 +24217,7 @@ __name(generateMapCheck, "generateMapCheck");
|
|
|
24137
24217
|
function generateSetCheck(doc, ctx, schema, accessor) {
|
|
24138
24218
|
const def = schema._zod.def;
|
|
24139
24219
|
doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
|
|
24220
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
24140
24221
|
const outputVar = newVar(ctx);
|
|
24141
24222
|
const valVar = newVar(ctx);
|
|
24142
24223
|
doc.write(`const ${outputVar} = new Set();`);
|
|
@@ -24291,7 +24372,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
24291
24372
|
}
|
|
24292
24373
|
__name(generateTransformCheck, "generateTransformCheck");
|
|
24293
24374
|
|
|
24294
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
24375
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.js
|
|
24295
24376
|
function snapshotChecks(def) {
|
|
24296
24377
|
if (def.checks)
|
|
24297
24378
|
def.checks = [...def.checks];
|
|
@@ -25468,7 +25549,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
25468
25549
|
}
|
|
25469
25550
|
__name(_stringFormat, "_stringFormat");
|
|
25470
25551
|
|
|
25471
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
25552
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/to-json-schema.js
|
|
25472
25553
|
function assignProps(target, ...sources) {
|
|
25473
25554
|
for (const source of sources) {
|
|
25474
25555
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -26007,7 +26088,7 @@ var createStandardJSONSchemaMethod = /* @__PURE__ */ __name((schema, io, process
|
|
|
26007
26088
|
return finalize(ctx, schema);
|
|
26008
26089
|
}, "createStandardJSONSchemaMethod");
|
|
26009
26090
|
|
|
26010
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
26091
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema-processors.js
|
|
26011
26092
|
var narrowMin = /* @__PURE__ */ __name((agg, key, value) => {
|
|
26012
26093
|
if (agg[key] === void 0 || value > agg[key])
|
|
26013
26094
|
agg[key] = value;
|
|
@@ -26760,7 +26841,7 @@ function toJSONSchema(input2, params) {
|
|
|
26760
26841
|
}
|
|
26761
26842
|
__name(toJSONSchema, "toJSONSchema");
|
|
26762
26843
|
|
|
26763
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
26844
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema-generator.js
|
|
26764
26845
|
var JSONSchemaGenerator = class {
|
|
26765
26846
|
static {
|
|
26766
26847
|
__name(this, "JSONSchemaGenerator");
|
|
@@ -26841,10 +26922,10 @@ var JSONSchemaGenerator = class {
|
|
|
26841
26922
|
}
|
|
26842
26923
|
};
|
|
26843
26924
|
|
|
26844
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
26925
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema.js
|
|
26845
26926
|
var json_schema_exports = {};
|
|
26846
26927
|
|
|
26847
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
26928
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.js
|
|
26848
26929
|
var schemas_exports2 = {};
|
|
26849
26930
|
__export(schemas_exports2, {
|
|
26850
26931
|
ZodAny: () => ZodAny,
|
|
@@ -27025,7 +27106,7 @@ __export(schemas_exports2, {
|
|
|
27025
27106
|
xor: () => xor
|
|
27026
27107
|
});
|
|
27027
27108
|
|
|
27028
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
27109
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/checks.js
|
|
27029
27110
|
var checks_exports2 = {};
|
|
27030
27111
|
__export(checks_exports2, {
|
|
27031
27112
|
endsWith: () => _endsWith,
|
|
@@ -27060,7 +27141,7 @@ __export(checks_exports2, {
|
|
|
27060
27141
|
uppercase: () => _uppercase
|
|
27061
27142
|
});
|
|
27062
27143
|
|
|
27063
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
27144
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.js
|
|
27064
27145
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
27065
27146
|
function _lazyMethod(proto, key, make) {
|
|
27066
27147
|
Object.defineProperty(proto, key, {
|
|
@@ -27107,7 +27188,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
27107
27188
|
Parent: Error
|
|
27108
27189
|
});
|
|
27109
27190
|
|
|
27110
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
27191
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.js
|
|
27111
27192
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
27112
27193
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
27113
27194
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -27121,7 +27202,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
27121
27202
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
27122
27203
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
27123
27204
|
|
|
27124
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
27205
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.js
|
|
27125
27206
|
function _ensureDefaultLocale() {
|
|
27126
27207
|
if (!globalConfig.localeError)
|
|
27127
27208
|
config(en_default());
|
|
@@ -28683,7 +28764,7 @@ function preprocess(fn, schema) {
|
|
|
28683
28764
|
}
|
|
28684
28765
|
__name(preprocess, "preprocess");
|
|
28685
28766
|
|
|
28686
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
28767
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.js
|
|
28687
28768
|
var ZodIssueCode = {
|
|
28688
28769
|
invalid_type: "invalid_type",
|
|
28689
28770
|
too_big: "too_big",
|
|
@@ -28711,7 +28792,7 @@ var ZodFirstPartyTypeKind;
|
|
|
28711
28792
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
28712
28793
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
28713
28794
|
|
|
28714
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
28795
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/iso.js
|
|
28715
28796
|
var iso_exports = {};
|
|
28716
28797
|
__export(iso_exports, {
|
|
28717
28798
|
ZodISODate: () => ZodISODate,
|
|
@@ -28740,7 +28821,7 @@ function duration2(params) {
|
|
|
28740
28821
|
}
|
|
28741
28822
|
__name(duration2, "duration");
|
|
28742
28823
|
|
|
28743
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
28824
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/from-json-schema.js
|
|
28744
28825
|
var z = {
|
|
28745
28826
|
...schemas_exports2,
|
|
28746
28827
|
...checks_exports2,
|
|
@@ -29486,7 +29567,7 @@ function fromJSONSchema(schema, params) {
|
|
|
29486
29567
|
}
|
|
29487
29568
|
__name(fromJSONSchema, "fromJSONSchema");
|
|
29488
29569
|
|
|
29489
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
29570
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/visit.js
|
|
29490
29571
|
var RESOLVING = Symbol("z.visit/resolving");
|
|
29491
29572
|
function visit(schema, fnOrHandlers) {
|
|
29492
29573
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -29643,7 +29724,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
29643
29724
|
}
|
|
29644
29725
|
__name(visit, "visit");
|
|
29645
29726
|
|
|
29646
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
29727
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/deep-partial.js
|
|
29647
29728
|
function deepPartial(schema) {
|
|
29648
29729
|
return visit(schema, {
|
|
29649
29730
|
object: /* @__PURE__ */ __name((s) => s.partial(), "object"),
|
|
@@ -29656,7 +29737,7 @@ function deepPartial(schema) {
|
|
|
29656
29737
|
}
|
|
29657
29738
|
__name(deepPartial, "deepPartial");
|
|
29658
29739
|
|
|
29659
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
29740
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/in-out.js
|
|
29660
29741
|
function withChecks(side, checks) {
|
|
29661
29742
|
if (!checks?.length)
|
|
29662
29743
|
return side;
|
|
@@ -29691,7 +29772,7 @@ function output(schema) {
|
|
|
29691
29772
|
}
|
|
29692
29773
|
__name(output, "output");
|
|
29693
29774
|
|
|
29694
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
29775
|
+
// ../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/coerce.js
|
|
29695
29776
|
var coerce_exports = {};
|
|
29696
29777
|
__export(coerce_exports, {
|
|
29697
29778
|
bigint: () => bigint3,
|
|
@@ -30178,16 +30259,27 @@ async function checkWorkflowConflicts(config2, accountId, scriptName) {
|
|
|
30178
30259
|
return { hasConflicts: false };
|
|
30179
30260
|
}
|
|
30180
30261
|
const workflowChecks = await Promise.all(
|
|
30181
|
-
workflowsToDeploy.map(async (workflow) => {
|
|
30182
|
-
|
|
30183
|
-
|
|
30184
|
-
|
|
30185
|
-
}
|
|
30186
|
-
return null;
|
|
30187
|
-
})
|
|
30262
|
+
workflowsToDeploy.map(async (workflow) => ({
|
|
30263
|
+
workflow,
|
|
30264
|
+
existing: await getWorkflow(config2, accountId, workflow.name)
|
|
30265
|
+
}))
|
|
30188
30266
|
);
|
|
30189
|
-
const
|
|
30190
|
-
(
|
|
30267
|
+
const jurisdictionChanges = workflowChecks.flatMap(
|
|
30268
|
+
({ workflow, existing }) => existing !== null && workflow.jurisdiction !== void 0 && existing.jurisdiction !== workflow.jurisdiction ? [
|
|
30269
|
+
` - "${workflow.name}" (${existing.jurisdiction ? `has jurisdiction "${existing.jurisdiction}"` : "has no jurisdiction"}, configured "${workflow.jurisdiction}")`
|
|
30270
|
+
] : []
|
|
30271
|
+
);
|
|
30272
|
+
if (jurisdictionChanges.length > 0) {
|
|
30273
|
+
throw new UserError(
|
|
30274
|
+
`The following Workflow(s) already exist with a different jurisdiction:
|
|
30275
|
+
${jurisdictionChanges.join("\n")}
|
|
30276
|
+
|
|
30277
|
+
A Workflow's jurisdiction is set when it is created and cannot be changed. To use a different jurisdiction, rename the Workflow(s) in your ${configFileName(config2.configPath, config2.userConfigPath)}, or delete the existing Workflow(s) first, which also deletes their instances.`,
|
|
30278
|
+
{ telemetryMessage: "deploy workflow jurisdiction changed" }
|
|
30279
|
+
);
|
|
30280
|
+
}
|
|
30281
|
+
const conflicts = workflowChecks.flatMap(
|
|
30282
|
+
({ workflow, existing }) => existing && existing.script_name !== scriptName ? [{ name: workflow.name, currentOwner: existing.script_name }] : []
|
|
30191
30283
|
);
|
|
30192
30284
|
if (conflicts.length === 0) {
|
|
30193
30285
|
return { hasConflicts: false };
|
|
@@ -31421,7 +31513,11 @@ async function deployWorker(props, config2, buildResult, options) {
|
|
|
31421
31513
|
};
|
|
31422
31514
|
}
|
|
31423
31515
|
if (props.secretsFile) {
|
|
31424
|
-
const secretsResult = await parseBulkInputToObject(
|
|
31516
|
+
const secretsResult = await parseBulkInputToObject(
|
|
31517
|
+
props.secretsFile,
|
|
31518
|
+
false,
|
|
31519
|
+
parseAndExpandDotEnv
|
|
31520
|
+
);
|
|
31425
31521
|
if (secretsResult) {
|
|
31426
31522
|
for (const [secretName, secretValue] of Object.entries(
|
|
31427
31523
|
secretsResult.content
|
|
@@ -31962,7 +32058,11 @@ async function uploadWorkerVersion(props, config2, buildResult, options) {
|
|
|
31962
32058
|
const assetsUploadResult = assetsOptions && !props.dryRun ? await syncAssets(config2, accountId, assetsOptions.directory, scriptName) : void 0;
|
|
31963
32059
|
const assetsJwt = assetsUploadResult?.jwt;
|
|
31964
32060
|
if (props.secretsFile) {
|
|
31965
|
-
const secretsResult = await parseBulkInputToObject(
|
|
32061
|
+
const secretsResult = await parseBulkInputToObject(
|
|
32062
|
+
props.secretsFile,
|
|
32063
|
+
false,
|
|
32064
|
+
parseAndExpandDotEnv
|
|
32065
|
+
);
|
|
31966
32066
|
if (secretsResult) {
|
|
31967
32067
|
for (const [secretName, secretValue] of Object.entries(
|
|
31968
32068
|
secretsResult.content
|
|
@@ -33656,7 +33756,11 @@ __name(provisionParentWorker, "provisionParentWorker");
|
|
|
33656
33756
|
async function runPreview(accountId, args, config2, buildResult, assetsOptions, options, workerName, replaceTailConsumersAfterCreate = false, localImageReferences = /* @__PURE__ */ new Map()) {
|
|
33657
33757
|
let secrets;
|
|
33658
33758
|
if (args.secretsFile) {
|
|
33659
|
-
secrets = (await parseBulkInputToObject(
|
|
33759
|
+
secrets = (await parseBulkInputToObject(
|
|
33760
|
+
args.secretsFile,
|
|
33761
|
+
false,
|
|
33762
|
+
parseAndExpandDotEnv
|
|
33763
|
+
))?.content;
|
|
33660
33764
|
}
|
|
33661
33765
|
let previewName = args.name;
|
|
33662
33766
|
if (!previewName) {
|
|
@@ -34121,4 +34225,4 @@ __name(formatBindings, "formatBindings");
|
|
|
34121
34225
|
* THE SOFTWARE.
|
|
34122
34226
|
*/
|
|
34123
34227
|
|
|
34124
|
-
export { ACTOR_BINDING_DEPENDS_ON_EXPORT_CODE, EXPORTS_RECONCILIATION_ERROR_CODE, INCONSISTENT_EXPORTS_ACROSS_VERSIONS_CODE, INVALID_INHERIT_BINDING_CODE, NO_ACTIVE_PREVIEW_URLS_MESSAGE, NoInputError, PREVIEW_DOMAIN_PROVISIONING_NOTE, WORKER_LEGACY_ENVIRONMENT_NOT_FOUND_ERR_CODE, WORKER_NOT_FOUND_ERR_CODE, WORKFLOW_CRON_REQUIRES_PAID_PLAN_CODE, WORKFLOW_NOT_FOUND_CODE, addRequiredSecretsInheritBindings, addWorkersSitesBindings, applyServiceAndEnvironmentTags, assemblePreviewScriptSettings, assertPreviewBuildOutputRootConfig, buildAssetManifest, checkRemoteSecretsOverride, checkWorkflowConflicts, collectPackageDependencies, confirmLatestDeploymentOverwrite, createDeployment, createDurableObjectContainerApplication, createPreview, createPreviewDeployment, createPreviewDeploymentForm, createPreviewParentWorker, createTruncatedAlias, decodeJwtPayload, deletePreview, deletePullConsumer, deleteWorkerConsumer, deploy, deployDurableObjectContainerApplications, deployVersionedDurableObjectContainerApplications, deployWfpUserWorker, diagnoseScriptSizeError, diagnoseStartupError, diffJsonObjects, downloadWorkerConfig, drawBox, drawConnectedChildBox, editPreview, ensureQueuesExistByConfig, extractBuildOutputBindings, extractConfigBindings, fetchDeployableVersions, fetchDeploymentVersions, fetchLatestDeployment, fetchLatestDeployments, fetchSecrets, fetchVersion, fetchVersions, fetchWorkerConfig, formatAlignedRows, formatBindings, formatNoActivePreviewUrlsMessage, generatePreviewAlias, getBindingValue, getBranchName2 as getBranchName, getCommitSha, getConfigPatch, getDeployConfirmFunction, getEdgeKvUploadConcurrency, getHeadCommitMessage, getHeadCommitRef, getMigrationsToUpload, getPreview, getPreviewBaseConfig, getPreviewDeployment, getPreviewOwnedContainerClassNames, getPullRequestMetadata, getQueue, getRemoteConfigDiff, getRepositoryUrl, getSettings, getSize, getSourceMappedStack, getSourceMappedString, getSubdomainValues, getSubdomainValuesAPIMock, getVersionedDurableObjectContainerApplications, getWorkerSubdomain, getWorkersDevSubdomain, getWorkersDevSubdomainIfAccessible, getZoneForRoute, getZoneIdFromHost, handleMissingSecretsError, hasDefinedEnvironments, hashFile, helpIfErrorIsSizeOrScriptStartup, isExportsReconciliationErrorDetails, isJwtExpired, isModifiedDiffValue, isNonDestructive, isWorkerNotFoundError, listConsumers, listQueues, maybeRetrieveFileSourceMap, padToVisibleWidth, parseBulkInputToObject, parseConfigPlacement, patchNonVersionedScriptSettings, patchPreviewBaseConfig, patchPreviewDeployment, postConsumer, prepareDurableObjectContainerApplications, preview, previewBuildOutput, previewContainerAppName, previewDelete, printBundleSize, printVersions, provisionBindings, publishCustomDomains, publishRoutes, putConsumer, putConsumerById, renderBindingDependsOnExportError, renderD1DatabaseLimitError, renderExportsReconciliationError, renderExportsReconciliationSuccess, renderInconsistentExportsAcrossVersionsError, renderRoute, renderWorkersDevDefaultWarning, resolveAssetOptions, resolveDoLifecyclePayload, resolveExportsUploadPayload, resolveVersionedDurableObjectContainerApplications, resolveWorkerName, sanitizeBranchName, shouldUseCIMetadataFallback, stripAnsi, syncAssets, tagsAreEqual, triggersDeploy, updateQueueConsumers, validateEventTriggerTargets, validateFileSecrets, validateImageLessContainerApplicationsForUpload, validateNodeCompatMode, validateRoutes, verifyWorkerMatchesCITag, versionsUpload, visibleLength, warnOnErrorUpdatingServiceAndEnvironmentTags, workerNotFoundErrorMessage };
|
|
34228
|
+
export { ACTOR_BINDING_DEPENDS_ON_EXPORT_CODE, EXPORTS_RECONCILIATION_ERROR_CODE, INCONSISTENT_EXPORTS_ACROSS_VERSIONS_CODE, INVALID_INHERIT_BINDING_CODE, NO_ACTIVE_PREVIEW_URLS_MESSAGE, NoInputError, PREVIEW_DOMAIN_PROVISIONING_NOTE, WORKER_LEGACY_ENVIRONMENT_NOT_FOUND_ERR_CODE, WORKER_NOT_FOUND_ERR_CODE, WORKFLOW_CRON_REQUIRES_PAID_PLAN_CODE, WORKFLOW_JURISDICTION_IMMUTABLE_CODE, WORKFLOW_NOT_FOUND_CODE, addRequiredSecretsInheritBindings, addWorkersSitesBindings, applyServiceAndEnvironmentTags, assemblePreviewScriptSettings, assertPreviewBuildOutputRootConfig, buildAssetManifest, checkRemoteSecretsOverride, checkWorkflowConflicts, collectPackageDependencies, confirmLatestDeploymentOverwrite, createDeployment, createDurableObjectContainerApplication, createPreview, createPreviewDeployment, createPreviewDeploymentForm, createPreviewParentWorker, createTruncatedAlias, decodeJwtPayload, deletePreview, deletePullConsumer, deleteWorkerConsumer, deploy, deployDurableObjectContainerApplications, deployVersionedDurableObjectContainerApplications, deployWfpUserWorker, diagnoseScriptSizeError, diagnoseStartupError, diffJsonObjects, downloadWorkerConfig, drawBox, drawConnectedChildBox, editPreview, ensureQueuesExistByConfig, extractBuildOutputBindings, extractConfigBindings, fetchDeployableVersions, fetchDeploymentVersions, fetchLatestDeployment, fetchLatestDeployments, fetchSecrets, fetchVersion, fetchVersions, fetchWorkerConfig, formatAlignedRows, formatBindings, formatNoActivePreviewUrlsMessage, generatePreviewAlias, getBindingValue, getBranchName2 as getBranchName, getCommitSha, getConfigPatch, getDeployConfirmFunction, getEdgeKvUploadConcurrency, getHeadCommitMessage, getHeadCommitRef, getMigrationsToUpload, getPreview, getPreviewBaseConfig, getPreviewDeployment, getPreviewOwnedContainerClassNames, getPullRequestMetadata, getQueue, getRemoteConfigDiff, getRepositoryUrl, getSettings, getSize, getSourceMappedStack, getSourceMappedString, getSubdomainValues, getSubdomainValuesAPIMock, getVersionedDurableObjectContainerApplications, getWorkerSubdomain, getWorkersDevSubdomain, getWorkersDevSubdomainIfAccessible, getZoneForRoute, getZoneIdFromHost, handleMissingSecretsError, hasDefinedEnvironments, hashFile, helpIfErrorIsSizeOrScriptStartup, isExportsReconciliationErrorDetails, isJwtExpired, isModifiedDiffValue, isNonDestructive, isWorkerNotFoundError, listConsumers, listQueues, maybeRetrieveFileSourceMap, padToVisibleWidth, parseBulkInputToObject, parseConfigPlacement, patchNonVersionedScriptSettings, patchPreviewBaseConfig, patchPreviewDeployment, postConsumer, prepareDurableObjectContainerApplications, preview, previewBuildOutput, previewContainerAppName, previewDelete, printBundleSize, printVersions, provisionBindings, publishCustomDomains, publishRoutes, putConsumer, putConsumerById, renderBindingDependsOnExportError, renderD1DatabaseLimitError, renderExportsReconciliationError, renderExportsReconciliationSuccess, renderInconsistentExportsAcrossVersionsError, renderRoute, renderWorkersDevDefaultWarning, resolveAssetOptions, resolveDoLifecyclePayload, resolveExportsUploadPayload, resolveVersionedDurableObjectContainerApplications, resolveWorkerName, sanitizeBranchName, shouldUseCIMetadataFallback, stripAnsi, syncAssets, tagsAreEqual, triggersDeploy, updateQueueConsumers, validateEventTriggerTargets, validateFileSecrets, validateImageLessContainerApplicationsForUpload, validateNodeCompatMode, validateRoutes, verifyWorkerMatchesCITag, versionsUpload, visibleLength, warnOnErrorUpdatingServiceAndEnvironmentTags, workerNotFoundErrorMessage };
|