@nodaro/shared 3.66.0 → 3.67.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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNYZQOIXJ_cjs = require('../chunk-NYZQOIXJ.cjs');
3
+ var chunkZQ2BHOFH_cjs = require('../chunk-ZQ2BHOFH.cjs');
4
4
  var chunk44I73CQS_cjs = require('../chunk-44I73CQS.cjs');
5
5
  var chunk6FQBKI2A_cjs = require('../chunk-6FQBKI2A.cjs');
6
6
  var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
@@ -8,269 +8,349 @@ var chunkALRXY4QH_cjs = require('../chunk-ALRXY4QH.cjs');
8
8
 
9
9
 
10
10
 
11
+ Object.defineProperty(exports, "AI_PANEL_EDITOR_ANSWERS", {
12
+ enumerable: true,
13
+ get: function () { return chunkZQ2BHOFH_cjs.AI_PANEL_EDITOR_ANSWERS; }
14
+ });
15
+ Object.defineProperty(exports, "AI_PANEL_EDITOR_CAPABILITIES", {
16
+ enumerable: true,
17
+ get: function () { return chunkZQ2BHOFH_cjs.AI_PANEL_EDITOR_CAPABILITIES; }
18
+ });
19
+ Object.defineProperty(exports, "AI_PANEL_EDITOR_REQUESTS", {
20
+ enumerable: true,
21
+ get: function () { return chunkZQ2BHOFH_cjs.AI_PANEL_EDITOR_REQUESTS; }
22
+ });
23
+ Object.defineProperty(exports, "AI_PANEL_PATH", {
24
+ enumerable: true,
25
+ get: function () { return chunkZQ2BHOFH_cjs.AI_PANEL_PATH; }
26
+ });
27
+ Object.defineProperty(exports, "AI_PANEL_PROTOCOL_VERSION", {
28
+ enumerable: true,
29
+ get: function () { return chunkZQ2BHOFH_cjs.AI_PANEL_PROTOCOL_VERSION; }
30
+ });
11
31
  Object.defineProperty(exports, "AUDIO_FX_PRESETS", {
12
32
  enumerable: true,
13
- get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_PRESETS; }
33
+ get: function () { return chunkZQ2BHOFH_cjs.AUDIO_FX_PRESETS; }
14
34
  });
15
35
  Object.defineProperty(exports, "AUDIO_FX_PRESET_LABELS", {
16
36
  enumerable: true,
17
- get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_PRESET_LABELS; }
37
+ get: function () { return chunkZQ2BHOFH_cjs.AUDIO_FX_PRESET_LABELS; }
18
38
  });
19
39
  Object.defineProperty(exports, "AUDIO_FX_PRESET_SET", {
20
40
  enumerable: true,
21
- get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_PRESET_SET; }
41
+ get: function () { return chunkZQ2BHOFH_cjs.AUDIO_FX_PRESET_SET; }
22
42
  });
23
43
  Object.defineProperty(exports, "AUDIO_FX_REVERB_PRESETS", {
24
44
  enumerable: true,
25
- get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_REVERB_PRESETS; }
45
+ get: function () { return chunkZQ2BHOFH_cjs.AUDIO_FX_REVERB_PRESETS; }
26
46
  });
27
47
  Object.defineProperty(exports, "DEFAULT_VIDEO_MASK_PROVIDER", {
28
48
  enumerable: true,
29
- get: function () { return chunkNYZQOIXJ_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
49
+ get: function () { return chunkZQ2BHOFH_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
30
50
  });
31
51
  Object.defineProperty(exports, "DUBBING_CAPTION_FORMATS", {
32
52
  enumerable: true,
33
- get: function () { return chunkNYZQOIXJ_cjs.DUBBING_CAPTION_FORMATS; }
53
+ get: function () { return chunkZQ2BHOFH_cjs.DUBBING_CAPTION_FORMATS; }
34
54
  });
35
55
  Object.defineProperty(exports, "DUBBING_ERROR_CODES", {
36
56
  enumerable: true,
37
- get: function () { return chunkNYZQOIXJ_cjs.DUBBING_ERROR_CODES; }
57
+ get: function () { return chunkZQ2BHOFH_cjs.DUBBING_ERROR_CODES; }
38
58
  });
39
59
  Object.defineProperty(exports, "DUBBING_LANGUAGE_STATUSES", {
40
60
  enumerable: true,
41
- get: function () { return chunkNYZQOIXJ_cjs.DUBBING_LANGUAGE_STATUSES; }
61
+ get: function () { return chunkZQ2BHOFH_cjs.DUBBING_LANGUAGE_STATUSES; }
42
62
  });
43
63
  Object.defineProperty(exports, "DUBBING_SOURCE_LANGUAGE", {
44
64
  enumerable: true,
45
- get: function () { return chunkNYZQOIXJ_cjs.DUBBING_SOURCE_LANGUAGE; }
65
+ get: function () { return chunkZQ2BHOFH_cjs.DUBBING_SOURCE_LANGUAGE; }
46
66
  });
47
67
  Object.defineProperty(exports, "FREECUT_EXPORT_COMPLETE", {
48
68
  enumerable: true,
49
- get: function () { return chunkNYZQOIXJ_cjs.FREECUT_EXPORT_COMPLETE; }
69
+ get: function () { return chunkZQ2BHOFH_cjs.FREECUT_EXPORT_COMPLETE; }
50
70
  });
51
71
  Object.defineProperty(exports, "FREECUT_EXPORT_PROGRESS", {
52
72
  enumerable: true,
53
- get: function () { return chunkNYZQOIXJ_cjs.FREECUT_EXPORT_PROGRESS; }
73
+ get: function () { return chunkZQ2BHOFH_cjs.FREECUT_EXPORT_PROGRESS; }
74
+ });
75
+ Object.defineProperty(exports, "FREECUT_OPS_RESULT", {
76
+ enumerable: true,
77
+ get: function () { return chunkZQ2BHOFH_cjs.FREECUT_OPS_RESULT; }
54
78
  });
55
79
  Object.defineProperty(exports, "FREECUT_READY", {
56
80
  enumerable: true,
57
- get: function () { return chunkNYZQOIXJ_cjs.FREECUT_READY; }
81
+ get: function () { return chunkZQ2BHOFH_cjs.FREECUT_READY; }
58
82
  });
59
83
  Object.defineProperty(exports, "FREECUT_REQUEST_IMPORT", {
60
84
  enumerable: true,
61
- get: function () { return chunkNYZQOIXJ_cjs.FREECUT_REQUEST_IMPORT; }
85
+ get: function () { return chunkZQ2BHOFH_cjs.FREECUT_REQUEST_IMPORT; }
86
+ });
87
+ Object.defineProperty(exports, "FREECUT_TIMELINE", {
88
+ enumerable: true,
89
+ get: function () { return chunkZQ2BHOFH_cjs.FREECUT_TIMELINE; }
90
+ });
91
+ Object.defineProperty(exports, "FREECUT_UNDO_RESULT", {
92
+ enumerable: true,
93
+ get: function () { return chunkZQ2BHOFH_cjs.FREECUT_UNDO_RESULT; }
62
94
  });
63
95
  Object.defineProperty(exports, "GENERATE_MASK_LIMITS", {
64
96
  enumerable: true,
65
- get: function () { return chunkNYZQOIXJ_cjs.GENERATE_MASK_LIMITS; }
97
+ get: function () { return chunkZQ2BHOFH_cjs.GENERATE_MASK_LIMITS; }
66
98
  });
67
99
  Object.defineProperty(exports, "LEGACY_LOTTIE_HOST_REMAP", {
68
100
  enumerable: true,
69
- get: function () { return chunkNYZQOIXJ_cjs.LEGACY_LOTTIE_HOST_REMAP; }
101
+ get: function () { return chunkZQ2BHOFH_cjs.LEGACY_LOTTIE_HOST_REMAP; }
70
102
  });
71
103
  Object.defineProperty(exports, "LOTTIE_OVERLAY_CATALOG", {
72
104
  enumerable: true,
73
- get: function () { return chunkNYZQOIXJ_cjs.LOTTIE_OVERLAY_CATALOG; }
105
+ get: function () { return chunkZQ2BHOFH_cjs.LOTTIE_OVERLAY_CATALOG; }
74
106
  });
75
107
  Object.defineProperty(exports, "LOTTIE_SLOT_FIELD_PREFIX", {
76
108
  enumerable: true,
77
- get: function () { return chunkNYZQOIXJ_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
109
+ get: function () { return chunkZQ2BHOFH_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
78
110
  });
79
111
  Object.defineProperty(exports, "MASK_COMPOSITE_AUDIO_SOURCES", {
80
112
  enumerable: true,
81
- get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
113
+ get: function () { return chunkZQ2BHOFH_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
82
114
  });
83
115
  Object.defineProperty(exports, "MASK_COMPOSITE_BACKGROUND_FITS", {
84
116
  enumerable: true,
85
- get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
117
+ get: function () { return chunkZQ2BHOFH_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
86
118
  });
87
119
  Object.defineProperty(exports, "MASK_COMPOSITE_BOUNDS", {
88
120
  enumerable: true,
89
- get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_BOUNDS; }
121
+ get: function () { return chunkZQ2BHOFH_cjs.MASK_COMPOSITE_BOUNDS; }
90
122
  });
91
123
  Object.defineProperty(exports, "MASK_COMPOSITE_DEFAULTS", {
92
124
  enumerable: true,
93
- get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_DEFAULTS; }
125
+ get: function () { return chunkZQ2BHOFH_cjs.MASK_COMPOSITE_DEFAULTS; }
94
126
  });
95
127
  Object.defineProperty(exports, "MASK_COMPOSITE_FILLS", {
96
128
  enumerable: true,
97
- get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_FILLS; }
129
+ get: function () { return chunkZQ2BHOFH_cjs.MASK_COMPOSITE_FILLS; }
98
130
  });
99
131
  Object.defineProperty(exports, "MASK_COMPOSITE_REMEASURE_SLACK_SEC", {
100
132
  enumerable: true,
101
- get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_REMEASURE_SLACK_SEC; }
133
+ get: function () { return chunkZQ2BHOFH_cjs.MASK_COMPOSITE_REMEASURE_SLACK_SEC; }
102
134
  });
103
135
  Object.defineProperty(exports, "MASK_COMPOSITE_UNIT_SEC", {
104
136
  enumerable: true,
105
- get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_UNIT_SEC; }
137
+ get: function () { return chunkZQ2BHOFH_cjs.MASK_COMPOSITE_UNIT_SEC; }
138
+ });
139
+ Object.defineProperty(exports, "NODARO_AI_PANEL_CLOSE", {
140
+ enumerable: true,
141
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_AI_PANEL_CLOSE; }
142
+ });
143
+ Object.defineProperty(exports, "NODARO_AI_PANEL_INIT", {
144
+ enumerable: true,
145
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_AI_PANEL_INIT; }
146
+ });
147
+ Object.defineProperty(exports, "NODARO_AI_PANEL_LAYOUT", {
148
+ enumerable: true,
149
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_AI_PANEL_LAYOUT; }
150
+ });
151
+ Object.defineProperty(exports, "NODARO_AI_PANEL_READY", {
152
+ enumerable: true,
153
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_AI_PANEL_READY; }
154
+ });
155
+ Object.defineProperty(exports, "NODARO_APPLY_OPS", {
156
+ enumerable: true,
157
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_APPLY_OPS; }
158
+ });
159
+ Object.defineProperty(exports, "NODARO_GET_TIMELINE", {
160
+ enumerable: true,
161
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_GET_TIMELINE; }
106
162
  });
107
163
  Object.defineProperty(exports, "NODARO_IMPORT_FILES", {
108
164
  enumerable: true,
109
- get: function () { return chunkNYZQOIXJ_cjs.NODARO_IMPORT_FILES; }
165
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_IMPORT_FILES; }
110
166
  });
111
167
  Object.defineProperty(exports, "NODARO_LOAD_TIMELINE", {
112
168
  enumerable: true,
113
- get: function () { return chunkNYZQOIXJ_cjs.NODARO_LOAD_TIMELINE; }
169
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_LOAD_TIMELINE; }
114
170
  });
115
171
  Object.defineProperty(exports, "NODARO_LOAD_VIDEO", {
116
172
  enumerable: true,
117
- get: function () { return chunkNYZQOIXJ_cjs.NODARO_LOAD_VIDEO; }
173
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_LOAD_VIDEO; }
174
+ });
175
+ Object.defineProperty(exports, "NODARO_PLAYBACK", {
176
+ enumerable: true,
177
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_PLAYBACK; }
178
+ });
179
+ Object.defineProperty(exports, "NODARO_PRESENCE", {
180
+ enumerable: true,
181
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_PRESENCE; }
118
182
  });
119
183
  Object.defineProperty(exports, "NODARO_RESET_PROJECT", {
120
184
  enumerable: true,
121
- get: function () { return chunkNYZQOIXJ_cjs.NODARO_RESET_PROJECT; }
185
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_RESET_PROJECT; }
186
+ });
187
+ Object.defineProperty(exports, "NODARO_UNDO_EDIT", {
188
+ enumerable: true,
189
+ get: function () { return chunkZQ2BHOFH_cjs.NODARO_UNDO_EDIT; }
122
190
  });
123
191
  Object.defineProperty(exports, "VIDEO_FACE_MESH_LAYERS", {
124
192
  enumerable: true,
125
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LAYERS; }
193
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_FACE_MESH_LAYERS; }
126
194
  });
127
195
  Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
128
196
  enumerable: true,
129
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LIMITS; }
197
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_FACE_MESH_LIMITS; }
130
198
  });
131
199
  Object.defineProperty(exports, "VIDEO_FACE_MESH_LINE_LAYERS", {
132
200
  enumerable: true,
133
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LINE_LAYERS; }
201
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_FACE_MESH_LINE_LAYERS; }
134
202
  });
135
203
  Object.defineProperty(exports, "VIDEO_FACE_MESH_PARTS", {
136
204
  enumerable: true,
137
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_PARTS; }
205
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_FACE_MESH_PARTS; }
138
206
  });
139
207
  Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
140
208
  enumerable: true,
141
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_PATH; }
209
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_FACE_MESH_PATH; }
142
210
  });
143
211
  Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
144
212
  enumerable: true,
145
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_RECIPE; }
213
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_FACE_MESH_RECIPE; }
146
214
  });
147
215
  Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
148
216
  enumerable: true,
149
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_DEFAULTS; }
217
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_MASK_DEFAULTS; }
150
218
  });
151
219
  Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
152
220
  enumerable: true,
153
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_LIMITS; }
221
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_MASK_LIMITS; }
154
222
  });
155
223
  Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
156
224
  enumerable: true,
157
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_PROVIDERS; }
225
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_MASK_PROVIDERS; }
158
226
  });
159
227
  Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
160
228
  enumerable: true,
161
- get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_RECIPE; }
229
+ get: function () { return chunkZQ2BHOFH_cjs.VIDEO_MASK_RECIPE; }
230
+ });
231
+ Object.defineProperty(exports, "aiPanelOffered", {
232
+ enumerable: true,
233
+ get: function () { return chunkZQ2BHOFH_cjs.aiPanelOffered; }
162
234
  });
163
235
  Object.defineProperty(exports, "applySlots", {
164
236
  enumerable: true,
165
- get: function () { return chunkNYZQOIXJ_cjs.applySlots; }
237
+ get: function () { return chunkZQ2BHOFH_cjs.applySlots; }
238
+ });
239
+ Object.defineProperty(exports, "createAiPanelRelay", {
240
+ enumerable: true,
241
+ get: function () { return chunkZQ2BHOFH_cjs.createAiPanelRelay; }
166
242
  });
167
243
  Object.defineProperty(exports, "deriveLottieSlotFields", {
168
244
  enumerable: true,
169
- get: function () { return chunkNYZQOIXJ_cjs.deriveLottieSlotFields; }
245
+ get: function () { return chunkZQ2BHOFH_cjs.deriveLottieSlotFields; }
170
246
  });
171
247
  Object.defineProperty(exports, "describeMaskRegion", {
172
248
  enumerable: true,
173
- get: function () { return chunkNYZQOIXJ_cjs.describeMaskRegion; }
249
+ get: function () { return chunkZQ2BHOFH_cjs.describeMaskRegion; }
174
250
  });
175
251
  Object.defineProperty(exports, "describeSlotControl", {
176
252
  enumerable: true,
177
- get: function () { return chunkNYZQOIXJ_cjs.describeSlotControl; }
253
+ get: function () { return chunkZQ2BHOFH_cjs.describeSlotControl; }
178
254
  });
179
255
  Object.defineProperty(exports, "hexToRgbaArray", {
180
256
  enumerable: true,
181
- get: function () { return chunkNYZQOIXJ_cjs.hexToRgbaArray; }
257
+ get: function () { return chunkZQ2BHOFH_cjs.hexToRgbaArray; }
182
258
  });
183
259
  Object.defineProperty(exports, "humanizeSlotSid", {
184
260
  enumerable: true,
185
- get: function () { return chunkNYZQOIXJ_cjs.humanizeSlotSid; }
261
+ get: function () { return chunkZQ2BHOFH_cjs.humanizeSlotSid; }
186
262
  });
187
263
  Object.defineProperty(exports, "listSlotSids", {
188
264
  enumerable: true,
189
- get: function () { return chunkNYZQOIXJ_cjs.listSlotSids; }
265
+ get: function () { return chunkZQ2BHOFH_cjs.listSlotSids; }
190
266
  });
191
267
  Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
192
268
  enumerable: true,
193
- get: function () { return chunkNYZQOIXJ_cjs.maskCompositeEffectiveAudioSource; }
269
+ get: function () { return chunkZQ2BHOFH_cjs.maskCompositeEffectiveAudioSource; }
194
270
  });
195
271
  Object.defineProperty(exports, "maskCompositeFillOf", {
196
272
  enumerable: true,
197
- get: function () { return chunkNYZQOIXJ_cjs.maskCompositeFillOf; }
273
+ get: function () { return chunkZQ2BHOFH_cjs.maskCompositeFillOf; }
198
274
  });
199
275
  Object.defineProperty(exports, "maskCompositeLeadHandle", {
200
276
  enumerable: true,
201
- get: function () { return chunkNYZQOIXJ_cjs.maskCompositeLeadHandle; }
277
+ get: function () { return chunkZQ2BHOFH_cjs.maskCompositeLeadHandle; }
202
278
  });
203
279
  Object.defineProperty(exports, "maskCompositeUnits", {
204
280
  enumerable: true,
205
- get: function () { return chunkNYZQOIXJ_cjs.maskCompositeUnits; }
281
+ get: function () { return chunkZQ2BHOFH_cjs.maskCompositeUnits; }
206
282
  });
207
283
  Object.defineProperty(exports, "maskCompositeUsesForeground", {
208
284
  enumerable: true,
209
- get: function () { return chunkNYZQOIXJ_cjs.maskCompositeUsesForeground; }
285
+ get: function () { return chunkZQ2BHOFH_cjs.maskCompositeUsesForeground; }
210
286
  });
211
287
  Object.defineProperty(exports, "normalizeLottieLayers", {
212
288
  enumerable: true,
213
- get: function () { return chunkNYZQOIXJ_cjs.normalizeLottieLayers; }
289
+ get: function () { return chunkZQ2BHOFH_cjs.normalizeLottieLayers; }
214
290
  });
215
291
  Object.defineProperty(exports, "resolveLottieOverlaySrc", {
216
292
  enumerable: true,
217
- get: function () { return chunkNYZQOIXJ_cjs.resolveLottieOverlaySrc; }
293
+ get: function () { return chunkZQ2BHOFH_cjs.resolveLottieOverlaySrc; }
218
294
  });
219
295
  Object.defineProperty(exports, "resolveMaskCompositeSettings", {
220
296
  enumerable: true,
221
- get: function () { return chunkNYZQOIXJ_cjs.resolveMaskCompositeSettings; }
297
+ get: function () { return chunkZQ2BHOFH_cjs.resolveMaskCompositeSettings; }
222
298
  });
223
299
  Object.defineProperty(exports, "resolveVideoMaskProvider", {
224
300
  enumerable: true,
225
- get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskProvider; }
301
+ get: function () { return chunkZQ2BHOFH_cjs.resolveVideoMaskProvider; }
226
302
  });
227
303
  Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
228
304
  enumerable: true,
229
- get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskRedetectSec; }
305
+ get: function () { return chunkZQ2BHOFH_cjs.resolveVideoMaskRedetectSec; }
230
306
  });
231
307
  Object.defineProperty(exports, "resolveVideoMaskZone", {
232
308
  enumerable: true,
233
- get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskZone; }
309
+ get: function () { return chunkZQ2BHOFH_cjs.resolveVideoMaskZone; }
234
310
  });
235
311
  Object.defineProperty(exports, "rgbaArrayToHex", {
236
312
  enumerable: true,
237
- get: function () { return chunkNYZQOIXJ_cjs.rgbaArrayToHex; }
313
+ get: function () { return chunkZQ2BHOFH_cjs.rgbaArrayToHex; }
314
+ });
315
+ Object.defineProperty(exports, "routeAiPanelMessage", {
316
+ enumerable: true,
317
+ get: function () { return chunkZQ2BHOFH_cjs.routeAiPanelMessage; }
238
318
  });
239
319
  Object.defineProperty(exports, "videoFaceMeshCreditId", {
240
320
  enumerable: true,
241
- get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshCreditId; }
321
+ get: function () { return chunkZQ2BHOFH_cjs.videoFaceMeshCreditId; }
242
322
  });
243
323
  Object.defineProperty(exports, "videoFaceMeshCreditIds", {
244
324
  enumerable: true,
245
- get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshCreditIds; }
325
+ get: function () { return chunkZQ2BHOFH_cjs.videoFaceMeshCreditIds; }
246
326
  });
247
327
  Object.defineProperty(exports, "videoFaceMeshLayersDrawLines", {
248
328
  enumerable: true,
249
- get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersDrawLines; }
329
+ get: function () { return chunkZQ2BHOFH_cjs.videoFaceMeshLayersDrawLines; }
250
330
  });
251
331
  Object.defineProperty(exports, "videoFaceMeshLayersOfParts", {
252
332
  enumerable: true,
253
- get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersOfParts; }
333
+ get: function () { return chunkZQ2BHOFH_cjs.videoFaceMeshLayersOfParts; }
254
334
  });
255
335
  Object.defineProperty(exports, "videoFaceMeshLayersOn", {
256
336
  enumerable: true,
257
- get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersOn; }
337
+ get: function () { return chunkZQ2BHOFH_cjs.videoFaceMeshLayersOn; }
258
338
  });
259
339
  Object.defineProperty(exports, "videoFaceMeshPartsOfLayers", {
260
340
  enumerable: true,
261
- get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshPartsOfLayers; }
341
+ get: function () { return chunkZQ2BHOFH_cjs.videoFaceMeshPartsOfLayers; }
262
342
  });
263
343
  Object.defineProperty(exports, "videoMaskBilledSeconds", {
264
344
  enumerable: true,
265
- get: function () { return chunkNYZQOIXJ_cjs.videoMaskBilledSeconds; }
345
+ get: function () { return chunkZQ2BHOFH_cjs.videoMaskBilledSeconds; }
266
346
  });
267
347
  Object.defineProperty(exports, "videoMaskCreditId", {
268
348
  enumerable: true,
269
- get: function () { return chunkNYZQOIXJ_cjs.videoMaskCreditId; }
349
+ get: function () { return chunkZQ2BHOFH_cjs.videoMaskCreditId; }
270
350
  });
271
351
  Object.defineProperty(exports, "videoMaskCreditIds", {
272
352
  enumerable: true,
273
- get: function () { return chunkNYZQOIXJ_cjs.videoMaskCreditIds; }
353
+ get: function () { return chunkZQ2BHOFH_cjs.videoMaskCreditIds; }
274
354
  });
275
355
  Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
276
356
  enumerable: true,
@@ -9,6 +9,14 @@ declare const FREECUT_READY = "FREECUT_READY";
9
9
  declare const FREECUT_EXPORT_COMPLETE = "FREECUT_EXPORT_COMPLETE";
10
10
  declare const FREECUT_EXPORT_PROGRESS = "FREECUT_EXPORT_PROGRESS";
11
11
  declare const FREECUT_REQUEST_IMPORT = "FREECUT_REQUEST_IMPORT";
12
+ declare const NODARO_GET_TIMELINE = "NODARO_GET_TIMELINE";
13
+ declare const NODARO_APPLY_OPS = "NODARO_APPLY_OPS";
14
+ declare const NODARO_UNDO_EDIT = "NODARO_UNDO_EDIT";
15
+ declare const NODARO_PLAYBACK = "NODARO_PLAYBACK";
16
+ declare const NODARO_PRESENCE = "NODARO_PRESENCE";
17
+ declare const FREECUT_TIMELINE = "FREECUT_TIMELINE";
18
+ declare const FREECUT_OPS_RESULT = "FREECUT_OPS_RESULT";
19
+ declare const FREECUT_UNDO_RESULT = "FREECUT_UNDO_RESULT";
12
20
  interface FreecutImportFile {
13
21
  readonly name: string;
14
22
  readonly type: string;
@@ -46,6 +54,99 @@ interface FreecutRequestImportPayload {
46
54
  readonly multiple?: boolean;
47
55
  }
48
56
 
57
+ /** Where the platform serves the panel, under its app origin. */
58
+ declare const AI_PANEL_PATH = "/embed/edit-with-ai";
59
+ declare const AI_PANEL_PROTOCOL_VERSION = 1;
60
+ /** The panel is loaded and listening; repeated until the host answers with INIT. */
61
+ declare const NODARO_AI_PANEL_READY = "NODARO_AI_PANEL_READY";
62
+ /** The person closed the panel. */
63
+ declare const NODARO_AI_PANEL_CLOSE = "NODARO_AI_PANEL_CLOSE";
64
+ /** The panel asks for the whole editor area (`wide: true`, to show the original video) or its side column. */
65
+ declare const NODARO_AI_PANEL_LAYOUT = "NODARO_AI_PANEL_LAYOUT";
66
+ /** What the panel works on; sent again whenever it changes (a video imported, the editor ready). */
67
+ declare const NODARO_AI_PANEL_INIT = "NODARO_AI_PANEL_INIT";
68
+ /** What the editor must say it can do (its FREECUT_READY `capabilities`) for the panel to be offered. */
69
+ declare const AI_PANEL_EDITOR_CAPABILITIES: readonly ["edit-ops", "timeline-read", "playback", "presence"];
70
+ /** The editor's requests a host carries from the panel to the editor. */
71
+ declare const AI_PANEL_EDITOR_REQUESTS: readonly string[];
72
+ /** The editor's answers a host carries back to the panel: only to a request the panel made. */
73
+ declare const AI_PANEL_EDITOR_ANSWERS: readonly string[];
74
+ /** A video the host can give an address for, by the file name the editor shows for it. */
75
+ interface AiPanelVideo {
76
+ readonly url: string;
77
+ readonly name: string;
78
+ }
79
+ interface AiPanelInitPayload {
80
+ readonly version: number;
81
+ /** The editor's FREECUT_READY `capabilities`; empty until the editor is ready. */
82
+ readonly capabilities: readonly string[];
83
+ /** The videos the host knows an address for. The panel never edits one it cannot listen to. */
84
+ readonly videos: readonly AiPanelVideo[];
85
+ /** The video the editor was opened on, when there is one (its `url`). */
86
+ readonly openedVideoUrl?: string;
87
+ /**
88
+ * Which project the editor holds. The host changes it when it starts a fresh
89
+ * one, and the panel then forgets what it did in the old one.
90
+ */
91
+ readonly project?: number;
92
+ }
93
+ interface AiPanelLayoutPayload {
94
+ readonly wide: boolean;
95
+ }
96
+ /** Whether an editor with these capabilities can be edited by the panel. */
97
+ declare function aiPanelOffered(capabilities: readonly string[]): boolean;
98
+ /** The parts of a `MessageEvent` the route reads. */
99
+ interface AiPanelRelayEvent {
100
+ readonly data: unknown;
101
+ readonly origin: string;
102
+ readonly source: unknown;
103
+ }
104
+ interface AiPanelRelayContext {
105
+ readonly panel: unknown;
106
+ readonly panelOrigin: string;
107
+ readonly editor: unknown;
108
+ readonly editorOrigin: string;
109
+ /** The request ids the panel asked and the editor has not answered yet. Updated in place by `routeAiPanelMessage`. */
110
+ readonly asked: Set<string>;
111
+ }
112
+ /** Where a message goes, and the buffers to hand over with it. */
113
+ interface AiPanelRoute {
114
+ readonly to: "editor" | "panel";
115
+ readonly message: {
116
+ readonly type: string;
117
+ readonly payload: Record<string, unknown>;
118
+ };
119
+ readonly transfer: ArrayBuffer[];
120
+ }
121
+ /**
122
+ * Where a host passes one message, or null when it is not the panel's to pass.
123
+ * From the panel's own frame on its origin: one of the editor's requests, to the
124
+ * editor (an import hands its buffers over again). From the editor's frame on
125
+ * its origin: an answer to a request the panel made, back to the panel, once.
126
+ * Everything else (the host's own traffic, other frames) is left alone.
127
+ */
128
+ declare function routeAiPanelMessage(event: AiPanelRelayEvent, ctx: AiPanelRelayContext): AiPanelRoute | null;
129
+ /** A window a relay can listen on and post to (the host's own `window`). */
130
+ interface RelayWindow {
131
+ addEventListener(type: "message", listener: (event: MessageEvent) => void): void;
132
+ removeEventListener(type: "message", listener: (event: MessageEvent) => void): void;
133
+ }
134
+ interface PostTarget {
135
+ postMessage(message: unknown, targetOrigin: string, transfer?: Transferable[]): void;
136
+ }
137
+ interface AiPanelRelayOptions {
138
+ /** The host page's window, which both frames post to. */
139
+ readonly host: RelayWindow;
140
+ readonly panel: () => PostTarget | null | undefined;
141
+ readonly panelOrigin: string;
142
+ readonly editor: () => PostTarget | null | undefined;
143
+ readonly editorOrigin: string;
144
+ }
145
+ /** Carry the panel's edit requests to the editor and the answers back, until disposed. */
146
+ declare function createAiPanelRelay(options: AiPanelRelayOptions): {
147
+ dispose(): void;
148
+ };
149
+
49
150
  interface PixelBox {
50
151
  x: number;
51
152
  y: number;
@@ -1064,4 +1165,4 @@ interface DubbingAddLanguageResult {
1064
1165
  declare const DUBBING_ERROR_CODES: readonly ["not_a_dubbing_job", "dubbing_not_ready", "dubbing_failed", "dubbing_unavailable", "dubbing_language_not_found", "dubbing_language_processing", "dubbing_captions_unavailable", "dubbing_language_exists", "unreadable_dubbing_source", "media_duration_exceeds_limit", "dubbing_read_failed"];
1065
1166
  type DubbingErrorCode = (typeof DUBBING_ERROR_CODES)[number];
1066
1167
 
1067
- export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
1168
+ export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AiPanelInitPayload, type AiPanelLayoutPayload, type AiPanelRelayContext, type AiPanelRelayEvent, type AiPanelRelayOptions, type AiPanelRoute, type AiPanelVideo, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, aiPanelOffered, applySlots, checkVideoDepthLength, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };