@kinetune/cli 5.1.0 → 5.3.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/kinetune.mjs +229 -214
- package/package.json +13 -9
- package/LICENSE.md +0 -20
package/dist/kinetune.mjs
CHANGED
|
@@ -12,7 +12,32 @@ import { mkdir as mkdir2, readFile as readFile2, writeFile as writeFile2 } from
|
|
|
12
12
|
import path3 from "node:path";
|
|
13
13
|
import { createInterface } from "node:readline/promises";
|
|
14
14
|
|
|
15
|
-
//
|
|
15
|
+
// ../composition/src/categories.ts
|
|
16
|
+
var CATEGORY_IDS = [
|
|
17
|
+
"release",
|
|
18
|
+
"fall",
|
|
19
|
+
"halloween",
|
|
20
|
+
"christmas",
|
|
21
|
+
"summer",
|
|
22
|
+
"valentines",
|
|
23
|
+
"mood",
|
|
24
|
+
"retro",
|
|
25
|
+
"synthwave",
|
|
26
|
+
"street",
|
|
27
|
+
"nature",
|
|
28
|
+
"luxury",
|
|
29
|
+
"abstract",
|
|
30
|
+
"minimal",
|
|
31
|
+
"neon",
|
|
32
|
+
"pop-art",
|
|
33
|
+
"lo-fi",
|
|
34
|
+
"grunge",
|
|
35
|
+
"cosmic",
|
|
36
|
+
"cyber",
|
|
37
|
+
"dreamy"
|
|
38
|
+
];
|
|
39
|
+
|
|
40
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/external.js
|
|
16
41
|
var external_exports = {};
|
|
17
42
|
__export(external_exports, {
|
|
18
43
|
$brand: () => $brand,
|
|
@@ -275,7 +300,7 @@ __export(external_exports, {
|
|
|
275
300
|
xor: () => xor
|
|
276
301
|
});
|
|
277
302
|
|
|
278
|
-
// node_modules/zod/v4/core/index.js
|
|
303
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/index.js
|
|
279
304
|
var core_exports2 = {};
|
|
280
305
|
__export(core_exports2, {
|
|
281
306
|
$ZodAny: () => $ZodAny,
|
|
@@ -592,7 +617,7 @@ __export(core_exports2, {
|
|
|
592
617
|
withParser: () => withParser
|
|
593
618
|
});
|
|
594
619
|
|
|
595
|
-
// node_modules/zod/v4/core/util.js
|
|
620
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.js
|
|
596
621
|
var util_exports = {};
|
|
597
622
|
__export(util_exports, {
|
|
598
623
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -663,7 +688,6 @@ __export(util_exports, {
|
|
|
663
688
|
required: () => required,
|
|
664
689
|
safeExtend: () => safeExtend,
|
|
665
690
|
shallowClone: () => shallowClone,
|
|
666
|
-
sizeCaps: () => sizeCaps,
|
|
667
691
|
slugify: () => slugify,
|
|
668
692
|
stringifyPrimitive: () => stringifyPrimitive,
|
|
669
693
|
toZod: () => toZod,
|
|
@@ -1183,18 +1207,6 @@ function prefixIssues(path4, issues) {
|
|
|
1183
1207
|
function unwrapMessage(message) {
|
|
1184
1208
|
return typeof message === "string" ? message : message?.message;
|
|
1185
1209
|
}
|
|
1186
|
-
function sizeCaps(defChecks) {
|
|
1187
|
-
const caps = [];
|
|
1188
|
-
for (const ch of defChecks ?? []) {
|
|
1189
|
-
const d = ch._zod.def;
|
|
1190
|
-
if (!/_(length|size)$|_equals$/.test(d.check))
|
|
1191
|
-
break;
|
|
1192
|
-
const max = d.maximum ?? d.length ?? d.size;
|
|
1193
|
-
if (max >= 0)
|
|
1194
|
-
caps.push([max, ch]);
|
|
1195
|
-
}
|
|
1196
|
-
return caps;
|
|
1197
|
-
}
|
|
1198
1210
|
function attachSchema(issues, start, inst) {
|
|
1199
1211
|
var _a3;
|
|
1200
1212
|
for (let i = start; i < issues.length; i++) {
|
|
@@ -1316,8 +1328,8 @@ function base64urlToUint8Array(base64url3) {
|
|
|
1316
1328
|
function uint8ArrayToBase64url(bytes) {
|
|
1317
1329
|
return uint8ArrayToBase64(bytes).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
|
|
1318
1330
|
}
|
|
1319
|
-
function hexToUint8Array(
|
|
1320
|
-
const cleanHex =
|
|
1331
|
+
function hexToUint8Array(hex6) {
|
|
1332
|
+
const cleanHex = hex6.replace(/^0x/, "");
|
|
1321
1333
|
if (cleanHex.length % 2 !== 0) {
|
|
1322
1334
|
throw new Error("Invalid hex string length");
|
|
1323
1335
|
}
|
|
@@ -1448,7 +1460,7 @@ function constantCatch(value) {
|
|
|
1448
1460
|
return fn;
|
|
1449
1461
|
}
|
|
1450
1462
|
|
|
1451
|
-
// node_modules/zod/v4/core/core.js
|
|
1463
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.js
|
|
1452
1464
|
var _a;
|
|
1453
1465
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
1454
1466
|
status: "aborted"
|
|
@@ -1570,7 +1582,7 @@ function config(newConfig) {
|
|
|
1570
1582
|
return globalConfig;
|
|
1571
1583
|
}
|
|
1572
1584
|
|
|
1573
|
-
// node_modules/zod/v4/core/errors.js
|
|
1585
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.js
|
|
1574
1586
|
function _getMessage() {
|
|
1575
1587
|
const internals = this._zod;
|
|
1576
1588
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -1762,7 +1774,7 @@ function prettifyError(error62) {
|
|
|
1762
1774
|
return lines.join("\n");
|
|
1763
1775
|
}
|
|
1764
1776
|
|
|
1765
|
-
// node_modules/zod/v4/core/parse.js
|
|
1777
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.js
|
|
1766
1778
|
function finalizeParams(callee, params) {
|
|
1767
1779
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
1768
1780
|
}
|
|
@@ -1922,7 +1934,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1922
1934
|
};
|
|
1923
1935
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1924
1936
|
|
|
1925
|
-
// node_modules/zod/v4/core/regexes.js
|
|
1937
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.js
|
|
1926
1938
|
var regexes_exports = {};
|
|
1927
1939
|
__export(regexes_exports, {
|
|
1928
1940
|
anyString: () => anyString,
|
|
@@ -2094,7 +2106,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2094
2106
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2095
2107
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2096
2108
|
|
|
2097
|
-
// node_modules/zod/v4/core/checks.js
|
|
2109
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.js
|
|
2098
2110
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2099
2111
|
var _a3;
|
|
2100
2112
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2570,7 +2582,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2570
2582
|
};
|
|
2571
2583
|
});
|
|
2572
2584
|
|
|
2573
|
-
// node_modules/zod/v4/core/doc.js
|
|
2585
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.js
|
|
2574
2586
|
var Doc = class {
|
|
2575
2587
|
constructor(args = [], closed = {}) {
|
|
2576
2588
|
this.content = [];
|
|
@@ -2611,14 +2623,14 @@ ${content.join("\n")}
|
|
|
2611
2623
|
}
|
|
2612
2624
|
};
|
|
2613
2625
|
|
|
2614
|
-
// node_modules/zod/v4/core/versions.js
|
|
2626
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.js
|
|
2615
2627
|
var version = {
|
|
2616
2628
|
major: 4,
|
|
2617
2629
|
minor: 6,
|
|
2618
|
-
patch:
|
|
2630
|
+
patch: 5
|
|
2619
2631
|
};
|
|
2620
2632
|
|
|
2621
|
-
// node_modules/zod/v4/core/schemas.js
|
|
2633
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.js
|
|
2622
2634
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2623
2635
|
var _a3;
|
|
2624
2636
|
inst ?? (inst = {});
|
|
@@ -3371,31 +3383,6 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
|
|
|
3371
3383
|
return payload;
|
|
3372
3384
|
};
|
|
3373
3385
|
});
|
|
3374
|
-
function capSize(inst, size) {
|
|
3375
|
-
const caps = sizeCaps(inst._zod.def.checks);
|
|
3376
|
-
if (!caps.length)
|
|
3377
|
-
return;
|
|
3378
|
-
const cap = Math.min(...caps.map((c) => c[0]));
|
|
3379
|
-
const parse3 = inst._zod.parse;
|
|
3380
|
-
inst._zod.parse = (payload, ctx) => {
|
|
3381
|
-
const n = size(payload.value);
|
|
3382
|
-
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
3383
|
-
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
|
|
3384
|
-
if (n > max && ch._zod.def.when(payload)) {
|
|
3385
|
-
const start = payload.issues.length;
|
|
3386
|
-
ch._zod.check(payload);
|
|
3387
|
-
payload.issues[start].continue = false;
|
|
3388
|
-
attachSchema(payload.issues, start, inst);
|
|
3389
|
-
return payload;
|
|
3390
|
-
}
|
|
3391
|
-
}
|
|
3392
|
-
}
|
|
3393
|
-
return parse3(payload, ctx);
|
|
3394
|
-
};
|
|
3395
|
-
}
|
|
3396
|
-
var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
|
|
3397
|
-
var mapSize = (input2) => input2 instanceof Map ? input2.size : -1;
|
|
3398
|
-
var setSize = (input2) => input2 instanceof Set ? input2.size : -1;
|
|
3399
3386
|
function handleArrayResult(result, final, index) {
|
|
3400
3387
|
if (result.issues.length) {
|
|
3401
3388
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
@@ -3439,7 +3426,6 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
3439
3426
|
}
|
|
3440
3427
|
return payload;
|
|
3441
3428
|
};
|
|
3442
|
-
capSize(inst, arraySize);
|
|
3443
3429
|
});
|
|
3444
3430
|
function handlePropertyResult(result, final, key, input2, optin, optout) {
|
|
3445
3431
|
const isPresent = key in input2;
|
|
@@ -4396,7 +4382,6 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
4396
4382
|
return Promise.all(proms).then(() => payload);
|
|
4397
4383
|
return payload;
|
|
4398
4384
|
};
|
|
4399
|
-
capSize(inst, mapSize);
|
|
4400
4385
|
});
|
|
4401
4386
|
function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
|
|
4402
4387
|
if (keyResult.issues.length) {
|
|
@@ -4463,7 +4448,6 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
|
|
|
4463
4448
|
return Promise.all(proms).then(() => payload);
|
|
4464
4449
|
return payload;
|
|
4465
4450
|
};
|
|
4466
|
-
capSize(inst, setSize);
|
|
4467
4451
|
});
|
|
4468
4452
|
function handleSetResult(result, final) {
|
|
4469
4453
|
if (result.issues.length) {
|
|
@@ -5060,7 +5044,7 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
5060
5044
|
}
|
|
5061
5045
|
}
|
|
5062
5046
|
|
|
5063
|
-
// node_modules/zod/v4/core/memoizer.js
|
|
5047
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.js
|
|
5064
5048
|
var $ZodCyclicError = class extends Error {
|
|
5065
5049
|
constructor() {
|
|
5066
5050
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -5337,7 +5321,7 @@ function isBackEdge(ctx, value) {
|
|
|
5337
5321
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
5338
5322
|
}
|
|
5339
5323
|
|
|
5340
|
-
// node_modules/zod/v4/locales/index.js
|
|
5324
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/index.js
|
|
5341
5325
|
var locales_exports = {};
|
|
5342
5326
|
__export(locales_exports, {
|
|
5343
5327
|
ar: () => ar_default,
|
|
@@ -5405,7 +5389,7 @@ __export(locales_exports, {
|
|
|
5405
5389
|
zhTW: () => zh_TW_default
|
|
5406
5390
|
});
|
|
5407
5391
|
|
|
5408
|
-
// node_modules/zod/v4/locales/ar.js
|
|
5392
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.js
|
|
5409
5393
|
var error = () => {
|
|
5410
5394
|
const Sizable = {
|
|
5411
5395
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -5517,7 +5501,7 @@ function ar_default() {
|
|
|
5517
5501
|
};
|
|
5518
5502
|
}
|
|
5519
5503
|
|
|
5520
|
-
// node_modules/zod/v4/locales/az.js
|
|
5504
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.js
|
|
5521
5505
|
var error2 = () => {
|
|
5522
5506
|
const Sizable = {
|
|
5523
5507
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -5628,7 +5612,7 @@ function az_default() {
|
|
|
5628
5612
|
};
|
|
5629
5613
|
}
|
|
5630
5614
|
|
|
5631
|
-
// node_modules/zod/v4/locales/be.js
|
|
5615
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.js
|
|
5632
5616
|
function getBelarusianPlural(count, one, few, many) {
|
|
5633
5617
|
const absCount = Math.abs(count);
|
|
5634
5618
|
const lastDigit = absCount % 10;
|
|
@@ -5797,7 +5781,7 @@ function be_default() {
|
|
|
5797
5781
|
};
|
|
5798
5782
|
}
|
|
5799
5783
|
|
|
5800
|
-
// node_modules/zod/v4/locales/bg.js
|
|
5784
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.js
|
|
5801
5785
|
var error4 = () => {
|
|
5802
5786
|
const Sizable = {
|
|
5803
5787
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5923,7 +5907,7 @@ function bg_default() {
|
|
|
5923
5907
|
};
|
|
5924
5908
|
}
|
|
5925
5909
|
|
|
5926
|
-
// node_modules/zod/v4/locales/bn.js
|
|
5910
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.js
|
|
5927
5911
|
var error5 = () => {
|
|
5928
5912
|
const Sizable = {
|
|
5929
5913
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -6037,7 +6021,7 @@ function bn_default() {
|
|
|
6037
6021
|
};
|
|
6038
6022
|
}
|
|
6039
6023
|
|
|
6040
|
-
// node_modules/zod/v4/locales/ca.js
|
|
6024
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.js
|
|
6041
6025
|
var error6 = () => {
|
|
6042
6026
|
const Sizable = {
|
|
6043
6027
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -6151,7 +6135,7 @@ function ca_default() {
|
|
|
6151
6135
|
};
|
|
6152
6136
|
}
|
|
6153
6137
|
|
|
6154
|
-
// node_modules/zod/v4/locales/ckb.js
|
|
6138
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.js
|
|
6155
6139
|
var error7 = () => {
|
|
6156
6140
|
const Sizable = {
|
|
6157
6141
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -6284,7 +6268,7 @@ function ckb_default() {
|
|
|
6284
6268
|
};
|
|
6285
6269
|
}
|
|
6286
6270
|
|
|
6287
|
-
// node_modules/zod/v4/locales/cs.js
|
|
6271
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.js
|
|
6288
6272
|
var error8 = () => {
|
|
6289
6273
|
const Sizable = {
|
|
6290
6274
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -6401,7 +6385,7 @@ function cs_default() {
|
|
|
6401
6385
|
};
|
|
6402
6386
|
}
|
|
6403
6387
|
|
|
6404
|
-
// node_modules/zod/v4/locales/da.js
|
|
6388
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.js
|
|
6405
6389
|
var error9 = () => {
|
|
6406
6390
|
const Sizable = {
|
|
6407
6391
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -6522,7 +6506,7 @@ function da_default() {
|
|
|
6522
6506
|
};
|
|
6523
6507
|
}
|
|
6524
6508
|
|
|
6525
|
-
// node_modules/zod/v4/locales/de.js
|
|
6509
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.js
|
|
6526
6510
|
var error10 = () => {
|
|
6527
6511
|
const Sizable = {
|
|
6528
6512
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -6636,7 +6620,7 @@ function de_default() {
|
|
|
6636
6620
|
};
|
|
6637
6621
|
}
|
|
6638
6622
|
|
|
6639
|
-
// node_modules/zod/v4/locales/el.js
|
|
6623
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.js
|
|
6640
6624
|
var error11 = () => {
|
|
6641
6625
|
const Sizable = {
|
|
6642
6626
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -6749,7 +6733,7 @@ function el_default() {
|
|
|
6749
6733
|
};
|
|
6750
6734
|
}
|
|
6751
6735
|
|
|
6752
|
-
// node_modules/zod/v4/locales/en.js
|
|
6736
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.js
|
|
6753
6737
|
var error12 = () => {
|
|
6754
6738
|
const Sizable = {
|
|
6755
6739
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6874,7 +6858,7 @@ function en_default() {
|
|
|
6874
6858
|
};
|
|
6875
6859
|
}
|
|
6876
6860
|
|
|
6877
|
-
// node_modules/zod/v4/locales/eo.js
|
|
6861
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.js
|
|
6878
6862
|
var error13 = () => {
|
|
6879
6863
|
const Sizable = {
|
|
6880
6864
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -6989,7 +6973,7 @@ function eo_default() {
|
|
|
6989
6973
|
};
|
|
6990
6974
|
}
|
|
6991
6975
|
|
|
6992
|
-
// node_modules/zod/v4/locales/es.js
|
|
6976
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.js
|
|
6993
6977
|
var error14 = () => {
|
|
6994
6978
|
const Sizable = {
|
|
6995
6979
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -7126,7 +7110,7 @@ function es_default() {
|
|
|
7126
7110
|
};
|
|
7127
7111
|
}
|
|
7128
7112
|
|
|
7129
|
-
// node_modules/zod/v4/locales/fa.js
|
|
7113
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.js
|
|
7130
7114
|
var error15 = () => {
|
|
7131
7115
|
const Sizable = {
|
|
7132
7116
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -7246,7 +7230,7 @@ function fa_default() {
|
|
|
7246
7230
|
};
|
|
7247
7231
|
}
|
|
7248
7232
|
|
|
7249
|
-
// node_modules/zod/v4/locales/fi.js
|
|
7233
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.js
|
|
7250
7234
|
var error16 = () => {
|
|
7251
7235
|
const Sizable = {
|
|
7252
7236
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -7364,7 +7348,7 @@ function fi_default() {
|
|
|
7364
7348
|
};
|
|
7365
7349
|
}
|
|
7366
7350
|
|
|
7367
|
-
// node_modules/zod/v4/locales/fr.js
|
|
7351
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.js
|
|
7368
7352
|
var error17 = () => {
|
|
7369
7353
|
const Sizable = {
|
|
7370
7354
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7494,7 +7478,7 @@ function fr_default() {
|
|
|
7494
7478
|
};
|
|
7495
7479
|
}
|
|
7496
7480
|
|
|
7497
|
-
// node_modules/zod/v4/locales/fr-CA.js
|
|
7481
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.js
|
|
7498
7482
|
var error18 = () => {
|
|
7499
7483
|
const Sizable = {
|
|
7500
7484
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7607,7 +7591,7 @@ function fr_CA_default() {
|
|
|
7607
7591
|
};
|
|
7608
7592
|
}
|
|
7609
7593
|
|
|
7610
|
-
// node_modules/zod/v4/locales/gu.js
|
|
7594
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.js
|
|
7611
7595
|
var error19 = () => {
|
|
7612
7596
|
const Sizable = {
|
|
7613
7597
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -7721,7 +7705,7 @@ function gu_default() {
|
|
|
7721
7705
|
};
|
|
7722
7706
|
}
|
|
7723
7707
|
|
|
7724
|
-
// node_modules/zod/v4/locales/he.js
|
|
7708
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.js
|
|
7725
7709
|
var error20 = () => {
|
|
7726
7710
|
const TypeNames = {
|
|
7727
7711
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -7923,7 +7907,7 @@ function he_default() {
|
|
|
7923
7907
|
};
|
|
7924
7908
|
}
|
|
7925
7909
|
|
|
7926
|
-
// node_modules/zod/v4/locales/hi.js
|
|
7910
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.js
|
|
7927
7911
|
var error21 = () => {
|
|
7928
7912
|
const Sizable = {
|
|
7929
7913
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -8035,7 +8019,7 @@ function hi_default() {
|
|
|
8035
8019
|
};
|
|
8036
8020
|
}
|
|
8037
8021
|
|
|
8038
|
-
// node_modules/zod/v4/locales/hr.js
|
|
8022
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.js
|
|
8039
8023
|
var error22 = () => {
|
|
8040
8024
|
const Sizable = {
|
|
8041
8025
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -8162,7 +8146,7 @@ function hr_default() {
|
|
|
8162
8146
|
};
|
|
8163
8147
|
}
|
|
8164
8148
|
|
|
8165
|
-
// node_modules/zod/v4/locales/hu.js
|
|
8149
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.js
|
|
8166
8150
|
var error23 = () => {
|
|
8167
8151
|
const Sizable = {
|
|
8168
8152
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -8276,7 +8260,7 @@ function hu_default() {
|
|
|
8276
8260
|
};
|
|
8277
8261
|
}
|
|
8278
8262
|
|
|
8279
|
-
// node_modules/zod/v4/locales/hy.js
|
|
8263
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.js
|
|
8280
8264
|
function getArmenianPlural(count, one, many) {
|
|
8281
8265
|
return Math.abs(count) === 1 ? one : many;
|
|
8282
8266
|
}
|
|
@@ -8435,7 +8419,7 @@ function hy_default() {
|
|
|
8435
8419
|
};
|
|
8436
8420
|
}
|
|
8437
8421
|
|
|
8438
|
-
// node_modules/zod/v4/locales/id.js
|
|
8422
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.js
|
|
8439
8423
|
var error25 = () => {
|
|
8440
8424
|
const Sizable = {
|
|
8441
8425
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -8547,7 +8531,7 @@ function id_default() {
|
|
|
8547
8531
|
};
|
|
8548
8532
|
}
|
|
8549
8533
|
|
|
8550
|
-
// node_modules/zod/v4/locales/is.js
|
|
8534
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.js
|
|
8551
8535
|
var error26 = () => {
|
|
8552
8536
|
const Sizable = {
|
|
8553
8537
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -8662,7 +8646,7 @@ function is_default() {
|
|
|
8662
8646
|
};
|
|
8663
8647
|
}
|
|
8664
8648
|
|
|
8665
|
-
// node_modules/zod/v4/locales/it.js
|
|
8649
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.js
|
|
8666
8650
|
var error27 = () => {
|
|
8667
8651
|
const Sizable = {
|
|
8668
8652
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -8776,7 +8760,7 @@ function it_default() {
|
|
|
8776
8760
|
};
|
|
8777
8761
|
}
|
|
8778
8762
|
|
|
8779
|
-
// node_modules/zod/v4/locales/ja.js
|
|
8763
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.js
|
|
8780
8764
|
var error28 = () => {
|
|
8781
8765
|
const Sizable = {
|
|
8782
8766
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -8889,7 +8873,7 @@ function ja_default() {
|
|
|
8889
8873
|
};
|
|
8890
8874
|
}
|
|
8891
8875
|
|
|
8892
|
-
// node_modules/zod/v4/locales/ka.js
|
|
8876
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.js
|
|
8893
8877
|
var error29 = () => {
|
|
8894
8878
|
const Sizable = {
|
|
8895
8879
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -9007,7 +8991,7 @@ function ka_default() {
|
|
|
9007
8991
|
};
|
|
9008
8992
|
}
|
|
9009
8993
|
|
|
9010
|
-
// node_modules/zod/v4/locales/km.js
|
|
8994
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.js
|
|
9011
8995
|
var error30 = () => {
|
|
9012
8996
|
const Sizable = {
|
|
9013
8997
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -9123,12 +9107,12 @@ function km_default() {
|
|
|
9123
9107
|
};
|
|
9124
9108
|
}
|
|
9125
9109
|
|
|
9126
|
-
// node_modules/zod/v4/locales/kh.js
|
|
9110
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.js
|
|
9127
9111
|
function kh_default() {
|
|
9128
9112
|
return km_default();
|
|
9129
9113
|
}
|
|
9130
9114
|
|
|
9131
|
-
// node_modules/zod/v4/locales/kn.js
|
|
9115
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.js
|
|
9132
9116
|
var error31 = () => {
|
|
9133
9117
|
const Sizable = {
|
|
9134
9118
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -9244,7 +9228,7 @@ function kn_default() {
|
|
|
9244
9228
|
};
|
|
9245
9229
|
}
|
|
9246
9230
|
|
|
9247
|
-
// node_modules/zod/v4/locales/ko.js
|
|
9231
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.js
|
|
9248
9232
|
var error32 = () => {
|
|
9249
9233
|
const Sizable = {
|
|
9250
9234
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -9361,7 +9345,7 @@ function ko_default() {
|
|
|
9361
9345
|
};
|
|
9362
9346
|
}
|
|
9363
9347
|
|
|
9364
|
-
// node_modules/zod/v4/locales/lt.js
|
|
9348
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.js
|
|
9365
9349
|
var capitalizeFirstCharacter = (text) => {
|
|
9366
9350
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
9367
9351
|
};
|
|
@@ -9569,7 +9553,7 @@ function lt_default() {
|
|
|
9569
9553
|
};
|
|
9570
9554
|
}
|
|
9571
9555
|
|
|
9572
|
-
// node_modules/zod/v4/locales/mk.js
|
|
9556
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.js
|
|
9573
9557
|
var error34 = () => {
|
|
9574
9558
|
const Sizable = {
|
|
9575
9559
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -9684,7 +9668,7 @@ function mk_default() {
|
|
|
9684
9668
|
};
|
|
9685
9669
|
}
|
|
9686
9670
|
|
|
9687
|
-
// node_modules/zod/v4/locales/ms.js
|
|
9671
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.js
|
|
9688
9672
|
var error35 = () => {
|
|
9689
9673
|
const Sizable = {
|
|
9690
9674
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -9797,7 +9781,7 @@ function ms_default() {
|
|
|
9797
9781
|
};
|
|
9798
9782
|
}
|
|
9799
9783
|
|
|
9800
|
-
// node_modules/zod/v4/locales/ne.js
|
|
9784
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.js
|
|
9801
9785
|
var error36 = () => {
|
|
9802
9786
|
const Sizable = {
|
|
9803
9787
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -9909,7 +9893,7 @@ function ne_default() {
|
|
|
9909
9893
|
};
|
|
9910
9894
|
}
|
|
9911
9895
|
|
|
9912
|
-
// node_modules/zod/v4/locales/nl.js
|
|
9896
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.js
|
|
9913
9897
|
var error37 = () => {
|
|
9914
9898
|
const Sizable = {
|
|
9915
9899
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -10025,7 +10009,7 @@ function nl_default() {
|
|
|
10025
10009
|
};
|
|
10026
10010
|
}
|
|
10027
10011
|
|
|
10028
|
-
// node_modules/zod/v4/locales/nn.js
|
|
10012
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.js
|
|
10029
10013
|
var error38 = () => {
|
|
10030
10014
|
const Sizable = {
|
|
10031
10015
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -10139,7 +10123,7 @@ function nn_default() {
|
|
|
10139
10123
|
};
|
|
10140
10124
|
}
|
|
10141
10125
|
|
|
10142
|
-
// node_modules/zod/v4/locales/no.js
|
|
10126
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.js
|
|
10143
10127
|
var error39 = () => {
|
|
10144
10128
|
const Sizable = {
|
|
10145
10129
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -10253,7 +10237,7 @@ function no_default() {
|
|
|
10253
10237
|
};
|
|
10254
10238
|
}
|
|
10255
10239
|
|
|
10256
|
-
// node_modules/zod/v4/locales/ota.js
|
|
10240
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.js
|
|
10257
10241
|
var error40 = () => {
|
|
10258
10242
|
const Sizable = {
|
|
10259
10243
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -10368,7 +10352,7 @@ function ota_default() {
|
|
|
10368
10352
|
};
|
|
10369
10353
|
}
|
|
10370
10354
|
|
|
10371
|
-
// node_modules/zod/v4/locales/ps.js
|
|
10355
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.js
|
|
10372
10356
|
var error41 = () => {
|
|
10373
10357
|
const Sizable = {
|
|
10374
10358
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -10488,7 +10472,7 @@ function ps_default() {
|
|
|
10488
10472
|
};
|
|
10489
10473
|
}
|
|
10490
10474
|
|
|
10491
|
-
// node_modules/zod/v4/locales/pl.js
|
|
10475
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.js
|
|
10492
10476
|
var error42 = () => {
|
|
10493
10477
|
const Sizable = {
|
|
10494
10478
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -10603,7 +10587,7 @@ function pl_default() {
|
|
|
10603
10587
|
};
|
|
10604
10588
|
}
|
|
10605
10589
|
|
|
10606
|
-
// node_modules/zod/v4/locales/pt.js
|
|
10590
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.js
|
|
10607
10591
|
var error43 = () => {
|
|
10608
10592
|
const Sizable = {
|
|
10609
10593
|
string: { unit: "caracteres" },
|
|
@@ -10747,7 +10731,7 @@ function pt_default() {
|
|
|
10747
10731
|
};
|
|
10748
10732
|
}
|
|
10749
10733
|
|
|
10750
|
-
// node_modules/zod/v4/locales/pt-BR.js
|
|
10734
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.js
|
|
10751
10735
|
var error44 = () => {
|
|
10752
10736
|
const Sizable = {
|
|
10753
10737
|
string: { unit: "caracteres" },
|
|
@@ -10892,7 +10876,7 @@ function pt_BR_default() {
|
|
|
10892
10876
|
};
|
|
10893
10877
|
}
|
|
10894
10878
|
|
|
10895
|
-
// node_modules/zod/v4/locales/ro.js
|
|
10879
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.js
|
|
10896
10880
|
var error45 = () => {
|
|
10897
10881
|
const Sizable = {
|
|
10898
10882
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -11015,7 +10999,7 @@ function ro_default() {
|
|
|
11015
10999
|
};
|
|
11016
11000
|
}
|
|
11017
11001
|
|
|
11018
|
-
// node_modules/zod/v4/locales/ru.js
|
|
11002
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.js
|
|
11019
11003
|
function getRussianPlural(count, one, few, many) {
|
|
11020
11004
|
const absCount = Math.abs(count);
|
|
11021
11005
|
const lastDigit = absCount % 10;
|
|
@@ -11184,7 +11168,7 @@ function ru_default() {
|
|
|
11184
11168
|
};
|
|
11185
11169
|
}
|
|
11186
11170
|
|
|
11187
|
-
// node_modules/zod/v4/locales/sk.js
|
|
11171
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.js
|
|
11188
11172
|
var error47 = () => {
|
|
11189
11173
|
const Sizable = {
|
|
11190
11174
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -11301,7 +11285,7 @@ function sk_default() {
|
|
|
11301
11285
|
};
|
|
11302
11286
|
}
|
|
11303
11287
|
|
|
11304
|
-
// node_modules/zod/v4/locales/sl.js
|
|
11288
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.js
|
|
11305
11289
|
var error48 = () => {
|
|
11306
11290
|
const Sizable = {
|
|
11307
11291
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -11416,7 +11400,7 @@ function sl_default() {
|
|
|
11416
11400
|
};
|
|
11417
11401
|
}
|
|
11418
11402
|
|
|
11419
|
-
// node_modules/zod/v4/locales/sv.js
|
|
11403
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.js
|
|
11420
11404
|
var error49 = () => {
|
|
11421
11405
|
const Sizable = {
|
|
11422
11406
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -11532,7 +11516,7 @@ function sv_default() {
|
|
|
11532
11516
|
};
|
|
11533
11517
|
}
|
|
11534
11518
|
|
|
11535
|
-
// node_modules/zod/v4/locales/ta.js
|
|
11519
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.js
|
|
11536
11520
|
var error50 = () => {
|
|
11537
11521
|
const Sizable = {
|
|
11538
11522
|
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" },
|
|
@@ -11648,7 +11632,7 @@ function ta_default() {
|
|
|
11648
11632
|
};
|
|
11649
11633
|
}
|
|
11650
11634
|
|
|
11651
|
-
// node_modules/zod/v4/locales/tg.js
|
|
11635
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.js
|
|
11652
11636
|
var error51 = () => {
|
|
11653
11637
|
const Sizable = {
|
|
11654
11638
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -11765,7 +11749,7 @@ function tg_default() {
|
|
|
11765
11749
|
};
|
|
11766
11750
|
}
|
|
11767
11751
|
|
|
11768
|
-
// node_modules/zod/v4/locales/th.js
|
|
11752
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.js
|
|
11769
11753
|
var error52 = () => {
|
|
11770
11754
|
const Sizable = {
|
|
11771
11755
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -11881,7 +11865,7 @@ function th_default() {
|
|
|
11881
11865
|
};
|
|
11882
11866
|
}
|
|
11883
11867
|
|
|
11884
|
-
// node_modules/zod/v4/locales/tk.js
|
|
11868
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.js
|
|
11885
11869
|
var error53 = () => {
|
|
11886
11870
|
const Sizable = {
|
|
11887
11871
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -11989,7 +11973,7 @@ function tk_default() {
|
|
|
11989
11973
|
};
|
|
11990
11974
|
}
|
|
11991
11975
|
|
|
11992
|
-
// node_modules/zod/v4/locales/tr.js
|
|
11976
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.js
|
|
11993
11977
|
var error54 = () => {
|
|
11994
11978
|
const Sizable = {
|
|
11995
11979
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -12100,7 +12084,7 @@ function tr_default() {
|
|
|
12100
12084
|
};
|
|
12101
12085
|
}
|
|
12102
12086
|
|
|
12103
|
-
// node_modules/zod/v4/locales/uk.js
|
|
12087
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.js
|
|
12104
12088
|
var error55 = () => {
|
|
12105
12089
|
const Sizable = {
|
|
12106
12090
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -12214,12 +12198,12 @@ function uk_default() {
|
|
|
12214
12198
|
};
|
|
12215
12199
|
}
|
|
12216
12200
|
|
|
12217
|
-
// node_modules/zod/v4/locales/ua.js
|
|
12201
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.js
|
|
12218
12202
|
function ua_default() {
|
|
12219
12203
|
return uk_default();
|
|
12220
12204
|
}
|
|
12221
12205
|
|
|
12222
|
-
// node_modules/zod/v4/locales/ur.js
|
|
12206
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.js
|
|
12223
12207
|
var error56 = () => {
|
|
12224
12208
|
const Sizable = {
|
|
12225
12209
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -12335,7 +12319,7 @@ function ur_default() {
|
|
|
12335
12319
|
};
|
|
12336
12320
|
}
|
|
12337
12321
|
|
|
12338
|
-
// node_modules/zod/v4/locales/uz.js
|
|
12322
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.js
|
|
12339
12323
|
var error57 = () => {
|
|
12340
12324
|
const Sizable = {
|
|
12341
12325
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -12449,7 +12433,7 @@ function uz_default() {
|
|
|
12449
12433
|
};
|
|
12450
12434
|
}
|
|
12451
12435
|
|
|
12452
|
-
// node_modules/zod/v4/locales/vi.js
|
|
12436
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.js
|
|
12453
12437
|
var error58 = () => {
|
|
12454
12438
|
const Sizable = {
|
|
12455
12439
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -12563,7 +12547,7 @@ function vi_default() {
|
|
|
12563
12547
|
};
|
|
12564
12548
|
}
|
|
12565
12549
|
|
|
12566
|
-
// node_modules/zod/v4/locales/zh-CN.js
|
|
12550
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.js
|
|
12567
12551
|
var error59 = () => {
|
|
12568
12552
|
const Sizable = {
|
|
12569
12553
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -12678,7 +12662,7 @@ function zh_CN_default() {
|
|
|
12678
12662
|
};
|
|
12679
12663
|
}
|
|
12680
12664
|
|
|
12681
|
-
// node_modules/zod/v4/locales/zh-TW.js
|
|
12665
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.js
|
|
12682
12666
|
var error60 = () => {
|
|
12683
12667
|
const Sizable = {
|
|
12684
12668
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -12791,7 +12775,7 @@ function zh_TW_default() {
|
|
|
12791
12775
|
};
|
|
12792
12776
|
}
|
|
12793
12777
|
|
|
12794
|
-
// node_modules/zod/v4/locales/yo.js
|
|
12778
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.js
|
|
12795
12779
|
var error61 = () => {
|
|
12796
12780
|
const Sizable = {
|
|
12797
12781
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -12904,7 +12888,7 @@ function yo_default() {
|
|
|
12904
12888
|
};
|
|
12905
12889
|
}
|
|
12906
12890
|
|
|
12907
|
-
// node_modules/zod/v4/core/registries.js
|
|
12891
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.js
|
|
12908
12892
|
var _a2;
|
|
12909
12893
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
12910
12894
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -12954,7 +12938,7 @@ function registry() {
|
|
|
12954
12938
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
12955
12939
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
12956
12940
|
|
|
12957
|
-
// node_modules/zod/v4/core/compile.js
|
|
12941
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.js
|
|
12958
12942
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
12959
12943
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
12960
12944
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -13994,15 +13978,9 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
|
13994
13978
|
doc.write(`}`);
|
|
13995
13979
|
return outputVar;
|
|
13996
13980
|
}
|
|
13997
|
-
function generateSizeGate(doc, schema, size) {
|
|
13998
|
-
for (const [max, check2] of sizeCaps(schema._zod.def.checks)) {
|
|
13999
|
-
doc.write(`if (${size} > ${numericOperand(max, check2._zod.def.check)}) return INVALID;`);
|
|
14000
|
-
}
|
|
14001
|
-
}
|
|
14002
13981
|
function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
14003
13982
|
const def = schema._zod.def;
|
|
14004
13983
|
doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
|
|
14005
|
-
generateSizeGate(doc, schema, `${accessor}.length`);
|
|
14006
13984
|
const outputVar = buildsValue ? newVar(ctx) : null;
|
|
14007
13985
|
const iVar = newVar(ctx);
|
|
14008
13986
|
const elemVar = newVar(ctx);
|
|
@@ -14402,7 +14380,6 @@ function literalPropertyKey(ctx, key) {
|
|
|
14402
14380
|
function generateMapCheck(doc, ctx, schema, accessor) {
|
|
14403
14381
|
const def = schema._zod.def;
|
|
14404
14382
|
doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
|
|
14405
|
-
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
14406
14383
|
const outputVar = newVar(ctx);
|
|
14407
14384
|
const kVar = newVar(ctx);
|
|
14408
14385
|
const valVar = newVar(ctx);
|
|
@@ -14419,7 +14396,6 @@ function generateMapCheck(doc, ctx, schema, accessor) {
|
|
|
14419
14396
|
function generateSetCheck(doc, ctx, schema, accessor) {
|
|
14420
14397
|
const def = schema._zod.def;
|
|
14421
14398
|
doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
|
|
14422
|
-
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
14423
14399
|
const outputVar = newVar(ctx);
|
|
14424
14400
|
const valVar = newVar(ctx);
|
|
14425
14401
|
doc.write(`const ${outputVar} = new Set();`);
|
|
@@ -14564,7 +14540,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
14564
14540
|
return accessor;
|
|
14565
14541
|
}
|
|
14566
14542
|
|
|
14567
|
-
// node_modules/zod/v4/core/api.js
|
|
14543
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.js
|
|
14568
14544
|
function snapshotChecks(def) {
|
|
14569
14545
|
if (def.checks)
|
|
14570
14546
|
def.checks = [...def.checks];
|
|
@@ -15623,7 +15599,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
15623
15599
|
return inst;
|
|
15624
15600
|
}
|
|
15625
15601
|
|
|
15626
|
-
// node_modules/zod/v4/core/to-json-schema.js
|
|
15602
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.js
|
|
15627
15603
|
function assignProps(target, ...sources) {
|
|
15628
15604
|
for (const source of sources) {
|
|
15629
15605
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -16153,7 +16129,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
16153
16129
|
return finalize(ctx, schema);
|
|
16154
16130
|
};
|
|
16155
16131
|
|
|
16156
|
-
// node_modules/zod/v4/core/json-schema-processors.js
|
|
16132
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.js
|
|
16157
16133
|
var narrowMin = (agg, key, value) => {
|
|
16158
16134
|
if (agg[key] === void 0 || value > agg[key])
|
|
16159
16135
|
agg[key] = value;
|
|
@@ -16901,7 +16877,7 @@ function toJSONSchema(input2, params) {
|
|
|
16901
16877
|
return finalize(ctx, input2);
|
|
16902
16878
|
}
|
|
16903
16879
|
|
|
16904
|
-
// node_modules/zod/v4/core/json-schema-generator.js
|
|
16880
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.js
|
|
16905
16881
|
var JSONSchemaGenerator = class {
|
|
16906
16882
|
/** @deprecated Access via ctx instead */
|
|
16907
16883
|
get metadataRegistry() {
|
|
@@ -16979,10 +16955,10 @@ var JSONSchemaGenerator = class {
|
|
|
16979
16955
|
}
|
|
16980
16956
|
};
|
|
16981
16957
|
|
|
16982
|
-
// node_modules/zod/v4/core/json-schema.js
|
|
16958
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema.js
|
|
16983
16959
|
var json_schema_exports = {};
|
|
16984
16960
|
|
|
16985
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
16961
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
|
|
16986
16962
|
var schemas_exports2 = {};
|
|
16987
16963
|
__export(schemas_exports2, {
|
|
16988
16964
|
ZodAny: () => ZodAny,
|
|
@@ -17163,7 +17139,7 @@ __export(schemas_exports2, {
|
|
|
17163
17139
|
xor: () => xor
|
|
17164
17140
|
});
|
|
17165
17141
|
|
|
17166
|
-
// node_modules/zod/v4/classic/checks.js
|
|
17142
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/checks.js
|
|
17167
17143
|
var checks_exports2 = {};
|
|
17168
17144
|
__export(checks_exports2, {
|
|
17169
17145
|
endsWith: () => _endsWith,
|
|
@@ -17198,7 +17174,7 @@ __export(checks_exports2, {
|
|
|
17198
17174
|
uppercase: () => _uppercase
|
|
17199
17175
|
});
|
|
17200
17176
|
|
|
17201
|
-
// node_modules/zod/v4/classic/errors.js
|
|
17177
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.js
|
|
17202
17178
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
17203
17179
|
function _lazyMethod(proto, key, make) {
|
|
17204
17180
|
Object.defineProperty(proto, key, {
|
|
@@ -17244,7 +17220,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
17244
17220
|
Parent: Error
|
|
17245
17221
|
});
|
|
17246
17222
|
|
|
17247
|
-
// node_modules/zod/v4/classic/parse.js
|
|
17223
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.js
|
|
17248
17224
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
17249
17225
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
17250
17226
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -17258,7 +17234,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
17258
17234
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
17259
17235
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
17260
17236
|
|
|
17261
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
17237
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
|
|
17262
17238
|
function _ensureDefaultLocale() {
|
|
17263
17239
|
if (!globalConfig.localeError)
|
|
17264
17240
|
config(en_default());
|
|
@@ -18723,7 +18699,7 @@ function preprocess(fn, schema) {
|
|
|
18723
18699
|
});
|
|
18724
18700
|
}
|
|
18725
18701
|
|
|
18726
|
-
// node_modules/zod/v4/classic/compat.js
|
|
18702
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.js
|
|
18727
18703
|
var ZodIssueCode = {
|
|
18728
18704
|
invalid_type: "invalid_type",
|
|
18729
18705
|
too_big: "too_big",
|
|
@@ -18749,7 +18725,7 @@ var ZodFirstPartyTypeKind;
|
|
|
18749
18725
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
18750
18726
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
18751
18727
|
|
|
18752
|
-
// node_modules/zod/v4/classic/iso.js
|
|
18728
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.js
|
|
18753
18729
|
var iso_exports = {};
|
|
18754
18730
|
__export(iso_exports, {
|
|
18755
18731
|
ZodISODate: () => ZodISODate,
|
|
@@ -18774,7 +18750,7 @@ function duration2(params) {
|
|
|
18774
18750
|
return _isoDuration(ZodISODuration, params);
|
|
18775
18751
|
}
|
|
18776
18752
|
|
|
18777
|
-
// node_modules/zod/v4/classic/from-json-schema.js
|
|
18753
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.js
|
|
18778
18754
|
var z = {
|
|
18779
18755
|
...schemas_exports2,
|
|
18780
18756
|
...checks_exports2,
|
|
@@ -19507,7 +19483,7 @@ function fromJSONSchema(schema, params) {
|
|
|
19507
19483
|
return convertSchema(normalized, ctx);
|
|
19508
19484
|
}
|
|
19509
19485
|
|
|
19510
|
-
// node_modules/zod/v4/core/visit.js
|
|
19486
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/visit.js
|
|
19511
19487
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
19512
19488
|
function visit(schema, fnOrHandlers) {
|
|
19513
19489
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -19662,7 +19638,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
19662
19638
|
return run(schema);
|
|
19663
19639
|
}
|
|
19664
19640
|
|
|
19665
|
-
// node_modules/zod/v4/classic/deep-partial.js
|
|
19641
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.js
|
|
19666
19642
|
function deepPartial(schema) {
|
|
19667
19643
|
return visit(schema, {
|
|
19668
19644
|
object: (s) => s.partial(),
|
|
@@ -19674,7 +19650,7 @@ function deepPartial(schema) {
|
|
|
19674
19650
|
});
|
|
19675
19651
|
}
|
|
19676
19652
|
|
|
19677
|
-
// node_modules/zod/v4/classic/in-out.js
|
|
19653
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.js
|
|
19678
19654
|
function withChecks(side, checks) {
|
|
19679
19655
|
if (!checks?.length)
|
|
19680
19656
|
return side;
|
|
@@ -19704,7 +19680,7 @@ function output(schema) {
|
|
|
19704
19680
|
});
|
|
19705
19681
|
}
|
|
19706
19682
|
|
|
19707
|
-
// node_modules/zod/v4/classic/coerce.js
|
|
19683
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.js
|
|
19708
19684
|
var coerce_exports = {};
|
|
19709
19685
|
__export(coerce_exports, {
|
|
19710
19686
|
bigint: () => bigint3,
|
|
@@ -19729,33 +19705,12 @@ function date4(params) {
|
|
|
19729
19705
|
return _coercedDate(ZodDate, params);
|
|
19730
19706
|
}
|
|
19731
19707
|
|
|
19732
|
-
// src/
|
|
19733
|
-
var CATEGORY_IDS = [
|
|
19734
|
-
"release",
|
|
19735
|
-
"fall",
|
|
19736
|
-
"halloween",
|
|
19737
|
-
"christmas",
|
|
19738
|
-
"summer",
|
|
19739
|
-
"valentines",
|
|
19740
|
-
"mood",
|
|
19741
|
-
"retro",
|
|
19742
|
-
"synthwave",
|
|
19743
|
-
"street",
|
|
19744
|
-
"nature",
|
|
19745
|
-
"luxury",
|
|
19746
|
-
"abstract",
|
|
19747
|
-
"minimal",
|
|
19748
|
-
"neon",
|
|
19749
|
-
"pop-art",
|
|
19750
|
-
"lo-fi",
|
|
19751
|
-
"grunge",
|
|
19752
|
-
"cosmic",
|
|
19753
|
-
"cyber",
|
|
19754
|
-
"dreamy"
|
|
19755
|
-
];
|
|
19708
|
+
// ../composition/src/song.ts
|
|
19756
19709
|
var SPECTRUM_BANDS = 32;
|
|
19757
19710
|
var SECTION_TYPES = ["intro", "verse", "chorus", "drop", "bridge", "outro"];
|
|
19758
19711
|
var FRAME_BYTES = 5 + SPECTRUM_BANDS;
|
|
19712
|
+
|
|
19713
|
+
// ../composition/src/clips.ts
|
|
19759
19714
|
var CUT_DENSITIES = ["one", "fewer", "even", "more"];
|
|
19760
19715
|
var MAX_CLIP_SOURCES = 50;
|
|
19761
19716
|
var TRANSITIONS = {
|
|
@@ -19859,6 +19814,8 @@ var EditSchema = external_exports.object({
|
|
|
19859
19814
|
density: external_exports.enum(CUT_DENSITIES),
|
|
19860
19815
|
clips: external_exports.array(EditClipSchema).min(1).max(6e3)
|
|
19861
19816
|
}).strict();
|
|
19817
|
+
|
|
19818
|
+
// ../composition/src/fonts.ts
|
|
19862
19819
|
var FONTS = {
|
|
19863
19820
|
inter: { family: "Inter", kind: "sans", weights: [300, 500, 700, 800] },
|
|
19864
19821
|
montserrat: { family: "Montserrat", kind: "sans", weights: [500, 700, 800] },
|
|
@@ -19918,6 +19875,8 @@ var SCRIPT_FONTS = [
|
|
|
19918
19875
|
];
|
|
19919
19876
|
var SCRIPT_FONT_STACK = SCRIPT_FONTS.map((f) => `"${f.family}"`).join(", ");
|
|
19920
19877
|
var SCRIPT_CHAR = new RegExp(`[${SCRIPT_FONTS.flatMap((f) => f.range.split(",")).map((r) => r.replace("U+", "").split("-").map((h) => `\\u{${h}}`).join("-")).join("")}]`, "gu");
|
|
19878
|
+
|
|
19879
|
+
// ../composition/src/effects.ts
|
|
19921
19880
|
var EFFECTS = {
|
|
19922
19881
|
"light-leak": { name: "Light leak", group: "light" },
|
|
19923
19882
|
"god-rays": { name: "God rays", group: "light" },
|
|
@@ -19939,6 +19898,8 @@ var DEFAULT_EFFECT_AMOUNT = 0.6;
|
|
|
19939
19898
|
var EffectSchema = external_exports.object({ id: external_exports.enum(EFFECT_IDS), amount: external_exports.number().min(0).max(1).default(DEFAULT_EFFECT_AMOUNT) }).strict();
|
|
19940
19899
|
var EffectsSchema = external_exports.array(EffectSchema).max(MAX_EFFECTS).refine((list) => new Set(list.map((e) => e.id)).size === list.length, { message: "Each effect once" });
|
|
19941
19900
|
var TAU = Math.PI * 2;
|
|
19901
|
+
|
|
19902
|
+
// ../composition/src/visualizers/engine-ids.ts
|
|
19942
19903
|
var VIZZ_ENGINE_IDS = [
|
|
19943
19904
|
"mesh-grid",
|
|
19944
19905
|
"sphericalShader",
|
|
@@ -19954,6 +19915,8 @@ var VIZZ_ENGINE_IDS = [
|
|
|
19954
19915
|
];
|
|
19955
19916
|
var LIQUID_ENGINE = "liquid";
|
|
19956
19917
|
var VISUALIZER_ENGINE_IDS = [...VIZZ_ENGINE_IDS, LIQUID_ENGINE];
|
|
19918
|
+
|
|
19919
|
+
// ../composition/src/short-styles.ts
|
|
19957
19920
|
var S = (x, y, blur, opacity) => ({ x, y, blur, opacity });
|
|
19958
19921
|
var F = (font2, weight, more = {}) => ({ font: font2, weight, ...more });
|
|
19959
19922
|
var SHORT_SPECS = {
|
|
@@ -20243,6 +20206,8 @@ var MIXTAPE_FLICKER = [
|
|
|
20243
20206
|
F("permanent-marker", 400),
|
|
20244
20207
|
F("abril-fatface", 400)
|
|
20245
20208
|
];
|
|
20209
|
+
|
|
20210
|
+
// ../composition/src/lyric-styles.ts
|
|
20246
20211
|
var LYRIC_STAGES = ["showcase", "kinetic"];
|
|
20247
20212
|
var LYRIC_LAYOUTS = ["line", "stack", "word", "scatter", "typewriter", "cascade", "subtitle", "chat", "short"];
|
|
20248
20213
|
var SHADER_REVEALS = ["burn", "ink", "smoke", "particles", "drip"];
|
|
@@ -20701,6 +20666,8 @@ function styleParts(id3) {
|
|
|
20701
20666
|
const s = LYRIC_STYLES[id3];
|
|
20702
20667
|
return { style: id3, lyrics: { ...s.lyrics }, fx: { ...s.fx }, spectrum: { ...s.spectrum }, finish: { ...s.finish }, player: s.player, hero: s.hero ?? "none" };
|
|
20703
20668
|
}
|
|
20669
|
+
|
|
20670
|
+
// ../composition/src/look.ts
|
|
20704
20671
|
var LOOK_VERSION = 3;
|
|
20705
20672
|
var ASPECT_RATIOS = ["9:16", "16:9", "1:1"];
|
|
20706
20673
|
var AspectRatioSchema = external_exports.enum(ASPECT_RATIOS);
|
|
@@ -20886,6 +20853,8 @@ var DisplaySchema = external_exports.object({
|
|
|
20886
20853
|
// omitted: 1
|
|
20887
20854
|
}).strict();
|
|
20888
20855
|
var DEFAULT_DISPLAY = { title: true, artist: true, cover: true, lyrics: true, badges: true };
|
|
20856
|
+
|
|
20857
|
+
// ../composition/src/colours.ts
|
|
20889
20858
|
var COLOUR_SETS = {
|
|
20890
20859
|
midnight: { label: "Midnight", palette: { text: "#F4F6FF", muted: "#AEB8DD", accent: "#5B8CFF", accent2: "#9B7BFF", shade: "#070B1A" } },
|
|
20891
20860
|
ember: { label: "Ember", palette: { text: "#FFF4EC", muted: "#E3BBA4", accent: "#FF6A2B", accent2: "#FFB23F", shade: "#160805" } },
|
|
@@ -20900,6 +20869,8 @@ var COLOUR_SETS = {
|
|
|
20900
20869
|
};
|
|
20901
20870
|
var COLOUR_SET_IDS = Object.keys(COLOUR_SETS);
|
|
20902
20871
|
var COLOUR_CHOICES = ["style", "cover", ...COLOUR_SET_IDS];
|
|
20872
|
+
|
|
20873
|
+
// ../composition/src/defaults.ts
|
|
20903
20874
|
var EXAMPLE_LOOK = {
|
|
20904
20875
|
version: LOOK_VERSION,
|
|
20905
20876
|
category: "release",
|
|
@@ -20938,12 +20909,14 @@ var EXAMPLE_LOOK = {
|
|
|
20938
20909
|
},
|
|
20939
20910
|
motion: { energy: 0.6, intro: "rise" }
|
|
20940
20911
|
};
|
|
20941
|
-
|
|
20912
|
+
|
|
20913
|
+
// ../composition/src/outro.ts
|
|
20914
|
+
var hex4 = external_exports.string().regex(/^#[0-9a-fA-F]{6}$/);
|
|
20942
20915
|
var font = external_exports.enum(FONT_IDS);
|
|
20943
20916
|
var OUTRO_BACKDROPS = ["scrim", "darken", "blur"];
|
|
20944
20917
|
var OUTRO_TRANSITIONS = ["none", "flash", "glitch", "burn"];
|
|
20945
20918
|
var OutroDesignSchema = external_exports.object({
|
|
20946
|
-
palette: external_exports.object({ text:
|
|
20919
|
+
palette: external_exports.object({ text: hex4, muted: hex4, accent: hex4, shade: hex4 }).strict(),
|
|
20947
20920
|
title_font: font,
|
|
20948
20921
|
artist_font: font,
|
|
20949
20922
|
title_uppercase: external_exports.boolean(),
|
|
@@ -20960,6 +20933,8 @@ var OutroDesignSchema = external_exports.object({
|
|
|
20960
20933
|
transition: external_exports.enum(OUTRO_TRANSITIONS)
|
|
20961
20934
|
}).strict();
|
|
20962
20935
|
var OutroDisplaySchema = DisplaySchema.omit({ lyrics: true, headline: true, title_card: true });
|
|
20936
|
+
|
|
20937
|
+
// ../composition/src/visualizers/choice-schema.ts
|
|
20963
20938
|
var VISUAL_STRENGTH = { min: 0.1, max: 1, step: 0.05 };
|
|
20964
20939
|
var VisualKeySchema = external_exports.string().regex(/^[A-Za-z0-9-]+\/[a-z0-9-]+$/, 'A visual key from GET /v1/options (visualizers), like "liquid/amber-aurora"');
|
|
20965
20940
|
var VisualChoiceSchema = external_exports.object({
|
|
@@ -20971,6 +20946,8 @@ var VisualChoiceSchema = external_exports.object({
|
|
|
20971
20946
|
* always plays it at full strength. */
|
|
20972
20947
|
strength: external_exports.number().min(VISUAL_STRENGTH.min).max(VISUAL_STRENGTH.max).optional()
|
|
20973
20948
|
}).strict();
|
|
20949
|
+
|
|
20950
|
+
// ../composition/src/background-motion.ts
|
|
20974
20951
|
var DIRECTIONS = {
|
|
20975
20952
|
center: [0, 0],
|
|
20976
20953
|
up: [0, -1],
|
|
@@ -20982,6 +20959,8 @@ var DIRECTIONS = {
|
|
|
20982
20959
|
"down-left": [-Math.SQRT1_2, Math.SQRT1_2],
|
|
20983
20960
|
"down-right": [Math.SQRT1_2, Math.SQRT1_2]
|
|
20984
20961
|
};
|
|
20962
|
+
|
|
20963
|
+
// ../composition/src/stock.ts
|
|
20985
20964
|
var STOCK_PROVIDERS = {
|
|
20986
20965
|
pexels: { name: "Pexels", url: "https://www.pexels.com", kinds: ["photo", "video"] },
|
|
20987
20966
|
// Pixabay's API serves photos at most 1280 px: too small for a background, so only its videos are offered.
|
|
@@ -20989,9 +20968,13 @@ var STOCK_PROVIDERS = {
|
|
|
20989
20968
|
};
|
|
20990
20969
|
var STOCK_PROVIDER_IDS = Object.keys(STOCK_PROVIDERS);
|
|
20991
20970
|
var STOCK_ITEM_ID_PATTERN = new RegExp(`^(?:(${STOCK_PROVIDER_IDS.join("|")}):)?\\d{1,20}$`);
|
|
20971
|
+
|
|
20972
|
+
// ../composition/src/clips-editor.ts
|
|
20992
20973
|
var VISUAL_ENERGIES = [{ value: "all", label: "All" }, { value: "calm", label: "Calm" }, { value: "medium", label: "Medium" }, { value: "bold", label: "Bold" }];
|
|
20993
20974
|
var CLIP_SORTS = [{ value: "best", label: "Best first" }, { value: "newest", label: "Newest" }, { value: "length", label: "Length" }];
|
|
20994
20975
|
var CLIP_BROWSE_SHAPES = [{ value: "both", label: "Both" }, { value: "tall", label: "Tall" }, { value: "wide", label: "Wide" }];
|
|
20976
|
+
|
|
20977
|
+
// ../composition/src/canvas-frame.ts
|
|
20995
20978
|
var CANVAS_SPEEDS = [0.25, ...CLIP_SPEEDS];
|
|
20996
20979
|
var CANVAS_CROSSFADE = { min: 0.25, max: 2, default: 0.75, step: 0.05 };
|
|
20997
20980
|
var CANVAS_CAMERAS = ["still", "push", "pull"];
|
|
@@ -21000,6 +20983,8 @@ var CANVAS_ROTATIONS = [0, 90, 180, 270];
|
|
|
21000
20983
|
var CANVAS_ZOOM = { min: 1, max: 3 };
|
|
21001
20984
|
var HEX_COLOUR = /^#[0-9a-fA-F]{6}$/;
|
|
21002
20985
|
var DEFAULT_CANVAS_FRAME = { crossfade: CANVAS_CROSSFADE.default, camera: "still", fade: false, x: 0, y: 0, zoom: 1, rotate: 0, colour: null, steady: false };
|
|
20986
|
+
|
|
20987
|
+
// ../composition/src/canvas-settings.ts
|
|
21003
20988
|
var CANVAS_SECONDS = { min: 3, max: 8, default: 8 };
|
|
21004
20989
|
var CANVAS_VISUAL_KEY = /^[A-Za-z0-9-]+\/[a-z0-9-]+$/;
|
|
21005
20990
|
var CanvasLookSchema = external_exports.object({
|
|
@@ -21018,6 +21003,8 @@ var CanvasLookSchema = external_exports.object({
|
|
|
21018
21003
|
light: external_exports.string().regex(CANVAS_VISUAL_KEY, "A visual key from GET /v1/options (canvas.visuals)").nullable().default(null),
|
|
21019
21004
|
atmosphere: external_exports.enum(OVERLAYS).default("none")
|
|
21020
21005
|
}).strict().refine((v) => v.fill !== "colour" || v.fill_colour, { message: "A colour fill needs fill_colour", path: ["fill_colour"] });
|
|
21006
|
+
|
|
21007
|
+
// ../video-types/src/kit.ts
|
|
21021
21008
|
var KIT_KINDS = ["outfit", "place", "prop"];
|
|
21022
21009
|
var KIT_ANGLES = ["wide", "three-quarter", "side", "reverse", "corner", "low", "high", "overhead", "detail", "framed"];
|
|
21023
21010
|
var KIT_ANGLE_LINES = {
|
|
@@ -21038,6 +21025,8 @@ var SHOT_ANGLES = ["front", "three-quarter", "side", "low", "high", "over-should
|
|
|
21038
21025
|
var SHOT_MOVES = ["push-in", "pull-out", "arc", "tilt", "dolly", "handheld", "locked-off"];
|
|
21039
21026
|
var CHARACTER_DESCRIPTION_MIN = 10;
|
|
21040
21027
|
var CHARACTER_DESCRIPTION_MAX = 600;
|
|
21028
|
+
|
|
21029
|
+
// ../video-types/src/model-guide.ts
|
|
21041
21030
|
var AA_T2V = { board: "Artificial Analysis \xB7 Text to video with audio", source: "Artificial Analysis Video Arena", url: "https://artificialanalysis.ai/video/leaderboard/text-to-video" };
|
|
21042
21031
|
var AA_I2V = { board: "Artificial Analysis \xB7 Image to video with audio", source: "Artificial Analysis Video Arena", url: "https://artificialanalysis.ai/video/leaderboard/image-to-video" };
|
|
21043
21032
|
var DA_MULTI = { board: "DesignArena \xB7 Multi-image to video", source: "DesignArena", url: "https://designarena.ai/leaderboard?tab=video§ion=video&board=multi-to-video" };
|
|
@@ -21093,6 +21082,8 @@ var MUSIC_VIDEO_MODEL_GUIDES = {
|
|
|
21093
21082
|
benchmarks: [{ ...DA_MULTI, entry: "Seedance 2.0 Mini", score: 1292, date: READ }]
|
|
21094
21083
|
}
|
|
21095
21084
|
};
|
|
21085
|
+
|
|
21086
|
+
// ../video-types/src/visual-styles.ts
|
|
21096
21087
|
var MUSIC_VIDEO_STYLE_IDS = [
|
|
21097
21088
|
"natural",
|
|
21098
21089
|
"film",
|
|
@@ -21113,6 +21104,8 @@ var MUSIC_VIDEO_STYLE_IDS = [
|
|
|
21113
21104
|
"anime",
|
|
21114
21105
|
"clay"
|
|
21115
21106
|
];
|
|
21107
|
+
|
|
21108
|
+
// ../video-types/src/cover-art.ts
|
|
21116
21109
|
var COVER_STYLE_IDS = ["auto", "portrait", "snapshot", "film-still", "object", "place", "painted", "illustrated", "cartoon", "anime", "collage", "3d", "graphic", "type"];
|
|
21117
21110
|
var COVER_VIBE_IDS = ["dark", "sad", "romantic", "aggressive", "luxury", "aesthetic", "urban", "hood", "space", "surreal", "vintage"];
|
|
21118
21111
|
var COVER_VIBES_MAX = 2;
|
|
@@ -21165,6 +21158,8 @@ var CoverRequestSchema = external_exports.object({
|
|
|
21165
21158
|
credits: external_exports.number().int().positive()
|
|
21166
21159
|
}).strict().refine((r) => r.style !== "type" || r.words !== "none", { message: "The Type style needs words: title, or artist and title", path: ["words"] });
|
|
21167
21160
|
var CoverRedrawSchema = external_exports.object({ cover_id: external_exports.string().min(1), note: external_exports.string().trim().min(1).max(COVER_NOTE_MAX), credits: external_exports.number().int().positive() }).strict();
|
|
21161
|
+
|
|
21162
|
+
// ../video-types/src/song-models.ts
|
|
21168
21163
|
var SONG_MODEL_IDS = ["mureka-v9-5", "lyria-3-5", "eleven-music-v2-5", "minimax-music-3"];
|
|
21169
21164
|
var DEFAULT_SONG_MODEL = "mureka-v9-5";
|
|
21170
21165
|
var SONG_TAKES = { min: 1, max: 4 };
|
|
@@ -21196,6 +21191,8 @@ var SongDraftFormSchema = external_exports.object({
|
|
|
21196
21191
|
write_id: external_exports.string().max(80).optional()
|
|
21197
21192
|
}).strict();
|
|
21198
21193
|
var SongWritePickSchema = external_exports.object({ style: external_exports.boolean().optional(), voice: external_exports.boolean().optional() }).strict();
|
|
21194
|
+
|
|
21195
|
+
// ../video-types/src/index.ts
|
|
21199
21196
|
var MAX_VARIATIONS = 4;
|
|
21200
21197
|
var variations = external_exports.number().int().min(1).max(MAX_VARIATIONS).default(1);
|
|
21201
21198
|
var MIN_TRIM_SECONDS = 8;
|
|
@@ -21656,7 +21653,14 @@ var MusicVideoRequestSchema = external_exports.object({
|
|
|
21656
21653
|
if (value.test && (value.outro || value.refinish || value.variations > 1)) ctx.addIssue({ code: "custom", path: ["test"], message: "A test is one video without an outro: leave outro, refinish and variations out" });
|
|
21657
21654
|
});
|
|
21658
21655
|
var VideoRequestSchema = external_exports.discriminatedUnion("type", [LyricVideoRequestSchema, CanvasRequestSchema, MusicVideoRequestSchema]);
|
|
21656
|
+
|
|
21657
|
+
// ../api-spec/src/community.ts
|
|
21658
|
+
var IDEA_AREAS = ["lyric-video", "music-video", "canvas", "songs", "cover-art", "artist-page", "clips", "showcase", "everything"];
|
|
21659
|
+
|
|
21660
|
+
// ../api-spec/src/song-brief.ts
|
|
21659
21661
|
var SONG_BRIEF_LIMITS = { theme: 400, tone: 80, story: 1200, setting: 300, section: 60, feeling: 240, sections: 40 };
|
|
21662
|
+
|
|
21663
|
+
// ../api-spec/src/artist-pages.ts
|
|
21660
21664
|
var seg = (re) => (url2) => url2.pathname.match(re)?.[1] ?? null;
|
|
21661
21665
|
var PLATFORMS = [
|
|
21662
21666
|
{ id: "apple_music", name: "Apple Music", category: "listen", icon: "applemusic", color: "#FA243C", hosts: ["music.apple.com", "itunes.apple.com"], externalId: seg(/\/artist\/(?:[^/]+\/)?(\d+)/) },
|
|
@@ -21821,7 +21825,7 @@ var PAGE_THEMES = ["stage", "paper", "neon", "studio"];
|
|
|
21821
21825
|
var PAGE_FONTS = ["anton", "fraunces", "unbounded", "bebas", "archivo", "playfair"];
|
|
21822
21826
|
var PAGE_BUTTONS = ["solid", "outline", "pill"];
|
|
21823
21827
|
var PAGE_LAYOUTS = ["column", "split"];
|
|
21824
|
-
var
|
|
21828
|
+
var hex5 = external_exports.string().regex(/^#[0-9a-f]{6}$/i, "A colour like #f0a845");
|
|
21825
21829
|
var id = external_exports.string().min(1).max(80);
|
|
21826
21830
|
var sectionBase = { id: external_exports.string().min(1).max(40), visible: external_exports.boolean().default(true), title: external_exports.string().trim().max(60).nullable().default(null) };
|
|
21827
21831
|
var PageSectionSchema = external_exports.discriminatedUnion("type", [
|
|
@@ -21845,8 +21849,8 @@ var PageSectionSchema = external_exports.discriminatedUnion("type", [
|
|
|
21845
21849
|
]);
|
|
21846
21850
|
var PageDocSchema = external_exports.object({
|
|
21847
21851
|
theme: external_exports.enum(PAGE_THEMES).default("stage"),
|
|
21848
|
-
accent:
|
|
21849
|
-
background: external_exports.discriminatedUnion("kind", [external_exports.object({ kind: external_exports.literal("color"), color:
|
|
21852
|
+
accent: hex5.nullable().default(null).describe("null uses the theme's accent"),
|
|
21853
|
+
background: external_exports.discriminatedUnion("kind", [external_exports.object({ kind: external_exports.literal("color"), color: hex5 }), external_exports.object({ kind: external_exports.literal("photo") })]).nullable().default(null),
|
|
21850
21854
|
font: external_exports.enum(PAGE_FONTS).nullable().default(null),
|
|
21851
21855
|
buttons: external_exports.enum(PAGE_BUTTONS).nullable().default(null),
|
|
21852
21856
|
layout: external_exports.enum(PAGE_LAYOUTS).nullable().default(null),
|
|
@@ -21863,14 +21867,20 @@ var PageDocSchema = external_exports.object({
|
|
|
21863
21867
|
}).default({ ga4: null, meta_pixel: null, tiktok_pixel: null }).describe("The artist's own tracking IDs (plans only); pixels load after the fan accepts")
|
|
21864
21868
|
});
|
|
21865
21869
|
var PageDocPatchSchema = external_exports.object(Object.fromEntries(Object.entries(PageDocSchema.shape).map(([key, schema]) => [key, (schema instanceof external_exports.ZodDefault ? schema.unwrap() : schema).optional()])));
|
|
21870
|
+
|
|
21871
|
+
// ../api-spec/src/versioning.ts
|
|
21866
21872
|
var API_VERSION = 1;
|
|
21867
21873
|
var deprecationNote = (d) => `Deprecated since ${d.since}${d.use ? `: use ${d.use} instead` : ""}. It stops working on ${d.sunset}.`;
|
|
21874
|
+
|
|
21875
|
+
// ../api-spec/src/queue.ts
|
|
21868
21876
|
var minutes = (seconds) => Math.max(1, Math.round(seconds / 60));
|
|
21869
21877
|
function queueLabel(queue) {
|
|
21870
21878
|
if (queue.reason === "plan_limit") return queue.position && queue.position > 1 ? `#${queue.position} in line` : "Next in line";
|
|
21871
21879
|
if (queue.reason === "generator_capacity") return queue.position && queue.position > 1 ? `Generators busy \xB7 #${queue.position} in line` : "Generators busy \xB7 next in line";
|
|
21872
21880
|
return queue.estimated_wait_seconds != null ? `Machines busy \xB7 about ${minutes(queue.estimated_wait_seconds)} min` : "Machines busy";
|
|
21873
21881
|
}
|
|
21882
|
+
|
|
21883
|
+
// ../api-spec/src/index.ts
|
|
21874
21884
|
var SCOPES = ["videos:read", "videos:write", "music:read", "music:write", "library:read", "library:write", "organizations:read", "organizations:write"];
|
|
21875
21885
|
var SCOPE_DESCRIPTIONS = {
|
|
21876
21886
|
"videos:read": "See videos, quotes and your credit balance",
|
|
@@ -21938,7 +21948,7 @@ var lyricInput = external_exports.object({
|
|
|
21938
21948
|
display: lyricShape.display.describe("Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes. clips false leaves the clips out (the video's ground in its colours, with its visual if it has one); song false leaves the song out of the sound (a silent video); both default to on. title_card: when a kinetic lyric style shows its big title card instead of the small label: ends (before the first line and after the last; the default over clips), breaks (also every break of 3 s or more; the default otherwise) or label (never). censor: true shows swear words with their vowels as * (the song is untouched)"),
|
|
21939
21949
|
trim: lyricShape.trim.describe("Render only this section of the song (at least 8 seconds). Best: a part from get_song_analysis (parts[]: its start and end never cut a word)"),
|
|
21940
21950
|
variations: lyricShape.variations.describe("1\u20134 videos with a clips picture, each drawing other clips (the next seed); one otherwise"),
|
|
21941
|
-
edit: lyricShape.edit.describe(`A clips picture's cut: {"seed":7} draws the clips (same seed, same video; another seed, other clips on the same cuts), or "clips" lists them exactly as a studio previewed them (list_clips and @kinetune/composition planEdit: {clip_id, at, in, duration, transition}, each cut where you want it, each clip from where you want it to start); a clip may also set its own transition's transition_seconds (0.07\u20131), direction (left, right, up, down: whip, stack, wipe, slip, slice) and intensity (0\u20131, 0.5 as designed: hits, zooms, flashes, warps); one variation only`)
|
|
21951
|
+
edit: lyricShape.edit.describe(`A clips picture's cut: {"seed":7} draws the clips (same seed, same video; another seed, other clips on the same cuts; the sung shots of this song's music videos land on their own words), or "clips" lists them exactly as a studio previewed them (list_clips and @kinetune/composition planEdit: {clip_id, at, in, duration, transition}, each cut where you want it, each clip from where you want it to start; a sung shot, list_clips sync, only where trim start + at to + duration lies inside its song seconds, and it starts on its own frame whatever in says; anywhere else 400); a clip may also set its own transition's transition_seconds (0.07\u20131), direction (left, right, up, down: whip, stack, wipe, slip, slice) and intensity (0\u20131, 0.5 as designed: hits, zooms, flashes, warps); one variation only`)
|
|
21942
21952
|
});
|
|
21943
21953
|
var legacy = (schema, use) => schema.optional().meta({ deprecated: true, "x-sunset": CANVAS_LEGACY_SUNSET }).describe(`Deprecated: use ${use}. Stops working on ${CANVAS_LEGACY_SUNSET}.`);
|
|
21944
21954
|
var CANVAS_LEGACY_INPUT = {
|
|
@@ -23794,7 +23804,7 @@ var OPERATIONS = [
|
|
|
23794
23804
|
group: "clips",
|
|
23795
23805
|
title: "Change the video draft",
|
|
23796
23806
|
summary: "Change the person's lyric video or Canvas draft: style, clips, a clip at a cut, transitions, grade, effects, format",
|
|
23797
|
-
description: "Changes the draft get_video_draft answers, as the editor would, and saves it: the person sees the same draft in the editor (with no change, it only saves it, for editor_url). Send only what changes. Clips: sources (Stock mood ids from get_options clip_moods or browse_clip_mood; the workspace's folders from list_clip_folders, where the person's own uploads and the clips cut from their links land: import_clips), shuffle (other clips on the same cuts), replace [{cut, clip_id}] (one clip at a cut, e.g. one found with similar_clips or list_clips), joins [{cut, transition, seconds, direction, intensity}] (the transition into a cut: get_options transitions, or cut), starts [{cut, at}] (where in its clip a cut starts). Style: lyric_style, behind, visual, visual_strength (how strongly the visual shows over clips, 0.1\u20131; null: the visual's own level; get_video_draft answers the level it shows at). Recipe: density, transitions {style, amount, feel}, grade, grade_amount, effects, shape, fill, speed. format 9:16 or 16:9, trim (null: the whole song), display. Canvas (type canvas): picture clips|cover|visualizer, loop, seconds, cut, motion, visual, light, atmosphere, frame, effects. reset true starts over from the song's rules draft. A change to sources, density, shape, speed, seed, format or section plans a new cut and lets go of clips put in by hand. Answers the draft (cuts, request) like get_video_draft. Free (no AI); only making the video costs, after a quote and the person's yes.",
|
|
23807
|
+
description: "Changes the draft get_video_draft answers, as the editor would, and saves it: the person sees the same draft in the editor (with no change, it only saves it, for editor_url). Send only what changes. Clips: sources (Stock mood ids from get_options clip_moods or browse_clip_mood; the workspace's folders from list_clip_folders, where the person's own uploads and the clips cut from their links land: import_clips), shuffle (other clips on the same cuts), replace [{cut, clip_id}] (one clip at a cut, e.g. one found with similar_clips or list_clips; a sung shot, list_clips sync, only at a cut of its own words, else 400), joins [{cut, transition, seconds, direction, intensity}] (the transition into a cut: get_options transitions, or cut), starts [{cut, at}] (where in its clip a cut starts; a sung shot starts on its own words, so 400). Style: lyric_style, behind, visual, visual_strength (how strongly the visual shows over clips, 0.1\u20131; null: the visual's own level; get_video_draft answers the level it shows at). Recipe: density, transitions {style, amount, feel}, grade, grade_amount, effects, shape, fill, speed. format 9:16 or 16:9, trim (null: the whole song), display. Canvas (type canvas): picture clips|cover|visualizer, loop, seconds, cut, motion, visual, light, atmosphere, frame, effects. reset true starts over from the song's rules draft. A change to sources, density, shape, speed, seed, format or section plans a new cut and lets go of clips put in by hand. Answers the draft (cuts, request) like get_video_draft. Free (no AI); only making the video costs, after a quote and the person's yes.",
|
|
23798
23808
|
method: "PATCH",
|
|
23799
23809
|
path: "/api/v1/songs/{song_id}/video-draft",
|
|
23800
23810
|
scopes: ["videos:write"],
|
|
@@ -23828,7 +23838,7 @@ var OPERATIONS = [
|
|
|
23828
23838
|
group: "clips",
|
|
23829
23839
|
title: "List clips",
|
|
23830
23840
|
summary: "The clips of library moods and your folders, to plan a clips video's cut",
|
|
23831
|
-
description: "The ready clips (1\u20135 s each) of as many sources together as your plan allows (get_account limits.clip_sources; more answers 402 plan_required): library moods (get_options clip_moods), and your folders (list_clip_folders). Each has id, source, cut_from (the source video it was cut from: pieces sharing one look alike), duration_seconds, width, height, energy (how much it moves, 0\u20131), brightness, color (its main colour, hex), preview_url (a light MP4), poster_url, subject (null until it is analysed: each clip, once and for everyone, the first time analyze_clips asks for it or a video is made with it: faces, each box as fractions of the poster x, y, w, h, which text keeps clear; aspect; and mask, the subject's silhouette, when it has a matte), subject_clear (whether it has a clear subject, a person or a solid figure, words can go behind; null until analysed), matte_url (null, or an MP4 holding the clip and its subject's mask side by side, or one over the other for a wide clip: made for a clear subject once words go behind it, then the words go behind the subject) and still_url and depth_url (a photo clip's picture and its depth map, white is near: it moves in 3D; null until analysed), loop_score (how well it loops as a Canvas drift, 0\u2013100; 60 and up loops well) and strip_url (ten frames along it, side by side); both null until measured, shortly after import. Send edit.seed and Kinetune draws the clips (with words behind the subject, clips with a clear subject under the sung lines), or plan the cut yourself and send edit.clips.",
|
|
23841
|
+
description: "The ready clips (1\u20135 s each) of as many sources together as your plan allows (get_account limits.clip_sources; more answers 402 plan_required): library moods (get_options clip_moods), and your folders (list_clip_folders). Each has id, source, cut_from (the source video it was cut from: pieces sharing one look alike), duration_seconds, width, height, energy (how much it moves, 0\u20131), brightness, color (its main colour, hex), preview_url (a light MP4), poster_url, subject (null until it is analysed: each clip, once and for everyone, the first time analyze_clips asks for it or a video is made with it: faces, each box as fractions of the poster x, y, w, h, which text keeps clear; aspect; and mask, the subject's silhouette, when it has a matte), subject_clear (whether it has a clear subject, a person or a solid figure, words can go behind; null until analysed), matte_url (null, or an MP4 holding the clip and its subject's mask side by side, or one over the other for a wide clip: made for a clear subject once words go behind it, then the words go behind the subject) and still_url and depth_url (a photo clip's picture and its depth map, white is near: it moves in 3D; null until analysed), loop_score (how well it loops as a Canvas drift, 0\u2013100; 60 and up loops well) and strip_url (ten frames along it, side by side); both null until measured, shortly after import. sync: a sung shot cut from one of your music videos, {song_id, start_seconds, end_seconds}, the seconds of its song it shows: it plays only in a lyric video of that song, where those seconds play, from its own frame, at speed 1, so the lips stay in time (Kinetune's cut, Replace and edit.clips keep to it; never in a Canvas); null: it plays anywhere. Send edit.seed and Kinetune draws the clips (with words behind the subject, clips with a clear subject under the sung lines), or plan the cut yourself and send edit.clips.",
|
|
23832
23842
|
method: "GET",
|
|
23833
23843
|
path: "/api/v1/clips",
|
|
23834
23844
|
scopes: ["videos:read", "videos:write", "library:read"],
|
|
@@ -24090,7 +24100,7 @@ var OPERATIONS = [
|
|
|
24090
24100
|
group: "clips",
|
|
24091
24101
|
title: "Get a clip folder",
|
|
24092
24102
|
summary: "A folder's clips and the imports still on their way",
|
|
24093
|
-
description: "clips (as list_clips) and imports (status queued, working or failed with error; done ones leave the list).",
|
|
24103
|
+
description: "clips (as list_clips, with sync on the sung shots of a music video) and imports (status queued, working or failed with error; done ones leave the list).",
|
|
24094
24104
|
method: "GET",
|
|
24095
24105
|
path: "/api/v1/clip-folders/{folder_id}",
|
|
24096
24106
|
scopes: ["videos:read", "videos:write", "library:read"],
|
|
@@ -24137,8 +24147,8 @@ var OPERATIONS = [
|
|
|
24137
24147
|
id: "clip_folders.import",
|
|
24138
24148
|
group: "clips",
|
|
24139
24149
|
title: "Import clips",
|
|
24140
|
-
summary: "Cut a video into clips in one of your folders: a link, a file
|
|
24141
|
-
description: "One of: url (a YouTube, TikTok or Instagram link, up to 20 minutes), file_url (a video or photo sent with create_upload)
|
|
24150
|
+
summary: "Cut a video into clips in one of your folders: a link, a file, a stock video or one of your music videos",
|
|
24151
|
+
description: "One of: url (a YouTube, TikTok or Instagram link, up to 20 minutes), file_url (a video or photo sent with create_upload), stock_id (a stock video from search_stock: it lands in this folder of yours, like any other source) or video_id (one of your delivered music videos: list_videos type music-video, status completed; lyric videos and Canvases are refused, and its end card is left out, so its shots can play in your lyric videos; once per folder, 409 when it is already there. Its sung shots keep their song seconds (list_clips sync) and play only on their own words in that song's lyric videos; the shots where nobody sings play in any video; where the music video was sung to its own voice rather than the song, its sung shots are left out). Kinetune cuts it at every scene change into clips of 1\u20135 s, in the background (get_clip_folder shows it on its way). Only use clips you have the rights to. Free with an active plan (402 plan_required without one; get_account: plan.active); counts toward your storage.",
|
|
24142
24152
|
method: "POST",
|
|
24143
24153
|
path: "/api/v1/clip-folders/{folder_id}/imports",
|
|
24144
24154
|
scopes: ["videos:write", "library:write"],
|
|
@@ -24146,7 +24156,8 @@ var OPERATIONS = [
|
|
|
24146
24156
|
folder_id: external_exports.string().regex(/^folder_[0-9a-f-]{36}$/).describe("A clip folder id (folder_\u2026; list_clip_folders)"),
|
|
24147
24157
|
url: external_exports.string().url().max(2e3).optional().describe("A YouTube, TikTok or Instagram link"),
|
|
24148
24158
|
file_url: httpsUrl("a video or photo").optional(),
|
|
24149
|
-
stock_id: StockIdSchema.optional().describe("A stock video id (search_stock kind video)")
|
|
24159
|
+
stock_id: StockIdSchema.optional().describe("A stock video id (search_stock kind video)"),
|
|
24160
|
+
video_id: external_exports.string().uuid().optional().describe("One of your delivered music videos (list_videos type music-video, status completed)")
|
|
24150
24161
|
}),
|
|
24151
24162
|
readOnly: false,
|
|
24152
24163
|
destructive: false,
|
|
@@ -24711,8 +24722,11 @@ var OPERATIONS = [
|
|
|
24711
24722
|
scopes: ["videos:read"],
|
|
24712
24723
|
input: external_exports.object({
|
|
24713
24724
|
song_id: songId.optional().describe("Only this song\u2019s videos"),
|
|
24725
|
+
except_song_id: songId.optional().describe("Every song\u2019s videos but this one\u2019s (a lyric video\u2019s music videos of other songs)"),
|
|
24714
24726
|
artist_id: artistId.optional().describe("Only videos of this artist\u2019s songs"),
|
|
24715
24727
|
type: external_exports.enum(["lyric-video", "canvas", "music-video"]).optional(),
|
|
24728
|
+
status: external_exports.enum(["queued", "processing", "completed", "failed", "cancelled"]).optional().describe("Only videos in this state (completed: delivered)"),
|
|
24729
|
+
in_folder: external_exports.string().regex(/^folder_[0-9a-f-]{36}$/).optional().describe("A clip folder id: each music video says in_folder, whether it is already cut into that folder (import_clips video_id)"),
|
|
24716
24730
|
quote_id: external_exports.string().uuid().optional().describe("Only the videos this quote made (none until it is used)"),
|
|
24717
24731
|
q: external_exports.string().trim().min(1).max(100).optional().describe("Search the song title, artist name or video id"),
|
|
24718
24732
|
limit: external_exports.number().int().min(1).max(100).optional(),
|
|
@@ -24989,7 +25003,7 @@ var OPERATIONS = [
|
|
|
24989
25003
|
input: external_exports.object({
|
|
24990
25004
|
title: external_exports.string().trim().min(6).max(120).describe("The idea in one line, in the person's words"),
|
|
24991
25005
|
body: external_exports.string().trim().max(2e3).optional().describe("How they would use it: their release, the platform, why it matters"),
|
|
24992
|
-
area: external_exports.enum(
|
|
25006
|
+
area: external_exports.enum(IDEA_AREAS).default("everything").describe(`What it is about: ${IDEA_AREAS.join(", ")} (everything: the whole app)`)
|
|
24993
25007
|
}),
|
|
24994
25008
|
readOnly: false,
|
|
24995
25009
|
destructive: false,
|
|
@@ -25011,7 +25025,7 @@ var OPERATIONS = [
|
|
|
25011
25025
|
q: external_exports.string().trim().max(100).optional().describe("Words in the title or details"),
|
|
25012
25026
|
sort: external_exports.enum(["top", "new"]).optional().describe("top (default: most voted) or new"),
|
|
25013
25027
|
status: external_exports.enum(["open", "under_review", "planned", "in_progress", "shipped", "declined"]).optional(),
|
|
25014
|
-
area: external_exports.enum(
|
|
25028
|
+
area: external_exports.enum(IDEA_AREAS).optional(),
|
|
25015
25029
|
yours: external_exports.boolean().optional().describe("Only the ones the person suggested or voted for"),
|
|
25016
25030
|
limit: external_exports.number().int().min(1).max(100).optional(),
|
|
25017
25031
|
cursor: external_exports.string().min(1).max(200).optional().describe("next_cursor from the previous page")
|
|
@@ -25159,8 +25173,8 @@ function openApiDocument(input2) {
|
|
|
25159
25173
|
const variants = ops.map((op) => {
|
|
25160
25174
|
const schema = inputJsonSchema(op);
|
|
25161
25175
|
const props2 = schema.properties ?? {};
|
|
25162
|
-
const
|
|
25163
|
-
return { op, props: props2, required:
|
|
25176
|
+
const required3 = new Set(schema.required ?? []);
|
|
25177
|
+
return { op, props: props2, required: required3 };
|
|
25164
25178
|
});
|
|
25165
25179
|
const { props, required: required2 } = variants[0];
|
|
25166
25180
|
const params = Object.entries(props).filter(([name]) => inPath.has(name) || first.method === "GET" || first.method === "DELETE").map(([name, s]) => ({
|
|
@@ -25235,7 +25249,7 @@ function openApiDocument(input2) {
|
|
|
25235
25249
|
}
|
|
25236
25250
|
var ref = (name) => ({ $ref: `#/components/schemas/${name}` });
|
|
25237
25251
|
|
|
25238
|
-
// node_modules/commander/lib/error.js
|
|
25252
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/error.js
|
|
25239
25253
|
var CommanderError = class extends Error {
|
|
25240
25254
|
/**
|
|
25241
25255
|
* Constructs the CommanderError class
|
|
@@ -25264,7 +25278,7 @@ var InvalidArgumentError = class extends CommanderError {
|
|
|
25264
25278
|
}
|
|
25265
25279
|
};
|
|
25266
25280
|
|
|
25267
|
-
// node_modules/commander/lib/argument.js
|
|
25281
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/argument.js
|
|
25268
25282
|
var Argument = class {
|
|
25269
25283
|
/**
|
|
25270
25284
|
* Initialize a new command argument with the given name and description.
|
|
@@ -25385,7 +25399,7 @@ function humanReadableArgName(arg) {
|
|
|
25385
25399
|
return arg.required ? "<" + nameOutput + ">" : "[" + nameOutput + "]";
|
|
25386
25400
|
}
|
|
25387
25401
|
|
|
25388
|
-
// node_modules/commander/lib/command.js
|
|
25402
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/command.js
|
|
25389
25403
|
import { EventEmitter } from "node:events";
|
|
25390
25404
|
import childProcess from "node:child_process";
|
|
25391
25405
|
import path from "node:path";
|
|
@@ -25393,7 +25407,7 @@ import fs from "node:fs";
|
|
|
25393
25407
|
import process2 from "node:process";
|
|
25394
25408
|
import { stripVTControlCharacters as stripVTControlCharacters2 } from "node:util";
|
|
25395
25409
|
|
|
25396
|
-
// node_modules/commander/lib/help.js
|
|
25410
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/help.js
|
|
25397
25411
|
import { stripVTControlCharacters } from "node:util";
|
|
25398
25412
|
var Help = class {
|
|
25399
25413
|
constructor() {
|
|
@@ -25462,11 +25476,11 @@ var Help = class {
|
|
|
25462
25476
|
visibleOptions.push(helpOption);
|
|
25463
25477
|
} else if (helpOption.long && !removeLong) {
|
|
25464
25478
|
visibleOptions.push(
|
|
25465
|
-
cmd.createOption(helpOption.long, helpOption.description)
|
|
25479
|
+
cmd.createOption(helpOption.long, helpOption.description)
|
|
25466
25480
|
);
|
|
25467
25481
|
} else if (helpOption.short && !removeShort) {
|
|
25468
25482
|
visibleOptions.push(
|
|
25469
|
-
cmd.createOption(helpOption.short, helpOption.description)
|
|
25483
|
+
cmd.createOption(helpOption.short, helpOption.description)
|
|
25470
25484
|
);
|
|
25471
25485
|
}
|
|
25472
25486
|
}
|
|
@@ -25985,7 +25999,7 @@ ${itemIndentStr}`);
|
|
|
25985
25999
|
}
|
|
25986
26000
|
};
|
|
25987
26001
|
|
|
25988
|
-
// node_modules/commander/lib/option.js
|
|
26002
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/option.js
|
|
25989
26003
|
var Option = class {
|
|
25990
26004
|
/**
|
|
25991
26005
|
* Initialize a new `Option` with the given `flags` and `description`.
|
|
@@ -25998,7 +26012,7 @@ var Option = class {
|
|
|
25998
26012
|
this.description = description || "";
|
|
25999
26013
|
this.required = flags.includes("<");
|
|
26000
26014
|
this.optional = flags.includes("[");
|
|
26001
|
-
this.variadic =
|
|
26015
|
+
this.variadic = /\w\.\.\.[>\]]$/.test(flags);
|
|
26002
26016
|
this.mandatory = false;
|
|
26003
26017
|
const optionFlags = splitOptionFlags(flags);
|
|
26004
26018
|
this.short = optionFlags.shortFlag;
|
|
@@ -26291,7 +26305,7 @@ function splitOptionFlags(flags) {
|
|
|
26291
26305
|
return { shortFlag, longFlag };
|
|
26292
26306
|
}
|
|
26293
26307
|
|
|
26294
|
-
// node_modules/commander/lib/suggestSimilar.js
|
|
26308
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/suggestSimilar.js
|
|
26295
26309
|
var maxDistance = 3;
|
|
26296
26310
|
function editDistance(a, b) {
|
|
26297
26311
|
if (Math.abs(a.length - b.length) > maxDistance)
|
|
@@ -26366,7 +26380,7 @@ function suggestSimilar(word, candidates) {
|
|
|
26366
26380
|
return "";
|
|
26367
26381
|
}
|
|
26368
26382
|
|
|
26369
|
-
// node_modules/commander/lib/command.js
|
|
26383
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/command.js
|
|
26370
26384
|
var Command = class _Command extends EventEmitter {
|
|
26371
26385
|
/**
|
|
26372
26386
|
* Initialize a new `Command`.
|
|
@@ -27181,7 +27195,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
27181
27195
|
getOptionValueSourceWithGlobals(key) {
|
|
27182
27196
|
let source;
|
|
27183
27197
|
this._getCommandAndAncestors().forEach((cmd) => {
|
|
27184
|
-
if (
|
|
27198
|
+
if (cmd.getOptionValueSource(key) !== void 0) {
|
|
27185
27199
|
source = cmd.getOptionValueSource(key);
|
|
27186
27200
|
}
|
|
27187
27201
|
});
|
|
@@ -27824,7 +27838,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
27824
27838
|
return arg.length > 1 && arg[0] === "-";
|
|
27825
27839
|
}
|
|
27826
27840
|
const negativeNumberArg = (arg) => {
|
|
27827
|
-
if (!/^-(\d+|\d*\.\d+)([
|
|
27841
|
+
if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(arg)) return false;
|
|
27828
27842
|
return !this._getCommandAndAncestors().some(
|
|
27829
27843
|
(cmd) => cmd.options.map((opt) => opt.short).some((short2) => /^-\d$/.test(short2))
|
|
27830
27844
|
);
|
|
@@ -28272,7 +28286,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
28272
28286
|
* (This does not override a group set directly on the subcommand using .helpGroup().)
|
|
28273
28287
|
*
|
|
28274
28288
|
* @example
|
|
28275
|
-
* program.commandsGroup('Development Commands:
|
|
28289
|
+
* program.commandsGroup('Development Commands:);
|
|
28276
28290
|
* program.command('watch')...
|
|
28277
28291
|
* program.command('lint')...
|
|
28278
28292
|
* ...
|
|
@@ -28443,7 +28457,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
28443
28457
|
* Pass in false to disable the built-in help option.
|
|
28444
28458
|
*
|
|
28445
28459
|
* @example
|
|
28446
|
-
* program.helpOption('-?, --help'
|
|
28460
|
+
* program.helpOption('-?, --help' 'show help'); // customise
|
|
28447
28461
|
* program.helpOption(false); // disable
|
|
28448
28462
|
*
|
|
28449
28463
|
* @param {(string | boolean)} flags
|
|
@@ -28572,20 +28586,16 @@ function incrementNodeInspectorPort(args) {
|
|
|
28572
28586
|
let debugHost = "127.0.0.1";
|
|
28573
28587
|
let debugPort = "9229";
|
|
28574
28588
|
let match;
|
|
28575
|
-
if ((match = arg.match(/^(--inspect(-brk
|
|
28589
|
+
if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
|
|
28576
28590
|
debugOption = match[1];
|
|
28577
|
-
} else if ((match = arg.match(
|
|
28578
|
-
/^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+)$/
|
|
28579
|
-
)) !== null) {
|
|
28591
|
+
} else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null) {
|
|
28580
28592
|
debugOption = match[1];
|
|
28581
28593
|
if (/^\d+$/.test(match[3])) {
|
|
28582
28594
|
debugPort = match[3];
|
|
28583
28595
|
} else {
|
|
28584
28596
|
debugHost = match[3];
|
|
28585
28597
|
}
|
|
28586
|
-
} else if ((match = arg.match(
|
|
28587
|
-
/^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+):(\d+)$/
|
|
28588
|
-
)) !== null) {
|
|
28598
|
+
} else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null) {
|
|
28589
28599
|
debugOption = match[1];
|
|
28590
28600
|
debugHost = match[3];
|
|
28591
28601
|
debugPort = match[4];
|
|
@@ -28604,7 +28614,7 @@ function useColor() {
|
|
|
28604
28614
|
return void 0;
|
|
28605
28615
|
}
|
|
28606
28616
|
|
|
28607
|
-
// node_modules/commander/index.js
|
|
28617
|
+
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
28608
28618
|
var program = new Command();
|
|
28609
28619
|
|
|
28610
28620
|
// src/config.ts
|
|
@@ -28781,7 +28791,7 @@ async function revoke(config2, auth = config2.auth) {
|
|
|
28781
28791
|
// package.json
|
|
28782
28792
|
var package_default = {
|
|
28783
28793
|
name: "@kinetune/cli",
|
|
28784
|
-
version: "5.
|
|
28794
|
+
version: "5.3.0",
|
|
28785
28795
|
description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
|
|
28786
28796
|
license: "MIT",
|
|
28787
28797
|
author: {
|
|
@@ -28818,16 +28828,21 @@ var package_default = {
|
|
|
28818
28828
|
},
|
|
28819
28829
|
scripts: {
|
|
28820
28830
|
build: "node build.mjs",
|
|
28821
|
-
|
|
28831
|
+
typecheck: "tsc --noEmit",
|
|
28832
|
+
test: "vitest run",
|
|
28833
|
+
prepack: "node build.mjs"
|
|
28822
28834
|
},
|
|
28823
28835
|
devDependencies: {
|
|
28836
|
+
"@kinetune/api-spec": "workspace:*",
|
|
28824
28837
|
commander: "^15.0.0",
|
|
28825
28838
|
esbuild: "^0.28.2",
|
|
28826
|
-
|
|
28839
|
+
tsx: "^4.23.15",
|
|
28840
|
+
typescript: "^5.9.3",
|
|
28841
|
+
vitest: "^3.2.7",
|
|
28842
|
+
zod: "^4.1.11"
|
|
28827
28843
|
},
|
|
28828
28844
|
publishConfig: {
|
|
28829
|
-
access: "public"
|
|
28830
|
-
provenance: true
|
|
28845
|
+
access: "public"
|
|
28831
28846
|
}
|
|
28832
28847
|
};
|
|
28833
28848
|
|