@nodaro/prompts 1.42.0 → 1.45.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/{chunk-PHFOKGYS.js → chunk-2HJJBXGA.js} +6 -6
- package/dist/{chunk-PHFOKGYS.js.map → chunk-2HJJBXGA.js.map} +1 -1
- package/dist/{chunk-HL6PZ4A6.js → chunk-2OIKQ4WB.js} +5 -5
- package/dist/{chunk-HL6PZ4A6.js.map → chunk-2OIKQ4WB.js.map} +1 -1
- package/dist/{chunk-ZFOXGNLK.js → chunk-57PTYJJX.js} +4 -4
- package/dist/{chunk-ZFOXGNLK.js.map → chunk-57PTYJJX.js.map} +1 -1
- package/dist/{chunk-XTOSNRWT.cjs → chunk-5NIKPMLU.cjs} +2 -4
- package/dist/chunk-5NIKPMLU.cjs.map +1 -0
- package/dist/{chunk-ZGA72NCT.cjs → chunk-C4FDHCEZ.cjs} +125 -125
- package/dist/{chunk-ZGA72NCT.cjs.map → chunk-C4FDHCEZ.cjs.map} +1 -1
- package/dist/chunk-CLHIPYTC.js +10913 -0
- package/dist/chunk-CLHIPYTC.js.map +1 -0
- package/dist/{chunk-QJACEKMZ.js → chunk-CPKYIVWP.js} +3 -3
- package/dist/{chunk-QJACEKMZ.js.map → chunk-CPKYIVWP.js.map} +1 -1
- package/dist/{chunk-JDNHMVEV.cjs → chunk-FCTK7RGO.cjs} +35 -35
- package/dist/{chunk-JDNHMVEV.cjs.map → chunk-FCTK7RGO.cjs.map} +1 -1
- package/dist/{chunk-IFRFYBGE.js → chunk-IKHRZ5UQ.js} +3 -3
- package/dist/{chunk-IFRFYBGE.js.map → chunk-IKHRZ5UQ.js.map} +1 -1
- package/dist/{chunk-SB7AYE6S.cjs → chunk-JHEZJKTX.cjs} +250 -6
- package/dist/chunk-JHEZJKTX.cjs.map +1 -0
- package/dist/{chunk-GIO77YH5.js → chunk-NN4FL7SB.js} +4 -4
- package/dist/{chunk-GIO77YH5.js.map → chunk-NN4FL7SB.js.map} +1 -1
- package/dist/{chunk-I3QS7BSY.cjs → chunk-OSKABA64.cjs} +8 -8
- package/dist/{chunk-I3QS7BSY.cjs.map → chunk-OSKABA64.cjs.map} +1 -1
- package/dist/{chunk-AXQK7UH7.cjs → chunk-OY7XOPDG.cjs} +49 -49
- package/dist/{chunk-AXQK7UH7.cjs.map → chunk-OY7XOPDG.cjs.map} +1 -1
- package/dist/{chunk-ZLRB5BVT.cjs → chunk-PHR4UETI.cjs} +18 -18
- package/dist/{chunk-ZLRB5BVT.cjs.map → chunk-PHR4UETI.cjs.map} +1 -1
- package/dist/chunk-S3H4TI6N.cjs +10948 -0
- package/dist/chunk-S3H4TI6N.cjs.map +1 -0
- package/dist/{chunk-6JABZ5OC.js → chunk-SMKIVT7P.js} +4 -4
- package/dist/{chunk-6JABZ5OC.js.map → chunk-SMKIVT7P.js.map} +1 -1
- package/dist/{chunk-CYMIXKFT.js → chunk-TXHFL725.js} +247 -3
- package/dist/chunk-TXHFL725.js.map +1 -0
- package/dist/{chunk-WARNUGXT.cjs → chunk-UNR34GYU.cjs} +191 -2
- package/dist/chunk-UNR34GYU.cjs.map +1 -0
- package/dist/{chunk-4YUXR23B.cjs → chunk-VAK4RUNU.cjs} +13 -13
- package/dist/{chunk-4YUXR23B.cjs.map → chunk-VAK4RUNU.cjs.map} +1 -1
- package/dist/{chunk-QBUSJGV3.js → chunk-XMFWHTQB.js} +2 -4
- package/dist/chunk-XMFWHTQB.js.map +1 -0
- package/dist/{chunk-JCYK7NSR.js → chunk-XZXUU3YH.js} +191 -2
- package/dist/chunk-XZXUU3YH.js.map +1 -0
- package/dist/{chunk-H4JMZWOE.cjs → chunk-YCCQXX3U.cjs} +39 -39
- package/dist/{chunk-H4JMZWOE.cjs.map → chunk-YCCQXX3U.cjs.map} +1 -1
- package/dist/entries/assembly.cjs +29 -29
- package/dist/entries/assembly.js +6 -6
- package/dist/entries/doctrine.cjs +46 -46
- package/dist/entries/doctrine.js +1 -1
- package/dist/entries/picker-art.cjs +19 -19
- package/dist/entries/picker-art.d.cts +188 -0
- package/dist/entries/picker-art.d.ts +188 -0
- package/dist/entries/picker-art.js +1 -1
- package/dist/entries/picker-catalogs.cjs +57 -57
- package/dist/entries/picker-catalogs.js +5 -5
- package/dist/entries/pickers.cjs +374 -374
- package/dist/entries/pickers.d.cts +1 -1
- package/dist/entries/pickers.d.ts +1 -1
- package/dist/entries/pickers.js +3 -3
- package/dist/entries/presets.cjs +47 -31
- package/dist/entries/presets.d.cts +37 -1
- package/dist/entries/presets.d.ts +37 -1
- package/dist/entries/presets.js +1 -1
- package/dist/entries/prompt-builder.cjs +76 -76
- package/dist/entries/prompt-builder.js +5 -5
- package/dist/index.cjs +637 -621
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -11
- package/package.json +2 -2
- package/src/__tests__/factory-preset-previews.test.ts +98 -25
- package/src/__tests__/factory-preset-references.test.ts +4 -0
- package/src/__tests__/fixtures/parameter-hint-golden.json +6 -6
- package/src/__tests__/preset-tiles-generated.test.ts +88 -0
- package/src/factory-presets/generate-image.ts +8 -0
- package/src/factory-presets/index.ts +10 -1
- package/src/factory-presets/preview-files.generated.ts +639 -1
- package/src/factory-presets/previews.ts +34 -2
- package/src/factory-presets/tiles/business-and-marketing.generated.ts +426 -0
- package/src/factory-presets/tiles/business.generated.ts +261 -0
- package/src/factory-presets/tiles/content-and-creative.generated.ts +286 -0
- package/src/factory-presets/tiles/family-and-events.generated.ts +222 -0
- package/src/factory-presets/tiles/home-and-spaces.generated.ts +231 -0
- package/src/factory-presets/tiles/index.generated.ts +32 -0
- package/src/factory-presets/tiles/layout.generated.ts +110 -0
- package/src/factory-presets/tiles/life-and-events.generated.ts +246 -0
- package/src/factory-presets/tiles/personal-photos.generated.ts +306 -0
- package/src/factory-presets/tiles/products-and-fashion.generated.ts +303 -0
- package/src/factory-presets/tiles/shorts-tiktok.generated.ts +156 -0
- package/src/factory-presets/tiles/social-and-ads.generated.ts +606 -0
- package/src/factory-presets/tiles/text.generated.ts +591 -0
- package/src/factory-presets/tiles/youtube.generated.ts +906 -0
- package/src/factory-presets/types.ts +14 -0
- package/src/photographer.ts +277 -0
- package/src/picker-art/look-preview-sets.ts +189 -0
- package/src/prompt-wizard-categories.ts +0 -2
- package/dist/chunk-CYMIXKFT.js.map +0 -1
- package/dist/chunk-JCYK7NSR.js.map +0 -1
- package/dist/chunk-LZ53F5BN.cjs +0 -5652
- package/dist/chunk-LZ53F5BN.cjs.map +0 -1
- package/dist/chunk-QBUSJGV3.js.map +0 -1
- package/dist/chunk-RB2F5JQF.js +0 -5621
- package/dist/chunk-RB2F5JQF.js.map +0 -1
- package/dist/chunk-SB7AYE6S.cjs.map +0 -1
- package/dist/chunk-WARNUGXT.cjs.map +0 -1
- package/dist/chunk-XTOSNRWT.cjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPHR4UETI_cjs = require('./chunk-PHR4UETI.cjs');
|
|
4
4
|
var chunkXUZXBY75_cjs = require('./chunk-XUZXBY75.cjs');
|
|
5
5
|
var chunk2NJTFCKQ_cjs = require('./chunk-2NJTFCKQ.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
6
|
+
var chunkOY7XOPDG_cjs = require('./chunk-OY7XOPDG.cjs');
|
|
7
|
+
var chunkFCTK7RGO_cjs = require('./chunk-FCTK7RGO.cjs');
|
|
8
|
+
var chunkJHEZJKTX_cjs = require('./chunk-JHEZJKTX.cjs');
|
|
9
9
|
var entities = require('@nodaro/shared/entities');
|
|
10
10
|
var models = require('@nodaro/shared/models');
|
|
11
11
|
var video = require('@nodaro/shared/video');
|
|
@@ -71,11 +71,11 @@ function resolveRefIdTokens(prompt, ctx) {
|
|
|
71
71
|
var REFERENCE_TOKEN_RE = /\{(image|video|audio):(\d+)(?::([a-zA-Z0-9_ -]+))?\}/gi;
|
|
72
72
|
function resolveReferenceTokens(prompt, counts) {
|
|
73
73
|
if (!prompt) return prompt;
|
|
74
|
-
return
|
|
74
|
+
return chunkPHR4UETI_cjs.tidyReferenceTokenGaps(
|
|
75
75
|
prompt.replace(REFERENCE_TOKEN_RE, (_match, rawKind, nStr, label) => {
|
|
76
76
|
const kind = rawKind.toLowerCase();
|
|
77
77
|
const n = parseInt(nStr, 10);
|
|
78
|
-
if (n < 1 || n > counts[kind]) return
|
|
78
|
+
if (n < 1 || n > counts[kind]) return chunkPHR4UETI_cjs.unboundReferenceTokenText(label);
|
|
79
79
|
if (label) return REF_BINDING[kind](label, n);
|
|
80
80
|
return `@${kind}_${n}`;
|
|
81
81
|
})
|
|
@@ -134,7 +134,7 @@ function resolveVideoCharacterMentionsHybrid(prompt, tokens, refs, offset) {
|
|
|
134
134
|
const binding = bindingFor(m.url);
|
|
135
135
|
const lock = chunk2NJTFCKQ_cjs.buildIdentityLockLine(chunk2NJTFCKQ_cjs.withForcedIdentityLock(ref, lockOverrideByUrl.get(m.url)), binding);
|
|
136
136
|
if (lock) lockLines.push(lock);
|
|
137
|
-
const overrideLine =
|
|
137
|
+
const overrideLine = chunkPHR4UETI_cjs.referenceDescriptionLine(binding, ref.descriptionOverride);
|
|
138
138
|
if (overrideLine) elementDirectives.push(overrideLine);
|
|
139
139
|
const inject = ref.elementInjection?.trim();
|
|
140
140
|
if (inject) elementDirectives.push(inject);
|
|
@@ -162,8 +162,8 @@ function resolveVideoReferenceCore(args) {
|
|
|
162
162
|
audio: args.audioRefCount ?? 0
|
|
163
163
|
});
|
|
164
164
|
const describedAndCaptionLines = [
|
|
165
|
-
...
|
|
166
|
-
...
|
|
165
|
+
...chunkPHR4UETI_cjs.renderDescribedReferenceLines(args.describedReferences),
|
|
166
|
+
...chunkPHR4UETI_cjs.renderReferenceCaptionLines(args.videoCaptions, args.audioCaptions, {
|
|
167
167
|
video: args.videoRefCount ?? 0,
|
|
168
168
|
audio: args.audioRefCount ?? 0
|
|
169
169
|
})
|
|
@@ -200,7 +200,7 @@ function resolveVideoReferenceCore(args) {
|
|
|
200
200
|
// Described references and rail captions are the ONE thing this branch can
|
|
201
201
|
// still contribute: they need no seat, so a request that carries only them
|
|
202
202
|
// (a story landing before any entity exists) reaches the model here.
|
|
203
|
-
prompt: describedAndCaptionLines.length > 0 ?
|
|
203
|
+
prompt: describedAndCaptionLines.length > 0 ? chunkPHR4UETI_cjs.appendReferenceLines(resolved2 ?? "", describedAndCaptionLines, args.hybridRoles === true ? "hybrid" : "legacy") : resolved2,
|
|
204
204
|
additionalUrls: [...leadingRefUrls]
|
|
205
205
|
};
|
|
206
206
|
}
|
|
@@ -221,7 +221,7 @@ function resolveVideoReferenceCore(args) {
|
|
|
221
221
|
mentionLockLines = h.lockLines;
|
|
222
222
|
mentionElementDirectives = h.elementDirectives;
|
|
223
223
|
} else {
|
|
224
|
-
resolved = mentionTokens.length > 0 ?
|
|
224
|
+
resolved = mentionTokens.length > 0 ? chunkPHR4UETI_cjs.resolveCharacterMentions(promptForResolution, mentionTokens, wiredCharRefs) : { prompt: promptForResolution, additionalUrls: [], mentionedCharacterSlugs: /* @__PURE__ */ new Set() };
|
|
225
225
|
}
|
|
226
226
|
const fallbackUrls = [];
|
|
227
227
|
const fallbackDirectiveLines = [];
|
|
@@ -258,7 +258,7 @@ function resolveVideoReferenceCore(args) {
|
|
|
258
258
|
canonicalPhrases.push(entities.roleToPhrase(entities.resolveDefaultRole(r.defaultRole, r.defaultUsageMode, r.source), binding));
|
|
259
259
|
const lock = chunk2NJTFCKQ_cjs.buildIdentityLockLine(r, binding);
|
|
260
260
|
if (lock) canonicalLockLines.push(lock);
|
|
261
|
-
const overrideLine =
|
|
261
|
+
const overrideLine = chunkPHR4UETI_cjs.referenceDescriptionLine(binding, r.descriptionOverride);
|
|
262
262
|
if (overrideLine) canonicalElementDirectives.push(overrideLine);
|
|
263
263
|
const inject = r.elementInjection?.trim();
|
|
264
264
|
if (inject) canonicalElementDirectives.push(inject);
|
|
@@ -390,7 +390,7 @@ function resolveVideoReferenceCore(args) {
|
|
|
390
390
|
const lockBlock = lockLines.length > 0 ? `${lockLines.join("\n")}
|
|
391
391
|
|
|
392
392
|
` : "";
|
|
393
|
-
finalPrompt = `${lockBlock}${
|
|
393
|
+
finalPrompt = `${lockBlock}${chunkPHR4UETI_cjs.insertBeforeStyleSection(finalPrompt, trailingLines)}`;
|
|
394
394
|
} else {
|
|
395
395
|
const allFallbackLines = [...fallbackDirectiveLines, ...extraDirectiveLines];
|
|
396
396
|
if (allFallbackLines.length > 0) {
|
|
@@ -440,7 +440,7 @@ ${finalPrompt}` : block;
|
|
|
440
440
|
merged.push(u);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
finalPrompt =
|
|
443
|
+
finalPrompt = chunkPHR4UETI_cjs.appendReferenceLines(
|
|
444
444
|
finalPrompt,
|
|
445
445
|
describedAndCaptionLines,
|
|
446
446
|
hybrid ? "hybrid" : "legacy"
|
|
@@ -468,7 +468,7 @@ ${finalPrompt}` : block;
|
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
const reordered =
|
|
471
|
+
const reordered = chunkPHR4UETI_cjs.applyReferenceOrderToVideo(assetUrls, finalPrompt, refsForOrdering, referenceOrder, void 0, offset);
|
|
472
472
|
return {
|
|
473
473
|
prompt: resolveReferenceTokens(reordered.prompt, tokenCounts(merged.length)),
|
|
474
474
|
additionalUrls: [...leadingRefUrls, ...reordered.urls]
|
|
@@ -522,7 +522,7 @@ function composeSoundHintFromConnections(consumer, consumerType, ctx) {
|
|
|
522
522
|
continue;
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
const hint =
|
|
525
|
+
const hint = chunkOY7XOPDG_cjs.getParameterPromptHint(src);
|
|
526
526
|
if (hint) acceptedHints.push(hint);
|
|
527
527
|
if ((consumerType === "suno-generate" || consumerType === "generate-music") && t === "voice-character" && src.data) {
|
|
528
528
|
const gender = src.data.gender;
|
|
@@ -536,14 +536,14 @@ function composeSoundHintFromConnections(consumer, consumerType, ctx) {
|
|
|
536
536
|
const sub = typeof data.subgenre === "string" ? data.subgenre : void 0;
|
|
537
537
|
const genreId = typeof data.genre === "string" ? data.genre : void 0;
|
|
538
538
|
const eraId = typeof data.era === "string" ? data.era : void 0;
|
|
539
|
-
const eraHint =
|
|
540
|
-
const genre =
|
|
539
|
+
const eraHint = chunkJHEZJKTX_cjs.getMusicEra(eraId)?.promptHint;
|
|
540
|
+
const genre = chunkJHEZJKTX_cjs.getMusicGenre(genreId);
|
|
541
541
|
const subHint = genre?.subgenres.find((s) => s.id === sub)?.promptHint ?? genre?.promptHint;
|
|
542
542
|
const composed = [eraHint, subHint].filter(Boolean).join(" ");
|
|
543
543
|
if (composed && !fields.genre) Object.assign(fields, { genre: composed });
|
|
544
544
|
}
|
|
545
545
|
if (t === "music-mood" && data) {
|
|
546
|
-
const composed =
|
|
546
|
+
const composed = chunkJHEZJKTX_cjs.buildMusicMoodHints({
|
|
547
547
|
energy: typeof data.energy === "string" ? data.energy : void 0,
|
|
548
548
|
emotion: data.emotion,
|
|
549
549
|
vibe: data.vibe
|
|
@@ -630,23 +630,23 @@ function assembleSunoInput(input) {
|
|
|
630
630
|
function renderImageHintPieces(subject, direction, structured, directionRefs) {
|
|
631
631
|
return {
|
|
632
632
|
hintClauses: [
|
|
633
|
-
...
|
|
634
|
-
|
|
633
|
+
...chunkPHR4UETI_cjs.asBodyClauses(
|
|
634
|
+
chunkPHR4UETI_cjs.renderSubjectHints(subject, {
|
|
635
635
|
surface: "image",
|
|
636
|
-
mode:
|
|
636
|
+
mode: chunkPHR4UETI_cjs.SUBJECT_IMAGE_HINT_MODE_DEFAULT
|
|
637
637
|
})
|
|
638
638
|
),
|
|
639
|
-
...
|
|
639
|
+
...chunkPHR4UETI_cjs.partitionStyleClauses(direction, {
|
|
640
640
|
surface: "image",
|
|
641
|
-
mode:
|
|
641
|
+
mode: chunkFCTK7RGO_cjs.IMAGE_HINT_MODE_DEFAULT,
|
|
642
642
|
...directionRefs !== void 0 ? { refs: directionRefs } : {}
|
|
643
643
|
})
|
|
644
644
|
].filter((c) => c.text.length > 0),
|
|
645
|
-
structuredFragment: structured ?
|
|
645
|
+
structuredFragment: structured ? chunkPHR4UETI_cjs.renderStructuredFields(structured) : ""
|
|
646
646
|
};
|
|
647
647
|
}
|
|
648
648
|
function composePromptText(userPrompt, pieces, keptHintClauses) {
|
|
649
|
-
return
|
|
649
|
+
return chunkPHR4UETI_cjs.composeSectionedPrompt(
|
|
650
650
|
userPrompt,
|
|
651
651
|
pieces.hintClauses.slice(0, keptHintClauses),
|
|
652
652
|
pieces.structuredFragment
|
|
@@ -693,12 +693,12 @@ function styleConnectedReference(s, index) {
|
|
|
693
693
|
url: s.url,
|
|
694
694
|
isExtraRef: true,
|
|
695
695
|
defaultRole: "style",
|
|
696
|
-
description:
|
|
696
|
+
description: chunkFCTK7RGO_cjs.styleReferenceDescription(index, s.caption)
|
|
697
697
|
};
|
|
698
698
|
}
|
|
699
699
|
function assembleOnce(input) {
|
|
700
700
|
const pieces = renderImageHintPieces(input.subject, input.direction, input.structured, input.directionRefs);
|
|
701
|
-
const assembleWith = (keptHintClauses) =>
|
|
701
|
+
const assembleWith = (keptHintClauses) => chunkPHR4UETI_cjs.buildImagePromptWithOverflow({
|
|
702
702
|
prompt: composePromptText(input.userPrompt, pieces, keptHintClauses),
|
|
703
703
|
provider: input.provider,
|
|
704
704
|
...input.connectedReferences !== void 0 ? { connectedReferences: input.connectedReferences } : {},
|
|
@@ -726,7 +726,7 @@ function assembleOnce(input) {
|
|
|
726
726
|
let kept = pieces.hintClauses.length;
|
|
727
727
|
let fitted = assembleWith(kept);
|
|
728
728
|
if (fitted.overflowChars > 0) {
|
|
729
|
-
const costs =
|
|
729
|
+
const costs = chunkPHR4UETI_cjs.sectionedClauseCosts(
|
|
730
730
|
input.userPrompt,
|
|
731
731
|
pieces.hintClauses,
|
|
732
732
|
pieces.structuredFragment
|
|
@@ -744,19 +744,19 @@ function assembleOnce(input) {
|
|
|
744
744
|
// src/assemble-video-input.ts
|
|
745
745
|
function composeVideoPromptText(userPrompt, direction, structured, opts) {
|
|
746
746
|
const hintClauses = [
|
|
747
|
-
...
|
|
748
|
-
|
|
747
|
+
...chunkPHR4UETI_cjs.asBodyClauses(
|
|
748
|
+
chunkPHR4UETI_cjs.renderSubjectHints(opts?.subject, {
|
|
749
749
|
surface: "video",
|
|
750
|
-
mode: opts?.subjectHintMode ??
|
|
750
|
+
mode: opts?.subjectHintMode ?? chunkPHR4UETI_cjs.SUBJECT_VIDEO_HINT_MODE_DEFAULT
|
|
751
751
|
})
|
|
752
752
|
),
|
|
753
|
-
...
|
|
753
|
+
...chunkPHR4UETI_cjs.partitionStyleClauses(direction, {
|
|
754
754
|
surface: "video",
|
|
755
|
-
mode: opts?.hintMode ??
|
|
755
|
+
mode: opts?.hintMode ?? chunkFCTK7RGO_cjs.VIDEO_HINT_MODE_DEFAULT
|
|
756
756
|
})
|
|
757
757
|
].filter((c) => c.text.length > 0);
|
|
758
|
-
const structuredFragment = structured ?
|
|
759
|
-
const composeWith = (kept2) =>
|
|
758
|
+
const structuredFragment = structured ? chunkPHR4UETI_cjs.renderStructuredFields(structured) : "";
|
|
759
|
+
const composeWith = (kept2) => chunkPHR4UETI_cjs.composeSectionedPrompt(userPrompt, hintClauses.slice(0, kept2), structuredFragment);
|
|
760
760
|
const cap = opts?.cap;
|
|
761
761
|
if (cap === void 0) return composeWith(hintClauses.length);
|
|
762
762
|
const frame = opts?.frame ?? ((body2) => body2);
|
|
@@ -764,7 +764,7 @@ function composeVideoPromptText(userPrompt, direction, structured, opts) {
|
|
|
764
764
|
let body = composeWith(kept);
|
|
765
765
|
let framedLength = frame(body)?.length ?? 0;
|
|
766
766
|
if (framedLength <= cap) return body;
|
|
767
|
-
const costs =
|
|
767
|
+
const costs = chunkPHR4UETI_cjs.sectionedClauseCosts(userPrompt, hintClauses, structuredFragment);
|
|
768
768
|
const texts = hintClauses.map((c) => c.text);
|
|
769
769
|
while (framedLength > cap && kept > 0) {
|
|
770
770
|
kept = chunkXUZXBY75_cjs.keepableDirectionHints(texts, kept, framedLength - cap, costs);
|
|
@@ -988,5 +988,5 @@ exports.resolveSeedance2Inputs = resolveSeedance2Inputs;
|
|
|
988
988
|
exports.resolveVeoI2vInputs = resolveVeoI2vInputs;
|
|
989
989
|
exports.resolveVideoReferenceCore = resolveVideoReferenceCore;
|
|
990
990
|
exports.truncateForField = truncateForField;
|
|
991
|
-
//# sourceMappingURL=chunk-
|
|
992
|
-
//# sourceMappingURL=chunk-
|
|
991
|
+
//# sourceMappingURL=chunk-YCCQXX3U.cjs.map
|
|
992
|
+
//# sourceMappingURL=chunk-YCCQXX3U.cjs.map
|